NodeAgentSku Class

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

public class NodeAgentSku

A node agent SKU supported by the Batch service. The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems.

Method Summary

Modifier and Type Method and Description
String id()

Get the id value.

OSType osType()

Get possible values include: 'linux', 'windows'.

List<ImageReference> verifiedImageReferences()

Get this collection is not exhaustive (the node agent may be compatible with other images).

NodeAgentSku withId(String id)

Set the id value.

NodeAgentSku withOsType(OSType osType)

Set possible values include: 'linux', 'windows'.

NodeAgentSku withVerifiedImageReferences(List<ImageReference> verifiedImageReferences)

Set this collection is not exhaustive (the node agent may be compatible with other images).

Method Details

id

public String id()

Get the id value.

Returns:

the id value

osType

public OSType osType()

Get possible values include: 'linux', 'windows'.

Returns:

the osType value

verifiedImageReferences

public List verifiedImageReferences()

Get this collection is not exhaustive (the node agent may be compatible with other images).

Returns:

the verifiedImageReferences value

withId

public NodeAgentSku withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the NodeAgentSku object itself.

withOsType

public NodeAgentSku withOsType(OSType osType)

Set possible values include: 'linux', 'windows'.

Parameters:

osType - the osType value to set

Returns:

the NodeAgentSku object itself.

withVerifiedImageReferences

public NodeAgentSku withVerifiedImageReferences(List verifiedImageReferences)

Set this collection is not exhaustive (the node agent may be compatible with other images).

Parameters:

verifiedImageReferences - the verifiedImageReferences value to set

Returns:

the NodeAgentSku object itself.

Applies to