GenericResource Class

Resource information.

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

Inheritance
azure.mgmt.resource.resources.v2022_09_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.