AccountOperations Class

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

Implements

public class AccountOperations
implements IInheritedBehaviors

Performs account-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.

com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCounts()

Gets the number of nodes in each state, grouped by pool.

com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCounts(DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors)

Gets the number of nodes in each state, grouped by pool.

com.microsoft.azure.PagedList<ImageInformation> listSupportedImages()

Lists the node agent SKU values supported by the Batch service.

com.microsoft.azure.PagedList<ImageInformation> listSupportedImages(DetailLevel detailLevel)

Lists the node agent SKU values supported by the Batch service.

com.microsoft.azure.PagedList<ImageInformation> listSupportedImages(DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors)

Lists the node agent SKU values supported by the Batch service.

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.

listPoolNodeCounts

public PagedList listPoolNodeCounts()

Gets the number of nodes in each state, grouped by pool.

Returns:

A list of PoolNodeCounts 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.

listPoolNodeCounts

public PagedList listPoolNodeCounts(DetailLevel detailLevel, Iterable additionalBehaviors)

Gets the number of nodes in each state, grouped by pool.

Parameters:

detailLevel - A DetailLevel used for filtering the list and for controlling which properties are retrieved from the service.
additionalBehaviors - A collection of BatchClientBehavior instances that are applied to the Batch service request.

Returns:

A list of PoolNodeCounts 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.

listSupportedImages

public PagedList listSupportedImages()

Lists the node agent SKU values supported by the Batch service.

Returns:

A list of ImageInformation 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.

listSupportedImages

public PagedList listSupportedImages(DetailLevel detailLevel)

Lists the node agent SKU values supported by the Batch service.

Parameters:

detailLevel - A DetailLevel used for filtering the list and for controlling which properties are retrieved from the service.

Returns:

A list of ImageInformation 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.

listSupportedImages

public PagedList listSupportedImages(DetailLevel detailLevel, Iterable additionalBehaviors)

Lists the node agent SKU values supported by the Batch service.

Parameters:

detailLevel - A DetailLevel used for filtering the list and for controlling which properties are retrieved from the service.
additionalBehaviors - A collection of BatchClientBehavior instances that are applied to the Batch service request.

Returns:

A list of ImageInformation 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