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

com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStandbyPolicy.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.compute.kotlin.outputs

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

/**
 *
 * @property initialDelaySec Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
 * @property mode Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
 */
public data class GetInstanceGroupManagerStandbyPolicy(
    public val initialDelaySec: Int,
    public val mode: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceGroupManagerStandbyPolicy): GetInstanceGroupManagerStandbyPolicy = GetInstanceGroupManagerStandbyPolicy(
            initialDelaySec = javaType.initialDelaySec(),
            mode = javaType.mode(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy