Resource Class

Resource.

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

Inheritance
Resource

Constructor

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

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

Variables

name
str

Resource name.

type
str

Resource type.