AzureEntityResource 類別

定義

具有 etag 之 Azure Resource Manager資源的資源模型定義。

public class AzureEntityResource : Microsoft.Azure.Management.AzureStackHCI.Models.Resource
type AzureEntityResource = class
    inherit Resource
Public Class AzureEntityResource
Inherits Resource
繼承
AzureEntityResource

建構函式

AzureEntityResource()

初始化 AzureEntityResource 類別的新實例。

AzureEntityResource(String, String, String, String)

初始化 AzureEntityResource 類別的新實例。

屬性

Etag

取得資源 Etag。

Id

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

(繼承來源 Resource)
Name

取得資源的名稱

(繼承來源 Resource)
Type

取得資源的型別。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。

(繼承來源 Resource)

適用於