Uses of Class
com.azure.resourcemanager.monitor.models.RetentionPolicy
Packages that use RetentionPolicy
Package
Description
Package containing the inner data models for MonitorClient.
Package containing the data models for MonitorClient.
-
Uses of RetentionPolicy in com.azure.resourcemanager.monitor.fluent.models
Methods in com.azure.resourcemanager.monitor.fluent.models that return RetentionPolicyModifier and TypeMethodDescriptionLogProfileProperties.retentionPolicy()Get the retentionPolicy property: the retention policy for the events in the log.LogProfileResourceInner.retentionPolicy()Get the retentionPolicy property: the retention policy for the events in the log.Methods in com.azure.resourcemanager.monitor.fluent.models with parameters of type RetentionPolicyModifier and TypeMethodDescriptionLogProfileProperties.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy for the events in the log.LogProfileResourceInner.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy for the events in the log. -
Uses of RetentionPolicy in com.azure.resourcemanager.monitor.models
Classes in com.azure.resourcemanager.monitor.models that implement interfaces with type arguments of type RetentionPolicyModifier and TypeClassDescriptionfinal classSpecifies the retention policy for the log.Methods in com.azure.resourcemanager.monitor.models that return RetentionPolicyModifier and TypeMethodDescriptionstatic RetentionPolicyRetentionPolicy.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RetentionPolicy from the JsonReader.LogProfileResourcePatch.retentionPolicy()Get the retentionPolicy property: the retention policy for the events in the log.LogSettings.retentionPolicy()Get the retentionPolicy property: the retention policy for this log.MetricSettings.retentionPolicy()Get the retentionPolicy property: the retention policy for this category.RetentionPolicy.withDays(int days) Set the days property: the number of days for the retention in days.RetentionPolicy.withEnabled(boolean enabled) Set the enabled property: a value indicating whether the retention policy is enabled.Methods in com.azure.resourcemanager.monitor.models with parameters of type RetentionPolicyModifier and TypeMethodDescriptionLogProfileResourcePatch.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy for the events in the log.LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy for this log.MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy for this category.