Table of Contents

Class TrackedResourceData

Namespace
Azure.ResourceManager.Models
Assembly
Azure.ResourceManager.dll

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'.

public abstract class TrackedResourceData : ResourceData
Inheritance
TrackedResourceData
Derived
Inherited Members

Constructors

TrackedResourceData()

Initializes a new instance of TrackedResourceData for deserialization.

protected TrackedResourceData()

TrackedResourceData(AzureLocation)

Initializes a new instance of TrackedResource.

protected TrackedResourceData(AzureLocation location)

Parameters

location AzureLocation

The geo-location where the resource lives.

TrackedResourceData(ResourceIdentifier, string, ResourceType, SystemData, IDictionary<string, string>, AzureLocation)

Initializes a new instance of TrackedResource.

protected TrackedResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location)

Parameters

id ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name string

The name of the resource.

resourceType ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags IDictionary<string, string>

Resource tags.

location AzureLocation

The geo-location where the resource lives.

Properties

Location

The geo-location where the resource lives.

public AzureLocation Location { get; set; }

Property Value

AzureLocation

Tags

Resource tags.

public IDictionary<string, string> Tags { get; }

Property Value

IDictionary<string, string>