Package | Description |
---|---|
com.microsoft.azure.management.monitor |
This package contains the classes for MonitorManagementClient.
|
Modifier and Type | Method and Description |
---|---|
RetentionPolicy |
LogProfileResourcePatch.retentionPolicy()
Get the retention policy for the events in the log.
|
RetentionPolicy |
LogSettings.retentionPolicy()
Get the retention policy for this log.
|
RetentionPolicy |
MetricSettings.retentionPolicy()
Get the retention policy for this category.
|
RetentionPolicy |
RetentionPolicy.withDays(int days)
Set the number of days for the retention in days.
|
RetentionPolicy |
RetentionPolicy.withEnabled(boolean enabled)
Set a value indicating whether the retention policy is enabled.
|
Modifier and Type | Method and Description |
---|---|
LogProfileResourcePatch |
LogProfileResourcePatch.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retention policy for the events in the log.
|
LogSettings |
LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retention policy for this log.
|
MetricSettings |
MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retention policy for this category.
|
Copyright © 2019. All rights reserved.