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". |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python