共用方式為


RunbookDraftOperationsExtensions.UndoEdit 方法

定義

將草稿編輯復原至 Runbook 名稱所識別的最後已知已發佈狀態。 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

參數

operations
IRunbookDraftOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountautomationAccountName
String
runbookName
String

Runbook 名稱。

傳回

適用於