Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

JavaContainerResource Constructors

ClassConstructors1 member
Represents a Java application that runs from a prebuilt container image.
Represents a Java application that runs from a prebuilt container image.
public class JavaContainerResource
{
public JavaContainerResource(
string name,
string? entrypoint = null)
{
// ...
}
}
namestringThe name of the resource in the application model.
entrypointstring?optionalAn optional entrypoint that replaces the image's own.