AzureMetricQueryBuilder🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
aggregation🔗
The aggregation to be used within the query. Defaults to the primaryAggregationType defined by the metric.
alias🔗
Aliases can be set to modify the legend labels. e.g. {{ resourceGroup }}. See docs for more detail.
allowedTimeGrainsMs🔗
Time grains that are supported by the metric.
customNamespace🔗
Used as the value for the metricNamespace property when it's different from the resource namespace.
dimension🔗
@deprecated This property was migrated to dimensionFilters and should only be accessed in the migration
dimensionFilter🔗
@deprecated This property was migrated to dimensionFilters and should only be accessed in the migration
dimensionFilters🔗
Filters to reduce the set of data returned. Dimensions that can be filtered on are defined by the metric.
metricDefinition🔗
@deprecated Use metricNamespace instead
metricName🔗
The metric to query data for within the specified metricNamespace. e.g. UsedCapacity
metricNamespace🔗
metricNamespace is used as the resource type (or resource namespace).
It's usually equal to the target metric namespace. e.g. microsoft.storage/storageaccounts
Kept the name of the variable as metricNamespace to avoid backward incompatibility issues.
region🔗
The Azure region containing the resource(s).
resourceGroup🔗
@deprecated Use resources instead
resourceName🔗
@deprecated Use resources instead
resourceUri🔗
@deprecated Use resourceGroup, resourceName and metricNamespace instead
resources🔗
Array of resource URIs to be queried.
timeGrain🔗
The granularity of data points to be queried. Defaults to auto.
timeGrainUnit🔗
@deprecated
top🔗
Maximum number of records to return. Defaults to 10.