3.1.13.1 IVdsVolume Interface

The IVdsVolume interface provides methods to manage volumes.

The UUID for this interface is {88306BB2-E71F-478C-86A2-79DA200A0F11}.

The IVdsVolume methods are specified in section 3.4.5.2.32.

All methods MUST NOT throw exceptions.

Methods in RPC Opnum Order

Method

Description

GetProperties

Retrieves the properties of the volume that is represented by the object exposing this interface and method.

Opnum: 3

GetPack

Retrieves the disk pack to which the volume belongs.

Opnum: 4

QueryPlexes

Enumerates the plexes of a volume.

Opnum: 5

Extend

Expands the size of the current volume by adding disk extents to each member of each plex.

Opnum: 6

Shrink

Reduces the size of the volume and all plexes and returns the released extents to free space.

Opnum: 7

AddPlex

Adds a volume as a plex to the current volume.

Opnum: 8

BreakPlex

Removes a specified plex from the current volume.

Opnum: 9

RemovePlex

Removes a specified plex from a volume. The last plex of a volume cannot be removed.

Opnum: 10

Delete

Deletes all plexes in a volume. This method is not implemented for removable disks.

Opnum: 11

SetFlags

Assigns flags to a volume. This method is not implemented for removable disks.

Opnum: 12

ClearFlags

Clears flags from a volume. This method is not implemented for removable disks.

Opnum: 13