Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Query

Package version

Class representing a Query.

Hierarchy

  • Query

Index

Constructors

Methods

Constructors

constructor

Methods

execute

  • execute(workspaceId: string, body: QueryBody, options?: msRest.RequestOptionsBase): Promise<Models.QueryExecuteResponse>
  • execute(workspaceId: string, body: QueryBody, callback: msRest.ServiceCallback<QueryResults>): void
  • execute(workspaceId: string, body: QueryBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<QueryResults>): void
  • Executes an Analytics query for data. Here is an example for using POST with an Analytics query.

    summary

    Execute an Analytics query

    Parameters

    • workspaceId: string

      ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.

    • body: QueryBody

      The Analytics query. Learn more about the Analytics query syntax

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.QueryExecuteResponse>

    Promise<Models.QueryExecuteResponse>

  • Parameters

    • workspaceId: string

      ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.

    • body: QueryBody

      The Analytics query. Learn more about the Analytics query syntax

    • callback: msRest.ServiceCallback<QueryResults>

      The callback

    Returns void

  • Parameters

    • workspaceId: string

      ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.

    • body: QueryBody

      The Analytics query. Learn more about the Analytics query syntax

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<QueryResults>

      The callback

    Returns void

Generated using TypeDoc