3.1.9.4 IVdsVdProvider Interface

Virtual disk providers implement the IVdsVdProvider interface in order to support management of virtual disks.

The UUID for this interface is {B481498C-8354-45F9-84A0-0BDD2832A91F}.

The IVdsVdProvider methods are specified in section 3.4.5.2.17.

Methods in RPC Opnum Order

Method

Description

QueryVDisks

Returns a list of the virtual disks that are managed by the provider.

Opnum: 3

CreateVDisk

Defines a virtual hard disk by creating a virtual disk file backing store and adds a virtual hard disk object to the provider. Does NOT instantiate an operating system disk device.

Opnum: 4

AddVDisk

Adds a virtual disk object for the specified virtual disk file to the provider and returns an IVdsVDisk interface pointer to it.

Opnum: 5

GetDiskFromVDisk

Returns an IVdsDisk interface pointer for a virtual disk object given an IVdsVDisk interface pointer. The virtual disk MUST be attached.

Opnum: 6

GetVDiskFromDisk

Returns an IVdsVDisk interface pointer for the virtual disk object given an IVdsDisk interface pointer. The virtual disk MUST be attached.

Opnum: 7

All methods MUST NOT throw exceptions.