Resource Class

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: Optional[Dict[str, str]] = None, **kwargs)

Variables

id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

Required. The location of the resource. This cannot be changed after the resource is created.

tags
dict[str, str]

A set of tags. The tags of the resource.