ContainerGroupDefinitionContainerDefinitionArgs

data class ContainerGroupDefinitionContainerDefinitionArgs(val command: Output<List<String>>? = null, val containerName: Output<String>, val cpu: Output<Int>? = null, val dependsOn: Output<List<ContainerGroupDefinitionContainerDependencyArgs>>? = null, val entryPoint: Output<List<String>>? = null, val environment: Output<List<ContainerGroupDefinitionContainerEnvironmentArgs>>? = null, val essential: Output<Boolean>? = null, val healthCheck: Output<ContainerGroupDefinitionContainerHealthCheckArgs>? = null, val imageUri: Output<String>, val memoryLimits: Output<ContainerGroupDefinitionMemoryLimitsArgs>? = null, val portConfiguration: Output<ContainerGroupDefinitionPortConfigurationArgs>? = null, val resolvedImageDigest: Output<String>? = null, val workingDirectory: Output<String>? = null) : ConvertibleToJava<ContainerGroupDefinitionContainerDefinitionArgs>

Details about a container that is used in a container fleet

Constructors

constructor(command: Output<List<String>>? = null, containerName: Output<String>, cpu: Output<Int>? = null, dependsOn: Output<List<ContainerGroupDefinitionContainerDependencyArgs>>? = null, entryPoint: Output<List<String>>? = null, environment: Output<List<ContainerGroupDefinitionContainerEnvironmentArgs>>? = null, essential: Output<Boolean>? = null, healthCheck: Output<ContainerGroupDefinitionContainerHealthCheckArgs>? = null, imageUri: Output<String>, memoryLimits: Output<ContainerGroupDefinitionMemoryLimitsArgs>? = null, portConfiguration: Output<ContainerGroupDefinitionPortConfigurationArgs>? = null, resolvedImageDigest: Output<String>? = null, workingDirectory: Output<String>? = null)

Properties

Link copied to clipboard
val command: Output<List<String>>? = null

The command that's passed to the container.

Link copied to clipboard
val containerName: Output<String>

A descriptive label for the container definition. Container definition names must be unique with a container group definition.

Link copied to clipboard
val cpu: Output<Int>? = null

The maximum number of CPU units reserved for this container. The value is expressed as an integer amount of CPU units. 1 vCPU is equal to 1024 CPU units

Link copied to clipboard

A list of container dependencies that determines when this container starts up and shuts down. For container groups with multiple containers, dependencies let you define a startup/shutdown sequence across the containers.

Link copied to clipboard
val entryPoint: Output<List<String>>? = null

The entry point that's passed to the container so that it will run as an executable. If there are multiple arguments, each argument is a string in the array.

Link copied to clipboard

The environment variables to pass to a container.

Link copied to clipboard
val essential: Output<Boolean>? = null

Specifies if the container is essential. If an essential container fails a health check, then all containers in the container group will be restarted. You must specify exactly 1 essential container in a container group.

Link copied to clipboard

Specifies how the health of the containers will be checked.

Link copied to clipboard
val imageUri: Output<String>

Specifies the image URI of this container.

Link copied to clipboard

Specifies how much memory is available to the container. You must specify at least this parameter or the TotalMemoryLimit parameter of the ContainerGroupDefinition.

Link copied to clipboard

Defines the ports on the container.

Link copied to clipboard
val resolvedImageDigest: Output<String>? = null

The digest of the container image.

Link copied to clipboard
val workingDirectory: Output<String>? = null

The working directory to run commands inside the container in.

Functions

Link copied to clipboard
open override fun toJava(): ContainerGroupDefinitionContainerDefinitionArgs