MachineProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.MachineProperties

Implements

public final class MachineProperties
implements JsonSerializable<MachineProperties>

The properties of the machine.

Constructor Summary

Constructor Description
MachineProperties()

Creates an instance of MachineProperties class.

Method Summary

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

Reads an instance of MachineProperties from the JsonReader.

MachineNetworkProperties network()

Get the network property: network properties of the machine.

String resourceId()

Get the resourceId property: Azure resource id of the machine.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

MachineProperties

public MachineProperties()

Creates an instance of MachineProperties class.

Method Details

fromJson

public static MachineProperties fromJson(JsonReader jsonReader)

Reads an instance of MachineProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

network

public MachineNetworkProperties network()

Get the network property: network properties of the machine.

Returns:

the network value.

resourceId

public String resourceId()

Get the resourceId property: Azure resource id of the machine. It can be used to GET underlying VM Instance.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to