WithSerializedAnnotation
Method
func (Resource) WithSerializedAnnotation( annotationId string, json string,) ResourceSignature
method
WithSerializedAnnotation Stores a serialized ATS annotation payload on a resource, replacing any existing annotation with the same ID.
WithSerializedAnnotation( annotationId string, json string,) ResourceParameters
annotationId stringThe stable annotation identifier.jsonstringThe serialized JSON payload.Returns
ResourceThe resource.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: