ResourceClaimSpecPatchArgs

data class ResourceClaimSpecPatchArgs(val allocationMode: Output<String>? = null, val parametersRef: Output<ResourceClaimParametersReferencePatchArgs>? = null, val resourceClassName: Output<String>? = null) : ConvertibleToJava<ResourceClaimSpecPatchArgs>

ResourceClaimSpec defines how a resource is to be allocated.

Constructors

Link copied to clipboard
constructor(allocationMode: Output<String>? = null, parametersRef: Output<ResourceClaimParametersReferencePatchArgs>? = null, resourceClassName: Output<String>? = null)

Properties

Link copied to clipboard
val allocationMode: Output<String>? = null

Allocation can start immediately or when a Pod wants to use the resource. "WaitForFirstConsumer" is the default.

Link copied to clipboard

ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim. The object must be in the same namespace as the ResourceClaim.

Link copied to clipboard
val resourceClassName: Output<String>? = null

ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.

Functions

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