共用方式為


Resource interface

ARM 資源的核心屬性

屬性

id

資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

type

資源的型別。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

id

資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。

id?: string

屬性值

string

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

type

資源的型別。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string