withReference
Method
interface ContainerResource { // ... omitted for brevity withReference( source: EndpointReference|string|uri, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironment;}Signature
method
withReferencebuilderAdds a reference to another resource
withReference( source: EndpointReference|string|uri, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironmentParameters
sourceEndpointReference|string|uriconnectionNamestringoptionaloptionalbooleanoptional= FalsenamestringoptionalReturns
IResourceWithEnvironmentApplies to
This method applies to the following types: