| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.fluent.models |
Package containing the inner data models for MonitorClient.
|
| com.azure.resourcemanager.monitor.models |
Package containing the data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
RetentionPolicy |
LogProfileResourceInner.retentionPolicy()
Get the retentionPolicy property: the retention policy for the events in the log.
|
| Modifier and Type | Method and Description |
|---|---|
LogProfileResourceInner |
LogProfileResourceInner.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for the events in the log.
|
| Modifier and Type | Method and Description |
|---|---|
RetentionPolicy |
MetricSettings.retentionPolicy()
Get the retentionPolicy property: the retention policy for this category.
|
RetentionPolicy |
LogSettings.retentionPolicy()
Get the retentionPolicy property: the retention policy for this log.
|
RetentionPolicy |
LogProfileResourcePatch.retentionPolicy()
Get the retentionPolicy property: the retention policy for the events in the log.
|
RetentionPolicy |
RetentionPolicy.withDays(int days)
Set the days property: the number of days for the retention in days.
|
RetentionPolicy |
RetentionPolicy.withEnabled(boolean enabled)
Set the enabled property: a value indicating whether the retention policy is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
MetricSettings |
MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for this category.
|
LogSettings |
LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for this log.
|
LogProfileResourcePatch |
LogProfileResourcePatch.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for the events in the log.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.