ECS DEVG 20260326 version. Update Screenshot.

Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com>
Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
This commit is contained in:
2026-03-26 14:05:43 +00:00
committed by zuul
parent 27236a2de8
commit d66f088990
8 changed files with 29 additions and 25 deletions

View File

@ -115,7 +115,7 @@
"node_id":"en-us_topic_0134192987.xml",
"product_code":"ecs",
"code":"7",
"des":"An ECS with EVS disks is required.An ECS can be created using a disk or image. This section uses an image as an example to describe how to create an ECS.Creating an ECS i",
"des":"An ECS with EVS disks is required.An ECS can be created using a volume or image. This section uses an image as an example to describe how to create an ECS.Creating an ECS",
"doc_type":"devg",
"kw":"Creating an ECS,Developer Guide",
"search_title":"",

View File

@ -54,7 +54,7 @@
"code":"6"
},
{
"desc":"An ECS with EVS disks is required.An ECS can be created using a disk or image. This section uses an image as an example to describe how to create an ECS.Creating an ECS i",
"desc":"An ECS with EVS disks is required.An ECS can be created using a volume or image. This section uses an image as an example to describe how to create an ECS.Creating an ECS",
"product_code":"ecs",
"title":"Creating an ECS",
"uri":"en-us_topic_0134192987.html",

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@ -44,14 +44,15 @@
<div class="fignone" id="EN-US_TOPIC_0134192984__fig71433122328"><span class="figcap"><b>Figure 1 </b>Obtaining the token</span><br><span><img id="EN-US_TOPIC_0134192984__image849295655712" src="en-us_image_0173496405.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li><li id="EN-US_TOPIC_0134192984__li93311017335"><span>Initiate a request and access the API for viewing details about an ECS.</span><p><ul class="subitemlist" id="EN-US_TOPIC_0134192984__ul32848863"><li id="EN-US_TOPIC_0134192984__li4699961">GET: https://<em id="EN-US_TOPIC_0134192984__i0361419145816">{endpoint}</em>/v2/fb770eb43f934b5a8bda955642b954b9/servers/detail<ul id="EN-US_TOPIC_0134192984__ul1726285720355"><li id="EN-US_TOPIC_0134192984__li982513277358">URI format: GET /v2/{tenant_id}/servers/detail{?changes-since,image,flavor,name,status,limit,marker,not-tags,reservation_id,all_tenants}</li><li id="EN-US_TOPIC_0134192984__li1382117499352">tenant_id: fb770eb43f934b5a8bda955642b954b9</li><li id="EN-US_TOPIC_0134192984__li794175213510">The fields, <strong id="EN-US_TOPIC_0134192984__b49347536184016">changes-since,image,flavor,name,status,limit,marker,not-tags,reservation_id,all_tenants</strong>, following the question mark (?) are optional for viewing an ECS.</li></ul>
</li><li id="EN-US_TOPIC_0134192984__li33475762">Headers
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0134192984__table32846409" frame="border" border="1" rules="all"><tbody><tr id="EN-US_TOPIC_0134192984__row34362675"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134192984__p31913276">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134192984__p34838562">application/json</p>
</td>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0134192984__table32846409" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0134192984__row34362675"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.2.1.2.1.1.3.1.1"><p id="EN-US_TOPIC_0134192984__p31913276">Content-Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.2.1.2.1.1.3.1.2"><p id="EN-US_TOPIC_0134192984__p34838562">application/json</p>
</th>
</tr>
<tr id="EN-US_TOPIC_0134192984__row45111603"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134192984__p30161198">X-Auth-Token</p>
</thead>
<tbody><tr id="EN-US_TOPIC_0134192984__row45111603"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.1.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0134192984__p30161198">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134192984__p27137978">Obtained in <a href="#EN-US_TOPIC_0134192984__li1785204217617">1</a></p>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.1.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0134192984__p27137978">Obtained in <a href="#EN-US_TOPIC_0134192984__li1785204217617">1</a></p>
</td>
</tr>
</tbody>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Creating an ECS</h1>
<div id="body57396612"><div class="section" id="EN-US_TOPIC_0134192987__section127254112211"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0134192987__p165434414714">An ECS with EVS disks is required.</p>
<p id="EN-US_TOPIC_0134192987__p2052911461826">An ECS can be created using a disk or image. This section uses an image as an example to describe how to create an ECS.</p>
<p id="EN-US_TOPIC_0134192987__p2052911461826">An ECS can be created using a volume or image. This section uses an image as an example to describe how to create an ECS.</p>
</div>
<div class="section" id="EN-US_TOPIC_0134192987__section014217120412"><h4 class="sectiontitle">Involved APIs</h4><p id="EN-US_TOPIC_0134192987__p6878391044">Creating an ECS involves viewing flavors and AZs as well as creating EVS disks. The following APIs are required:</p>
<ul id="EN-US_TOPIC_0134192987__ul208171747441"><li id="EN-US_TOPIC_0134192987__li1481717471849">API for viewing details about ECS flavors</li><li id="EN-US_TOPIC_0134192987__li11565518517">API for viewing details about images</li><li id="EN-US_TOPIC_0134192987__li98363501801">API for viewing networks</li><li id="EN-US_TOPIC_0134192987__li8704156165717">API for creating and importing an SSH key pair</li><li id="EN-US_TOPIC_0134192987__li2820132215288">API for creating an ECS</li><li id="EN-US_TOPIC_0134192987__li3604040192815">API for viewing details about an ECS</li></ul>

View File

@ -25,7 +25,8 @@
</table>
</div>
<p class="MsoNormal" id="EN-US_TOPIC_0134193004__p46736194">A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID on the console before calling an API. To do so, perform the following operations:</p>
<ol id="EN-US_TOPIC_0134193004__ol149414459116"><li class="MsoNormal" id="EN-US_TOPIC_0134193004__li179415458116">Register yourself on the management console and log in to it.</li><li class="MsoNormal" id="EN-US_TOPIC_0134193004__li39415455113">Hover the mouse over the username and select <strong id="EN-US_TOPIC_0134193004__b151905481831">Basic Information</strong> from the drop-down list.</li><li class="MsoNormal" id="EN-US_TOPIC_0134193004__li12941545512">On the <strong id="EN-US_TOPIC_0134193004__b84235270611835">Account Info</strong> page, click <strong id="EN-US_TOPIC_0134193004__b84235270611958">Manage</strong> following <strong id="EN-US_TOPIC_0134193004__b84235270611102">Security Credentials</strong>.</li><li class="MsoNormal" id="EN-US_TOPIC_0134193004__li179414452110">On the <strong id="EN-US_TOPIC_0134193004__b842352706111039">My Credential</strong> page, view the project ID in the project list.<div class="fignone" id="EN-US_TOPIC_0134193004__fig82901053211"><span class="figcap"><b>Figure 1 </b>Viewing project IDs</span><br><span><img id="EN-US_TOPIC_0134193004__image18757564" src="en-us_image_0173496413.png" title="Click to enlarge" class="imgResize"></span></div>
<ol id="EN-US_TOPIC_0134193004__ol149414459116"><li class="MsoNormal" id="EN-US_TOPIC_0134193004__li179415458116">Log in to the management console.</li><li id="EN-US_TOPIC_0134193004__en-us_topic_0022240255_li2804809915217">Click the username and choose <strong id="EN-US_TOPIC_0134193004__b45330297366">My Credentials</strong> from the drop-down list.<p id="EN-US_TOPIC_0134193004__en-us_topic_0022240255_p136772519449">On the <strong id="EN-US_TOPIC_0134193004__b14549103412366">My Credential</strong> page, view the project ID in the project list.</p>
<div class="fignone" id="EN-US_TOPIC_0134193004__fig1997181911618"><span class="figcap"><b>Figure 1 </b>Viewing project IDs</span><br><span><img id="EN-US_TOPIC_0134193004__image799518583152" src="en-us_image_0000002563735547.png" title="Click to enlarge" class="imgResize"></span></div>
</li></ol>
</div>
<div>

View File

@ -45,14 +45,15 @@
<div class="section" id="EN-US_TOPIC_0134193006__section953273282314"><h4 class="sectiontitle">Microversion Request Example</h4><p class="msonormal" id="EN-US_TOPIC_0134193006__p58946502">For example, you are required to use the API for details about an ECS to view the <strong id="EN-US_TOPIC_0134193006__b842352706141941">OS-EXT-SRV-ATTR:hostname</strong> field.</p>
<ul class="subitemlist" id="EN-US_TOPIC_0134193006__ul9937389"><li class="msonormal" id="EN-US_TOPIC_0134193006__li1335175318246"><strong id="EN-US_TOPIC_0134193006__b842352706142032_1">Using a v2 API without a microversion</strong><ul id="EN-US_TOPIC_0134193006__ul54974372156"><li id="EN-US_TOPIC_0134193006__li39179065">GET: https://<em id="EN-US_TOPIC_0134193006__i497403485019">{endpoint}</em>/v2/74610f3a5ad941998e91f076297ecf27/servers/detail<p id="EN-US_TOPIC_0134193006__p143171815116">Obtain the endpoint from <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
</li><li id="EN-US_TOPIC_0134193006__li17067270">Headers
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0134193006__table19387710" frame="border" border="1" rules="all"><tbody><tr id="EN-US_TOPIC_0134193006__row14795382"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p57575265">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p33084893">application/json</p>
</td>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0134193006__table19387710" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0134193006__row14795382"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.1.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0134193006__p57575265">Content-Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.1.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0134193006__p33084893">application/json</p>
</th>
</tr>
<tr id="EN-US_TOPIC_0134193006__row29328585"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p26805152">X-Auth-Token</p>
</thead>
<tbody><tr id="EN-US_TOPIC_0134193006__row29328585"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.1.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0134193006__p26805152">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p23733724">${token}</p>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.1.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0134193006__p23733724">${token}</p>
</td>
</tr>
</tbody>
@ -147,19 +148,20 @@
</li></ul>
<ul class="subitemlist" id="EN-US_TOPIC_0134193006__ul20810330"><li class="msonormal" id="EN-US_TOPIC_0134193006__li184119416268"><strong id="EN-US_TOPIC_0134193006__b842352706142032_3">Using a v2.1 API with a microversion</strong><ul id="EN-US_TOPIC_0134193006__ul5317649152213"><li id="EN-US_TOPIC_0134193006__li41111342">GET: https://<em id="EN-US_TOPIC_0134193006__i893614539539">{endpoint}</em>/v2.1/74610f3a5ad941998e91f076297ecf27/servers/detail<p id="EN-US_TOPIC_0134193006__p711810406537">Obtain the endpoint from <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
</li><li id="EN-US_TOPIC_0134193006__li34457765">Headers
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0134193006__table41684430" frame="border" border="1" rules="all"><tbody><tr id="EN-US_TOPIC_0134193006__row5034912"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p5174700">Content-Type</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0134193006__table41684430" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0134193006__row5034912"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.4.1.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0134193006__p5174700">Content-Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.4.1.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0134193006__p16497581">application/json</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0134193006__row14260509"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.1.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0134193006__p14250600">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p16497581">application/json</p>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.1.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0134193006__p13447964">${token}</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0134193006__row14260509"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p14250600">X-Auth-Token</p>
<tr id="EN-US_TOPIC_0134193006__row53922812"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.1.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0134193006__p5671647">X-OpenStack-Nova-API-Version</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p13447964">${token}</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0134193006__row53922812"><td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p5671647">X-OpenStack-Nova-API-Version</p>
</td>
<td class="cellrowborder" valign="top" width="50%"><p id="EN-US_TOPIC_0134193006__p56750271">2.26</p>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.1.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0134193006__p56750271">2.26</p>
</td>
</tr>
</tbody>