Skip to main content

backup_protection_intents

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

Overview

Namebackup_protection_intents
TypeResource
Idazure.recovery_services_backup.backup_protection_intents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProtectionIntentResource properties
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectvaultName, resourceGroupName, subscriptionIdapi-version, $filter, $skipTokenProvides a pageable list of all intents that are present within a vault.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
subscriptionIdstringThe subscription Id.
vaultNamestringThe name of the recovery services vault.
$filterstringOData filter options.
$skipTokenstringskipToken Filter.
api-versionstringClient Api Version.

SELECT examples

Provides a pageable list of all intents that are present within a vault.

SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.backup_protection_intents
WHERE vaultName = '{{ vaultName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
AND $skipToken = '{{ $skipToken }}'
;