Share via


ResourceAnnotationMutationBehavior Enum

Definition

Specifies behavior of the WithAnnotation<TAnnotation>(ResourceAnnotationMutationBehavior) method when adding an annotation to the Annotations collection of a resource.

public enum ResourceAnnotationMutationBehavior
type ResourceAnnotationMutationBehavior = 
Public Enum ResourceAnnotationMutationBehavior
Inheritance
ResourceAnnotationMutationBehavior

Fields

Append 0

Append the annotation to the collection. Existing annotations will be kept.

Replace 1

Replace the existing annotation. The existing annotation will be removed.

Applies to