Client library for MonitorManagementClient
npm install --save @datafire/azure_monitor_metricnamespaces_api
let azure_monitor_metricnamespaces_api = require('@datafire/azure_monitor_metricnamespaces_api').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Lists the metric namespaces for the resource.
azure_monitor_metricnamespaces_api.MetricNamespaces_List({
"resourceUri": "",
"api-version": ""
}, context)
- input
object
- resourceUri required
string
: The identifier of the resource. - api-version required
string
: Client Api Version. - startTime
string
: The ISO 8601 conform Date start time from which to query for metric namespaces.
- resourceUri required
- output MetricNamespaceCollection
- ErrorResponse
object
: Describes the format of Error response.- code
string
: Error code - message
string
: Error message indicating why the operation failed.
- code
- MetricNamespace
object
: Metric namespace class specifies the metadata for a metric namespace.- id
string
: The ID of the metricNamespace. - name
string
: The name of the namespace. - properties MetricNamespaceName
- type
string
: The type of the namespace.
- id
- MetricNamespaceCollection
object
: Represents collection of metric namespaces.- value required
array
: The values for the metric namespaces.- items MetricNamespace
- value required
- MetricNamespaceName
object
: The fully qualified metric namespace name.- metricNamespaceName
string
: The metric namespace name.
- metricNamespaceName