QueryBody Class

The Analytics query. Learn more about the Analytics query syntax.

All required parameters must be populated in order to send to Azure.

Inheritance
QueryBody

Constructor

QueryBody(*, query: str, timespan: str = None, workspaces=None, **kwargs) -> None

Parameters

query
str
Required

Required. The query to execute.

timespan
str
Required

Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

workspaces
list[str]
Required

A list of workspaces that are included in the query.