Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/monitor/azure-monitor-query/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Features Added

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

### Breaking Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def query(self, workspace_id, query, duration=None, **kwargs):
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.LogsQueryResults
Expand Down
10 changes: 5 additions & 5 deletions sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ class MetricsResult(object):
:keyword cost: The integer value representing the cost of the query, for data case.
:paramtype cost: int
:keyword timespan: Required. The timespan for which the data was retrieved. Its value consists of
two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned
two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned
back from what was originally requested.
:paramtype timespan: str
:keyword interval: The interval (window size) for which the metric data was returned in. This
may be adjusted in the future and returned back from what was originally requested. This is
:keyword interval: The interval (window size) for which the metric data was returned in. This
may be adjusted in the future and returned back from what was originally requested. This is
not present if a metadata request was made.
:paramtype interval: ~datetime.timedelta
:keyword namespace: The namespace of the metrics been queried.
Expand Down Expand Up @@ -160,7 +160,7 @@ class LogsQueryRequest(InternalLogQueryRequest):
:keyword datetime end_time: The end time till which to query the data. This should be accompanied
with either start_time or duration.
: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]
:keyword request_id: The error details.
:paramtype request_id: str
Expand Down Expand Up @@ -524,7 +524,7 @@ class MetricAvailability(object):
:keyword time_grain: the time grain specifies the aggregation interval for the metric. Expressed
as a duration 'PT1M', 'P1D', etc.
:paramtype time_grain: ~datetime.timedelta
:keyword retention: the retention period for the metric at the specified timegrain. Expressed as
:keyword retention: the retention period for the metric at the specified timegrain. Expressed as
a duration 'PT1M', 'P1D', etc.
:paramtype retention: ~datetime.timedelta
"""
Expand Down