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 |
|---|---|---|---|---|
revert | exec | resourceGroupName, serverName, databaseName, encryptionProtectorName, subscriptionId | Reverts an existing encryption protector for a particular database. | |
revalidate | exec | resourceGroupName, serverName, databaseName, encryptionProtectorName, subscriptionId | Revalidates 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 |
|---|---|---|
databaseName | string | The name of the database. |
encryptionProtectorName | string | The name of the encryption protector to be updated. |
resourceGroupName | 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 | string | The name of the server. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
Lifecycle Methods
- revert
- revalidate
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
;
Revalidates an existing encryption protector for a particular database.
EXEC azure.sql.database_encryption_protectors.revalidate
@resourceGroupName='{{ resourceGroupName }}' --required,
@serverName='{{ serverName }}' --required,
@databaseName='{{ databaseName }}' --required,
@encryptionProtectorName='{{ encryptionProtectorName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;