Compartilhar via


LogAnalyticsQueryPackResource.UpdateAsync Método

Definição

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

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

Parâmetros

patch
LogAnalyticsQueryPackPatch

Informações de marca atualizadas para definir na instância do QueryPack.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a