Class ContainerStartedEvent (0.7.2)

ContainerStartedEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An event generated when a container starts.

Attributes

NameDescription
action_id int
The numeric ID of the action that started this container.
port_mappings Mapping[int, int]
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag as well as any specified in the Action definition.
ip_address str
The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.

Classes

PortMappingsEntry

PortMappingsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.