Share via


BatchClient Class

  • java.lang.Object
    • com.microsoft.azure.batch.BatchClient

public class BatchClient

A client for an Azure Batch account, used to access the Batch service.

Method Summary

Modifier and Type Method and Description
AccountOperations accountOperations()

Gets an AccountOperations object for performing account-related operations on the associated account.

ApplicationOperations applicationOperations()

Gets an ApplicationOperations object for performing application-related operations on the associated account.

CertificateOperations certificateOperations()

Gets a CertificateOperations object for performing certificate-related operations on the associated account.

ComputeNodeOperations computeNodeOperations()

Gets a ComputeNodeOperations object for performing compute node-related operations on the associated account.

Collection<BatchClientBehavior> customBehaviors()

Gets a collection of behaviors that modify or customize requests to the Batch service.

FileOperations fileOperations()

Gets a FileOperations object for performing file-related operations on the associated account.

JobOperations jobOperations()

Gets a JobOperations object for performing job-related operations on the associated account.

JobScheduleOperations jobScheduleOperations()

Gets a JobScheduleOperations object for performing job schedule-related operations on the associated account.

BatchClient open(BatchCredentials credentials)

Creates an instance of BatchClient associated with the specified credentials.

PoolOperations poolOperations()

Gets a PoolOperations object for performing pool-related operations on the associated account.

BatchServiceClient protocolLayer()

Gets the protocol layer service client that issues requests to the Azure Batch service.

TaskOperations taskOperations()

Gets a TaskOperations object for performing task-related operations on the associated account.

BatchClient withCustomBehaviors(Collection<BatchClientBehavior> customBehaviors)

Sets a collection of behaviors that modify or customize requests to the Batch service.

Method Details

accountOperations

public AccountOperations accountOperations()

Gets an AccountOperations object for performing account-related operations on the associated account.

Returns:

An instance of the AccountOperations class.

applicationOperations

public ApplicationOperations applicationOperations()

Gets an ApplicationOperations object for performing application-related operations on the associated account.

Returns:

An instance of the ApplicationOperations class.

certificateOperations

public CertificateOperations certificateOperations()

Gets a CertificateOperations object for performing certificate-related operations on the associated account.

Returns:

An instance of the CertificateOperations class.

computeNodeOperations

public ComputeNodeOperations computeNodeOperations()

Gets a ComputeNodeOperations object for performing compute node-related operations on the associated account.

Returns:

An instance of the ComputeNodeOperations class.

customBehaviors

public Collection customBehaviors()

Gets a collection of behaviors that modify or customize requests to the Batch service.

Returns:

The collection of BatchClientBehavior instances.

fileOperations

public FileOperations fileOperations()

Gets a FileOperations object for performing file-related operations on the associated account.

Returns:

An instance of the FileOperations class.

jobOperations

public JobOperations jobOperations()

Gets a JobOperations object for performing job-related operations on the associated account.

Returns:

An instance of the JobOperations class.

jobScheduleOperations

public JobScheduleOperations jobScheduleOperations()

Gets a JobScheduleOperations object for performing job schedule-related operations on the associated account.

Returns:

An instance of the JobScheduleOperations class.

open

public static BatchClient open(BatchCredentials credentials)

Creates an instance of BatchClient associated with the specified credentials.

Parameters:

credentials - A BatchCredentials object specifying the Batch account credentials.

Returns:

The new BatchClient instance.

poolOperations

public PoolOperations poolOperations()

Gets a PoolOperations object for performing pool-related operations on the associated account.

Returns:

An instance of the PoolOperations class.

protocolLayer

public BatchServiceClient protocolLayer()

Gets the protocol layer service client that issues requests to the Azure Batch service.

Returns:

The protocol layer client.

taskOperations

public TaskOperations taskOperations()

Gets a TaskOperations object for performing task-related operations on the associated account.

Returns:

An instance of the TaskOperations class.

withCustomBehaviors

public BatchClient withCustomBehaviors(Collection customBehaviors)

Sets a collection of behaviors that modify or customize requests to the Batch service.

Parameters:

customBehaviors - The collection of BatchClientBehavior instances.

Returns:

The current instance.

Applies to