addJavaContainer
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addJavaContainer( name: string, image: string, tag?: string): JavaContainerResource;}Signature
method
addJavaContainer builderAdds a Java application that runs from an existing container image.
addJavaContainer( name: string, image: string, tag?: string): JavaContainerResourceParameters
namestringThe name of the resource.imagestringThe container image that runs the application, for example `mycompany/catalog`.tagstringoptionalThe image tag. Defaults to the image's `latest` tag.Returns
JavaContainerResource Applies to
This method applies to the following types: