Uses of Class
com.microsoft.azure.management.monitor.RetentionPolicy
Package
Description
This package contains the classes for MonitorManagementClient.
-
Uses of RetentionPolicy in com.microsoft.azure.management.monitor
Modifier and TypeMethodDescriptionLogProfileResourcePatch.retentionPolicy()
Get the retention policy for the events in the log.LogSettings.retentionPolicy()
Get the retention policy for this log.MetricSettings.retentionPolicy()
Get the retention policy for this category.RetentionPolicy.withDays
(int days) Set the number of days for the retention in days.RetentionPolicy.withEnabled
(boolean enabled) Set a value indicating whether the retention policy is enabled.Modifier and TypeMethodDescriptionLogProfileResourcePatch.withRetentionPolicy
(RetentionPolicy retentionPolicy) Set the retention policy for the events in the log.LogSettings.withRetentionPolicy
(RetentionPolicy retentionPolicy) Set the retention policy for this log.MetricSettings.withRetentionPolicy
(RetentionPolicy retentionPolicy) Set the retention policy for this category.