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

Resource interface

Azure resource

Properties

id

Specifies the resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

location

Specifies the location of the resource.

name

Specifies the name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Contains resource tags defined as key/value pairs.

type

Specifies the type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

id

Specifies the resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

location

Specifies the location of the resource.

location: string

Property Value

string

name

Specifies the name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

tags

Contains resource tags defined as key/value pairs.

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

Property Value

{[propertyName: string]: string}

type

Specifies the type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string