metric_namespaces
Creates, updates, deletes, gets or lists a metric_namespaces resource.
Overview
| Name | metric_namespaces |
| Type | Resource |
| Id | azure.monitor.metric_namespaces |
Fields
The following fields are returned by SELECT queries:
- list
Successful request to get the list of metric namespaces
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the metric namespace. |
name | string | The escaped name of the namespace. |
classification | string | Kind of namespace |
properties | object | Properties which include the fully qualified namespace name. |
type | string | The type of the namespace. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resourceUri | startTime | Lists the metric namespaces for the resource. |
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 |
|---|---|---|
resourceUri | string | The identifier of the resource. |
startTime | string | The ISO 8601 conform Date start time from which to query for metric namespaces. |
SELECT examples
- list
Lists the metric namespaces for the resource.
SELECT
id,
name,
classification,
properties,
type
FROM azure.monitor.metric_namespaces
WHERE resourceUri = '{{ resourceUri }}' -- required
AND startTime = '{{ startTime }}'
;