TrustPolicy Class
The content trust policy for a container registry.
Constructor
TrustPolicy(*args: Any, **kwargs: Any)
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". |
Attributes
status
"enabled" and "disabled".
status: str | _models.PolicyStatus | None
type
The type of trust policy. "Notary"
type: str | _models.TrustPolicyType | None