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

GenericResource Class

Resource information.

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

Inheritance
azure.mgmt.resource.resources.v2021_01_01.models._models_py3.Resource
GenericResource

Constructor

GenericResource(*, location: str | None = None, extended_location: _models.ExtendedLocation | None = None, tags: Dict[str, str] | None = None, plan: _models.Plan | None = None, properties: MutableMapping[str, Any] | None = None, kind: str | None = None, managed_by: str | None = None, sku: _models.Sku | None = None, identity: _models.Identity | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location.

extended_location

Resource extended location.

tags

Resource tags.

plan

The plan of the resource.

properties
<xref:JSON>

The resource properties.

kind
str

The kind of the resource.

managed_by
str

ID of the resource that manages this resource.

sku
Sku

The SKU of the resource.

identity

The identity of the resource.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

extended_location

Resource extended location.

tags

Resource tags.

plan

The plan of the resource.

properties
<xref:JSON>

The resource properties.

kind
str

The kind of the resource.

managed_by
str

ID of the resource that manages this resource.

sku
Sku

The SKU of the resource.

identity

The identity of the resource.