IResourceWithEnvironment.withReference
Method
interface IResourceWithEnvironment { // ... omitted for brevity withReference( source: IResource | EndpointReference | string | uri, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironment;}Signature
method
withReferencebuilderAdds a reference to another resource
withReference( source: IResource | EndpointReference | string | uri, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironmentParameters
sourceIResource | EndpointReference | string | uriconnectionNamestringoptionaloptionalbooleanoptional= FalsenamestringoptionalReturns
IResourceWithEnvironmentDefined on
This method is defined on the following type: