IResourceWithEnvironment.withReference
Method
interface IResourceWithEnvironment { // ... 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
IResourceWithEnvironmentDefined on
This method is defined on the following type: