Resource.HasSerializedAnnotation

Method
📦 Aspire.Hosting v17.0.0
func (Resource) HasSerializedAnnotation(annotationId string) (bool, error)

Signature

methodHasSerializedAnnotation
Determines whether a resource has a serialized ATS annotation with the specified ID.
HasSerializedAnnotation(annotationId string) (bool, error)
annotationIdstringThe stable annotation identifier.
(bool, error)

true if the annotation exists; otherwise, false.

Returns (bool, error).

Defined on

A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.

Applies to

This function applies to the following types: