metric_namespaces
Creates, updates, deletes, gets or lists a metric_namespaces resource.
Overview
| Name | metric_namespaces |
| Type | Resource |
| Id | azure.developer_loadtesting.metric_namespaces |
Fields
The following fields are returned by SELECT queries:
- get_metric_namespaces
| Name | Datatype | Description |
|---|---|---|
name | string | The metric namespace name. |
description | string | The namespace description. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_metric_namespaces | select | test_run_id, endpoint | List the metric namespaces for a load test run. List the metric namespaces for a load test run. |
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: ) |
test_run_id | string | Unique name for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. Required. |
SELECT examples
- get_metric_namespaces
List the metric namespaces for a load test run. List the metric namespaces for a load test run.
SELECT
name,
description
FROM azure.developer_loadtesting.metric_namespaces
WHERE test_run_id = '{{ test_run_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;