RunbookOperationsExtensions.ContentAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookContentResponse> ContentAsync (this Microsoft.WindowsAzure.Management.Automation.IRunbookOperations operations, string automationAccount, string runbookName);
static member ContentAsync : Microsoft.WindowsAzure.Management.Automation.IRunbookOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookContentResponse>
<Extension()>
Public Function ContentAsync (operations As IRunbookOperations, automationAccount As String, runbookName As String) As Task(Of RunbookContentResponse)

Parameters

operations
IRunbookOperations

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

automationAccount
String

Required. The automation account name.

runbookName
String

Required. The runbook name.

Returns

The response model for the runbook content operation.

Applies to