---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs"
tags: ["Jobs"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Lists all jobs under the specified job collection.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `jobCollectionName` string, required

## Query parameters

- `api-version` string, required
- `$top` integer
- `$skip` integer
- `$filter` string

## Response `200`

The job has been successfully returned.

- JobListResult
  - `value` JobDefinition[]: Gets or sets all jobs under job collection.
    - `id` string: Gets the job resource identifier.
    - `type` string: Gets the job resource type.
    - `name` string: Gets the job resource name.
    - `properties` JobProperties
      - `startTime` string, date-time: Gets or sets the job start time.
      - `action` JobAction
        - `type` 'Http' | 'Https' | 'StorageQueue' | 'ServiceBusQueue' | 'ServiceBusTopic': Gets or sets the job action type.
        - `request` HttpRequest
          - `authentication` HttpAuthentication
            - `type` 'NotSpecified' | 'ClientCertificate' | 'ActiveDirectoryOAuth' | 'Basic': Gets or sets the http authentication type.
          - `uri` string: Gets or sets the Uri.
          - `method` string: Gets or sets the method of the request.
          - `body` string: Gets or sets the request body.
          - `headers` object: Gets or sets the headers.
        - `queueMessage` StorageQueueMessage
          - `storageAccount` string: Gets or sets the storage account name.
          - `queueName` string: Gets or sets the queue name.
          - `sasToken` string: Gets or sets the SAS key.
          - `message` string: Gets or sets the message.
        - `serviceBusQueueMessage` ServiceBusQueueMessage
          - `authentication` ServiceBusAuthentication
            - `sasKey` string: Gets or sets the SAS key.
            - `sasKeyName` string: Gets or sets the SAS key name.
            - `type` 'NotSpecified' | 'SharedAccessKey': Gets or sets the authentication type.
          - `brokeredMessageProperties` ServiceBusBrokeredMessageProperties
            - `contentType` string: Gets or sets the content type.
            - `correlationId` string: Gets or sets the correlation id.
            - `forcePersistence` boolean: Gets or sets the force persistence.
            - `label` string: Gets or sets the label.
            - `messageId` string: Gets or sets the message id.
            - `partitionKey` string: Gets or sets the partition key.
            - `replyTo` string: Gets or sets the reply to.
            - `replyToSessionId` string: Gets or sets the reply to session id.
            - `scheduledEnqueueTimeUtc` string, date-time: Gets or sets the scheduled enqueue time UTC.
            - `sessionId` string: Gets or sets the session id.
            - `timeToLive` string, date-time: Gets or sets the time to live.
            - `to` string: Gets or sets the to.
            - `viaPartitionKey` string: Gets or sets the via partition key.
          - `customMessageProperties` object: Gets or sets the custom message properties.
          - `message` string: Gets or sets the message.
          - `namespace` string: Gets or sets the namespace.
          - `transportType` 'NotSpecified' | 'NetMessaging' | 'AMQP': Gets or sets the transport type.
        - `serviceBusTopicMessage` ServiceBusTopicMessage
          - `authentication` ServiceBusAuthentication
            - `sasKey` string: Gets or sets the SAS key.
            - `sasKeyName` string: Gets or sets the SAS key name.
            - `type` 'NotSpecified' | 'SharedAccessKey': Gets or sets the authentication type.
          - `brokeredMessageProperties` ServiceBusBrokeredMessageProperties
            - `contentType` string: Gets or sets the content type.
            - `correlationId` string: Gets or sets the correlation id.
            - `forcePersistence` boolean: Gets or sets the force persistence.
            - `label` string: Gets or sets the label.
            - `messageId` string: Gets or sets the message id.
            - `partitionKey` string: Gets or sets the partition key.
            - `replyTo` string: Gets or sets the reply to.
            - `replyToSessionId` string: Gets or sets the reply to session id.
            - `scheduledEnqueueTimeUtc` string, date-time: Gets or sets the scheduled enqueue time UTC.
            - `sessionId` string: Gets or sets the session id.
            - `timeToLive` string, date-time: Gets or sets the time to live.
            - `to` string: Gets or sets the to.
            - `viaPartitionKey` string: Gets or sets the via partition key.
          - `customMessageProperties` object: Gets or sets the custom message properties.
          - `message` string: Gets or sets the message.
          - `namespace` string: Gets or sets the namespace.
          - `transportType` 'NotSpecified' | 'NetMessaging' | 'AMQP': Gets or sets the transport type.
        - `retryPolicy` RetryPolicy
          - `retryType` 'None' | 'Fixed': Gets or sets the retry strategy to be used.
          - `retryInterval` string, duration: Gets or sets the retry interval between retries.
          - `retryCount` integer: Gets or sets the number of times a retry should be attempted.
        - `errorAction` JobErrorAction
          - `type` 'Http' | 'Https' | 'StorageQueue' | 'ServiceBusQueue' | 'ServiceBusTopic': Gets or sets the job error action type.
          - `request` HttpRequest
            - `authentication` HttpAuthentication
              - …
            - `uri` string: Gets or sets the Uri.
            - `method` string: Gets or sets the method of the request.
            - `body` string: Gets or sets the request body.
            - `headers` object: Gets or sets the headers.
          - `queueMessage` StorageQueueMessage
            - `storageAccount` string: Gets or sets the storage account name.
            - `queueName` string: Gets or sets the queue name.
            - `sasToken` string: Gets or sets the SAS key.
            - `message` string: Gets or sets the message.
          - `serviceBusQueueMessage` ServiceBusQueueMessage
            - `authentication` ServiceBusAuthentication
              - …
            - `brokeredMessageProperties` ServiceBusBrokeredMessageProperties
              - …
            - `customMessageProperties` object: Gets or sets the custom message properties.
            - `message` string: Gets or sets the message.
            - `namespace` string: Gets or sets the namespace.
            - `transportType` 'NotSpecified' | 'NetMessaging' | 'AMQP': Gets or sets the transport type.
          - `serviceBusTopicMessage` ServiceBusTopicMessage
            - `authentication` ServiceBusAuthentication
              - …
            - `brokeredMessageProperties` ServiceBusBrokeredMessageProperties
              - …
            - `customMessageProperties` object: Gets or sets the custom message properties.
            - `message` string: Gets or sets the message.
            - `namespace` string: Gets or sets the namespace.
            - `transportType` 'NotSpecified' | 'NetMessaging' | 'AMQP': Gets or sets the transport type.
          - `retryPolicy` RetryPolicy
            - `retryType` 'None' | 'Fixed': Gets or sets the retry strategy to be used.
            - `retryInterval` string, duration: Gets or sets the retry interval between retries.
            - `retryCount` integer: Gets or sets the number of times a retry should be attempted.
      - `recurrence` JobRecurrence
        - `frequency` 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month': Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
        - `interval` integer: Gets or sets the interval between retries.
        - `count` integer: Gets or sets the maximum number of times that the job should run.
        - `endTime` string, date-time: Gets or sets the time at which the job will complete.
        - `schedule` JobRecurrenceSchedule
          - `weekDays` string[]: Gets or sets the days of the week that the job should execute on.
          - `hours` integer[]: Gets or sets the hours of the day that the job should execute at.
          - `minutes` integer[]: Gets or sets the minutes of the hour that the job should execute at.
          - `monthDays` integer[]: Gets or sets the days of the month that the job should execute on. Must be between 1 and 31.
          - `monthlyOccurrences` JobRecurrenceScheduleMonthlyOccurrence[]: Gets or sets the occurrences of days within a month.
            - `day` 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday': Gets or sets the day. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
            - `Occurrence` integer: Gets or sets the occurrence. Must be between -5 and 5.
      - `state` 'Enabled' | 'Disabled' | 'Faulted' | 'Completed': Gets or set the job state.
      - `status` JobStatus
        - `executionCount` integer: Gets the number of times this job has executed.
        - `failureCount` integer: Gets the number of times this job has failed.
        - `faultedCount` integer: Gets the number of faulted occurrences (occurrences that were retried and failed as many times as the retry policy states).
        - `lastExecutionTime` string, date-time: Gets the time the last occurrence executed in ISO-8601 format. Could be empty if job has not run yet.
        - `nextExecutionTime` string, date-time: Gets the time of the next occurrence in ISO-8601 format. Could be empty if the job is completed.
  - `nextLink` string: Gets or sets the URL to get the next set of jobs.

---

[API](https://skmtc.dev/azure/apis/scheduler-microsoft-scheduler-scheduler.md) - [All operations](https://skmtc.dev/azure/apis/scheduler-microsoft-scheduler-scheduler/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/scheduler-microsoft-scheduler-scheduler/revisions/f0389cecd065?raw)
