Skip to main content

backup_resource_vault_configs

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

Overview

Namebackup_resource_vault_configs
TypeResource
Idazure.recovery_services_backup.backup_resource_vault_configs

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
enhanced_security_statetextfield from the properties object
is_soft_delete_feature_state_editabletextfield from the properties object
resourceGroupNametextfield from the properties object
resource_guard_operation_requeststextfield from the properties object
soft_delete_feature_statetextfield from the properties object
soft_delete_retention_period_in_daystextfield from the properties object
storage_model_typetextfield from the properties object
storage_typetextfield from the properties object
storage_type_statetextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vaultNameFetches resource vault config.
updateUPDATEresourceGroupName, subscriptionId, vaultNameUpdates vault security config.
putREPLACEresourceGroupName, subscriptionId, vaultNameUpdates vault security config.

SELECT examples

Fetches resource vault config.

SELECT
id,
name,
enhanced_security_state,
is_soft_delete_feature_state_editable,
resourceGroupName,
resource_guard_operation_requests,
soft_delete_feature_state,
soft_delete_retention_period_in_days,
storage_model_type,
storage_type,
storage_type_state,
subscriptionId,
type,
vaultName
FROM azure.recovery_services_backup.vw_backup_resource_vault_configs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';

UPDATE example

Updates a backup_resource_vault_configs resource.

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

REPLACE example

Replaces all fields in the specified backup_resource_vault_configs resource.

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