Dsc Compilation Job - Get Stream

Retrieve the job stream identified by job stream id.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/{jobStreamId}?api-version=2018-01-15

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName
path True
  • string

Name of an Azure Resource group.

Regex pattern: ^[-\w\._]+$

automationAccountName
path True
  • string

The name of the automation account.

jobId
path True
  • string
uuid

The job id.

jobStreamId
path True
  • string

The job stream id.

api-version
query True
  • string

Client Api Version.

Responses

Name Type Description
200 OK

OK

Other Status Codes

Automation error response describing why the operation failed.

Examples

Get a DSC Compilation job stream by job stream id

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008?api-version=2018-01-15

Sample Response

{
  "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008",
  "properties": {
    "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838:00636481062421684835:00000000000000000001",
    "summary": "",
    "time": "2017-12-05T21:30:42.1684835+00:00",
    "streamType": "Output",
    "streamText": "",
    "value": {
      "value": "",
      "PSComputerName": "localhost",
      "PSShowComputerName": true,
      "PSSourceJobInstanceId": "836d4e06-2d88-46b4-8500-7febd4906838"
    }
  }
}

Definitions

ErrorResponse

Error response of an operation failure

JobStream

Definition of the job stream.

JobStreamType

Gets or sets the stream type.

ErrorResponse

Error response of an operation failure

Name Type Description
code
  • string

Error code

message
  • string

Error message indicating why the operation failed.

JobStream

Definition of the job stream.

Name Type Description
id
  • string

Gets or sets the id of the resource.

properties.jobStreamId
  • string

Gets or sets the id of the job stream.

properties.streamText
  • string

Gets or sets the stream text.

properties.streamType

Gets or sets the stream type.

properties.summary
  • string

Gets or sets the summary.

properties.time
  • string

Gets or sets the creation time of the job.

properties.value
  • object

Gets or sets the values of the job stream.

JobStreamType

Gets or sets the stream type.

Name Type Description
Any
  • string
Debug
  • string
Error
  • string
Output
  • string
Progress
  • string
Verbose
  • string
Warning
  • string