Service Task Spec Args
data class ServiceTaskSpecArgs(val containerSpec: Output<ServiceTaskSpecContainerSpecArgs>, val forceUpdate: Output<Int>? = null, val logDriver: Output<ServiceTaskSpecLogDriverArgs>? = null, val networks: Output<List<String>>? = null, val placement: Output<ServiceTaskSpecPlacementArgs>? = null, val resources: Output<ServiceTaskSpecResourcesArgs>? = null, val restartPolicy: Output<ServiceTaskSpecRestartPolicyArgs>? = null, val runtime: Output<String>? = null) : ConvertibleToJava<ServiceTaskSpecArgs>
Constructors
Link copied to clipboard
constructor(containerSpec: Output<ServiceTaskSpecContainerSpecArgs>, forceUpdate: Output<Int>? = null, logDriver: Output<ServiceTaskSpecLogDriverArgs>? = null, networks: Output<List<String>>? = null, placement: Output<ServiceTaskSpecPlacementArgs>? = null, resources: Output<ServiceTaskSpecResourcesArgs>? = null, restartPolicy: Output<ServiceTaskSpecRestartPolicyArgs>? = null, runtime: Output<String>? = null)
Properties
Link copied to clipboard
The spec for each container
Link copied to clipboard
A counter that triggers an update even if no relevant parameters have been changed. See the spec.
Link copied to clipboard
Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified
Link copied to clipboard
The placement preferences
Link copied to clipboard
Resource requirements which apply to each individual container created as part of the service
Link copied to clipboard
Specification for the restart policy which applies to containers created as part of this service.