Uses of Class
com.azure.resourcemanager.monitor.models.MetricSettings
Packages that use MetricSettings
Package
Description
Package containing the inner data models for MonitorClient.
Package containing the data models for MonitorClient.
-
Uses of MetricSettings in com.azure.resourcemanager.monitor.fluent.models
Methods in com.azure.resourcemanager.monitor.fluent.models that return types with arguments of type MetricSettingsModifier and TypeMethodDescriptionDiagnosticSettings.metrics()Get the metrics property: The list of metric settings.DiagnosticSettingsResourceInner.metrics()Get the metrics property: The list of metric settings.Method parameters in com.azure.resourcemanager.monitor.fluent.models with type arguments of type MetricSettingsModifier and TypeMethodDescriptionDiagnosticSettings.withMetrics(List<MetricSettings> metrics) Set the metrics property: The list of metric settings.DiagnosticSettingsResourceInner.withMetrics(List<MetricSettings> metrics) Set the metrics property: The list of metric settings. -
Uses of MetricSettings in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return MetricSettingsModifier and TypeMethodDescriptionstatic MetricSettingsMetricSettings.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MetricSettings from the JsonReader.MetricSettings.withCategory(String category) Set the category property: Name of a Diagnostic Metric category for a resource type this setting is applied to.MetricSettings.withEnabled(boolean enabled) Set the enabled property: a value indicating whether this category is enabled.MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy for this category.MetricSettings.withTimeGrain(Duration timeGrain) Set the timeGrain property: the timegrain of the metric in ISO8601 format.Methods in com.azure.resourcemanager.monitor.models that return types with arguments of type MetricSettings