Package com.microsoft.azure.batch
Class AccountOperations
- java.lang.Object
-
- com.microsoft.azure.batch.AccountOperations
-
- All Implemented Interfaces:
IInheritedBehaviors
public class AccountOperations extends Object implements IInheritedBehaviors
Performs account-related operations on an Azure Batch account.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
customBehaviors
public Collection<BatchClientBehavior> customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.- Specified by:
customBehaviors
in interfaceIInheritedBehaviors
- Returns:
- A collection of
BatchClientBehavior
instances.
-
withCustomBehaviors
public IInheritedBehaviors withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.- Specified by:
withCustomBehaviors
in interfaceIInheritedBehaviors
- Parameters:
behaviors
- The collection ofBatchClientBehavior
instances.- Returns:
- The current instance.
-
listSupportedImages
public com.microsoft.azure.PagedList<ImageInformation> listSupportedImages() throws BatchErrorException, IOException
Lists the node agent SKU values supported by the Batch service.- Returns:
- A list of
NodeAgentSku
objects. - Throws:
BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.
-
listSupportedImages
public com.microsoft.azure.PagedList<ImageInformation> listSupportedImages(DetailLevel detailLevel) throws BatchErrorException, IOException
Lists the node agent SKU values supported by the Batch service.- Parameters:
detailLevel
- ADetailLevel
used for filtering the list and for controlling which properties are retrieved from the service.- Returns:
- A list of
NodeAgentSku
objects. - Throws:
BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.
-
listSupportedImages
public com.microsoft.azure.PagedList<ImageInformation> listSupportedImages(DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException
Lists the node agent SKU values supported by the Batch service.- Parameters:
detailLevel
- ADetailLevel
used for filtering the list and for controlling which properties are retrieved from the service.additionalBehaviors
- A collection ofBatchClientBehavior
instances that are applied to the Batch service request.- Returns:
- A list of
NodeAgentSku
objects. - Throws:
BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.
-
listPoolNodeCounts
public com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCounts() throws BatchErrorException, IOException
Gets the number of nodes in each state, grouped by pool.- Returns:
- A list of
NodeAgentSku
objects. - Throws:
BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.
-
listPoolNodeCounts
public com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCounts(DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException
Gets the number of nodes in each state, grouped by pool.- Parameters:
detailLevel
- ADetailLevel
used for filtering the list and for controlling which properties are retrieved from the service.additionalBehaviors
- A collection ofBatchClientBehavior
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 there is an error in serialization/deserialization of data sent to/received from the Batch service.
-
-