Freigeben über


CommonResource Class

Definition

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

public class CommonResource : Microsoft.Rest.Azure.IResource
type CommonResource = class
    interface IResource
Public Class CommonResource
Implements IResource
Inheritance
CommonResource
Derived
Implements

Remarks

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

Constructors

Name Description
CommonResource()

Initializes a new instance of the CommonResource class.

CommonResource(String, String, String, SystemData)

Initializes a new instance of the CommonResource class.

Properties

Name Description
Id

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

Name

Gets the name of the resource

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

Type

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

Applies to