NodeAgentInformation Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.NodeAgentInformation

public class NodeAgentInformation

Information about the node agent. The Batch node agent is a program that runs on each node in the pool and provides Batch capability on the compute node.

Method Summary

Modifier and Type Method and Description
DateTime lastUpdateTime()

Get this is the most recent time that the node agent was updated to a new version.

String version()

Get this version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.

NodeAgentInformation withLastUpdateTime(DateTime lastUpdateTime)

Set this is the most recent time that the node agent was updated to a new version.

NodeAgentInformation withVersion(String version)

Set this version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.

Method Details

lastUpdateTime

public DateTime lastUpdateTime()

Get this is the most recent time that the node agent was updated to a new version.

Returns:

the lastUpdateTime value

version

public String version()

Get this version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.

Returns:

the version value

withLastUpdateTime

public NodeAgentInformation withLastUpdateTime(DateTime lastUpdateTime)

Set this is the most recent time that the node agent was updated to a new version.

Parameters:

lastUpdateTime - the lastUpdateTime value to set

Returns:

the NodeAgentInformation object itself.

withVersion

public NodeAgentInformation withVersion(String version)

Set this version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.

Parameters:

version - the version value to set

Returns:

the NodeAgentInformation object itself.

Applies to