From 57dcff6915b0cfff8c6632935e07ec7b34b078be Mon Sep 17 00:00:00 2001 From: "Zaoxu, Li" Date: Wed, 15 May 2024 14:15:46 +0000 Subject: [PATCH] ECS DEV DOC Reviewed-by: Pristromskaia, Margarita Co-authored-by: Zaoxu, Li Co-committed-by: Zaoxu, Li --- docs/ecs/dev/ALL_META.TXT.json | 91 ++++++++++++++++++ docs/ecs/dev/en-us_topic_0134192987.html | 52 +++++----- docs/ecs/dev/en-us_topic_0134883593.html | 8 +- .../dev/public_sys-resources/icon-arrowdn.gif | Bin 68 -> 1887 bytes .../dev/public_sys-resources/icon-arrowrt.gif | Bin 70 -> 1890 bytes 5 files changed, 124 insertions(+), 27 deletions(-) diff --git a/docs/ecs/dev/ALL_META.TXT.json b/docs/ecs/dev/ALL_META.TXT.json index 899dfbdc..6b107654 100644 --- a/docs/ecs/dev/ALL_META.TXT.json +++ b/docs/ecs/dev/ALL_META.TXT.json @@ -1,111 +1,202 @@ [ + { + "dockw":"Developer Guide" + }, { "uri":"en-us_topic_0134192990.html", + "node_id":"en-us_topic_0134192990.xml", "product_code":"ecs", "code":"1", "des":"This document describes how to call the APIs of Elastic Cloud Server (ECS) to use ECS functions. The concepts related to ECS help you quickly learn this service.An ECS is", "doc_type":"devg", "kw":"Overview,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Overview", "githuburl":"" }, { "uri":"en-us_topic_0134327704.html", + "node_id":"en-us_topic_0134327704.xml", "product_code":"ecs", "code":"2", "des":"Before using ECS through APIs, learn how to call ECS APIs. For details about how to call REST APIs, see API Usage Guidelines.", "doc_type":"devg", "kw":"Notes,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Notes", "githuburl":"" }, { "uri":"en-us_topic_0134193004.html", + "node_id":"en-us_topic_0134193004.xml", "product_code":"ecs", "code":"3", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"devg", "kw":"Request Format", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Request Format", "githuburl":"" }, { "uri":"en-us_topic_0134193005.html", + "node_id":"en-us_topic_0134193005.xml", "product_code":"ecs", "code":"4", "des":"OpenStack APIs are of version v2 or v2.1. The two versions use the same set of main code, and v2.1 supports microversions.", "doc_type":"devg", "kw":"Versions,Request Format,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Versions", "githuburl":"" }, { "uri":"en-us_topic_0134193006.html", + "node_id":"en-us_topic_0134193006.xml", "product_code":"ecs", "code":"5", "des":"v2.1 APIs support microversions for small/medium API changes or document changes.Users can use a microversion to obtain the latest API microversion supported by a cloud s", "doc_type":"devg", "kw":"Microversions,Request Format,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Microversions", "githuburl":"" }, { "uri":"en-us_topic_0134192984.html", + "node_id":"en-us_topic_0134192984.xml", "product_code":"ecs", "code":"6", "des":"POST: https://{endpoint}/v3/auth/tokensHeadersParameter descriptionParameterValueContent-Typeapplication/jsonBody{\n \"auth\":{\n \"identity\":{\n \"password", "doc_type":"devg", "kw":"Request Example,Request Format,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Request Example", "githuburl":"" }, { "uri":"en-us_topic_0134192987.html", + "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", "doc_type":"devg", "kw":"Creating an ECS,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Creating an ECS", "githuburl":"" }, { "uri":"en-us_topic_0134192993.html", + "node_id":"en-us_topic_0134192993.xml", "product_code":"ecs", "code":"8", "des":"When ECS specifications fail to meet service requirements, they can be modified, for example, by upgrading the vCPUs and memory. Certain ECSs also support changing ECS ty", "doc_type":"devg", "kw":"Modifying ECS Specifications,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Modifying ECS Specifications", "githuburl":"" }, { "uri":"en-us_topic_0134192996.html", + "node_id":"en-us_topic_0134192996.xml", "product_code":"ecs", "code":"9", "des":"If the existing disks of an ECS fail to meet service requirements, for example, due to insufficient disk space or poor disk performance, you can attach more available dis", "doc_type":"devg", "kw":"Attaching a Disk to an ECS,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Attaching a Disk to an ECS", "githuburl":"" }, { "uri":"en-us_topic_0134192997.html", + "node_id":"en-us_topic_0134192997.xml", "product_code":"ecs", "code":"10", "des":"If an ECS requires multiple NICs, you can call the API for creating NICs and bind them to the ECS.You can bind a NIC by setting the nics parameter during ECS creation or ", "doc_type":"devg", "kw":"Binding a NIC to an ECS,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Binding a NIC to an ECS", "githuburl":"" }, { "uri":"en-us_topic_0134883593.html", + "node_id":"en-us_topic_0134883593.xml", "product_code":"ecs", "code":"11", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"devg", "kw":"Change History,Developer Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"devg", + "prodname":"ecs" + } + ], "title":"Change History", "githuburl":"" } diff --git a/docs/ecs/dev/en-us_topic_0134192987.html b/docs/ecs/dev/en-us_topic_0134192987.html index b5a23a24..b3df2fea 100644 --- a/docs/ecs/dev/en-us_topic_0134192987.html +++ b/docs/ecs/dev/en-us_topic_0134192987.html @@ -11,31 +11,31 @@

The fields following the question mark (?) are optional for viewing flavors. For details, see section Querying Details About ECS Flavors.

  • Request example

    GET: https://{endpoint}/v2/74610f3a5ad941998e91f076297ecf27/flavors/detail

    Obtain the endpoint from Regions and Endpoints.

    -
  • Response example
    {
    -  "flavors": [
    -    {
    -      "name": "c1.2xlarge",
    -      "links": [
    +
  • Response example
    {
    +    "flavors": [
             {
    -          "href": "https://xxx/v2/74610f3a5ad941998e91f076297ecf27/flavors/c1.2xlarge",
    -          "rel": "self"
    -        },
    -        {
    -          "href": "https://xxx/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"
    -    }
    -]
    +    ]
     }
  • Select a flavor based on site requirements and record the flavor ID.
  • @@ -167,7 +167,7 @@

    Body

    {
         "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": [
           {
    diff --git a/docs/ecs/dev/en-us_topic_0134883593.html b/docs/ecs/dev/en-us_topic_0134883593.html
    index 2440b015..edd1a867 100644
    --- a/docs/ecs/dev/en-us_topic_0134883593.html
    +++ b/docs/ecs/dev/en-us_topic_0134883593.html
    @@ -8,7 +8,13 @@
     
     
     
    -

    2022-10-30

    +

    2024-05-13

    + +

    This issue is the fourth official release.

    +

    Updated examples in Creating an ECS.

    + + +

    2022-10-30

    This issue is the third official release.

    diff --git a/docs/ecs/dev/public_sys-resources/icon-arrowdn.gif b/docs/ecs/dev/public_sys-resources/icon-arrowdn.gif index 84eec9be2f2ce458e888f8a9b803f9387247726a..379428032932289326e52c2772bd90ba3d88b906 100644 GIT binary patch literal 1887 zcmZ?wbhEHbCgqow z*eU^C3h_d20o>TUVm+{T^pf*)^(zt!^bPe4Kwg3=^!3HBG&dKny0|1L72#g21{a4^ z7NqJ2r55Lx7A2Jm>Ih`8X1|p zSh~8p7&*iAy5uL9=BDPA!1Sgd^t#~G3rY&P1wfl!Qj0RnQd8WD@^clyUbf1_?G{Iz z=0WwQ;C71>PQCg-$LND17Ac}(Lcr7mV#1RxkONQnsd>QEUIa|mjQ{`r{qy_R&mZ5v zef{$J)5j0*-@SeF`qj%9&!0Vg^7zri2lwyYy>t84%^TORUA=Po(!~qs&z(JU`qar2 z$B!L7a`@1}1N-;w-Lrew&K=vgZQZhY)5ZeMTG_VdAT{+S(zE> zX{jm6Nr?&Zaj`McQIQehVWA3>*p!%p5Wn0u7E$th{n6D>ft^YU5&dnB%c=(a~-RV>2EO25SIA CZ-yWM literal 68 zcmZ?wbhEHbzkByxQ$u Mo$o?7J5~m305MV#!~g&Q diff --git a/docs/ecs/dev/public_sys-resources/icon-arrowrt.gif b/docs/ecs/dev/public_sys-resources/icon-arrowrt.gif index 39583d168d6db303b366b5b8c1780698a6bb6017..6aaaa11c23e919c4798d7dcd2b1ae98dd35dd316 100644 GIT binary patch literal 1890 zcmZ?wbhEHb7yetOgf{ zR2HP_2c;J0mlh?b0+lO+tSYc_E=o--$uA1Y&(DE{Vn9ZINq%ugeu08>u$h8JcxGNo zetEGbSiP^Wm1kaYNn&1ds;7&s63_&_%*+%k11Cod14Ab>6ALqQLqk^=3j-5FHzP|& zBUd9gQwvj9m|mCsATTyHM;rzL?XHK6w zdE)r7qel)OI(T6JzP)>P@7lRz`?jrHHgDRvVg0(bYgVsXxnlXUrArnsTDV~Tyt#8` z&zd=7`n0K2CQq6;p}()Ur@O1OqrI)QrMaoGp}wxRrn;)KqP(oMq`0WCAU`iRCp#-M zBRwrOB{?ZEAwDiPCORrIB0MZKBseHAz~9f;$J@)(!`;o*#o5Wx!QRf+#@fo#!raW% z#MsEtKwnQ+M_Wr%LtRZ(MOjHvL0(Q)Mp{ZzLR?H#L|8~rfS-?-hntI&gPo0)g_((w zfkE*n3y@@B&;b#k`jUY|nSq%>!ec`MLnAA%oR7zc2TpB#@>)|YCO&lN;uMU!b7Eqm H1A{dHTIz>f literal 70 zcmZ?wbhEHb