Skip to content
DocsTry Aspire
DocsTry

KubernetesPersistentVolumeResource.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

Defined on

This method is defined on the following type: