GenerateCredentialsParameters Class

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

Inheritance
GenerateCredentialsParameters

Constructor

GenerateCredentialsParameters(*, token_id: Optional[str] = None, expiry: Optional[datetime.datetime] = None, name: Optional[Union[str, azure.mgmt.containerregistry.v2021_08_01_preview.models._container_registry_management_client_enums.TokenPasswordName]] = None, **kwargs)

Variables

token_id
str

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

expiry
datetime

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

name
str or TokenPasswordName

Specifies name of the password which should be regenerated if any – password1 or password2. Possible values include: "password1", "password2".