Compartilhar 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 Azure.

Inheritance
azure.mgmt.containerregistry._serialization.Model
Resource

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.

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.