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

com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.StandardSchedulerSettingsResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.appengine.v1beta.kotlin.outputs

import kotlin.Double
import kotlin.Int
import kotlin.Suppress

/**
 * Scheduler settings for standard environment.
 * @property maxInstances Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
 * @property minInstances Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
 * @property targetCpuUtilization Target CPU utilization ratio to maintain when scaling.
 * @property targetThroughputUtilization Target throughput utilization ratio to maintain when scaling
 */
public data class StandardSchedulerSettingsResponse(
    public val maxInstances: Int,
    public val minInstances: Int,
    public val targetCpuUtilization: Double,
    public val targetThroughputUtilization: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.appengine.v1beta.outputs.StandardSchedulerSettingsResponse): StandardSchedulerSettingsResponse = StandardSchedulerSettingsResponse(
            maxInstances = javaType.maxInstances(),
            minInstances = javaType.minInstances(),
            targetCpuUtilization = javaType.targetCpuUtilization(),
            targetThroughputUtilization = javaType.targetThroughputUtilization(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy