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