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_11_01_preview.models._models_py3.ProxyResourceToken
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
|
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
|
str or
TokenStatus
The status of the token example enabled or disabled. Known values are: "enabled" and "disabled". |
Variables
Name | Description |
---|---|
id
|
The resource ID. |
name
|
The name of the resource. |
type
|
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
|
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
|
str or
TokenStatus
The status of the token example enabled or disabled. Known values are: "enabled" and "disabled". |
Azure SDK for Python