TrackedResource Class

Definition

The resource model definition for a ARM tracked top level resource

public class TrackedResource : Microsoft.Azure.Management.MySQL.Models.Resource
type TrackedResource = class
    inherit Resource
Public Class TrackedResource
Inherits Resource
Inheritance
System.Object
TrackedResource
Derived

Constructors

TrackedResource()

Initializes a new instance of the TrackedResource class.

TrackedResource(String, String, String, String, 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)
Tags

Gets or sets resource tags.

Type

Gets the type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to