Resource Class

An Azure resource.

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

Inheritance
Resource

Constructor

Resource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)

Parameters

location
str
Required

The location of the resource.

tags
dict[str, str]
Required

A set of tags. The tags of the resource.

Variables

id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.