withCapacity
Method
interface KubernetesPersistentVolumeResource { // ... omitted for brevity withCapacity(capacity: string): KubernetesPersistentVolumeResource;}Signature
method
withCapacity builderSets the requested storage capacity for a persistent volume
withCapacity(capacity: string): KubernetesPersistentVolumeResourceParameters
capacitystringA Kubernetes quantity string (e.g. `"10Gi"`, `"500Mi"`).Returns
KubernetesPersistentVolumeResource Applies to
This method applies to the following types: