GenericResource Class

Resource information.

Constructor

GenericResource(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

properties
any

The resource-specific properties for this resource.

plan

The plan of the resource.

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.

location
str

Resource location.

extended_location

Resource extended location.

tags

Resource tags.

Attributes

extended_location

Resource extended location.

extended_location: _models.ExtendedLocation | None

identity

The identity of the resource.

identity: _models.Identity | None

kind

The kind of the resource.

kind: str | None

location

Resource location.

location: str | None

managed_by

ID of the resource that manages this resource.

managed_by: str | None

plan

The plan of the resource.

plan: _models.Plan | None

properties

The resource-specific properties for this resource.

properties: Any | None

sku

The SKU of the resource.

sku: _models.Sku | None

tags

Resource tags.

tags: dict[str, str] | None