Partilhar via


LogAnalyticsQueryPackResource.Update 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 Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> Update (Azure.ResourceManager.OperationalInsights.Models.LogAnalyticsQueryPackPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.OperationalInsights.Models.LogAnalyticsQueryPackPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
override this.Update : Azure.ResourceManager.OperationalInsights.Models.LogAnalyticsQueryPackPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
Public Overridable Function Update (patch As LogAnalyticsQueryPackPatch, Optional cancellationToken As CancellationToken = Nothing) As 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