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 Azure.

Inheritance
azure.mgmt.media.models._models_py3.Resource
TrackedResource

Constructor

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

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}.

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.