replication_jobs
Creates, updates, deletes, gets or lists a replication_jobs
resource.
Overview
Name | replication_jobs |
Type | Resource |
Id | azure.recovery_services_site_recovery.replication_jobs |
Fields
- vw_replication_jobs
- replication_jobs
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource Name |
activity_id | text | field from the properties object |
allowed_actions | text | field from the properties object |
custom_details | text | field from the properties object |
end_time | text | field from the properties object |
errors | text | field from the properties object |
friendly_name | text | field from the properties object |
jobName | text | field from the properties object |
location | text | Resource Location |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
scenario_name | text | field from the properties object |
start_time | text | field from the properties object |
state | text | field from the properties object |
state_description | text | field from the properties object |
subscriptionId | text | field from the properties object |
target_instance_type | text | field from the properties object |
target_object_id | text | field from the properties object |
target_object_name | text | field from the properties object |
tasks | text | field from the properties object |
type | text | Resource Type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | Job custom data details. |
type | string | Resource Type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | jobName, resourceGroupName, resourceName, subscriptionId | Get the details of an Azure Site Recovery job. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | Gets the list of Azure Site Recovery Jobs for the vault. |
cancel | EXEC | jobName, resourceGroupName, resourceName, subscriptionId | The operation to cancel an Azure Site Recovery job. |
export | EXEC | resourceGroupName, resourceName, subscriptionId | The operation to export the details of the Azure Site Recovery jobs of the vault. |
restart | EXEC | jobName, resourceGroupName, resourceName, subscriptionId | The operation to restart an Azure Site Recovery job. |
resume | EXEC | jobName, resourceGroupName, resourceName, subscriptionId | The operation to resume an Azure Site Recovery job. |
SELECT
examples
Gets the list of Azure Site Recovery Jobs for the vault.
- vw_replication_jobs
- replication_jobs
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 }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_jobs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';