TrustPolicy Class

The content trust policy for a container registry.

Inheritance
azure.mgmt.containerregistry._serialization.Model
TrustPolicy

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

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

The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled".