共用方式為


TrustPolicy Class

Definition

The content trust policy for a container registry.

public class TrustPolicy
type TrustPolicy = class
Public Class TrustPolicy
Inheritance
TrustPolicy

Constructors

TrustPolicy()

Initializes a new instance of the TrustPolicy class.

TrustPolicy(String, String)

Initializes a new instance of the TrustPolicy class.

Properties

Status

Gets or sets the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'

Type

Gets or sets the type of trust policy. Possible values include: 'Notary'

Applies to