com.pulumi.gcp.edgecontainer.kotlin.outputs.ClusterControlPlaneLocal.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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