Click or drag to resize
ServerBlockDeviceMapping Class
Defines how to boot a server from a volume.
Inheritance Hierarchy
SystemObject
  OpenStack.Compute.v2_1ServerBlockDeviceMapping

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

The ServerBlockDeviceMapping type exposes the following members.

Constructors
  NameDescription
Public methodServerBlockDeviceMapping
Initializes a new instance of the ServerBlockDeviceMapping class
Top
Properties
  NameDescription
Public propertyBootIndex
Defines the order in which a hypervisor tries devices when it attempts to boot the guest from storage.
Public propertyDeleteWithServer
Specifies if the volume should be deleted when the server is deleted.
Public propertyDestinationType
The source type of the volume.
Public propertyDestinationVolumeSize
The size of the destination volume, in GB.
Public propertyDeviceName
A path to the device for the volume that you want to use to boot the server.
Public propertyGuestFormat
Specifies how/if to format the device prior to attaching, and should be only used with blank local images.

Denotes a swap disk if the value is swap.

Public propertySourceId
The identifier of the source block device.
Public propertySourceType
The source type of the volume.
Top
Remarks
If you specify the volume status, you must set it to available. In the OpenStack Block Storage database, the volume attach_status must be detached.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also