你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TrackedResource interface

Azure 资源管理器的资源模型定义跟踪了具有“标记”和“位置”的顶级资源

扩展

属性

id

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。它只能由服务器填充。

location

资源所在的地理位置

name

资源的名称 注意:此属性不会序列化。它只能由服务器填充。

tags

资源标记。

type

资源的类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。它只能由服务器填充。

属性详细信息

id

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。它只能由服务器填充。

id?: undefined | string

属性值

undefined | string

location

资源所在的地理位置

location: string

属性值

string

name

资源的名称 注意:此属性不会序列化。它只能由服务器填充。

name?: undefined | string

属性值

undefined | string

tags

资源标记。

tags?: undefined | [key: string]: string

属性值

undefined | [key: string]: string

type

资源的类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。它只能由服务器填充。

type?: undefined | string

属性值

undefined | string