MachineInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerservice. fluent. models. MachineInner
- com.
- com.
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
Machine |
fromJson(JsonReader jsonReader)
Reads an instance of Machine |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Machine |
properties()
Get the properties property: The properties of the machine. |
|
System |
systemData()
Get the system |
|
Json |
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:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MachineInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MachineInner.name()Returns:
properties
public MachineProperties properties()
Get the properties property: The properties of the machine.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MachineInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MachineInner.type()Returns:
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: