Skip to main content

backup_policies

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

Overview

Namebackup_policies
TypeResource
Idazure.recovery_services_backup.backup_policies

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectBase class for backup policy. Workload-specific backup policies are derived from this class.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, subscriptionId, vaultNameLists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
scoped results.

SELECT examples

Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch scoped results.

SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.backup_policies
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';