hasSerializedAnnotation

Method
📦 Aspire.Hosting v17.0.0
interface ContainerResource {
// ... omitted for brevity
hasSerializedAnnotation(annotationId: string): boolean;
}

Signature

methodhasSerializedAnnotation
Determines whether a resource has a serialized ATS annotation with the specified ID.
hasSerializedAnnotation(annotationId: string): boolean
annotationIdstringThe stable annotation identifier.
boolean

Applies to

This method applies to the following types: