IRunbookDraftOperations.UndoEditAsync Method

Definition

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

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

Parameters

automationAccount
String

The automation account name.

runbookName
String

The runbook name.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the undoedit runbook operation.

Applies to