共用方式為


ManagedInstanceKey Constructors

Definition

Overloads

ManagedInstanceKey()

Initializes a new instance of the ManagedInstanceKey class.

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

Initializes a new instance of the ManagedInstanceKey class.

ManagedInstanceKey()

Initializes a new instance of the ManagedInstanceKey class.

public ManagedInstanceKey ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ManagedInstanceKey class.

public ManagedInstanceKey (string serverKeyType, string id = default, string name = default, string type = default, string kind = default, string uri = default, string thumbprint = default, DateTime? creationDate = default, bool? autoRotationEnabled = default);
new Microsoft.Azure.Management.Sql.Models.ManagedInstanceKey : string * string * string * string * string * string * string * Nullable<DateTime> * Nullable<bool> -> Microsoft.Azure.Management.Sql.Models.ManagedInstanceKey
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 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 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.

uri
String

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

thumbprint
String

Thumbprint of the key.

creationDate
Nullable<DateTime>

The key creation date.

autoRotationEnabled
Nullable<Boolean>

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

Applies to