Skip to main content

backup_resource_encryption_configs

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

Overview

Namebackup_resource_encryption_configs
TypeResource
Idazure.recovery_services_backup.backup_resource_encryption_configs

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
encryption_at_rest_typetextfield from the properties object
infrastructure_encryption_statetextfield from the properties object
key_uritextfield from the properties object
last_update_statustextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
subscription_idtextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
use_system_assigned_identitytextfield from the properties object
user_assigned_identitytextfield from the properties object
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vaultNameFetches Vault Encryption config.
updateREPLACEresourceGroupName, subscriptionId, vaultNameUpdates Vault encryption config.

SELECT examples

Fetches Vault Encryption config.

SELECT
id,
name,
encryption_at_rest_type,
infrastructure_encryption_state,
key_uri,
last_update_status,
resourceGroupName,
subscriptionId,
subscription_id,
type,
use_system_assigned_identity,
user_assigned_identity,
vaultName
FROM azure.recovery_services_backup.vw_backup_resource_encryption_configs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';

REPLACE example

Replaces all fields in the specified backup_resource_encryption_configs resource.

/*+ update */
REPLACE azure.recovery_services_backup.backup_resource_encryption_configs
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';