Keel

ArmSqlModelFactory.ManagedInstanceEncryptionProtectorData Method

Definition

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

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

kind
String

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

Returns

A new ManagedInstanceEncryptionProtectorData instance for mocking.

Applies to