Compare commits

...

1 Commits

Author SHA1 Message Date
ad596bc3f5 Update content 2023-10-20 09:30:57 +00:00
3 changed files with 73 additions and 65 deletions

View File

@ -12,7 +12,6 @@ This API is used to enable database proxy in ELB mode. Before using this API:
- Learn how to :ref:`authorize and authenticate <gaussdb_03_0001>` it. - Learn how to :ref:`authorize and authenticate <gaussdb_03_0001>` it.
- Obtain the required :ref:`region and endpoint <gaussdb_00_0003>`. - Obtain the required :ref:`region and endpoint <gaussdb_00_0003>`.
- Database proxy is unavailable for DB instances in a DeC.
URI URI
--- ---
@ -62,6 +61,8 @@ Request Parameters
| | | | - **readonly** | | | | | - **readonly** |
+-------------------+-----------------+----------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-------------------+-----------------+----------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| nodes_read_weight | No | Array of :ref:`NodesWeight <creategaussmysqlproxy__request_nodesweight>` objects | Read weight of the node. | | nodes_read_weight | No | Array of :ref:`NodesWeight <creategaussmysqlproxy__request_nodesweight>` objects | Read weight of the node. |
| | | | |
| | | | If **proxy_mode** is set to **readonly**, you can assign weights only for read replicas. |
+-------------------+-----------------+----------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-------------------+-----------------+----------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
.. _creategaussmysqlproxy__request_nodesweight: .. _creategaussmysqlproxy__request_nodesweight:

View File

@ -132,7 +132,8 @@ Success.
"availability_instance_quota" : 1, "availability_instance_quota" : 1,
"availability_vcpus_quota" : 4, "availability_vcpus_quota" : 4,
"availability_ram_quota" : 8 "availability_ram_quota" : 8
} ] } ],
"total_count":1
} }
Status Code Status Code

File diff suppressed because it is too large Load Diff