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

Resource interface

An Azure resource.

Properties

id

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

location

The location of the resource. This cannot be changed after the resource is created.

name

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

tags

The tags of the resource.

type

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

Property Details

id

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

id?: string

Property Value

string

location

The location of the resource. This cannot be changed after the resource is created.

location: string

Property Value

string

name

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

The tags of the resource.

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

Property Value

{[propertyName: string]: string}

type

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