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
revalidateexecresource_group_name, server_name, database_name, encryption_protector_name, subscription_idRevalidates an existing encryption protector for a particular database.
revertexecresource_group_name, server_name, database_name, encryption_protector_name, subscription_idReverts 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
database_namestringThe name of the database. Required.
encryption_protector_namestringThe name of the encryption protector to be updated. "current" Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
server_namestringThe name of the server. Required.
subscription_idstring

Lifecycle Methods

Revalidates an existing encryption protector for a particular database.

EXEC azure.sql.database_encryption_protectors.revalidate 
@resource_group_name='{{ resource_group_name }}' --required,
@server_name='{{ server_name }}' --required,
@database_name='{{ database_name }}' --required,
@encryption_protector_name='{{ encryption_protector_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;