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.v2021_08_01_preview.models._models_py3.ProxyResource
Token

Constructor

Token(*, scope_map_id: Optional[str] = None, credentials: Optional[azure.mgmt.containerregistry.v2021_08_01_preview.models._models_py3.TokenCredentialsProperties] = None, status: Optional[Union[str, azure.mgmt.containerregistry.v2021_08_01_preview.models._container_registry_management_client_enums.TokenStatus]] = None, **kwargs)

Variables

id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

system_data
SystemData

Metadata pertaining to creation and last modification of the resource.

creation_date
datetime

The creation date of scope map.

provisioning_state
str or ProvisioningState

Provisioning state of the resource. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled".

scope_map_id
str

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

credentials
TokenCredentialsProperties

The credentials that can be used for authenticating the token.

status
str or TokenStatus

The status of the token example enabled or disabled. Possible values include: "enabled", "disabled".