ContainerServiceDeploymentVersionContainer class

Constructors

ContainerServiceDeploymentVersionContainer({Input<List<String>?>? commands, required Input<String> containerName, Input<Map<String, String>?>? environment, required Input<String> image, Input<Map<String, String>?>? ports})
Creates a new ContainerServiceDeploymentVersionContainer. commands Launch command for the container. A list of strings. containerName Name of the container. environment Key-value map of the environment variables of the container. image Name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx. ports Key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.
const
ContainerServiceDeploymentVersionContainer.fromMap(Map<String, dynamic> map)
factory

Properties

commands → Input<List<String>?>?
Launch command for the container. A list of strings.
final
containerName → Input<String>
Name of the container.
final
environment → Input<Map<String, String>?>?
Key-value map of the environment variables of the container.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<String>
Name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.
final
ports → Input<Map<String, String>?>?
Key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited