Skip to content
DocsTry Aspire
DocsTry

withVolumeAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v13.5.1-preview.1.26420.4
interface KubernetesPersistentVolumeResource {
// ... omitted for brevity
withVolumeAnnotationParam(
key: string,
value: ParameterResource): KubernetesPersistentVolumeResource;
}

Signature

methodwithVolumeAnnotationParambuilder
Adds a parameterized Kubernetes metadata annotation to a persistent volume
withVolumeAnnotationParam(
key: string,
value: ParameterResource): KubernetesPersistentVolumeResource
keystring
valueParameterResource
KubernetesPersistentVolumeResource

Applies to

This method applies to the following types: