Table of Contents

Class ResourceData

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

Common fields that are returned in the response for all Azure Resource Manager resources.

public abstract class ResourceData
Inheritance
ResourceData
Derived
Inherited Members

Constructors

ResourceData()

Initializes a new instance of Resource.

protected ResourceData()

ResourceData(ResourceIdentifier, string, ResourceType, SystemData)

Initializes a new instance of Resource.

protected ResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData)

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.

Properties

Id

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

public ResourceIdentifier Id { get; }

Property Value

ResourceIdentifier

Name

The name of the resource.

public string Name { get; }

Property Value

string

ResourceType

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

public ResourceType ResourceType { get; }

Property Value

ResourceType

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

public SystemData SystemData { get; }

Property Value

SystemData