Share via


MachineInner Class

public final class MachineInner
extends ProxyResource

A machine. Contains details about the underlying virtual machine. A machine may be visible here but not in kubectl get nodes; if so it may be because the machine has not been registered with the Kubernetes API Server yet.

Method Summary

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

Reads an instance of MachineInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

MachineProperties properties()

Get the properties property: The properties of the machine.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

List<String> zones()

Get the zones property: The Availability zone in which machine is located.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

fromJson

public static MachineInner fromJson(JsonReader jsonReader)

Reads an instance of MachineInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MachineInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MachineInner.name()

Returns:

the name value.

properties

public MachineProperties properties()

Get the properties property: The properties of the machine.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MachineInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MachineInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

zones

public List<String> zones()

Get the zones property: The Availability zone in which machine is located.

Returns:

the zones value.

Applies to