QueryStatistic Class
Represents a Query Statistic.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.rdbms.mysql.models._models_py3.ProxyResourceQueryStatistic
Constructor
QueryStatistic(*, query_id: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, aggregation_function: Optional[str] = None, database_names: Optional[List[str]] = None, query_execution_count: Optional[int] = None, metric_name: Optional[str] = None, metric_display_name: Optional[str] = None, metric_value: Optional[float] = None, metric_value_unit: Optional[str] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- query_id
- str
Database query identifier.
- start_time
- datetime
Observation start time.
- end_time
- datetime
Observation end time.
- aggregation_function
- str
Aggregation function name.
- query_execution_count
- <xref:long>
Number of query executions in this time interval.
- metric_name
- str
Metric name.
- metric_display_name
- str
Metric display name.
- metric_value
- float
Metric value.
- metric_value_unit
- str
Metric value unit.
Feedback
Submit and view feedback for