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

com.pulumi.gcp.compute.kotlin.outputs.NodeTemplateServerBinding.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.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property type Type of server binding policy. If `RESTART_NODE_ON_ANY_SERVER`,
 * nodes using this template will restart on any physical server
 * following a maintenance event.
 * If `RESTART_NODE_ON_MINIMAL_SERVER`, nodes using this template
 * will restart on the same physical server following a maintenance
 * event, instead of being live migrated to or restarted on a new
 * physical server. This option may be useful if you are using
 * software licenses tied to the underlying server characteristics
 * such as physical sockets or cores, to avoid the need for
 * additional licenses when maintenance occurs. However, VMs on such
 * nodes will experience outages while maintenance is applied.
 * Possible values are: `RESTART_NODE_ON_ANY_SERVER`, `RESTART_NODE_ON_MINIMAL_SERVERS`.
 */
public data class NodeTemplateServerBinding(
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.NodeTemplateServerBinding): NodeTemplateServerBinding = NodeTemplateServerBinding(
            type = javaType.type(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy