Uses of Class
com.microsoft.azure.management.monitor.RetentionPolicy
Packages that use RetentionPolicy
Package
Description
This package contains the classes for MonitorManagementClient.
-
Uses of RetentionPolicy in com.microsoft.azure.management.monitor
Methods in com.microsoft.azure.management.monitor that return RetentionPolicyModifier 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.Methods in com.microsoft.azure.management.monitor with parameters of type RetentionPolicyModifier 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.