MachineProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. MachineProperties
- com.
Implements
public final class MachineProperties
implements JsonSerializable<MachineProperties>
The properties of the machine.
Constructor Summary
Constructor | Description |
---|---|
MachineProperties() |
Creates an instance of Machine |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Machine |
fromJson(JsonReader jsonReader)
Reads an instance of Machine |
Machine |
network()
Get the network property: network properties of the machine. |
String |
resourceId()
Get the resource |
Json |
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:
Returns:
Throws:
network
public MachineNetworkProperties network()
Get the network property: network properties of the machine.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Azure resource id of the machine. It can be used to GET underlying VM Instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java