Transparent Data Encryption Configurations - List By Database

Gets a list of a database's transparent data encryption configurations. There is only ever one element, named 'current', so GetTransparentDataEncryptionConfiguration should be used instead.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption?api-version=2014-04-01

URI Parameters

Name In Required Type Description
databaseName
path True

string

The name of the database for which the transparent data encryption applies.

resourceGroupName
path True

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
path True

string

The name of the server.

subscriptionId
path True

string

The subscription ID that identifies an Azure subscription.

api-version
query True

string

The API version to use for the request.

Responses

Name Type Description
200 OK

TransparentDataEncryptionListResult

OK

Examples

Get a list of transparent data encryption configurations

Sample request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption?api-version=2014-04-01

Sample response

{
  "value": [
    {
      "name": "current",
      "location": "North Europe",
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current",
      "type": "Microsoft.Sql/servers/databases/transparentDataEncryption",
      "properties": {
        "status": "Enabled"
      }
    }
  ]
}

Definitions

Name Description
TransparentDataEncryption

Represents a database transparent data encryption configuration.

TransparentDataEncryptionListResult

Represents the response to a list transparent data encryption configurations request.

TransparentDataEncryptionStatus

The status of the database transparent data encryption.

TransparentDataEncryption

Represents a database transparent data encryption configuration.

Name Type Description
id

string

Resource ID.

location

string

Resource location.

name

string

Resource name.

properties.status

TransparentDataEncryptionStatus

The status of the database transparent data encryption.

type

string

Resource type.

TransparentDataEncryptionListResult

Represents the response to a list transparent data encryption configurations request.

Name Type Description
value

TransparentDataEncryption[]

The list of transparent data encryption configurations.

TransparentDataEncryptionStatus

The status of the database transparent data encryption.

Name Type Description
Disabled

string

Enabled

string