Partilhar 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.v2023_06_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
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.TokenCredentialsProperties>

The credentials that can be used for authenticating the token.

status
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.TokenStatus>

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
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.SystemData>

Metadata pertaining to creation and last modification of the resource.

creation_date

The creation date of scope map.

provisioning_state
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.ProvisioningState>

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
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.TokenCredentialsProperties>

The credentials that can be used for authenticating the token.

status
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.TokenStatus>

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