NodeAgentInformation Class

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

public class NodeAgentInformation

Information about the Compute Node agent. The Batch Compute Node agent is a program that runs on each Compute Node in the Pool and provides Batch capability on the Compute Node.

Constructor Summary

Constructor Description
NodeAgentInformation()

Method Summary

Modifier and Type Method and Description
org.joda.time.DateTime lastUpdateTime()

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

String version()

Get this version number can be checked against the Compute 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 Compute Node agent was updated to a new version.

NodeAgentInformation withVersion(String version)

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

Methods inherited from java.lang.Object

Constructor Details

NodeAgentInformation

public NodeAgentInformation()

Method Details

lastUpdateTime

public DateTime lastUpdateTime()

Get this is the most recent time that the Compute 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 Compute 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 Compute 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 Compute 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