withEnvironment
Function
interface ContainerResource { // ... omitted for brevity withEnvironment( name: string, value: IResourceWithConnectionString): IResourceWithEnvironment;}Signature
method
withEnvironment builder Sets an environment variable on the resource
withEnvironment( name: string, value: IResourceWithConnectionString): IResourceWithEnvironmentParameters
name string value IResourceWithConnectionString Returns
IResourceWithEnvironment Applies to
This function is an extension method on the following types: