TrackedResource interface
Azure Resource Manager追蹤的最上層資源的資源模型定義,其具有「標記」和「位置」
- Extends
屬性
location | 資源所在的地理位置 |
tags | 資源標籤。 |
繼承的屬性
id | 資源的完整資源識別碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性不會序列化。 它只能由伺服器填入。 |
name | 資源名稱注意:此屬性不會序列化。 它只能由伺服器填入。 |
type | 資源類型。 例如「Microsoft.Compute/virtualMachines」 或 「Microsoft.Storage/storageAccounts」 注意:此屬性不會序列化。 它只能由伺服器填入。 |
屬性詳細資料
location
資源所在的地理位置
location: string
屬性值
string
tags
資源標籤。
tags?: {[propertyName: string]: string}
屬性值
{[propertyName: string]: string}
繼承的屬性詳細資料
id
資源的完整資源識別碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性不會序列化。 它只能由伺服器填入。
id?: string
屬性值
string
繼承自Resource.id
name
type
資源類型。 例如「Microsoft.Compute/virtualMachines」 或 「Microsoft.Storage/storageAccounts」 注意:此屬性不會序列化。 它只能由伺服器填入。
type?: string
屬性值
string