Resource Class

The common properties of an Azure resource.

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
msrest.serialization.Model
Resource

Constructor

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

Keyword-Only Parameters

Name Description
location
str

Required. The resource location.

tags

A set of tags. The resource tags.

Variables

Name Description
id
str

The resource identifier.

name
str

The resource name.

type
str

The resource type.

location
str

Required. The resource location.

tags

A set of tags. The resource tags.