MachineInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. containerservice. fluent. models. MachineInner
- com.
- com.
public final class MachineInner
extends SubResource
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.
Constructor Summary
Constructor | Description |
---|---|
MachineInner() |
Creates an instance of Machine |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Machine |
fromJson(JsonReader jsonReader)
Reads an instance of Machine |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Machine |
properties()
Get the properties property: The properties of the machine. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Machine |
withId(String id) |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
MachineInner
public MachineInner()
Creates an instance of MachineInner class.
Method Details
fromJson
public static MachineInner fromJson(JsonReader jsonReader)
Reads an instance of MachineInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
properties
public MachineProperties properties()
Get the properties property: The properties of the machine.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MachineInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public MachineInner withId(String id)
Overrides:
MachineInner.withId(String id)Parameters:
Applies to
Azure SDK for Java