次の方法で共有


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
azure.mgmt.containerregistry._serialization.Model
TokenPassword

Constructor

TokenPassword(*, creation_time: datetime | None = None, expiry: datetime | None = None, name: str | _models.TokenPasswordName | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
creation_time

The creation datetime of the password.

expiry

The expiry datetime of the password.

name

The password name "password1" or "password2". Known values are: "password1" and "password2".

Variables

Name Description
creation_time

The creation datetime of the password.

expiry

The expiry datetime of the password.

name

The password name "password1" or "password2". Known values are: "password1" and "password2".

value
str

The password value.