Share via


ArmSqlModelFactory.ManagedInstanceEncryptionProtectorData Method

Definition

Initializes a new instance of ManagedInstanceEncryptionProtectorData.

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

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.

serverKeyName
String

The name of the managed instance key.

serverKeyType
Nullable<SqlServerKeyType>

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.

uri
Uri

The URI of the server key.

thumbprint
String

Thumbprint of the server key.

isAutoRotationEnabled
Nullable<Boolean>

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

Returns

A new ManagedInstanceEncryptionProtectorData instance for mocking.

Applies to