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

com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionAutomaticScalingNetworkUtilization.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.appengine.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property targetReceivedBytesPerSecond Target bytes received per second.
 * @property targetReceivedPacketsPerSecond Target packets received per second.
 * @property targetSentBytesPerSecond Target bytes sent per second.
 * @property targetSentPacketsPerSecond Target packets sent per second.
 */
public data class FlexibleAppVersionAutomaticScalingNetworkUtilization(
    public val targetReceivedBytesPerSecond: Int? = null,
    public val targetReceivedPacketsPerSecond: Int? = null,
    public val targetSentBytesPerSecond: Int? = null,
    public val targetSentPacketsPerSecond: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.FlexibleAppVersionAutomaticScalingNetworkUtilization): FlexibleAppVersionAutomaticScalingNetworkUtilization =
            FlexibleAppVersionAutomaticScalingNetworkUtilization(
                targetReceivedBytesPerSecond = javaType.targetReceivedBytesPerSecond().map({ args0 ->
                    args0
                }).orElse(null),
                targetReceivedPacketsPerSecond = javaType.targetReceivedPacketsPerSecond().map({ args0 ->
                    args0
                }).orElse(null),
                targetSentBytesPerSecond = javaType.targetSentBytesPerSecond().map({ args0 -> args0 }).orElse(null),
                targetSentPacketsPerSecond = javaType.targetSentPacketsPerSecond().map({ args0 ->
                    args0
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy