diff --git a/api-ref/source/apis_used_for_maintaining_dcs_instances/changing_the_password_of_a_dcs_instance.rst b/api-ref/source/apis_used_for_maintaining_dcs_instances/changing_the_password_of_a_dcs_instance.rst index 68398b2..eb839ff 100644 --- a/api-ref/source/apis_used_for_maintaining_dcs_instances/changing_the_password_of_a_dcs_instance.rst +++ b/api-ref/source/apis_used_for_maintaining_dcs_instances/changing_the_password_of_a_dcs_instance.rst @@ -39,24 +39,24 @@ Request .. table:: **Table 2** Parameter description - +-----------------+-----------------+-----------------+------------------------------------------------------------------------+ - | Parameter | Type | Mandatory | Description | - +=================+=================+=================+========================================================================+ - | old_password | String | Yes | Old password. | - +-----------------+-----------------+-----------------+------------------------------------------------------------------------+ - | new_password | String | Yes | New password. | - | | | | | - | | | | Password complexity requirements: | - | | | | | - | | | | - Must be a string consisting of 8 to 32 characters. | - | | | | - Must be different from the old password. | - | | | | - Contains at least three of the following character types: | - | | | | | - | | | | - Lowercase letters | - | | | | - Uppercase letters | - | | | | - Digits | - | | | | - Special characters (:literal:`\`~!@#$%^&*()-_=+\|[{}]:'",<.>/?`) | - +-----------------+-----------------+-----------------+------------------------------------------------------------------------+ + +-----------------+-----------------+-----------------+-------------------------------------------------------------------------+ + | Parameter | Type | Mandatory | Description | + +=================+=================+=================+=========================================================================+ + | old_password | String | Yes | Old password. | + +-----------------+-----------------+-----------------+-------------------------------------------------------------------------+ + | new_password | String | Yes | New password. | + | | | | | + | | | | Password complexity requirements: | + | | | | | + | | | | - Must be a string consisting of 8 to 32 characters. | + | | | | - Must be different from the old password. | + | | | | - Contains at least three of the following character types: | + | | | | | + | | | | - Lowercase letters | + | | | | - Uppercase letters | + | | | | - Digits | + | | | | - Special characters (:literal:`\`~!@#$%^&*()-_=+\\|[{}]:'",<.>/?`) | + +-----------------+-----------------+-----------------+-------------------------------------------------------------------------+ **Example request** diff --git a/api-ref/source/apis_used_for_managing_dcs_instances/creating_a_dcs_instance.rst b/api-ref/source/apis_used_for_managing_dcs_instances/creating_a_dcs_instance.rst index 9306d44..5af7f07 100644 --- a/api-ref/source/apis_used_for_managing_dcs_instances/creating_a_dcs_instance.rst +++ b/api-ref/source/apis_used_for_managing_dcs_instances/creating_a_dcs_instance.rst @@ -51,7 +51,7 @@ Request | | | | | | | | | .. note:: | | | | | | - | | | | The backslash (\) and quotation mark (") are special characters for JSON messages. When using these characters in a parameter value, add the escape character (\) before the characters, for example, **``\\``** and **\\"**. | + | | | | The backslash (\\) and quotation mark (") are special characters for JSON messages. When using these characters in a parameter value, add the escape character (\\) before the characters, for example, **\\\\** and **\\"**. | +------------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | engine | String | Yes | Cache engine. Value: **Redis**. | +------------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -72,7 +72,7 @@ Request | | | | - Lowercase letters | | | | | - Uppercase letters | | | | | - Digits | - | | | | - Special characters (:literal:`\`~!@#$%^&*()-_=+\|[{}]:'",<.>/?`) | + | | | | - Special characters (:literal:`\`~!@#$%^&*()-_=+\\|[{}]:'",<.>/?`) | +------------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | vpc_id | String | Yes | VPC ID. | | | | | | @@ -140,7 +140,7 @@ Request | | | | | | | | | Unit: day. | | | | | | - | | | | Value range: 1–7. | + | | | | Value range: 1-7. | +------------------------+-----------------+-----------------+---------------------------------------------------------------------------------------+ | backup_type | String | No | Backup type. | | | | | | @@ -171,11 +171,11 @@ Request +-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------------------------------+ | backup_at | Array | Yes | Day in a week on which backup starts. | | | | | | - | | | | Value range: 1–7, where **1** indicates Monday and **7** indicates Sunday. | + | | | | Value range: 1-7, where **1** indicates Monday and **7** indicates Sunday. | +-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------------------------------+ | timezone_offset | String | No | Time zone in which backup is performed. | | | | | | - | | | | Value range: GMT–12:00 to GMT+12:00. If this parameter is left blank, the current time zone of the DCS-Server VM is used by default. | + | | | | Value range: GMT-12:00 to GMT+12:00. If this parameter is left blank, the current time zone of the DCS-Server VM is used by default. | +-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------------------------------+ Example request diff --git a/api-ref/source/apis_used_for_managing_dcs_instances/modifying_information_about_a_dcs_instance.rst b/api-ref/source/apis_used_for_managing_dcs_instances/modifying_information_about_a_dcs_instance.rst index fd8d720..9be6189 100644 --- a/api-ref/source/apis_used_for_managing_dcs_instances/modifying_information_about_a_dcs_instance.rst +++ b/api-ref/source/apis_used_for_managing_dcs_instances/modifying_information_about_a_dcs_instance.rst @@ -52,7 +52,7 @@ Request | | | | | | | | | .. note:: | | | | | | - | | | | "\" is defined as an escape character in the queue description. If you need to enter a backward slash (\) or a double quotation mark (") in the queue description, enter **``\\``** or **\\"**. | + | | | | "\\" is defined as an escape character in the queue description. If you need to enter a backward slash (\\) or a double quotation mark (") in the queue description, enter **\\\\** or **\\"**. | +------------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | instance_backup_policy | JSON | No | Backup policy. | | | | | | diff --git a/api-ref/source/appendix/error_codes.rst b/api-ref/source/appendix/error_codes.rst index 54d82a2..8e782e2 100644 --- a/api-ref/source/appendix/error_codes.rst +++ b/api-ref/source/appendix/error_codes.rst @@ -174,7 +174,7 @@ Error Code +-------------+------------+------------------------------------------------------------------------------------------------------------------------------------------+ | 400 | 111400075 | The value of the instance backup parameter **backupAt** in the request cannot be null or undefined. | +-------------+------------+------------------------------------------------------------------------------------------------------------------------------------------+ - | 400 | 111400076 | The value of the instance backup parameter **beginAt** in the request must be in the 00:00–00:00 format. | + | 400 | 111400076 | The value of the instance backup parameter **beginAt** in the request must be in the 00:00-00:00 format. | +-------------+------------+------------------------------------------------------------------------------------------------------------------------------------------+ | 400 | 111400080 | Invalid password for accessing the selected DCS instance. | +-------------+------------+------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/api-ref/source/appendix/obtaining_a_project_id.rst b/api-ref/source/appendix/obtaining_a_project_id.rst index ed14feb..b96a532 100644 --- a/api-ref/source/appendix/obtaining_a_project_id.rst +++ b/api-ref/source/appendix/obtaining_a_project_id.rst @@ -22,5 +22,4 @@ The following procedure describes how to obtain a project ID: .. figure:: /_static/images/en-us_image_0000001287593560.jpg :alt: **Figure 1** Viewing project IDs - **Figure 1** Viewing project IDs diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 0e174ed..c91d670 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -35,6 +35,9 @@ sys.path.insert(0, os.path.abspath('../')) sys.path.insert(0, os.path.abspath('./')) # -- General configuration ---------------------------------------------------- +# https://docutils.sourceforge.io/docs/user/smartquotes.html - it does not +# what it is expected +smartquotes = False # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.