| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.models |
Package containing the data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
MetricSettings |
MetricSettings.withCategory(String category)
Set the category property: Name of a Diagnostic Metric category for a resource type this setting is applied to.
|
MetricSettings |
MetricSettings.withEnabled(boolean enabled)
Set the enabled property: a value indicating whether this category is enabled.
|
MetricSettings |
MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for this category.
|
MetricSettings |
MetricSettings.withTimeGrain(Duration timeGrain)
Set the timeGrain property: the timegrain of the metric in ISO8601 format.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.