VirtualMachine.UpdateStages.WithDeleteOptions Interface
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 Type | Method and Description |
---|---|
abstract Update |
withDataDisksDeleteOptions(DeleteOptions deleteOptions)
Specifies delete options for all the existing data disk attached to the VM. |
abstract Update |
withDataDisksDeleteOptions(DeleteOptions deleteOptions, Integer[] luns)
Specifies delete options for the existing data disk attached to the VM. |
abstract Update |
withNetworkInterfacesDeleteOptions(DeleteOptions deleteOptions)
Specifies delete options for all the existing network interfaces attached to the VM. |
abstract Update |
withNetworkInterfacesDeleteOptions(DeleteOptions deleteOptions, String[] nicIds)
Specifies delete options for the network interfaces attached to the VM. |
abstract Update |
withOsDiskDeleteOptions(DeleteOptions deleteOptions)
Specifies delete options for the OS disk of the VM. |
abstract Update |
withPrimaryNetworkInterfaceDeleteOptions(DeleteOptions deleteOptions)
Specifies delete options for the primary network interface of the VM. |
Method Details
withDataDisksDeleteOptions
public abstract 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 Update#apply() won't be affected.
Parameters:
Returns:
withDataDisksDeleteOptions
public abstract 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 Update#apply() won't be affected.
Parameters:
Returns:
withNetworkInterfacesDeleteOptions
public abstract 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 Update#apply() won't be affected.
Parameters:
Returns:
withNetworkInterfacesDeleteOptions
public abstract 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 Update#apply() won't be affected.
Parameters:
Returns:
withOsDiskDeleteOptions
public abstract VirtualMachine.Update withOsDiskDeleteOptions(DeleteOptions deleteOptions)
Specifies delete options for the OS disk of the VM.
Parameters:
Returns:
withPrimaryNetworkInterfaceDeleteOptions
public abstract VirtualMachine.Update withPrimaryNetworkInterfaceDeleteOptions(DeleteOptions deleteOptions)
Specifies delete options for the primary network interface of the VM.
Parameters:
Returns:
Applies to
Azure SDK for Java