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
capacitystringReturns
KubernetesPersistentVolumeResource Applies to
This method applies to the following types: