你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TrackedResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
public class TrackedResource : Microsoft.Azure.Management.ContainerService.Models.Resource
type TrackedResource = class
inherit Resource
Public Class TrackedResource
Inherits Resource
- Inheritance
- Derived
Remarks
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
Constructors
TrackedResource() |
Initializes a new instance of the TrackedResource class. |
TrackedResource(String, String, String, String, SystemData, IDictionary<String,String>) |
Initializes a new instance of the TrackedResource class. |
Properties
Id |
Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from Resource) |
Location |
Gets or sets the geo-location where the resource lives |
Name |
Gets the name of the resource (Inherited from Resource) |
SystemData |
Gets azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from Resource) |
Tags |
Gets or sets resource tags. |
Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from Resource) |
Methods
Validate() |
Validate the object. |