Show / Hide Table of Contents

    Class ServerKey

    A server key.

    Inheritance
    Object
    Resource
    ProxyResource
    ServerKey
    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 ServerKey : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    ServerKey()

    Initializes a new instance of the ServerKey class.

    Declaration
    public ServerKey ();

    ServerKey(String, String, String, String, String, String, String, String, String, Nullable<DateTime>)

    Initializes a new instance of the ServerKey class.

    Declaration
    public ServerKey (string serverKeyType, string id = null, string name = null, string type = null, string kind = null, string location = null, string subregion = null, string uri = null, string thumbprint = null, Nullable<DateTime> creationDate = null);
    Parameters
    String serverKeyType

    The server key 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 server key.

    String uri

    The URI of the server key.

    String thumbprint

    Thumbprint of the server key.

    Nullable<DateTime> creationDate

    The server key creation date.

    Properties

    CreationDate

    Gets or sets the server key creation date.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.creationDate")]
    public Nullable<DateTime> CreationDate { get; set; }
    Property Value
    Nullable<DateTime>

    Kind

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

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

    Location

    Gets resource location.

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

    ServerKeyType

    Gets or sets the server key 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 server key.

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

    Thumbprint

    Gets or sets thumbprint of the server key.

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

    Uri

    Gets or sets the URI of the server key.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.uri")]
    public string Uri { get; set; }
    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