TrackedResource Class

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'.

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

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.storage.v2021_06_01.models._models_py3.Resource
TrackedResource

Constructor

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

Keyword-Only Parameters

Name Description
tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

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

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.