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