Package | Description |
---|---|
com.microsoft.azure.management.monitor |
This package contains the classes for MonitorManagementClient.
|
Modifier and Type | Method and Description |
---|---|
MetricSettings |
MetricSettings.withCategory(String category)
Set name of a Diagnostic Metric category for a resource type this setting is applied to.
|
MetricSettings |
MetricSettings.withEnabled(boolean enabled)
Set a value indicating whether this category is enabled.
|
MetricSettings |
MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retention policy for this category.
|
MetricSettings |
MetricSettings.withTimeGrain(org.joda.time.Period timeGrain)
Set the timegrain of the metric in ISO8601 format.
|
Modifier and Type | Method and Description |
---|---|
List<MetricSettings> |
DiagnosticSetting.metrics()
Get the metrics value.
|
Copyright © 2019. All rights reserved.