metric_dimension_values
Creates, updates, deletes, gets or lists a metric_dimension_values resource.
Overview
| Name | metric_dimension_values |
| Type | Resource |
| Id | azure.developer_loadtesting.metric_dimension_values |
Fields
The following fields are returned by SELECT queries:
- list_metric_dimension_values
| Name | Datatype | Description |
|---|---|---|
value | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_metric_dimension_values | select | test_run_id, name, metricname, metricNamespace, timespan, endpoint | interval | List the dimension values for the given metric dimension name. List the dimension values for the given metric dimension name. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
metricNamespace | string | Metric namespace to query metric definitions for. Required. |
metricname | string | Metric name. Required. |
name | string | Dimension name. Required. |
test_run_id | string | Unique name for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. Required. |
timespan | string | The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. Required. |
interval | string | The interval (i.e. timegrain) of the query. Known values are: "PT5S", "PT10S", "PT1M", "PT5M", and "PT1H". Default value is None. |
SELECT examples
- list_metric_dimension_values
List the dimension values for the given metric dimension name. List the dimension values for the given metric dimension name.
SELECT
value
FROM azure.developer_loadtesting.metric_dimension_values
WHERE test_run_id = '{{ test_run_id }}' -- required
AND name = '{{ name }}' -- required
AND metricname = '{{ metricname }}' -- required
AND metricNamespace = '{{ metricNamespace }}' -- required
AND timespan = '{{ timespan }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND interval = '{{ interval }}'
;