Share via


IWithManagedDataDisk Interface

Definition

The stage of a virtual machine update allowing to specify a managed data disk.

public interface IWithManagedDataDisk
type IWithManagedDataDisk = interface
Public Interface IWithManagedDataDisk
Derived

Methods

WithExistingDataDisk(IDisk, Int32, CachingTypes)

Specifies an existing source managed disk and settings.

WithExistingDataDisk(IDisk, Int32, Int32, CachingTypes)

Specifies an existing source managed disk and settings.

WithExistingDataDisk(IDisk)

Associates an existing source managed disk with the VM.

WithNewDataDisk(ICreatable<IDisk>, Int32, CachingTypes)

Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk.

WithNewDataDisk(ICreatable<IDisk>)

Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk.

WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

Specifies that a managed disk needs to be created implicitly with the given settings.

WithNewDataDisk(Int32, Int32, CachingTypes)

Specifies that a managed disk needs to be created implicitly with the given settings.

WithNewDataDisk(Int32)

Specifies that a managed disk needs to be created implicitly with the given size.

WithoutDataDisk(Int32)

Detaches a managed data disk with the given LUN from the virtual machine.

Applies to