MetricSettingsResponse

data class MetricSettingsResponse(val category: String? = null, val enabled: Boolean, val retentionPolicy: RetentionPolicyResponse? = null, val timeGrain: String? = null)

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

Constructors

Link copied to clipboard
constructor(category: String? = null, enabled: Boolean, retentionPolicy: RetentionPolicyResponse? = null, timeGrain: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val category: 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

a value indicating whether this category is enabled.

Link copied to clipboard

the retention policy for this category.

Link copied to clipboard
val timeGrain: String? = null

the timegrain of the metric in ISO8601 format.