Watch Aspire live streamsDocsTry Aspire

KubernetesPersistentVolumeResource.withCapacity

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
interface KubernetesPersistentVolumeResource {
// ... omitted for brevity
withCapacity(capacity: string): KubernetesPersistentVolumeResource;
}

Signature

methodwithCapacitybuilder
Sets the requested storage capacity for a persistent volume
withCapacity(capacity: string): KubernetesPersistentVolumeResource
capacitystring
KubernetesPersistentVolumeResource

Defined on

This method is defined on the following type: