ServerKey Constructors

Definition

Overloads

ServerKey()

Initializes a new instance of the ServerKey class.

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

Initializes a new instance of the ServerKey class.

ServerKey()

Initializes a new instance of the ServerKey class.

public ServerKey ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ServerKey class.

public ServerKey (string serverKeyType, string id = default, string name = default, string type = default, string kind = default, string location = default, string subregion = default, string uri = default, string thumbprint = default, DateTime? creationDate = default, bool? autoRotationEnabled = default);
new Microsoft.Azure.Management.Sql.Models.ServerKey : string * string * string * string * string * string * string * string * string * Nullable<DateTime> * Nullable<bool> -> Microsoft.Azure.Management.Sql.Models.ServerKey
Public Sub New (serverKeyType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional location As String = Nothing, Optional subregion As String = Nothing, Optional uri As String = Nothing, Optional thumbprint As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional autoRotationEnabled As Nullable(Of Boolean) = Nothing)

Parameters

serverKeyType
String

The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault'

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

kind
String

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

location
String

Resource location.

subregion
String

Subregion of the server key.

uri
String

The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required.

thumbprint
String

Thumbprint of the server key.

creationDate
Nullable<DateTime>

The server key creation date.

autoRotationEnabled
Nullable<Boolean>

Key auto rotation opt-in flag. Either true or false.

Applies to