com.pulumi.kubernetes.resource.v1alpha3.kotlin.outputs.DeviceRequestAllocationResult.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.v1alpha3.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* DeviceRequestAllocationResult contains the allocation result for one request.
* @property device Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
* @property driver Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
* Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
* @property pool This name together with the driver name and the device name field identify which device was allocated (`//`).
* Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
* @property request Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
*/
public data class DeviceRequestAllocationResult(
public val device: String,
public val driver: String,
public val pool: String,
public val request: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha3.outputs.DeviceRequestAllocationResult): DeviceRequestAllocationResult = DeviceRequestAllocationResult(
device = javaType.device(),
driver = javaType.driver(),
pool = javaType.pool(),
request = javaType.request(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy