Compartilhar via


ArmSqlModelFactory.ManagedInstanceKeyData Method

Definition

Initializes a new instance of ManagedInstanceKeyData.

public static Azure.ResourceManager.Sql.ManagedInstanceKeyData ManagedInstanceKeyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, Azure.ResourceManager.Sql.Models.SqlServerKeyType? serverKeyType = default, Uri uri = default, string thumbprint = default, DateTimeOffset? createdOn = default, bool? isAutoRotationEnabled = default);
static member ManagedInstanceKeyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Sql.Models.SqlServerKeyType> * Uri * string * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.Sql.ManagedInstanceKeyData
Public Shared Function ManagedInstanceKeyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional serverKeyType As Nullable(Of SqlServerKeyType) = Nothing, Optional uri As Uri = Nothing, Optional thumbprint As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional isAutoRotationEnabled As Nullable(Of Boolean) = Nothing) As ManagedInstanceKeyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

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

serverKeyType
Nullable<SqlServerKeyType>

The key type like 'ServiceManaged', 'AzureKeyVault'.

uri
Uri

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

thumbprint
String

Thumbprint of the key.

createdOn
Nullable<DateTimeOffset>

The key creation date.

isAutoRotationEnabled
Nullable<Boolean>

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

Returns

A new ManagedInstanceKeyData instance for mocking.

Applies to