TrustPolicy Class
The content trust policy for a container registry.
- Inheritance
-
azure.mgmt.containerregistry._serialization.ModelTrustPolicy
Constructor
TrustPolicy(*, type: str | _models.TrustPolicyType = 'Notary', status: str | _models.PolicyStatus | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
type
|
The type of trust policy. "Notary" Default value: Notary
|
status
|
str or
PolicyStatus
The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled". |
Variables
Name | Description |
---|---|
type
|
The type of trust policy. "Notary" |
status
|
str or
PolicyStatus
The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled". |
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python