JobOperationsExtensions.GetRunbookContentAsync Method

Definition

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

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

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.

automationAccount
String

Required. The automation account name.

jobId
Guid

Required. The job id.

Returns

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

Applies to