This module deploys an Azure SQL Server Key.
| Resource Type | API Version |
|---|---|
Microsoft.Sql/servers/keys |
2022-05-01-preview |
Required parameters
| Parameter | Type | Description |
|---|---|---|
name |
string | The name of the key. Must follow the [] pattern. |
Conditional parameters
| Parameter | Type | Description |
|---|---|---|
serverName |
string | The name of the parent SQL server. Required if the template is used in a standalone deployment. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
enableDefaultTelemetry |
bool | Enable telemetry via a Globally Unique Identifier (GUID). |
serverKeyType |
string | The encryption protector type like "ServiceManaged", "AzureKeyVault". |
uri |
string | The URI of the key. If the ServerKeyType is AzureKeyVault, then either the URI or the keyVaultName/keyName combination is required. |
The name of the key. Must follow the [] pattern.
- Required: Yes
- Type: string
The name of the parent SQL server. Required if the template is used in a standalone deployment.
- Required: Yes
- Type: string
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' ]
The URI of the key. If the ServerKeyType is AzureKeyVault, then either the URI or the keyVaultName/keyName combination is required.
- Required: No
- Type: string
- Default:
''
| Output | Type | Description |
|---|---|---|
name |
string | The name of the deployed server key. |
resourceGroupName |
string | The resource group of the deployed server key. |
resourceId |
string | The resource ID of the deployed server key. |
None