RunbookDraftOperationsExtensions.UndoEditAsync Method

Definition

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

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

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 undoedit runbook operation.

Applies to