com.pulumi.kubernetes.resource.v1alpha3.kotlin.outputs.DeviceAllocationResultPatch.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.resource.v1alpha3.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* DeviceAllocationResult is the result of allocating devices.
* @property config This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
* This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
* @property results Results lists all allocated devices.
*/
public data class DeviceAllocationResultPatch(
public val config: List? = null,
public val results: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha3.outputs.DeviceAllocationResultPatch): DeviceAllocationResultPatch = DeviceAllocationResultPatch(
config = javaType.config().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.resource.v1alpha3.kotlin.outputs.DeviceAllocationConfigurationPatch.Companion.toKotlin(args0)
})
}),
results = javaType.results().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.resource.v1alpha3.kotlin.outputs.DeviceRequestAllocationResultPatch.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy