Skip to main content

replication_jobs

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

Overview

Namereplication_jobs
TypeResource
Idazure.recovery_services_site_recovery.replication_jobs

Fields

NameDatatypeDescription
idtextResource Id
nametextResource Name
activity_idtextfield from the properties object
allowed_actionstextfield from the properties object
custom_detailstextfield from the properties object
end_timetextfield from the properties object
errorstextfield from the properties object
friendly_nametextfield from the properties object
jobNametextfield from the properties object
locationtextResource Location
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
scenario_nametextfield from the properties object
start_timetextfield from the properties object
statetextfield from the properties object
state_descriptiontextfield from the properties object
subscriptionIdtextfield from the properties object
target_instance_typetextfield from the properties object
target_object_idtextfield from the properties object
target_object_nametextfield from the properties object
taskstextfield from the properties object
typetextResource Type

Methods

NameAccessible byRequired ParamsDescription
getSELECTjobName, resourceGroupName, resourceName, subscriptionIdGet the details of an Azure Site Recovery job.
listSELECTresourceGroupName, resourceName, subscriptionIdGets the list of Azure Site Recovery Jobs for the vault.
cancelEXECjobName, resourceGroupName, resourceName, subscriptionIdThe operation to cancel an Azure Site Recovery job.
exportEXECresourceGroupName, resourceName, subscriptionIdThe operation to export the details of the Azure Site Recovery jobs of the vault.
restartEXECjobName, resourceGroupName, resourceName, subscriptionIdThe operation to restart an Azure Site Recovery job.
resumeEXECjobName, resourceGroupName, resourceName, subscriptionIdThe operation to resume an Azure Site Recovery job.

SELECT examples

Gets the list of Azure Site Recovery Jobs for the vault.

SELECT
id,
name,
activity_id,
allowed_actions,
custom_details,
end_time,
errors,
friendly_name,
jobName,
location,
resourceGroupName,
resourceName,
scenario_name,
start_time,
state,
state_description,
subscriptionId,
target_instance_type,
target_object_id,
target_object_name,
tasks,
type
FROM azure.recovery_services_site_recovery.vw_replication_jobs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';