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:

NameDatatypeDescription
idstringThe ID of the metric namespace.
namestringThe escaped name of the namespace.
classificationstringKind of namespace. Known values are: "Platform", "Custom", and "Qos". (Platform, Custom, Qos)
metricNamespaceNamestringThe metric namespace name.
typestringThe type of the namespace.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_uristartTimeLists 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
resource_uristringThe identifier of the resource. Required.
startTimestringThe ISO 8601 conform Date start time from which to query for metric namespaces. Default value is None.

SELECT examples

Lists the metric namespaces for the resource.

SELECT
id,
name,
classification,
metricNamespaceName,
type
FROM azure.monitor.metric_namespaces
WHERE resource_uri = '{{ resource_uri }}' -- required
AND startTime = '{{ startTime }}'
;