Sdílet prostřednictvím


ArmSqlModelFactory.SqlDatabaseKey Method

Definition

Initializes a new instance of SqlDatabaseKey.

public static Azure.ResourceManager.Sql.Models.SqlDatabaseKey SqlDatabaseKey (Azure.ResourceManager.Sql.Models.SqlDatabaseKeyType? keyType = default, string thumbprint = default, DateTimeOffset? createdOn = default, string subregion = default);
static member SqlDatabaseKey : Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseKeyType> * string * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Sql.Models.SqlDatabaseKey
Public Shared Function SqlDatabaseKey (Optional keyType As Nullable(Of SqlDatabaseKeyType) = Nothing, Optional thumbprint As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional subregion As String = Nothing) As SqlDatabaseKey

Parameters

keyType
Nullable<SqlDatabaseKeyType>

The database key type. Only supported value is 'AzureKeyVault'.

thumbprint
String

Thumbprint of the database key.

createdOn
Nullable<DateTimeOffset>

The database key creation date.

subregion
String

Subregion of the server key.

Returns

A new SqlDatabaseKey instance for mocking.

Applies to