VirtualMachineInstanceUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. fluent. models. VirtualMachineInstanceUpdateProperties
- com.
Implements
public final class VirtualMachineInstanceUpdateProperties
implements JsonSerializable<VirtualMachineInstanceUpdateProperties>
Describes the properties of a Virtual Machine.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineInstanceUpdateProperties() |
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
VirtualMachineInstanceUpdateProperties
public VirtualMachineInstanceUpdateProperties()
Creates an instance of VirtualMachineInstanceUpdateProperties class.
Method Details
fromJson
public static VirtualMachineInstanceUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInstanceUpdateProperties 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 VirtualMachineInstanceUpdateProperties withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the virtual machine.
Parameters:
Returns:
withNetworkProfile
public VirtualMachineInstanceUpdateProperties withNetworkProfile(NetworkProfileUpdate networkProfile)
Set the networkProfile property: Specifies the network interfaces of the virtual machine.
Parameters:
Returns:
withStorageProfile
public VirtualMachineInstanceUpdateProperties withStorageProfile(StorageProfileUpdate storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
Parameters:
Returns: