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
AzureLocationThe 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
ResourceIdentifierFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name
stringThe name of the resource.
resourceType
ResourceTypeThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
systemData
SystemDataAzure Resource Manager metadata containing createdBy and modifiedBy information.
tags
IDictionary<string, string>Resource tags.
location
AzureLocationThe 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; }