你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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 名称。

返回

适用于