VirtualMachineInstanceUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. VirtualMachineInstanceUpdate
- com.
Implements
public final class VirtualMachineInstanceUpdate
implements JsonSerializable<VirtualMachineInstanceUpdate>
Defines the virtualMachineInstanceUpdate.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineInstanceUpdate() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
Hardware |
hardwareProfile()
Get the hardware |
|
Network |
networkProfile()
Get the network |
|
Storage |
storageProfile()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Virtual |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardware |
|
Virtual |
withNetworkProfile(NetworkProfileUpdate networkProfile)
Set the network |
|
Virtual |
withStorageProfile(StorageProfileUpdate storageProfile)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineInstanceUpdate
public VirtualMachineInstanceUpdate()
Creates an instance of VirtualMachineInstanceUpdate class.
Method Details
fromJson
public static VirtualMachineInstanceUpdate fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInstanceUpdate from the JsonReader.
Parameters:
Returns:
Throws:
hardwareProfile
public HardwareProfile hardwareProfile()
Get the hardwareProfile property: Specifies the hardware settings for the virtual machine.
Returns:
networkProfile
public NetworkProfileUpdate networkProfile()
Get the networkProfile property: Specifies the network interfaces of the virtual machine.
Returns:
storageProfile
public StorageProfileUpdate storageProfile()
Get the storageProfile property: Specifies the storage settings for the virtual machine disks.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHardwareProfile
public VirtualMachineInstanceUpdate withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the virtual machine.
Parameters:
Returns:
withNetworkProfile
public VirtualMachineInstanceUpdate withNetworkProfile(NetworkProfileUpdate networkProfile)
Set the networkProfile property: Specifies the network interfaces of the virtual machine.
Parameters:
Returns:
withStorageProfile
public VirtualMachineInstanceUpdate withStorageProfile(StorageProfileUpdate storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
Parameters:
Returns: