ResourceClaimSpecArgs

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

ResourceClaimSpec defines how a resource is to be allocated.

Constructors

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

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

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(): ResourceClaimSpecArgs