Interface VirtualMachine.UpdateStages.WithDeleteOptions

All Known Subinterfaces:
VirtualMachine.Update, VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate
Enclosing interface:
VirtualMachine.UpdateStages

public static interface VirtualMachine.UpdateStages.WithDeleteOptions
The stage of the VM update allowing to change delete options of resources attached to this VM .
  • Method Details

    • withOsDiskDeleteOptions

      VirtualMachine.Update withOsDiskDeleteOptions(DeleteOptions deleteOptions)
      Specifies delete options for the OS disk of the VM.
      Parameters:
      deleteOptions - delete options for the OS disk
      Returns:
      the next stage of the update
    • withPrimaryNetworkInterfaceDeleteOptions

      VirtualMachine.Update withPrimaryNetworkInterfaceDeleteOptions(DeleteOptions deleteOptions)
      Specifies delete options for the primary network interface of the VM.
      Parameters:
      deleteOptions - delete options for the primary network interface
      Returns:
      the next stage of the update
    • withNetworkInterfacesDeleteOptions

      VirtualMachine.Update withNetworkInterfacesDeleteOptions(DeleteOptions deleteOptions, String... nicIds)
      Specifies delete options for the network interfaces attached to the VM.

      This operation only affects existing attached network interfaces. Any newly-attached network interfaces that appear before Appliable.apply() won't be affected.

      Parameters:
      deleteOptions - delete options for the network interfaces
      nicIds - resource IDs of the network interfaces
      Returns:
      the next stage of the update
    • withNetworkInterfacesDeleteOptions

      VirtualMachine.Update withNetworkInterfacesDeleteOptions(DeleteOptions deleteOptions)
      Specifies delete options for all the existing network interfaces attached to the VM.

      This operation only affects existing attached network interfaces. Any newly-attached network interfaces that appear before Appliable.apply() won't be affected.

      Parameters:
      deleteOptions - delete options for all the network interfaces
      Returns:
      the next stage of the update
    • withDataDisksDeleteOptions

      VirtualMachine.Update withDataDisksDeleteOptions(DeleteOptions deleteOptions, Integer... luns)
      Specifies delete options for the existing data disk attached to the VM.

      This operation only affects existing attached data disks. Any newly-attached data disks that appear before Appliable.apply() won't be affected.

      Parameters:
      deleteOptions - delete options for the data disk
      luns - the disk LUNs to update
      Returns:
      the next stage of the update
    • withDataDisksDeleteOptions

      VirtualMachine.Update withDataDisksDeleteOptions(DeleteOptions deleteOptions)
      Specifies delete options for all the existing data disk attached to the VM.

      This operation only affects existing attached data disks. Any newly-attached data disks that appear before Appliable.apply() won't be affected.

      Parameters:
      deleteOptions - delete options for all the data disk
      Returns:
      the next stage of the update