This module deploys a SQL Managed Instance Encryption Protector.
| Resource Type | API Version |
|---|---|
Microsoft.Sql/managedInstances/encryptionProtector |
2022-05-01-preview |
Required parameters
| Parameter | Type | Description |
|---|---|---|
serverKeyName |
string | The name of the SQL managed instance key. |
Conditional parameters
| Parameter | Type | Description |
|---|---|---|
managedInstanceName |
string | The name of the parent SQL managed instance. Required if the template is used in a standalone deployment. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
autoRotationEnabled |
bool | Key auto rotation opt-in flag. |
enableDefaultTelemetry |
bool | Enable telemetry via a Globally Unique Identifier (GUID). |
serverKeyType |
string | The encryption protector type like "ServiceManaged", "AzureKeyVault". |
The name of the SQL managed instance key.
- Required: Yes
- Type: string
The name of the parent SQL managed instance. Required if the template is used in a standalone deployment.
- Required: Yes
- Type: string
Key auto rotation opt-in flag.
- Required: No
- Type: bool
- Default:
False
Enable telemetry via a Globally Unique Identifier (GUID).
- Required: No
- Type: bool
- Default:
True
The encryption protector type like "ServiceManaged", "AzureKeyVault".
- Required: No
- Type: string
- Default:
'ServiceManaged' - Allowed:
[ 'AzureKeyVault' 'ServiceManaged' ]
| Output | Type | Description |
|---|---|---|
name |
string | The name of the deployed managed instance encryption protector. |
resourceGroupName |
string | The resource group of the deployed managed instance encryption protector. |
resourceId |
string | The resource ID of the deployed managed instance encryption protector. |
None