Uses of Class
com.azure.compute.batch.models.BatchTaskCreateContent
Packages that use BatchTaskCreateContent
Package
Description
Package containing the classes for Batch.
Package containing the data models for Batch.
-
Uses of BatchTaskCreateContent in com.azure.compute.batch
Methods in com.azure.compute.batch with parameters of type BatchTaskCreateContentModifier and TypeMethodDescriptionBatchAsyncClient.createTask
(String jobId, BatchTaskCreateContent task) Creates a Task to the specified Job.BatchAsyncClient.createTask
(String jobId, BatchTaskCreateContent task, CreateBatchTaskOptions options) Creates a Task to the specified Job.void
BatchClient.createTask
(String jobId, BatchTaskCreateContent task) Creates a Task to the specified Job.void
BatchClient.createTask
(String jobId, BatchTaskCreateContent task, CreateBatchTaskOptions options) Creates a Task to the specified Job.Method parameters in com.azure.compute.batch with type arguments of type BatchTaskCreateContentModifier and TypeMethodDescriptionBatchAsyncClient.createTasks
(String jobId, List<BatchTaskCreateContent> taskList) Adds multiple tasks to a job.BatchAsyncClient.createTasks
(String jobId, List<BatchTaskCreateContent> taskList, BatchClientParallelOptions batchClientParallelOptions) Creates a collection of Tasks to the specified Job.void
BatchClient.createTasks
(String jobId, List<BatchTaskCreateContent> taskList) Adds multiple tasks to a job.void
BatchClient.createTasks
(String jobId, List<BatchTaskCreateContent> taskList, BatchClientParallelOptions batchClientParallelOptions) Creates a collection of Tasks to the specified Job. -
Uses of BatchTaskCreateContent in com.azure.compute.batch.models
Methods in com.azure.compute.batch.models that return BatchTaskCreateContentModifier and TypeMethodDescriptionstatic BatchTaskCreateContent
BatchTaskCreateContent.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of BatchTaskCreateContent from the JsonReader.BatchTaskCreateContent.setAffinityInfo
(AffinityInfo affinityInfo) Set the affinityInfo property: A locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task.BatchTaskCreateContent.setApplicationPackageReferences
(List<BatchApplicationPackageReference> applicationPackageReferences) Set the applicationPackageReferences property: A list of Packages that the Batch service will deploy to the Compute Node before running the command line.BatchTaskCreateContent.setAuthenticationTokenSettings
(AuthenticationTokenSettings authenticationTokenSettings) Set the authenticationTokenSettings property: The settings for an authentication token that the Task can use to perform Batch service operations.BatchTaskCreateContent.setConstraints
(BatchTaskConstraints constraints) Set the constraints property: The execution constraints that apply to this Task.BatchTaskCreateContent.setContainerSettings
(BatchTaskContainerSettings containerSettings) Set the containerSettings property: The settings for the container under which the Task runs.BatchTaskCreateContent.setDependsOn
(BatchTaskDependencies dependsOn) Set the dependsOn property: The Tasks that this Task depends on.BatchTaskCreateContent.setDisplayName
(String displayName) Set the displayName property: A display name for the Task.BatchTaskCreateContent.setEnvironmentSettings
(List<EnvironmentSetting> environmentSettings) Set the environmentSettings property: A list of environment variable settings for the Task.BatchTaskCreateContent.setExitConditions
(ExitConditions exitConditions) Set the exitConditions property: How the Batch service should respond when the Task completes.BatchTaskCreateContent.setMultiInstanceSettings
(MultiInstanceSettings multiInstanceSettings) Set the multiInstanceSettings property: An object that indicates that the Task is a multi-instance Task, and contains information about how to run the multi-instance Task.BatchTaskCreateContent.setOutputFiles
(List<OutputFile> outputFiles) Set the outputFiles property: A list of files that the Batch service will upload from the Compute Node after running the command line.BatchTaskCreateContent.setRequiredSlots
(Integer requiredSlots) Set the requiredSlots property: The number of scheduling slots that the Task required to run.BatchTaskCreateContent.setResourceFiles
(List<ResourceFile> resourceFiles) Set the resourceFiles property: A list of files that the Batch service will download to the Compute Node before running the command line.BatchTaskCreateContent.setUserIdentity
(UserIdentity userIdentity) Set the userIdentity property: The user identity under which the Task runs.Methods in com.azure.compute.batch.models that return types with arguments of type BatchTaskCreateContentModifier and TypeMethodDescriptionBatchTaskGroup.getValue()
Get the value property: The collection of Tasks to add.CreateTasksErrorException.pendingTaskList()
Gets the list ofBatchTask
instances containing the tasks that were not added, but for which the operation can be retried.Constructor parameters in com.azure.compute.batch.models with type arguments of type BatchTaskCreateContentModifierConstructorDescriptionBatchTaskGroup
(List<BatchTaskCreateContent> value) Creates an instance of BatchTaskGroup class.