withCapacity
Method
interface KubernetesPersistentVolumeResource { // ... omitted for brevity withCapacity(capacity: string): KubernetesPersistentVolumeResource;}Signature
method
withCapacitybuilderSets the requested storage capacity for a persistent volume
withCapacity(capacity: string): KubernetesPersistentVolumeResourceParameters
capacitystringReturns
KubernetesPersistentVolumeResourceApplies to
This method applies to the following types: