Share via


Resource Class

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 server.

Constructor

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

Keyword-Only Parameters

Name Description
___location
str

The ___location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

Default value: None

Variables

Name Description
id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

___location
str

The ___location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

system_data

Metadata pertaining to creation and last modification of the resource.