@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.926Z") @Stability(value=Stable) public enum ClusterLoggingTypes extends Enum<ClusterLoggingTypes>
Example:
Cluster cluster = Cluster.Builder.create(this, "Cluster")
// ...
.version(KubernetesVersion.V1_21)
.clusterLogging(List.of(ClusterLoggingTypes.API, ClusterLoggingTypes.AUTHENTICATOR, ClusterLoggingTypes.SCHEDULER))
.build();
| Enum Constant and Description |
|---|
API
Logs pertaining to API requests to the cluster.
|
AUDIT
Logs pertaining to cluster access via the Kubernetes API.
|
AUTHENTICATOR
Logs pertaining to authentication requests into the cluster.
|
CONTROLLER_MANAGER
Logs pertaining to state of cluster controllers.
|
SCHEDULER
Logs pertaining to scheduling decisions.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterLoggingTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLoggingTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ClusterLoggingTypes API
@Stability(value=Stable) public static final ClusterLoggingTypes AUDIT
@Stability(value=Stable) public static final ClusterLoggingTypes AUTHENTICATOR
@Stability(value=Stable) public static final ClusterLoggingTypes CONTROLLER_MANAGER
@Stability(value=Stable) public static final ClusterLoggingTypes SCHEDULER
public static ClusterLoggingTypes[] values()
for (ClusterLoggingTypes c : ClusterLoggingTypes.values()) System.out.println(c);
public static ClusterLoggingTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.