Skip to content
Docs Try Aspire

JavaAppContainerResourceOptions Properties

Class Properties 7 members
This represents the options entity for configuring a Java application running in a container.
Args Section titled Args nullable string[]?
Gets or sets the arguments to pass to the Java application.
public string[]? Args { get; set; }
ContainerImageName Section titled ContainerImageName nullable string?
Gets or sets the container image name.
public string? ContainerImageName { get; set; }
ContainerImageTag Section titled ContainerImageTag string
Gets or sets the container image tag. Default is latest.
public string ContainerImageTag { get; set; }
ContainerRegistry Section titled ContainerRegistry nullable string?
Gets or sets the container registry. Default is docker.io.
public string? ContainerRegistry { get; set; }
OtelAgentPath Section titled OtelAgentPath nullable string?
Gets or sets the OpenTelemetry Java Agent path.
public string? OtelAgentPath { get; set; }
Gets or sets the port number. Default is 8080.
public int Port { get; set; }
Gets or sets the target port number. Default is 8080.
public int TargetPort { get; set; }