Compare commits

...

1 Commits

Author SHA1 Message Date
700199e2af Update content 2023-01-12 02:25:11 +00:00
7 changed files with 159 additions and 90 deletions

View File

@ -38,6 +38,8 @@ None
**Example request** **Example request**
Request URL:
.. code-block:: text .. code-block:: text
DELETE https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups/{backup_id} DELETE https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups/{backup_id}

View File

@ -52,10 +52,14 @@ Request
**Example request** **Example request**
Request URL:
.. code-block:: text .. code-block:: text
POST https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/restores POST https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/restores
Example:
.. code-block:: .. code-block::
{ {

View File

@ -10,10 +10,17 @@ Change History
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Released On | What's New | | Released On | What's New |
+===================================+====================================================================================================================================================================================================================================================================================================================================+ +===================================+====================================================================================================================================================================================================================================================================================================================================+
| 2022-12-13 | Modified the following content: |
| | |
| | - In section :ref:`Querying All DCS Instances of a Tenant <dcs-api-0312006>`, added the **include_failure** parameter and deleted the **isExactMatchName** parameter. |
| | - In section :ref:`Querying DCS Instance Status <dcs-api-0312016>`, added parameters such as **redis**, and changed the **includeFailure** parameter to **include_failure**. |
| | - Updated the example request format in section :ref:`Deleting Backup Files <dcs-api-0312024>`. |
| | - In section :ref:`Querying AZ Information <dcs-api-0312039>`, changed the **regionID** parameter to **region_id**. |
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 2022-10-12 | Modified the following content: | | 2022-10-12 | Modified the following content: |
| | | | | |
| | - Changed the type of the **private_ips** parameter to **Array of strings** in :ref:`Scaling Up a DCS Instance <dcs-api-0312010>`. | | | - Changed the type of the **private_ips** parameter to **Array of strings** in :ref:`Scaling Up a DCS Instance <dcs-api-0312010>`. |
| | - Deleted the **includeFailure** parameter from :ref:`Querying All DCS Instances of a Tenant <dcs-api-0312006>`. | | | - In section :ref:`Querying All DCS Instances of a Tenant <dcs-api-0312006>`, deleted the **includeFailure** parameter. |
| | - Modified the description of the **maxmemory-policy** parameter in :ref:`Parameter Management APIs <dcs-api-0312013>`. | | | - Modified the description of the **maxmemory-policy** parameter in :ref:`Parameter Management APIs <dcs-api-0312013>`. |
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 2022-08-04 | Modified the following content: | | 2022-08-04 | Modified the following content: |
@ -50,11 +57,11 @@ Change History
| | | | | |
| | - Changed API categorization into lifecycle management APIs, instance management APIs, parameter management APIs, backup and restoration APIs, and other APIs. | | | - Changed API categorization into lifecycle management APIs, instance management APIs, parameter management APIs, backup and restoration APIs, and other APIs. |
| | - Added description about creating DCS Redis 4.0 and 5.0 instances in section :ref:`Creating a DCS Instance <dcs-api-0312004>`. | | | - Added description about creating DCS Redis 4.0 and 5.0 instances in section :ref:`Creating a DCS Instance <dcs-api-0312004>`. |
| | - Optimized :ref:`Error Codes <dcs-api-0312044>`. | | | - Optimized section "Error Code." |
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 2020-06-16 | Modified the following content: | | 2020-06-16 | Modified the following content: |
| | | | | |
| | Added error codes such as 111400102 in section :ref:`Error Codes <dcs-api-0312044>`. | | | Added error codes such as 111400102 in the **Error Codes** section. |
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 2020-03-25 | Modified the following content: | | 2020-03-25 | Modified the following content: |
| | | | | |

View File

@ -94,9 +94,6 @@ html_title = "Distributed Cache Service - API Reference"
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']
# Do not include sources into the rendered results
html_copy_source = False
# -- Options for PDF output -------------------------------------------------- # -- Options for PDF output --------------------------------------------------
latex_documents = [ latex_documents = [
('index', ('index',

View File

@ -40,7 +40,7 @@ Response
+-----------------+--------+---------------------------------------------------------------------------------------+ +-----------------+--------+---------------------------------------------------------------------------------------+
| Parameter | Type | Description | | Parameter | Type | Description |
+=================+========+=======================================================================================+ +=================+========+=======================================================================================+
| regionId | String | Region ID. | | region_id | String | Region ID. |
+-----------------+--------+---------------------------------------------------------------------------------------+ +-----------------+--------+---------------------------------------------------------------------------------------+
| available_zones | Array | Array of AZs. For details, see :ref:`Table 2 <dcs-api-0312039__table20901104905614>`. | | available_zones | Array | Array of AZs. For details, see :ref:`Table 2 <dcs-api-0312039__table20901104905614>`. |
+-----------------+--------+---------------------------------------------------------------------------------------+ +-----------------+--------+---------------------------------------------------------------------------------------+