CreateRAIDofVM() Parent topic

Description

Create a RAID device from a virtual machine.

Interface

https://[SecureCloudService]/broker/API.svc/v3.5/vm/{imageGUID}/device/raid
Method: POST

Parameter

Parameter
Data Type
Description
Required?
imageGUID
GUID
The GUID of the virtual machine.
Yes

Request

Refer to the following data type: Device.

Response

Expected HTTP response code: 200 (OK)

Example Request URL

[POST]
https://ms.sample.securecloud.com/broker/API.svc/v3.5/vm/
      639F2224-637D-49AA-876B-AFBAD59AFADA/device/raid

Example Request Message

<?xml version="1.0" encoding="utf-8"?>
<device msUID="6068C4CA-A5A0-45AF-9266-6A2E9BC929EB"
      name="/dev/raid" raidLevel="RAID0">
      <description/>
      <fileSystem>ext3</fileSystem>
      <volume>
            <mountPoint>/mnt/hd1</mountPoint>
      </volume>
      <subDevices>
            <device msUID="20429344-1a3b-4676-bbc9-7b8b6db66d67"/>
            <device msUID="e95eb822-c3eb-41f6-93c0-ec13a09500c7"/>
      </subDevices>
</device>

Example Response

n/a