Compartilhar via


ActionGroupResource.UpdateAsync(ActionGroupPatch, CancellationToken) Método

Definição

Atualizações as marcas de um grupo de ações existentes. Para atualizar outros campos, use o método CreateOrUpdate.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}
  • Operação IdActionGroups_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>> UpdateAsync (Azure.ResourceManager.Monitor.Models.ActionGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Monitor.Models.ActionGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>>
override this.UpdateAsync : Azure.ResourceManager.Monitor.Models.ActionGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>>
Public Overridable Function UpdateAsync (patch As ActionGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ActionGroupResource))

Parâmetros

patch
ActionGroupPatch

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a