TokenPassword Class

The password that will be used for authenticating the token of a container registry.

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

Inheritance
TokenPassword

Constructor

TokenPassword(*, creation_time: Optional[datetime.datetime] = None, expiry: Optional[datetime.datetime] = None, name: Optional[Union[str, azure.mgmt.containerregistry.v2020_11_01_preview.models._container_registry_management_client_enums.TokenPasswordName]] = None, **kwargs)

Variables

creation_time
datetime

The creation datetime of the password.

expiry
datetime

The expiry datetime of the password.

name
str or TokenPasswordName

The password name "password1" or "password2". Possible values include: "password1", "password2".

value
str

The password value.