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

com.pulumi.gcp.apigee.kotlin.outputs.EnvironmentNodeConfig.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apigee.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property currentAggregateNodeCount (Output)
 * The current total number of gateway nodes that each environment currently has across
 * all instances.
 * @property maxNodeCount The maximum total number of gateway nodes that the is reserved for all instances that
 * has the specified environment. If not specified, the default is determined by the
 * recommended maximum number of nodes for that gateway.
 * @property minNodeCount The minimum total number of gateway nodes that the is reserved for all instances that
 * has the specified environment. If not specified, the default is determined by the
 * recommended minimum number of nodes for that gateway.
 */
public data class EnvironmentNodeConfig(
    public val currentAggregateNodeCount: String? = null,
    public val maxNodeCount: String? = null,
    public val minNodeCount: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.apigee.outputs.EnvironmentNodeConfig): EnvironmentNodeConfig = EnvironmentNodeConfig(
            currentAggregateNodeCount = javaType.currentAggregateNodeCount().map({ args0 ->
                args0
            }).orElse(null),
            maxNodeCount = javaType.maxNodeCount().map({ args0 -> args0 }).orElse(null),
            minNodeCount = javaType.minNodeCount().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy