WithVolumeAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
func (KubernetesPersistentVolumeResource) WithVolumeAnnotationParam(
key string,
value ParameterResource,
) KubernetesPersistentVolumeResource

Signature

methodWithVolumeAnnotationParambuilder
Adds a parameterized Kubernetes metadata annotation to a persistent volume
WithVolumeAnnotationParam(
key string,
value ParameterResource,
) KubernetesPersistentVolumeResource
keystringThe annotation key.
valueParameterResourceA parameter resource builder for the annotation value.
KubernetesPersistentVolumeResource

The same builder for chaining.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: