Partilhar via


AutomationRunbookResource.UndoEditRunbookDraft(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
  • IdRunbookDraft_UndoEdit de operação
public virtual Azure.Response<Azure.ResourceManager.Automation.Models.RunbookDraftUndoEditResult> UndoEditRunbookDraft (System.Threading.CancellationToken cancellationToken = default);
abstract member UndoEditRunbookDraft : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.RunbookDraftUndoEditResult>
override this.UndoEditRunbookDraft : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.RunbookDraftUndoEditResult>
Public Overridable Function UndoEditRunbookDraft (Optional cancellationToken As CancellationToken = Nothing) As Response(Of RunbookDraftUndoEditResult)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a