withServiceReference
Function
interface ContainerResource { // ... omitted for brevity withServiceReference(source: IResourceWithServiceDiscovery): IResourceWithEnvironment;}Signature
method
withServiceReference builder Adds a service discovery reference to another resource
withServiceReference(source: IResourceWithServiceDiscovery): IResourceWithEnvironmentParameters
source IResourceWithServiceDiscovery Returns
IResourceWithEnvironment Applies to
This function is an extension method on the following types: