Resource Class

The Resource model definition.

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

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Required. Resource location.

tags
dict[str, str]

A set of tags. Resource tags.