ApplicationOperations Class

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

Implements

public class ApplicationOperations
implements IInheritedBehaviors

Performs application-related operations on an Azure Batch account.

Method Summary

Modifier and Type Method and Description
Collection<BatchClientBehavior> customBehaviors()

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

ApplicationSummary getApplication(String applicationId)

Gets information about the specified application.

ApplicationSummary getApplication(String applicationId, Iterable<BatchClientBehavior> additionalBehaviors)

Gets information about the specified application.

com.microsoft.azure.PagedList<ApplicationSummary> listApplications()

Lists the ApplicationSummary in the Batch account.

com.microsoft.azure.PagedList<ApplicationSummary> listApplications(Iterable<BatchClientBehavior> additionalBehaviors)

Lists the ApplicationSummary in the Batch account.

IInheritedBehaviors withCustomBehaviors(Collection<BatchClientBehavior> behaviors)

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

Methods inherited from java.lang.Object

Method Details

customBehaviors

public Collection customBehaviors()

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

Returns:

A collection of BatchClientBehavior instances.

getApplication

public ApplicationSummary getApplication(String applicationId)

Gets information about the specified application.

Parameters:

applicationId - The ID of the application to get.

Returns:

An ApplicationSummary containing information about the specified application.

Throws:

BatchErrorException - Exception thrown when an error response is received from the Batch service.

IOException

- Exception thrown when an error response is received from the Batch service.

getApplication

public ApplicationSummary getApplication(String applicationId, Iterable additionalBehaviors)

Gets information about the specified application.

Parameters:

applicationId - The ID of the application to get.
additionalBehaviors - A collection of BatchClientBehavior instances that are applied to the Batch service request.

Returns:

An ApplicationSummary containing information about the specified application.

Throws:

BatchErrorException - Exception thrown when an error response is received from the Batch service.

IOException

- Exception thrown when an error response is received from the Batch service.

listApplications

public PagedList listApplications()

Lists the ApplicationSummary in the Batch account.

Returns:

A list of ApplicationSummary objects.

Throws:

BatchErrorException - Exception thrown when an error response is received from the Batch service.

IOException

- Exception thrown when an error response is received from the Batch service.

listApplications

public PagedList listApplications(Iterable additionalBehaviors)

Lists the ApplicationSummary in the Batch account.

Parameters:

additionalBehaviors - A collection of BatchClientBehavior instances that are applied to the Batch service request.

Returns:

A list of ApplicationSummary objects.

Throws:

BatchErrorException - Exception thrown when an error response is received from the Batch service.

IOException

- Exception thrown when an error response is received from the Batch service.

withCustomBehaviors

public IInheritedBehaviors withCustomBehaviors(Collection behaviors)

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

Parameters:

behaviors - The collection of BatchClientBehavior instances.

Returns:

The current instance.

Applies to