Show / Hide Table of Contents

    Class TrustPolicy

    The content trust policy for a container registry.

    Inheritance
    Object
    TrustPolicy
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.ContainerRegistry.dll
    Syntax
    public class TrustPolicy

    Constructors

    TrustPolicy()

    Initializes a new instance of the TrustPolicy class.

    Declaration
    public TrustPolicy ();

    TrustPolicy(String, String)

    Initializes a new instance of the TrustPolicy class.

    Declaration
    public TrustPolicy (string type = null, string status = null);
    Parameters
    String type

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

    String status

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

    Properties

    Status

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="status")]
    public string Status { get; set; }
    Property Value
    String

    Type

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="type")]
    public string Type { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net