Skip to main content

recovery_plan_actions

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

Overview

Namerecovery_plan_actions
TypeResource
Idazure.resilience_management.recovery_plan_actions

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
finalizeexecservice_group_name, recovery_plan_name, operation-idThis action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place.
update_resourcesexecservice_group_name, recovery_plan_name, operation-idThis action adds or updates the resources to be included in the recovery orchestration plan.
validate_for_operationexecservice_group_name, recovery_plan_name, operation-id, operationNameThis action checks if the recovery orchestration plan is eligible for operations like failover and reprotect, ensuring it meets the necessary criteria.
validate_for_failoverexecservice_group_name, recovery_plan_name, operation-id, failoverDirectionThis action checks if the recovery orchestration plan is eligible for failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.
validate_for_failover_commitexecservice_group_name, recovery_plan_name, operation-idThis action checks if the recovery orchestration plan is eligible for failover commit operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.
validate_for_test_failoverexecservice_group_name, recovery_plan_name, operation-id, failoverDirectionThis action checks if the recovery orchestration plan is eligible for test failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.
validate_for_test_failover_cleanupexecservice_group_name, recovery_plan_name, operation-idThis action checks if the recovery orchestration plan is eligible for test failover cleanup operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.
validate_for_reprotectexecservice_group_name, recovery_plan_name, operation-idThis action checks if the recovery orchestration plan is eligible for reprotect operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.
check_readinessexecservice_group_name, recovery_plan_name, operation-idThis action performs the necessary readiness check on the recovery orchestration plan to ensure it is in the desired state and eligible for all recovery actions, including all protected resources.
failoverexecservice_group_name, recovery_plan_name, operation-id, failoverDirectionThis action triggers the failover operation on the recovery orchestration plan for the qualified resources.
failover_commitexecservice_group_name, recovery_plan_name, operation-idThis action triggers the failover commit operation on the recovery orchestration plan for the qualified resources.
reprotectexecservice_group_name, recovery_plan_name, operation-idThis action triggers the reprotect operation on the recovery orchestration plan for the qualified resources.
test_failoverexecservice_group_name, recovery_plan_name, operation-id, failoverDirectionThis action triggers the test failover operation on the recovery orchestration plan for the qualified resources.
test_failover_cleanupexecservice_group_name, recovery_plan_name, operation-idThis action triggers the test failover cleanup operation on the recovery orchestration plan for the qualified resources.

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
operation-idstringA GUID that represents the Long Running OperationId. Required.
recovery_plan_namestringThe name of the recovery orchestration plan. Required.
service_group_namestringThe name of the service group. Required.

Lifecycle Methods

This action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place.

EXEC azure.resilience_management.recovery_plan_actions.finalize 
@service_group_name='{{ service_group_name }}' --required,
@recovery_plan_name='{{ recovery_plan_name }}' --required,
@operation-id='{{ operation-id }}' --required
;