com.pulumi.gcp.notebooks.kotlin.outputs.InstanceReservationAffinity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.notebooks.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property consumeReservationType The type of Compute Reservation.
* Possible values are: `NO_RESERVATION`, `ANY_RESERVATION`, `SPECIFIC_RESERVATION`.
* @property key Corresponds to the label key of reservation resource.
* @property values Corresponds to the label values of reservation resource.
*/
public data class InstanceReservationAffinity(
public val consumeReservationType: String,
public val key: String? = null,
public val values: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.notebooks.outputs.InstanceReservationAffinity): InstanceReservationAffinity = InstanceReservationAffinity(
consumeReservationType = javaType.consumeReservationType(),
key = javaType.key().map({ args0 -> args0 }).orElse(null),
values = javaType.values().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy