From be55bdb9f8c73a0ebb7642539ebe00ea0c8e4eb0 Mon Sep 17 00:00:00 2001 From: "Zaoxu, Li" Date: Fri, 24 May 2024 13:36:19 +0000 Subject: [PATCH] ECS API DOC Reviewed-by: Pristromskaia, Margarita Co-authored-by: Zaoxu, Li Co-committed-by: Zaoxu, Li --- docs/ecs/api-ref/en-us_topic_0020212668.html | 4 +-- docs/ecs/api-ref/en-us_topic_0020212689.html | 6 ++-- docs/ecs/api-ref/en-us_topic_0020212690.html | 4 +-- docs/ecs/api-ref/en-us_topic_0022067717.html | 2 +- docs/ecs/api-ref/en-us_topic_0065817688.html | 4 +-- docs/ecs/api-ref/en-us_topic_0065817705.html | 16 +++++----- docs/ecs/api-ref/en-us_topic_0068473331.html | 10 +++--- docs/ecs/api-ref/en-us_topic_0094148849.html | 6 ++-- docs/ecs/api-ref/en-us_topic_0094148850.html | 32 ++++++++++---------- 9 files changed, 42 insertions(+), 42 deletions(-) diff --git a/docs/ecs/api-ref/en-us_topic_0020212668.html b/docs/ecs/api-ref/en-us_topic_0020212668.html index e811f57ec..c42923530 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212668.html +++ b/docs/ecs/api-ref/en-us_topic_0020212668.html @@ -331,7 +331,7 @@ echo 111 > c:\aaa.txt

String

Specifies the subnet of the ECS.

-

The value must be the ID of the subnet created in the VPC specified by vpcid and in the format of the UUID.

+

The value must be the ID of the subnet created in the VPC specified by vpcid and in the format of the UUID.

ip_address

@@ -544,7 +544,7 @@ echo 111 > c:\aaa.txt

Object

-

Specifies the EVS disk metadata. Ensure that key and value in the metadata contain at most 255 bytes.

+

Specifies the EVS disk metadata. Ensure that key and value in the metadata contain at most 255 bytes.

This field is used only when an encrypted disk is created.

If data disks are created using a data disk image, this field cannot be used.

For details, see metadata Field Description for Creating Disks.

diff --git a/docs/ecs/api-ref/en-us_topic_0020212689.html b/docs/ecs/api-ref/en-us_topic_0020212689.html index 2f5224515..4e4442b6e 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212689.html +++ b/docs/ecs/api-ref/en-us_topic_0020212689.html @@ -777,7 +777,7 @@ -
Table 11 image field description

Parameter

+
@@ -854,10 +854,10 @@ GET https://{endpoint}/v2.1/{project_id}/servers/detail }, "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" } ] diff --git a/docs/ecs/api-ref/en-us_topic_0020212690.html b/docs/ecs/api-ref/en-us_topic_0020212690.html index 2db1fa9dc..9fa95699e 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212690.html +++ b/docs/ecs/api-ref/en-us_topic_0020212690.html @@ -718,10 +718,10 @@ GET https://{endpoint}/v2.1/{project_id}/servers/{server_id} }, "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" } ] diff --git a/docs/ecs/api-ref/en-us_topic_0022067717.html b/docs/ecs/api-ref/en-us_topic_0022067717.html index 9e2954365..4c6e3cd87 100644 --- a/docs/ecs/api-ref/en-us_topic_0022067717.html +++ b/docs/ecs/api-ref/en-us_topic_0022067717.html @@ -431,7 +431,7 @@ - - @@ -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": [ { diff --git a/docs/ecs/api-ref/en-us_topic_0094148849.html b/docs/ecs/api-ref/en-us_topic_0094148849.html index 2ad79441d..5cd0ba032 100644 --- a/docs/ecs/api-ref/en-us_topic_0094148849.html +++ b/docs/ecs/api-ref/en-us_topic_0094148849.html @@ -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":"", diff --git a/docs/ecs/api-ref/en-us_topic_0094148850.html b/docs/ecs/api-ref/en-us_topic_0094148850.html index 9ebfca67f..66bf65955 100644 --- a/docs/ecs/api-ref/en-us_topic_0094148850.html +++ b/docs/ecs/api-ref/en-us_topic_0094148850.html @@ -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",
Table 11 image field description

Parameter

Type

The attached disk is not of SCSI type.

Adjust the disk type.

+

Change the disk type.

400

diff --git a/docs/ecs/api-ref/en-us_topic_0065817688.html b/docs/ecs/api-ref/en-us_topic_0065817688.html index 032762d20..65506422f 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817688.html +++ b/docs/ecs/api-ref/en-us_topic_0065817688.html @@ -341,10 +341,10 @@ POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action "links": [ { "rel": "bookmark", - "href": "https://xxx/7459f9935ed2422eb9800fea1d4d9378/flavors/normal1" + "href": "https://xxx/7459f9935ed2422eb9800fea1d4d9378/flavors/s3.xlarge.1" } ], - "id": "normal1" + "id": "s3.xlarge.1" }, "OS-DCF:diskConfig": "MANUAL", "user_id": "ed2965d80d394be0b41e56f50ac650ca", diff --git a/docs/ecs/api-ref/en-us_topic_0065817705.html b/docs/ecs/api-ref/en-us_topic_0065817705.html index 709b36d1d..51d35a151 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817705.html +++ b/docs/ecs/api-ref/en-us_topic_0065817705.html @@ -176,32 +176,32 @@ GET https://{endpoint}/v2.

Example Response

{
     "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"
         }
     ]
 }     
diff --git a/docs/ecs/api-ref/en-us_topic_0068473331.html b/docs/ecs/api-ref/en-us_topic_0068473331.html index 8e5c5bd11..2c5af044d 100644 --- a/docs/ecs/api-ref/en-us_topic_0068473331.html +++ b/docs/ecs/api-ref/en-us_topic_0068473331.html @@ -473,7 +473,7 @@ echo 111 > c:\aaa.txt

String

Specifies the fixed IP address. Parameter port in the three network parameters (port, uuid, and fixed_ip) has the highest priority. If parameter fixed_ip is set, you must specify the UUID.

+

Specifies the fixed IP address. Parameter port in the three network parameters (port, uuid, and fixed_ip) has the highest priority. If parameter fixed_ip is set, you must specify the UUID.