EdgeCacheServiceLogConfigArgs

data class EdgeCacheServiceLogConfigArgs(val enable: Output<Boolean>? = null, val sampleRate: Output<Double>? = null) : ConvertibleToJava<EdgeCacheServiceLogConfigArgs>

Constructors

Link copied to clipboard
constructor(enable: Output<Boolean>? = null, sampleRate: Output<Double>? = null)

Properties

Link copied to clipboard
val enable: Output<Boolean>? = null

Specifies whether to enable logging for traffic served by this service.

Link copied to clipboard
val sampleRate: Output<Double>? = null

Configures the sampling rate of requests, where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0, and the value of the field must be in 0, 1. This field can only be specified if logging is enabled for this service.

Functions

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