Compartilhar via


Token Class

An object that represents a token for a container registry.

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

Inheritance
azure.mgmt.containerregistry.v2020_11_01_preview.models._models_py3.ProxyResource
Token

Constructor

Token(*, scope_map_id: str | None = None, credentials: _models.TokenCredentialsProperties | None = None, status: str | _models.TokenStatus | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
scope_map_id
str

The resource ID of the scope map to which the token will be associated with.

credentials

The credentials that can be used for authenticating the token.

status

The status of the token example enabled or disabled. Known values are: "enabled" and "disabled".

Variables

Name Description
id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

system_data

Metadata pertaining to creation and last modification of the resource.

creation_date

The creation date of scope map.

provisioning_state

Provisioning state of the resource. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled".

scope_map_id
str

The resource ID of the scope map to which the token will be associated with.

credentials

The credentials that can be used for authenticating the token.

status

The status of the token example enabled or disabled. Known values are: "enabled" and "disabled".