Skip to content
DocsTry Aspire
DocsTry

withCapacityParam

Method
📦 Aspire.Hosting.Kubernetes v13.5.1-preview.1.26420.4
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: