Partilhar via


LogAnalyticsQueryResource.Update Método

Definição

Adiciona ou Atualizações uma consulta específica em um QueryPack do Log Analytics.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}
  • IdQueries_Update de operação
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource> Update (Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource>
override this.Update : Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource>
Public Overridable Function Update (data As LogAnalyticsQueryData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LogAnalyticsQueryResource)

Parâmetros

data
LogAnalyticsQueryData

Propriedades que precisam ser especificadas para criar uma nova consulta e adicioná-la a um QueryPack do Log Analytics.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a