diff --git a/docs/ecs/api-ref/ALL_META.TXT.json b/docs/ecs/api-ref/ALL_META.TXT.json index 6f2f767ea..ff3844b95 100644 --- a/docs/ecs/api-ref/ALL_META.TXT.json +++ b/docs/ecs/api-ref/ALL_META.TXT.json @@ -368,7 +368,7 @@ "node_id":"en-us_topic_0020212656.xml", "product_code":"ecs", "code":"20", - "des":"This API is used to query details about ECS flavors and extended flavor information.GET /v1/{project_id}/cloudservers/flavors?availability_zone={availability_zone}Table 1", + "des":"This API is used to query details about ECS flavors and extended flavor information.GET /v1/{project_id}/cloudservers/flavorsTable 1 describes the parameters in the URI.P", "doc_type":"api", "kw":"Querying Details About Flavors and Extended Flavor Information,Flavor Management,API Reference", "search_title":"", @@ -444,7 +444,7 @@ "node_id":"en-us_topic_0020212665.xml", "product_code":"ecs", "code":"24", - "des":"This API is used to uninstall and delete one or multiple NICs from an ECS.This API is an asynchronous API. After the deletion request is successfully delivered, a job ID ", + "des":"This API is used to delete one or multiple NICs from an ECS.This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. T", "doc_type":"api", "kw":"Deleting NICs from an ECS in a Batch,NIC Management,API Reference", "search_title":"", @@ -674,7 +674,7 @@ "code":"36", "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":"api", - "kw":"Task Status Management", + "kw":"Job Status Management", "search_title":"", "metedata":[ { @@ -683,7 +683,7 @@ "opensource":"false;true" } ], - "title":"Task Status Management", + "title":"Job Status Management", "githuburl":"" }, { @@ -691,9 +691,9 @@ "node_id":"en-us_topic_0022225398.xml", "product_code":"ecs", "code":"37", - "des":"This API is used to query the execution status of an asynchronous request task.After an asynchronous request task is issued, for example, creating or deleting an ECS, per", + "des":"This API is used to query the execution status of an asynchronous job.After an asynchronous job is issued, for example, creating or deleting an ECS, performing operations", "doc_type":"api", - "kw":"Querying Task Execution Status,Task Status Management,API Reference", + "kw":"Querying Job Execution Status,Job Status Management,API Reference", "search_title":"", "metedata":[ { @@ -702,7 +702,7 @@ "opensource":"false;true" } ], - "title":"Querying Task Execution Status", + "title":"Querying Job Execution Status", "githuburl":"" }, { @@ -938,7 +938,7 @@ "node_id":"en-us_topic_0175597846.xml", "product_code":"ecs", "code":"50", - "des":"This API is used to query ECS groups.GET /v1/{project_id}/cloudservers/os-server-groups?limit={limit}&marker={marker}Table 1 describes the parameters in the URI.Path para", + "des":"This API is used to query ECS groups.GET /v1/{project_id}/cloudservers/os-server-groupsTable 1 describes the parameters in the URI.Path parametersParameterMandatoryDescri", "doc_type":"api", "kw":"Querying ECS Groups,ECS Group Management,API Reference", "search_title":"", @@ -2211,9 +2211,9 @@ "node_id":"en-us_topic_0065817721.xml", "product_code":"ecs", "code":"117", - "des":"This API is used to query ECS groups.GET /v2.1/{project_id}/os-server-groupsGET /v2/{project_id}/os-server-groupsTable 1 describes the parameters in the URI.Parameter des", + "des":"This API is used to query the list of ECS groups.GET /v2.1/{project_id}/os-server-groupsGET /v2/{project_id}/os-server-groupsTable 1 describes the parameters in the URI.P", "doc_type":"api", - "kw":"Querying ECS Groups,ECS Group Management,API Reference", + "kw":"Querying the List of ECS Groups,ECS Group Management,API Reference", "search_title":"", "metedata":[ { @@ -2222,7 +2222,7 @@ "opensource":"false;true" } ], - "title":"Querying ECS Groups", + "title":"Querying the List of ECS Groups", "githuburl":"" }, { @@ -3049,7 +3049,7 @@ "code":"161", "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":"api", - "kw":"Task Request Result", + "kw":"Job Request Results", "search_title":"", "metedata":[ { @@ -3058,7 +3058,7 @@ "opensource":"false;true" } ], - "title":"Task Request Result", + "title":"Job Request Results", "githuburl":"" }, { @@ -3066,9 +3066,9 @@ "node_id":"en-us_topic_0022067714.xml", "product_code":"ecs", "code":"162", - "des":"Normal response descriptionParameterTypeDescriptionjob_idStringSpecifies the returned task ID after delivering the task. Users can query the task progress using this ID. ", + "des":"Normal response descriptionParameterTypeDescriptionjob_idStringSpecifies the returned job ID after delivering the job. Users can query the job progress using this ID. For", "doc_type":"api", - "kw":"Responses (Task),Task Request Result,API Reference", + "kw":"Responses (Jobs),Job Request Results,API Reference", "search_title":"", "metedata":[ { @@ -3077,7 +3077,7 @@ "opensource":"false;true" } ], - "title":"Responses (Task)", + "title":"Responses (Jobs)", "githuburl":"" }, { @@ -3085,9 +3085,9 @@ "node_id":"en-us_topic_0022067715.xml", "product_code":"ecs", "code":"163", - "des":"NormalReturned ValueDescription200The task is successfully delivered.202After the task is successfully delivered, the task to be delivered shall be postponed because the ", + "des":"NormalReturned ValueDescription200The job is delivered.202The job is delivered. It will be processed with a delay because the system is busy.204The job is delivered.Abnor", "doc_type":"api", - "kw":"Returned Values,Task Request Result,API Reference", + "kw":"Returned Values,Job Request Results,API Reference", "search_title":"", "metedata":[ { @@ -3106,7 +3106,7 @@ "code":"164", "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":"api", - "kw":"Batch Task Request", + "kw":"Batch Request Results", "search_title":"", "metedata":[ { @@ -3115,7 +3115,7 @@ "opensource":"false;true" } ], - "title":"Batch Task Request", + "title":"Batch Request Results", "githuburl":"" }, { @@ -3123,9 +3123,9 @@ "node_id":"en-us_topic_0142195139.xml", "product_code":"ecs", "code":"165", - "des":"The following responses are only for resetting the passwords for logging in to ECSs in a batch and for modifying ECS specifications in a batch. For details about the resp", + "des":"The following responses are only for batch resetting the passwords for logging in to ECSs and for batch modifying ECS specifications. For details about the responses of o", "doc_type":"api", - "kw":"Responses (Batch Operation),Batch Task Request,API Reference", + "kw":"Responses (Batch Requests),Batch Request Results,API Reference", "search_title":"", "metedata":[ { @@ -3134,7 +3134,7 @@ "opensource":"false;true" } ], - "title":"Responses (Batch Operation)", + "title":"Responses (Batch Requests)", "githuburl":"" }, { diff --git a/docs/ecs/api-ref/CLASS.TXT.json b/docs/ecs/api-ref/CLASS.TXT.json index 1f9e6b04c..5d836a67b 100644 --- a/docs/ecs/api-ref/CLASS.TXT.json +++ b/docs/ecs/api-ref/CLASS.TXT.json @@ -171,7 +171,7 @@ "code":"19" }, { - "desc":"This API is used to query details about ECS flavors and extended flavor information.GET /v1/{project_id}/cloudservers/flavors?availability_zone={availability_zone}Table 1", + "desc":"This API is used to query details about ECS flavors and extended flavor information.GET /v1/{project_id}/cloudservers/flavorsTable 1 describes the parameters in the URI.P", "product_code":"ecs", "title":"Querying Details About Flavors and Extended Flavor Information", "uri":"en-us_topic_0020212656.html", @@ -207,7 +207,7 @@ "code":"23" }, { - "desc":"This API is used to uninstall and delete one or multiple NICs from an ECS.This API is an asynchronous API. After the deletion request is successfully delivered, a job ID ", + "desc":"This API is used to delete one or multiple NICs from an ECS.This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. T", "product_code":"ecs", "title":"Deleting NICs from an ECS in a Batch", "uri":"en-us_topic_0020212665.html", @@ -317,16 +317,16 @@ { "desc":"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.", "product_code":"ecs", - "title":"Task Status Management", + "title":"Job Status Management", "uri":"en-us_topic_0022225397.html", "doc_type":"api", "p_code":"2", "code":"36" }, { - "desc":"This API is used to query the execution status of an asynchronous request task.After an asynchronous request task is issued, for example, creating or deleting an ECS, per", + "desc":"This API is used to query the execution status of an asynchronous job.After an asynchronous job is issued, for example, creating or deleting an ECS, performing operations", "product_code":"ecs", - "title":"Querying Task Execution Status", + "title":"Querying Job Execution Status", "uri":"en-us_topic_0022225398.html", "doc_type":"api", "p_code":"36", @@ -441,7 +441,7 @@ "code":"49" }, { - "desc":"This API is used to query ECS groups.GET /v1/{project_id}/cloudservers/os-server-groups?limit={limit}&marker={marker}Table 1 describes the parameters in the URI.Path para", + "desc":"This API is used to query ECS groups.GET /v1/{project_id}/cloudservers/os-server-groupsTable 1 describes the parameters in the URI.Path parametersParameterMandatoryDescri", "product_code":"ecs", "title":"Querying ECS Groups", "uri":"en-us_topic_0175597846.html", @@ -1044,9 +1044,9 @@ "code":"116" }, { - "desc":"This API is used to query ECS groups.GET /v2.1/{project_id}/os-server-groupsGET /v2/{project_id}/os-server-groupsTable 1 describes the parameters in the URI.Parameter des", + "desc":"This API is used to query the list of ECS groups.GET /v2.1/{project_id}/os-server-groupsGET /v2/{project_id}/os-server-groupsTable 1 describes the parameters in the URI.P", "product_code":"ecs", - "title":"Querying ECS Groups", + "title":"Querying the List of ECS Groups", "uri":"en-us_topic_0065817721.html", "doc_type":"api", "p_code":"115", @@ -1442,23 +1442,23 @@ { "desc":"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.", "product_code":"ecs", - "title":"Task Request Result", + "title":"Job Request Results", "uri":"en-us_topic_0022067713.html", "doc_type":"api", "p_code":"159", "code":"161" }, { - "desc":"Normal response descriptionParameterTypeDescriptionjob_idStringSpecifies the returned task ID after delivering the task. Users can query the task progress using this ID. ", + "desc":"Normal response descriptionParameterTypeDescriptionjob_idStringSpecifies the returned job ID after delivering the job. Users can query the job progress using this ID. For", "product_code":"ecs", - "title":"Responses (Task)", + "title":"Responses (Jobs)", "uri":"en-us_topic_0022067714.html", "doc_type":"api", "p_code":"161", "code":"162" }, { - "desc":"NormalReturned ValueDescription200The task is successfully delivered.202After the task is successfully delivered, the task to be delivered shall be postponed because the ", + "desc":"NormalReturned ValueDescription200The job is delivered.202The job is delivered. It will be processed with a delay because the system is busy.204The job is delivered.Abnor", "product_code":"ecs", "title":"Returned Values", "uri":"en-us_topic_0022067715.html", @@ -1469,16 +1469,16 @@ { "desc":"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.", "product_code":"ecs", - "title":"Batch Task Request", + "title":"Batch Request Results", "uri":"en-us_topic_0142195138.html", "doc_type":"api", "p_code":"159", "code":"164" }, { - "desc":"The following responses are only for resetting the passwords for logging in to ECSs in a batch and for modifying ECS specifications in a batch. For details about the resp", + "desc":"The following responses are only for batch resetting the passwords for logging in to ECSs and for batch modifying ECS specifications. For details about the responses of o", "product_code":"ecs", - "title":"Responses (Batch Operation)", + "title":"Responses (Batch Requests)", "uri":"en-us_topic_0142195139.html", "doc_type":"api", "p_code":"164", diff --git a/docs/ecs/api-ref/en-us_topic_0000001207303618.html b/docs/ecs/api-ref/en-us_topic_0000001207303618.html index cd4c3772a..05c24531a 100644 --- a/docs/ecs/api-ref/en-us_topic_0000001207303618.html +++ b/docs/ecs/api-ref/en-us_topic_0000001207303618.html @@ -1,11 +1,7 @@ - -

Tag Management

- -

-
- +

Tag Management

+

Response

Table 2 describes the response parameter.

-
- - @@ -88,7 +101,14 @@ - @@ -96,7 +116,7 @@ -

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

Change the ECS flavor to c3.15xlarge.2.

POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/resize
diff --git a/docs/ecs/api-ref/en-us_topic_0020212656.html b/docs/ecs/api-ref/en-us_topic_0020212656.html
index 4cf31faf7..dc0cc08e4 100644
--- a/docs/ecs/api-ref/en-us_topic_0020212656.html
+++ b/docs/ecs/api-ref/en-us_topic_0020212656.html
@@ -3,7 +3,7 @@
 

Querying Details About Flavors and Extended Flavor Information

Function

This API is used to query details about ECS flavors and extended flavor information.

-

URI

GET /v1/{project_id}/cloudservers/flavors?availability_zone={availability_zone}

+

URI

GET /v1/{project_id}/cloudservers/flavors

Table 1 describes the parameters in the URI.
Table 2 Response parameter

Parameter

+
diff --git a/docs/ecs/api-ref/en-us_topic_0000001207783562.html b/docs/ecs/api-ref/en-us_topic_0000001207783562.html index bd61d4b31..8dfbeaa48 100644 --- a/docs/ecs/api-ref/en-us_topic_0000001207783562.html +++ b/docs/ecs/api-ref/en-us_topic_0000001207783562.html @@ -38,7 +38,7 @@

Response

Table 2 describes the response parameter.

-
Table 2 Response parameters

Parameter

Type

Table 2 Response parameter

Parameter

+
diff --git a/docs/ecs/api-ref/en-us_topic_0000001266524365.html b/docs/ecs/api-ref/en-us_topic_0000001266524365.html index ececd0d61..1c64fd6b0 100644 --- a/docs/ecs/api-ref/en-us_topic_0000001266524365.html +++ b/docs/ecs/api-ref/en-us_topic_0000001266524365.html @@ -1,11 +1,7 @@ - -

Status Management

- -

-
- +

Status Management

+
- @@ -56,8 +56,8 @@

Example Request

Add a specified ECS to the monitoring list.

POST https://{endpoint}/v1.0/servers/{server_id}/action
 
-{  
-   "monitorMetrics" : null 
+{
+    "monitorMetrics": ""
 }

Example Response

None

diff --git a/docs/ecs/api-ref/en-us_topic_0020212207.html b/docs/ecs/api-ref/en-us_topic_0020212207.html index 69cb103d7..fd41d1905 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212207.html +++ b/docs/ecs/api-ref/en-us_topic_0020212207.html @@ -2,7 +2,7 @@

Starting ECSs in a Batch

Function

This API is used to start ECSs in a batch based on specified ECS IDs. A maximum of 1,000 ECSs can be started in one minute.

-

This API is an asynchronous API. After the batch start request is successfully delivered, a job ID is returned. This does not mean the batch start is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the batch start is successful.

+

This API is an asynchronous API. After the batch start request is successfully delivered, a job ID is returned. This does not mean the batch start is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the batch start is successful.

URI

POST /v1/{project_id}/cloudservers/action

Table 1 describes the parameters in the URI. @@ -96,7 +96,7 @@
Table 2 Response parameters

Parameter

Type

Yes

Null

+

String

Adds an ECS to the monitoring list.

-

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

Batch start ECSs whose IDs are 616fb98f-46ca-475e-917e-2563e5a8cd19 and 726fb98f-46ca-475e-917e-2563e5a8cd20 with the request parameter set to os-start.
POST https://{endpoint}/v1/{project_id}/cloudservers/action
 
diff --git a/docs/ecs/api-ref/en-us_topic_0020212649.html b/docs/ecs/api-ref/en-us_topic_0020212649.html
index e689bf075..06db26974 100644
--- a/docs/ecs/api-ref/en-us_topic_0020212649.html
+++ b/docs/ecs/api-ref/en-us_topic_0020212649.html
@@ -2,7 +2,7 @@
 
 

Restarting ECSs in a Batch

Function

This API is used to restart ECSs in a batch based on specified ECS IDs. A maximum of 1,000 ECSs can be restarted in one minute.

-

This API is an asynchronous API. After the batch restart request is successfully delivered, a job ID is returned. This does not mean the batch restart is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the batch restart is successful.

+

This API is an asynchronous API. After the batch restart request is successfully delivered, a job ID is returned. This does not mean the batch restart is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the batch restart is successful.

URI

POST /v1/{project_id}/cloudservers/action

Table 1 describes the parameters in the URI. @@ -107,7 +107,7 @@
-

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

Batch restart ECSs whose IDs are 616fb98f-46ca-475e-917e-2563e5a8cd19 and 726fb98f-46ca-475e-917e-2563e5a8cd20 with the request parameter set to reboot.
POST https://{endpoint}/v1/{project_id}/cloudservers/action
 
diff --git a/docs/ecs/api-ref/en-us_topic_0020212651.html b/docs/ecs/api-ref/en-us_topic_0020212651.html
index 2f434e1a3..08e99d422 100644
--- a/docs/ecs/api-ref/en-us_topic_0020212651.html
+++ b/docs/ecs/api-ref/en-us_topic_0020212651.html
@@ -2,7 +2,7 @@
 
 

Stopping ECSs in a Batch

Function

This API is used to stop ECSs in a batch based on specified ECS IDs. A maximum of 1,000 ECSs can be stopped in one minute.

-

This API is an asynchronous API. After the batch stop request is successfully delivered, a job ID is returned. This does not mean the batch stop is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the batch stop is successful.

+

This API is an asynchronous API. After the batch stop request is successfully delivered, a job ID is returned. This does not mean the batch stop is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the batch stop is successful.

URI

POST /v1/{project_id}/cloudservers/action

Table 1 describes the parameters in the URI. @@ -107,7 +107,7 @@
-

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

Batch stop ECSs whose IDs are 616fb98f-46ca-475e-917e-2563e5a8cd19 and 726fb98f-46ca-475e-917e-2563e5a8cd20 with the request parameter set to os-stop.
POST https://{endpoint}/v1/{project_id}/cloudservers/action
 
diff --git a/docs/ecs/api-ref/en-us_topic_0020212653.html b/docs/ecs/api-ref/en-us_topic_0020212653.html
index b5238d46e..be41f1c94 100644
--- a/docs/ecs/api-ref/en-us_topic_0020212653.html
+++ b/docs/ecs/api-ref/en-us_topic_0020212653.html
@@ -2,7 +2,7 @@
 
 

Modifying the Specifications of an ECS

Function

ECS specifications can be modified, for example, upgrading the vCPUs and memory, to meet service requirements. This API is used to modify ECS specifications.

-

This API is an asynchronous API. After the specifications modification request is successfully delivered, a job ID is returned. This does not mean the modification is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the modification is successful.

+

This API is an asynchronous API. After the specifications modification request is successfully delivered, a job ID is returned. This does not mean the modification is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the modification is successful.

An ECS flavor cannot be changed to certain flavors. For details, see Querying the Target Flavors to Which an ECS Flavor Can Be Changed.

Constraints

  • You can modify the ECS specifications only when the ECS is stopped.
@@ -53,7 +53,14 @@

Object

Specifies the operation to modify ECS specifications. For details, see Table 3.

+

Definition

+

Specifies the operation to modify ECS specifications. For details, see Table 3.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

dry_run

@@ -62,10 +69,16 @@

Boolean

Specifies whether to only check the request and not modify the ECS specifications.

-

true: The request is sent and the ECS specifications are not modified. Check items include mandatory parameters and request format.

-
  • If the check fails, the system returns an error.
  • If the check is successful, the system returns status code 202.
-

false: The request is sent and the ECS specifications will be modified after the check is passed.

+

Definition

+

Specifies whether to check the request. If this parameter is set to true, no instance is created.

+

Constraints

+

N/A

+

Range

+
  • true: Check the request. Check items include the mandatory parameters and request format.
    • If the check fails, the system returns an error.
    • If the check is successful, the system returns status code 202.
    +
+
  • false: Send the request without checking the request body.
+

Default Value

+

false

String

Specifies the flavor ID of the ECS after the modification.

+

Definition

+

Specifies the flavor ID of the ECS after the modification.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

@@ -42,7 +42,14 @@ - @@ -63,7 +70,10 @@ - @@ -82,91 +92,126 @@ - - - - - - - - - - - - @@ -175,14 +220,20 @@ - - @@ -272,7 +323,7 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0020212658.html b/docs/ecs/api-ref/en-us_topic_0020212658.html index 6382bfe16..bcd5873bd 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212658.html +++ b/docs/ecs/api-ref/en-us_topic_0020212658.html @@ -43,7 +43,7 @@ - - - diff --git a/docs/ecs/api-ref/en-us_topic_0020212659.html b/docs/ecs/api-ref/en-us_topic_0020212659.html index 388865d21..2338a6108 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212659.html +++ b/docs/ecs/api-ref/en-us_topic_0020212659.html @@ -96,7 +96,7 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0020212661.html b/docs/ecs/api-ref/en-us_topic_0020212661.html index 2c5cc0024..932692fcd 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212661.html +++ b/docs/ecs/api-ref/en-us_topic_0020212661.html @@ -81,7 +81,7 @@ - -
Table 1 Path parameters

Parameter

String

Specifies an AZ. If this parameter is not left blank, flavors in the normal, obt, or promotion states are returned.

+

Definition

+

Specifies an AZ. If this parameter is not left blank, flavors in the normal, obt, or promotion states are returned.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

Array of objects

Specifies ECS flavors. For details, see Table 4.

+

Definition

+

Specifies ECS flavors. For details, see Table 4.

+

Range

+

N/A

String

Specifies the ID of the ECS flavor.

+

Definition

+

Specifies the ID of the ECS flavor.

+

Range

+

N/A

name

String

Specifies the name of the ECS flavor.

+

Definition

+

Specifies the name of the ECS flavor.

+

Range

+

N/A

vcpus

String

Specifies the number of vCPUs in the ECS flavor.

+

Definition

+

Specifies the number of vCPUs in the ECS flavor.

+

Range

+

N/A

ram

Integer

Specifies the memory size (MB) in the ECS flavor.

+

Definition

+

Specifies the memory size (MiB) in the ECS flavor.

+

Range

+

N/A

disk

String

Specifies the system disk size in the ECS flavor.

+

Definition

+

Specifies the system disk size in the ECS flavor.

This parameter has not been used. Its default value is 0.

+

Range

+

N/A

swap

String

Specifies the swap partition size required by the ECS flavor.

+

Definition

+

Specifies the swap partition size required by the ECS flavor.

This parameter has not been used. Its default value is "".

+

Range

+

N/A

OS-FLV-EXT-DATA:ephemeral

Integer

Specifies the temporary disk size. This is an extended attribute.

+

Definition

+

Specifies the temporary disk size. This is an extended attribute.

This parameter has not been used. Its default value is 0.

+

Range

+

N/A

OS-FLV-DISABLED:disabled

Boolean

Specifies whether the ECS flavor has been disabled. This is an extended attribute.

+

Definition

+

Specifies whether the ECS flavor has been disabled. This is an extended attribute.

This parameter has not been used. Its default value is false.

+

Range

+

N/A

rxtx_factor

Float

Specifies the ratio of the available network bandwidth to the network hardware bandwidth of the ECS.

+

Definition

+

Specifies the ratio of the available network bandwidth to the network hardware bandwidth of the ECS.

This parameter has not been used. Its default value is 1.0.

+

Range

+

N/A

rxtx_quota

String

Specifies the software constraints of the network bandwidth that can be used by the ECS.

+

Definition

+

Specifies the software constraints of the network bandwidth that can be used by the ECS.

This parameter has not been used. Its default value is null.

+

Range

+

N/A

rxtx_cap

String

Specifies the hardware constraints of the network bandwidth that can be used by the ECS.

+

Definition

+

Specifies the hardware constraints of the network bandwidth that can be used by the ECS.

This parameter has not been used. Its default value is null.

+

Range

+

N/A

os-flavor-access:is_public

Boolean

Specifies whether a flavor is available to all tenants. This is an extended attribute.

+

Definition

+

Specifies whether a flavor is available to all tenants. This is an extended attribute.

+

Range

  • true: indicates that a flavor is available to all tenants.
  • false: indicates that a flavor is available only to certain tenants.

Default value: true

Array of objects

Specifies shortcut links for ECS flavors. For details, see Table 5.

+

Definition

+

Specifies shortcut links for ECS flavors. For details, see Table 5.

+

Range

+

N/A

os_extra_specs

Object

Specifies extended ECS specifications. For details, see Table 6.

+

Definition

+

Specifies extended ECS specifications. For details, see Table 6.

+

Range

+

N/A

The value of this parameter is in format of {type}:{count}:{size}:{safeFormat}.

  • type: indicates the disk type, which can only be HDD.
  • count: indicates the number of local disks. The following types are supported:
    • For D2 ECSs, the value can be 2, 4, 8, 12, 16, or 24.
    • For D3 ECSs, the value can be 2, 4, 8, 12, 16, 24, or 28.
    -
  • size: indicates the capacity of a single disk, in GB. Currently, only 1675 is supported. The actual disk size is 1800, and the available size after formatting is 1675.
  • safeFormat: indicates whether the local disks of the ECS are securely formatted. The following types are supported:
    • For D2 or D3 ECSs, the value is True.
    +
  • size: indicates the capacity of a single disk, in GiB. Currently, only 1675 is supported. The actual disk size is 1800, and the available size after formatting is 1675.
  • safeFormat: indicates whether the local disks of the ECS are securely formatted. The following types are supported:
    • For D2 or D3 ECSs, the value is True.
NOTE:

This field is dedicated for disk-intensive ECSs.

@@ -283,8 +334,8 @@

String

The value of this parameter is in the format of {type}:{spec}:{num}:{size}:{safeFormat}.

-
  • type: indicates the capacity of a single NVME SSD disk attached to the ECS, which can only be 1.6 TB or 3.2 TB.
  • spec: indicates the specifications of the NVMe SSD disk, which can be large (large specifications) or lvs (small specifications).

    If spec is set to large, only I series (for example, I3) is supported.

    -
  • num indicates the number of local disks.
  • size: indicates the capacity, in the unit of GB, of the disk used by the guest user. If the spec value is large, the value of this parameter is the size of a single disk attached to the ECS. If the value of spec is lvs, the value of size is an integer multiple of 50.
  • safeFormat: indicates whether the local disks of the ECS are securely formatted.

    If safeFormat is set to True, only I series (for example, I3) is supported.

    +
    • type: indicates the capacity of a single NVMe SSD disk attached to the ECS, which can only be 1.6 TB or 3.2 TB.
    • spec: indicates the specifications of the NVMe SSD disk, which can be large (large specifications) or lvs (small specifications).

      If spec is set to large, only I series (for example, I3) is supported.

      +
    • num indicates the number of local disks.
    • size: indicates the capacity, in the unit of GiB, of the disk used by the guest user. If the spec value is large, the value of this parameter is the size of a single disk attached to the ECS. If the value of spec is lvs, the value of size is an integer multiple of 50.
    • safeFormat: indicates whether the local disks of the ECS are securely formatted.

      If safeFormat is set to True, only I series (for example, I3) is supported.

    NOTE:

    This field is dedicated for ultra-high I/O ECSs.

    @@ -295,7 +346,7 @@

String

Specifies the generation of an ECS type.

-

For example, 3 in s3 indicates the general-purpose third-generation ECSs. For details about flavors and generations, see ECS Specifications in the Elastic Cloud Server User Guide.

+

For example, 3 in s3 indicates the general-purpose third-generation ECSs. For details about flavors and generations, see ECS Specifications in the Elastic Cloud Server User Guide.

ecs:virtualization_env_types

@@ -328,7 +379,7 @@

String

This parameter takes effect region-wide. If an AZ is not configured in the cond:operation:az parameter, the value of this parameter is used by default. If this parameter is not set or used, the meaning of normal applies. Value range:

+

This parameter takes effect region-wide. If an AZ is not configured in the cond:operation:az parameter, the value of this parameter is used by default. If this parameter is not set or used, the meaning of normal applies. Options:

  • normal: indicates normal commercial use of the flavor.
  • abandon: indicates that the flavor has been taken offline (not displayed).
  • sellout: indicates that the flavor has been sold out.
  • obt: indicates that the flavor is under open beta testing (OBT).
  • obt_sellout: indicates that the OBT resources are sold out.
  • promotion: indicates that the flavor is recommended (for commercial use, which is similar to normal).

String

Specifies the minimum disk specification in the unit of GB. Only the ECSs with the disk specification greater than or equal to the minimum specification can be queried.

+

Specifies the minimum disk size in GiB. Only the ECSs with a disk size greater than or equal to the minimum size can be queried.

minRam

@@ -52,7 +52,7 @@

String

Specifies the minimum RAM in the unit of MB. Only the ECSs with the RAM specification greater than or equal to the minimum specification can be queried.

+

Specifies the minimum memory size in MiB. Only the ECSs with the memory size greater than or equal to the minimum size can be queried.

sort_key

@@ -147,7 +147,7 @@

Integer

Specifies the memory size (MB) in the ECS flavor.

+

Specifies the memory size (MiB) in the ECS flavor.

disk

@@ -163,7 +163,7 @@

String

Specifies the swap partition size required by the ECS flavor.

-

This parameter has not been used. Its default value is "".

+

This parameter has not been used. Its default value is "".

OS-FLV-EXT-DATA:ephemeral

@@ -171,7 +171,7 @@

Integer

Specifies the temporary disk size. This is an extended attribute.

-

This parameter has not been used. Its default value is 0.

+

This parameter has not been used. Its default value is 0.

OS-FLV-DISABLED:disabled

@@ -179,7 +179,7 @@

Boolean

Specifies whether the ECS flavor has been disabled. This is an extended attribute.

-

This parameter has not been used. Its default value is false.

+

This parameter has not been used. Its default value is false.

rxtx_factor

@@ -187,7 +187,7 @@

Float

Specifies the ratio of the available network bandwidth to the network hardware bandwidth of the ECS.

-

This parameter has not been used. Its default value is 1.0.

+

This parameter has not been used. Its default value is 1.0.

os-flavor-access:is_public

@@ -195,7 +195,7 @@

Boolean

Specifies whether a flavor is available to all tenants. This is an extended attribute.

-
  • true: indicates that a flavor is available to all tenants.
  • false: indicates that a flavor is available only to certain tenants.
+
  • true: indicates that a flavor is available to all tenants.
  • false: indicates that a flavor is available only to certain tenants.

Default value: true

Integer

Specifies the memory size (MB) in the ECS flavor.

+

Specifies the memory size (MiB) in the ECS flavor.

disk

@@ -112,7 +112,7 @@

String

Specifies the swap partition size required by the ECS flavor.

-

This parameter has not been used. Its default value is "".

+

This parameter has not been used. Its default value is "".

OS-FLV-EXT-DATA:ephemeral

@@ -120,7 +120,7 @@

Integer

Specifies the temporary disk size. This is an extended attribute.

-

This parameter has not been used. Its default value is 0.

+

This parameter has not been used. Its default value is 0.

OS-FLV-DISABLED:disabled

@@ -128,7 +128,7 @@

Boolean

Specifies whether the ECS flavor has been disabled. This is an extended attribute.

-

This parameter has not been used. Its default value is false.

+

This parameter has not been used. Its default value is false.

rxtx_factor

@@ -136,7 +136,7 @@

Float

Specifies the ratio of the available network bandwidth to the network hardware bandwidth of the ECS.

-

This parameter has not been used. Its default value is 1.0.

+

This parameter has not been used. Its default value is 1.0.

os-flavor-access:is_public

@@ -144,7 +144,7 @@

Boolean

Specifies whether a flavor is available to all tenants. This is an extended attribute.

-
  • true: indicates that a flavor is available to all tenants.
  • false: indicates that a flavor is available only to certain tenants.
+
  • true: indicates that a flavor is available to all tenants.
  • false: indicates that a flavor is available only to certain tenants.

Default value: true

String

Specifies the network ID to which the NIC port belongs.

+

Specifies the network ID (network_id) that the NIC port belongs to.

port_id

diff --git a/docs/ecs/api-ref/en-us_topic_0020212662.html b/docs/ecs/api-ref/en-us_topic_0020212662.html index 24eb3ff73..cc190f09d 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212662.html +++ b/docs/ecs/api-ref/en-us_topic_0020212662.html @@ -88,7 +88,7 @@

String

Specifies the network ID to which the NIC port belongs.

+

Specifies the network ID that the NIC port belongs to.

port_id

diff --git a/docs/ecs/api-ref/en-us_topic_0020212663.html b/docs/ecs/api-ref/en-us_topic_0020212663.html index 51f010109..f6f1e19ac 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212663.html +++ b/docs/ecs/api-ref/en-us_topic_0020212663.html @@ -2,30 +2,32 @@

Adding NICs to an ECS in a Batch

Function

This API is used to add one or multiple NICs to an ECS.

-

This API is an asynchronous API. After the NIC addition request is successfully delivered, a job ID is returned. This does not mean the NIC addition is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the NIC addition is successful.

+

This API is an asynchronous API. After the NIC addition request is successfully delivered, a job ID is returned. This does not mean the NIC addition is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the NIC addition is successful.

+
+

Constraints

Do not detach or delete the NICs that are being added.

URI

POST /v1/{project_id}/cloudservers/{server_id}/nics

Table 1 describes the parameters in the URI. -
Table 1 Parameter description

Parameter

+
- - - - - - - - @@ -34,107 +36,107 @@

Request

Table 2 describes the request parameters. -
Table 1 Parameter description

Parameter

Mandatory

+

Mandatory

Description

+

Description

project_id

+

project_id

Yes

+

Yes

Specifies the project ID.

+

Specifies the project ID.

server_id

+

server_id

Yes

+

Yes

Specifies the ECS ID.

+

Specifies the ECS ID.

Table 2 Request parameters

Parameter

+
- - - - - - -
Table 2 Request parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

nics

+

nics

Yes

+

Yes

Array of objects

+

Array of objects

Specifies the NICs to be added. For details, see Table 3.

+

Specifies the NICs to be added. For details, see Table 3.

-
Table 3 nics field description

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - -
Table 3 nics field description

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

subnet_id

+

subnet_id

Yes

+

Yes

String

+

String

Specifies the information about the NICs to be added to an ECS.

+

Specifies the information about the NICs to be added to an ECS.

The value must be the ID of a created network in UUID format.

security_groups

+

security_groups

No

+

No

Array of objects

+

Array of objects

Specifies the security groups for NICs. For details, see Table 4.

+

Specifies the security groups for NICs. For details, see Table 4.

ip_address

+

ip_address

No

+

No

String

+

String

Specifies the IP address. If this parameter is unavailable, the IP address is automatically assigned.

+

Specifies the IP address. If this parameter is unavailable, the IP address is automatically assigned.

ipv6_enable

+

ipv6_enable

No

+

No

Boolean

+

Boolean

Indicates whether to support IPv6 addresses.

+

Indicates whether to support IPv6 addresses.

If this parameter is set to true, the NIC supports IPv6 addresses.

ipv6_bandwidth

+

ipv6_bandwidth

No

+

No

Object

+

Object

Specifies the bound shared bandwidth. For details, see ipv6_bandwidth Field Description.

+

Specifies the bound shared bandwidth. For details, see ipv6_bandwidth Field Description.

-
- diff --git a/docs/ecs/api-ref/en-us_topic_0020212674.html b/docs/ecs/api-ref/en-us_topic_0020212674.html index 730ac4a70..74a400030 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212674.html +++ b/docs/ecs/api-ref/en-us_topic_0020212674.html @@ -40,7 +40,10 @@ - @@ -59,137 +62,194 @@ - - - - - - - - - - - - - - - - - - - diff --git a/docs/ecs/api-ref/en-us_topic_0020212676.html b/docs/ecs/api-ref/en-us_topic_0020212676.html index 9df748b3d..f73b3fb18 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212676.html +++ b/docs/ecs/api-ref/en-us_topic_0020212676.html @@ -67,7 +67,7 @@
Table 4 security_groups field description

Parameter

+
- - - - - - - @@ -142,7 +144,7 @@ -

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

Add the NIC whose ID is d32019d3-bc6e-4319-9c1d-6722fc136a23 and security group ID is f0ac4394-7e4a-4409-9701-ba8be283dbc3 to an ECS.

POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/nics
diff --git a/docs/ecs/api-ref/en-us_topic_0020212665.html b/docs/ecs/api-ref/en-us_topic_0020212665.html
index 5bfd3cc48..67654cf15 100644
--- a/docs/ecs/api-ref/en-us_topic_0020212665.html
+++ b/docs/ecs/api-ref/en-us_topic_0020212665.html
@@ -1,8 +1,8 @@
 
 
 

Deleting NICs from an ECS in a Batch

-

Function

This API is used to uninstall and delete one or multiple NICs from an ECS.

-

This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. This does not mean the deletion is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the deletion is successful.

+

Function

This API is used to delete one or multiple NICs from an ECS.

+

This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. This does not mean the deletion is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the deletion is successful.

Constraints

The primary NIC of an ECS has routing rules configured and cannot be deleted.

@@ -85,7 +85,7 @@
-

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

Delete the NIC whose ID is d32019d3-bc6e-4319-9c1d-6722fc136a23 from an ECS.

POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/nics/delete
diff --git a/docs/ecs/api-ref/en-us_topic_0020212668.html b/docs/ecs/api-ref/en-us_topic_0020212668.html
index 31c95e47d..f67936bef 100644
--- a/docs/ecs/api-ref/en-us_topic_0020212668.html
+++ b/docs/ecs/api-ref/en-us_topic_0020212668.html
@@ -2,14 +2,14 @@
 
 

Creating an ECS

Function

This API is used to create one or more ECSs.

-

This API is an asynchronous API. After the creation request is successfully delivered, a job ID is returned. This does not mean that the creation is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the creation is successful.

+

This API is an asynchronous API. After the creation request is successfully delivered, a job ID is returned. This does not mean that the creation is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the creation is successful.

Before calling this API, you need to obtain regions and endpoints.

Logging in to an ECS can be authenticated using either a key pair or password. For security purposes, you are advised to use key pair authentication.

  • Key pair

    A key pair is used for ECS login authentication.

    Method of calling APIs: Use the key_name field to specify the key file used for logging in to the ECS.

    -
  • Password

    If you choose the initial password for authentication in an ECS, you can log in to the ECS using the username and its initial password. The initial password of user root is used for authentication in Linux, while that of user Administrator is used for authentication in Windows.

    -
    Method of calling APIs: Use the adminPass field to specify the initial login password of the administrator account. For details about how to use the adminPass field, see Table 3. If an encrypted password is required for logging in to a Linux ECS that is created using an image with Cloud-Init installed, you can use the user_data field to inject the password. For details, see Table 3.

    If the user_data field is specified for a Linux ECS that is created using an image with Cloud-Init installed, the adminPass field becomes invalid.

    +
  • Password

    If you choose the initial password for authentication in an ECS, you can log in to the ECS using the username and its initial password. The initial password of user root is used for authentication in Linux, while that of user Administrator is used for authentication in Windows.

    +
    Method of calling APIs: Use the adminPass field to specify the initial login password of the administrator account. For details about how to use the adminPass field, see Table 3. If an encrypted password is required for logging in to a Linux ECS that is created using an image with Cloud-Init installed, you can use the user_data field to inject the password. For details, see Table 3.

    If the user_data field is specified for a Linux ECS that is created using an image with Cloud-Init installed, the adminPass field becomes invalid.

  • Image password

    If you use a Linux private image to create an ECS, you can use the image password for login authentication.

    @@ -56,7 +56,14 @@
- - @@ -90,9 +104,16 @@ - - - - - - - - - - - - - - - - - - - - @@ -340,8 +468,14 @@ echo 111 > c:\aaa.txt - - - - - - @@ -411,13 +578,18 @@ echo 111 > c:\aaa.txt - - - - @@ -474,13 +662,18 @@ echo 111 > c:\aaa.txt - - - - - - - - + + +
Table 4 security_groups field description

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

id

+

id

Yes

+

Yes

String

+

String

Specifies the ID of the security group.

+

Specifies the ID of the security group.

Object

Specifies the ECS information. For details, see Table 3.

+

Definition

+

Specifies the ECS information. For details, see Table 3.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

dry_run

@@ -65,9 +72,16 @@

Boolean

Specifies whether to check the request and create the ECS. The default value is false.

-
  • true: The request is sent, but the ECS will not be created. Check items include mandatory parameters and request format.
    • If the check fails, the system returns an error.
    • If the check is successful, the system returns status code 202.
    -
  • false: The request is sent and the ECS will be created after the check is passed.
+

Definition

+

Specifies whether to check the request. If this parameter is set to true, no instance is created.

+

Constraints

+

N/A

+

Range

+
  • true: Check the request. Check items include the mandatory parameters and request format.
    • If the check fails, the system returns an error.
    • If the check is successful, the system returns status code 202.
    +
+
  • false: Send the request without checking the request body.
+

Default Value

+

false

String

Specifies the ID of the system image used for creating ECSs. The ID is in Universally Unique Identifier (UUID) format.

+

Definition

+

Specifies the ID of the system image used for creating ECSs. The ID is in the format of a Universally Unique Identifier (UUID).

+

You can obtain the image ID from the console or by following the instructions provided in "Querying Images" in Image Management Service API Reference.

+

Constraints

NOTE:
  • Certain ECS flavors cannot support all public images provided on the cloud platform. To obtain the images supported by an ECS flavor, log in to the management console, view the images displayed on the Create ECS page, and obtain the image IDs on the Image Management Service page.
  • If the creation fails, modify the parameter settings.
+

Range

+

N/A

+

Default Value

+

N/A

flavorRef

@@ -101,8 +122,15 @@

String

Specifies the flavor ID of the ECS to be created.

+

Definition

+

Specifies the flavor ID of the ECS to be created.

For details about the flavors that have been released, see "ECS Specifications and Types" in Elastic Cloud Server User Guide.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

name

@@ -111,11 +139,14 @@

String

Specifies the ECS name.

-

Value range:

-
  • The parameter value consists of 1 to 128 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
  • If more than one ECS is to be created (the count value is greater than 1), the system automatically adds a hyphen followed by a four-digit incremental number, such as -0000, to the end of each ECS name. If you specify a number, the name of the first new ECS will start from the specified number. In this case, the ECS name contains a maximum of 59 characters.
    NOTE:

    ECS hostnames comply with RFC952 and RFC1123 naming rules. It is recommended that you configure hostnames using digits, lower-case letters, and hyphens (-).

    -
    -
+

Definition

+

Specifies the ECS name.

+

Constraints

+
  • If more than one ECS is to be created (the count value is greater than 1), the system automatically adds a hyphen followed by a four-digit incremental number, such as -0000, to the end of each ECS name. If you specify a number, the name of the first new ECS will start from the specified number. In this case, the ECS name contains 1 to 59 characters.
  • ECS hostnames comply with RFC 952 and RFC 1123 naming rules. It is recommended that you configure hostnames using digits (0 to 9), lowercase letters (a to z), and hyphens (-). Underscores (_) are converted into hyphens (-) by default.
+

Range

+

The parameter value consists of 1 to 128 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

+

Default Value

+

N/A

user_data

@@ -124,10 +155,8 @@

String

Specifies the user data to be injected to the ECS during the creation. Text and text files can be injected.

-
NOTE:
  • The content of user_data must be encoded with base64.
  • The maximum size of the content to be injected (before encoding) is 32 KB.
  • If the user_data field is specified for a Linux ECS that is created using an image with Cloud-Init installed, the adminPass field becomes invalid.
-
-

For more information about the user data to be injected, see "Injecting User Data into ECSs" in the Elastic Cloud Server User Guide.

+

Definition

+

Specifies the user data to be injected to the ECS during the creation. Text and text files can be injected.

Examples

Before base64 encoding:

  • Linux
    #!/bin/bash
    @@ -139,6 +168,13 @@ echo 111 > c:\aaa.txt
    • Linux
      IyEvYmluL2Jhc2gKZWNobyB1c2VyX3Rlc3QgPiAvaG9tZS91c2VyLnR4dA==
    • Windows
      cmVtIGNtZAplY2hvIDExMSA+IGM6XGFhYS50eHQ=
    +

    For more information about the user data to be injected, see "Injecting User Data into ECSs" in Elastic Cloud Server User Guide.

    +

    Constraints

    +
    • The content of user_data must be encoded with base64.
    • The maximum size of the content to be injected (before encoding) is 32 KB.
    • If the user_data field is specified for a Linux ECS that is created using an image with Cloud-Init installed, the adminPass field becomes invalid.
    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

adminPass

@@ -147,9 +183,14 @@ echo 111 > c:\aaa.txt

String

Specifies the initial login password of the administrator account for logging in to an ECS using password authentication. The Linux administrator is root, and the Windows administrator is Administrator. For details, see Function.

-
Password complexity requirements:
  • The password must contain 8 to 26 characters.
  • The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?~#*).
  • The password cannot contain the username or the username in reverse.
  • The Windows ECS password cannot contain the username, the username in reverse, or more than two consecutive characters in the username.
+

Definition

+

Specifies the initial login password of the administrator account for logging in to an ECS using password authentication. The Linux administrator is root, and the Windows administrator is Administrator. For details, see Function.

+

Constraints

+
  • The password cannot contain the username or the username in reverse.
  • The Windows ECS password cannot contain the username, the username in reverse, or more than two consecutive characters in the username.
  • If the user_data field is specified for a Linux ECS that is created using an image with Cloud-Init installed, the adminPass field becomes invalid.
  • If the key_name field is specified for an ECS that is created using an image with Cloud-Init installed, the adminPass field becomes invalid.
+
Range
  • The password must contain 8 to 26 characters.
  • The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?~#*).
+

Default Value

+

N/A

key_name

@@ -158,8 +199,15 @@ echo 111 > c:\aaa.txt

String

Specifies the name of the SSH key used for logging in to the ECS.

+

Definition

+

Specifies the name of the SSH key used for logging in to the ECS.

Keys can be created using the key creation API (Creating and Importing an SSH Key Pair) or obtained using the SSH key query API (Querying SSH Key Pairs).

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

vpcid

@@ -168,8 +216,15 @@ echo 111 > c:\aaa.txt

String

Specifies the ID of the VPC to which the ECS belongs. The value is in the format of the UUID.

+

Definition

+

Specifies the ID of the VPC to which the ECS belongs. The value is in the format of the UUID.

You can obtain the VPC ID from the management console or by following the instructions provided in "Querying VPCs" in Virtual Private Cloud API Reference.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

nics

@@ -178,10 +233,15 @@ echo 111 > c:\aaa.txt

Array of objects

Specifies the NIC information of the ECS. For details, see Table 4.

-

Constraints:

+

Definition

+

Specifies the NIC information of the ECS. For details, see Table 4.

+

Constraints

  • The value must be the ID of the subnet created in the VPC specified by vpcid and in the format of the UUID.
  • A maximum of 12 NICs can be attached to an ECS.
+

Range

+

N/A

+

Default Value

+

N/A

publicip

@@ -190,9 +250,16 @@ echo 111 > c:\aaa.txt

Object

Specifies the EIP bound to the ECS, which can be configured in one of the following ways:

+

Definition

+

Specifies the EIP bound to the ECS, which can be configured in one of the following ways:

  • Do not use: In such a case, this parameter is unavailable.
  • Automatically assign: You need to specify the information about the EIP to be created.
  • Use existing: You need to specify an existing EIP for your ECS.

For details, see Table 1.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

count

@@ -201,9 +268,14 @@ echo 111 > c:\aaa.txt

Integer

Specifies the number of ECSs to be created.

-

Constraints:

-
  • If this parameter is not specified, the default value is 1.
  • If the quota is sufficient, the maximum value is 500.
+

Definition

+

Specifies the number of instances to be created.

+

Constraints

+
  • If this parameter is not specified, the default value is 1.
  • If the tenant quota is sufficient, the maximum value is 100.
+

Range

+

N/A

+

Default Value

+

N/A

root_volume

@@ -212,8 +284,15 @@ echo 111 > c:\aaa.txt

Object

Specifies ECS system disk configurations.

+

Definition

+

Specifies ECS system disk configurations.

For details, see Table 5.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

data_volumes

@@ -222,9 +301,15 @@ echo 111 > c:\aaa.txt

Array of objects

Specifies ECS data disk configurations. Each data structure represents a data disk to be created.

-

An ECS can be attached with a maximum of 59 data disks (certain flavors support only 23 data disks).

+

Definition

+

Specifies ECS data disk configurations. Each data structure represents a data disk to be created.

+

Constraints

+

An ECS can be attached with a maximum of 59 data disks (certain flavors support only 23 data disks).

For details, see Table 6.

+

Range

+

N/A

+

Default Value

+

N/A

security_groups

@@ -233,9 +318,15 @@ echo 111 > c:\aaa.txt

Array of objects

Specifies the security groups of the ECS.

+

Definition

+

Specifies the security groups of the ECS.

+

Constraints

If this parameter is left blank, the default security group is bound to the ECS by default.

For details, see Table 2.

+

Range

+

N/A

+

Default Value

+

N/A

availability_zone

@@ -244,10 +335,15 @@ echo 111 > c:\aaa.txt

String

Specifies the name of the AZ where the ECS is located.

-
NOTE:

If this parameter is not specified, the system automatically selects an AZ.

-
+

Definition

+

Specifies the name of the AZ where the ECS is located.

See Querying AZs.

+

Constraints

+
  • If this parameter is not specified, the system automatically selects an AZ.
+

Range

+

N/A

+

Default Value

+

N/A

batch_create_in_multi_az

@@ -256,11 +352,16 @@ echo 111 > c:\aaa.txt

Boolean

Specifies whether ECSs can be deployed in multiple random AZs. The default value is false.

-
  • true: The batch created ECSs are deployed in multiple AZs.
  • false: The batch created ECSs are deployed in a single AZ.
+

Definition

+

Specifies whether ECSs can be randomly deployed in multiple AZs.

+

Constraints

This parameter is valid when availability_zone is left blank.

NOTE:

When ECSs are created in batches, parameter count is mandatory.

+

Range

+
  • true: The batch-created ECSs are deployed in multiple AZs.
  • false: The batch-created ECSs are deployed in a single AZ.
+

Default Value

+

false

extendparam

@@ -269,8 +370,15 @@ echo 111 > c:\aaa.txt

Object

Provides the supplementary information about the ECS to be created.

+

Definition

+

Provides the supplementary information about the ECS to be created.

For details, see Table 7.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

metadata

@@ -279,11 +387,15 @@ echo 111 > c:\aaa.txt

Object

Specifies the metadata of the ECS to be created.

-

You can use metadata to customize key-value pairs.

-
NOTE:
  • If the metadata contains sensitive data, take appropriate measures to protect the sensitive data, for example, controlling access permissions and encrypting the data.
  • A maximum of 10 key-value pairs can be injected.
  • A metadata key consists of 1 to 255 characters and contains only uppercase letters, lowercase letters, spaces, digits, hyphens (-), underscores (_), colons (:), and decimal points (.).
  • A metadata value consists of a maximum of 255 characters.
-
-

For details about reserved key-value pairs, see Table 9.

+

Definition

+

Specifies the metadata of the ECS to be created.

+

You can use metadata to customize key-value pairs. For details about reserved key-value pairs, see Table 9.

+

Constraints

+

If the metadata contains sensitive data, take appropriate measures to protect the sensitive data, for example, controlling access permissions and encrypting the data.

+

Range

+
  • A maximum of 10 key-value pairs can be injected.
  • A metadata key consists of 1 to 255 characters and can only contain uppercase letters, lowercase letters, spaces, digits, hyphens (-), underscores (_), colons (:), and periods (.).
  • A metadata value consists of a maximum of 255 characters.
+

Default Value

+

N/A

os:scheduler_hints

@@ -292,8 +404,15 @@ echo 111 > c:\aaa.txt

Object

Schedules ECSs, for example, by configuring an ECS group.

+

Definition

+

Schedules ECSs, for example, by configuring an ECS group.

For details, see Table 10.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

tags

@@ -302,12 +421,15 @@ echo 111 > c:\aaa.txt

Array of strings

Specifies ECS tags.

-

A tag is in the format of "key.value", where the maximum lengths of key and value are 36 and 43 characters, respectively.

-

When adding a tag to an ECS, ensure that the tag complies with the following requirements:

-
  • The key of the tag can contain only uppercase letters, lowercase letters, digits, underscores (_), and hyphens (-).
  • The value of the tag can contain only uppercase letters, lowercase letters, digits, underscores (_), and hyphens (-).
-
NOTE:
  • Each ECS supports up to 10 tags during the creation.
-
+

Definition

+

Specifies ECS tags. A tag is in the format of "key.value".

+

Constraints

+
  • Each ECS supports a maximum of 10 tags during the creation.
  • The server_tags field provides the same functions as tags, but supports more keys and values, so the server_tags field is recommended.
+

A tag key contains a maximum of 36 characters, and a tag value contains a maximum of 43 characters.

+

Range

+
  • A tag key contains a maximum of 36 characters, and a tag value contains a maximum of 43 characters.
  • The key of the tag can contain only uppercase letters, lowercase letters, digits, underscores (_), and hyphens (-).
  • The value of the tag can contain only uppercase letters, lowercase letters, digits, underscores (_), and hyphens (-).
+

Default Value

+

N/A

description

@@ -316,8 +438,14 @@ echo 111 > c:\aaa.txt

String

Specifies the description of an ECS, which is empty by default.

-
  • Can contain a maximum of 85 characters.
  • Cannot contain an angle bracket < or >.
+

Definition

+

Specifies the ECS description.

+

Constraints

+

Angle brackets (<>) are not allowed.

+

Range

+

A maximum of 85 characters are allowed.

+

Default Value

+

Empty string

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.

+

Definition

+

Specifies the subnet of the ECS.

+

Constraints

+

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

+

Range

+

N/A

+

Default Value

+

N/A

ip_address

@@ -350,9 +484,14 @@ echo 111 > c:\aaa.txt

String

Specifies the IP address of the NIC used by the ECS. The value is an IPv4 address.

-
Constraints:
  • If this parameter is left blank or set to "", an unused IP address in the subnet is automatically assigned as the IP address of the NIC.
  • If this parameter is specified, its value must be an unused IP address in the network segment of the subnet.
+

Definition

+

Specifies the IP address of the NIC used by the ECS. The value is an IPv4 address.

+
Constraints
  • If this parameter is left blank or set to "", an unused IP address in the subnet is automatically assigned as the IP address of the NIC.
  • If this parameter is specified, its value must be an unused IP address in the network segment of the subnet.
+

Range

+

N/A

+

Default Value

+

N/A

binding:profile

@@ -361,7 +500,14 @@ echo 111 > c:\aaa.txt

Object

Allows you to customize data. Configure this parameter when creating an ECS. For details, see Table 12.

+

Definition

+

Allows you to customize data. For details, see Table 12.

+

Constraints

+

This parameter can be specified only during the ECS creation.

+

Range

+

N/A

+

Default Value

+

N/A

extra_dhcp_opts

@@ -370,7 +516,14 @@ echo 111 > c:\aaa.txt

Array of objects

Indicates extended DHCP options. For details, see Table 13.

+

Definition

+

Indicates extended DHCP options. For details, see Table 13.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

ipv6_enable

@@ -379,7 +532,14 @@ echo 111 > c:\aaa.txt

Boolean

Specifies whether to support IPv6 addresses. If this parameter is set to true, the NIC supports IPv6 addresses.

+

Definition

+

Specifies whether to support IPv6 addresses.

+

Constraints

+

N/A

+

Range

+
  • true: The NIC supports IPv6.
  • false: The NIC does not support IPv6.
+

Default Value

+

false

ipv6_bandwidth

@@ -388,7 +548,14 @@ echo 111 > c:\aaa.txt

Object

Specifies the bound shared bandwidth. For details, see ipv6_bandwidth Field Description.

+

Definition

+

Specifies the bound shared bandwidth. For details, see ipv6_bandwidth Field Description.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

String

Specifies the ECS system disk type, which must be one of available disk types.

-
The value can be ESSD, GPSSD2, GPSSD, SSD, SAS, or SATA.
  • SSD: the ultra-high I/O type
  • SAS: the high I/O type
  • SATA: the common I/O type
  • GPSSD: the general purpose SSD type
  • ESSD: the extreme SSD type
  • GPSSD2: the general purpose SSD V2 type
+

Definition

+

Specifies the disk type of an ECS system disk.

+

For details about disk types, see "Disk Types and Performance" in Elastic Volume Service User Guide.

+

Constraints

+
  • The disk type must match that provided by the system.
  • If the specified disk type is not available in the AZ specified by availability_zone, the disk creation will fail.
  • When the disk is created from a backup:

    If the type of the backup's source disk is SSD, SAS, SATA, GPSSD, ESSD, or GPSSD2, you can create disks of any of these types.

    +

    If the type of the backup's source disk is co-p1 or uh-l1, you can create disks of any of the two types.

    +
+

Range

+
The value can be ESSD, GPSSD2, GPSSD, SSD, SAS, or SATA.
  • SSD: the ultra-high I/O type
  • SAS: the high I/O type
  • SATA: the common I/O type (end-of-sale)
  • GPSSD: the general purpose SSD type
  • ESSD: the extreme SSD type
  • GPSSD2: the general purpose SSD V2 type
-

If the specified disk type is not available in the AZ, the disk will fail to be created.

-
NOTE:
  • When the disk is created from a backup:

    If the type of the backup's source disk is SSD, SAS, SATA, GPSSD, ESSD, or GPSSD2, you can create disks of any of these types.

    -
  • For details about disk types, see Disk Types and Disk Performance in the Elastic Volume Service User Guide.
-
+

Default Value

+

N/A

size

@@ -426,11 +598,16 @@ echo 111 > c:\aaa.txt

Integer

Specifies the system disk size in GB. The value ranges from 1 to 1024.

-

Constraints:

+

Definition

+

Specifies the system disk size, in GiB.

+

Constraints

  • The system disk size must be greater than or equal to the minimum system disk size supported by the image (min_disk attribute of the image).
  • If this parameter is not specified or is set to 0, the default system disk size is the minimum value of the system disk in the image (min_disk attribute of the image).
NOTE:

To obtain the minimum system disk size (min_disk) of an image, click the image on the management console for its details. Alternatively, call the native OpenStack API for querying details about an image. For details, see "Querying Image Details (Native OpenStack)" in Image Management Service API Reference.

+

Range

+

1 to 1024

+

Default Value

+

N/A

hw:passthrough

@@ -439,8 +616,14 @@ echo 111 > c:\aaa.txt

Boolean

Specifies the device type of the EVS disks to be created.
  • If this parameter is set to false, VBD disks are created.
  • If this parameter is set to true, SCSI disks are created.
  • If this parameter is not specified or set to a non-Boolean character, VBD disks are created by default.
+

Definition

+

Specifies the device type of the EVS disks to be created.

+

Constraints

+

N/A

+
Range
  • If this parameter is set to false, VBD disks are created.
  • If this parameter is set to true, SCSI disks are created.
+

Default Value

+

If this parameter is not specified or set to a non-Boolean character, VBD disks are created by default.

metadata

@@ -449,9 +632,14 @@ echo 111 > c:\aaa.txt

Object

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.

-

For details, see metadata Field Description for Creating Disks.

+

Definition

+

Specifies the metadata of the created EVS disk. For details, see metadata Field Description for Creating Disks.

+

Constraints

+

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

+

Range

+

The length of key and value under metadata can contain no more than 255 bytes.

+

Default Value

+

N/A

String

Specifies the type of the ECS data disk, which must be one of available disk types.

-
The value can be ESSD, GPSSD2, GPSSD, SSD, SAS, or SATA.
  • SSD: the ultra-high I/O type
  • SAS: the high I/O type
  • SATA: the common I/O type
  • GPSSD: the general purpose SSD type
  • ESSD: the extreme SSD type
  • GPSSD2: the general purpose SSD V2 type
+

Definition

+

Specifies the disk type of an ECS data disk.

+

For details about disk types, see "Disk Types and Performance" in Elastic Volume Service User Guide.

+

Constraints

+
  • The disk type must match that provided by the system.
  • If the specified disk type is not available in the AZ specified by availability_zone, the disk creation will fail.
  • When the disk is created from a backup:

    If the type of the backup's source disk is SSD, SAS, SATA, GPSSD, ESSD, or GPSSD2, you can create disks of any of these types.

    +

    If the type of the backup's source disk is co-p1 or uh-l1, you can create disks of any of the two types.

    +
+

Range

+
The value can be ESSD, GPSSD2, GPSSD, SSD, SAS, or SATA.
  • SSD: the ultra-high I/O type
  • SAS: the high I/O type
  • SATA: the common I/O type (end-of-sale)
  • GPSSD: the general purpose SSD type
  • ESSD: the extreme SSD type
  • GPSSD2: the general purpose SSD V2 type
-

If the specified disk type is not available in the AZ, the disk will fail to be created.

-
NOTE:
  • When the disk is created from a backup:

    If the type of the backup's source disk is SSD, SAS, SATA, GPSSD, ESSD, or GPSSD2, you can create disks of any of these types.

    -
  • For details about disk types, see Disk Types and Disk Performance in the Elastic Volume Service User Guide.
-
+

Default Value

+

N/A

size

@@ -489,8 +682,14 @@ echo 111 > c:\aaa.txt

Integer

Specifies the data disk size, in GB. The value ranges from 10 to 32768.

+

Definition

+

Specifies the data disk size, in GiB.

+

Constraints

When you use a data disk image to create a data disk, ensure that the value of this parameter is greater than or equal to the size of the source data disk that is used to create the data disk image.

+

Range

+

10 to 32768

+

Default Value

+

N/A

shareable

@@ -499,9 +698,14 @@ echo 111 > c:\aaa.txt

Boolean

Specifies whether the disk is shared. The value can be true (specifies a shared disk) or false (a common EVS disk).

-
NOTE:

This field has been discarded. Use multiattach.

-
+

Definition

+

Specifies whether the disk is shared.

+

Constraints

+

This parameter has been discarded. Use multiattach.

+

Range

+
  • true: indicates that the created disk is a shared disk.
  • false: indicates that the created disk is a common EVS disk.
+

Default Value

+

false

multiattach

@@ -510,10 +714,14 @@ echo 111 > c:\aaa.txt

Boolean

Specifies the shared disk information.

+

Definition

+

Specifies the shared disk information.

+

Constraints

+

The shareable parameter is discarded. If both shareable and multiattach must be used, ensure that the values of the two parameters are the same. If this parameter is not specified, common EVS disks are created by default.

+

Range

  • true: indicates that the created disk is a shared disk.
  • false: indicates that the created disk is a common EVS disk.
-
NOTE:

The shareable field is not used anymore. If both shareable and multiattach must be used, ensure that the values of the two fields are the same. If this parameter is not specified, common EVS disks are created by default.

-
+

Default Value

+

false

hw:passthrough

@@ -522,8 +730,14 @@ echo 111 > c:\aaa.txt

Boolean

Specifies the device type of the EVS disks to be created.
  • If this parameter is set to false, VBD disks are created.
  • If this parameter is set to true, SCSI disks are created.
  • If this parameter is not specified or set to a non-Boolean character, VBD disks are created by default.
+

Definition

+

Specifies the device type of the EVS disks to be created.

+

Constraints

+

N/A

+
Range
  • If this parameter is set to false, VBD disks are created.
  • If this parameter is set to true, SCSI disks are created.
  • If this parameter is not specified or set to a non-Boolean character, VBD disks are created by default.
+

Default Value

+

N/A

extendparam

@@ -532,8 +746,15 @@ echo 111 > c:\aaa.txt

Object

Provides the disk information.

+

Definition

+

Provides the disk information.

For details, see Table 6.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

data_image_id

@@ -542,8 +763,14 @@ echo 111 > c:\aaa.txt

String

Specifies ID of the data image. The value is in UUID format.

+

Definition

+

Specifies ID of the data image. The value is in UUID format.

+

Constraints

If data disks are created using a data disk image, this parameter is mandatory and it does not support metadata.

+

Range

+

N/A

+

Default Value

+

N/A

metadata

@@ -552,10 +779,45 @@ echo 111 > c:\aaa.txt

Object

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.

+

Definition

+

Specifies the metadata of the created EVS disk.

For details, see metadata Field Description for Creating Disks.

+

Constraints

+
  • The length of key and value under metadata can contain no more than 255 bytes.
  • This parameter is used only when an encrypted disk is created.
  • If data disks are created using a data disk image, this parameter cannot be used.
+

Range

+

N/A

+

Default Value

+

N/A

+
+
+ +
+ + + + + + + + + @@ -575,23 +837,28 @@ echo 111 > c:\aaa.txt - -
Table 7 security_options field description

Parameter

+

Mandatory

+

Type

+

Description

+

tpm_enabled

+

Yes

+

Boolean

+

Definition

+

Specifies whether to enable TPM.

+

Constraints

+

Currently, the following instance types support TPM: Pi5e.

+

Range

+
  • true: Enable TPM.
  • false: Disable TPM.
+

Default Value

+

false

String

Specifies the returned task ID after delivering the task. You can query the task progress using this ID. For details about how to query the task execution status based on job_id, see Task Status Management.

+

Definition

+

Specifies the returned job ID after delivering the job. You can query the job progress using this ID. For details about how to query the job execution status based on job_id, see Job Status Management.

+

Range

+

N/A

serverIds

Array of strings

Specifies ECS IDs.

+

Definition

+

Specifies ECS IDs.

NOTE:

You can query ECS details by ECS ID. If the system returns a 404 error, the ECS is being created, or creating the ECS failed.

-

+

Range

+

N/A

-

For details about abnormal responses, see Responses (Task).

+

For details about abnormal responses, see Responses (Jobs).

Example Request

  • Create a pay-per-use ECS with 2 vCPUs, 16 GiB of memory, private image imageid_123, SSD disks attached, and 10 Mbit/s of bandwidth-billed EIP bound. Use the key pair for login authentication.
    POST https://{endpoint}/v1/{project_id}/cloudservers
     
    @@ -646,7 +913,7 @@ echo 111 > c:\aaa.txt
    "count": 1 } } -
  • Use a full-ECS image with an encrypted system disk and two data disks attached to create an ECS. For the two data disks to be restored, one uses default settings, and the other uses the changed settings, SSD, 100 GB. Also, attach a 50 GB SSD disk to the ECS.
    POST https://{endpoint}/v1/{project_id}/cloudservers
    +
  • Use a full-ECS image with an encrypted system disk and two data disks to create an ECS. For the two data disks to be restored, one uses default settings, and the other uses the changed settings, SSD, 100 GiB. Also, attach a 50 GiB SSD disk to the ECS.
    POST https://{endpoint}/v1/{project_id}/cloudservers
     
     {
         "server": {
    diff --git a/docs/ecs/api-ref/en-us_topic_0020212672.html b/docs/ecs/api-ref/en-us_topic_0020212672.html
    index 22ad9aa1a..1e8e69de9 100644
    --- a/docs/ecs/api-ref/en-us_topic_0020212672.html
    +++ b/docs/ecs/api-ref/en-us_topic_0020212672.html
    @@ -32,7 +32,7 @@
     
     

Yes

Specifies the disk ID.

+

Specifies the volume ID.

Object

Specifies tenant quotas. For details, see Table 3.

+

Definition

+

Specifies tenant quotas. For details, see Table 3.

+

Range

+

N/A

Integer

Specifies the maximum number of ECSs that can be requested.

+

Definition

+

Specifies the maximum number of ECSs that can be requested.

+

Range

+

N/A

maxTotalCores

Integer

Specifies the maximum number of CPU cores that the current tenant can apply for.

+

Definition

+

Specifies the maximum number of CPU cores that the current tenant can apply for.

+

Range

+

N/A

maxTotalRAMSize

Integer

Specifies the maximum memory space (MB) you can use.

+

Definition

+

Specifies the maximum memory size (MiB) allowed.

+

Range

+

N/A

maxTotalKeypairs

Integer

Specifies the maximum number of SSH key pairs you can use.

+

Definition

+

Specifies the maximum number of SSH key pairs you can use.

+

Range

+

N/A

maxServerMeta

Integer

Specifies the maximum length of the metadata you can use.

+

Definition

+

Specifies the maximum length of the metadata you can use.

+

Range

+

N/A

maxPersonality

Integer

Specifies the maximum number of files that can be injected.

+

Definition

+

Specifies the maximum number of files that can be injected.

+

Range

+

N/A

maxPersonalitySize

Integer

Specifies the maximum size (byte) of the file to be injected.

+

Definition

+

Specifies the maximum size (byte) of the file to be injected.

+

Range

+

N/A

maxServerGroups

Integer

Specifies the maximum number of server groups.

+

Definition

+

Specifies the maximum number of server groups.

+

Range

+

N/A

maxServerGroupMembers

Integer

Specifies the maximum number of ECSs in an ECS group.

+

Definition

+

Specifies the maximum number of ECSs in an ECS group.

+

Range

+

N/A

totalServerGroupsUsed

Integer

Specifies the number of used server groups.

+

Definition

+

Specifies the number of used server groups.

+

Range

+

N/A

maxSecurityGroups

Integer

Specifies the maximum number of security groups you can use.

+

Definition

+

Specifies the maximum number of security groups you can use.

NOTE:

The quota complies with the VPC quota limit.

+

Range

+

N/A

maxSecurityGroupRules

Integer

Specifies the maximum number of security group rules that you can configure in a security group.

+

Definition

+

Specifies the maximum number of security group rules that you can configure in a security group.

NOTE:

The quota complies with the VPC quota limit.

+

Range

+

N/A

maxTotalFloatingIps

Integer

Specifies the maximum number of floating IP addresses you can use.

+

Definition

+

Specifies the maximum number of floating IP addresses you can use.

+

Range

+

N/A

maxImageMeta

Integer

Specifies the maximum length of the image metadata.

+

Definition

+

Specifies the maximum length of the image metadata.

+

Range

+

N/A

totalInstancesUsed

Integer

Specifies the number of used ECSs.

+

Definition

+

Specifies the number of used ECSs.

+

Range

+

N/A

totalCoresUsed

Integer

Specifies the number of the used CPU cores.

+

Definition

+

Specifies the number of the used CPU cores.

+

Range

+

N/A

totalRAMUsed

Integer

Specifies the used memory size (MB).

+

Definition

+

Specifies the used memory size (MiB).

+

Range

+

N/A

totalSecurityGroupsUsed

Integer

Specifies the number of used security groups.

+

Definition

+

Specifies the number of used security groups.

+

Range

+

N/A

totalFloatingIpsUsed

Integer

Specifies the number of used floating IP addresses.

+

Definition

+

Specifies the number of used floating IP addresses.

+

Range

+

N/A

-
Table 4 keypair field description

Parameter

+
diff --git a/docs/ecs/api-ref/en-us_topic_0020212678.html b/docs/ecs/api-ref/en-us_topic_0020212678.html index c233dbf32..25cd3241f 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212678.html +++ b/docs/ecs/api-ref/en-us_topic_0020212678.html @@ -131,7 +131,7 @@
Table 4 keypair field description

Parameter

Type

-
Table 5 keypair field description

Parameter

+
@@ -179,7 +179,7 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0020212679.html b/docs/ecs/api-ref/en-us_topic_0020212679.html index 852215117..d8d62f4e7 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212679.html +++ b/docs/ecs/api-ref/en-us_topic_0020212679.html @@ -2,7 +2,7 @@

Deleting ECSs

Function

This API is used to delete ECSs based on a specified ECS ID list.

-

This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. This does not mean the deletion is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the deletion is successful.

+

This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. This does not mean the deletion is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the deletion is successful.

You can delete a single ECS or multiple ECSs in a batch. A maximum of 1,000 ECSs can be deleted in a batch.

URI

POST /v1/{project_id}/cloudservers/delete

@@ -44,8 +44,14 @@
- - - @@ -92,7 +107,14 @@ - @@ -100,7 +122,7 @@ -

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

  • Delete the ECS whose ID is 616fb98f-46ca-475e-917e-2563e5a8cd19, unbind the EIP, and detach data disks.
    POST https://{endpoint}/v1/{project_id}/cloudservers/delete
     
    diff --git a/docs/ecs/api-ref/en-us_topic_0020212688.html b/docs/ecs/api-ref/en-us_topic_0020212688.html
    index 0e466ac71..2e93e557a 100644
    --- a/docs/ecs/api-ref/en-us_topic_0020212688.html
    +++ b/docs/ecs/api-ref/en-us_topic_0020212688.html
    @@ -3,7 +3,7 @@
     

    Querying the ECS List

    Function

    This API is used to query ECSs.

    -

    URI

    GET /v2.1/{project_id}/servers?changes-since={changes-since}&image={image}&flavor={flavor}&name={name}&status={status}&limit={limit}&marker={marker}&not-tags={not-tags}&reservation_id={reservation_id}&ip={ip}

    +

    URI

    GET /v2.1/{project_id}/servers?changes-since={changes-since}&image={image}&flavor={flavor}&name={name}&status={status}&limit={limit}&marker={marker}&not-tags={not-tags}&reservation_id={reservation_id}&ip={ip}

    GET /v2/{project_id}/servers?changes-since={changes-since}&image={image}&flavor={flavor}&name={name}&status={status}&limit={limit}&marker={marker}&not-tags={not-tags}&reservation_id={reservation_id}&ip={ip}

    Table 1 describes the parameters in the URI.
Table 5 keypair field description

Parameter

Type

String

Specifies the key type. The value is ssh or x509.

+

Specifies the key type. The value is ssh or x509.

This parameter is supported in microversion 2.2 and later.

Array of objects

Specifies the ECSs to be deleted. For details, see Table 3.

+

Definition

+

Specifies the ECSs to be deleted. For details, see Table 3.

+

Constraints

A maximum of 1,000 ECSs can be deleted at a time.

+

Range

+

N/A

+

Default Value

+

N/A

delete_publicip

@@ -54,12 +60,15 @@

Boolean

Specifies whether to delete the EIP bound to the ECS when deleting the ECS. If you do not want to delete the EIP, the system only unbinds the EIP from the ECS and reserves the EIP.

-

The value can be true or false.

+

Definition

+

Specifies whether to delete the EIP bound to the ECS when deleting the ECS. If you do not want to delete the EIP, the system only unbinds the EIP from the ECS and reserves the EIP.

+

Constraints

+

If delete_publicip is not specified, the delete_on_termination value of the EIP decides whether the EIP is released when the ECS is deleted.

+
  • If delete_on_termination is true and delete_public is null, the EIP is released when the ECS is deleted.
  • If delete_on_termination is false and delete_public is null, the EIP is only unbound from the ECS and will not be released when the ECS is deleted.
+

Range

  • true: When an ECS is deleted, the EIP bound to the ECS is also released regardless of whether delete_on_termination of the EIP is true or false.
  • false: When an ECS is deleted, the EIP is only unbound from the ECS and will not be released regardless of whether delete_on_termination of the EIP is true or false.
-
NOTE:

If delete_publicip is not specified, the delete_on_termination value of the EIP decides whether the EIP is released when the ECS is deleted.

-
  • If delete_on_termination is true and delete_public is null, the EIP is released when the ECS is deleted.
  • If delete_on_termination is false and delete_public is null, the EIP is only unbound from the ECS and will not be released when the ECS is deleted.
-
+

Default Value

+

false

delete_volume

@@ -68,8 +77,14 @@

Boolean

Specifies whether to delete the data disks attached to an ECS when deleting the ECS. If you set the parameter value to false, the system only detaches the disks from the ECS and reserves the disks. The default value is false.

+

Definition

+

Specifies whether to delete the data disks attached to an ECS when deleting the ECS. If you set the parameter value to false, the system only detaches the disks from the ECS and reserves the disks.

+

Constraints

+

N/A

+

Range

  • true: indicates to delete the data disks attached to the ECS when deleting the ECS.
  • false: indicates only to detach the data disks attached to the ECS when deleting the ECS.
+

Default Value

+

false

String

Specifies the ID of the ECS to be deleted.

+

Definition

+

Specifies the ID of the ECS to be deleted.

+

Constraints

+

N/A

+

Range

+

N/A

+

Default Value

+

N/A

Table 1 Path parameters

Parameter

diff --git a/docs/ecs/api-ref/en-us_topic_0020212689.html b/docs/ecs/api-ref/en-us_topic_0020212689.html index 15289b33e..610d18c8c 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212689.html +++ b/docs/ecs/api-ref/en-us_topic_0020212689.html @@ -3,7 +3,7 @@

Querying Details About ECSs

Function

This API is used to query details about ECSs.

-

URI

GET /v2.1/{project_id}/servers/detail?changes-since={changes-since}&image={image}&flavor={flavor}&name={name}&status={status}&limit={limit}&marker={marker}&not-tags={not-tags}&reservation_id={reservation_id}&ip={ip}

+

URI

GET /v2.1/{project_id}/servers/detail?changes-since={changes-since}&image={image}&flavor={flavor}&name={name}&status={status}&limit={limit}&marker={marker}&not-tags={not-tags}&reservation_id={reservation_id}&ip={ip}

GET /v2/{project_id}/servers/detail?changes-since={changes-since}&image={image}&flavor={flavor}&name={name}&status={status}&limit={limit}&marker={marker}&not-tags={not-tags}&reservation_id={reservation_id}&ip={ip}

Table 1 describes the parameters in the URI.
@@ -323,7 +323,7 @@ @@ -369,7 +369,7 @@ @@ -574,7 +574,7 @@ - @@ -702,14 +702,14 @@ - - @@ -777,7 +777,7 @@
Table 1 Path parameters

Parameter

@@ -81,7 +81,7 @@

String

Specifies the ECS status.

-

Value range:

+

Options:

ACTIVE, BUILD, ERROR, HARD_REBOOT, MIGRATING, REBOOT, REBUILD, RESIZE, REVERT_RESIZE, SHUTOFF, and VERIFY_RESIZE

In microversion 2.37, the system will return an empty list for the status field out of the preceding options. In microversion 2.38 and later, the system will return error 400.

For details, see ECS Statuses.

@@ -216,7 +216,7 @@

String

Specifies the ECS status.

-

Value range:

+

Options:

ACTIVE, BUILD, DELETED, ERROR, HARD_REBOOT, MIGRATING, PAUSED, REBOOT, REBUILD, RESIZE, REVERT_RESIZE, SHUTOFF, SHELVED, SHELVED_OFFLOADED, SOFT_DELETED, SUSPENDED, and VERIFY_RESIZE

For details, see ECS Statuses.

String

Specifies the disk configuration mode. This is an extended attribute. This field is valid for the ECS started using an image.

-

Value range:

+

Options:

  • AUTO: This API uses a single partition to build an ECS with the target disk size. The API automatically adjusts the file system to adapt to the entire partition.
  • MANUAL: This API uses the partitioning scheme in the source image and the file system to build the ECS. If the target disk size is large, the API does not partition the remaining disk space.

String

Specifies the ECS task status. This is an extended attribute.

-

For details about options, see ECS Statuses.

+

For details about the value range, see table 3 in ECS Statuses.

OS-EXT-STS:vm_state

@@ -377,7 +377,7 @@

String

Specifies the ECS status. This is an extended attribute.

-

Value range:

+

Options:

ACTIVE, BUILDING, STOPPED, RESIZED, PAUSED, SUSPENDED, RESCUED, ERROR, DELETED, SOFT_DELETED, SHELVED, and SHELVED_OFFLOADED

For details, see ECS Statuses.

Integer

Specifies the memory size (MB) in the ECS flavor.

+

Specifies the memory size (MiB) in the ECS flavor.

This parameter is supported in microversion 2.47 and later.

String

Specifies the EVS disk ID.

+

Specifies the volume ID.

delete_on_termination

Boolean

Specifies whether to delete additional disks when deleting the ECS.

+

Specifies whether to delete attached disks when deleting the ECS.

By default, this parameter is set to False.

This parameter is supported in microversion 2.3 and later.

-
Table 11 image field description

Parameter

+
diff --git a/docs/ecs/api-ref/en-us_topic_0020212690.html b/docs/ecs/api-ref/en-us_topic_0020212690.html index ebf0cec69..dbc5520de 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212690.html +++ b/docs/ecs/api-ref/en-us_topic_0020212690.html @@ -197,7 +197,7 @@ @@ -437,7 +437,7 @@ - @@ -590,14 +590,14 @@ - - diff --git a/docs/ecs/api-ref/en-us_topic_0020212692.html b/docs/ecs/api-ref/en-us_topic_0020212692.html index 3ec1e2144..0a317f85a 100644 --- a/docs/ecs/api-ref/en-us_topic_0020212692.html +++ b/docs/ecs/api-ref/en-us_topic_0020212692.html @@ -168,7 +168,7 @@ - - - - - - diff --git a/docs/ecs/api-ref/en-us_topic_0022067713.html b/docs/ecs/api-ref/en-us_topic_0022067713.html index 89535dacd..6e86d2d24 100644 --- a/docs/ecs/api-ref/en-us_topic_0022067713.html +++ b/docs/ecs/api-ref/en-us_topic_0022067713.html @@ -1,10 +1,10 @@ -

Task Request Result

+

Job Request Results

Table 11 image field description

Parameter

Type

String

Specifies the disk configuration mode. This is an extended attribute. This field is valid for the ECS started using an image.

-

Value range:

+

Range:

  • AUTO: This API uses a single partition to build an ECS with the target disk size. The API automatically adjusts the file system to adapt to the entire partition.
  • MANUAL: This API uses the partitioning scheme in the source image and the file system to build the ECS. If the target disk size is large, the API does not partition the remaining disk space.

Integer

Specifies the memory size (MB) in the ECS flavor.

+

Specifies the memory size (MiB) in the ECS flavor.

This parameter is supported in microversion 2.47 and later.

String

Specifies the EVS disk ID.

+

Specifies the volume ID.

delete_on_termination

Boolean

Specifies whether to delete additional disks when deleting the ECS.

+

Specifies whether to delete attached disks when deleting the ECS.

By default, this parameter is set to False.

This parameter is supported in microversion 2.3 and later.

String

Specifies the time when the ECS was created. The time is in the format of "2019-05-22T03:19:19Z".

+

Specifies the ECS creation time. The time is in the format of "2019-05-22T03:19:19Z".

hostId

@@ -189,14 +189,14 @@

String

Specifies the disk configuration mode. This is an extended attribute. This field is valid for the ECS started using an image.

+

Specifies the disk configuration mode. This is an extended attribute. This parameter is valid for the ECS booted from an image.

user_id

String

Specifies the ID of the user which an ECS belongs to.

+

Specifies the ID of the user that an ECS belongs to.

name

@@ -224,7 +224,7 @@

String

Specifies the unique ID of an ECS.

+

Specifies the unique ID of the ECS.

updated

@@ -255,7 +255,7 @@

Array of strings

Specifies ECS tags.

+

Specifies the list of ECS tags.

This parameter is supported in microversion 2.26 and later. If the microversion is not used for query, the response does not contain the tags field.

Tag functions have been upgraded on the cloud platform. After the upgrade, the tag values returned by the system comply with the following rules:
  • The key and value of a tag are connected using an equal sign (=), for example, key=value.
  • If the value is empty, only the key is returned.
@@ -340,7 +340,7 @@

Integer

Specifies the memory size (MB) in the ECS flavor.

+

Specifies the memory size (MiB) in the ECS flavor.

This parameter is supported in microversion 2.47 and later.

@@ -14,7 +14,7 @@ - @@ -114,7 +114,7 @@
diff --git a/docs/ecs/api-ref/en-us_topic_0022067715.html b/docs/ecs/api-ref/en-us_topic_0022067715.html index f612c758f..b7781ee23 100644 --- a/docs/ecs/api-ref/en-us_topic_0022067715.html +++ b/docs/ecs/api-ref/en-us_topic_0022067715.html @@ -10,17 +10,17 @@ - - - @@ -110,7 +110,7 @@
diff --git a/docs/ecs/api-ref/en-us_topic_0022067719.html b/docs/ecs/api-ref/en-us_topic_0022067719.html index a75ec29e6..842db4f14 100644 --- a/docs/ecs/api-ref/en-us_topic_0022067719.html +++ b/docs/ecs/api-ref/en-us_topic_0022067719.html @@ -148,8 +148,8 @@ diff --git a/docs/ecs/api-ref/en-us_topic_0022225397.html b/docs/ecs/api-ref/en-us_topic_0022225397.html index 6feadf91e..a62ba7c48 100644 --- a/docs/ecs/api-ref/en-us_topic_0022225397.html +++ b/docs/ecs/api-ref/en-us_topic_0022225397.html @@ -1,10 +1,10 @@ -

Task Status Management

+

Job Status Management

diff --git a/docs/ecs/api-ref/en-us_topic_0022225398.html b/docs/ecs/api-ref/en-us_topic_0022225398.html index 8da547b87..a7c6036b1 100644 --- a/docs/ecs/api-ref/en-us_topic_0022225398.html +++ b/docs/ecs/api-ref/en-us_topic_0022225398.html @@ -1,10 +1,10 @@ -

Querying Task Execution Status

-

Function

This API is used to query the execution status of an asynchronous request task.

-

After an asynchronous request task is issued, for example, creating or deleting an ECS, performing operations on ECSs in a batch, or performing operations on ECS NICs, a task ID (job_id) will be returned, based on which you can query the execution status of the task.

+

Querying Job Execution Status

+

Function

This API is used to query the execution status of an asynchronous job.

+

After an asynchronous job is issued, for example, creating or deleting an ECS, performing operations on ECSs in a batch, or performing operations on ECS NICs, a job ID (job_id) will be returned, based on which you can query the execution status of the job.

-

For details about how to obtain job_id, see Responses (Task).

+

For details about how to obtain job_id, see Responses (Jobs).

URI

GET /v1/{project_id}/jobs/{job_id}

Table 1 describes the parameters in the URI.

Parameter

String

Specifies the returned task ID after delivering the task. Users can query the task progress using this ID. For details about how to query the task execution status based on job_id, see Task Status Management.

+

Specifies the returned job ID after delivering the job. Users can query the job progress using this ID. For details about how to query the job execution status based on job_id, see Job Status Management.

200

The task is successfully delivered.

+

The job is delivered.

202

After the task is successfully delivered, the task to be delivered shall be postponed because the system is busy.

+

The job is delivered. It will be processed with a delay because the system is busy.

204

The task is successfully delivered.

+

The job is delivered.

InfiniBand NIC status

This metric is used to monitor the status of an InfiniBand NIC on a high-performance h2 ECS to ensure proper InfiniBand NIC running.

-

The system periodically checks the NIC status and returns check results using value 0 or 1.

-
  • 0: The system is running properly. That is, the InfiniBand NIC is functional.
  • 1: The system is not running properly. That is, the InfiniBand NIC malfunctions.
+

The system periodically checks the NIC status and returns check results using value 0 or 1.

+
  • 0: The system is running properly. That is, the InfiniBand NIC is functional.
  • 1: The system is not running properly. That is, the InfiniBand NIC malfunctions.

0 or 1

- @@ -57,8 +57,8 @@ - @@ -66,28 +66,28 @@ - - - - - - @@ -137,28 +137,28 @@ - - - - @@ -166,7 +166,7 @@
Table 1 Parameter description

Parameter

@@ -26,7 +26,7 @@

Yes

Specifies the ID of an asynchronous request task.

+

Specifies the ID of an asynchronous job.

Object

Specifies the object of the task.

-

The value of this parameter varies depending on the type of the task. If the task is an ECS-related operation, the value is server_id. If the task is a NIC operation, the value is nic_id. If a sub-Job is available, details about the sub-job are displayed.

+

Specifies the object of the job.

+

The value of this parameter varies depending on the type of the job. If the job is an ECS-related operation, the value is server_id. If the job is a NIC operation, the value is nic_id. If a sub-Job is available, details about the sub-job are displayed.

For details, see Table 3.

String

Specifies the ID of an asynchronous request task.

+

Specifies the ID of an asynchronous job.

job_type

String

Specifies the type of an asynchronous request task.

+

Specifies the type of an asynchronous job.

begin_time

String

Specifies the time when the task started.

+

Specifies the time when the job was started.

end_time

String

Specifies the time when the task finished.

+

Specifies the time when the job was finished.

error_code

@@ -103,21 +103,21 @@

String

Specifies the cause of the job execution failure.

-

After the task job executed successfully, the value of this parameter is null.

+

After the job is executed successfully, the value of this parameter is null.

message

String

Specifies the error message returned when an error occurs in the request to query a task.

+

Specifies the error message returned when an error occurs in the request to query a job.

code

String

Specifies the error code returned when an error occurs in the request to query a task.

+

Specifies the error code returned when an error occurs in the request to query a job.

For details about the error code, see Returned Values for General Requests.

String

If the task is an ECS-related operation, the value is server_id.

+

If the job is an ECS-related operation, the value is server_id.

nic_id

String

If the task is a NIC-related operation, the value is nic_id.

+

If the job is a NIC-related operation, the value is nic_id.

sub_jobs_total

Integer

Specifies the number of subtasks.

+

Specifies the number of sub-jobs.

sub_jobs

Array of objects

Specifies the execution information of a subtask.

+

Specifies the execution information of a sub-job.

For details, see Table 4.

-
Table 4 sub_jobs field description

Parameter

+
@@ -178,66 +178,66 @@ - - - - - - - -
Table 4 sub_jobs field description

Parameter

Type

String

Specifies the task status.

-
  • SUCCESS: indicates the task is successfully executed.
  • RUNNING: indicates that the task is in progress.
  • FAIL: indicates that the task failed.
  • INIT: indicates that the task is being initialized.
+

Specifies the job status.

+
  • SUCCESS: indicates the job is successfully executed.
  • RUNNING: indicates that the job is in progress.
  • FAIL: indicates that the job failed.
  • INIT: indicates that the job is being initialized.

entities

Object

Specifies the object of the task. The value of this parameter varies depending on the type of the task. If the task is an ECS-related operation, the value is server_id. If the task is a NIC operation, the value is nic_id. For details, see Table 5.

+

Specifies the object of the job. The value of this parameter varies depending on the type of the job. If the job is an ECS-related operation, the value is server_id. If the job is a NIC operation, the value is nic_id. For details, see Table 5.

job_id

String

Specifies the subtask ID.

+

Specifies the sub-job ID.

job_type

String

Specify the subtask type.

+

Specify the sub-job type.

begin_time

String

Specifies the time when the task started.

+

Specifies the time when the job was started.

end_time

String

Specifies the time when the task finished.

+

Specifies the time when the job was finished.

error_code

String

Specifies the returned error code when the task execution fails.

-

After the task is executed successfully, the value of this parameter is null.

+

Specifies the returned error code when the job execution fails.

+

After the job is executed successfully, the value of this parameter is null.

fail_reason

String

Specifies the cause of the task execution failure.

-

After the task is executed successfully, the value of this parameter is null.

+

Specifies the cause of the job execution failure.

+

After the job is executed successfully, the value of this parameter is null.

-
Table 5 sub_jobs.entities field description

Parameter

+
@@ -249,21 +249,21 @@ - - - @@ -271,7 +271,7 @@ -

Example Request

Query the execution status of a specified asynchronous request task.

+

Example Request

Query the execution status of a specified asynchronous job.

GET https://{endpoint}/v1/{project_id}/jobs/{job_id}

Example Response

{
@@ -308,7 +308,7 @@
 
diff --git a/docs/ecs/api-ref/en-us_topic_0022472987.html b/docs/ecs/api-ref/en-us_topic_0022472987.html index 1f13ad214..78b7a49e9 100644 --- a/docs/ecs/api-ref/en-us_topic_0022472987.html +++ b/docs/ecs/api-ref/en-us_topic_0022472987.html @@ -2,7 +2,7 @@

Attaching a Disk to an ECS

Function

This API is used to attach a disk to an ECS.

-

This API is an asynchronous API. After the attachment request is successfully delivered, a job ID is returned. This does not mean the attachment is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the attachment is successful.

+

This API is an asynchronous API. After the attachment request is successfully delivered, a job ID is returned. This does not mean the attachment is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the attachment is successful.

URI

POST /v1/{project_id}/cloudservers/{server_id}/attachvolume

Table 1 describes the parameters in the URI. @@ -129,7 +129,7 @@
Table 5 sub_jobs.entities field description

Parameter

Type

String

If the task is an ECS-related operation, the value is server_id.

+

If the job is an ECS-related operation, the value is server_id.

nic_id

String

If the task is a NIC-related operation, the value is nic_id.

+

If the job is a NIC-related operation, the value is nic_id.

errorcode_message

String

Indicates the cause of a subtask execution failure.

+

Indicates the cause of a sub-job execution failure.

-

Response

See Responses (Task).

+

Response

See Responses (Jobs).

Example Request

  • Attach a SCSI EVS disk to device /dev/sda.
    POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/attachvolume
     
    diff --git a/docs/ecs/api-ref/en-us_topic_0022472988.html b/docs/ecs/api-ref/en-us_topic_0022472988.html
    index f6fadc5ea..583b61eb4 100644
    --- a/docs/ecs/api-ref/en-us_topic_0022472988.html
    +++ b/docs/ecs/api-ref/en-us_topic_0022472988.html
    @@ -2,9 +2,9 @@
     
     

    Detaching an EVS Disk from an ECS

    Function

    This API is used to detach an EVS disk from an ECS.

    -

    This API is an asynchronous API. After the detachment request is successfully delivered, a job ID is returned. This does not mean the detachment is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the detachment is successful.

    +

    This API is an asynchronous API. After the detachment request is successfully delivered, a job ID is returned. This does not mean the detachment is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the detachment is successful.

    -

    URI

    DELETE /v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}?delete_flag=0

    +

    URI

    DELETE /v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}

    Table 1 describes the parameters in the URI.
    @@ -51,7 +51,7 @@

    Request

    None

    -

    Response

    See Responses (Task).

    +

    Response

    See Responses (Jobs).

    Example Request

    Detach a specified disk from an ECS.

    DELETE https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}
    diff --git a/docs/ecs/api-ref/en-us_topic_0024734483.html b/docs/ecs/api-ref/en-us_topic_0024734483.html index 80f3d8d3b..e1a468d46 100644 --- a/docs/ecs/api-ref/en-us_topic_0024734483.html +++ b/docs/ecs/api-ref/en-us_topic_0024734483.html @@ -463,7 +463,7 @@
    diff --git a/docs/ecs/api-ref/en-us_topic_0065817689.html b/docs/ecs/api-ref/en-us_topic_0065817689.html index a10e0f324..6bf05de60 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817689.html +++ b/docs/ecs/api-ref/en-us_topic_0065817689.html @@ -85,7 +85,7 @@

    Response

    Table 4 describes the response parameter.

    -
    Table 1 Parameter description

    Parameter

    2016-05-05

    Modified the following content:

    - +

    2016-04-14

    diff --git a/docs/ecs/api-ref/en-us_topic_0028714261.html b/docs/ecs/api-ref/en-us_topic_0028714261.html index 08bcae051..d2a773cf6 100644 --- a/docs/ecs/api-ref/en-us_topic_0028714261.html +++ b/docs/ecs/api-ref/en-us_topic_0028714261.html @@ -4,7 +4,7 @@

    Function

    This API is used to modify the specifications of an ECS.

    For a running ECS, the system will automatically stop the ECS, copy the ECS data to the target node, which can be the source node, and then restart the ECS.

    This API supports automatic rollback if the underlying resources are insufficient.

    -

    This API must be used with the API for verifying ECS specifications modification (POST /v2.1/{project_id}/servers/{server_id}/action) or the API for rolling back ECS specifications modification (POST /v2.1/{project_id}/servers/{server_id}/action) if an ECS is detected to be in VERIFY_RESIZE state and its OS-EXT-STS:vm_state is RESIZED.

    +

    This API cannot be used independently. The VM status needs to be queried in polling mode. When status is VERIFY_RESIZE, OS-EXT-STS:task_state is "", and OS-EXT-STS:vm_state is RESIZED, this API must be used together with Confirming the Specifications Modification of an ECS (POST /v2.1/{project_id}/servers/{server_id}/action) or Rolling Back ECS Specifications Modification (POST /v2.1/{project_id}/servers/{server_id}/action).

    URI

    POST /v2.1/{project_id}/servers/{server_id}/action

    POST /v2/{project_id}/servers/{server_id}/action

    diff --git a/docs/ecs/api-ref/en-us_topic_0031167513.html b/docs/ecs/api-ref/en-us_topic_0031167513.html index 98d429e45..220c17ce0 100644 --- a/docs/ecs/api-ref/en-us_topic_0031167513.html +++ b/docs/ecs/api-ref/en-us_topic_0031167513.html @@ -1,8 +1,7 @@

    Network Management

    -

    -
    +

    String

    Specifies the ECS status.

    -

    Values:

    +

    Range:

    • ACTIVE
    • REBOOT
    • HARD_REBOOT
    • REBUILD
    • MIGRATING
    • BUILD
    • SHUTOFF
    • RESIZE
    • VERIFY_RESIZE
    • ERROR
    • DELETED

    For details, see ECS Statuses.

    Table 4 Response parameter

    Parameter

    +
    diff --git a/docs/ecs/api-ref/en-us_topic_0065817694.html b/docs/ecs/api-ref/en-us_topic_0065817694.html index ea2bb9aba..1fd776f06 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817694.html +++ b/docs/ecs/api-ref/en-us_topic_0065817694.html @@ -5,9 +5,9 @@

    Images created using an ECS are stored on storage nodes as snapshots.

    This API is a native OpenStack API that is not applicable to the images on the cloud platform.

    -
    • To create a system disk image or data disk image, use the IMS API (POST /v2/cloudimages/action). For details, see "Creating an Image" in Image Management Service API Reference.
    • To create a full-ECS image, use the IMS API (POST /v1/cloudimages/wholeimages/action). For details, see "Creating a Full-ECS Image" in Image Management Service API Reference.
    +
    • To create a system disk image or data disk image, use the IMS API (POST /v2/cloudimages/action). For details, see "Creating an Image" in Image Management Service API Reference.
    • To create a full-ECS image, use the IMS API (POST /v1/cloudimages/wholeimages/action). For details, see "Creating a Full-ECS Image" in Image Management Service API Reference.
    -

    Constraints

    1. An ECS in the error state cannot be used to create an image.
    2. If an image created using an ECS is used to create a new ECS, the new ECS must be located in the same AZ as the original ECS.
    3. After an ECS is deleted, the images and snapshots created using this ECS will not be automatically deleted. You must manually delete them.
    4. After an image created using an ECS is deleted, the associated snapshots will not be automatically deleted (this function is implemented by native OpenStack). You must manually delete such snapshots.
    5. The image created using an ECS cannot be used to create data disks.
    6. The images created using the API described in this section (URI: POST /v2/{project_id}/servers/{server_id}/action or POST /v2.1/{project_id}/servers/{server_id}/action) cannot be exported to OBS buckets. If such images must be exported, use the IMS API (POST /v2/cloudimages/action). For details, see "Creating an Image" in Image Management Service API Reference.
    +

    Constraints

    1. An ECS in the error state cannot be used to create an image.
    2. If an image created using an ECS is used to create a new ECS, the new ECS must be located in the same AZ as the original ECS.
    3. After an ECS is deleted, the images and snapshots created using this ECS will not be automatically deleted. You must manually delete them.
    4. After an image created using an ECS is deleted, the associated snapshots will not be automatically deleted (this function is implemented by native OpenStack). You must manually delete such snapshots.
    5. The image created using an ECS cannot be used to create data disks.
    6. The images created using the API described in this section (URI: POST /v2/{project_id}/servers/{server_id}/action or POST /v2.1/{project_id}/servers/{server_id}/action) cannot be exported to OBS buckets. If such images must be exported, use the IMS API (POST /v2/cloudimages/action). For details, see "Creating an Image" in Image Management Service API Reference.

    URI

    POST /v2.1/{project_id}/servers/{server_id}/action

    POST /v2/{project_id}/servers/{server_id}/action

    diff --git a/docs/ecs/api-ref/en-us_topic_0065817695.html b/docs/ecs/api-ref/en-us_topic_0065817695.html index e8323b1cc..3e65cbc95 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817695.html +++ b/docs/ecs/api-ref/en-us_topic_0065817695.html @@ -74,7 +74,7 @@
    - - diff --git a/docs/ecs/api-ref/en-us_topic_0065817696.html b/docs/ecs/api-ref/en-us_topic_0065817696.html index 80e2ab240..b7551e6af 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817696.html +++ b/docs/ecs/api-ref/en-us_topic_0065817696.html @@ -74,7 +74,7 @@ - - @@ -171,7 +171,7 @@ - @@ -179,7 +179,7 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0065817697.html b/docs/ecs/api-ref/en-us_topic_0065817697.html index 0442ee2e1..4a61ed5e2 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817697.html +++ b/docs/ecs/api-ref/en-us_topic_0065817697.html @@ -85,14 +85,14 @@ - - - -
    Table 4 Response parameters

    Parameter

    Type

    Integer

    Specifies the minimum memory size in MB required by the image.

    +

    Specifies the minimum memory size in MiB required by the image.

    minDisk

    @@ -83,7 +83,7 @@

    Integer

    Specifies the minimum disk size in GB required by the image.

    +

    Specifies the minimum disk size in GiB required by the image.

    Integer

    Specifies the minimum memory size in MB required by the image.

    +

    Specifies the minimum memory size in MiB required by the image.

    minDisk

    @@ -83,7 +83,7 @@

    Integer

    Specifies the minimum disk size in GB required by the image.

    +

    Specifies the minimum disk size in GiB required by the image.

    Integer

    Specifies the minimum disk size in GB required by the image.

    +

    Specifies the minimum disk size required by the image.

    The value must be greater than zero.

    Integer

    Specifies the minimum memory size in GB required by the image.

    +

    Specifies the minimum memory size required by the image.

    The value must be greater than zero.

    Integer

    Specifies the minimum disk size in GB required by the image. The value must be greater than zero.

    +

    Specifies the minimum disk size required by the image. The value must be greater than zero.

    minRam

    Integer

    Specifies the minimum memory size in GB required by the image. The value must be greater than zero.

    +

    Specifies the minimum memory size required by the image. The value must be greater than zero.

    progress

    diff --git a/docs/ecs/api-ref/en-us_topic_0065817700.html b/docs/ecs/api-ref/en-us_topic_0065817700.html index 4a50e8aef..5f253ebc8 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817700.html +++ b/docs/ecs/api-ref/en-us_topic_0065817700.html @@ -214,7 +214,7 @@

    Integer

    Specifies the start port. The value ranges from 1 to 65,535 and cannot be greater than to_port. When ip_protocol is icmp, this parameter specifies a port type with a length from 0 to 255 characters.

    +

    Specifies the start port. The value ranges from 1 to 65535 and cannot be greater than to_port. When ip_protocol is icmp, this parameter specifies a port type with a length from 0 to 255 characters.

    to_port

    @@ -223,7 +223,7 @@

    Integer

    Specifies the end port. The value ranges from 1 to 65,535 and cannot be less than from_port. When ip_protocol is icmp, it specifies the code. The value ranges from 0 to 255. If both from_port and to_port are -1, any ICMP packet can be transmitted.

    +

    Specifies the end port. The value ranges from 1 to 65535 and cannot be less than from_port. When ip_protocol is icmp, it specifies the code. The value ranges from 0 to 255. If both from_port and to_port are -1, any ICMP packet can be transmitted.

    ip_range

    @@ -257,7 +257,7 @@
    -
    Table 7 ip_range objects

    Parameter

    +
    diff --git a/docs/ecs/api-ref/en-us_topic_0065817702.html b/docs/ecs/api-ref/en-us_topic_0065817702.html index f09eb1d95..690553db0 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817702.html +++ b/docs/ecs/api-ref/en-us_topic_0065817702.html @@ -120,7 +120,7 @@
    Table 7 ip_range objects

    Parameter

    Mandatory

    -
    Table 4 security_group_rule objects

    Parameter

    +
    @@ -164,7 +164,7 @@ - @@ -185,7 +185,7 @@
    Table 4 security_group_rule objects

    Parameter

    Mandatory

    Integer

    Specifies the stop port number. The value ranges from 1 to 65,535 and cannot be less than from_port.

    +

    Specifies the stop port number. The value ranges from 1 to 65,535 and cannot be less than from_port.

    When ip_protocol is icmp, it specifies the code. The value ranges from 0 to 255. If both from_port and to_port are -1, any ICMP packet can be transmitted.

    Object

    Specifies the name of the peer security group and the ID of the tenant in the peer security group. For details, see Table 6.

    -

    The value of ip_range or group must be empty.

    +

    The value of ip_range or group must be empty.

    id

    @@ -201,7 +201,7 @@
    -
    Table 5 ip_range objects

    Parameter

    +
    diff --git a/docs/ecs/api-ref/en-us_topic_0065817703.html b/docs/ecs/api-ref/en-us_topic_0065817703.html index 1dce11543..80da61794 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817703.html +++ b/docs/ecs/api-ref/en-us_topic_0065817703.html @@ -86,7 +86,7 @@ - @@ -96,7 +96,7 @@ - @@ -181,7 +181,7 @@ - @@ -191,8 +191,8 @@ - - - -
    Table 5 ip_range objects

    Parameter

    Mandatory

    Integer

    Specifies the start port. The value ranges from 1 to 65,535 and is no greater than the value of to_port.

    +

    Specifies the start port. The value ranges from 1 to 65535 and is no greater than the value of to_port.

    If the value of ip_protocol is icmp, this parameter specifies the ICMP type. The value ranges from 0 to 255.

    Integer

    Specifies the end port. The value ranges from 1 to 65,535 and cannot be less than from_port.

    +

    Specifies the end port. The value ranges from 1 to 65535 and cannot be less than from_port.

    If ip_protocol is icmp, this parameter specifies the ICMP code. The value ranges from 0 to 255. If both from_port and to_port are -1, any ICMP packet can be transmitted.

    Integer

    Specifies the start port number. The value ranges from 1 to 65,535 and cannot be greater than to_port.

    +

    Specifies the start port number. The value ranges from 1 to 65535 and cannot be greater than to_port.

    When the protocol type is set to ICMP, from_port is the ICMP type and ranges from 0 to 255.

    Integer

    Specifies the end port number. The value ranges from 1 to 65,535.

    -
    • When the protocol type is set to ICMP, to_port is the ICMP code and ranges from 0 to 255.
    • If both from_port and to_port are -1, it indicates that any ICMP packet can be transmitted.
    +

    Specifies the end port number. The value ranges from 1 to 65535.

    +
    • When the protocol type is set to ICMP, to_port is the ICMP code and ranges from 0 to 255.
    • If both from_port and to_port are -1, it indicates that any ICMP packet can be transmitted.

    ip_range

    diff --git a/docs/ecs/api-ref/en-us_topic_0065817705.html b/docs/ecs/api-ref/en-us_topic_0065817705.html index 084808607..995c6727f 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817705.html +++ b/docs/ecs/api-ref/en-us_topic_0065817705.html @@ -45,7 +45,7 @@

    Integer

    Specifies the minimum disk specification in the unit of GB. Only the ECSs with the disk specification greater than or equal to the minimum specification can be queried.

    +

    Specifies the minimum disk size in GiB. Only the ECSs with a disk size greater than or equal to the minimum size can be queried.

    minRam

    @@ -54,7 +54,7 @@

    Integer

    Specifies the minimum RAM in the unit of MB. Only the ECSs with the RAM specification greater than or equal to the minimum specification can be queried.

    +

    Specifies the minimum memory size in MiB. Only the ECSs with the memory size greater than or equal to the minimum size can be queried.

    sort_key

    diff --git a/docs/ecs/api-ref/en-us_topic_0065817708.html b/docs/ecs/api-ref/en-us_topic_0065817708.html index c0bd12a50..5eee50716 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817708.html +++ b/docs/ecs/api-ref/en-us_topic_0065817708.html @@ -76,7 +76,7 @@

    Integer

    Specifies the volume size.

    -

    Unit: GB

    +

    Unit: GiB

    display_name

    @@ -95,7 +95,7 @@

    String

    Specifies the volume type.

    -
    Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1.
    • SSD: specifies the ultra-I/O disk type.
    • SAS: specifies the high I/O disk type.
    • SATA: specifies the common I/O disk type.
    • co-p1: specifies the high I/O (performance-optimized I) disk type.
    • uh-l1: specifies the ultra-high I/O (latency-optimized) disk type.
      NOTE:

      EVS disks of the co-p1 and uh-l1 types are used exclusively for high performance computing (HPC) ECSs.

      +
      Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1.
      • SSD: the ultra-high I/O type
      • SAS: the high I/O type
      • SATA: the common I/O disk type
      • co-p1: the high I/O (performance-optimized I) disk type
      • uh-l1: the ultra-high I/O (latency-optimized) disk type
        NOTE:

        EVS disks of the co-p1 and uh-l1 types are used exclusively for high performance computing (HPC) ECSs.

      diff --git a/docs/ecs/api-ref/en-us_topic_0065817716.html b/docs/ecs/api-ref/en-us_topic_0065817716.html index d4b636bb4..65005ee34 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817716.html +++ b/docs/ecs/api-ref/en-us_topic_0065817716.html @@ -137,7 +137,7 @@

    Integer

    Specifies the memory quota (MB).

    +

    Specifies the memory quota (MiB).

    security_group_rules

    diff --git a/docs/ecs/api-ref/en-us_topic_0065817720.html b/docs/ecs/api-ref/en-us_topic_0065817720.html index df70fad52..c0c62b957 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817720.html +++ b/docs/ecs/api-ref/en-us_topic_0065817720.html @@ -110,7 +110,7 @@ -
    Table 5 server_group field description

    Parameter

    +
    diff --git a/docs/ecs/api-ref/en-us_topic_0065817721.html b/docs/ecs/api-ref/en-us_topic_0065817721.html index 92e07aa78..284e8ea4e 100644 --- a/docs/ecs/api-ref/en-us_topic_0065817721.html +++ b/docs/ecs/api-ref/en-us_topic_0065817721.html @@ -1,7 +1,7 @@ -

    Querying ECS Groups

    -

    Function

    This API is used to query ECS groups.

    +

    Querying the List of ECS Groups

    +

    Function

    This API is used to query the list of ECS groups.

    URI

    GET /v2.1/{project_id}/os-server-groups

    GET /v2/{project_id}/os-server-groups

    diff --git a/docs/ecs/api-ref/en-us_topic_0065820821.html b/docs/ecs/api-ref/en-us_topic_0065820821.html index 0398f8455..c23d244a4 100644 --- a/docs/ecs/api-ref/en-us_topic_0065820821.html +++ b/docs/ecs/api-ref/en-us_topic_0065820821.html @@ -6,9 +6,9 @@
    diff --git a/docs/ecs/api-ref/en-us_topic_0065962596.html b/docs/ecs/api-ref/en-us_topic_0065962596.html index 9ee374588..1d39741ec 100644 --- a/docs/ecs/api-ref/en-us_topic_0065962596.html +++ b/docs/ecs/api-ref/en-us_topic_0065962596.html @@ -1,8 +1,7 @@

    FPGA Logical File Management

    -

    -
    +
    @@ -115,7 +115,7 @@ - - @@ -76,7 +83,14 @@ - - - @@ -118,8 +146,13 @@ - @@ -129,10 +162,8 @@ - - @@ -162,9 +206,16 @@ echo 111 > c:\aaa.txt - @@ -172,7 +223,7 @@ echo 111 > c:\aaa.txt -

    Response

    See Responses (Task).

    +

    Response parameters

    See Responses (Jobs).

    Example Request

    • After the ECS OS is reinstalled, use the password for login authentication. For security purposes, store the password in ciphertext in configuration files or environment variables.
      POST https://{endpoint}/v2/{project_id}/cloudservers/{server_id}/reinstallos
       
      @@ -205,7 +256,7 @@ echo 111 > c:\aaa.txt
      } }
    -

    Example Response

    See Responses (Task).

    +

    Example Response

    See Responses (Jobs).

    {      
         "job_id": "ff80808288d41e1b018990260955686a" 
     }
    diff --git a/docs/ecs/api-ref/en-us_topic_0067876971.html b/docs/ecs/api-ref/en-us_topic_0067876971.html index 0721c5e0d..de3ae1497 100644 --- a/docs/ecs/api-ref/en-us_topic_0067876971.html +++ b/docs/ecs/api-ref/en-us_topic_0067876971.html @@ -2,7 +2,7 @@

    Changing an ECS OS (Using an Image with Cloud-Init Installed)

    Function

    This API is used to change an ECS OS. During the system disk reinstallation using a new image, the data disks of the ECS remain unchanged.

    -

    This API is an asynchronous API. After the OS change request is successfully delivered, a job ID is returned. This does not mean the OS change is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the OS change is successful.

    +

    This API is an asynchronous API. After the OS change request is successfully delivered, a job ID is returned. This does not mean the OS change is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the OS change is successful.

    After this API is called, the system uninstalls the system disk, uses the new image to create a system disk, and attaches it to the ECS. In this way, the OS is changed.

    Constraints

    • You can only use an image with Cloud-Init or Cloudbase-Init installed.
    • Only a stopped ECS or an ECS on which reinstalling or changing the OS failed supports changing OS.
    • Only an ECS with a system disk supports changing OS.
    • You are not allowed to perform other operations when changing the OS. Otherwise, changing the OS will fail.
    @@ -53,7 +53,14 @@
    - @@ -76,7 +83,14 @@ - - - - @@ -128,8 +163,13 @@ - @@ -139,10 +179,8 @@ - - @@ -172,9 +223,16 @@ echo 111 > c:\aaa.txt - @@ -182,7 +240,7 @@ echo 111 > c:\aaa.txt -

    Response

    See Responses (Task).

    +

    Response

    See Responses (Jobs).

    Example Request

    • After the ECS OS is switched, use the password for login authentication. For security purposes, store the password in ciphertext in configuration files or environment variables.
      POST https://{endpoint}/v2/{project_id}/cloudservers/{server_id}/changeos
       
      @@ -217,7 +275,7 @@ echo 111 > c:\aaa.txt
      }
    -

    Example Response

    See Responses (Task).

    +

    Example Response

    See Responses (Jobs).

    {      
         "job_id": "ff80808288d41e1b018990260955686a" 
     }
    diff --git a/docs/ecs/api-ref/en-us_topic_0068473331.html b/docs/ecs/api-ref/en-us_topic_0068473331.html index 8724a0524..3b75602c5 100644 --- a/docs/ecs/api-ref/en-us_topic_0068473331.html +++ b/docs/ecs/api-ref/en-us_topic_0068473331.html @@ -35,9 +35,9 @@
    Specifically, when you use the native API to create an ECS:
    1. You can query information about the system disks attached to the ECS.
    2. The ECS system disk uses the EVS disk quota.
    3. You cannot query ECSs created based on a specified image using the image filtering function.
    -
  • When you create an ECS with a specified disk, ensure that the disk and the ECS are in the same AZ.
  • The device_name field configured in block_device_mapping_v2 during the ECS creation does not take effect. The system generates a device name by default.
  • ECSs cannot be created in networks with provider:network_type set to geneve.

    provider:network_type being set to geneve indicates the internal high-speed network for BMSs.

    +
  • When you create an ECS with a specified disk, ensure that the disk and the ECS are in the same AZ (specified by availability_zone).
  • The device_name field configured in block_device_mapping_v2 during the ECS creation does not take effect. The system generates a device name by default.
  • ECSs cannot be created in networks with provider:network_type set to geneve.

    provider:network_type being set to geneve indicates the internal high-speed network for BMSs.

    -
  • If your ECS is remotely logged in using a key, use the key_name parameter. If your ECS is remotely logged in using a password, use the adminPass parameter. Linux ECSs support user_data for injection. Windows ECSs support admin_pass for injection.
  • If the image based on which the ECS is created uses the native OpenStack API, ensure that the specified AZ and system disk capacity and type used when the ECS is created are the same as those used when the image is created. Otherwise, the ECS creation will fail.
  • +
  • If your ECS is remotely logged in using a key, use the key_name parameter. If your ECS is remotely accessed using a password, use the adminPass parameter. Linux ECSs support user_data for injection. Windows ECSs support admin_pass for injection.
  • If the image based on which the ECS is created uses the native OpenStack API, ensure that the specified AZ and system disk capacity and type used when the ECS is created are the same as those used when the image is created. Otherwise, the ECS creation will fail.
  • Request

    Table 2 describes the request parameters.

    @@ -115,9 +115,9 @@
    - - @@ -400,7 +400,7 @@ echo 111 > c:\aaa.txt - @@ -628,7 +628,7 @@ echo 111 > c:\aaa.txt - diff --git a/docs/ecs/api-ref/en-us_topic_0090187679.html b/docs/ecs/api-ref/en-us_topic_0090187679.html index a471afba2..485a6f4b9 100644 --- a/docs/ecs/api-ref/en-us_topic_0090187679.html +++ b/docs/ecs/api-ref/en-us_topic_0090187679.html @@ -99,7 +99,7 @@
    Table 5 server_group field description

    Parameter

    Type

    No

    Specifies the maximum records displayed on a page in a pagination query.

    -
    • Must be a decimal integer.
    • Ranges from 1 (inclusive) to 100 (inclusive).
    • Cannot contain +.
    +
    • Must be a decimal integer.
    • Ranges from 1 (inclusive) to 100 (inclusive).
    • Cannot contain +.

    String

    Specifies the FPGA image status. Options:

    -
    • initialing: indicates that the task of creating an FPGA image is being initialized.
    • scheduling: indicates that the task of creating an FPGA image is waiting for scheduling.
    • creating: indicates that the FPGA image is being created.
    • saving: indicates that the FPGA image file is being uploaded to the backend storage.
    • deleting: indicates that the FPGA image is being deleted.
    • error: indicates that creating the FPGA image failed.
    • active: indicates that the FPGA image is available for use.
    +
    • initiating: indicates that the task of creating an FPGA image is being initialized.
    • scheduling: indicates that the task of creating an FPGA image is waiting for scheduling.
    • creating: indicates that the FPGA image is being created.
    • saving: indicates that the FPGA image file is being uploaded to the backend storage.
    • deleting: indicates that the FPGA image is being deleted.
    • error: indicates that creating the FPGA image failed.
    • active: indicates that the FPGA image is available for use.

    size

    diff --git a/docs/ecs/api-ref/en-us_topic_0067298110.html b/docs/ecs/api-ref/en-us_topic_0067298110.html index 10003380f..1f57e5aae 100644 --- a/docs/ecs/api-ref/en-us_topic_0067298110.html +++ b/docs/ecs/api-ref/en-us_topic_0067298110.html @@ -144,7 +144,7 @@

    Integer

    Specifies the memory quota (MB).

    +

    Specifies the memory quota (MiB).

    security_group_rules

    diff --git a/docs/ecs/api-ref/en-us_topic_0067876349.html b/docs/ecs/api-ref/en-us_topic_0067876349.html index 3eee4607c..5c9918062 100644 --- a/docs/ecs/api-ref/en-us_topic_0067876349.html +++ b/docs/ecs/api-ref/en-us_topic_0067876349.html @@ -2,7 +2,7 @@

    Reinstalling an ECS OS (Using an Image with Cloud-Init Installed)

    Function

    This API is used to reinstall an ECS OS. During the system disk reinstallation using the original image, the data disks of the ECS remain unchanged.

    -

    This API is an asynchronous API. After the OS reinstallation request is successfully delivered, a job ID is returned. This does not mean the reinstallation is complete. You need to call the API by referring to Querying Task Execution Status to query the job status. The SUCCESS status indicates that the reinstallation is successful.

    +

    This API is an asynchronous API. After the OS reinstallation request is successfully delivered, a job ID is returned. This does not mean the reinstallation is complete. You need to call the API by referring to Querying Job Execution Status to query the job status. The SUCCESS status indicates that the reinstallation is successful.

    After this API is called, the system uninstalls the system disk, uses the original image to create a system disk, and attaches it to the ECS. In this way, the OS is reinstalled.

    Constraints

    • You can only use an image with Cloud-Init or Cloudbase-Init installed.
    • You can reinstall OS only on an ECS that is stopped or for which OS reinstallation has failed.
    • You are not allowed to reinstall the OS of an ECS that does not have the system disk.
    • You are not allowed to perform other operations when reinstalling the OS. Otherwise, reinstalling the OS will fail.
    @@ -53,7 +53,14 @@

    Object

    Re-installs an ECS OS. For details, see Table 3.

    +

    Definition

    +

    Re-installs an ECS OS. For details, see Table 3.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the key name.

    +

    Definition

    +

    Specifies the key name.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    userid

    @@ -85,7 +99,14 @@

    String

    Specifies the user ID. This parameter is mandatory when keyname is used.

    +

    Definition

    +

    Specifies the user ID.

    +

    Constraints

    +

    This parameter is mandatory when keyname is used.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    metadata

    @@ -94,8 +115,15 @@

    Object

    Specifies metadata of the reinstalled ECS.

    +

    Definition

    +

    Specifies metadata of the reinstalled ECS.

    For more information, see Table 4.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies whether a user has the license of an image.

    +

    Definition

    +

    Specifies whether a user has the license of an image.

    +

    Constraints

    +

    N/A

    +

    Range

    • If this parameter is set to true, the license file delivered with the image is used, indicating that BYOL is used.
    • If this parameter is set to a value other than true, BYOL is not used, and the license file provided by the cloud platform must be used.
    +

    Default Value

    The default value is not true, indicating that BYOL is not used.

    String

    Specifies the user data to be injected to the ECS during the creation. Text and text files can be injected.

    -
    NOTE:
    • The content of user_data must be encoded with base64.
    • The maximum size of the content to be injected (before encoding) is 32 KB.
    -
    -

    For more details, see "Injecting User Data into ECSs" in the Elastic Cloud Server User Guide.

    +

    Definition

    +

    Specifies the user data to be injected to the ECS during the creation. Text and text files can be injected.

    Examples

    Before base64 encoding:

    • Linux
      #!/bin/bash
      @@ -144,6 +175,13 @@ echo 111 > c:\aaa.txt
      • Linux
        IyEvYmluL2Jhc2gKZWNobyB1c2VyX3Rlc3QgPiAvaG9tZS91c2VyLnR4dA==
      • Windows
        cmVtIGNtZAplY2hvIDExMSA+IGM6XGFhYS50eHQ=
      +

      For more details, see "Injecting User Data into ECSs" in the Elastic Cloud Server User Guide.

      +

      Constraints

      +
      • The content of user_data must be encoded with base64.
      • The maximum size of the content to be injected (before encoding) is 32 KB.
      +

      Range

      +

      N/A

      +

      Default Value

      +

      N/A

    __system__encrypted

    @@ -152,7 +190,13 @@ echo 111 > c:\aaa.txt

    String

    Specifies encryption in metadata. The value can be 0 (encryption disabled) or 1 (encryption enabled).

    +

    Definition

    +

    Specifies the encryption field in metadata.

    +

    Constraints

    +

    N/A

    +

    Range

    +
    • 0: indicates a non-encrypted disk.
    • 1: indicates an encrypted disk.
    +

    Default Value

    If this parameter does not exist, the system disk will not be encrypted by default.

    String

    Specifies the CMK ID, which indicates encryption in metadata. This parameter is used with __system__encrypted.

    -
    NOTE:

    For details about how to obtain the CMK ID through HTTPS requests, see "Querying the List of CMKs" in Key Management Service API Reference.

    +

    Definition

    +

    Specifies the CMK ID, which indicates encryption in metadata.

    +

    Constraints

    +

    This parameter must be used with __system__encrypted.

    +
    NOTE:

    For details about how to obtain the CMK ID through HTTPS requests, see "Querying the Key List" in Key Management Service API Reference.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Object

    Changes an ECS OS. For details, see Table 3.

    +

    Definition

    +

    Changes an ECS OS. For details, see Table 3.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the key name.

    +

    Definition

    +

    Specifies the key name.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    userid

    @@ -85,7 +99,14 @@

    String

    Specifies the user ID. When the keyname parameter is being specified, the value of this parameter is used preferentially. If this parameter is left blank, the user ID in the token is used by default.

    +

    Definition

    +

    Specifies the user ID.

    +

    Constraints

    +

    When the keyname parameter is being specified, the value of this parameter is used preferentially. If this parameter is left blank, the user ID in the token is used by default.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    imageid

    @@ -94,8 +115,15 @@

    String

    Specifies the ID of the new image in UUID format.

    +

    Definition

    +

    Specifies the ID of the new image in UUID format.

    You can obtain the image ID from the console or by following the instructions provided in "Querying Images" in Image Management Service API Reference.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    metadata

    @@ -104,8 +132,15 @@

    Object

    Specifies the metadata of the ECS for which the OS is to be changed.

    +

    Definition

    +

    Specifies the metadata of the ECS for which the OS is to be changed.

    For more information, see Table 4.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies whether a user has the license of an image.

    +

    Definition

    +

    Specifies whether a user has the license of an image.

    +

    Constraints

    +

    N/A

    +

    Range

    • If this parameter is set to true, the license file delivered with the image is used, indicating that BYOL is used.
    • If this parameter is set to a value other than true, BYOL is not used, and the license file provided by the cloud platform must be used.
    +

    Default Value

    The default value is not true, indicating that BYOL is not used.

    String

    Specifies the user data to be injected to the ECS during the creation. Text and text files can be injected.

    -
    NOTE:
    • The content of user_data must be encoded with base64.
    • The maximum size of the content to be injected (before encoding) is 32 KB.
    -
    -

    For more details, see "Injecting User Data into ECSs" in the Elastic Cloud Server User Guide.

    +

    Definition

    +

    Specifies the user data to be injected to the ECS during the creation. Text and text files can be injected.

    Examples

    Before base64 encoding:

    • Linux
      #!/bin/bash
      @@ -154,6 +192,13 @@ echo 111 > c:\aaa.txt
      • Linux
        IyEvYmluL2Jhc2gKZWNobyB1c2VyX3Rlc3QgPiAvaG9tZS91c2VyLnR4dA==
      • Windows
        cmVtIGNtZAplY2hvIDExMSA+IGM6XGFhYS50eHQ=
      +

      For more details, see "Injecting User Data into ECSs" in the Elastic Cloud Server User Guide.

      +

      Constraints

      +
      • The content of user_data must be encoded with base64.
      • The maximum size of the content to be injected (before encoding) is 32 KB.
      +

      Range

      +

      N/A

      +

      Default Value

      +

      N/A

    __system__encrypted

    @@ -162,7 +207,13 @@ echo 111 > c:\aaa.txt

    String

    Specifies encryption in metadata. The value can be 0 (encryption disabled) or 1 (encryption enabled).

    +

    Definition

    +

    Specifies the encryption field in metadata.

    +

    Constraints

    +

    N/A

    +

    Range

    +
    • 0: indicates a non-encrypted disk.
    • 1: indicates an encrypted disk.
    +

    Default Value

    If this parameter does not exist, the system disk will not be encrypted by default.

    String

    Specifies the CMK ID, which indicates encryption in metadata. This parameter is used with __system__encrypted.

    -
    NOTE:

    For details about how to obtain the CMK ID through HTTPS requests, see "Querying the List of CMKs" in Key Management Service API Reference.

    +

    Definition

    +

    Specifies the CMK ID, which indicates encryption in metadata.

    +

    Constraints

    +

    This parameter must be used with __system__encrypted.

    +
    NOTE:

    For details about how to obtain the CMK ID through HTTPS requests, see "Querying the Key List" in Key Management Service API Reference.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Specifies the ECS name.

    Value description:

    -
    • The parameter value consists of 1 to 128 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
    • If more than one ECS is to be created (the count value is greater than 1), the system automatically adds a hyphen followed by a four-digit incremental number, such as -0000, to the end of each ECS name. If you specify a number, the name of the first new ECS will start from the specified number. In this case, the ECS name contains a maximum of 59 characters.
      NOTE:

      ECS hostnames comply with RFC952 and RFC1123 naming rules. It is recommended that you configure hostnames using digits, lower-case letters, and hyphens (-).

      +
      • The parameter value consists of 1 to 128 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
      • If the number of created ECSs (the count value) is greater than 1, the system automatically adds a suffix such as "-0000" to the name of each ECS to differentiate them. If you specify a number, the name of the first new ECS will start from the specified number. In this case, the ECS name contains 1 to 59 characters.
      +
      NOTE:

      The hostname of in the ECS OS must comply with RFC 952 and RFC 1123. You are advised to use a name containing letters (a to z), digits (0 to 9), and hyphens (-).

      -

    metadata

    @@ -136,7 +136,7 @@

    String

    Specifies the initial login password of the administrator account for logging in to an ECS using password authentication. The Linux administrator is root, and the Windows administrator is Administrator.

    +

    Specifies the initial login password of the administrator account for logging in to an ECS using password authentication. The Linux administrator is root, and the Windows administrator is Administrator.

    block_device_mapping_v2

    @@ -164,7 +164,7 @@

    Array of objects

    Specifies the security group that the ECS belongs to. This parameter is an extended attribute. The default parameter value is default.

    +

    Specifies the security groups that the ECS belongs to. This parameter is an extended attribute. The default parameter value is default.

    This parameter is valid when you create an ECS on a specified network. For an existing port, the requested security groups are invalid. For details, see Table 6.

    No

    Specifies the volume size. The value is an integer. This parameter is mandatory when source_type is set to image or blank, and destination_type is set to volume.

    -

    Unit: GB

    +

    Unit: GiB

    volume_type

    @@ -475,7 +475,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.

    Array of objects

    Specifies the security groups to which the ECS belongs. For details, see Table 12.

    +

    Specifies the security groups that the ECS belongs to. For details, see Table 12.

    OS-DCF:diskConfig

    diff --git a/docs/ecs/api-ref/en-us_topic_0081950550.html b/docs/ecs/api-ref/en-us_topic_0081950550.html index 62dc1cf36..020e66b39 100644 --- a/docs/ecs/api-ref/en-us_topic_0081950550.html +++ b/docs/ecs/api-ref/en-us_topic_0081950550.html @@ -49,7 +49,7 @@

    No

    Specifies the maximum records displayed on a page in a pagination query.

    -
    • Must be a decimal integer.
    • Ranges from 1 (inclusive) to 100 (inclusive).
    • Cannot contain +.
    +
    • Must be a decimal integer.
    • Ranges from 1 (inclusive) to 100 (inclusive).
    • Cannot contain +.
    -
    Table 4 security_group_rule objects

    Parameter

    +
    @@ -125,7 +125,7 @@ - - @@ -168,7 +168,7 @@
    Table 4 security_group_rule objects

    Parameter

    Type

    Integer

    Specifies the start port number. The value ranges from 1 to 65,535 and cannot be greater than to_port.

    +

    Specifies the start port number. The value ranges from 1 to 65535 and cannot be greater than to_port.

    When ip_protocol is icmp, this parameter indicates the ICMP type field with a length from 0 to 255 characters.

    NOTE:

    The ICMP message type is determined by the type field and code field in the packet. For details, see Appendix > ICMP-Port Range Relationship Table in Virtual Private Cloud API Reference. port_range_min indicates the ICMP type field, and port_range_max indicates the ICMP code field.

    @@ -135,9 +135,9 @@

    Integer

    Specifies the stop port number. The value ranges from 1 to 65,535 and cannot be less than from_port.

    -

    When ip_protocol is icmp, this parameter indicates the ICMP code field with a length from 0 to 255 characters.

    -
    NOTE:

    The ICMP message type is determined by the type field and code field in the packet. For details, see Appendix > ICMP-Port Range Relationship Table in Virtual Private Cloud API Reference. port_range_min indicates the ICMP type, and port_range_max indicates the ICMP code.

    +

    Specifies the stop port number. The value ranges from 1 to 65535 and cannot be less than from_port.

    +

    When ip_protocol is icmp, this parameter indicates the ICMP code field with a length from 0 to 255 characters.

    +
    NOTE:

    The ICMP message type is determined by the type field and code field in the packet. For details, see Appendix > ICMP-Port Range Relationship Table in Virtual Private Cloud API Reference. port_range_min indicates the ICMP type, and port_range_max indicates the ICMP code.

    -
    Table 5 ip_range objects

    Parameter

    +
    diff --git a/docs/ecs/api-ref/en-us_topic_0090187681.html b/docs/ecs/api-ref/en-us_topic_0090187681.html index 1ca2bb442..8e1fe6c80 100644 --- a/docs/ecs/api-ref/en-us_topic_0090187681.html +++ b/docs/ecs/api-ref/en-us_topic_0090187681.html @@ -106,7 +106,7 @@
    Table 5 ip_range objects

    Parameter

    Type

    -
    - -
    Table 4 security_group_rule objects

    Parameter

    +
    @@ -132,7 +132,7 @@ - - @@ -161,7 +161,7 @@
    Table 4 security_group_rule objects

    Parameter

    Type

    Integer

    Specifies the start port number. The value ranges from 1 to 65,535 and cannot be greater than to_port.

    +

    Specifies the start port number. The value ranges from 1 to 65535 and cannot be greater than to_port.

    When ip_protocol is icmp, this parameter indicates the ICMP type field with a length from 0 to 255 characters.

    NOTE:

    The ICMP message type is determined by the type field and code field in the packet. For details, see Appendix > ICMP-Port Range Relationship Table in Virtual Private Cloud API Reference. port_range_min indicates the ICMP type, and port_range_max indicates the ICMP code.

    @@ -142,9 +142,9 @@

    Integer

    Specifies the stop port number. The value ranges from 1 to 65,535 and cannot be less than from_port.

    -

    When ip_protocol is icmp, this parameter indicates the ICMP code field with a length from 0 to 255 characters.

    -
    NOTE:

    The ICMP message type is determined by the type field and code field in the packet. For details, see Appendix > ICMP-Port Range Relationship Table in Virtual Private Cloud API Reference. port_range_min indicates the ICMP type, and port_range_max indicates the ICMP code.

    +

    Specifies the stop port number. The value ranges from 1 to 65535 and cannot be less than from_port.

    +

    When ip_protocol is icmp, this parameter indicates the ICMP code field with a length from 0 to 255 characters.

    +
    NOTE:

    The ICMP message type is determined by the type field and code field in the packet. For details, see Appendix > ICMP-Port Range Relationship Table in Virtual Private Cloud API Reference. port_range_min indicates the ICMP type, and port_range_max indicates the ICMP code.

    Object

    Specifies the name of the peer security group and the ID of the tenant in the peer security group. For details, see Table 6.

    -

    Specify either ip_range or group.

    +

    Specify either ip_range or group.

    id

    @@ -175,7 +175,7 @@
    -
    - - - - - - - - - @@ -150,20 +208,570 @@ - -
    Table 5 ip_range objects

    Parameter

    +
    diff --git a/docs/ecs/api-ref/en-us_topic_0094148849.html b/docs/ecs/api-ref/en-us_topic_0094148849.html index 4a2bcdfe6..8be385488 100644 --- a/docs/ecs/api-ref/en-us_topic_0094148849.html +++ b/docs/ecs/api-ref/en-us_topic_0094148849.html @@ -48,7 +48,10 @@ - @@ -68,8 +71,9 @@ - @@ -78,29 +82,40 @@ - - - - @@ -108,109 +123,152 @@ - - - - - - - - - - - - - - - @@ -218,21 +276,29 @@ - - - @@ -241,15 +307,19 @@ - - @@ -257,53 +327,73 @@ - - - - - - - @@ -311,56 +401,79 @@ - - - - - - - - @@ -368,22 +481,42 @@ - - - + + + + @@ -402,7 +535,9 @@ - @@ -410,14 +545,19 @@ - - @@ -425,26 +565,61 @@ - -
    Table 5 ip_range objects

    Parameter

    Type

    Object

    Specifies ECS information. For details, see Table 3.

    +

    Definition

    +

    Specifies the ECS information. For details, see Table 3.

    +

    Range

    +

    N/A

    String

    Specifies the ECS status.

    -

    Value range:

    +

    Definition

    +

    Specifies the ECS status.

    +

    Range

    ACTIVE, BUILD, ERROR, HARD_REBOOT, MIGRATING, REBOOT, REBUILD, RESIZE, REVERT_RESIZE, SHUTOFF, VERIFY_RESIZE, DELETED, SHELVED, SHELVED_OFFLOADED, and UNKNOWN

    For details, see ECS Statuses.

    String

    Specifies the last time when the ECS was updated, such as started, stopped, or restarted.

    +

    Definition

    +

    Specifies the last time when the ECS was updated, such as started, stopped, or restarted.

    The time is in the format of "2019-05-22T03:30:52Z".

    +

    Range

    +

    N/A

    hostId

    String

    Specifies the ID of the host where the ECS is deployed.

    +

    Definition

    +

    Specifies the hash value of the host ID of the ECS.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:host

    String

    Specifies the name of the host on which the ECS is deployed.

    +

    Definition

    +

    Specifies the name of the host where the ECS is deployed.

    +

    Range

    +

    N/A

    addresses

    Map<String, Array of objects>

    Specifies the network attribute of the ECS.

    +

    Definition

    +

    Specifies the network attribute of the ECS.

    +

    Range

    • The key indicates the network name, for example, demo_net.
    • The value indicates the network attribute specified in Table 4.

    String

    Specifies the key pair that is used to authenticate an ECS.

    +

    Definition

    +

    Specifies the key pair that is used to authenticate an ECS.

    +

    Range

    +

    N/A

    image

    Object

    Specifies the ECS image. For details, see Table 6.

    +

    Definition

    +

    Specifies the ECS image. For details, see Table 6.

    +

    Range

    +

    N/A

    OS-EXT-STS:task_state

    String

    Specifies the ECS task status. This is an extended attribute. For details, see ECS Statuses.

    +

    Definition

    +

    Specifies the ECS task status. This is an extended attribute. For details, see ECS Statuses.

    +

    Range

    +

    N/A

    OS-EXT-STS:vm_state

    String

    Specifies the ECS status. This is an extended attribute. For details, see ECS Statuses.

    +

    Definition

    +

    Specifies the ECS status. This is an extended attribute. For details, see ECS Statuses.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:instance_name

    String

    Specifies the ECS alias. This is an extended attribute.

    +

    Definition

    +

    Specifies the ECS alias. This is an extended attribute.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:hypervisor_hostname

    String

    Specifies the name of the host on which the ECS is deployed. This is an extended attribute.

    +

    Definition

    +

    Specifies the name of the host on which the ECS is deployed. This is an extended attribute.

    +

    Range

    +

    N/A

    flavor

    Object

    Specifies the ECS flavor.

    +

    Definition

    +

    Specifies the ECS flavor.

    For details, see Table 1.

    +

    Range

    +

    N/A

    id

    String

    Specifies the ECS ID in UUID format.

    +

    Definition

    +

    Specifies the ECS ID in UUID format.

    +

    Range

    +

    N/A

    security_groups

    Array of objects

    Specifies the security groups of the ECS.

    +

    Definition

    +

    Specifies the security groups of the ECS.

    For details, see Table 2.

    +

    Range

    +

    N/A

    OS-EXT-AZ:availability_zone

    String

    Specifies the AZ of an ECS. This is an extended attribute.

    +

    Definition

    +

    Specifies the AZ of an ECS. This is an extended attribute.

    +

    Range

    +

    N/A

    user_id

    String

    Specifies the ID of the user for creating the ECS. The value is in UUID format.

    +

    Definition

    +

    Specifies the ID of the user for creating the ECS. The value is in UUID format.

    +

    Range

    +

    N/A

    name

    String

    Specifies the ECS name.

    +

    Definition

    +

    Specifies the ECS name.

    +

    Range

    +

    N/A

    created

    String

    Specifies the time when the ECS was created.

    +

    Definition

    +

    Specifies the time when the ECS was created.

    The time is in the format of "2019-05-22T03:19:19Z".

    +

    Range

    +

    N/A

    tenant_id

    String

    Specifies the ID of the tenant to which the ECS belongs, which is the project ID in UUID format.

    +

    Definition

    +

    Specifies the ID of the tenant to which the ECS belongs, which is the project ID in UUID format.

    +

    Range

    +

    N/A

    OS-DCF:diskConfig

    String

    Specifies the disk configuration type. This is an extended attribute.

    -

    Options:

    +

    Definition

    +

    Specifies the disk configuration type. This is an extended attribute.

    +

    Range

    • MANUAL: The image space is not expanded.
    • AUTO: The image space of the system disk will be expanded to be as same as the flavor.

    String

    This is a reserved parameter.

    +

    Definition

    +

    This is a reserved parameter.

    +

    Range

    +

    N/A

    accessIPv6

    String

    This is a reserved parameter.

    +

    Definition

    +

    This is a reserved parameter.

    +

    Range

    +

    N/A

    fault

    Object

    Specifies the ECS failure cause.

    +

    Definition

    +

    Specifies the ECS failure cause.

    +

    Range

    • If the ECS status is normal, NULL is displayed.
    • If the ECS status is faulty, fault message or details are returned.
      • message: specifies the fault message.
      • code: specifies the fault code.
      • details: specifies the fault details.
      • created: specifies the time when the fault occurred. The time is in ISO8601 format.

    Integer

    Specifies the ECS creation progress. The value ranges from 0 to 100.

    +

    Definition

    +

    Specifies the ECS progress.

    +

    Range

    +

    0 to 100

    OS-EXT-STS:power_state

    Integer

    Specifies the power status of the ECS. This is an extended attribute.

    -

    Value range:

    +

    Definition

    +

    Specifies the power status of the ECS. This is an extended attribute.

    +

    Range

    • 0: NOSTATE
    • 1: RUNNING
    • 4: SHUTDOWN

    String

    Specifies the configuration driver.

    +

    Definition

    +

    Specifies the config drive.

    +

    Range

    +

    N/A

    metadata

    Map<String,String>

    Specifies the ECS metadata. For details, see Table 4.

    +

    Definition

    +

    Specifies the ECS metadata. For details, see Table 4.

    NOTE:

    Metadata includes system default fields and the fields set by users.

    +

    Range

    +

    N/A

    OS-SRV-USG:launched_at

    String

    Specifies the time when the ECS was started. The time is in the format of "2019-05-22T03:23:59.000000".

    +

    Definition

    +

    Specifies the time when the ECS was started. The time is in the format of "2019-05-22T03:23:59.000000".

    +

    Range

    +

    N/A

    OS-SRV-USG:terminated_at

    String

    Specifies the time when the ECS was deleted.

    +

    Definition

    +

    Specifies the time when the ECS was deleted.

    The time is in the format of "2019-05-22T03:23:59.000000".

    +

    Range

    +

    N/A

    os-extended-volumes:volumes_attached

    Array of objects

    Specifies the disks attached to an ECS.

    +

    Definition

    +

    Specifies the disks attached to an ECS.

    For details, see Table 3.

    +

    Range

    +

    N/A

    description

    String

    Specifies the ECS description.

    +

    Definition

    +

    Specifies the ECS description.

    +

    Range

    +

    N/A

    host_status

    String

    Specifies the status of the host accommodating the ECS.

    +

    Definition

    +

    Specifies the status of the host accommodating the ECS.

    +

    Range

    • UP: The nova-compute status is normal.
    • UNKNOWN: The nova-compute status is unknown.
    • DOWN: the nova-compute status is abnormal.
    • MAINTENANCE: The nova-compute is in maintenance state.
    • Empty string: There is no host information.

    String

    Specifies the host name of the ECS.

    +

    Definition

    +

    Specifies the host name of the ECS.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:reservation_id

    String

    Specifies the ID reserved for the ECSs to be created in a batch. You can use this ID to obtain all the ECSs created in the batch.

    +

    Definition

    +

    Specifies the ID reserved for the ECSs to be created in a batch. You can use this ID to obtain all the ECSs created in the batch.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:launch_index

    Integer

    Specifies the sequence in which ECSs start if the ECSs are created in a batch. The value ranges from 0 to the number of ECSs created in the batch.

    +

    Definition

    +

    Specifies the sequence in which ECSs start if the ECSs are created in a batch. The value ranges from 0 to the number of ECSs created in the batch.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:kernel_id

    String

    Specifies the UUID of the kernel image if an AMI image is used. In other scenarios, leave this parameter blank.

    +

    Definition

    +

    Specifies the UUID of the kernel image if an AMI image is used. In other scenarios, leave this parameter blank.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:ramdisk_id

    String

    Specifies the UUID of the ramdisk image if an AMI image is used. In other scenarios, leave this parameter blank.

    +

    Definition

    +

    Specifies the UUID of the ramdisk image if an AMI image is used. In other scenarios, leave this parameter blank.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:root_device_name

    String

    Specifies the device name of the ECS system disk. For example, if the device type of the system disk is VDB, the value of this parameter is /dev/vda. If the device type of the system disk is SCSI, the value of this parameter is /dev/sda.

    +

    Definition

    +

    Specifies the device name of the ECS system disk. For example, if the device type of the system disk is VBD, the value of this parameter is /dev/vda. If the device type of the system disk is SCSI, the value of this parameter is /dev/sda.

    +

    Range

    +

    N/A

    OS-EXT-SRV-ATTR:user_data

    String

    Specifies the user data (information after encoding) configured during ECS creation.

    +

    Definition

    +

    Specifies the user data (encoded) configured during ECS creation.

    +

    Range

    +

    N/A

    locked

    Boolean

    Specifies whether an ECS is locked.

    +

    Definition

    +

    Specifies whether an ECS is locked.

    +

    Range

    • true: The ECS is locked.
    • false: The ECS is not locked.

    Array of strings

    Specifies ECS tags.

    +

    Definition

    +

    Specifies ECS tags.

    +

    Range

    +

    N/A

    os:scheduler_hints

    Object

    Specifies the ECS scheduling information. For details, see Table 11.

    +

    Definition

    +

    Specifies the ECS scheduling information. For details, see Table 11.

    +

    Range

    +

    N/A

    sys_tags

    Array of objects

    Specifies ECS system tags.

    +

    Definition

    +

    Specifies ECS system tags.

    For details, see Table 5.

    +

    Range

    +

    N/A

    +

    security_options

    +

    Object

    +

    Definition

    +

    Specifies the secure boot option.

    +

    For details, see Table 5.

    +

    Range

    +

    N/A

    String

    Specifies the IP address version.

    +

    Definition

    +

    Specifies the IP address version.

    +

    Range

    • 4: indicates IPv4.
    • 6: indicates IPv6.

    String

    Specifies the IP address.

    +

    Definition

    +

    Specifies the IP address.

    +

    Range

    +

    N/A

    OS-EXT-IPS:type

    String

    Specifies the IP address type.

    +

    Definition

    +

    Specifies the IP address type.

    +

    Range

    • fixed: indicates the private IP address.
    • floating: indicates the floating IP address.

    String

    Specifies the MAC address.

    +

    Definition

    +

    Specifies the MAC address.

    +

    Range

    +

    N/A

    OS-EXT-IPS:port_id

    String

    Specifies the port ID corresponding to the IP address.

    +

    Definition

    +

    Specifies the port ID corresponding to the IP address.

    +

    Range

    +

    N/A

    + +
    + + + + + + + + + + + +
    Table 5 security_options field description

    Parameter

    +

    Mandatory

    +

    Type

    +

    Description

    +

    tpm_enabled

    +

    Yes

    +

    Boolean

    +

    Definition

    +

    Specifies whether to enable TPM.

    +

    Constraints

    +

    Currently, the following instance types support TPM: Pi5e.

    +

    Range

    +
    • true: Enable TPM.
    • false: Disable TPM.
    +

    Default Value

    +

    false

    +
    +

    Example Request

    Query details about the ECS whose ID is 4f4b3dfa-eb70-47cf-a60a-998a53bd598a.

    GET https://{endpoint}/v1/{project_id}/cloudservers/{server_id}

    Example Response

    {
         "server": {
    -        "fault": null,
             "id": "4f4b3dfa-eb70-47cf-a60a-998a53bd598a",
             "name": "ecs-2ecf",
             "addresses": {
    @@ -557,7 +732,6 @@
                 "preference": null
             },
             "security_options": {
    -            "secure_boot_enabled": null,
                 "tpm_enabled": null
             },
             "spod_id": null
    diff --git a/docs/ecs/api-ref/en-us_topic_0094148850.html b/docs/ecs/api-ref/en-us_topic_0094148850.html
    index f38b142ee..7ad5373d2 100644
    --- a/docs/ecs/api-ref/en-us_topic_0094148850.html
    +++ b/docs/ecs/api-ref/en-us_topic_0094148850.html
    @@ -43,10 +43,16 @@
     
     

    Integer

    Specifies the page number.

    +

    Definition

    +

    Specifies the page number.

    +

    Constraints

    The value must be greater than or equal to 0 and the default value is 1.

    If the value is 0, the first page is displayed, which is the same as the value 1.

    You are advised to set this parameter to a value greater than or equal to 1.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    flavor

    @@ -55,8 +61,15 @@

    String

    Specifies the ECS flavor ID.

    +

    Definition

    +

    Specifies the ECS flavor ID.

    For details about the flavors that have been released, see "ECS Specifications and Types" in the Elastic Cloud Server User Guide.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    name

    @@ -65,8 +78,14 @@

    String

    Specifies the ECS name, which is fuzzy-matched.

    +

    Definition

    +

    Specifies the ECS name, which is fuzzy-matched.

    +

    Constraints

    +

    N/A

    +

    Range

    Periods (.) are supported to match any single characters except \n and \r. A period is equal to [^\n\r].

    +

    Default Value

    +

    N/A

    status

    @@ -75,13 +94,18 @@

    String

    Specifies the ECS status.

    -

    Value range:

    +

    Definition

    +

    Specifies the ECS status.

    +

    Constraints

    +

    N/A

    +

    Range

    ACTIVE, BUILD, ERROR, HARD_REBOOT, MIGRATING, REBOOT, REBUILD, RESIZE, REVERT_RESIZE, SHUTOFF, VERIFY_RESIZE, DELETED, SHELVED, SHELVED_OFFLOADED, and UNKNOWN

    For details, see ECS Statuses.

    NOTE:

    When an ECS is in an intermediate state, the statuses that can be obtained are as follows:

    • ACTIVE: ACTIVE, REBOOT, HARD_REBOOT, REBUILD, MIGRATING, or RESIZE
    • SHUTOFF: SHUTOFF, RESIZE, or REBUILD
    • ERROR: ERROR or REBUILD
    • VERIFY_RESIZE: VERIFY_RESIZE or REVERT_RESIZE
    +

    Default Value

    +

    N/A

    limit

    @@ -90,8 +114,14 @@

    Integer

    Specifies the maximum number of ECSs on one page.

    +

    Definition

    +

    Specifies the maximum number of ECSs on one page.

    +

    Constraints

    Each page contains 25 ECSs by default, and a maximum of 1,000 ECSs are returned. For large volumes of data, you are advised to set the value to 200.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    tags

    @@ -100,7 +130,14 @@

    String

    Obtains the ECSs with specified tags.

    +

    Definition

    +

    Queries ECSs with tags containing the specified value.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    not-tags

    @@ -109,8 +146,15 @@

    String

    Queries ECSs whose tag field does not contain the specified value.

    +

    Definition

    +

    Queries ECSs with tags not containing the specified value.

    For example, if the queried ECS list should not contain BMSs, set this parameter as follows: not-tags=__type_baremetal

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    reservation_id

    @@ -119,7 +163,14 @@

    String

    Specifies the ID returned when ECSs are created in a batch by using OpenStack Nova API. This parameter is used to query ECSs created in a batch.

    +

    Definition

    +

    Specifies the ID returned when ECSs are created in a batch by using OpenStack Nova API. This parameter is used to query ECSs created in a batch.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    ip

    @@ -128,8 +179,15 @@

    String

    Specifies the filtering result for IPv4 addresses, which are fuzzy-matched.

    +

    Definition

    +

    Specifies the filtering result for IPv4 addresses, which are fuzzy-matched.

    These IP addresses are private IP addresses.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Array of objects

    Specifies details about ECSs. For details, see Table 3.

    +

    Definition

    +

    Specifies the list of ECS details. For details, see Table 4.

    +

    Range

    +

    N/A

    count

    Integer

    Specifies the total number of ECSs.

    +

    Definition

    +

    Specifies the total number of ECSs.

    +

    Range

    +

    N/A

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 4 server field description

    Parameter

    +

    Type

    +

    Description

    +

    status

    +

    String

    +

    Definition

    +

    Specifies the ECS status.

    +

    Range

    +

    ACTIVE, BUILD, ERROR, HARD_REBOOT, MIGRATING, REBOOT, REBUILD, RESIZE, REVERT_RESIZE, SHUTOFF, VERIFY_RESIZE, DELETED, SHELVED, SHELVED_OFFLOADED, and UNKNOWN

    +

    For details, see ECS Statuses.

    +

    updated

    +

    String

    +

    Definition

    +

    Specifies the last time when the ECS was updated, such as started, stopped, or restarted.

    +

    The time is in the format of "2019-05-22T03:30:52Z".

    +

    Range

    +

    N/A

    +

    hostId

    +

    String

    +

    Definition

    +

    Specifies the hash value of the host ID of the ECS.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:host

    +

    String

    +

    Definition

    +

    Specifies the name of the host where the ECS resides.

    +

    Range

    +

    N/A

    +

    addresses

    +

    Map<String, Array of objects>

    +

    Definition

    +

    Specifies the network attribute of the ECS.

    +

    Range

    +
    • The key indicates the network name, for example, demo_net.
    • The value indicates the network attribute specified in Table 5.
    +

    key_name

    +

    String

    +

    Definition

    +

    Specifies the key pair that is used to authenticate an ECS.

    +

    Range

    +

    N/A

    +

    image

    +

    Object

    +

    Definition

    +

    Specifies the ECS image. For details, see Table 6.

    +

    Range

    +

    N/A

    +

    OS-EXT-STS:task_state

    +

    String

    +

    Definition

    +

    Specifies the ECS task status. This is an extended attribute. For details, see ECS Statuses.

    +

    Range

    +

    N/A

    +

    OS-EXT-STS:vm_state

    +

    String

    +

    Definition

    +

    Specifies the ECS status. This is an extended attribute. For details, see ECS Statuses.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:instance_name

    +

    String

    +

    Definition

    +

    Specifies the ECS alias. This is an extended attribute.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:hypervisor_hostname

    +

    String

    +

    Definition

    +

    Specifies the name of the virtualization host where the ECS resides. This is an extended attribute.

    +

    Range

    +

    N/A

    +

    flavor

    +

    Object

    +

    Definition

    +

    Specifies the ECS flavor.

    +

    For details, see Table 1.

    +

    Range

    +

    N/A

    +

    id

    +

    String

    +

    Definition

    +

    Specifies the ECS ID in UUID format.

    +

    Range

    +

    N/A

    +

    security_groups

    +

    Array of objects

    +

    Definition

    +

    Specifies the security groups of the ECS.

    +

    For details, see Table 2.

    +

    Range

    +

    N/A

    +

    OS-EXT-AZ:availability_zone

    +

    String

    +

    Definition

    +

    Specifies the AZ of an ECS. This is an extended attribute.

    +

    Range

    +

    N/A

    +

    user_id

    +

    String

    +

    Definition

    +

    Specifies the ID of the user for creating the ECS. The value is in UUID format.

    +

    Range

    +

    N/A

    +

    name

    +

    String

    +

    Definition

    +

    Specifies the ECS name.

    +

    Range

    +

    N/A

    +

    created

    +

    String

    +

    Definition

    +

    Specifies the time when the ECS was created.

    +

    The time is in the format of "2019-05-22T03:19:19Z".

    +

    Range

    +

    N/A

    +

    tenant_id

    +

    String

    +

    Definition

    +

    Specifies the ID of the tenant that the ECS belongs to, which is the project ID in UUID format.

    +

    Range

    +

    N/A

    +

    OS-DCF:diskConfig

    +

    String

    +

    Definition

    +

    Specifies the disk configuration mode. This is an extended attribute.

    +

    Range

    +
    • MANUAL: indicates that the image space of the system disk cannot be expanded.
    • AUTO: indicates that the image space of the system disk can be automatically expanded to the same size as that specified in flavor.
    +

    accessIPv4

    +

    String

    +

    Definition

    +

    This is a reserved attribute.

    +

    Range

    +

    N/A

    +

    accessIPv6

    +

    String

    +

    Definition

    +

    This is a reserved attribute.

    +

    Range

    +

    N/A

    +

    fault

    +

    Object

    +

    Definition

    +

    Specifies the ECS failure cause.

    +

    Range

    +
    • If the ECS status is normal or abnormal, NULL is displayed.
    • If the ECS is not found, the fault "Instance xxxx could not be found" is returned.
    +

    progress

    +

    Integer

    +

    Definition

    +

    Specifies the ECS progress.

    +

    Range

    +

    0 to 100

    +

    OS-EXT-STS:power_state

    +

    Integer

    +

    Definition

    +

    Specifies the power status of the ECS. This is an extended attribute.

    +

    Range

    +
    • 0: NOSTATE
    • 1: RUNNING
    • 4: SHUTDOWN
    +

    config_drive

    +

    String

    +

    Definition

    +

    Specifies the config drive.

    +

    Range

    +

    N/A

    +

    metadata

    +

    Map<String,String>

    +

    Definition

    +

    Specifies the ECS metadata. For details, see Table 4.

    +
    NOTE:

    Metadata includes system default fields and user-defined fields.

    +
    +

    Range

    +

    N/A

    +

    OS-SRV-USG:launched_at

    +

    String

    +

    Definition

    +

    Specifies the time when the ECS was started. The time is in the format of "2019-05-22T03:23:59.000000".

    +

    Range

    +

    N/A

    +

    OS-SRV-USG:terminated_at

    +

    String

    +

    Definition

    +

    Specifies the time when the ECS was deleted.

    +

    The time is in the format of "2019-05-22T03:23:59.000000".

    +

    Range

    +

    N/A

    +

    os-extended-volumes:volumes_attached

    +

    Array of objects

    +

    Definition

    +

    Specifies the disks attached to an ECS.

    +

    For details, see Table 3.

    +

    Range

    +

    N/A

    +

    description

    +

    String

    +

    Definition

    +

    Specifies the ECS description.

    +

    Range

    +

    N/A

    +

    host_status

    +

    String

    +

    Definition

    +

    Specifies the status of the host where the ECS resides.

    +

    Range

    +
    • UP: The status is normal.
    • UNKNOWN: The status is unknown.
    • DOWN: the status is abnormal.
    • MAINTENANCE: The status is maintenance.
    • Empty string: There is no host information.
    +

    OS-EXT-SRV-ATTR:hostname

    +

    String

    +

    Definition

    +

    Specifies the hostname of the ECS.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:reservation_id

    +

    String

    +

    Definition

    +

    Specifies the ID reserved for the ECS to be created in a batch. You can use this ID to obtain all the ECSs created in the same batch.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:launch_index

    +

    Integer

    +

    Definition

    +

    Specifies the startup sequence of all ECSs created in a batch. The value ranges from 0 to the number of ECSs created in the batch.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:kernel_id

    +

    String

    +

    Definition

    +

    Specifies the UUID of the kernel image when the AMI image is used. In other scenarios, leave this parameter blank.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:ramdisk_id

    +

    String

    +

    Definition

    +

    Specifies the UUID of a RAM disk image when the AMI image is used. In other cases, leave this parameter blank.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:root_device_name

    +

    String

    +

    Definition

    +

    Specifies the device name of the ECS system disk. For example, if the device type of the system disk is VBD, the value of this parameter is /dev/vda. If the device type of the system disk is SCSI, the value of this parameter is /dev/sda.

    +

    Range

    +

    N/A

    +

    OS-EXT-SRV-ATTR:user_data

    +

    String

    +

    Definition

    +

    Specifies the user data (encoded) configured during ECS creation.

    +

    Range

    +

    N/A

    +

    locked

    +

    Boolean

    +

    Definition

    +

    Specifies whether an ECS is locked.

    +

    Range

    +
    • true: The ECS is locked.
    • false: The ECS is not locked.
    +

    tags

    +

    Array of strings

    +

    Definition

    +

    Specifies the list of ECS tags.

    +

    Range

    +

    N/A

    +

    os:scheduler_hints

    +

    Object

    +

    Definition

    +

    Specifies the ECS scheduling information. For details, see Table 11.

    +

    Range

    +

    N/A

    +

    sys_tags

    +

    Array of objects

    +

    Definition

    +

    Specifies ECS system tags.

    +

    For details, see Table 5.

    +

    Range

    +

    N/A

    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 5 addresses field description

    Parameter

    +

    Type

    +

    Description

    +

    version

    +

    String

    +

    Definition

    +

    Specifies the IP address version.

    +

    Range

    +
    • 4: indicates IPv4.
    • 6: indicates IPv6.
    +

    addr

    +

    String

    +

    Definition

    +

    Specifies the IP address.

    +

    Range

    +

    N/A

    +

    OS-EXT-IPS:type

    +

    String

    +

    Definition

    +

    Specifies the IP address type.

    +

    Range

    +
    • fixed: indicates the private IP address.
    • floating: indicates the floating IP address.
    +

    OS-EXT-IPS-MAC:mac_addr

    +

    String

    +

    Definition

    +

    Specifies the MAC address.

    +

    Range

    +

    N/A

    +

    OS-EXT-IPS:port_id

    +

    String

    +

    Definition

    +

    Specifies the port ID corresponding to the IP address.

    +

    Range

    +

    N/A

    +
    +
    + +
    + + + + + + + + + + + +
    Table 6 security_options field description

    Parameter

    +

    Mandatory

    +

    Type

    +

    Description

    +

    tpm_enabled

    +

    Yes

    +

    Boolean

    +

    Definition

    +

    Specifies whether to enable TPM.

    +

    Constraints

    +

    Currently, the following instance types support TPM: Pi5e.

    +

    Range

    +
    • true: Enable TPM.
    • false: Disable TPM.
    +

    Default Value

    +

    false

    +
    +

    Example Request

    Query details about ECSs. Ten records are displayed on each page, starting from the first page.

    GET https://{endpoint}/v1/{project_id}/cloudservers/detail?offset=1&limit=10
    diff --git a/docs/ecs/api-ref/en-us_topic_0101860613.html b/docs/ecs/api-ref/en-us_topic_0101860613.html index 646d24aef..f3a9c782f 100644 --- a/docs/ecs/api-ref/en-us_topic_0101860613.html +++ b/docs/ecs/api-ref/en-us_topic_0101860613.html @@ -88,7 +88,7 @@

    Integer

    Specifies the EVS disk size in GB.

    +

    Specifies the EVS disk size, in GiB.

    device

    diff --git a/docs/ecs/api-ref/en-us_topic_0101860614.html b/docs/ecs/api-ref/en-us_topic_0101860614.html index 15a2ba6df..9e000ce1f 100644 --- a/docs/ecs/api-ref/en-us_topic_0101860614.html +++ b/docs/ecs/api-ref/en-us_topic_0101860614.html @@ -88,7 +88,7 @@

    Integer

    Specifies the EVS disk size in GB.

    +

    Specifies the EVS disk size, in GiB.

    device

    diff --git a/docs/ecs/api-ref/en-us_topic_0102606095.html b/docs/ecs/api-ref/en-us_topic_0102606095.html index dfd6ec4f0..54728fdd6 100644 --- a/docs/ecs/api-ref/en-us_topic_0102606095.html +++ b/docs/ecs/api-ref/en-us_topic_0102606095.html @@ -240,7 +240,7 @@
    -
    Table 7 resource_tag field description

    Parameter

    +
    @@ -306,7 +306,7 @@ "total_count": 1000 } -
    • Response body when action is set to count
      {
      +
      • Response body when action is set to count
        {
                "total_count": 1000
         }
      diff --git a/docs/ecs/api-ref/en-us_topic_0103071510.html b/docs/ecs/api-ref/en-us_topic_0103071510.html index 0da3774e8..60326dcb6 100644 --- a/docs/ecs/api-ref/en-us_topic_0103071510.html +++ b/docs/ecs/api-ref/en-us_topic_0103071510.html @@ -68,17 +68,17 @@
    - - diff --git a/docs/ecs/api-ref/en-us_topic_0103071513.html b/docs/ecs/api-ref/en-us_topic_0103071513.html index ce9ed9d3d..d1224315d 100644 --- a/docs/ecs/api-ref/en-us_topic_0103071513.html +++ b/docs/ecs/api-ref/en-us_topic_0103071513.html @@ -46,19 +46,20 @@ - - - - - - - diff --git a/docs/ecs/api-ref/en-us_topic_0103072347.html b/docs/ecs/api-ref/en-us_topic_0103072347.html index cb8be8a3b..5d42ad9de 100644 --- a/docs/ecs/api-ref/en-us_topic_0103072347.html +++ b/docs/ecs/api-ref/en-us_topic_0103072347.html @@ -19,7 +19,21 @@ - - - diff --git a/docs/ecs/api-ref/en-us_topic_0110472767.html b/docs/ecs/api-ref/en-us_topic_0110472767.html index 4f9e14571..6a1866d0d 100644 --- a/docs/ecs/api-ref/en-us_topic_0110472767.html +++ b/docs/ecs/api-ref/en-us_topic_0110472767.html @@ -166,7 +166,7 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0111860831.html b/docs/ecs/api-ref/en-us_topic_0111860831.html index 420434b1a..6fa2fbd8d 100644 --- a/docs/ecs/api-ref/en-us_topic_0111860831.html +++ b/docs/ecs/api-ref/en-us_topic_0111860831.html @@ -1,8 +1,7 @@

    Disk Management

    -

    -
    +
    - @@ -75,8 +82,14 @@ - - -
    Table 7 resource_tag field description

    Parameter

    Type

    ecs:servers:list

    ecs:servers:get

    -

    ecs:serverVolumes:use

    -

    ecs:diskConfigs:use

    -

    ecs:securityGroups:use

    -

    ecs:serverKeypairs:get

    -

    vpc:securityGroups:get

    -

    vpc:securityGroupRules:get

    -

    vpc:networks:get

    -

    vpc:subnets:get

    -

    vpc:ports:get

    -

    vpc:routers:get

    +

    ecs:servers:get

    +

    ecs:serverVolumes:use

    +

    ecs:diskConfigs:use

    +

    ecs:securityGroups:use

    +

    ecs:serverKeypairs:get

    +

    vpc:securityGroups:get

    +

    vpc:securityGroupRules:get

    +

    vpc:networks:get

    +

    vpc:subnets:get

    +

    vpc:ports:get

    +

    vpc:routers:get

    Querying a list of ECSs (native OpenStack API)

    @@ -88,7 +88,17 @@

    ecs:servers:list

    -

    +

    ecs:servers:get

    +

    ecs:serverVolumes:use

    +

    ecs:diskConfigs:use

    +

    ecs:securityGroups:use

    +

    ecs:serverKeypairs:get

    +

    vpc:securityGroups:get

    +

    vpc:securityGroupRules:get

    +

    vpc:networks:get

    +

    vpc:subnets:get

    +

    vpc:ports:get

    +

    vpc:routers:get

    Querying details about a specific ECS (native OpenStack API)

    diff --git a/docs/ecs/api-ref/en-us_topic_0103071511.html b/docs/ecs/api-ref/en-us_topic_0103071511.html index 79dbadb4a..c54dcdb39 100644 --- a/docs/ecs/api-ref/en-us_topic_0103071511.html +++ b/docs/ecs/api-ref/en-us_topic_0103071511.html @@ -66,6 +66,7 @@

    ecs:servers:stop

    ecs:servers:list

    +

    ecs:servers:get

    Restarting an ECS (native OpenStack API)

    @@ -76,6 +77,7 @@

    ecs:servers:reboot

    ecs:servers:list

    +

    ecs:servers:get

    Modifying ECS specifications (native OpenStack API)

    @@ -86,6 +88,7 @@

    ecs:servers:resize

    ecs:servers:list

    +

    ecs:servers:get

    ecs:flavors:get

    ims:images:get

    evs:volumes:list

    @@ -122,6 +125,7 @@

    ecs:servers:lock

    ecs:servers:list

    +

    ecs:servers:get

    Unlocking an ECS (native OpenStack API)

    @@ -132,6 +136,7 @@

    ecs:servers:unlock

    ecs:servers:list

    +

    ecs:servers:get

    ecs:serverInterfaces:use

    ecs:servers:get

    -

    ecs:serverInterfaces:get

    -

    vpc:networks:get

    -

    vpc:networks:update

    -

    vpc:subnets:get

    -

    vpc:subnets:update

    -

    vpc:ports:create

    -

    vpc:ports:update

    -

    vpc:ports:get

    -

    vpc:networks:create

    -

    vpc:subnets:create

    -

    vpc:routers:get

    -

    vpc:routers:update

    +

    ecs:servers:get

    +

    ecs:serverInterfaces:get

    +

    vpc:networks:get

    +

    vpc:networks:create

    +

    vpc:networks:update

    +

    vpc:subnets:get

    +

    vpc:subnets:create

    +

    vpc:subnets:update

    +

    vpc:ports:create

    +

    vpc:ports:delete

    +

    vpc:ports:update

    +

    vpc:ports:get

    +

    vpc:routers:get

    +

    vpc:routers:update

    Deleting a NIC from an ECS (native OpenStack API)

    @@ -68,19 +69,20 @@

    ecs:serverInterfaces:use

    ecs:serverInterfaces:get

    -

    ecs:servers:get

    -

    vpc:networks:create

    -

    vpc:subnets:create

    -

    vpc:networks:get

    -

    vpc:networks:update

    -

    vpc:subnets:get

    -

    vpc:subnets:update

    -

    vpc:ports:delete

    -

    vpc:ports:update

    -

    vpc:ports:get

    -

    vpc:routers:get

    -

    vpc:routers:update

    +

    ecs:servers:get

    +

    ecs:serverInterfaces:get

    +

    vpc:networks:get

    +

    vpc:networks:create

    +

    vpc:networks:update

    +

    vpc:subnets:get

    +

    vpc:subnets:create

    +

    vpc:subnets:update

    +

    vpc:ports:create

    +

    vpc:ports:delete

    +

    vpc:ports:update

    +

    vpc:ports:get

    +

    vpc:routers:get

    +

    vpc:routers:update

    Querying NICs of an ECS (native OpenStack API)

    diff --git a/docs/ecs/api-ref/en-us_topic_0103071514.html b/docs/ecs/api-ref/en-us_topic_0103071514.html index 80ac16012..4e8e4f6c9 100644 --- a/docs/ecs/api-ref/en-us_topic_0103071514.html +++ b/docs/ecs/api-ref/en-us_topic_0103071514.html @@ -99,7 +99,10 @@

    ecs:serverVolumes:use

    evs:volumes:create

    +

    evs:volumes:create

    +

    evs:volumes:get

    +

    evs:volumes:delete

    +

    evs:volumes:list

    Deleting a disk (native OpenStack API)

    @@ -109,8 +112,10 @@

    ecs:serverVolumes:use

    evs:volumes:get

    -

    evs:volumes:delete

    +

    evs:volumes:create

    +

    evs:volumes:get

    +

    evs:volumes:delete

    +

    evs:volumes:list

    Querying information about a disk (native OpenStack API)

    @@ -120,7 +125,10 @@

    ecs:serverVolumes:use

    evs:volumes:get

    +

    evs:volumes:create

    +

    evs:volumes:get

    +

    evs:volumes:delete

    +

    evs:volumes:list

    Querying brief information about disks (native OpenStack API)

    @@ -130,8 +138,10 @@

    ecs:serverVolumes:use

    evs:volumes:get

    -

    evs:volumes:list

    +

    evs:volumes:create

    +

    evs:volumes:get

    +

    evs:volumes:delete

    +

    evs:volumes:list

    Querying detailed information about disks (native OpenStack API)

    @@ -141,8 +151,10 @@

    ecs:serverVolumes:use

    evs:volumes:get

    -

    evs:volumes:list

    +

    evs:volumes:create

    +

    evs:volumes:get

    +

    evs:volumes:delete

    +

    evs:volumes:list

    ecs:securityGroups:use

    vpc:securityGroups:get

    +

    ecs:servers:get

    +

    ecs:servers:list

    +

    ecs:serverVolumes:use

    +

    ecs:diskConfigs:use

    +

    ecs:serverKeypairs:get

    +

    vpc:securityGroups:get

    +

    vpc:securityGroups:create

    +

    vpc:securityGroups:delete

    +

    vpc:securityGroups:update

    +

    vpc:securityGroupRules:get

    +

    vpc:networks:get

    +

    vpc:subnets:get

    +

    vpc:routers:get

    +

    vpc:ports:get

    +

    vpc:ports:update

    Adding an ECS to a security group (native OpenStack API)

    @@ -29,20 +43,21 @@

    ecs:securityGroups:use

    ecs:servers:get

    -

    ecs:servers:list

    -

    ecs:serverVolumes:use

    -

    ecs:diskConfigs:use

    -

    ecs:serverKeypairs:get

    -

    vpc:securityGroups:get

    -

    vpc:securityGroups:create

    -

    vpc:securityGroups:update

    -

    vpc:securityGroupRules:get

    -

    vpc:networks:get

    -

    vpc:subnets:get

    -

    vpc:routers:get

    -

    vpc:ports:get

    -

    vpc:ports:update

    +

    ecs:servers:get

    +

    ecs:servers:list

    +

    ecs:serverVolumes:use

    +

    ecs:diskConfigs:use

    +

    ecs:serverKeypairs:get

    +

    vpc:securityGroups:get

    +

    vpc:securityGroups:create

    +

    vpc:securityGroups:delete

    +

    vpc:securityGroups:update

    +

    vpc:securityGroupRules:get

    +

    vpc:networks:get

    +

    vpc:subnets:get

    +

    vpc:routers:get

    +

    vpc:ports:get

    +

    vpc:ports:update

    Removing a security group (native OpenStack API)

    @@ -52,20 +67,21 @@

    ecs:securityGroups:use

    ecs:servers:get

    -

    ecs:servers:list

    -

    ecs:serverVolumes:use

    -

    ecs:diskConfigs:use

    -

    ecs:serverKeypairs:get

    -

    vpc:securityGroups:get

    -

    vpc:securityGroups:delete

    -

    vpc:securityGroups:update

    -

    vpc:securityGroupRules:get

    -

    vpc:networks:get

    -

    vpc:subnets:get

    -

    vpc:routers:get

    -

    vpc:ports:get

    -

    vpc:ports:update

    +

    ecs:servers:get

    +

    ecs:servers:list

    +

    ecs:serverVolumes:use

    +

    ecs:diskConfigs:use

    +

    ecs:serverKeypairs:get

    +

    vpc:securityGroups:get

    +

    vpc:securityGroups:create

    +

    vpc:securityGroups:delete

    +

    vpc:securityGroups:update

    +

    vpc:securityGroupRules:get

    +

    vpc:networks:get

    +

    vpc:subnets:get

    +

    vpc:routers:get

    +

    vpc:ports:get

    +

    vpc:ports:update

    Integer

    Specifies the memory size (MB) in the ECS flavor.

    +

    Specifies the memory size (MiB) in the ECS flavor.

    disk

    @@ -182,7 +182,7 @@

    String

    Specifies the swap partition size required by the ECS flavor.

    -

    This parameter has not been used. Its default value is "".

    +

    This parameter has not been used. Its default value is "".

    OS-FLV-EXT-DATA:ephemeral

    @@ -190,7 +190,7 @@

    Integer

    Specifies the temporary disk size. This is an extended attribute.

    -

    This parameter has not been used. Its default value is 0.

    +

    This parameter has not been used. Its default value is 0.

    OS-FLV-DISABLED:disabled

    @@ -217,7 +217,7 @@

    String

    Specifies the software constraints of the network bandwidth that can be used by the ECS.

    -

    This parameter has not been used. Its default value is null.

    +

    This parameter has not been used. Its default value is null.

    rxtx_cap

    @@ -225,7 +225,7 @@

    String

    Specifies the hardware constraints of the network bandwidth that can be used by the ECS.

    -

    This parameter has not been used. Its default value is null.

    +

    This parameter has not been used. Its default value is null.

    os-flavor-access:is_public

    @@ -233,7 +233,7 @@

    Boolean

    Specifies whether a flavor is available to all tenants. This is an extended attribute.

    -
    • true: indicates that a flavor is available to all tenants.
    • false: indicates that a flavor is available only to certain tenants.
    +
    • true: indicates that a flavor is available to all tenants.
    • false: indicates that a flavor is available only to certain tenants.

    Default value: true

    Object

    Specifies the data structure.

    +

    Definition

    +

    Specifies the ECS data structure.

    For details, see Table 3.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the name of the modified ECS.

    +

    Definition

    +

    Specifies the name of the modified ECS.

    +

    Constraints

    The parameter value consists of 1 to 128 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    description

    @@ -85,8 +98,14 @@

    String

    Specifies the ECS description.

    -

    The value consists of 0-85 characters and cannot contain brackets (<>).

    +

    Definition

    +

    Specifies the ECS description.

    +

    Constraints

    +

    Angle brackets (<>) are not allowed.

    +

    Range

    +

    0 to 85 characters

    +

    Default Value

    +

    N/A

    hostname

    @@ -95,20 +114,56 @@

    String

    Specifies the new hostname of the ECS.

    +

    Definition

    +

    Specifies the new hostname of the ECS.

    +

    Constraints

    The name consists of 1-64 characters. It can be segmented using periods (.). Only letters, digits, and hyphens (-) are allowed in each segment. A name cannot contain consecutive periods (.) or hyphens (-), and cannot start or end with a period (.) or hyphen (-). Additionally, the combinations of (.-) and (-.) are not allowed.

    -
    NOTE:

    This field is no longer used. For details about how to change the hostname of the ECS, see "How Can a Changed Static Hostname Take Effect Permanently?" in Elastic Cloud Server User Guide.

    +
    NOTE:

    This parameter is discarded. For details about how to change the hostname of the ECS, see "How Can a Changed Static Hostname Take Effect Permanently?" in Elastic Cloud Server User Guide.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    - -

    Response

    Table 4 describes the response parameters.

    -
    Table 4 Response parameters

    Parameter

    +
    + + + + + + + + + + + +
    Table 4 security_options field description

    Parameter

    +

    Mandatory

    +

    Type

    +

    Description

    +

    tpm_enabled

    +

    Yes

    +

    Boolean

    +

    Definition

    +

    Specifies whether to enable TPM.

    +

    Constraints

    +

    Currently, the following instance types support TPM: Pi5e.

    +

    Range

    +
    • true: Enable TPM.
    • false: Disable TPM.
    +

    Default Value

    +

    false

    +
    +
    + +

    Response

    Table 5 describes the response parameters.

    + +
    @@ -120,15 +175,18 @@ -
    Table 5 Response parameters

    Parameter

    Type

    Object

    Specifies the ECS.

    -

    For details, see Table 5.

    +

    Definition

    +

    Specifies the ECS.

    +

    For details, see Table 6.

    +

    Range

    +

    N/A

    -
    Table 5 server field description

    Parameter

    +
    @@ -140,150 +198,208 @@ - - - - - - - - - - - - - - - - - - - - @@ -292,14 +408,17 @@ -
    Table 6 server field description

    Parameter

    Type

    String

    Specifies the tenant or project ID.

    +

    Definition

    +

    Specifies the tenant or project ID.

    +

    Range

    +

    N/A

    image

    String

    Specifies the image ID.

    +

    Definition

    +

    Specifies the image ID.

    +

    Range

    +

    N/A

    accessIPv4

    String

    This is a reserved parameter.

    +

    Definition

    +

    This is a reserved parameter.

    +

    Range

    +

    N/A

    addresses

    Object

    Specifies the attributed network information of the ECS.

    +

    Definition

    +

    Specifies the attributed network information of the ECS.

    The structure is Map<String, Object>.

    -

    For details, see Table 6.

    +

    For details, see Table 7.

    +

    Range

    +

    N/A

    metadata

    Object

    Specifies the ECS metadata.

    +

    Definition

    +

    Specifies the ECS metadata.

    +

    Range

    +

    N/A

    accessIPv6

    String

    This is a reserved parameter.

    +

    Definition

    +

    This is a reserved parameter.

    +

    Range

    +

    N/A

    created

    String

    Specifies the time when the ECS was created. The time is in the format of "2019-05-22T03:19:19Z".

    +

    Definition

    +

    Specifies the time when the ECS was created. The time is in the format of "2019-05-22T03:19:19Z".

    +

    Range

    +

    N/A

    hostId

    String

    Specifies the host ID of the ECS.

    +

    Definition

    +

    Specifies the host ID of the ECS.

    +

    Range

    +

    N/A

    flavor

    Object

    Specifies the ECS flavor. For details, see Table 7.

    +

    Definition

    +

    Specifies the ECS flavor. For details, see Table 8.

    +

    Range

    +

    N/A

    OS-DCF:diskConfig

    String

    Specifies the disk configuration mode. This is an extended attribute. This field is valid for the ECS started using an image.

    +

    Definition

    +

    Specifies the disk configuration mode. This is an extended attribute. This field is valid for the ECS started using an image.

    +

    Range

    +

    N/A

    user_id

    String

    Specifies the ID of the user to which an ECS belongs.

    +

    Definition

    +

    Specifies the ID of the user to which an ECS belongs.

    +

    Range

    +

    N/A

    name

    String

    Specifies the name of the modified ECS.

    +

    Definition

    +

    Specifies the name of the modified ECS.

    +

    Range

    +

    N/A

    progress

    Integer

    This is a reserved parameter.

    +

    Definition

    +

    This is a reserved parameter.

    +

    Range

    +

    N/A

    links

    Array of Object

    Specifies ECS shortcut links for ECS. For details, see Table 8.

    +

    Definition

    +

    Specifies ECS shortcut links for ECS. For details, see Table 9.

    +

    Range

    +

    N/A

    id

    String

    Specifies the unique ID of an ECS.

    +

    Definition

    +

    Specifies the unique ID of an ECS.

    +

    Range

    +

    N/A

    updated

    String

    Specifies the time when the ECS was updated last time.

    +

    Definition

    +

    Specifies the time when the ECS was updated last time.

    The time is in the format of "2019-05-22T03:19:19Z".

    +

    Range

    +

    N/A

    locked

    Boolean

    Specifies the ECS lock status, which is True when the ECS is locked and False when the ECS is unlocked.

    +

    Definition

    +

    Specifies the ECS lock status, which is True when the ECS is locked and False when the ECS is unlocked.

    This parameter is supported in microversion 2.9 and later.

    +

    Range

    +

    N/A

    description

    String

    Describes the ECS.

    +

    Definition

    +

    Describes the ECS.

    This parameter is supported in microversion 2.19 and later.

    +

    Range

    +

    N/A

    tags

    Array of strings

    Specifies ECS tags.

    +

    Definition

    +

    Specifies ECS tags.

    This parameter is supported in microversion 2.26 and later. If the microversion is not used for query, the response does not contain the tags field.

    Tag functions have been upgraded on the cloud platform. After the upgrade, the tag values returned by the system comply with the following rules:
    • The key and value of a tag are connected using an equal sign (=), for example, key=value.
    • If the value is empty, only the key is returned.

    For more details about upgraded tag functions, see Tag Types.

    +

    Range

    +

    N/A

    status

    String

    Specifies the ECS status.

    -

    Value range:

    +

    Definition

    +

    Specifies the ECS status.

    +

    Range

    ACTIVE, BUILD, ERROR, HARD_REBOOT, MIGRATING, REBOOT, RESIZE, REVERT_RESIZE, SHELVED, SHELVED_OFFLOADED, SHUTOFF, UNKNOWN, and VERIFY_RESIZE

    For details, see ECS Statuses.

    String

    Specifies the new host name of the ECS.

    +

    Definition

    +

    Specifies the new host name of the ECS.

    +

    Range

    +

    N/A

    -
    Table 6 Data structure of the network which an ECS accesses

    Parameter

    +
    @@ -311,14 +430,19 @@ - - @@ -326,7 +450,7 @@
    Table 7 Data structure of the network which an ECS accesses

    Parameter

    Type

    String

    Specifies the IP address.

    +

    Definition

    +

    Specifies the IP address.

    +

    Range

    +

    N/A

    version

    Integer

    Specifies the type of an IP address. The value of this parameter can be 4 or 6.

    +

    Definition

    +

    Specifies the IP address type.

    +

    Range

    • 4: The type of the IP address is IPv4.
    • 6: The type of the IP address is IPv6.
    -
    Table 7 flavor field description

    Parameter

    +
    @@ -338,21 +462,27 @@ - -
    Table 8 flavor field description

    Parameter

    Type

    String

    Specifies the ECS ID.

    +

    Definition

    +

    Specifies the ECS ID.

    +

    Range

    +

    N/A

    links

    Array of objects

    Specifies shortcut links for ECS types. For details, see Table 8.

    +

    Definition

    +

    Specifies shortcut links for ECS types. For details, see Table 9.

    +

    Range

    +

    N/A

    -
    Table 8 links field description

    Parameter

    +
    @@ -364,14 +494,20 @@ - - diff --git a/docs/ecs/api-ref/en-us_topic_0121978383.html b/docs/ecs/api-ref/en-us_topic_0121978383.html index 92f2ab58a..e8fcda57f 100644 --- a/docs/ecs/api-ref/en-us_topic_0121978383.html +++ b/docs/ecs/api-ref/en-us_topic_0121978383.html @@ -47,14 +47,20 @@ - - @@ -73,74 +79,102 @@ - - - - - - - - - - @@ -159,14 +193,20 @@ - - @@ -186,14 +226,20 @@ - - diff --git a/docs/ecs/api-ref/en-us_topic_0122107473.html b/docs/ecs/api-ref/en-us_topic_0122107473.html index 411579d48..0b1c87d2a 100644 --- a/docs/ecs/api-ref/en-us_topic_0122107473.html +++ b/docs/ecs/api-ref/en-us_topic_0122107473.html @@ -95,7 +95,7 @@ - - @@ -78,8 +85,14 @@ - @@ -87,7 +100,7 @@ -

    Response

    See Responses (Task).

    +

    Response

    See Responses (Jobs).

    Example Request

    Migrate the ECS from the public resource pool to the DeH whose ID is 459a2b9d-804a-4745-ab19-a113bb1b4ddc.

    POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/migrate
    diff --git a/docs/ecs/api-ref/en-us_topic_0142195138.html b/docs/ecs/api-ref/en-us_topic_0142195138.html
    index c2abf8ad6..a17d27b30 100644
    --- a/docs/ecs/api-ref/en-us_topic_0142195138.html
    +++ b/docs/ecs/api-ref/en-us_topic_0142195138.html
    @@ -1,10 +1,10 @@
     
     
    -

    Batch Task Request

    +

    Batch Request Results

    diff --git a/docs/ecs/api-ref/en-us_topic_0142195139.html b/docs/ecs/api-ref/en-us_topic_0142195139.html index cf7fbf491..4985c6042 100644 --- a/docs/ecs/api-ref/en-us_topic_0142195139.html +++ b/docs/ecs/api-ref/en-us_topic_0142195139.html @@ -1,7 +1,7 @@ -

    Responses (Batch Operation)

    -

    The following responses are only for resetting the passwords for logging in to ECSs in a batch and for modifying ECS specifications in a batch. For details about the responses of other batch operations, see Responses (Task).

    +

    Responses (Batch Requests)

    +

    The following responses are only for batch resetting the passwords for logging in to ECSs and for batch modifying ECS specifications. For details about the responses of other batch operations, see Responses (Jobs).

    • Normal responses
    Table 9 links field description

    Parameter

    Type

    String

    Specifies the shortcut link marker name.

    +

    Definition

    +

    Specifies the shortcut link marker name.

    +

    Range

    +

    N/A

    href

    String

    Provides the shortcut link.

    +

    Definition

    +

    Provides the shortcut link.

    +

    Range

    +

    N/A

    Array of objects

    Specifies ECS NICs. For details, see Table 3.

    +

    Definition

    +

    Specifies ECS NICs. For details, see Table 3.

    +

    Range

    +

    N/A

    attachableQuantity

    Object

    Specifies the number of NICs that can be attached to an ECS. For details, see Table 4.

    +

    Definition

    +

    Specifies the number of NICs that can be attached to an ECS. For details, see Table 4.

    +

    Range

    +

    N/A

    String

    Specifies the NIC port status.

    +

    Definition

    +

    Specifies the NIC port status.

    +

    Range

    +

    N/A

    fixed_ips

    Array of objects

    Specifies private IP addresses for NICs. For details, see Table 5.

    +

    Definition

    +

    Specifies private IP addresses for NICs. For details, see Table 5.

    +

    Range

    +

    N/A

    net_id

    String

    Specifies the network ID to which the NIC port belongs.

    +

    Definition

    +

    Specifies the network ID (network_id) that the NIC port belongs to.

    +

    Range

    +

    N/A

    port_id

    String

    Specifies the NIC port ID.

    +

    Definition

    +

    Specifies the NIC port ID.

    +

    Range

    +

    N/A

    mac_addr

    String

    Specifies the MAC address of the NIC.

    +

    Definition

    +

    Specifies the MAC address of the NIC.

    +

    Range

    +

    N/A

    delete_on_termination

    Boolean

    Specifies whether to delete a NIC when detaching it.

    -

    true: The NIC will be deleted. false: The NIC will not be deleted.

    +

    Definition

    +

    Specifies whether to delete a NIC when detaching it.

    +

    Range

    +
    • true: Delete the NIC.
    • false: Do not delete the NIC.

    driver_mode

    String

    Specifies the NIC driver type, which is virtio by default. This parameter is a reserved field.

    +

    Definition

    +

    Specifies the NIC driver type, which is virtio by default. This parameter is a reserved field.

    +

    Range

    +

    N/A

    min_rate

    Integer

    Specifies the minimum NIC bandwidth.

    +

    Definition

    +

    Specifies the minimum NIC bandwidth.

    +

    Range

    +

    N/A

    multiqueue_num

    Integer

    Specifies the number of queues.

    -

    Value range: 1–64

    +

    Definition

    +

    Specifies the number of queues.

    +

    Range

    +

    1-64

    pci_address

    String

    Specifies the BDF number of the NIC in Linux GuestOS.

    +

    Definition

    +

    Specifies the BDF number of the NIC in Linux GuestOS.

    NOTE:

    If the NIC is not supported, no information will be returned.

    +

    Range

    +

    N/A

    Integer

    Specifies the remaining number of NICs that can be attached to an ECS.

    +

    Definition

    +

    Specifies the remaining number of NICs that can be attached to an ECS.

    +

    Range

    +

    N/A

    free_efi_nic

    Integer

    Specifies the remaining number of EFIs that can be attached to an ECS.

    +

    Definition

    +

    Specifies the remaining number of EFIs that can be attached to an ECS.

    +

    Range

    +

    N/A

    String

    Specifies the subnet of the NIC private IP address.

    +

    Definition

    +

    Specifies the subnet of the NIC private IP address.

    +

    Range

    +

    N/A

    ip_address

    String

    Specifies the NIC private IP address.

    +

    Definition

    +

    Specifies the NIC private IP address.

    +

    Range

    +

    N/A

    Integer

    Specifies the EVS disk size in GB.

    +

    Specifies the EVS disk size, in GiB.

    device

    diff --git a/docs/ecs/api-ref/en-us_topic_0124385011.html b/docs/ecs/api-ref/en-us_topic_0124385011.html index 893aca129..e27d4e854 100644 --- a/docs/ecs/api-ref/en-us_topic_0124385011.html +++ b/docs/ecs/api-ref/en-us_topic_0124385011.html @@ -20,7 +20,7 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0124385012.html b/docs/ecs/api-ref/en-us_topic_0124385012.html index 2e20a4360..3bbafafae 100644 --- a/docs/ecs/api-ref/en-us_topic_0124385012.html +++ b/docs/ecs/api-ref/en-us_topic_0124385012.html @@ -1,8 +1,7 @@

    NIC Management

    -

    -
    +

    Object

    Specifies the ECS to be migrated. For details, see Table 3.

    +

    Definition

    +

    Specifies the ECS to be migrated. For details, see Table 3.

    This parameter is null when you migrate an ECS from a dedicated host to a public resource pool.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the DeH ID.

    +

    Definition

    +

    Specifies the DeH ID.

    +

    Constraints

    This parameter takes effect when an ECS is migrated from a public resource pool to a DeH or between DeHs.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    @@ -15,7 +15,7 @@ - @@ -162,7 +162,7 @@
    diff --git a/docs/ecs/api-ref/en-us_topic_0161097717.html b/docs/ecs/api-ref/en-us_topic_0161097717.html index 9e2c89be4..48aea3633 100644 --- a/docs/ecs/api-ref/en-us_topic_0161097717.html +++ b/docs/ecs/api-ref/en-us_topic_0161097717.html @@ -1,8 +1,7 @@

    ECS Group Management

    -

    -
    +
    - @@ -68,7 +75,14 @@ - - @@ -99,7 +119,10 @@ - @@ -119,21 +142,29 @@ - - - @@ -141,14 +172,20 @@ - - diff --git a/docs/ecs/api-ref/en-us_topic_0161097719.html b/docs/ecs/api-ref/en-us_topic_0161097719.html index 217e522ea..543de576c 100644 --- a/docs/ecs/api-ref/en-us_topic_0161097719.html +++ b/docs/ecs/api-ref/en-us_topic_0161097719.html @@ -34,7 +34,7 @@

    Request Parameters

    None

    -

    Response Parameters

    None

    +

    Response parameters

    None

    Example Request

    Delete a specified ECS group.

    DELETE https://{endpoint}/v1/{project_id}/cloudservers/os-server-groups/{server_group_id}
    diff --git a/docs/ecs/api-ref/en-us_topic_0167809633.html b/docs/ecs/api-ref/en-us_topic_0167809633.html index 9fb881ae6..9feb1ab15 100644 --- a/docs/ecs/api-ref/en-us_topic_0167809633.html +++ b/docs/ecs/api-ref/en-us_topic_0167809633.html @@ -1,8 +1,7 @@

    ECS Operation Management

    -

    -
    +
    - diff --git a/docs/ecs/api-ref/en-us_topic_0167816247.html b/docs/ecs/api-ref/en-us_topic_0167816247.html index 1c07c3d9a..94adf9bf1 100644 --- a/docs/ecs/api-ref/en-us_topic_0167816247.html +++ b/docs/ecs/api-ref/en-us_topic_0167816247.html @@ -1,8 +1,7 @@

    Batch Operations

    -

    -
    +
    - - - @@ -72,7 +90,14 @@ - @@ -99,8 +124,15 @@ - - @@ -136,9 +175,16 @@ - - -

    Parameter

    Array of objects

    Specifies the response returned after a request is successfully submitted. For details, see Table 1.

    +

    Specifies the response returned after a batch request is successfully submitted. For details, see Table 1.

    Object

    Specifies the ECS group information. For details, see Table 3.

    +

    Definition

    +

    Specifies the ECS group information. For details, see Table 3.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the ECS group name. The value contains 1 to 255 characters.

    +

    Definition

    +

    Specifies the ECS group name.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    1 to 255 characters

    +

    Default Value

    +

    N/A

    policies

    @@ -77,8 +91,14 @@

    Array of strings

    Specifies the policies associated with the ECS group. Options:

    +

    Definition

    +

    Specifies the list of policies associated with the ECS group.

    +

    Constraints

    +

    N/A

    +

    Range

    • anti-affinity: ECSs in this group must be deployed on different hosts.
    +

    Default Value

    +

    N/A

    Object

    Specifies the ECS group information. For details, see Table 5.

    +

    Definition

    +

    Specifies the ECS group information. For details, see Table 5.

    +

    Range

    +

    N/A

    String

    Specifies the ECS group UUID.

    +

    Definition

    +

    Specifies the ECS group UUID.

    +

    Range

    +

    N/A

    name

    String

    Specifies the ECS group name.

    +

    Definition

    +

    Specifies the ECS group name.

    +

    Range

    +

    N/A

    policies

    Array of strings

    Specifies the policies associated with the ECS group. Options:

    +

    Definition

    +

    Specifies the list of policies associated with the ECS group.

    +

    Range

    • anti-affinity: ECSs in this group must be deployed on different hosts.

    Array of strings

    Specifies the IDs of the ECSs in an ECS group.

    +

    Definition

    +

    Specifies the IDs of the ECSs in an ECS group.

    +

    Range

    +

    N/A

    metadata

    Object

    Specifies the ECS group metadata.

    +

    Definition

    +

    Specifies the ECS group metadata.

    +

    Range

    +

    N/A

    value

    Yes

    +

    No

    String

    String

    Specifies the ID of the existing EIP assigned to the ECS to be created. The value is in UUID format.

    -

    Only EIPs in DOWN state can be assigned.

    +

    Definition

    +

    Specifies the ID of the existing EIP assigned to the ECS to be created. The value is in UUID format.

    +

    Constraints

    +

    Only EIPs in DOWN state can be assigned.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    eip

    @@ -32,8 +38,15 @@

    Object

    Specifies an EIP that will be automatically assigned to an ECS.

    +

    Definition

    +

    Specifies an EIP that will be automatically assigned to an ECS.

    For details, see Table 3.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    delete_on_termination

    @@ -42,9 +55,14 @@

    Boolean

    Specifies whether the EIP is released when the ECS where the EIP is bound is deleted.

    -
    • true: The EIP is released when the ECS is deleted.
    • false: The EIP is not released when the ECS is deleted.
    -

    The default value is false.

    +

    Definition

    +

    Specifies whether the EIP is released along with the associated ECS.

    +

    Constraints

    +

    N/A

    +

    Range

    +
    • true: The EIP is released along with the associated ECS.
    • false: The EIP is not released along with the associated ECS.
    +

    Default Value

    +

    false

    String

    Specifies the ID of the security group to which an ECS is to be added. The configuration will take effect on the NICs of the ECS. You need to specify the ID of an existing security group in UUID format. Otherwise, the default security group will be used at the underlying layer.

    +

    Definition

    +

    Specifies the ID of the security group to which an ECS is to be added. The configuration will take effect on the NICs of the ECS. You need to specify the ID of an existing security group in UUID format. Otherwise, the default security group will be used at the underlying layer.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the EIP type.

    +

    Definition

    +

    Specifies the EIP type.

    For details about the enumerated values, see the publicip field in "Assigning an EIP" in Virtual Private Cloud API Reference.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    bandwidth

    @@ -109,8 +141,15 @@

    Object

    Specifies the bandwidth of an EIP.

    +

    Definition

    +

    Specifies the bandwidth of an EIP.

    For details, see bandwidth Field Description.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Integer

    Specifies the bandwidth size.

    +

    Definition

    +

    Specifies the bandwidth size.

    +

    Constraints

    +

    N/A

    + +

    Range

    Specifies the bandwidth (Mbit/s). The value ranges from 1 to 1,000.

    The specific range may vary depending on the configuration in each region. You can see the bandwidth range of each region on the management console.

    +

    Default Value

    +

    N/A

    sharetype

    @@ -147,8 +193,14 @@

    String

    Specifies the bandwidth sharing type.

    +

    Definition

    +

    Specifies the bandwidth sharing type.

    +

    Constraints

    +

    N/A

    +

    Range

    Enumerated values: PER (indicates exclusive bandwidth) and WHOLE (indicates shared bandwidth)

    +

    Default Value

    +

    N/A

    chargemode

    @@ -157,15 +209,21 @@

    String

    Specifies the bandwidth billing mode.

    +

    Definition

    +

    Specifies the bandwidth billing mode.

    +

    Constraints

    • If the field value is traffic, the ECS is billed by traffic.
    • If the field value is others, creating the ECS will fail.
    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    -

    ipv6_bandwidth Field Description

    This field is used by the following APIs:
    • Creating ECSs /v1/{project_id}/cloudservers
    +

    ipv6_bandwidth Field Description

    This field is used by the following APIs:
    • Creating ECSs /v1/{project_id}/cloudservers
    @@ -183,7 +241,14 @@ - @@ -194,7 +259,7 @@

    extendparam Field Description for Creating Disks

    This field is used by the following APIs:

    • Creating ECSs /v1/{project_id}/cloudservers
    -
    Table 5 ipv6_bandwidth field description

    Parameter

    String

    Specifies the ID of an IPv6 bandwidth.

    +

    Definition

    +

    Specifies the ID of an IPv6 bandwidth.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Table 6 extendparam field description for creating disks

    Parameter

    +
    @@ -210,19 +275,23 @@ - @@ -249,7 +318,14 @@ - - @@ -290,8 +373,14 @@ - - @@ -329,9 +424,14 @@ - - - - - @@ -402,11 +528,16 @@ - - - @@ -447,25 +589,43 @@ - - - @@ -492,9 +652,14 @@ - @@ -504,7 +669,7 @@

    extra_dhcp_opts Field Description

    This field is used by the following APIs:
    • Creating ECSs: /v1/{project_id}/cloudservers
    -
    Table 6 extendparam field description for creating disks

    Parameter

    Mandatory

    String

    Specifies the snapshot ID or ID of the original data disk contained in the full-ECS image.

    -

    Application scenarios:

    -

    This parameter is used if an ECS is created using a full-ECS image, and the image contains one or more data disks.

    +

    Definition

    +

    Specifies the snapshot ID or ID of the original data disk contained in the full-ECS image.

    +
    • Scenario:

      This parameter is used if an ECS is created using a full-ECS image, and the image contains one or more data disks.

      If you use a full-ECS image to create an ECS, the system automatically restores the data type and data from the data disks in the image. The snapshotId parameter allows you to specify the disk type for the original data disk after restoration.

      NOTE:
      • You are advised to specify snapshotId for each original data disk.
      • If you are required to change a disk size, ensure that the changed disk size is greater than or equal to the size of the original data disk. Otherwise, restoring data of the original data disk will fail.
      • To set disk sharing, you need to specify the sharing attribute.
      • To set disk encryption, you need to specify the encryption attribute in the metadata field.
      -

      Working rules:

      -

      snapshotId uniquely identifies an original data disk contained in a full-ECS image. You can use snapshotId to obtain the information of the original data disk for data restoration.

      -

      Obtaining snapshotId through the management console:

      -

      Log in to the management console, choose Elastic Volume Service > Snapshot. Then, use the name of the original data disk to find the snapshot ID or the original disk ID.

      -

      Obtaining snapshotId through the API:

      -
      If you have obtained the full-ECS image ID, obtain the Cloud Backup and Recovery (CBR) or Cloud Server Backup Service (CSBS) backup ID associated with the full-ECS image ID by following the instructions provided in the API for querying image details.
      • If CBR backup is used, use the CBR backup ID to obtain the backup. The resource_id or snapshot_id contained in the children field in the response is the desired snapshotId. For details, see the API for "Querying a Specified Backup" in Cloud Backup and Recovery User Guide.
      • If CSBS backup is used, use the CSBS backup ID to obtain the backup. The source_volume_id or snapshot_id contained in the volume_backups field in the response is the desired snapshotId. For details, see the API for "Querying a Single Backup" in Cloud Server Backup Service User Guide.
      +
    • Working rules:

      snapshotId uniquely identifies an original data disk contained in a full-ECS image. You can use snapshotId to obtain the information of the original data disk for data restoration.

      +
    • Obtaining snapshotId through the management console:

      Log in to the management console, choose Elastic Volume Service > Snapshot. Then, use the name of the original data disk to find the snapshot ID or the original disk ID.

      +
    • Obtaining snapshotId through the API:
      If you have obtained the full-ECS image ID, obtain the Cloud Backup and Recovery (CBR) or Cloud Server Backup Service (CSBS) backup ID associated with the full-ECS image ID by following the instructions provided in the API for querying image details.
      • If CBR backup is used, use the CBR backup ID to obtain the backup. The resource_id or snapshot_id contained in the children field in the response is the desired snapshotId. For details, see the API for "Querying a Specified Backup" in Cloud Backup and Recovery User Guide.
      • If CSBS backup is used, use the CSBS backup ID to obtain the backup. The source_volume_id or snapshot_id contained in the volume_backups field in the response is the desired snapshotId. For details, see the API for "Querying a Single Backup" in Cloud Server Backup Service User Guide.
      +
    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the ID of the region where the ECS resides.

    +

    Definition

    +

    Specifies the ID of the region where the ECS resides.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    CB_CSBS_BACKUP

    @@ -258,10 +334,17 @@

    String

    Specifies a CSBS policy ID and CSBS vault ID.

    +

    Definition

    +

    Specifies a CSBS policy ID and CSBS vault ID.

    For example, a CSBS policy ID obtained on the console is fdcaa27d-5be4-4f61-afe3-09ff79162c04.

    A CSBS vault ID is 332a9408-463f-436a-9e92-78dad95d1ac4.

    The CB_CSBS_BACKUP value is "{\"policy_id\":\"fdcaa27d-5be4-4f61-afe3-09ff79162c04\",\"vault_id\":\"332a9408-463f-436a-9e92-78dad95d1ac4\"}".

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies encryption in metadata. The value can be 0 (encryption disabled) or 1 (encryption enabled).

    +

    Definition

    +

    Specifies the encryption parameter in metadata.

    +

    Constraints

    If this parameter does not exist, the disk will not be encrypted by default.

    +

    Range

    +
    • 0: indicates a non-encrypted disk.
    • 1: indicates an encrypted disk.
    +

    Default Value

    +

    N/A

    __system__cmkid

    @@ -300,9 +389,15 @@

    String

    Specifies the CMK ID, which indicates encryption in metadata. This parameter is used with __system__encrypted.

    -
    NOTE:

    For details about how to obtain the CMK ID through HTTPS requests, see "Querying the List of CMKs" in Key Management Service API Reference.

    -
    +

    Definition

    +

    Specifies the CMK ID, which indicates encryption in metadata.

    +

    For details about how to obtain the CMK ID through HTTPS requests, see "Querying the List of CMKs" in Key Management Service API Reference.

    +

    Constraints

    +

    This parameter must be used with __system__encrypted.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the password of user Administrator for logging in to a Windows ECS. For details, see Function.

    -
    NOTE:

    This parameter is mandatory when a Windows ECS using password authentication is created.

    -
    +

    Definition

    +

    Specifies the password of user Administrator for logging in to a Windows ECS. For details, see Function.

    +

    Constraints

    +

    This parameter is mandatory when a Windows ECS using password authentication is created.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    op_svc_userid

    @@ -340,9 +440,16 @@

    String

    Specifies the user ID.

    +

    Definition

    +

    Specifies the user ID.

    NOTE:

    The value of this parameter is that of IAM User ID of the current login account. If you log in as an IAM user, obtain the IAM user ID of that IAM user.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    agency_name

    @@ -351,8 +458,15 @@

    String

    Specifies the IAM agency name.

    +

    Definition

    +

    Specifies the IAM agency name.

    An agency is created by a tenant administrator on Identity and Access Management (IAM) to provide temporary credentials for ECSs to access cloud services.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    __support_agent_list

    @@ -361,12 +475,18 @@

    String

    Specifies whether the ECS supports Host Security Service (HSS).

    +

    Definition

    +

    Specifies whether the ECS supports Host Security Service (HSS).

    +

    Determine whether the image used for creating the ECS supports HSS via the API for querying images.

    +

    Constraints

    +

    N/A

    +

    Range

    hss,hss-ent: indicates the HSS enterprise edition.

    Example values:

    _support_agent_list: "hss,hss-ent"

    -

    Determine whether the image used for creating the ECS supports HSS via the API for querying images.

    +

    Default Value

    +

    N/A

    BYOL

    @@ -375,8 +495,14 @@

    String

    If you have an OS or a software license (a license certified based on the number of physical servers and cores), you can migrate your services to the cloud platform in BYOL mode to continue using your existing licenses.

    +

    Definition

    +

    If you have an OS or a software license (a license certified based on the number of physical servers and cores), you can migrate your services to the cloud platform in BYOL mode to continue using your existing licenses.

    +

    Constraints

    +

    N/A

    +

    Range

    • True: Use your existing licenses.
    • False: System licenses are used.
    +

    Default Value

    +

    N/A

    String

    Specifies the ECS group ID in UUID format.

    -

    Obtain the parameter value from the console or by referring to Querying ECS Groups.

    -
    NOTE:

    Ensure that the ECS group uses the anti-affinity policy.

    -

    The anti-affinity policy is not supported for ECSs created on a specified DeH.

    -
    +

    Definition

    +

    Specifies the ECS group ID in UUID format.

    +

    Obtain the parameter value from the console or by referring to Querying the List of ECS Groups.

    +

    Constraints

    +

    Ensure that the ECS group uses the anti-affinity policy.

    +

    The anti-affinity policy is not supported for ECSs created on a specified DeH.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    tenancy

    @@ -415,8 +546,14 @@

    String

    Creates ECSs on a dedicated or shared host.

    -

    The value of this parameter can be dedicated or shared.

    +

    Definition

    +

    Creates ECSs on a dedicated or shared host.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    The value of this parameter can be dedicated or shared.

    +

    Default Value

    +

    N/A

    dedicated_host_id

    @@ -425,9 +562,14 @@

    String

    Specifies the dedicated host ID.

    -
    NOTE:

    A DeH ID takes effect only when tenancy is set to dedicated.

    -
    +

    Definition

    +

    Specifies the dedicated host ID.

    +

    Constraints

    +

    A DeH ID takes effect only when tenancy is set to dedicated.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Array of strings

    Specifies the ECS group ID in UUID format.

    -

    Obtain the parameter value from the console or by referring to Querying ECS Groups.

    +

    Definition

    +

    Specifies the ECS group ID in UUID format.

    +

    Obtain the parameter value from the console or by referring to Querying the List of ECS Groups

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    tenancy

    Array of strings

    Creates ECSs on a dedicated or shared host.

    -

    The value of this parameter can be dedicated or shared.

    +

    Definition

    +

    Creates ECSs on a dedicated or shared host.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    share or dedicate

    +

    Default Value

    +

    N/A

    dedicated_host_id

    Array of strings

    Specifies the dedicated host ID.

    -
    NOTE:

    A DeH ID takes effect only when tenancy is set to dedicated.

    -
    +

    Definition

    +

    Specifies the dedicated host ID.

    +

    Constraints

    +

    A DeH ID takes effect only when tenancy is set to dedicated.

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Boolean

    Specifies whether the NIC of an ECS is not added to a security group.

    -
    NOTE:
    • The primary NIC of the ECS must be added to a security group.
    • At most one NIC of the ECS is allowed not to be added to any security groups.
    -
    +

    Definition

    +

    Specifies whether the NIC of an ECS is not added to a security group.

    +

    Constraints

    +
    • The primary NIC of the ECS must be added to a security group.
    • At most one NIC of the ECS is allowed not to be added to any security groups.
    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    Table 13 extra_dhcp_opts field description

    Parameter

    +
    @@ -520,7 +685,14 @@ - - diff --git a/docs/ecs/api-ref/en-us_topic_0169494074.html b/docs/ecs/api-ref/en-us_topic_0169494074.html index 974d2b86c..08937c03f 100644 --- a/docs/ecs/api-ref/en-us_topic_0169494074.html +++ b/docs/ecs/api-ref/en-us_topic_0169494074.html @@ -14,36 +14,51 @@ - - - - - @@ -62,14 +77,20 @@ - - @@ -88,23 +109,30 @@ - - - @@ -112,7 +140,10 @@ - @@ -131,38 +162,50 @@ - - - - - @@ -170,91 +213,127 @@ - - - - - - - - - - - - @@ -273,14 +352,20 @@ - - @@ -299,7 +384,10 @@ - diff --git a/docs/ecs/api-ref/en-us_topic_0170316409.html b/docs/ecs/api-ref/en-us_topic_0170316409.html index 208cfc198..223ff921d 100644 --- a/docs/ecs/api-ref/en-us_topic_0170316409.html +++ b/docs/ecs/api-ref/en-us_topic_0170316409.html @@ -3,13 +3,12 @@

    Introduction

    You can use Identity and Access Management (IAM) for fine-grained permissions management of your ECSs. If your account does not need individual IAM users, you can skip this section.

    New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.

    -

    You can grant users permissions by using roles and policies. Roles are provided by IAM to define service-based permissions that match users' job responsibilities. Policies define API-based permissions for operations on specific resources under certain conditions, allowing for more fine-grained, secure access control of cloud resources.

    -

    For more information about system-defined policies supported by ECS, see "Permissions Management" in the Elastic Cloud Server User Guide.

    +

    For more information about system-defined policies supported by ECS, see "Permissions" in the Elastic Cloud Server User Guide.

    If you want to allow or deny the access to an API, use policy-based authorization.

    Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user wants to query ECSs using an API, the user must have been granted permissions that allow the ecs:servers:list action.

    Supported Actions

    ECS provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

    -
    • Permissions: statements in a policy that allow or deny certain operations on specified resources under specific conditions.
    • APIs: REST APIs that can be called by a custom policy
    • Actions: specific operations that are allowed or denied in a custom policy
    • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
    • IAM projects/Enterprise projects: Authorization scope of custom policies, which can be IAM projects, enterprise projects, or both. Custom policies that contain actions for both IAM projects and enterprise projects can be assigned to user groups and be applied in both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be assigned to user groups and be applied only in IAM. They cannot be applied in Enterprise Management.
    +
    • Permissions: statements in a policy that allow or deny certain operations on specified resources under specific conditions.
    • APIs: APIs that can be called by a custom policy
    • Actions: specific operations that are allowed or denied in a custom policy
    • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
    • IAM projects/Enterprise projects: Authorization scope of custom policies, which can be IAM projects, enterprise projects, or both. Custom policies that contain actions for both IAM projects and enterprise projects can be assigned to user groups and be applied in both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be assigned to user groups and be applied only in IAM. They cannot be applied in Enterprise Management.
    diff --git a/docs/ecs/api-ref/en-us_topic_0170710254.html b/docs/ecs/api-ref/en-us_topic_0170710254.html index 1fa54d276..61cb6ad68 100644 --- a/docs/ecs/api-ref/en-us_topic_0170710254.html +++ b/docs/ecs/api-ref/en-us_topic_0170710254.html @@ -54,7 +54,7 @@
    - diff --git a/docs/ecs/api-ref/en-us_topic_0175597846.html b/docs/ecs/api-ref/en-us_topic_0175597846.html index f575be8eb..2d2d9c54e 100644 --- a/docs/ecs/api-ref/en-us_topic_0175597846.html +++ b/docs/ecs/api-ref/en-us_topic_0175597846.html @@ -3,7 +3,7 @@

    Querying ECS Groups

    Function

    This API is used to query ECS groups.

    -

    URI

    GET /v1/{project_id}/cloudservers/os-server-groups?limit={limit}&marker={marker}

    +

    URI

    GET /v1/{project_id}/cloudservers/os-server-groups

    Table 1 describes the parameters in the URI.
    Table 13 extra_dhcp_opts field description

    Parameter

    Mandatory

    Integer

    Specifies the NIC MTU, which ranges from 1280 to 8888.

    +

    Definition

    +

    Specifies the NIC MTU.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    1280 to 8888

    +

    Default Value

    +

    N/A

    opt_name

    @@ -529,7 +701,14 @@

    String

    Set the parameter value to 26.

    +

    Definition

    +

    Set the parameter value to 26.

    +

    Constraints

    +

    N/A

    +

    Range

    +

    N/A

    +

    Default Value

    +

    N/A

    String

    Specifies the ECS flavor ID.

    +

    Definition

    +

    Specifies the ECS flavor ID.

    +

    Range

    +

    N/A

    name

    String

    Specifies the ECS flavor name.

    +

    Definition

    +

    Specifies the ECS flavor name.

    +

    Range

    +

    N/A

    disk

    String

    Specifies the system disk size in the ECS flavor. Value 0 indicates that the disk size is not limited.

    +

    Definition

    +

    Specifies the system disk size in the ECS flavor. Value 0 indicates that the disk size is not limited.

    The field is invalid in this system.

    +

    Range

    +

    N/A

    vcpus

    String

    Specifies the number of vCPUs in the ECS flavor.

    +

    Definition

    +

    Specifies the number of vCPUs in the ECS flavor.

    +

    Range

    +

    N/A

    ram

    String

    Specifies the memory size (MB) in the ECS flavor.

    +

    Definition

    +

    Specifies the memory size (MiB) in the ECS flavor.

    +

    Range

    +

    N/A

    String

    Specifies the security group name or UUID.

    +

    Definition

    +

    Specifies the security group name or UUID.

    +

    Range

    +

    N/A

    id

    String

    Specifies the security group ID.

    +

    Definition

    +

    Specifies the security group ID.

    +

    Range

    +

    N/A

    String

    Specifies the disk ID in UUID format.

    +

    Definition

    +

    Specifies the disk ID in UUID format.

    +

    Range

    +

    N/A

    delete_on_termination

    String

    Specifies whether the disk is deleted with the ECS.

    -
    • true: indicates that the disk is deleted with the ECS.
    • false: indicates that the disk is not deleted with the ECS.
    +

    Definition

    +

    Specifies whether the disk is deleted with the ECS.

    This parameter is supported in microversion 2.3 and later.

    +

    Range

    +
    • true: indicates that the disk is deleted with the ECS.
    • false: indicates that the disk is not deleted with the ECS.

    bootIndex

    String

    Specifies the EVS disk boot sequence.

    +

    Definition

    +

    Specifies the EVS disk boot sequence.

    +

    Range

    • 0 indicates the system disk.
    • Non-0 indicates a data disk.

    String

    Specifies the drive letter of the EVS disk, which is the device name of the EVS disk.

    +

    Definition

    +

    Specifies the drive letter of the EVS disk, which is the device name of the EVS disk.

    +

    Range

    +

    N/A

    String

    Specifies the ECS billing mode.

    +

    Definition

    +

    Specifies the ECS billing mode.

    +

    Range

    vpc_id

    String

    Specifies the ID of the VPC where the ECS is located.

    +

    Definition

    +

    Specifies the ID of the VPC where the ECS is located.

    +

    Range

    +

    N/A

    EcmResStatus

    String

    Specifies the ECS frozen status.

    -
    • normal: The ECS is not frozen.
    • freeze: The ECS has been frozen.
    +

    Definition

    +

    Specifies the ECS frozen status.

    NOTE:

    The system automatically adds this field, which is mandatory, after an ECS is frozen or unfrozen.

    +

    Range

    +
    • normal: The ECS is not frozen.
    • freeze: The ECS has been frozen.

    metering.image_id

    String

    Specifies the image ID of the ECS.

    +

    Definition

    +

    Specifies the image ID of the ECS.

    +

    Range

    +

    N/A

    metering.imagetype

    String

    Specifies the image type. The following types are supported:

    +

    Definition

    +

    Specifies the image type.

    +

    Range

    • Public image (gold)
    • Private image (private)
    • Shared image (shared)

    String

    Specifies the resource specifications of the ECS.

    +

    Definition

    +

    Specifies the resource specifications of the ECS.

    +

    Range

    +

    N/A

    metering.resourcetype

    String

    Specifies the resource type of the ECS.

    +

    Definition

    +

    Specifies the resource type of the ECS.

    Value 1 indicates ECSs.

    +

    Range

    +

    N/A

    cascaded.instance_extrainfo

    String

    Specifies the extended information about the internal ECSs.

    +

    Definition

    +

    Specifies the extended information about the internal ECSs.

    +

    Range

    +

    N/A

    image_name

    String

    Specifies the image name of the ECS.

    +

    Definition

    +

    Specifies the image name of the ECS.

    +

    Range

    +

    N/A

    agency_name

    String

    Specifies the IAM agency name.

    +

    Definition

    +

    Specifies the IAM agency name.

    An agency is created by a tenant administrator on IAM to provide temporary credentials for ECSs to access cloud services.

    +

    Range

    +

    N/A

    os_bit

    String

    Specifies the number of bits in the operating system: 32 or 64.

    +

    Definition

    +

    OS bit

    +

    Range

    +

    32 or 64

    os_type

    String

    Specifies the OS type. The value can be Linux or Windows.

    +

    Definition

    +

    Specifies the OS type.

    +

    Range

    +

    Linux or Windows

    lockCheckEndpoint

    String

    Specifies the callback URL for checking whether ECS locking is enabled.

    +

    Definition

    +

    Specifies the callback URL for checking whether ECS locking is enabled.

    • If ECS locking is enabled, the ECS is locked.
    • If ECS locking is disabled, the ECS is unlocked, and invalid locks are deleted.
    +

    Range

    +

    N/A

    lockSource

    String

    Specifies the lock source.

    +

    Definition

    +

    Specifies the lock source.

    • Order lock (ORDER)
    +

    Range

    +

    N/A

    lockSourceId

    String

    Specifies the ECS lock source ID.

    +

    Definition

    +

    Specifies the ECS lock source ID.

    If lockSource is set to ORDER, lockSourceId is the order ID.

    +

    Range

    +

    N/A

    lockScene

    String

    Specifies the ECS lock type.

    +

    Definition

    +

    Specifies the ECS lock type.

    +

    Range

    +

    N/A

    virtual_env_type

    String

    • If an ECS is created using an iOS image, the value of this parameter is IsoImage.
    • If an ECS is created using a non-iOS image, the value of this parameter is FusionCompute in versions earlier than 19.5.0, and this parameter will be unavailable in versions later than 19.5.0.
    -
    NOTE:
    • The virtual_env_type cannot be added, deleted, or modified.
    +

    Definition

    +
    • If an ECS is created using an iOS image, the value of this parameter is IsoImage.
    • If an ECS is created using a non-iOS image, the value of this parameter is FusionCompute in versions earlier than 19.5.0, and this parameter will be unavailable in versions later than 19.5.0.
    +
    NOTE:

    The virtual_env_type cannot be added, deleted, or modified.

    +

    Range

    +

    N/A

    String

    Specifies the system tag key.

    +

    Definition

    +

    Specifies the system tag key.

    +

    Range

    +

    N/A

    value

    String

    Specifies the system tag value.

    +

    Definition

    +

    Specifies the system tag value.

    +

    Range

    +

    N/A

    String

    Specifies the image ID.

    +

    Definition

    +

    Specifies the image ID.

    +

    Range

    +

    N/A

    The value of this parameter is in format of {type}:{count}:{size}:{safeFormat}.

    • type: indicates the disk type, which can only be HDD.
    • count: indicates the number of local disks. The following types are supported:
      • For D2 ECSs, the value can be 2, 4, 8, 12, 16, or 24.
      • For D3 ECSs, the value can be 2, 4, 8, 12, 16, 24, or 28.
      -
    • size: indicates the capacity of a single disk, in GB. Currently, only 1675 is supported. The actual disk size is 1800, and the available size after formatting is 1675.
    • safeFormat: indicates whether the local disks of the ECS are securely formatted. The following types are supported:
      • For D2 or D3 ECSs, the value is True.
      +
    • size: indicates the capacity of a single disk, in GiB. Currently, only 1675 is supported. The actual disk size is 1800, and the available size after formatting is 1675.
    • safeFormat: indicates whether the local disks of the ECS are securely formatted. The following types are supported:
      • For D2 or D3 ECSs, the value is True.
    NOTE:

    This field is dedicated for disk-intensive ECSs.

    @@ -65,8 +65,8 @@

    String

    The value of this parameter is in the format of {type}:{spec}:{num}:{size}:{safeFormat}.

    -
    • type: indicates the capacity of a single NVME SSD disk attached to the ECS, which can only be 1.6 TB or 3.2 TB.
    • spec: indicates the specifications of the NVMe SSD disk, which can be large (large specifications) or lvs (small specifications).

      If spec is set to large, only I series (for example, I3) is supported.

      -
    • num indicates the number of local disks.
    • size: indicates the capacity, in the unit of GB, of the disk used by the guest user. If the spec value is large, the value of this parameter is the size of a single disk attached to the ECS. If the value of spec is lvs, the value of size is an integer multiple of 50.
    • safeFormat: indicates whether the local disks of the ECS are securely formatted.

      If safeFormat is set to True, only I series (for example, I3) is supported.

      +
      • type: indicates the capacity of a single NVMe SSD disk attached to the ECS, which can only be 1.6 TB or 3.2 TB.
      • spec: indicates the specifications of the NVMe SSD disk, which can be large (large specifications) or lvs (small specifications).

        If spec is set to large, only I series (for example, I3) is supported.

        +
      • num indicates the number of local disks.
      • size: indicates the capacity, in the unit of GiB, of the disk used by the guest user. If the spec value is large, the value of this parameter is the size of a single disk attached to the ECS. If the value of spec is lvs, the value of size is an integer multiple of 50.
      • safeFormat: indicates whether the local disks of the ECS are securely formatted.

        If safeFormat is set to True, only I series (for example, I3) is supported.

      NOTE:

      This field is dedicated for ultra-high I/O ECSs.

      @@ -77,7 +77,7 @@

    String

    Specifies the generation of an ECS type.

    -

    For example, 3 in s3 indicates the general-purpose third-generation ECSs. For details about flavors and generations, see ECS Specifications in the Elastic Cloud Server User Guide.

    +

    For example, 3 in s3 indicates the general-purpose third-generation ECSs. For details about flavors and generations, see ECS Specifications in the Elastic Cloud Server User Guide.

    ecs:virtualization_env_types

    @@ -110,7 +110,7 @@

    String

    This parameter takes effect region-wide. If an AZ is not configured in the cond:operation:az parameter, the value of this parameter is used by default. If this parameter is not set or used, the meaning of normal applies. Value range:

    +

    This parameter takes effect region-wide. If an AZ is not configured in the cond:operation:az parameter, the value of this parameter is used by default. If this parameter is not set or used, the meaning of normal applies. Options:

    • normal: indicates normal commercial use of the flavor.
    • abandon: indicates that the flavor has been taken offline (not displayed).
    • sellout: indicates that the flavor has been sold out.
    • obt: indicates that the flavor is under open beta testing (OBT).
    • obt_sellout: indicates that the OBT resources are sold out.
    • promotion: indicates that the flavor is recommended (for commercial use, which is similar to normal).
    diff --git a/docs/ecs/api-ref/en-us_topic_0267427144.html b/docs/ecs/api-ref/en-us_topic_0267427144.html index 7065ebc33..c62d801c4 100644 --- a/docs/ecs/api-ref/en-us_topic_0267427144.html +++ b/docs/ecs/api-ref/en-us_topic_0267427144.html @@ -1,11 +1,7 @@ - -

    Security Group Management (OpenStack Nova APIs)

    - -

    -
    - +

    Security Group Management (OpenStack Nova APIs)

    +
    Table 1 Path parameters

    Parameter