TrustPolicy Class

The content trust policy for a container registry.

Inheritance
TrustPolicy

Constructor

TrustPolicy(*, type: Optional[Union[str, azure.mgmt.containerregistry.v2021_08_01_preview.models._container_registry_management_client_enums.TrustPolicyType]] = 'Notary', status: Optional[Union[str, azure.mgmt.containerregistry.v2021_08_01_preview.models._container_registry_management_client_enums.PolicyStatus]] = None, **kwargs)

Variables

type
str or TrustPolicyType

The type of trust policy. Possible values include: "Notary". Default value: "Notary".

status
str or PolicyStatus

The value that indicates whether the policy is enabled or not. Possible values include: "enabled", "disabled".