Click or drag to resize
Volume Class
Represents a volume which can be attached to a server.
Inheritance Hierarchy
SystemObject
  OpenStack.Compute.v2_1Volume

Namespace: OpenStack.Compute.v2_1
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public class Volume : IServiceResource, IHaveExtraData

The Volume type exposes the following members.

Constructors
  NameDescription
Public methodVolume
Initializes a new instance of the Volume class.
Top
Methods
  NameDescription
Public methodDeleteAsync
Deletes a volume.
Public methodSnapshotAsync
Snapshots a volume.
Public methodWaitForStatusAsync(VolumeStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean, CancellationToken)
Waits for the volume to reach the specified status.
Public methodWaitForStatusAsync(IEnumerableVolumeStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean, CancellationToken)
Waits for the volume to reach the specified status.
Public methodWaitUntilAvailableAsync
Waits the until the volume is available.
Public methodWaitUntilDeletedAsync
Waits for the volume to be deleted.

Treats a 404 NotFound exception as confirmation that it is deleted.

Top
Extension Methods
  NameDescription
Public Extension MethodDelete
Deletes a volume.
(Defined by VolumeExtensions_v2_1.)
Public Extension MethodSnapshot
Snapshots a volume.
(Defined by VolumeExtensions_v2_1.)
Public Extension MethodWaitForStatus(VolumeStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean)Overloaded.
Waits for the volume to reach the specified status.
(Defined by VolumeExtensions_v2_1.)
Public Extension MethodWaitForStatus(IEnumerableVolumeStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean)Overloaded.
Waits for the volume to reach the specified status.
(Defined by VolumeExtensions_v2_1.)
Public Extension MethodWaitUntilAvailable
Waits the until the volume is available.
(Defined by VolumeExtensions_v2_1.)
Public Extension MethodWaitUntilDeleted
Waits for the volume to be deleted.

Treats a 404 NotFound exception as confirmation that it is deleted.

(Defined by VolumeExtensions_v2_1.)
Top
Properties
  NameDescription
Public propertyAttachments
A list of servers to which this volume is attached.
Public propertyAvailabilityZone
The availability zone.
Public propertyCreated
The date and time when the resource was created.
Public propertyDescription
The volume description.
Public propertyId
The volume identifier.
Public propertyMetadata
One or more metadata key and value pairs to associate with the volume.
Public propertyName
The volume name.
Public propertySize
The size of the volume, in gigabytes (GB).
Public propertySourceSnapshotId
The snapshot from which to create a volume.
Public propertyStatus
The volume status.
Public propertyVolumeTypeId
The unique identifier for a volume type.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also