withSerializedAnnotation
Method
interface ContainerResource { // ... omitted for brevity withSerializedAnnotation( annotationId: string, json: string): IResource;}Signature
method
withSerializedAnnotation Stores a serialized ATS annotation payload on a resource, replacing any existing annotation with the same ID.
withSerializedAnnotation( annotationId: string, json: string): IResourceParameters
annotationId stringThe stable annotation identifier.jsonstringThe serialized JSON payload.Returns
IResource Applies to
This method applies to the following types: