AmlComputeNodeInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.AmlComputeNodeInformation

Implements

public final class AmlComputeNodeInformation
implements JsonSerializable<AmlComputeNodeInformation>

Compute node information related to a AmlCompute.

Constructor Summary

Constructor Description
AmlComputeNodeInformation()

Creates an instance of AmlComputeNodeInformation class.

Method Summary

Modifier and Type Method and Description
static AmlComputeNodeInformation fromJson(JsonReader jsonReader)

Reads an instance of AmlComputeNodeInformation from the JsonReader.

String nodeId()

Get the nodeId property: ID of the compute node.

NodeState nodeState()

Get the nodeState property: State of the compute node.

Integer port()

Get the port property: SSH port number of the node.

String privateIpAddress()

Get the privateIpAddress property: Private IP address of the compute node.

String publicIpAddress()

Get the publicIpAddress property: Public IP address of the compute node.

String runId()

Get the runId property: ID of the Experiment running on the node, if any else null.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AmlComputeNodeInformation

public AmlComputeNodeInformation()

Creates an instance of AmlComputeNodeInformation class.

Method Details

fromJson

public static AmlComputeNodeInformation fromJson(JsonReader jsonReader)

Reads an instance of AmlComputeNodeInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AmlComputeNodeInformation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AmlComputeNodeInformation.

nodeId

public String nodeId()

Get the nodeId property: ID of the compute node.

Returns:

the nodeId value.

nodeState

public NodeState nodeState()

Get the nodeState property: State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.

Returns:

the nodeState value.

port

public Integer port()

Get the port property: SSH port number of the node.

Returns:

the port value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: Private IP address of the compute node.

Returns:

the privateIpAddress value.

publicIpAddress

public String publicIpAddress()

Get the publicIpAddress property: Public IP address of the compute node.

Returns:

the publicIpAddress value.

runId

public String runId()

Get the runId property: ID of the Experiment running on the node, if any else null.

Returns:

the runId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to