MetricSettingsArgs

data class MetricSettingsArgs(val category: Output<String>? = null, val enabled: Output<Boolean>, val retentionPolicy: Output<RetentionPolicyArgs>? = null, val timeGrain: Output<String>? = null) : ConvertibleToJava<MetricSettingsArgs>

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.

Constructors

Link copied to clipboard
constructor(category: Output<String>? = null, enabled: Output<Boolean>, retentionPolicy: Output<RetentionPolicyArgs>? = null, timeGrain: Output<String>? = null)

Properties

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

Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.

Link copied to clipboard
val enabled: Output<Boolean>

a value indicating whether this category is enabled.

Link copied to clipboard

the retention policy for this category.

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

the timegrain of the metric in ISO8601 format.

Functions

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