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

Resource interface

A definition of an Azure resource.

Properties

id

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

location

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

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. NOTE: This property will not be serialized. It can only be populated by the server.

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 ID of the resource. 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. NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

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