database_encryption_protectors
Creates, updates, deletes, gets or lists a database_encryption_protectors resource.
Overview
| Name | database_encryption_protectors |
| Type | Resource |
| Id | azure.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
revalidate | exec | resource_group_name, server_name, database_name, encryption_protector_name, subscription_id | Revalidates an existing encryption protector for a particular database. | |
revert | exec | resource_group_name, server_name, database_name, encryption_protector_name, subscription_id | Reverts 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.
| Name | Datatype | Description |
|---|---|---|
database_name | string | The name of the database. Required. |
encryption_protector_name | string | The name of the encryption protector to be updated. "current" Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
server_name | string | The name of the server. Required. |
subscription_id | string |
Lifecycle Methods
- revalidate
- revert
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
;
Reverts an existing encryption protector for a particular database.
EXEC azure.sql.database_encryption_protectors.revert
@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
;