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 Summary
Modifier and TypeMethodDescriptionwithDataDisksDeleteOptions(DeleteOptions deleteOptions, Integer... luns) Specifies delete options for the existing data disk attached to the VM.withNetworkInterfacesDeleteOptions(DeleteOptions deleteOptions, String... nicIds) Specifies delete options for the network interfaces attached to the VM.withOsDiskDeleteOptions(DeleteOptions deleteOptions) Specifies delete options for the OS disk of the VM.withPrimaryNetworkInterfaceDeleteOptions(DeleteOptions deleteOptions) Specifies delete options for the primary network interface of the VM.
-
Method Details
-
withOsDiskDeleteOptions
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
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 interfacesnicIds- resource IDs of the network interfaces- Returns:
- the next stage of the update
-
withDataDisksDeleteOptions
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 diskluns- the disk LUNs to update- Returns:
- the next stage of the update
-