ResourceData Constructors

Definition

Overloads

ResourceData()

Source:
ResourceData.cs
Source:
ResourceData.cs

Initializes a new instance of ResourceData.

C#
protected ResourceData();

Applies to

Azure SDK for .NET Preview dan Azure SDK for .NET Latest
Produk Versi
Azure SDK for .NET Latest, Preview

ResourceData(ResourceIdentifier, String, ResourceType, SystemData)

Source:
ResourceData.cs
Source:
ResourceData.cs

Initializes a new instance of ResourceData.

C#
protected ResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.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.

Applies to

Azure SDK for .NET Preview dan Azure SDK for .NET Latest
Produk Versi
Azure SDK for .NET Latest, Preview