TaskContainerSettings Class
The container settings for a task.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.batch._serialization.ModelTaskContainerSettings
Constructor
TaskContainerSettings(*, image_name: str, container_run_options: str | None = None, registry: _models.ContainerRegistry | None = None, working_directory: str | _models.ContainerWorkingDirectory | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
container_run_options
|
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service. |
image_name
|
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default. Required. |
registry
|
This setting can be omitted if was already provided at pool creation. |
working_directory
|
A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'. Known values are: "TaskWorkingDirectory" and "ContainerImageDefault". |
Variables
Name | Description |
---|---|
container_run_options
|
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service. |
image_name
|
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default. Required. |
registry
|
This setting can be omitted if was already provided at pool creation. |
working_directory
|
A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'. Known values are: "TaskWorkingDirectory" and "ContainerImageDefault". |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for