backup_resource_storage_configs_non_crr
Creates, updates, deletes, gets or lists a backup_resource_storage_configs_non_crr
resource.
Overview
Name | backup_resource_storage_configs_non_crr |
Type | Resource |
Id | azure.recovery_services_backup.backup_resource_storage_configs_non_crr |
Fields
- vw_backup_resource_storage_configs_non_crr
- backup_resource_storage_configs_non_crr
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 |
cross_region_restore_flag | text | field from the properties object |
dedup_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
storage_model_type | text | field from the properties object |
storage_type | text | field from the properties object |
storage_type_state | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
vaultName | text | field from the properties object |
xcool_state | 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 | The resource storage details. |
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 resource storage config. |
patch | UPDATE | resourceGroupName, subscriptionId, vaultName | Updates vault storage model type. |
update | REPLACE | resourceGroupName, subscriptionId, vaultName | Updates vault storage model type. |
SELECT
examples
Fetches resource storage config.
- vw_backup_resource_storage_configs_non_crr
- backup_resource_storage_configs_non_crr
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.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 }}';