Compartilhar via


RunbookDraftOperationsExtensions.UndoEditAsync Método

Definição

Sobrecargas

UndoEditAsync(IRunbookDraftOperations, String, String, String)
UndoEditAsync(IRunbookDraftOperations, String, String, String, CancellationToken)

Desfazer a edição de rascunho para o último estado publicado conhecido identificado pelo nome do runbook. http://aka.ms/azureautomationsdk/runbookdraftoperations

UndoEditAsync(IRunbookDraftOperations, String, String, String)

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

Parâmetros

resourceGroupName
String
automationAccount
String
runbookName
String

Retornos

Aplica-se a

UndoEditAsync(IRunbookDraftOperations, String, String, String, CancellationToken)

Desfazer a edição de rascunho para o último estado publicado conhecido identificado pelo nome do runbook. http://aka.ms/azureautomationsdk/runbookdraftoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookDraftUndoEditResult> UndoEditAsync (this Microsoft.Azure.Management.Automation.IRunbookDraftOperations operations, string resourceGroupName, string automationAccountName, string runbookName, System.Threading.CancellationToken cancellationToken = default);
static member UndoEditAsync : Microsoft.Azure.Management.Automation.IRunbookDraftOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookDraftUndoEditResult>
<Extension()>
Public Function UndoEditAsync (operations As IRunbookDraftOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RunbookDraftUndoEditResult)

Parâmetros

operations
IRunbookDraftOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

runbookName
String

O nome do runbook.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a