withEndpointsInEnvironment
Method
interface ProjectResource { // ... omitted for brevity withEndpointsInEnvironment(endpointNames: string[]): ProjectResource;}Signature
method
withEndpointsInEnvironmentbuilderIncludes only the specified project endpoint names in environment-variable injection.
withEndpointsInEnvironment(endpointNames: string[]): ProjectResourceParameters
endpointNamesstring[]Returns
ProjectResourceApplies to
This method applies to the following types: