withVolumeAnnotation
Method
interface KubernetesPersistentVolumeResource { // ... omitted for brevity withVolumeAnnotation( key: string, value: string): KubernetesPersistentVolumeResource;}Signature
method
withVolumeAnnotation builderAdds a Kubernetes metadata annotation to a persistent volume
withVolumeAnnotation( key: string, value: string): KubernetesPersistentVolumeResourceParameters
keystringvaluestringReturns
KubernetesPersistentVolumeResource Applies to
This method applies to the following types: