Watch Aspire live streamsDocsTry Aspire

withCapacityParam

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

Signature

methodwithCapacityParambuilder
Sets a parameterized storage capacity for a persistent volume
withCapacityParam(capacity: ParameterResource): KubernetesPersistentVolumeResource
capacityParameterResource
KubernetesPersistentVolumeResource

Applies to

This method applies to the following types: