Condividi tramite


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)

Associates an existing source managed disk with the VM.

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.

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(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(Int32)

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

WithNewDataDisk(Int32, Int32, CachingTypes)

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

WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

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

WithoutDataDisk(Int32)

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

Applies to