public class TaskContainerSettings extends Object
| Constructor and Description |
|---|
TaskContainerSettings() |
| Modifier and Type | Method and Description |
|---|---|
String |
containerRunOptions()
Get these additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
|
String |
imageName()
Get this is the full image reference, as would be specified to "docker pull".
|
ContainerRegistry |
registry()
Get this setting can be omitted if was already provided at pool creation.
|
TaskContainerSettings |
withContainerRunOptions(String containerRunOptions)
Set these additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
|
TaskContainerSettings |
withImageName(String imageName)
Set this is the full image reference, as would be specified to "docker pull".
|
TaskContainerSettings |
withRegistry(ContainerRegistry registry)
Set this setting can be omitted if was already provided at pool creation.
|
TaskContainerSettings |
withWorkingDirectory(ContainerWorkingDirectory workingDirectory)
Set possible values include: 'TaskWorkingDirectory', 'ContainerImageDefault'.
|
ContainerWorkingDirectory |
workingDirectory()
Get possible values include: 'TaskWorkingDirectory', 'ContainerImageDefault'.
|
public String containerRunOptions()
public TaskContainerSettings withContainerRunOptions(String containerRunOptions)
containerRunOptions - the containerRunOptions value to setpublic String imageName()
public TaskContainerSettings withImageName(String imageName)
imageName - the imageName value to setpublic ContainerRegistry registry()
public TaskContainerSettings withRegistry(ContainerRegistry registry)
registry - the registry value to setpublic ContainerWorkingDirectory workingDirectory()
public TaskContainerSettings withWorkingDirectory(ContainerWorkingDirectory workingDirectory)
workingDirectory - the workingDirectory value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/