Compartir a través de


LogAnalyticsQueryResource.Update 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 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

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