共用方式為


AzureEntityResource 建構函式

定義

多載

AzureEntityResource()

初始化 AzureEntityResource 類別的新實例。

AzureEntityResource(String, String, String, String)

初始化 AzureEntityResource 類別的新實例。

AzureEntityResource()

初始化 AzureEntityResource 類別的新實例。

public AzureEntityResource();
Public Sub New ()

適用於

AzureEntityResource(String, String, String, String)

初始化 AzureEntityResource 類別的新實例。

public AzureEntityResource(string id = default, string name = default, string type = default, string etag = default);
new Microsoft.Azure.Management.AzureStackHCI.Models.AzureEntityResource : string * string * string * string -> Microsoft.Azure.Management.AzureStackHCI.Models.AzureEntityResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing)

參數

id
String

資源的完整資源識別碼。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

資源的名稱

type
String

資源類型。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。

etag
String

資源 Etag。

適用於