Share via


RunbookDraftOperationsExtensions.UndoEdit Method

Definition

Undo draft edit to last known published state identified by runbook name. http://aka.ms/azureautomationsdk/runbookdraftoperations

public static Microsoft.Azure.Management.Automation.Models.RunbookDraftUndoEditResponse UndoEdit (this Microsoft.Azure.Management.Automation.IRunbookDraftOperations operations, string resourceGroupName, string automationAccount, string runbookName);
public static Microsoft.Azure.Management.Automation.Models.RunbookDraftUndoEditResult UndoEdit (this Microsoft.Azure.Management.Automation.IRunbookDraftOperations operations, string resourceGroupName, string automationAccountName, string runbookName);
static member UndoEdit : Microsoft.Azure.Management.Automation.IRunbookDraftOperations * string * string * string -> Microsoft.Azure.Management.Automation.Models.RunbookDraftUndoEditResponse
static member UndoEdit : Microsoft.Azure.Management.Automation.IRunbookDraftOperations * string * string * string -> Microsoft.Azure.Management.Automation.Models.RunbookDraftUndoEditResult
<Extension()>
Public Function UndoEdit (operations As IRunbookDraftOperations, resourceGroupName As String, automationAccount As String, runbookName As String) As RunbookDraftUndoEditResponse
<Extension()>
Public Function UndoEdit (operations As IRunbookDraftOperations, resourceGroupName As String, automationAccountName As String, runbookName As String) As RunbookDraftUndoEditResult

Parameters

operations
IRunbookDraftOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountautomationAccountName
String
runbookName
String

The runbook name.

Returns

Applies to