forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
533 lines
44 KiB
HTML
533 lines
44 KiB
HTML
<a name="evs_04_2005"></a><a name="evs_04_2005"></a>
|
|
|
|
<h1 class="topictitle1">Querying Details About All Disks</h1>
|
|
<div id="body66839947"><div class="section" id="evs_04_2005__section37076589"><h4 class="sectiontitle">Function</h4><p id="evs_04_2005__p45326617">This API is used to query details about all disks.</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2005__section65253851"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2005__ul47577364"><li id="evs_04_2005__li25543093">URI format<p id="evs_04_2005__p55724670"><a name="evs_04_2005__li25543093"></a><a name="li25543093"></a>GET /v2/{project_id}/cloudvolumes/detail</p>
|
|
</li><li id="evs_04_2005__li31759983">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__table17404391" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__row60677108"><th align="left" class="cellrowborder" valign="top" width="33.33%" id="mcps1.3.2.2.2.1.1.4.1.1"><p id="evs_04_2005__p15898735">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.06%" id="mcps1.3.2.2.2.1.1.4.1.2"><p id="evs_04_2005__p12729171">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.61%" id="mcps1.3.2.2.2.1.1.4.1.3"><p id="evs_04_2005__p24429894">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__row32664435"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_2005__p28573568">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.06%" headers="mcps1.3.2.2.2.1.1.4.1.2 "><p id="evs_04_2005__p32757653">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.2.2.2.1.1.4.1.3 "><p id="evs_04_2005__p36124251">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li56682808">Request filter parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__table4291376694520" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__row75210794520"><th align="left" class="cellrowborder" valign="top" width="15.78%" id="mcps1.3.2.2.3.1.1.5.1.1"><p id="evs_04_2005__p6092069194520">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.229999999999999%" id="mcps1.3.2.2.3.1.1.5.1.2"><p id="evs_04_2005__p3562891594520">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.29%" id="mcps1.3.2.2.3.1.1.5.1.3"><p id="evs_04_2005__p26101294520">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51.7%" id="mcps1.3.2.2.3.1.1.5.1.4"><p id="evs_04_2005__p2114201394520">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__row3478152794520"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p6584033094520">marker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p3146649394520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p6575797694520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><p id="evs_04_2005__p2479584494520"><span id="evs_04_2005__text1258514515457">Specifies the ID of the last record on the previous page. The returned value is the value of the item after this one.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row2183600894520"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p2388619194520">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p5573333994520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p1810664494520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><p id="evs_04_2005__p5735206594520">Specifies the disk name. <span id="evs_04_2005__text190068615920169">The value can contain a maximum of 255 bytes.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row4640654394520"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p83363894520">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p41584594520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p3368350994520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><p id="evs_04_2005__p4400972694520">Specifies the disk status. For details, see <a href="evs_04_0040.html">EVS Disk Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row6054321594520"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p505334394520">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p666761194520">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p320564494520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><p id="evs_04_2005__p5833065094520">Specifies the maximum number of query results that can be returned.</p>
|
|
<p id="evs_04_2005__p227915467717"><span id="evs_04_2005__text138349551887">The value ranges from 1 to 1000, and the default value is 1000. The returned value cannot exceed this limit.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row23814382153012"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p54096667153021">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p1313706153028">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p16317649153012">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><p id="evs_04_2005__p10344004153039">Specifies the AZ.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row5521380794520"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p4313339594520">sort_key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p414407094520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p12542794520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><p id="evs_04_2005__p1015961694520">Specifies the keyword based on which the returned results are sorted. The value can be <strong id="evs_04_2005__b8179170145811">id</strong>, <strong id="evs_04_2005__b9180110105816">status</strong>, <strong id="evs_04_2005__b1181508585">size</strong>, or <strong id="evs_04_2005__b1918113085812">created_at</strong>, and the default value is <strong id="evs_04_2005__b161826015814">created_at</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row2432768294520"><td class="cellrowborder" valign="top" width="15.78%" headers="mcps1.3.2.2.3.1.1.5.1.1 "><p id="evs_04_2005__p2438521994520">sort_dir</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.3.1.1.5.1.2 "><p id="evs_04_2005__p2904568894520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.2.2.3.1.1.5.1.3 "><p id="evs_04_2005__p389050594520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.7%" headers="mcps1.3.2.2.3.1.1.5.1.4 "><div class="p" id="evs_04_2005__p85141444124814">Specifies the result sorting order. The default value is <strong id="evs_04_2005__b1590792375812">desc</strong>.<ul id="evs_04_2005__ul1097217103492"><li id="evs_04_2005__li19972101015491"><strong id="evs_04_2005__b195172510587">desc</strong>: indicates the descending order.</li><li id="evs_04_2005__li49721010104910"><strong id="evs_04_2005__b17211027125810">asc</strong>: indicates the ascending order.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2005__section50413755"><h4 class="sectiontitle">Request</h4><div class="p" id="evs_04_2005__p68902433512">The following example shows how to query the disks in the <strong id="evs_04_2005__b18493141018567">available</strong> state.<ul id="evs_04_2005__ul1618599088"><li id="evs_04_2005__li81864915817">Example request<pre class="screen" id="evs_04_2005__screen85415131181">GET https://{endpoint}/v2/{project_id}/cloudvolumes/detail?status=available</pre>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="evs_04_2005__section51070612"><h4 class="sectiontitle">Response</h4><ul id="evs_04_2005__ul25394981"><li id="evs_04_2005__li13301791611">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__table84066241518" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__row12406192413112"><th align="left" class="cellrowborder" valign="top" width="19.05%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="evs_04_2005__p44071924617">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.810000000000002%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="evs_04_2005__p1740719241010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="evs_04_2005__p13407524412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__row1540722420116"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="evs_04_2005__p7407924310">volumes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="evs_04_2005__p12407102418117">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="evs_04_2005__p1440714241716">Specifies the list of queried disks. For details, see <a href="#evs_04_2005__li7558467201357">Parameters in the volumes field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row9632115616119"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="evs_04_2005__p129522216412">error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="evs_04_2005__p1595262111415">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="evs_04_2005__p109527215417">Specifies the error message returned when an error occurs. For details, see <a href="#evs_04_2005__li0419202382514">Parameters in the error field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li7558467201357"><a name="evs_04_2005__li7558467201357"></a><a name="li7558467201357"></a>Parameters in the <strong id="evs_04_2005__b1519104717615">volumes</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__table2981836711145" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__row3364554311145"><th align="left" class="cellrowborder" valign="top" width="19.05%" id="mcps1.3.4.2.2.2.1.4.1.1"><p id="evs_04_2005__p4093449711145">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.810000000000002%" id="mcps1.3.4.2.2.2.1.4.1.2"><p id="evs_04_2005__p2735998811145">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.4.2.2.2.1.4.1.3"><p id="evs_04_2005__p5978048211145">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__row1038087811145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p3554478611145">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p6055544711145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p1981792311145"><span id="evs_04_2005__text193761052172315">Specifies the disk ID.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row4414357911145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p1886016511145">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p5127838711145">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p2076537311145">Specifies the disk URI. For details, see <a href="#evs_04_2005__li1043159617124">Parameters in the links field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row5267063211145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p3846276911145">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p2847654611145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p354371011145">Specifies the disk name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row3189339611145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p3322829411145">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p713731711145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p5306151211145">Specifies the disk status. For details, see <a href="evs_04_0040.html">EVS Disk Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row779156211145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p2713676711145">attachments</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p5059453311145">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p3029347411145">Specifies the disk attachment information. For details, see <a href="#evs_04_2005__li3900093617124">Parameters in the attachments field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row420581811145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p512694011145">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p1262901111145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p4660854311145">Specifies the AZ to which the disk belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row1682370811145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p2054314211145">source_volid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p5338183311145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p6415551111145">Specifies the source disk ID. This parameter has a value if the disk is created from a source disk.</p>
|
|
<p id="evs_04_2005__p152173372473"><span id="evs_04_2005__text88578719717">Currently, this field is not supported by EVS.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row4052869111145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p6159857511145">snapshot_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p2342864611145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p3605277911145">Specifies the snapshot ID. This parameter has a value if the disk is created from a snapshot.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row5603956011145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p4291047811145">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p5319669311145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p5741254811145">Specifies the disk description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row4695089011145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p4492573411145">os-vol-tenant-attr:tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p1510579811145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p5645845111145">Specifies the ID of the tenant to which the disk belongs. <span id="evs_04_2005__text19941457165313">The tenant ID is actually the project ID.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row3836401911145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p2047785411145">volume_image_metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p4809349011145">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p6261854611145">Specifies the metadata of the disk image.</p>
|
|
<div class="note" id="evs_04_2005__note15692019279"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="evs_04_2005__evs_04_2009_p1888154732118">For details about <strong id="evs_04_2005__evs_04_2009_b1583910241610">volume_image_metadata</strong>, see <strong id="evs_04_2005__evs_04_2009_b48471428167">Querying Image Details (Native OpenStack API)</strong> in the <em id="evs_04_2005__evs_04_2009_i1384712215164">Image Management Service API Reference</em>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row2669600511145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p1489277711145">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p6546428211145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p1442502411145">Specifies the time when the disk was created.</p>
|
|
<p id="evs_04_2005__p15772145473814"><span id="evs_04_2005__text151181202390">Time format: UTC YYYY-MM-DDTHH:MM:SS.XXXXXX</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row6271635911145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p4686035111145">volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p3759207111145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__evs_04_2010_p47786148539">Specifies the disk type.</p>
|
|
<div class="p" id="evs_04_2005__p12887229134510">Currently, the value can be <strong id="evs_04_2005__evs_04_2003_b842352706164929">SSD</strong>, <strong id="evs_04_2005__evs_04_2003_b842352706164932">SAS</strong>, <strong id="evs_04_2005__evs_04_2003_b842352706164937">SATA</strong>, <strong id="evs_04_2005__evs_04_2003_b842352706164941">co-p1</strong>, or <strong id="evs_04_2005__evs_04_2003_b842352706164944">uh-l1</strong>.<ul id="evs_04_2005__evs_04_2003_ul11489121916439"><li id="evs_04_2005__evs_04_2003_li15488111934310"><strong id="evs_04_2005__evs_04_2003_b842352706165021">SSD</strong>: specifies the ultra-high I/O disk type.</li><li id="evs_04_2005__evs_04_2003_li0488119194318"><strong id="evs_04_2005__evs_04_2003_b1784237562165049">SAS</strong>: specifies the high I/O disk type.</li><li id="evs_04_2005__evs_04_2003_li348881917438"><strong id="evs_04_2005__evs_04_2003_b3295367816515">SATA</strong>: specifies the common I/O disk type.</li><li id="evs_04_2005__evs_04_2003_li848817193433"><strong id="evs_04_2005__evs_04_2003_b141033785">co-p1</strong>: specifies the high I/O (performance-optimized I) disk type.</li><li id="evs_04_2005__evs_04_2003_li548917194430"><strong id="evs_04_2005__evs_04_2003_b1336833005">uh-l1</strong>: specifies the ultra-high I/O (latency-optimized) disk type.<p id="evs_04_2005__evs_04_2003_p14488819154320">Disks of the <strong id="evs_04_2005__evs_04_2003_b108664633815116">co-p1</strong> and <strong id="evs_04_2005__evs_04_2003_b104594858115116">uh-l1</strong> types are used exclusively for HPC ECSs and SAP HANA ECSs.</p>
|
|
</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row1431806011145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p1891222511145">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p5549524211145">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p3869865011145">Specifies the disk size, in GB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row1274353211145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p2559317611145">bootable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p5978137211145">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><div class="p" id="evs_04_2005__evs_04_2010_p8780414125315">Specifies whether the disk is bootable.<ul id="evs_04_2005__ul185931714111"><li id="evs_04_2005__li135936114118"><strong id="evs_04_2005__b72091815195712">true</strong>: specifies a bootable disk.</li><li id="evs_04_2005__li1593611917"><strong id="evs_04_2005__b3175717185714">false</strong>: specifies a non-bootable disk.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row3693082411145"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p3860677311145">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p4014092711145">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p38279193144214">Specifies the disk metadata. For details, see <a href="#evs_04_2005__li29114110314">Parameters in the metadata field</a>.</p>
|
|
<p id="evs_04_2005__p34393810144258">If <strong id="evs_04_2005__b842352706182520">metadata</strong> does not contain the <strong id="evs_04_2005__b842352706143434">hw:passthrough</strong> field, the disk device type is VBD.</p>
|
|
<p id="evs_04_2005__p63879909144259">If <strong id="evs_04_2005__b842352706182629">metadata</strong> does not contain the <strong id="evs_04_2005__b842352706143455">__system__encrypted</strong> field, the disk is not encrypted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row27570907112011"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p18650967112011">os-vol-host-attr:host</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p34333384112011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p43991208112011"><span id="evs_04_2005__text203605127103">Reserved field</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row5671275145922"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p637448871502">shareable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p630621881502">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2005__p248703561502">Specifies whether the disk is shareable.</p>
|
|
<div class="note" id="evs_04_2005__note3800959821323"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="evs_04_2005__p45212589213213">This field is no longer used. Use <strong id="evs_04_2005__b84235270610834">multiattach</strong>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row63276793114824"><td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2005__p53765166114828">multiattach</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2005__p60011165114828">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><div class="p" id="evs_04_2005__evs_04_2010_p4781191416535">Specifies whether the disk is shareable.<ul id="evs_04_2005__ul161621719119"><li id="evs_04_2005__li91631519818"><strong id="evs_04_2005__b133401139135710">true</strong>: specifies a shared disk.</li><li id="evs_04_2005__li1916311191410"><strong id="evs_04_2005__b1432074014578">false</strong>: specifies a non-shared disk.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li1043159617124"><a name="evs_04_2005__li1043159617124"></a><a name="li1043159617124"></a>Parameters in the <strong id="evs_04_2005__b84235270692535">links</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__table4005083311851" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__row4647546111851"><th align="left" class="cellrowborder" valign="top" width="19.27807219278072%" id="mcps1.3.4.2.3.2.1.4.1.1"><p id="evs_04_2005__p641601411851">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.0975902409759%" id="mcps1.3.4.2.3.2.1.4.1.2"><p id="evs_04_2005__p4993509511851">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.624337566243376%" id="mcps1.3.4.2.3.2.1.4.1.3"><p id="evs_04_2005__p6579322611851">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__row2765107611851"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.3.2.1.4.1.1 "><p id="evs_04_2005__p2514470311851">href</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.3.2.1.4.1.2 "><p id="evs_04_2005__p2345507511851">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.3.2.1.4.1.3 "><p id="evs_04_2005__p812224311851">Specifies the corresponding shortcut link.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row599132611851"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.3.2.1.4.1.1 "><p id="evs_04_2005__p1553537811851">rel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.3.2.1.4.1.2 "><p id="evs_04_2005__p5040609911851">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.3.2.1.4.1.3 "><p id="evs_04_2005__p193416911851">Specifies the shortcut link marker name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li3900093617124"><a name="evs_04_2005__li3900093617124"></a><a name="li3900093617124"></a>Parameters in the <strong id="evs_04_2005__b495948795">attachments</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__table3471673811913" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__row950913211913"><th align="left" class="cellrowborder" valign="top" width="19.27807219278072%" id="mcps1.3.4.2.4.2.1.4.1.1"><p id="evs_04_2005__p3204224811913">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.0975902409759%" id="mcps1.3.4.2.4.2.1.4.1.2"><p id="evs_04_2005__p4528532911913">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.624337566243376%" id="mcps1.3.4.2.4.2.1.4.1.3"><p id="evs_04_2005__p2610634411913">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__row3423911011913"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p2190452911913">server_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p2943640011913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p6002094011913">Specifies the ID of the server to which the disk is attached.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row331754911913"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p28604711913">attachment_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p2316983311913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p1570218411913">Specifies the ID of the attachment information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row41611216113819"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p26997962113823">attached_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p39351338113823">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p16333436113823">Specifies the time when the disk was attached.</p>
|
|
<p id="evs_04_2005__p103581088395"><span id="evs_04_2005__text136037162396">Time format: UTC YYYY-MM-DDTHH:MM:SS.XXXXXX</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row710192811913"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p3838529111913">host_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p2220087511913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p3370764811913">Specifies the name of the physical host accommodating the server to which the disk is attached.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row3493337611913"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p1103121411913">volume_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p2111318111913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p1089110111913">Specifies the disk ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row3091104611913"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p2076682611913">device</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p439134611913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p2192276811913">Specifies the device name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__row6308718811913"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.4.2.4.2.1.4.1.1 "><p id="evs_04_2005__p978858311913">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.4.2.4.2.1.4.1.2 "><p id="evs_04_2005__p5467773011913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.4.2.4.2.1.4.1.3 "><p id="evs_04_2005__p4371205011913">Specifies the ID of the attached resource.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li29114110314"><a name="evs_04_2005__li29114110314"></a><a name="li29114110314"></a>Parameters in the <strong id="evs_04_2005__evs_04_3004_b1734614164165">metadata</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__evs_04_3004_table3430728295554" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__evs_04_3004_row4496975195554"><th align="left" class="cellrowborder" valign="top" width="20.24%" id="mcps1.3.4.2.5.2.1.4.1.1"><p id="evs_04_2005__evs_04_3004_p8809200174410">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.62%" id="mcps1.3.4.2.5.2.1.4.1.2"><p id="evs_04_2005__evs_04_3004_p168135017449">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.4.2.5.2.1.4.1.3"><p id="evs_04_2005__evs_04_3004_p1282213034412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__evs_04_3004_row456195295554"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.5.2.1.4.1.1 "><p id="evs_04_2005__evs_04_3004_p1562408795622">__system__encrypted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.5.2.1.4.1.2 "><p id="evs_04_2005__evs_04_3004_p5759155095622">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.5.2.1.4.1.3 "><div class="p" id="evs_04_2005__evs_04_3004_p177192813501">Specifies the parameter that describes the encryption function in <strong id="evs_04_2005__evs_04_3004_b84235270614509">metadata</strong>. The value can be <strong id="evs_04_2005__evs_04_3004_b842352706145015">0</strong> or <strong id="evs_04_2005__evs_04_3004_b842352706145020">1</strong>.<ul id="evs_04_2005__evs_04_3004_ul141951225145011"><li id="evs_04_2005__evs_04_3004_li191951925125013"><strong id="evs_04_2005__evs_04_3004_b842352706145038">0</strong>: indicates the disk is not encrypted.</li><li id="evs_04_2005__evs_04_3004_li11195192510508"><strong id="evs_04_2005__evs_04_3004_b842352706145058">1</strong>: indicates the disk is encrypted.</li><li id="evs_04_2005__evs_04_3004_li191958257506">If this parameter does not appear, the disk is not encrypted by default.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__evs_04_3004_row247050109562"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.5.2.1.4.1.1 "><p id="evs_04_2005__evs_04_3004_p241272995622">__system__cmkid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.5.2.1.4.1.2 "><p id="evs_04_2005__evs_04_3004_p6121338895622">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.5.2.1.4.1.3 "><p id="evs_04_2005__evs_04_3004_p4159804295622">Specifies the encryption CMK ID in <strong id="evs_04_2005__evs_04_3004_b84235270615116">metadata</strong>. This parameter is used together with <strong id="evs_04_2005__evs_04_3004_b842352706143827">__system__encrypted</strong> for encryption. The length of <strong id="evs_04_2005__evs_04_3004_b84235270614396">cmkid</strong> is fixed at 36 bytes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__evs_04_3004_row60499086104915"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.5.2.1.4.1.1 "><p id="evs_04_2005__evs_04_3004_p1478896104915">hw:passthrough</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.5.2.1.4.1.2 "><p id="evs_04_2005__evs_04_3004_p52681767104915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.5.2.1.4.1.3 "><div class="p" id="evs_04_2005__evs_04_3004_p17177177145116">Specifies the parameter that describes the disk device type in <strong id="evs_04_2005__evs_04_3004_b84235270615173">metadata</strong>. The value can be <strong id="evs_04_2005__evs_04_3004_b842352706151718">true</strong> or <strong id="evs_04_2005__evs_04_3004_b842352706151722">false</strong>.<ul id="evs_04_2005__evs_04_3004_ul14462208141855"><li id="evs_04_2005__evs_04_3004_li16942218141855">If this parameter is set to <strong id="evs_04_2005__evs_04_3004_b55868159103732">true</strong>, the disk device type is SCSI, which allows ECS OSs to directly access the underlying storage media and supports SCSI reservation commands.</li><li id="evs_04_2005__evs_04_3004_li42055621173515">If this parameter is set to <strong id="evs_04_2005__evs_04_3004_b1524131935716">false</strong>, the disk device type is VBD (the default type), that is, Virtual Block Device (VBD), which supports only simple SCSI read/write commands.</li><li id="evs_04_2005__evs_04_3004_li922714915316">If this parameter does not appear, the disk device type is VBD.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__evs_04_3004_row991210132288"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.5.2.1.4.1.1 "><p id="evs_04_2005__evs_04_3004_p3500156018292">full_clone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.5.2.1.4.1.2 "><p id="evs_04_2005__evs_04_3004_p1655411118292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.5.2.1.4.1.3 "><p id="evs_04_2005__evs_04_3004_p47931946183150">Specifies the clone method. When the disk is created from a snapshot, the parameter value is <strong id="evs_04_2005__evs_04_3004_b84235270616922">0</strong>, indicating the linked cloning method.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li0419202382514"><a name="evs_04_2005__li0419202382514"></a><a name="li0419202382514"></a>Parameters in the <strong id="evs_04_2005__evs_04_2013_b1288034833610">error</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2005__evs_04_2013_table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2005__evs_04_2013_row54094047103019"><th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.4.2.6.2.1.4.1.1"><p id="evs_04_2005__evs_04_2013_p19541716103019">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.4.2.6.2.1.4.1.2"><p id="evs_04_2005__evs_04_2013_p39375186103019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.64423557644236%" id="mcps1.3.4.2.6.2.1.4.1.3"><p id="evs_04_2005__evs_04_2013_p38578950103019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2005__evs_04_2013_row59401790103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.6.2.1.4.1.1 "><p id="evs_04_2005__evs_04_2013_p46815658103019">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.6.2.1.4.1.2 "><p id="evs_04_2005__evs_04_2013_p33971979103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.4.2.6.2.1.4.1.3 "><p id="evs_04_2005__evs_04_2013_p21623243103019">Specifies the error message returned when an error occurs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2005__evs_04_2013_row60391466103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.6.2.1.4.1.1 "><p id="evs_04_2005__evs_04_2013_p59870541103019">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.6.2.1.4.1.2 "><p id="evs_04_2005__evs_04_2013_p17675690103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.4.2.6.2.1.4.1.3 "><p id="evs_04_2005__evs_04_2013_p6087468103019">Specifies the error code returned when an error occurs.</p>
|
|
<p id="evs_04_2005__evs_04_2013_p54787218103019">For details about the error code, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2005__li27228238">Example response<pre class="screen" id="evs_04_2005__screen115613581039">{
|
|
"volumes": [
|
|
{
|
|
"id": "c6ccc84e-feff-4114-ad83-42a11c0434e2",
|
|
"links": [
|
|
{
|
|
"href": "https://volume.az0.dc1.domainname.com/v2/9e179fd535e44f19a9dabb36deadf47e/volumes/c6ccc84e-feff-4114-ad83-42a11c0434e2",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "https://volume.az0.dc1.domainname.com/9e179fd535e44f19a9dabb36deadf47e/volumes/c6ccc84e-feff-4114-ad83-42a11c0434e2",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "test_volume",
|
|
"status": "available",
|
|
"attachments": [ ],
|
|
"description": null,
|
|
"size": 100,
|
|
"metadata": null,
|
|
"bootable": "false",
|
|
"availability_zone": "az-dc-1",
|
|
"os-vol-host-attr:host": "az-dc-1#sata",
|
|
"source_volid": null,
|
|
"snapshot_id": null,
|
|
"created_at": "2015-09-17T06:37:16.275659",
|
|
"volume_type": "SATA",
|
|
"os-vol-tenant-attr:tenant_id": "9e179fd535e44f19a9dabb36deadf47e",
|
|
"volume_image_metadata": null
|
|
},
|
|
{
|
|
"id": "a05d9342-bf27-44a6-8ab8-33afc7545d19",
|
|
"links": [
|
|
{
|
|
"href": "https://volume.az0.dc1.domainname.com/v2/9e179fd535e44f19a9dabb36deadf47e/volumes/a05d9342-bf27-44a6-8ab8-33afc7545d19",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "https://volume.az0.dc1.domainname.com/9e179fd535e44f19a9dabb36deadf47e/volumes/a05d9342-bf27-44a6-8ab8-33afc7545d19",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "test_volume",
|
|
"status": "available",
|
|
"attachments": [ ],
|
|
"description": null,
|
|
"size": 100,
|
|
"metadata": null,
|
|
"bootable": "false",
|
|
"availability_zone": "az-dc-1",
|
|
"os-vol-host-attr:host": "az-dc-1#sata",
|
|
"source_volid": null,
|
|
"snapshot_id": null,
|
|
"created_at": "2015-09-17T06:37:16.192556",
|
|
"volume_type": "SATA",
|
|
"os-vol-tenant-attr:tenant_id": "9e179fd535e44f19a9dabb36deadf47e",
|
|
"volume_image_metadata": null
|
|
}
|
|
]
|
|
}</pre>
|
|
<p id="evs_04_2005__p885082">or</p>
|
|
<pre class="screen" id="evs_04_2005__screen3819634310315">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2005__section56982329"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2005__ul51488960"><li id="evs_04_2005__li60747463">Normal<p id="evs_04_2005__p9856263"><a name="evs_04_2005__li60747463"></a><a name="li60747463"></a>200</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2005__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_2005__evs_04_2013_p783819215242">For details, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_04_2002.html">EVS Disk</a></div>
|
|
</div>
|
|
</div>
|
|
|