KubernetesPersistentVolumeResource.WithVolumeAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
type KubernetesPersistentVolumeResource interface {
// ... 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
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().

Defined on

This method is defined on the following type: