다음을 통해 공유


CommonTrackedResource Class

Definition

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

public class CommonTrackedResource : Microsoft.Azure.Management.Network.Models.CommonResource
type CommonTrackedResource = class
    inherit CommonResource
Public Class CommonTrackedResource
Inherits CommonResource
Inheritance
CommonTrackedResource
Derived

Remarks

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

Constructors

CommonTrackedResource()

Initializes a new instance of the CommonTrackedResource class.

CommonTrackedResource(String, String, String, String, SystemData, IDictionary<String,String>)

Initializes a new instance of the CommonTrackedResource class.

Properties

Id

Gets fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

(Inherited from CommonResource)
Location

Gets or sets the geo-location where the resource lives

Name

Gets the name of the resource

(Inherited from CommonResource)
SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from CommonResource)
Tags

Gets or sets resource tags.

Type

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

(Inherited from CommonResource)

Methods

Validate()

Validate the object.

Applies to