Encryption Protectors - Get

Bir sunucu şifreleme koruyucusu alır.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/current?api-version=2021-11-01

URI Parametreleri

Name İçinde Gerekli Tür Description
encryptionProtectorName
path True

EncryptionProtectorName

Alınacak şifreleme koruyucusunun adı.

resourceGroupName
path True

string

Kaynağı içeren kaynak grubunun adı. Bu değeri Azure Resource Manager API'sinden veya portaldan alabilirsiniz.

serverName
path True

string

Sunucunun adı.

subscriptionId
path True

string

Azure aboneliğini tanımlayan abonelik kimliği.

api-version
query True

string

İstek için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

EncryptionProtector

Belirtilen sunucu şifreleme koruyucusu başarıyla alındı.

Other Status Codes

Hata Yanıtları: ***

  • 400 InvalidKeyName - Sunucu anahtarı adı için geçersiz bir değer verildi.

  • 400 InvalidKeyType - Sunucu anahtarı oluşturma türü desteklenmiyor.

  • 400 InvalidUpsertKeyType - Hizmet tarafından yönetilen TDE anahtarları hizmet tarafından yönetilir. Hizmet tarafından yönetilen TDE anahtarları, kullanıcı tarafından Oluşturma veya Güncelleştirme'yi desteklemez.

  • 400 InvalidKeyUpsertRequest - Sunucu anahtarı oluşturma isteği yok veya özellik nesnesi yok.

  • 400 InvalidEncryptionProtectorName - Şifreleme koruyucusu anahtar adı desteklenmiyor.

  • 404 SubscriptionDoesNotHaveServer - İstenen sunucu bulunamadı

  • 404 ServerNotInSubscriptionResourceGroup - Belirtilen sunucu belirtilen kaynak grubunda ve abonelikte yok.

  • 404 ResourceNotFound - İstenen kaynak bulunamadı.

Örnekler

Get the encryption protector

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/encryptionProtector/current?api-version=2021-11-01

Sample Response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/encryptionProtector/current",
  "name": "current",
  "type": "Microsoft.Sql/servers/encryptionProtector",
  "location": "Japan East",
  "kind": "azurekeyvault",
  "properties": {
    "serverKeyName": "someVault_someKey_01234567890123456789012345678901",
    "serverKeyType": "AzureKeyVault",
    "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901",
    "autoRotationEnabled": false
  }
}

Tanımlar

Name Description
EncryptionProtector

Sunucu şifreleme koruyucusu.

EncryptionProtectorName

Alınacak şifreleme koruyucusunun adı.

ServerKeyType

'ServiceManaged', 'AzureKeyVault' gibi şifreleme koruyucusu türü.

EncryptionProtector

Sunucu şifreleme koruyucusu.

Name Tür Description
id

string

Kaynak Kimliği.

kind

string

Şifreleme koruyucusu gibi. Bu, Azure portal deneyimi için kullanılan meta verilerdir.

location

string

Kaynak konumu.

name

string

Kaynak adı.

properties.autoRotationEnabled

boolean

Anahtar otomatik döndürme kabul bayrağı. True veya false.

properties.serverKeyName

string

Sunucu anahtarının adı.

properties.serverKeyType

ServerKeyType

'ServiceManaged', 'AzureKeyVault' gibi şifreleme koruyucusu türü.

properties.subregion

string

Şifreleme koruyucusunun alt kaydı.

properties.thumbprint

string

Sunucu anahtarının parmak izi.

properties.uri

string

Sunucu anahtarının URI'si.

type

string

Kaynak türü.

EncryptionProtectorName

Alınacak şifreleme koruyucusunun adı.

Name Tür Description
current

string

ServerKeyType

'ServiceManaged', 'AzureKeyVault' gibi şifreleme koruyucusu türü.

Name Tür Description
AzureKeyVault

string

ServiceManaged

string