共用方式為


IRunbookOperations.GetAsync(String, String, CancellationToken) Method

Definition

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

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

Parameters

automationAccount
String

The automation account name.

runbookName
String

The runbook name.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get runbook operation.

Applies to