1
0
forked from docs/doc-exports

Added the total_count field to the example response in Querying Resource Quotas.

Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
This commit is contained in:
Wang , Deng Ke 2023-10-23 12:40:55 +00:00 committed by zuul
parent 8675132585
commit 350d6ddb90
6 changed files with 972 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -351,7 +351,7 @@
"code":"39"
},
{
"desc":"This API is used to enable database proxy in ELB mode. Before using this API:Learn how to authorize and authenticate it.Obtain the required region and endpoint.Database p",
"desc":"This API is used to enable database proxy in ELB mode. Before using this API:Learn how to authorize and authenticate it.Obtain the required region and endpoint.POST /v3/{",
"product_code":"gaussdb",
"title":"Enabling Database Proxy",
"uri":"CreateGaussMySqlProxy.html",

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Enabling Database Proxy</h1>
<div id="body0000001092940872"><div class="section" id="CreateGaussMySqlProxy__section4284989"><h4 class="sectiontitle">Function</h4><p id="CreateGaussMySqlProxy__p28332047">This API is used to enable database proxy in ELB mode. Before using this API:</p>
<ul id="CreateGaussMySqlProxy__ul924420236520"><li id="CreateGaussMySqlProxy__li136356359522">Learn how to <a href="gaussdb_03_0001.html">authorize and authenticate</a> it.</li><li id="CreateGaussMySqlProxy__li1991981933613">Obtain the required <a href="gaussdb_00_0003.html">region and endpoint</a>.</li><li id="CreateGaussMySqlProxy__li737212993612">Database proxy is unavailable for DB instances in a DeC.</li></ul>
<ul id="CreateGaussMySqlProxy__ul924420236520"><li id="CreateGaussMySqlProxy__li136356359522">Learn how to <a href="gaussdb_03_0001.html">authorize and authenticate</a> it.</li><li id="CreateGaussMySqlProxy__li1991981933613">Obtain the required <a href="gaussdb_00_0003.html">region and endpoint</a>.</li></ul>
</div>
<div class="section" id="CreateGaussMySqlProxy__section197767269509"><h4 class="sectiontitle">URI</h4><p id="CreateGaussMySqlProxy__p1776926115013">POST /v3/{project_id}/instances/{instance_id}/proxy</p>
@ -127,6 +127,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateGaussMySqlProxy__p117841226125016">Array of <a href="#CreateGaussMySqlProxy__request_NodesWeight">NodesWeight</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateGaussMySqlProxy__p17841626125010">Read weight of the node.</p>
<p id="CreateGaussMySqlProxy__p19350173610508">If <strong id="CreateGaussMySqlProxy__b1944018309367">proxy_mode</strong> is set to <strong id="CreateGaussMySqlProxy__b6110134173614">readonly</strong>, you can assign weights only for read replicas.</p>
</td>
</tr>
</tbody>

View File

@ -8,7 +8,14 @@
</th>
</tr>
</thead>
<tbody><tr id="changeHistory__row83511548162514"><td class="cellrowborder" valign="top" width="36.4%" headers="mcps1.3.1.1.3.1.1 "><p id="changeHistory__p535104810259">2023-07-12</p>
<tbody><tr id="changeHistory__row779535311528"><td class="cellrowborder" valign="top" width="36.4%" headers="mcps1.3.1.1.3.1.1 "><p id="changeHistory__p16796195313523">2023-10-20</p>
</td>
<td class="cellrowborder" valign="top" width="63.6%" headers="mcps1.3.1.1.3.1.2 "><p id="changeHistory__p15796253195211">Modified the following content:</p>
<p id="changeHistory__p1497617158538">Added the <span class="uicontrol" id="changeHistory__uicontrol101691710205420"><b>total_count</b></span> field to the example response in <a href="gaussdb_04_0011.html">Querying Resource Quotas</a>.</p>
<p id="changeHistory__p1431871285416">Added the following description for the <span class="uicontrol" id="changeHistory__uicontrol143011719165717"><b>nodes_read_weight</b></span> field in <a href="CreateGaussMySqlProxy.html">Enabling Database Proxy</a>: If <strong id="changeHistory__b24788169392">proxy_mode</strong> is set to <strong id="changeHistory__b21271221153911">readonly</strong>, you can assign weights only for read replicas.</p>
</td>
</tr>
<tr id="changeHistory__row83511548162514"><td class="cellrowborder" valign="top" width="36.4%" headers="mcps1.3.1.1.3.1.1 "><p id="changeHistory__p535104810259">2023-07-12</p>
</td>
<td class="cellrowborder" valign="top" width="63.6%" headers="mcps1.3.1.1.3.1.2 "><p id="changeHistory__p43511748112511">Modified the following content:</p>
<p id="changeHistory__p220014114380">Delete the following APIs:</p>

View File

@ -93,7 +93,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="gaussdb_04_0005__p1250124317268">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="gaussdb_04_0005__p1036613518296">Network ID of the subnet.</p>
<ul id="gaussdb_04_0005__ul3366123592918"><li id="gaussdb_04_0005__en-us_topic_0128427213_li121534277395">Method 1: Log in to VPC console and click the target subnet on the <strong id="gaussdb_04_0005__en-us_topic_0128427213_b4101174416409">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="gaussdb_04_0005__en-us_topic_0128427213_li073418475515">Method 2: See the "Querying Subnets" section under "APIs" or the "Querying Networks" section under "OpenStack Neutron APIs" in the <em id="gaussdb_04_0005__en-us_topic_0128427213_i845875219">Virtual Private Cloud API Reference</em>.</li></ul>
<ul id="gaussdb_04_0005__ul3366123592918"><li id="gaussdb_04_0005__en-us_topic_0128427213_li121534277395">Method 1: Log in to VPC console and click the target subnet on the <strong id="gaussdb_04_0005__en-us_topic_0128427213_b4101174416409">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="gaussdb_04_0005__en-us_topic_0128427213_li073418475515">Method 2: See the "Querying Subnets" section under "APIs" or the "Querying Networks" section under "OpenStack Neutron APIs" in the <em id="gaussdb_04_0005__en-us_topic_0128427213_i1944145497">Virtual Private Cloud API Reference</em>.</li></ul>
</td>
</tr>
<tr id="gaussdb_04_0005__row2024617432266"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="gaussdb_04_0005__p625094316264">private_ip</p>

View File

@ -268,7 +268,8 @@
"availability_instance_quota" : 1,
"availability_vcpus_quota" : 4,
"availability_ram_quota" : 8
} ]
} ],
"total_count":1
}</pre>
</div>
<div class="section" id="gaussdb_04_0011__section4778540915440"><h4 class="sectiontitle">Status Code</h4><p id="gaussdb_04_0011__p0723374409">For details, see <a href="gaussdb_10_0002.html">Status Codes</a>.</p>