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:

deleteOptions - delete options for all the data disk

Returns:

the next stage of the update

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:

deleteOptions - delete options for the data disk
luns - the disk LUNs to update

Returns:

the next stage of the update

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:

deleteOptions - delete options for all the network interfaces

Returns:

the next stage of the update

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:

deleteOptions - delete options for the network interfaces
nicIds - resource IDs of the network interfaces

Returns:

the next stage of the update

withOsDiskDeleteOptions

public abstract 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

public abstract 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

Applies to