backup_resource_encryption_configs
Creates, updates, deletes, gets or lists a backup_resource_encryption_configs
resource.
Overview
Name | backup_resource_encryption_configs |
Type | Resource |
Id | azure.recovery_services_backup.backup_resource_encryption_configs |
Fields
- vw_backup_resource_encryption_configs
- backup_resource_encryption_configs
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
encryption_at_rest_type | text | field from the properties object |
infrastructure_encryption_state | text | field from the properties object |
key_uri | text | field from the properties object |
last_update_status | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
subscription_id | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
use_system_assigned_identity | text | field from the properties object |
user_assigned_identity | text | field from the properties object |
vaultName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, vaultName | Fetches Vault Encryption config. |
update | REPLACE | resourceGroupName, subscriptionId, vaultName | Updates Vault encryption config. |
SELECT
examples
Fetches Vault Encryption config.
- vw_backup_resource_encryption_configs
- backup_resource_encryption_configs
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.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 }}';