ComputeInstanceConnectivityEndpoints Class

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

Implements

public final class ComputeInstanceConnectivityEndpoints
implements JsonSerializable<ComputeInstanceConnectivityEndpoints>

Defines all connectivity endpoints and properties for an ComputeInstance.

Constructor Summary

Constructor Description
ComputeInstanceConnectivityEndpoints()

Creates an instance of ComputeInstanceConnectivityEndpoints class.

Method Summary

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

Reads an instance of ComputeInstanceConnectivityEndpoints from the JsonReader.

String privateIpAddress()

Get the privateIpAddress property: Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed).

String publicIpAddress()

Get the publicIpAddress property: Public IP Address of this ComputeInstance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ComputeInstanceConnectivityEndpoints

public ComputeInstanceConnectivityEndpoints()

Creates an instance of ComputeInstanceConnectivityEndpoints class.

Method Details

fromJson

public static ComputeInstanceConnectivityEndpoints fromJson(JsonReader jsonReader)

Reads an instance of ComputeInstanceConnectivityEndpoints from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ComputeInstanceConnectivityEndpoints 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 ComputeInstanceConnectivityEndpoints.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed).

Returns:

the privateIpAddress value.

publicIpAddress

public String publicIpAddress()

Get the publicIpAddress property: Public IP Address of this ComputeInstance.

Returns:

the publicIpAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to