Class EdgeCacheServiceLogConfigArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceLogConfigArgs
-
public final class EdgeCacheServiceLogConfigArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EdgeCacheServiceLogConfigArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static EdgeCacheServiceLogConfigArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeCacheServiceLogConfigArgs.Builder
builder()
static EdgeCacheServiceLogConfigArgs.Builder
builder(EdgeCacheServiceLogConfigArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
enable()
java.util.Optional<com.pulumi.core.Output<java.lang.Double>>
sampleRate()
-
-
-
Field Detail
-
Empty
public static final EdgeCacheServiceLogConfigArgs Empty
-
-
Method Detail
-
enable
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enable()
- Returns:
- Specifies whether to enable logging for traffic served by this service.
-
sampleRate
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> sampleRate()
- Returns:
- 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.
-
builder
public static EdgeCacheServiceLogConfigArgs.Builder builder()
-
builder
public static EdgeCacheServiceLogConfigArgs.Builder builder(EdgeCacheServiceLogConfigArgs defaults)
-
-