Show / Hide Table of Contents

    Class EncryptionProtector

    The server encryption protector.

    Inheritance
    Object
    Resource
    ProxyResource
    EncryptionProtector
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class EncryptionProtector : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    EncryptionProtector()

    Initializes a new instance of the EncryptionProtector class.

    Declaration
    public EncryptionProtector ();

    EncryptionProtector(String, String, String, String, String, String, String, String, String, String)

    Initializes a new instance of the EncryptionProtector class.

    Declaration
    public EncryptionProtector (string serverKeyType, string id = null, string name = null, string type = null, string kind = null, string location = null, string subregion = null, string serverKeyName = null, string uri = null, string thumbprint = null);
    Parameters
    String serverKeyType

    The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault'

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    String kind

    Kind of encryption protector. This is metadata used for the Azure portal experience.

    String location

    Resource location.

    String subregion

    Subregion of the encryption protector.

    String serverKeyName

    The name of the server key.

    String uri

    The URI of the server key.

    String thumbprint

    Thumbprint of the server key.

    Properties

    Kind

    Gets kind of encryption protector. This is metadata used for the Azure portal experience.

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

    Location

    Gets resource location.

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

    ServerKeyName

    Gets or sets the name of the server key.

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

    ServerKeyType

    Gets or sets the encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault'

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

    Subregion

    Gets subregion of the encryption protector.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.subregion")]
    public string Subregion { get; }
    Property Value
    String

    Thumbprint

    Gets thumbprint of the server key.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.thumbprint")]
    public string Thumbprint { get; }
    Property Value
    String

    Uri

    Gets the URI of the server key.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.uri")]
    public string Uri { get; }
    Property Value
    String

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net