次の方法で共有


GenerateCredentialsParameters Class

The parameters used to generate credentials for a specified token or user of a container registry.

Inheritance
azure.mgmt.containerregistry._serialization.Model
GenerateCredentialsParameters

Constructor

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

Keyword-Only Parameters

Name Description
token_id
str

The resource ID of the token for which credentials have to be generated.

expiry

The expiry date of the generated credentials after which the credentials become invalid.

name

Specifies name of the password which should be regenerated if any – password1 or password2. Known values are: "password1" and "password2".

Variables

Name Description
token_id
str

The resource ID of the token for which credentials have to be generated.

expiry

The expiry date of the generated credentials after which the credentials become invalid.

name

Specifies name of the password which should be regenerated if any – password1 or password2. Known values are: "password1" and "password2".