Resource Class

The common properties of an Azure resource.

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
Resource

Constructor

Resource(*, location: str, tags: typing.Union[typing.Dict[str, str], NoneType] = None, **kwargs)

Parameters

location
str
Required

Required. The resource location.

tags
dict[str, str]
Required

A set of tags. The resource tags.

Variables

id
str

The resource identifier.

name
str

The resource name.

type
str

The resource type.