Skip to content

Commit f64daef

Browse files
authored
Fix Monitor Query SDK typos (Azure#19980)
1 parent 8228131 commit f64daef

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

sdk/monitor/azure-monitor-query/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Features Added
66

7-
- Added enum `AggragationType` which can be used to specify aggregations in the query API.
7+
- Added enum `AggregationType` which can be used to specify aggregations in the query API.
88

99
### Breaking Changes
1010

sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def query(self, workspace_id, query, duration=None, **kwargs):
7878
By default, the API does not return information regarding the type of visualization to show.
7979
If your client requires this information, specify the preference
8080
:keyword additional_workspaces: A list of workspaces that are included in the query.
81-
These can be qualified workspace names, workspsce Ids or Azure resource Ids.
81+
These can be qualified workspace names, workspace Ids, or Azure resource Ids.
8282
:paramtype additional_workspaces: list[str]
8383
:return: QueryResults, or the result of cls(response)
8484
:rtype: ~azure.monitor.query.LogsQueryResults

sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ class MetricsResult(object):
106106
:keyword cost: The integer value representing the cost of the query, for data case.
107107
:paramtype cost: int
108108
:keyword timespan: Required. The timespan for which the data was retrieved. Its value consists of
109-
two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned
109+
two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned
110110
back from what was originally requested.
111111
:paramtype timespan: str
112-
:keyword interval: The interval (window size) for which the metric data was returned in. This
113-
may be adjusted in the future and returned back from what was originally requested. This is
112+
:keyword interval: The interval (window size) for which the metric data was returned in. This
113+
may be adjusted in the future and returned back from what was originally requested. This is
114114
not present if a metadata request was made.
115115
:paramtype interval: ~datetime.timedelta
116116
:keyword namespace: The namespace of the metrics been queried.
@@ -160,7 +160,7 @@ class LogsQueryRequest(InternalLogQueryRequest):
160160
:keyword datetime end_time: The end time till which to query the data. This should be accompanied
161161
with either start_time or duration.
162162
:keyword additional_workspaces: A list of workspaces that are included in the query.
163-
These can be qualified workspace names, workspsce Ids or Azure resource Ids.
163+
These can be qualified workspace names, workspace Ids, or Azure resource Ids.
164164
:paramtype additional_workspaces: list[str]
165165
:keyword request_id: The error details.
166166
:paramtype request_id: str
@@ -524,7 +524,7 @@ class MetricAvailability(object):
524524
:keyword time_grain: the time grain specifies the aggregation interval for the metric. Expressed
525525
as a duration 'PT1M', 'P1D', etc.
526526
:paramtype time_grain: ~datetime.timedelta
527-
:keyword retention: the retention period for the metric at the specified timegrain. Expressed as
527+
:keyword retention: the retention period for the metric at the specified timegrain. Expressed as
528528
a duration 'PT1M', 'P1D', etc.
529529
:paramtype retention: ~datetime.timedelta
530530
"""

0 commit comments

Comments
 (0)