forked from laiweijian4/doc-exports
ECS API DOC
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
This commit is contained in:
parent
3788ba3444
commit
be55bdb9f8
@ -331,7 +331,7 @@ echo 111 > c:\aaa.txt</pre>
|
||||
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.6.6.2.5.1.3 "><p id="EN-US_TOPIC_0020212668__p65644149">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.6.6.2.5.1.4 "><p id="EN-US_TOPIC_0020212668__p52170790174229">Specifies the subnet of the <span id="EN-US_TOPIC_0020212668__text1290819290226">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212668__p43287089174217">The value must be the ID of the subnet created in the VPC specified by <strong id="EN-US_TOPIC_0020212668__b1676408370">vpcid</strong> and in the format of the UUID.</p>
|
||||
<p id="EN-US_TOPIC_0020212668__p43287089174217">The value must be the ID of the subnet created in the VPC specified by <strong id="EN-US_TOPIC_0020212668__b829515116">vpcid</strong> and in the format of the UUID.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212668__row11285618104313"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.6.6.2.5.1.1 "><p id="EN-US_TOPIC_0020212668__p34461706104313">ip_address</p>
|
||||
@ -544,7 +544,7 @@ echo 111 > c:\aaa.txt</pre>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.121212121212121%" headers="mcps1.3.6.8.2.5.1.3 "><p id="EN-US_TOPIC_0020212668__p296112276588">Object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="55.55555555555556%" headers="mcps1.3.6.8.2.5.1.4 "><p id="EN-US_TOPIC_0020212668__p544756135816">Specifies the EVS disk metadata. Ensure that <strong id="EN-US_TOPIC_0020212668__b296788194">key</strong> and <strong id="EN-US_TOPIC_0020212668__b1833307726">value</strong> in the metadata contain at most 255 bytes.</p>
|
||||
<td class="cellrowborder" valign="top" width="55.55555555555556%" headers="mcps1.3.6.8.2.5.1.4 "><p id="EN-US_TOPIC_0020212668__p544756135816">Specifies the EVS disk metadata. Ensure that <strong id="EN-US_TOPIC_0020212668__b1818735630">key</strong> and <strong id="EN-US_TOPIC_0020212668__b41913695">value</strong> in the metadata contain at most 255 bytes.</p>
|
||||
<p id="EN-US_TOPIC_0020212668__p5568103611379">This field is used only when an encrypted disk is created.</p>
|
||||
<p id="EN-US_TOPIC_0020212668__p1815264144920">If data disks are created using a data disk image, this field cannot be used.</p>
|
||||
<p id="EN-US_TOPIC_0020212668__p16970151531615">For details, see <a href="en-us_topic_0167957246.html#EN-US_TOPIC_0167957246__section1228814491353">metadata Field Description for Creating Disks</a>.</p>
|
||||
|
@ -777,7 +777,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212689__table1080891111402"></a><a name="table1080891111402"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212689__table1080891111402" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="EN-US_TOPIC_0020212689__b1842334857">image</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212689__row5852711204015"><th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.5.11.2.4.1.1"><p id="EN-US_TOPIC_0020212689__p2098102533210">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212689__table1080891111402"></a><a name="table1080891111402"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212689__table1080891111402" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="EN-US_TOPIC_0020212689__b1383719008">image</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212689__row5852711204015"><th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.5.11.2.4.1.1"><p id="EN-US_TOPIC_0020212689__p2098102533210">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.5.11.2.4.1.2"><p id="EN-US_TOPIC_0020212689__p1498192513327">Type</p>
|
||||
</th>
|
||||
@ -854,10 +854,10 @@ GET https://{endpoint}/v2.1/{project_id}/servers/detail</pre>
|
||||
},
|
||||
"created": "2012-09-07T16:56:37Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"id": "s3.xlarge.2",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/1",
|
||||
"href": "http://openstack.example.com/openstack/flavors/s3.xlarge.2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
|
@ -718,10 +718,10 @@ GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}</pre>
|
||||
},
|
||||
"created": "2012-08-20T21:11:09Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"id": "s3.xlarge.2",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/1",
|
||||
"href": "http://openstack.example.com/openstack/flavors/s3.xlarge.2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
|
@ -431,7 +431,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p142988311417">The attached disk is not of SCSI type.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p05691028195819">Adjust the disk type.</p>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p05691028195819">Change the disk type.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row14556521125814"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p1672018401580">400</p>
|
||||
|
@ -341,10 +341,10 @@ POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action
|
||||
"links": [
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"href": "https://<em id="EN-US_TOPIC_0065817688__i173587411369">xxx</em>/7459f9935ed2422eb9800fea1d4d9378/flavors/normal1"
|
||||
"href": "https://<em id="EN-US_TOPIC_0065817688__i173587411369">xxx</em>/7459f9935ed2422eb9800fea1d4d9378/flavors/s3.xlarge.1"
|
||||
}
|
||||
],
|
||||
"id": "normal1"
|
||||
"id": "s3.xlarge.1"
|
||||
},
|
||||
"OS-DCF:diskConfig": "MANUAL",
|
||||
"user_id": "ed2965d80d394be0b41e56f50ac650ca",
|
||||
|
@ -176,32 +176,32 @@ GET https://<em id="EN-US_TOPIC_0065817705__i13181113124710">{endpoint}</em>/v2.
|
||||
<div class="section" id="EN-US_TOPIC_0065817705__section945413916318"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0065817705__screen194721192317">{
|
||||
"flavors": [
|
||||
{
|
||||
"id": "c3.medium",
|
||||
"id": "s3.xlarge.1",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://compute.region.xxx.com/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/c3.medium",
|
||||
"href": "https://compute.region.xxx.com/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/s3.xlarge.1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://compute.region.xxx.com/743b4c0428d94531b9f2add666642e6b/flavors/c3.medium",
|
||||
"href": "https://compute.region.xxx.com/743b4c0428d94531b9f2add666642e6b/flavors/s3.xlarge.1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "c3.medium"
|
||||
"name": "s3.xlarge.1"
|
||||
},
|
||||
{
|
||||
"id": "c3.xlarge",
|
||||
"id": "s3.xlarge.2",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://compute.region.xxx.com/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/c3.xlarge",
|
||||
"href": "https://compute.region.xxx.com/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/s3.xlarge.2",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://compute.region.x.com/743b4c0428d94531b9f2add666642e6b/flavors/c3.xlarge",
|
||||
"href": "https://compute.region.x.com/743b4c0428d94531b9f2add666642e6b/flavors/s3.xlarge.2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "c3.xlarge"
|
||||
"name": "s3.xlarge.2"
|
||||
}
|
||||
]
|
||||
} </pre>
|
||||
|
@ -473,7 +473,7 @@ echo 111 > c:\aaa.txt</pre>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20.31%" headers="mcps1.3.5.8.2.5.1.3 "><p id="EN-US_TOPIC_0068473331__en-us_topic_0057972661_p2530419410563">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="41.010000000000005%" headers="mcps1.3.5.8.2.5.1.4 "><p id="EN-US_TOPIC_0068473331__en-us_topic_0057972661_p6060160810563">Specifies the fixed IP address. Parameter <strong id="EN-US_TOPIC_0068473331__b944457677">port</strong> in the three network parameters (<strong id="EN-US_TOPIC_0068473331__b1434166313">port</strong>, <strong id="EN-US_TOPIC_0068473331__b1314179537">uuid</strong>, and <strong id="EN-US_TOPIC_0068473331__b2106502088">fixed_ip</strong>) has the highest priority. If parameter <strong id="EN-US_TOPIC_0068473331__b970225314">fixed_ip</strong> is set, you must specify the UUID.</p>
|
||||
<td class="cellrowborder" valign="top" width="41.010000000000005%" headers="mcps1.3.5.8.2.5.1.4 "><p id="EN-US_TOPIC_0068473331__en-us_topic_0057972661_p6060160810563">Specifies the fixed IP address. Parameter <strong id="EN-US_TOPIC_0068473331__b1535687434">port</strong> in the three network parameters (<strong id="EN-US_TOPIC_0068473331__b1476533862">port</strong>, <strong id="EN-US_TOPIC_0068473331__b638413161">uuid</strong>, and <strong id="EN-US_TOPIC_0068473331__b1948182300">fixed_ip</strong>) has the highest priority. If parameter <strong id="EN-US_TOPIC_0068473331__b1206786550">fixed_ip</strong> is set, you must specify the UUID.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -707,7 +707,7 @@ POST https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers
|
||||
|
||||
{
|
||||
"server": {
|
||||
"flavorRef": "2",
|
||||
"flavorRef": "s3.xlarge.2",
|
||||
"name": "wjvm48",
|
||||
"metadata": {
|
||||
"name": "name_xx1",
|
||||
@ -765,7 +765,7 @@ POST https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers
|
||||
|
||||
{
|
||||
"server": {
|
||||
"flavorRef": "2",
|
||||
"flavorRef": "s3.xlarge.2",
|
||||
"name": "wjvm48",
|
||||
"metadata": {
|
||||
"name": "name_xx1",
|
||||
@ -798,7 +798,7 @@ POST https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers
|
||||
|
||||
{
|
||||
"server": {
|
||||
"flavorRef": "2",
|
||||
"flavorRef": "s3.xlarge.2",
|
||||
"name": "wjvm48",
|
||||
"metadata": {
|
||||
"name": "name_xx1",
|
||||
@ -828,7 +828,7 @@ POST https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers
|
||||
"availability_zone":"az1.dc1",
|
||||
"name": "test",
|
||||
"imageRef": "10ff4f01-35b6-4209-8397-359cb4475fa0",
|
||||
"flavorRef": "s3.medium",
|
||||
"flavorRef": "s3.xlarge.2",
|
||||
"return_reservation_id": "true",
|
||||
"networks": [
|
||||
{
|
||||
|
@ -409,10 +409,10 @@
|
||||
},
|
||||
"flavor":{
|
||||
"disk":"0",
|
||||
"vcpus":"1",
|
||||
"vcpus":"2",
|
||||
"ram":"1024",
|
||||
"id":"s3.small.1",
|
||||
"name":"s3.small.1"
|
||||
"id":"s3.large.1",
|
||||
"name":"s3.large.1"
|
||||
},
|
||||
"accessIPv4":"",
|
||||
"accessIPv6":"",
|
||||
|
@ -195,10 +195,10 @@
|
||||
},
|
||||
"flavor":{
|
||||
"disk":"0",
|
||||
"vcpus":"1",
|
||||
"vcpus":"2",
|
||||
"ram":"1024",
|
||||
"id":"c1.medium",
|
||||
"name":"c1.medium"
|
||||
"id":"c3.large.2",
|
||||
"name":"c3.large.2"
|
||||
},
|
||||
"accessIPv4":"",
|
||||
"accessIPv6":"",
|
||||
@ -211,7 +211,7 @@
|
||||
"created":"2018-08-13T13:46:09Z",
|
||||
"metadata":{
|
||||
"metering.image_id":"af60e0d5-6952-4f3d-b0ed-31bb19d4a692",
|
||||
"metering.resourcespeccode":"c1.medium.linux",
|
||||
"metering.resourcespeccode":"c3.large.2.linux",
|
||||
"image_name":"HEC_Public_Cloudinit_CentOS_7.4_64bit",
|
||||
"metering.product_id":"00301-253164-0--0",
|
||||
"os_bit":"64",
|
||||
@ -301,10 +301,10 @@
|
||||
},
|
||||
"flavor":{
|
||||
"disk":"0",
|
||||
"vcpus":"1",
|
||||
"vcpus":"2",
|
||||
"ram":"1024",
|
||||
"id":"c1.medium",
|
||||
"name":"c1.medium"
|
||||
"id":"c3.large.2",
|
||||
"name":"c3.large.2"
|
||||
},
|
||||
"accessIPv4":"",
|
||||
"accessIPv6":"",
|
||||
@ -318,7 +318,7 @@
|
||||
"metadata":{
|
||||
"metering.image_id":"af60e0d5-6952-4f3d-b0ed-31bb19d4a692",
|
||||
"metering.imagetype":"gold",
|
||||
"metering.resourcespeccode":"c1.medium.linux",
|
||||
"metering.resourcespeccode":"c3.large.2.linux",
|
||||
"image_name":"HEC_Public_Cloudinit_CentOS_7.4_64bit",
|
||||
"metering.resourcetype":"1",
|
||||
"os_bit":"64",
|
||||
@ -394,10 +394,10 @@
|
||||
},
|
||||
"flavor":{
|
||||
"disk":"0",
|
||||
"vcpus":"1",
|
||||
"vcpus":"2",
|
||||
"ram":"1024",
|
||||
"id":"c1.medium",
|
||||
"name":"c1.medium"
|
||||
"id":"c3.large.2",
|
||||
"name":"c3.large.2"
|
||||
},
|
||||
"accessIPv4":"",
|
||||
"accessIPv6":"",
|
||||
@ -411,7 +411,7 @@
|
||||
"metadata":{
|
||||
"metering.image_id":"af60e0d5-6952-4f3d-b0ed-31bb19d4a692",
|
||||
"metering.imagetype":"gold",
|
||||
"metering.resourcespeccode":"c1.medium.linux",
|
||||
"metering.resourcespeccode":"c3.large.2.linux",
|
||||
"image_name":"HEC_Public_Cloudinit_CentOS_7.4_64bit",
|
||||
"metering.resourcetype":"1",
|
||||
"os_bit":"64",
|
||||
@ -489,10 +489,10 @@
|
||||
},
|
||||
"flavor":{
|
||||
"disk":"0",
|
||||
"vcpus":"1",
|
||||
"vcpus":"2",
|
||||
"ram":"1024",
|
||||
"id":"c1.medium",
|
||||
"name":"c1.medium"
|
||||
"id":"c3.large.2",
|
||||
"name":"c3.large.2"
|
||||
},
|
||||
"accessIPv4":"",
|
||||
"accessIPv6":"",
|
||||
@ -508,7 +508,7 @@
|
||||
"sadfasfasf":"sdffffd",
|
||||
"metering.order_id":"CS180813193577ORO",
|
||||
"metering.imagetype":"gold",
|
||||
"metering.resourcespeccode":"c1.medium.win",
|
||||
"metering.resourcespeccode":"c3.large.2.win",
|
||||
"metering.image_id":"65cb40e6-f67e-4bef-a1e7-808166a5999d",
|
||||
"image_name":"HEC_Public_Windows2008R2_Ent_64bit40G_English",
|
||||
"aaaaaa":"0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user