Package | Description |
---|---|
com.microsoft.azure.management.monitor |
This package contains the classes for MonitorManagementClient.
|
Modifier and Type | Method and Description |
---|---|
LogSettings |
LogSettings.withCategory(String category)
Set name of a Diagnostic Log category for a resource type this setting is applied to.
|
LogSettings |
LogSettings.withEnabled(boolean enabled)
Set a value indicating whether this log is enabled.
|
LogSettings |
LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retention policy for this log.
|
Modifier and Type | Method and Description |
---|---|
List<LogSettings> |
DiagnosticSetting.logs()
Get the logs value.
|
Copyright © 2019. All rights reserved.