BatchNodeInfo Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchNodeInfo
- com.
Implements
public final class BatchNodeInfo
implements JsonSerializable<BatchNodeInfo>
Information about the Compute Node on which a Task ran.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| String |
getAffinityId()
Get the affinity |
| String |
getNodeId()
Get the node |
| String |
getNodeUrl()
Get the node |
| String |
getPoolId()
Get the pool |
| String |
getTaskRootDirectory()
Get the task |
| String |
getTaskRootDirectoryUrl()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchNodeInfo fromJson(JsonReader jsonReader)
Reads an instance of BatchNodeInfo from the JsonReader.
Parameters:
Returns:
Throws:
getAffinityId
public String getAffinityId()
Get the affinityId property: An identifier for the Node on which the Task ran, which can be passed when adding a Task to request that the Task be scheduled on this Compute Node.
Returns:
getNodeId
public String getNodeId()
Get the nodeId property: The ID of the Compute Node on which the Task ran.
Returns:
getNodeUrl
public String getNodeUrl()
Get the nodeUrl property: The URL of the Compute Node on which the Task ran.
Returns:
getPoolId
public String getPoolId()
Get the poolId property: The ID of the Pool on which the Task ran.
Returns:
getTaskRootDirectory
public String getTaskRootDirectory()
Get the taskRootDirectory property: The root directory of the Task on the Compute Node.
Returns:
getTaskRootDirectoryUrl
public String getTaskRootDirectoryUrl()
Get the taskRootDirectoryUrl property: The URL to the root directory of the Task on the Compute Node.
Returns: