LogSettingsArgs

data class LogSettingsArgs(val category: Output<Either<String, Category>>? = null, val enabled: Output<Boolean>, val retentionPolicy: Output<RetentionPolicyArgs>? = null) : ConvertibleToJava<LogSettingsArgs>

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

Constructors

Link copied to clipboard
constructor(category: Output<Either<String, Category>>? = null, enabled: Output<Boolean>, retentionPolicy: Output<RetentionPolicyArgs>? = null)

Properties

Link copied to clipboard
val category: Output<Either<String, Category>>? = null

Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

Link copied to clipboard
val enabled: Output<Boolean>

A value indicating whether this log is enabled.

Link copied to clipboard

The retention policy for this log.

Functions

Link copied to clipboard
open override fun toJava(): LogSettingsArgs