Skip to main content

backup_resource_storage_configs_non_crr

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

Overview

Namebackup_resource_storage_configs_non_crr
TypeResource
Idazure.recovery_services_backup.backup_resource_storage_configs_non_crr

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
cross_region_restore_flagtextfield from the properties object
dedup_statetextfield from the properties object
resourceGroupNametextfield 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
xcool_statetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vaultNameFetches resource storage config.
patchUPDATEresourceGroupName, subscriptionId, vaultNameUpdates vault storage model type.
updateREPLACEresourceGroupName, subscriptionId, vaultNameUpdates vault storage model type.

SELECT examples

Fetches resource storage config.

SELECT
id,
name,
cross_region_restore_flag,
dedup_state,
resourceGroupName,
storage_model_type,
storage_type,
storage_type_state,
subscriptionId,
type,
vaultName,
xcool_state
FROM azure.recovery_services_backup.vw_backup_resource_storage_configs_non_crr
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';

UPDATE example

Updates a backup_resource_storage_configs_non_crr resource.

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

REPLACE example

Replaces all fields in the specified backup_resource_storage_configs_non_crr resource.

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