DeviceClaimPatchArgs

data class DeviceClaimPatchArgs(val config: Output<List<DeviceClaimConfigurationPatchArgs>>? = null, val constraints: Output<List<DeviceConstraintPatchArgs>>? = null, val requests: Output<List<DeviceRequestPatchArgs>>? = null) : ConvertibleToJava<DeviceClaimPatchArgs>

DeviceClaim defines how to request devices with a ResourceClaim.

Constructors

Link copied to clipboard
constructor(config: Output<List<DeviceClaimConfigurationPatchArgs>>? = null, constraints: Output<List<DeviceConstraintPatchArgs>>? = null, requests: Output<List<DeviceRequestPatchArgs>>? = null)

Properties

Link copied to clipboard

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.

Link copied to clipboard

These constraints must be satisfied by the set of devices that get allocated for the claim.

Link copied to clipboard
val requests: Output<List<DeviceRequestPatchArgs>>? = null

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.

Functions

Link copied to clipboard
open override fun toJava(): DeviceClaimPatchArgs