Skip to main content

database_encryption_protectors

Creates, updates, deletes, gets or lists a database_encryption_protectors resource.

Overview

Namedatabase_encryption_protectors
TypeResource
Idazure.sql.database_encryption_protectors

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
revertexecresourceGroupName, serverName, databaseName, encryptionProtectorName, subscriptionIdReverts an existing encryption protector for a particular database.
revalidateexecresourceGroupName, serverName, databaseName, encryptionProtectorName, subscriptionIdRevalidates an existing encryption protector for a particular database.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
databaseNamestringThe name of the database.
encryptionProtectorNamestringThe name of the encryption protector to be updated.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverNamestringThe name of the server.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

Lifecycle Methods

Reverts an existing encryption protector for a particular database.

EXEC azure.sql.database_encryption_protectors.revert 
@resourceGroupName='{{ resourceGroupName }}' --required,
@serverName='{{ serverName }}' --required,
@databaseName='{{ databaseName }}' --required,
@encryptionProtectorName='{{ encryptionProtectorName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;