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

GenericResource interface

资源信息。

扩展

属性

identity

资源的标识。

kind

资源的种类。

managedBy

管理此资源的资源的 ID。

plan

资源的计划。

properties

资源属性。

sku

资源的 SKU。

继承属性

extendedLocation

资源扩展位置。

id

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

location

资源位置

name

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

tags

资源标记

type

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

属性详细信息

identity

资源的标识。

identity?: Identity

属性值

kind

资源的种类。

kind?: string

属性值

string

managedBy

管理此资源的资源的 ID。

managedBy?: string

属性值

string

plan

资源的计划。

plan?: Plan

属性值

properties

资源属性。

properties?: Record<string, unknown>

属性值

Record<string, unknown>

sku

资源的 SKU。

sku?: Sku

属性值

Sku

继承属性详细信息

extendedLocation

资源扩展位置。

extendedLocation?: ExtendedLocation

属性值

继承自Resource.extendedLocation

id

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

id?: string

属性值

string

继承自 Resource.id

location

资源位置

location?: string

属性值

string

继承自Resource.location

name

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

name?: string

属性值

string

继承自 Resource.name

tags

资源标记

tags?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自Resource.tags

type

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

type?: string

属性值

string

继承自resource.type