Share via


List all job stream records

 

The List all job stream records operation returns all the job stream records of a job.

Request

To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, <automation-account-name> with the name of the automation account to use for making the request, and <job-name> with the name of the job. Include required URI parameters.

Method

Request URI

GET

https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/jobs/<job-name>/streams?api-version=2014-12-08

URI Parameters

Parameter

Description

api-version

Required. Must be set to 2014-12-08.

Request Headers

The request header in the following table is required.

Request Header

Description

x-ms-version

Specifies the version of the operation. Set to 2013-06-01 or a later version.

Request Body

None

Response

Status Code

A successful operation returns 200 (OK). For information about common error codes, see HTTP/1.1 Status Code Definitions.

Response Headers

Request Header

Description

x-ms-request-id

A unique identifier for the current operation.

Response Body

{
   "value":[
      {
         "properties":{
            "jobStreamId":"67bf1965-43f2-45ab-882d-55a1fc551fcd_00635658506585156703_00000000000000000001",
            "summary":"Hello Bernique",
            "time":"2015-04-28T20:44:18.5156703+00:00",
            "streamType":"Output"
         }
      },
      {
         "properties":{
            "jobStreamId":"67bf1965-43f2-45ab-882d-55a1fc551fcd_00635658506593125512_00000000000000000002",
            "summary":"You entered the number 77",
            "time":"2015-04-28T20:44:19.3125512+00:00",
            "streamType":"Output"
         }
      },
      {
         "properties":{
            "jobStreamId":"67bf1965-43f2-45ab-882d-55a1fc551fcd_00635658506603437938_00000000000000000003",
            "summary":"1\/1\/0001 12:00:00 AM",
            "time":"2015-04-28T20:44:20.3437938+00:00",
            "streamType":"Output"
         }
      },
      {
         "properties":{
            "jobStreamId":"67bf1965-43f2-45ab-882d-55a1fc551fcd_00635658506607656715_00000000000000000004",
            "summary":"Goodbye",
            "time":"2015-04-28T20:44:20.7656715+00:00",
            "streamType":"Output"
         }
      }
   ],
   "nextLink":"<next page uri>"
}

Element

Description

jobStreamID

The ID of the stream record.

summary

Descriptiof the job stream record.

time

The date and time the job stream record was created.

streamType

The type of the stream record record.

nextLink

Returned only when the number of records exceeds the page size (100 records). This link, and any subsequent links, returns the next page of records.

See Also

Automation Jobs
Operations on Automation