Workspace Managed Sql Server Encryption Protector - Create Or Update
Frissíti a munkaterület-kiszolgáló titkosítási védőjét.
Frissíti a munkaterület által felügyelt SQL Server titkosítási védőjét.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/current?api-version=2021-06-01
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
encryption
|
path | True |
A titkosítási védő neve. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
subscription
|
path | True |
string minLength: 1 |
A cél-előfizetés azonosítója. |
workspace
|
path | True |
string |
A munkaterület neve. |
api-version
|
query | True |
string minLength: 1 |
A művelethez használni kívánt API-verzió. |
Kérelem törzse
Name | Kötelező | Típus | Description |
---|---|---|---|
properties.serverKeyType | True |
A titkosítási védő típusa, például "ServiceManaged", "AzureKeyVault". |
|
properties.serverKeyName |
string |
A kiszolgálókulcs neve. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Sikeresen lekért titkosítási védő. |
|
202 Accepted |
Elfogadott |
|
Other Status Codes |
Hibaválaszok: ***
|
Példák
Update the encryption protector to key vault |
Update the encryption protector to service managed |
Update the encryption protector to key vault
Mintakérelem
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current?api-version=2021-06-01
{
"properties": {
"serverKeyType": "AzureKeyVault",
"serverKeyName": "someVault_someKey_01234567890123456789012345678901"
}
}
Mintaválasz
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current",
"name": "current",
"type": "Microsoft.Synapse/workspaces/encryptionProtector",
"location": "West US",
"kind": "azurekeyvault",
"properties": {
"serverKeyName": "someVault_someKey_01234567890123456789012345678901",
"serverKeyType": "AzureKeyVault"
}
}
Update the encryption protector to service managed
Mintakérelem
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current?api-version=2021-06-01
{
"properties": {
"serverKeyType": "ServiceManaged",
"serverKeyName": "ServiceManaged"
}
}
Mintaválasz
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current",
"name": "current",
"type": "Microsoft.Synapse/workspaces/encryptionProtector",
"location": "West US",
"kind": "servicemanaged",
"properties": {
"serverKeyName": "ServiceManaged",
"serverKeyType": "ServiceManaged"
}
}
Definíciók
Name | Description |
---|---|
Encryption |
A kiszolgálótitkosítási védő. |
Encryption |
A titkosítási védő neve. |
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Error |
Hibaválasz |
Server |
A titkosítási védő típusa, például "ServiceManaged", "AzureKeyVault". |
EncryptionProtector
A kiszolgálótitkosítási védő.
Name | Típus | Description |
---|---|---|
id |
string |
Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
kind |
string |
Egyfajta titkosítási védő. Ez az Azure Portal felhasználói élményéhez használt metaadatok. |
location |
string |
Erőforrás helye. |
name |
string |
Az erőforrás neve |
properties.serverKeyName |
string |
A kiszolgálókulcs neve. |
properties.serverKeyType |
A titkosítási védő típusa, például "ServiceManaged", "AzureKeyVault". |
|
properties.subregion |
string |
A titkosítási védő alrégiója. |
properties.thumbprint |
string |
A kiszolgálókulcs ujjlenyomata. |
properties.uri |
string |
A kiszolgálókulcs URI-ja. |
type |
string |
Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts" |
EncryptionProtectorName
A titkosítási védő neve.
Érték | Description |
---|---|
current |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
Name | Típus | Description |
---|---|---|
info |
object |
A további információk. |
type |
string |
A további információtípus. |
ErrorDetail
A hiba részletei.
Name | Típus | Description |
---|---|---|
additionalInfo |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hibacél. |
ErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
ServerKeyType
A titkosítási védő típusa, például "ServiceManaged", "AzureKeyVault".
Érték | Description |
---|---|
AzureKeyVault | |
ServiceManaged |