Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,25 @@ POST /v1/{project_id}/cloudservers/action

.. table:: **Table 1** Parameter description

========== ========= =========================
Parameter Mandatory Description
========== ========= =========================
project_id Yes Specifies the project ID.
========== ========= =========================
+-----------------------+-----------------------+---------------------------+
| Parameter | Mandatory | Description |
+=======================+=======================+===========================+
| project_id | Yes | **Definition** |
| | | |
| | | Specifies the project ID. |
| | | |
| | | **Constraints** |
| | | |
| | | N/A |
| | | |
| | | **Range** |
| | | |
| | | N/A |
| | | |
| | | **Default Value** |
| | | |
| | | N/A |
+-----------------------+-----------------------+---------------------------+

Request
-------
Expand All @@ -38,11 +52,25 @@ Request

.. table:: **Table 2** Request parameters

+-----------+-----------+--------+----------------------------------------------------------------------------------------------------------------------------+
| Parameter | Mandatory | Type | Description |
+===========+===========+========+============================================================================================================================+
| reboot | Yes | Object | Specifies the operation to restart the ECS. For details, see :ref:`Table 3 <en-us_topic_0020212649__table64591731162222>`. |
+-----------+-----------+--------+----------------------------------------------------------------------------------------------------------------------------+
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------+
| Parameter | Mandatory | Type | Description |
+=================+=================+=================+============================================================================================================================+
| reboot | Yes | Object | **Definition** |
| | | | |
| | | | Specifies the operation to restart the ECS. For details, see :ref:`Table 3 <en-us_topic_0020212649__table64591731162222>`. |
| | | | |
| | | | **Constraints** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Range** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Default Value** |
| | | | |
| | | | N/A |
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------+

.. _en-us_topic_0020212649__table64591731162222:

Expand All @@ -51,23 +79,63 @@ Request
+-----------------+-----------------+------------------+---------------------------------------------------------------------------------------------------+
| Parameter | Mandatory | Type | Description |
+=================+=================+==================+===================================================================================================+
| type | Yes | String | Specifies the type of the restart operation. |
| type | Yes | String | **Definition** |
| | | | |
| | | | Specifies the type of the restart operation. |
| | | | |
| | | | **Constraints** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Range** |
| | | | |
| | | | - **SOFT**: normal restart |
| | | | - **HARD**: forcible restart (hard restart) |
| | | | |
| | | | **Default Value** |
| | | | |
| | | | N/A |
+-----------------+-----------------+------------------+---------------------------------------------------------------------------------------------------+
| servers | Yes | Array of objects | Specifies ECS IDs. For details, see :ref:`Table 4 <en-us_topic_0020212649__table26785545162223>`. |
| servers | Yes | Array of objects | **Definition** |
| | | | |
| | | | Specifies ECS IDs. For details, see :ref:`Table 4 <en-us_topic_0020212649__table26785545162223>`. |
| | | | |
| | | | **Constraints** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Range** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Default Value** |
| | | | |
| | | | N/A |
+-----------------+-----------------+------------------+---------------------------------------------------------------------------------------------------+

.. _en-us_topic_0020212649__table26785545162223:

.. table:: **Table 4** **servers** field description

========= ========= ====== =====================
Parameter Mandatory Type Description
========= ========= ====== =====================
id Yes String Specifies the ECS ID.
========= ========= ====== =====================
+-----------------+-----------------+-----------------+-----------------------+
| Parameter | Mandatory | Type | Description |
+=================+=================+=================+=======================+
| id | Yes | String | **Definition** |
| | | | |
| | | | Specifies the ECS ID. |
| | | | |
| | | | **Constraints** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Range** |
| | | | |
| | | | N/A |
| | | | |
| | | | **Default Value** |
| | | | |
| | | | N/A |
+-----------------+-----------------+-----------------+-----------------------+

Response
--------
Expand Down
Loading
Loading