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.rdbms.postgresql.models._models_py3.Resource
TrackedResource

Constructor

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

Parameters

Name Description
tags
Required

A set of tags. Resource tags.

location
Required
str

Required. The geo-location where the resource lives.

Keyword-Only Parameters

Name Description
location
Required
tags
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".