In the outputs section, you specify what a StyleBook exposes to its users after it has completed creating all the configuration objects successfully. The outputs section of a StyleBook is optional. A StyleBook does not need to return outputs. However, by returning some internal components as outputs, it allows any StyleBooks that import it more flexibility as you can see when creating a composite StyleBook.
The following table describes the attributes used in the outputs section.
||The name of the output corresponding to the configuration object you want to expose.
||A text string describing the output.
||This attribute specifies how to extract the value that is returned by a StyleBook.
description: LBVServer component
description: ServiceGroup name
In this example, you expose the lbvserver component and the servicegroup name that would be created by the StyleBook. The value of the output called lbvserver is the component my-lbvserver-comp. Similarly, the value of the output called svc-grp is the name of the servicegroup created by the component my-svcg.