---
title: "Gets the list of jobs."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs"
tags: ["ReplicationJobs"]
---

# Gets the list of jobs.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

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

## Path parameters

- `subscriptionId` string, uuid, required
- `resourceGroupName` string, required
- `resourceName` string, required

## Query parameters

- `api-version` string, required
- `$filter` string

## Response `200`

Azure operation completed successfully.

- JobCollection: Collection of jobs.
  - `value` Job[], required: The Job items on this page
    - `id` string, arm-id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    - `name` string: The name of the resource
    - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
    - `properties` JobProperties: Job custom data details.
      - `activityId` string: The activity id.
      - `scenarioName` string: The ScenarioName.
      - `friendlyName` string: The DisplayName.
      - `state` string: The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.
      - `stateDescription` string: The description of the state of the Job. For e.g. - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.
      - `tasks` ASRTask[]: The tasks.
        - `taskId` string: The Id.
        - `name` string: The unique Task name.
        - `startTime` string, date-time: The start time.
        - `endTime` string, date-time: The end time.
        - `allowedActions` string[]: The state/actions applicable on this task.
        - `friendlyName` string: The name.
        - `state` string: The State. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.
        - `stateDescription` string: The description of the task state. For example - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.
        - `taskType` string: The type of task. Details in CustomDetails property depend on this type.
        - `customDetails` TaskTypeDetails: Task details based on specific task type.
          - `instanceType` string, required: The type of task details.
        - `groupTaskCustomDetails` GroupTaskDetails: This class represents the group task details when parent child relationship exists in the drill down.
          - `instanceType` string, required: The type of task details.
          - `childTasks` ASRTask[]: The child tasks.
        - `errors` JobErrorDetails[]: The task error details.
          - `serviceErrorDetails` ServiceError: ASR error model.
            - `code` string: Error code.
            - `message` string: Error message.
            - `possibleCauses` string: Possible causes of error.
            - `recommendedAction` string: Recommended action to resolve error.
            - `activityId` string: Activity Id.
          - `providerErrorDetails` ProviderError: This class contains the error details per object.
            - `errorCode` integer: The Error code.
            - `errorMessage` string: The Error message.
            - `errorId` string: The Provider error Id.
            - `possibleCauses` string: The possible causes for the error.
            - `recommendedAction` string: The recommended action to resolve the error.
          - `errorLevel` string: Error level of error.
          - `creationTime` string, date-time: The creation time of job error.
          - `taskId` string: The Id of the task.
      - `errors` JobErrorDetails[]: The errors.
        - `serviceErrorDetails` ServiceError: ASR error model.
          - `code` string: Error code.
          - `message` string: Error message.
          - `possibleCauses` string: Possible causes of error.
          - `recommendedAction` string: Recommended action to resolve error.
          - `activityId` string: Activity Id.
        - `providerErrorDetails` ProviderError: This class contains the error details per object.
          - `errorCode` integer: The Error code.
          - `errorMessage` string: The Error message.
          - `errorId` string: The Provider error Id.
          - `possibleCauses` string: The possible causes for the error.
          - `recommendedAction` string: The recommended action to resolve the error.
        - `errorLevel` string: Error level of error.
        - `creationTime` string, date-time: The creation time of job error.
        - `taskId` string: The Id of the task.
      - `startTime` string, date-time: The start time.
      - `endTime` string, date-time: The end time.
      - `allowedActions` string[]: The Allowed action the job.
      - `targetObjectId` string: The affected Object Id.
      - `targetObjectName` string: The name of the affected object.
      - `targetInstanceType` string: The type of the affected object which is of Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class.
      - `customDetails` JobDetails: Job details based on specific job type.
        - `instanceType` string, required: Gets the type of job details (see JobDetailsTypes enum for possible values).
        - `affectedObjectDetails` object: The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.
    - `location` string: Resource Location
  - `nextLink` string, uri: The link to the next page of items

## Changes

- **2026-07-13** (2016-08-10) `8fd955340807`: 3 breaking
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2016-08-10) `29658accea08`: 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2016-08-10) `b4b3c6709d9b`: 1 info
  - endpoint added
- **2026-07-13** (2016-08-10) `8dedb017b138`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2016-08-10) `338c6c90a051`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.RecoveryServices/vaults/:resourceName/replicationJobs/get.md)

---

[API](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site.md) - [All operations](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/revisions/8fd955340807?raw)
