Skip to main content

metric_namespaces

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

Overview

Namemetric_namespaces
TypeResource
Idazure.monitor.metric_namespaces

Fields

The following fields are returned by SELECT queries:

Successful request to get the list of metric namespaces

NameDatatypeDescription
idstringThe ID of the metric namespace.
namestringThe escaped name of the namespace.
classificationstringKind of namespace
propertiesobjectProperties which include the fully qualified namespace name.
typestringThe type of the namespace.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceUristartTimeLists 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.

NameDatatypeDescription
resourceUristringThe identifier of the resource.
startTimestringThe ISO 8601 conform Date start time from which to query for metric namespaces.

SELECT examples

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