NetworkAttachmentConfig

@Serializable
data class NetworkAttachmentConfig(val target: String? = null, val aliases: List<String>? = null, val driverOpts: Map<String, String>? = null)

Specifies how a service should be attached to a particular network.

Parameters

target

The target network for attachment. Must be a network name or ID.

aliases

Discoverable alternate names for the service on this network.

driverOpts

Driver attachment options for the network target.

Constructors

Link copied to clipboard
constructor(target: String? = null, aliases: List<String>? = null, driverOpts: Map<String, String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "Aliases")
val aliases: List<String>?
Link copied to clipboard
@SerialName(value = "DriverOpts")
val driverOpts: Map<String, String>?
Link copied to clipboard
@SerialName(value = "Target")
val target: String?