Compartir a través de


LogAnalyticsQueryResource.UpdateAsync Método

Definición

Agrega o Novedades una consulta específica dentro de un queryPack de Log Analytics.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}
  • IdQueries_Update de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource>> UpdateAsync (Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource>>
override this.UpdateAsync : Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource>>
Public Overridable Function UpdateAsync (data As LogAnalyticsQueryData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LogAnalyticsQueryResource))

Parámetros

data
LogAnalyticsQueryData

Propiedades que deben especificarse para crear una nueva consulta y agregarla a un QueryPack de Log Analytics.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

data es null.

Se aplica a