TaskSpecNetworkAttachmentSpec

@Serializable
data class TaskSpecNetworkAttachmentSpec(val containerID: String? = null)

Read-only spec type for non-swarm containers attached to swarm overlay networks.


>Note: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are > mutually exclusive. PluginSpec is only used when the Runtime field > is set to plugin. NetworkAttachmentSpec is used when the Runtime > field is set to attachment.

Parameters

containerID

ID of the container represented by this task

Constructors

Link copied to clipboard
constructor(containerID: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "ContainerID")
val containerID: String?