Udostępnij za pośrednictwem


RunbookDraftOperationsExtensions.GetAsync Method

Definition

Retrieve the runbook draft identified by runbook name. (see http://aka.ms/azureautomationsdk/runbookdraftoperations for more information)

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

Parameters

operations
IRunbookDraftOperations

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

automationAccount
String

Required. The automation account name.

runbookName
String

Required. The runbook name.

Returns

The response model for the get runbook draft operation.

Applies to