From 993a7834ea3abb88f4e27528f3364448b0e5ba61 Mon Sep 17 00:00:00 2001
From: Scott Addie <10702007+scottaddie@users.noreply.github.com>
Date: Mon, 30 Aug 2021 20:45:41 -0500
Subject: [PATCH] Clarify LogsQueryClient query parameter description (#20467)
---
.../azure/monitor/query/_logs_query_client.py | 6 +++---
.../azure/monitor/query/aio/_logs_query_client_async.py | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_logs_query_client.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_logs_query_client.py
index d2d04abb7d77..b555985d44aa 100644
--- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_logs_query_client.py
+++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_logs_query_client.py
@@ -60,8 +60,8 @@ def query(self, workspace_id, query, **kwargs):
:param workspace_id: ID of the workspace. This is Workspace ID from the Properties blade in the
Azure portal.
:type workspace_id: str
- :param query: The Analytics query. Learn more about the `Analytics query syntax
- `_.
+ :param query: The Kusto query. Learn more about the `Kusto query syntax
+ `_.
:type query: str
:keyword timespan: The timespan for which to query the data. This can be a timedelta,
a timedelta and a start datetime, or a start datetime/end datetime.
@@ -134,7 +134,7 @@ def query_batch(self, queries, **kwargs):
The response is returned in the same order as that of the requests sent.
- :param queries: The list of queries that should be processed
+ :param queries: The list of Kusto queries to execute.
:type queries: list[dict] or list[~azure.monitor.query.LogsBatchQuery]
:return: List of LogsQueryResult, or the result of cls(response)
:rtype: list[~azure.monitor.query.LogsQueryResult]
diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_logs_query_client_async.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_logs_query_client_async.py
index 19994423c947..090fcceb9ed8 100644
--- a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_logs_query_client_async.py
+++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_logs_query_client_async.py
@@ -55,8 +55,8 @@ async def query(
:param workspace_id: ID of the workspace. This is Workspace ID from the Properties blade in the
Azure portal.
:type workspace_id: str
- :param query: The Analytics query. Learn more about the `Analytics query syntax
- `_.
+ :param query: The Kusto query. Learn more about the `Kusto query syntax
+ `_.
:type query: str
:param timespan: The timespan for which to query the data. This can be a timedelta,
a timedelta and a start datetime, or a start datetime/end datetime.
@@ -69,7 +69,7 @@ async def query(
visualization options. By default, the API does not return information regarding the type of
visualization to show. If your client requires this information, specify the preference
:keyword additional_workspaces: A list of workspaces that are included in the query.
- These can be qualified workspace names, workspsce Ids or Azure resource Ids.
+ These can be qualified workspace names, workspace Ids or Azure resource Ids.
:paramtype additional_workspaces: list[str]
:return: QueryResults, or the result of cls(response)
:rtype: ~azure.monitor.query.LogsQueryResult
@@ -121,7 +121,7 @@ async def query_batch(
The response is returned in the same order as that of the requests sent.
- :param queries: The list of queries that should be processed
+ :param queries: The list of Kusto queries to execute.
:type queries: list[dict] or list[~azure.monitor.query.LogsBatchQuery]
:return: list of LogsQueryResult objects, or the result of cls(response)
:rtype: list[~azure.monitor.query.LogsQueryResult]