| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.models |
Package containing the data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
LogSettings |
LogSettings.withCategory(String category)
Set the category property: Name of a Diagnostic Log category for a resource type this setting is applied to.
|
LogSettings |
LogSettings.withEnabled(boolean enabled)
Set the enabled property: a value indicating whether this log is enabled.
|
LogSettings |
LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for this log.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.