BatchNodeCounts Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchNodeCounts
- com.
Implements
public final class BatchNodeCounts
implements JsonSerializable<BatchNodeCounts>
The number of Compute Nodes in each Compute Node state.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| int |
getCreating()
Get the creating property: The number of Compute Nodes in the creating state. |
| int |
getDeallocated()
Get the deallocated property: The number of Compute Nodes in the deallocated state. |
| int |
getDeallocating()
Get the deallocating property: The number of Compute Nodes in the deallocating state. |
| int |
getIdle()
Get the idle property: The number of Compute Nodes in the idle state. |
| int |
getLeavingPool()
Get the leaving |
| int |
getOffline()
Get the offline property: The number of Compute Nodes in the offline state. |
| int |
getPreempted()
Get the preempted property: The number of Compute Nodes in the preempted state. |
| int |
getRebooting()
Get the rebooting property: The count of Compute Nodes in the rebooting state. |
| int |
getReimaging()
Get the reimaging property: The number of Compute Nodes in the reimaging state. |
| int |
getRunning()
Get the running property: The number of Compute Nodes in the running state. |
| int |
getStarting()
Get the starting property: The number of Compute Nodes in the starting state. |
| int |
getStartTaskFailed()
Get the start |
| int |
getTotal()
Get the total property: The total number of Compute Nodes. |
| int |
getUnknown()
Get the unknown property: The number of Compute Nodes in the unknown state. |
| int |
getUnusable()
Get the unusable property: The number of Compute Nodes in the unusable state. |
| int |
getUpgradingOs()
Get the upgrading |
| int |
getWaitingForStartTask()
Get the waiting |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchNodeCounts fromJson(JsonReader jsonReader)
Reads an instance of BatchNodeCounts from the JsonReader.
Parameters:
Returns:
Throws:
getCreating
public int getCreating()
Get the creating property: The number of Compute Nodes in the creating state.
Returns:
getDeallocated
public int getDeallocated()
Get the deallocated property: The number of Compute Nodes in the deallocated state.
Returns:
getDeallocating
public int getDeallocating()
Get the deallocating property: The number of Compute Nodes in the deallocating state.
Returns:
getIdle
public int getIdle()
Get the idle property: The number of Compute Nodes in the idle state.
Returns:
getLeavingPool
public int getLeavingPool()
Get the leavingPool property: The number of Compute Nodes in the leavingPool state.
Returns:
getOffline
public int getOffline()
Get the offline property: The number of Compute Nodes in the offline state.
Returns:
getPreempted
public int getPreempted()
Get the preempted property: The number of Compute Nodes in the preempted state.
Returns:
getRebooting
public int getRebooting()
Get the rebooting property: The count of Compute Nodes in the rebooting state.
Returns:
getReimaging
public int getReimaging()
Get the reimaging property: The number of Compute Nodes in the reimaging state.
Returns:
getRunning
public int getRunning()
Get the running property: The number of Compute Nodes in the running state.
Returns:
getStarting
public int getStarting()
Get the starting property: The number of Compute Nodes in the starting state.
Returns:
getStartTaskFailed
public int getStartTaskFailed()
Get the startTaskFailed property: The number of Compute Nodes in the startTaskFailed state.
Returns:
getTotal
public int getTotal()
Get the total property: The total number of Compute Nodes.
Returns:
getUnknown
public int getUnknown()
Get the unknown property: The number of Compute Nodes in the unknown state.
Returns:
getUnusable
public int getUnusable()
Get the unusable property: The number of Compute Nodes in the unusable state.
Returns:
getUpgradingOs
public int getUpgradingOs()
Get the upgradingOs property: The number of Compute Nodes in the upgradingOS state.
Returns:
getWaitingForStartTask
public int getWaitingForStartTask()
Get the waitingForStartTask property: The number of Compute Nodes in the waitingForStartTask state.
Returns: