GenericResourceExpanded Class

Resource information.

Constructor

GenericResourceExpanded(*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.

created_time

The created time of the resource. This is only present if requested via the $expand query parameter.

changed_time

The changed time of the resource. This is only present if requested via the $expand query parameter.

provisioning_state
str

The provisioning state of the resource. This is only present if requested via the $expand query parameter.

Attributes

changed_time

The changed time of the resource. This is only present if requested via the $expand query parameter.

changed_time: datetime | None

created_time

The created time of the resource. This is only present if requested via the $expand query parameter.

created_time: datetime | None

provisioning_state

The provisioning state of the resource. This is only present if requested via the $expand query parameter.

provisioning_state: str | None