TrustPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'