Compartilhar via


AutomationRunbookResource.UndoEditRunbookDraftAsync(CancellationToken) Método

Definição

Desfazer a edição de rascunho para o último estado publicado conhecido identificado pelo nome do runbook.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/undoEdit
  • Operação IdRunbookDraft_UndoEdit
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.RunbookDraftUndoEditResult>> UndoEditRunbookDraftAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member UndoEditRunbookDraftAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.RunbookDraftUndoEditResult>>
override this.UndoEditRunbookDraftAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.RunbookDraftUndoEditResult>>
Public Overridable Function UndoEditRunbookDraftAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RunbookDraftUndoEditResult))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a