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/{compilationJobName}/streams/{jobStreamId}?api-version=2019-06-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
automation
|
path | True |
string |
The name of the automation account. |
compilation
|
path | True |
string uuid |
The DSC configuration Id. |
job
|
path | True |
string |
The job stream id. |
resource
|
path | True |
string |
Name of an Azure Resource group. Regex pattern: |
subscription
|
path | True |
string |
Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
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. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
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=2019-06-01
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
Name | Description |
---|---|
Error |
Error response of an operation failure |
Job |
Definition of the job stream. |
Job |
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 |