Sql Pool Transparent Data Encryptions - Create Or Update
Creates or updates a Sql pool's transparent data encryption configuration.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/transparentDataEncryption/current?api-version=2021-06-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
sql
|
path | True |
string |
SQL pool name |
subscription
|
path | True |
string |
The ID of the target subscription. |
transparent
|
path | True |
The name of the transparent data encryption configuration. |
|
workspace
|
path | True |
string |
The name of the workspace. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Type | Description |
---|---|---|
properties.status |
The status of the database transparent data encryption. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
201 Created |
Created |
|
Other Status Codes |
Examples
Create or update a Sql pool's transparent data encryption configuration
Sample Request
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current?api-version=2021-06-01
{
"properties": {
"status": "Enabled"
}
}
Sample Response
{
"name": "current",
"location": "North Europe",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current",
"type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption",
"properties": {
"status": "Enabled"
}
}
{
"name": "current",
"location": "North Europe",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current",
"type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption",
"properties": {
"status": "Enabled"
}
}
{
"error": {
"code": "Error code",
"message": "Error message"
}
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Transparent |
Represents a Sql pool transparent data encryption configuration. |
Transparent |
The name of the transparent data encryption configuration. |
Transparent |
The status of the database transparent data encryption. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
TransparentDataEncryption
Represents a Sql pool transparent data encryption configuration.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
location |
string |
Resource location. |
name |
string |
The name of the resource |
properties.status |
The status of the database transparent data encryption. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
TransparentDataEncryptionName
The name of the transparent data encryption configuration.
Name | Type | Description |
---|---|---|
current |
string |
TransparentDataEncryptionStatus
The status of the database transparent data encryption.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |