Package | Description |
---|---|
com.microsoft.azure.batch |
This package contains classes for writing applications that use the Azure Batch service.
|
com.microsoft.azure.batch.interceptor |
This package contains classes for modifying requests to the Batch service.
|
Modifier and Type | Method and Description |
---|---|
Collection<BatchClientBehavior> |
ApplicationOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
ComputeNodeOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
IInheritedBehaviors.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
TaskOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
JobOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
AccountOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
CertificateOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
PoolOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
FileOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
BatchClient.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Collection<BatchClientBehavior> |
JobScheduleOperations.customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
Modifier and Type | Method and Description |
---|---|
void |
ComputeNodeOperations.addComputeNodeUser(String poolId,
String nodeId,
ComputeNodeUser user,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a user account to the specified compute node.
|
void |
CertificateOperations.cancelDeleteCertificate(String thumbprintAlgorithm,
String thumbprint,
Iterable<BatchClientBehavior> additionalBehaviors)
Cancels a failed deletion of the specified certificate.
|
void |
PoolOperations.changeOSVersion(String poolId,
String targetOSVersion,
Iterable<BatchClientBehavior> additionalBehaviors)
Changes the operating system version of the specified pool.
|
void |
CertificateOperations.createCertificate(CertificateAddParameter certificate,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a certificate to the Batch account.
|
void |
CertificateOperations.createCertificate(InputStream certStream,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a certificate to the Batch account.
|
void |
JobOperations.createJob(JobAddParameter job,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a job to the Batch account.
|
void |
JobOperations.createJob(String jobId,
PoolInformation poolInfo,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a job to the Batch account.
|
void |
JobScheduleOperations.createJobSchedule(JobScheduleAddParameter jobSchedule,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a job schedule to the Batch account.
|
void |
JobScheduleOperations.createJobSchedule(String jobScheduleId,
Schedule schedule,
JobSpecification jobSpecification,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a job schedule to the Batch account.
|
void |
PoolOperations.createPool(PoolAddParameter pool,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a pool to the Batch account.
|
void |
PoolOperations.createPool(String poolId,
String virtualMachineSize,
CloudServiceConfiguration cloudServiceConfiguration,
int targetDedicatedNodes,
int targetLowPriorityNodes,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a pool to the Batch account.
|
void |
PoolOperations.createPool(String poolId,
String virtualMachineSize,
VirtualMachineConfiguration virtualMachineConfiguration,
int targetDedicatedNodes,
int targetLowPriorityNodes,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a pool to the Batch account.
|
void |
TaskOperations.createTask(String jobId,
TaskAddParameter taskToAdd,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds a single task to a job.
|
void |
TaskOperations.createTasks(String jobId,
List<TaskAddParameter> taskList,
Iterable<BatchClientBehavior> additionalBehaviors)
Adds multiple tasks to a job.
|
void |
CertificateOperations.deleteCertificate(String thumbprintAlgorithm,
String thumbprint,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the certificate from the Batch account.
|
void |
ComputeNodeOperations.deleteComputeNodeUser(String poolId,
String nodeId,
String userName,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified user account from the specified compute node.
|
void |
FileOperations.deleteFileFromComputeNode(String poolId,
String nodeId,
String fileName,
Boolean recursive,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified file from the specified compute node.
|
void |
FileOperations.deleteFileFromTask(String jobId,
String taskId,
String fileName,
Boolean recursive,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified file from the specified task's directory on its compute node.
|
void |
JobOperations.deleteJob(String jobId,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified job.
|
void |
JobScheduleOperations.deleteJobSchedule(String jobScheduleId,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified job schedule.
|
void |
PoolOperations.deletePool(String poolId,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified pool.
|
void |
TaskOperations.deleteTask(String jobId,
String taskId,
Iterable<BatchClientBehavior> additionalBehaviors)
Deletes the specified task.
|
void |
PoolOperations.disableAutoScale(String poolId,
Iterable<BatchClientBehavior> additionalBehaviors)
Disables automatic scaling on the specified pool.
|
void |
ComputeNodeOperations.disableComputeNodeScheduling(String poolId,
String nodeId,
DisableComputeNodeSchedulingOption nodeDisableSchedulingOption,
Iterable<BatchClientBehavior> additionalBehaviors)
Disables task scheduling on the specified compute node.
|
void |
JobOperations.disableJob(String jobId,
DisableJobOption disableJobOption,
Iterable<BatchClientBehavior> additionalBehaviors)
Disables the specified job.
|
void |
JobScheduleOperations.disableJobSchedule(String jobScheduleId,
Iterable<BatchClientBehavior> additionalBehaviors)
Disables the specified job schedule.
|
void |
PoolOperations.enableAutoScale(String poolId,
String autoScaleFormula,
org.joda.time.Period autoScaleEvaluationInterval,
Iterable<BatchClientBehavior> additionalBehaviors)
Enables automatic scaling on the specified pool.
|
void |
ComputeNodeOperations.enableComputeNodeScheduling(String poolId,
String nodeId,
Iterable<BatchClientBehavior> additionalBehaviors)
Enables task scheduling on the specified compute node.
|
void |
JobOperations.enableJob(String jobId,
Iterable<BatchClientBehavior> additionalBehaviors)
Enables the specified job, allowing new tasks to run.
|
void |
JobScheduleOperations.enableJobSchedule(String jobScheduleId,
Iterable<BatchClientBehavior> additionalBehaviors)
Enables the specified job schedule, allowing jobs to be created according to its
Schedule . |
AutoScaleRun |
PoolOperations.evaluateAutoScale(String poolId,
String autoScaleFormula,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the result of evaluating an automatic scaling formula on the specified pool.
|
boolean |
JobScheduleOperations.existsJobSchedule(String jobScheduleId,
Iterable<BatchClientBehavior> additionalBehaviors)
Checks whether the specified job schedule exists.
|
boolean |
PoolOperations.existsPool(String poolId,
Iterable<BatchClientBehavior> additionalBehaviors)
Checks whether the specified pool exists.
|
JobStatistics |
JobOperations.getAllJobsLifetimeStatistics(Iterable<BatchClientBehavior> additionalBehaviors)
Gets lifetime summary statistics for all of the jobs in the current account.
|
PoolStatistics |
PoolOperations.getAllPoolsLifetimeStatistics(Iterable<BatchClientBehavior> additionalBehaviors)
Gets lifetime summary statistics for all of the pools in the current account.
|
ApplicationSummary |
ApplicationOperations.getApplication(String applicationId,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets information about the specified application.
|
Certificate |
CertificateOperations.getCertificate(String thumbprintAlgorithm,
String thumbprint,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the specified
Certificate . |
ComputeNode |
ComputeNodeOperations.getComputeNode(String poolId,
String nodeId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the specified compute node.
|
String |
ComputeNodeOperations.getComputeNodeRemoteDesktop(String poolId,
String nodeId,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets a Remote Desktop Protocol (RDP) file for the specified node.
|
ComputeNodeGetRemoteLoginSettingsResult |
ComputeNodeOperations.getComputeNodeRemoteLoginSettings(String poolId,
String nodeId,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the settings required for remote login to a compute node.
|
void |
FileOperations.getFileFromComputeNode(String poolId,
String nodeId,
String fileName,
Iterable<BatchClientBehavior> additionalBehaviors,
OutputStream outputStream)
Downloads the specified file from the specified compute node.
|
void |
FileOperations.getFileFromTask(String jobId,
String taskId,
String fileName,
Iterable<BatchClientBehavior> additionalBehaviors,
OutputStream outputStream)
Downloads the specified file from the specified task's directory on its compute node.
|
FileProperties |
FileOperations.getFilePropertiesFromComputeNode(String poolId,
String nodeId,
String fileName,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets information about a file on a compute node.
|
FileProperties |
FileOperations.getFilePropertiesFromTask(String jobId,
String taskId,
String fileName,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets information about a file from the specified task's directory on its compute node.
|
CloudJob |
JobOperations.getJob(String jobId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the specified
CloudJob . |
CloudJobSchedule |
JobScheduleOperations.getJobSchedule(String jobScheduleId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the specified
CloudJobSchedule . |
CloudPool |
PoolOperations.getPool(String poolId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the specified
CloudPool . |
CloudTask |
TaskOperations.getTask(String jobId,
String taskId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the specified
CloudTask . |
TaskCounts |
JobOperations.getTaskCounts(String jobId,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets the task counts for the specified job.
|
List<ApplicationSummary> |
ApplicationOperations.listApplications(Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
applications in the Batch account. |
List<Certificate> |
CertificateOperations.listCertificates(DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
certificates in the Batch account. |
List<ComputeNode> |
ComputeNodeOperations.listComputeNodes(String poolId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
compute nodes of the specified pool. |
List<NodeFile> |
FileOperations.listFilesFromComputeNode(String poolId,
String nodeId,
Boolean recursive,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists files on the specified compute node.
|
List<NodeFile> |
FileOperations.listFilesFromTask(String jobId,
String taskId,
Boolean recursive,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the files in the specified task's directory on its compute node.
|
List<CloudJob> |
JobOperations.listJobs(DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
jobs in the Batch account. |
List<CloudJob> |
JobOperations.listJobs(String jobScheduleId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
jobs created under the specified jobSchedule. |
List<CloudJobSchedule> |
JobScheduleOperations.listJobSchedules(DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
job schedules in the Batch account. |
List<NodeAgentSku> |
AccountOperations.listNodeAgentSkus(DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the node agent SKU values supported by the Batch service.
|
List<CloudPool> |
PoolOperations.listPools(DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
pools in the Batch account. |
List<PoolUsageMetrics> |
PoolOperations.listPoolUsageMetrics(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists pool usage metrics.
|
List<JobPreparationAndReleaseTaskExecutionInformation> |
JobOperations.listPreparationAndReleaseTaskStatus(String jobId,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the status of
JobPreparationTask and JobReleaseTask tasks for the specified job. |
List<SubtaskInformation> |
TaskOperations.listSubtasks(String jobId,
String taskId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
subtasks of the specified task. |
List<CloudTask> |
TaskOperations.listTasks(String jobId,
DetailLevel detailLevel,
Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
tasks of the specified job. |
void |
JobOperations.patchJob(String jobId,
JobPatchParameter jobPatchParameter,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified job.
|
void |
JobOperations.patchJob(String jobId,
PoolInformation poolInfo,
Integer priority,
JobConstraints constraints,
OnAllTasksComplete onAllTasksComplete,
List<MetadataItem> metadata,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified job.
|
void |
JobScheduleOperations.patchJobSchedule(String jobScheduleId,
Schedule schedule,
JobSpecification jobSpecification,
List<MetadataItem> metadata,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified job schedule.
|
void |
PoolOperations.patchPool(String poolId,
StartTask startTask,
Collection<CertificateReference> certificateReferences,
Collection<ApplicationPackageReference> applicationPackageReferences,
Collection<MetadataItem> metadata,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified pool.
|
void |
TaskOperations.reactivateTask(String jobId,
String taskId,
Iterable<BatchClientBehavior> additionalBehaviors)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
void |
ComputeNodeOperations.rebootComputeNode(String poolId,
String nodeId,
ComputeNodeRebootOption nodeRebootOption,
Iterable<BatchClientBehavior> additionalBehaviors)
Reboots the specified compute node.
|
void |
ComputeNodeOperations.reimageComputeNode(String poolId,
String nodeId,
ComputeNodeReimageOption nodeReimageOption,
Iterable<BatchClientBehavior> additionalBehaviors)
Reinstalls the operating system on the specified compute node.
|
void |
PoolOperations.removeNodeFromPool(String poolId,
String computeNodeId,
ComputeNodeDeallocationOption deallocationOption,
org.joda.time.Period resizeTimeout,
Iterable<BatchClientBehavior> additionalBehaviors)
Removes the specified compute node from the specified pool.
|
void |
PoolOperations.removeNodesFromPool(String poolId,
Collection<ComputeNode> computeNodes,
ComputeNodeDeallocationOption deallocationOption,
org.joda.time.Period resizeTimeout,
Iterable<BatchClientBehavior> additionalBehaviors)
Removes the specified compute nodes from the specified pool.
|
void |
PoolOperations.removeNodesFromPool(String poolId,
List<String> computeNodeIds,
ComputeNodeDeallocationOption deallocationOption,
org.joda.time.Period resizeTimeout,
Iterable<BatchClientBehavior> additionalBehaviors)
Removes the specified compute nodes from the specified pool.
|
void |
PoolOperations.resizePool(String poolId,
Integer targetDedicatedNodes,
Integer targetLowPriorityNodes,
org.joda.time.Period resizeTimeout,
ComputeNodeDeallocationOption deallocationOption,
Iterable<BatchClientBehavior> additionalBehaviors)
Resizes the specified pool.
|
void |
PoolOperations.stopResizePool(String poolId,
Iterable<BatchClientBehavior> additionalBehaviors)
Stops a pool resize operation.
|
void |
JobOperations.terminateJob(String jobId,
String terminateReason,
Iterable<BatchClientBehavior> additionalBehaviors)
Terminates the specified job, marking it as completed.
|
void |
JobScheduleOperations.terminateJobSchedule(String jobScheduleId,
Iterable<BatchClientBehavior> additionalBehaviors)
Terminates the specified job schedule.
|
void |
TaskOperations.terminateTask(String jobId,
String taskId,
Iterable<BatchClientBehavior> additionalBehaviors)
Terminates the specified task.
|
void |
ComputeNodeOperations.updateComputeNodeUser(String poolId,
String nodeId,
String userName,
String password,
org.joda.time.DateTime expiryTime,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified user account on the specified compute node.
|
void |
ComputeNodeOperations.updateComputeNodeUser(String poolId,
String nodeId,
String userName,
String sshPublicKey,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified user account on the specified compute node.
|
void |
JobOperations.updateJob(String jobId,
PoolInformation poolInfo,
Integer priority,
JobConstraints constraints,
OnAllTasksComplete onAllTasksComplete,
List<MetadataItem> metadata,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified job.
|
void |
JobScheduleOperations.updateJobSchedule(String jobScheduleId,
Schedule schedule,
JobSpecification jobSpecification,
List<MetadataItem> metadata,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified job schedule.
|
void |
PoolOperations.updatePoolProperties(String poolId,
StartTask startTask,
Collection<CertificateReference> certificateReferences,
Collection<ApplicationPackageReference> applicationPackageReferences,
Collection<MetadataItem> metadata,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified pool.
|
void |
TaskOperations.updateTask(String jobId,
String taskId,
TaskConstraints constraints,
Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified task.
|
IInheritedBehaviors |
ApplicationOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
ComputeNodeOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
IInheritedBehaviors.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
TaskOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
JobOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
AccountOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
CertificateOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
PoolOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
FileOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
BatchClient |
BatchClient.withCustomBehaviors(Collection<BatchClientBehavior> customBehaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
IInheritedBehaviors |
JobScheduleOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
Modifier and Type | Class and Description |
---|---|
class |
BatchClientParallelOptions
Stores options that configure the operation of methods on Batch client parallel operations.
|
class |
ClientRequestIdInterceptor
Interceptor which contains a function used to generate a client request ID.
|
class |
DetailLevelInterceptor
Interceptor which contains a function used to apply the
DetailLevel . |
class |
PageSizeInterceptor
Interceptor which contains a function used to set the maximum page size of a request.
|
class |
RequestInterceptor
A
BatchClientBehavior that modifies requests to the Batch service. |
class |
ServerTimeoutInterceptor
Sets Batch service request timeouts.
|
Copyright © 2019. All rights reserved.