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

ResourceWithOptionalLocation Class

The Resource model definition with location property as optional.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute._serialization.Model
ResourceWithOptionalLocation

Constructor

ResourceWithOptionalLocation(*, location: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location.

tags

Resource tags.

Variables

Name Description
location
str

Resource location.

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

tags

Resource tags.