Watch Aspire live streamsDocsTry Aspire

KubernetesPersistentVolumeResource.withVolumeAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
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

Defined on

This method is defined on the following type: