Skip to main content

metric_dimension_values

Creates, updates, deletes, gets or lists a metric_dimension_values resource.

Overview​

Namemetric_dimension_values
TypeResource
Idazure.developer_loadtesting.metric_dimension_values

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
valuestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_metric_dimension_valuesselecttest_run_id, name, metricname, metricNamespace, timespan, endpointintervalList 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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
metricNamespacestringMetric namespace to query metric definitions for. Required.
metricnamestringMetric name. Required.
namestringDimension name. Required.
test_run_idstringUnique name for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. Required.
timespanstringThe timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. Required.
intervalstringThe interval (i.e. timegrain) of the query. Known values are: "PT5S", "PT10S", "PT1M", "PT5M", and "PT1H". Default value is None.

SELECT examples​

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 }}'
;