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". |
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Python