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: typing.Union[typing.Dict[str, str], NoneType] = None, **kwargs)

Parameters

location
str
Required

Required. Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.