1
0
forked from docs/doc-exports

ECS DEV 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:
Zaoxu, Li 2024-05-15 14:15:46 +00:00 committed by zuul
parent 483e5cc6cc
commit 57dcff6915
5 changed files with 124 additions and 27 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,31 +11,31 @@
<p id="EN-US_TOPIC_0134192987__p7658656173811">The fields following the question mark (?) are optional for viewing flavors. For details, see section <a href="https://docs.otc.t-systems.com/en-us/api/ecs/en-us_topic_0020212658.html" target="_blank" rel="noopener noreferrer">Querying Details About ECS Flavors</a>.</p>
</li><li id="EN-US_TOPIC_0134192987__li15296739145115">Request example<p id="EN-US_TOPIC_0134192987__p162598164013"><a name="EN-US_TOPIC_0134192987__li15296739145115"></a><a name="li15296739145115"></a>GET: https://<em id="EN-US_TOPIC_0134192987__i183041136164014">{endpoint}</em>/v2/74610f3a5ad941998e91f076297ecf27/flavors/detail</p>
<p id="EN-US_TOPIC_0134192987__p184501625164012">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_0134192987__li1229613917517">Response example<pre class="screen" id="EN-US_TOPIC_0134192987__screen1429693965118">{
"flavors": [
{
"name": "c1.2xlarge",
"links": [
</li><li id="EN-US_TOPIC_0134192987__li1229613917517">Response example<pre class="screen" id="EN-US_TOPIC_0134192987__screen28862509311">{
"flavors": [
{
"href": "https://<em id="EN-US_TOPIC_0134192987__i67737564135">xxx</em>/v2/74610f3a5ad941998e91f076297ecf27/flavors/c1.2xlarge",
"rel": "self"
},
{
"href": "https://<em id="EN-US_TOPIC_0134192987__i8476216101412">xxx</em>/74610f3a5ad941998e91f076297ecf27/flavors/c1.2xlarge",
"rel": "bookmark"
"name": "c3.2xlarge.2",
"links": [
{
"href": "https://compute.region.xxx.com/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2",
"rel": "self"
},
{
"href": "https://compute.region.xxx.com/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2",
"rel": "bookmark"
}
],
"ram": 16384,
"OS-FLV-DISABLED:disabled": false,
"vcpus": 8,
"swap": "",
"os-flavor-access:is_public": true,
"rxtx_factor": 1,
"OS-FLV-EXT-DATA:ephemeral": 0,
"disk": 0,
"id": "c3.2xlarge.2"
}
],
"ram": 8192,
"OS-FLV-DISABLED:disabled": false,
"vcpus": 8,
"swap": "",
"os-flavor-access:is_public": true,
"rxtx_factor": 1,
"OS-FLV-EXT-DATA:ephemeral": 0,
"disk": 0,
"id": "c1.2xlarge"
}
]
]
}</pre>
</li></ul>
</li><li id="EN-US_TOPIC_0134192987__li4521173045311">Select a flavor based on site requirements and record the flavor ID.</li></ol>
@ -167,7 +167,7 @@
<p id="EN-US_TOPIC_0134192987__p32811943192714">Body</p>
<pre class="screen" id="EN-US_TOPIC_0134192987__screen97711544192913">{
"server": {
"flavorRef": "c1.large",
"flavorRef": "c3.2xlarge.2",
"name": "zttestvm1",
"block_device_mapping_v2": [{
"source_type": "image",
@ -269,10 +269,10 @@
"links": [
{
"rel": "bookmark",
"href": "https://None/74610f3a5ad941998e91f076297ecf27/flavors/c1.large"
"href": "https://None/74610f3a5ad941998e91f076297ecf27/flavors/c3.2xlarge.2"
}
],
"id": "c1.large"
"id": "c3.2xlarge.2"
},
"security_groups": [
{

View File

@ -8,7 +8,13 @@
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0134883593__row19753204111410"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0134883593__p175415417148">2022-10-30</p>
<tbody><tr id="EN-US_TOPIC_0134883593__row320775014370"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0134883593__p4207125043716">2024-05-13</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0134883593__p520815501377">This issue is the fourth official release.</p>
<p id="EN-US_TOPIC_0134883593__p532119416382">Updated examples in <a href="en-us_topic_0134192987.html">Creating an ECS</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0134883593__row19753204111410"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0134883593__p175415417148">2022-10-30</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0134883593__p47541842147">This issue is the third official release.</p>
<ul id="EN-US_TOPIC_0134883593__ul184471451165911"><li id="EN-US_TOPIC_0134883593__li1330911112017">Optimized descriptions in <a href="en-us_topic_0134192984.html">Request Example</a>.</li><li id="EN-US_TOPIC_0134883593__li3447175111593">Changed the title to "Creating an ECS" in <a href="en-us_topic_0134192987.html">Creating an ECS</a>.</li></ul>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 1.8 KiB