com.pulumi.kubernetes.resource.v1beta1.kotlin.outputs.ResourceClaimSpecPatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.resource.v1beta1.kotlin.outputs
import kotlin.Suppress
/**
* ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
* @property devices Devices defines how to request devices.
*/
public data class ResourceClaimSpecPatch(
public val devices: DeviceClaimPatch? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1beta1.outputs.ResourceClaimSpecPatch): ResourceClaimSpecPatch = ResourceClaimSpecPatch(
devices = javaType.devices().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.resource.v1beta1.kotlin.outputs.DeviceClaimPatch.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy