IDistributedApplicationBuilder.addContainer
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addContainer( name: string, image: AddContainerOptions): ContainerResource;}Signature
method
addContainer builder Adds a container resource to the application.
addContainer( name: string, image: AddContainerOptions): ContainerResourceParameters
name string image AddContainerOptions Returns
ContainerResource Defined on
This method is defined on the following type: