RuleMetricDataSourceArgs

data class RuleMetricDataSourceArgs(val legacyResourceId: Output<String>? = null, val metricName: Output<String>? = null, val metricNamespace: Output<String>? = null, val odataType: Output<String>, val resourceLocation: Output<String>? = null, val resourceUri: Output<String>? = null) : ConvertibleToJava<RuleMetricDataSourceArgs>

A rule metric data source. The discriminator value is always RuleMetricDataSource in this case.

Constructors

Link copied to clipboard
constructor(legacyResourceId: Output<String>? = null, metricName: Output<String>? = null, metricNamespace: Output<String>? = null, odataType: Output<String>, resourceLocation: Output<String>? = null, resourceUri: Output<String>? = null)

Properties

Link copied to clipboard
val legacyResourceId: Output<String>? = null

the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

Link copied to clipboard
val metricName: Output<String>? = null

the name of the metric that defines what the rule monitors.

Link copied to clipboard
val metricNamespace: Output<String>? = null

the namespace of the metric.

Link copied to clipboard
val odataType: Output<String>

specifies the type of data source. There are two types of rule data sources: RuleMetricDataSource and RuleManagementEventDataSource Expected value is 'Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource'.

Link copied to clipboard
val resourceLocation: Output<String>? = null

the location of the resource.

Link copied to clipboard
val resourceUri: Output<String>? = null

the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

Functions

Link copied to clipboard
open override fun toJava(): RuleMetricDataSourceArgs