Share via


TrustPolicy Constructors

Definition

Overloads

TrustPolicy()

Initializes a new instance of the TrustPolicy class.

TrustPolicy(String, String)

Initializes a new instance of the TrustPolicy class.

TrustPolicy()

Initializes a new instance of the TrustPolicy class.

public TrustPolicy ();
Public Sub New ()

Applies to

TrustPolicy(String, String)

Initializes a new instance of the TrustPolicy class.

public TrustPolicy (string type = default, string status = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.TrustPolicy : string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.TrustPolicy
Public Sub New (Optional type As String = Nothing, Optional status As String = Nothing)

Parameters

type
String

The type of trust policy. Possible values include: 'Notary'

status
String

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

Applies to