Compartilhar via


AutomationWatcherResource.Update Método

Definição

Atualize o observador identificado pelo nome do observador.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
  • Operação IdWatcher_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationWatcherResource> Update (Azure.ResourceManager.Automation.Models.AutomationWatcherPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationWatcherPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWatcherResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationWatcherPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWatcherResource>
Public Overridable Function Update (patch As AutomationWatcherPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationWatcherResource)

Parâmetros

patch
AutomationWatcherPatch

Os parâmetros de atualização para o observador.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a