MetricSettings interface

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

Properties

category

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.

enabled

a value indicating whether this category is enabled.

retentionPolicy

the retention policy for this category.

timeGrain

the timegrain of the metric in ISO8601 format.

Property Details

category

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.

category?: string

Property Value

string

enabled

a value indicating whether this category is enabled.

enabled: boolean

Property Value

boolean

retentionPolicy

the retention policy for this category.

retentionPolicy?: RetentionPolicy

Property Value

timeGrain

the timegrain of the metric in ISO8601 format.

timeGrain?: string

Property Value

string