Skip to main content

operations

Creates, updates, deletes, gets or lists an operations resource.

Overview

Nameoperations
TypeResource
Idazure.recovery_services_backup.operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the Operation.
displayobjectContains the localized display information for this particular operation
originstringThe intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX
propertiesobjectShoeBox properties for the given operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectapi-versionReturns the list of available operations.
bms_prepare_data_moveexecvaultName, resourceGroupName, subscriptionId, targetResourceId, targetRegion, dataMoveLevelapi-versionPrepares source vault for Data Move operation
bms_trigger_data_moveexecvaultName, resourceGroupName, subscriptionId, sourceResourceId, sourceRegion, dataMoveLevel, correlationIdapi-versionTriggers Data Move Operation on target vault
validateexecvaultName, resourceGroupName, subscriptionId, id, propertiesapi-versionValidate operation for specified backed up item. This is a synchronous operation.
move_recovery_pointexecvaultName, resourceGroupName, subscriptionId, fabricName, containerName, protectedItemName, recoveryPointIdapi-version

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
containerNamestring
fabricNamestring
protectedItemNamestring
recoveryPointIdstring
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
subscriptionIdstringThe subscription Id.
vaultNamestringThe name of the recovery services vault.
api-versionstringClient Api Version.

SELECT examples

Returns the list of available operations.

SELECT
name,
display,
origin,
properties
FROM azure.recovery_services_backup.operations
WHERE api-version = '{{ api-version }}'
;

Lifecycle Methods

Prepares source vault for Data Move operation

EXEC azure.recovery_services_backup.operations.bms_prepare_data_move 
@vaultName='{{ vaultName }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"targetResourceId": "{{ targetResourceId }}",
"targetRegion": "{{ targetRegion }}",
"dataMoveLevel": "{{ dataMoveLevel }}",
"sourceContainerArmIds": "{{ sourceContainerArmIds }}",
"ignoreMoved": {{ ignoreMoved }}
}'
;