Class VirtualMachineUpdateProperties

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineUpdateProperties

public final class VirtualMachineUpdateProperties extends Object
Defines the resource properties.
  • Constructor Details

    • VirtualMachineUpdateProperties

      public VirtualMachineUpdateProperties()
  • Method Details

    • hardwareProfile

      public HardwareProfile hardwareProfile()
      Get the hardwareProfile property: Defines the resource properties.
      Returns:
      the hardwareProfile value.
    • withHardwareProfile

      public VirtualMachineUpdateProperties withHardwareProfile(HardwareProfile hardwareProfile)
      Set the hardwareProfile property: Defines the resource properties.
      Parameters:
      hardwareProfile - the hardwareProfile value to set.
      Returns:
      the VirtualMachineUpdateProperties object itself.
    • osProfile

      public OsProfileUpdate osProfile()
      Get the osProfile property: OS properties.
      Returns:
      the osProfile value.
    • withOsProfile

      public VirtualMachineUpdateProperties withOsProfile(OsProfileUpdate osProfile)
      Set the osProfile property: OS properties.
      Parameters:
      osProfile - the osProfile value to set.
      Returns:
      the VirtualMachineUpdateProperties object itself.
    • storageProfile

      public StorageProfileUpdate storageProfile()
      Get the storageProfile property: Defines the resource update properties.
      Returns:
      the storageProfile value.
    • withStorageProfile

      public VirtualMachineUpdateProperties withStorageProfile(StorageProfileUpdate storageProfile)
      Set the storageProfile property: Defines the resource update properties.
      Parameters:
      storageProfile - the storageProfile value to set.
      Returns:
      the VirtualMachineUpdateProperties object itself.
    • networkProfile

      public NetworkProfileUpdate networkProfile()
      Get the networkProfile property: Defines the update resource properties.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public VirtualMachineUpdateProperties withNetworkProfile(NetworkProfileUpdate networkProfile)
      Set the networkProfile property: Defines the update resource properties.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the VirtualMachineUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.