Response Class
The response to a metrics query.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
Response
Constructor
Response(*, timespan: str, value: List[azure.mgmt.monitor.v2017_05_01_preview.models._models_py3.Metric], cost: Optional[int] = None, interval: Optional[datetime.timedelta] = None, **kwargs)
Variables
- cost
- int
The integer value representing the relative cost of the query.
- timespan
- str
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 back from what was originally requested.
- interval
- timedelta
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.
Feedback
Submit and view feedback for