AzureResource Class

An Azure resource object.

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

Inheritance
AzureResource

Constructor

AzureResource(*, location: Optional[str] = 'global', 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

The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'.

tags
dict[str, str]

A set of tags. The tags of the resource.