IJobOperations.GetRunbookContentAsync(String, Guid, CancellationToken) Method

Definition

Retrieve the runbook content of the job identified by job id. (see http://aka.ms/azureautomationsdk/joboperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.JobGetRunbookContentResponse> GetRunbookContentAsync (string automationAccount, Guid jobId, System.Threading.CancellationToken cancellationToken);
abstract member GetRunbookContentAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.JobGetRunbookContentResponse>
Public Function GetRunbookContentAsync (automationAccount As String, jobId As Guid, cancellationToken As CancellationToken) As Task(Of JobGetRunbookContentResponse)

Parameters

automationAccount
String

The automation account name.

jobId
Guid

The job id.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get runbook content of the job operation.

Applies to