All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.edgecontainer.kotlin.outputs.ClusterControlPlaneLocal.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.edgecontainer.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property machineFilter Only machines matching this filter will be allowed to host control
 * plane nodes. The filtering language accepts strings like "name=",
 * and is documented here: [AIP-160](https://google.aip.dev/160).
 * @property nodeCount The number of nodes to serve as replicas of the Control Plane.
 * Only 1 and 3 are supported.
 * @property nodeLocation Name of the Google Distributed Cloud Edge zones where this node pool
 * will be created. For example: `us-central1-edge-customer-a`.
 * @property sharedDeploymentPolicy Policy configuration about how user applications are deployed.
 * Possible values are: `SHARED_DEPLOYMENT_POLICY_UNSPECIFIED`, `ALLOWED`, `DISALLOWED`.
 */
public data class ClusterControlPlaneLocal(
    public val machineFilter: String? = null,
    public val nodeCount: Int? = null,
    public val nodeLocation: String? = null,
    public val sharedDeploymentPolicy: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.edgecontainer.outputs.ClusterControlPlaneLocal): ClusterControlPlaneLocal = ClusterControlPlaneLocal(
            machineFilter = javaType.machineFilter().map({ args0 -> args0 }).orElse(null),
            nodeCount = javaType.nodeCount().map({ args0 -> args0 }).orElse(null),
            nodeLocation = javaType.nodeLocation().map({ args0 -> args0 }).orElse(null),
            sharedDeploymentPolicy = javaType.sharedDeploymentPolicy().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy