com.pulumi.gcp.compute.kotlin.outputs.RegionCommitmentLicenseResource.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property amount The number of licenses purchased.
* @property coresPerLicense Specifies the core range of the instance for which this license applies.
* @property license Any applicable license URI.
*/
public data class RegionCommitmentLicenseResource(
public val amount: String? = null,
public val coresPerLicense: String? = null,
public val license: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionCommitmentLicenseResource): RegionCommitmentLicenseResource = RegionCommitmentLicenseResource(
amount = javaType.amount().map({ args0 -> args0 }).orElse(null),
coresPerLicense = javaType.coresPerLicense().map({ args0 -> args0 }).orElse(null),
license = javaType.license(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy