Compare commits
14 Commits
propose-ga
...
main
Author | SHA1 | Date | |
---|---|---|---|
64583fb92e | |||
44fbd5b9e4 | |||
fee5a51d20 | |||
d68598b383 | |||
7813a5cde0 | |||
a0032cce8c | |||
059006b93e | |||
99e6eec515 | |||
1dd141d7b4 | |||
2419e4279d | |||
632e92a69a | |||
fdd2844b19 | |||
228d6e6791 | |||
f209269d91 |
Before Width: | Height: | Size: 136 KiB |
Before Width: | Height: | Size: 51 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001828921437.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001828922089.png
Normal file
After Width: | Height: | Size: 350 KiB |
@ -9,6 +9,7 @@ Backup Management
|
|||||||
- :ref:`Querying Backups <gaussdb_06_0004>`
|
- :ref:`Querying Backups <gaussdb_06_0004>`
|
||||||
- :ref:`Querying an Automated Backup Policy <gaussdb_06_0005>`
|
- :ref:`Querying an Automated Backup Policy <gaussdb_06_0005>`
|
||||||
- :ref:`Modifying an Automated Backup Policy <gaussdb_06_0006>`
|
- :ref:`Modifying an Automated Backup Policy <gaussdb_06_0006>`
|
||||||
|
- :ref:`Deleting a Manual Backup <deletegaussmysqlbackup>`
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
@ -18,3 +19,4 @@ Backup Management
|
|||||||
querying_backups
|
querying_backups
|
||||||
querying_an_automated_backup_policy
|
querying_an_automated_backup_policy
|
||||||
modifying_an_automated_backup_policy
|
modifying_an_automated_backup_policy
|
||||||
|
deleting_a_manual_backup
|
||||||
|
@ -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:
|
||||||
|
@ -30,35 +30,29 @@ GET /v3/{project_id}/instances
|
|||||||
|
|
||||||
.. table:: **Table 2** Query parameters
|
.. table:: **Table 2** Query parameters
|
||||||
|
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| Parameter | Mandatory | Type | Description |
|
| Parameter | Mandatory | Type | Description |
|
||||||
+=================+=================+=================+==========================================================================================================================================================================================================================================================================================================+
|
+================+===========+=========+==========================================================================================================================================================================================================================================================================================================+
|
||||||
| id | No | String | DB instance ID. The asterisk (``*``) is reserved for the system. If the DB instance ID starts with \*, it indicates that fuzzy match is performed based on the value following \*. Otherwise, the exact match is performed based on the DB instance ID. The value cannot contain only asterisks (``*``). |
|
| id | No | String | DB instance ID. The asterisk (``*``) is reserved for the system. If the DB instance ID starts with \*, it indicates that fuzzy match is performed based on the value following \*. Otherwise, the exact match is performed based on the DB instance ID. The value cannot contain only asterisks (``*``). |
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| name | No | String | DB instance name. The asterisk (``*``) is reserved for the system. If the instance name starts with \*, it indicates that fuzzy match is performed based on the value following \*. Otherwise, the exact match is performed based on the instance name. The value cannot contain only asterisks (``*``). |
|
| name | No | String | DB instance name. The asterisk (``*``) is reserved for the system. If the instance name starts with \*, it indicates that fuzzy match is performed based on the value following \*. Otherwise, the exact match is performed based on the instance name. The value cannot contain only asterisks (``*``). |
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| type | No | String | DB instance type to be queried. Currently, its value can only be **Cluster**. |
|
| type | No | String | DB instance type to be queried. Currently, its value can only be **Cluster**. |
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| datastore_type | No | String | DB type. Currently, only gaussdb-mysql is supported. |
|
| datastore_type | No | String | DB type. Currently, only gaussdb-mysql is supported. |
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| vpc_id | No | String | VPC ID. |
|
| vpc_id | No | String | VPC ID. |
|
||||||
| | | | |
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| | | | - Method 1: Log in to VPC console and view the VPC ID in the VPC details. |
|
| subnet_id | No | String | Network ID of the subnet. |
|
||||||
| | | | - Method 2: See the "Querying VPCs" section in the *Virtual Private Cloud API Reference*. |
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
| private_ip | No | String | Private IP address. |
|
||||||
| subnet_id | No | String | Network ID of the subnet. |
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| | | | |
|
| offset | No | Integer | Index offset. If **offset** is set to *N*, the resource query starts from the N+1 piece of data. The value is **0** by default, indicating that the query starts from the first piece of data. The value cannot be a negative number. |
|
||||||
| | | | - Method 1: Log in to VPC console and click the target subnet on the **Subnets** page. You can view the network ID on the displayed page. |
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| | | | - Method 2: See the "Querying Subnets" section under "APIs" or the "Querying Networks" section under "OpenStack Neutron APIs" in the *Virtual Private Cloud API Reference*. |
|
| limit | No | Integer | Number of records to be queried. The default value is **100**. The value must be a positive integer. The minimum value is **1** and the maximum value is **100**. |
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| private_ip | No | String | Private IP address. |
|
| tags | No | String | Query based on the DB instance tag key and value. *{key}* indicates the tag key, and *{value}* indicates the tag value. To query DB instances with multiple tag keys and values, separate key-value pairs with commas (,). The key must be unique. Multiple keys are in AND relationship. |
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+----------------+-----------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| offset | No | Integer | Index offset. If **offset** is set to *N*, the resource query starts from the N+1 piece of data. The value is **0** by default, indicating that the query starts from the first piece of data. The value cannot be a negative number. |
|
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
||||||
| limit | No | Integer | Number of records to be queried. The default value is **100**. The value must be a positive integer. The minimum value is **1** and the maximum value is **100**. |
|
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
||||||
| tags | No | String | Query based on the DB instance tag key and value. *{key}* indicates the tag key, and *{value}* indicates the tag value. To query DB instances with multiple tag keys and values, separate key-value pairs with commas (,). The key must be unique. Multiple keys are in AND relationship. |
|
|
||||||
+-----------------+-----------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
Request Parameters
|
Request Parameters
|
||||||
------------------
|
------------------
|
||||||
|
@ -13,6 +13,11 @@ This API is used to configure resource quotas for a specified enterprise project
|
|||||||
- 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>`.
|
||||||
|
|
||||||
|
Precautions
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Before using this API, ensure that the enterprise project has been enabled and you have the **gaussdb:quota:modify** permission.
|
||||||
|
|
||||||
URI
|
URI
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -13,6 +13,11 @@ This API is used to modify the resource quota of a specified enterprise project.
|
|||||||
- 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>`.
|
||||||
|
|
||||||
|
Precautions
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Before using this API, ensure that the enterprise project has been enabled and you have the **gaussdb:quota:modify** permission.
|
||||||
|
|
||||||
URI
|
URI
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -60,7 +60,7 @@ Obtain a Project ID from the Console
|
|||||||
On the **My Credentials** page, view project IDs in the project list.
|
On the **My Credentials** page, view project IDs in the project list.
|
||||||
|
|
||||||
|
|
||||||
.. figure:: /_static/images/en-us_image_0000001476990897.jpg
|
.. figure:: /_static/images/en-us_image_0000001828922089.png
|
||||||
:alt: **Figure 1** Viewing project IDs
|
:alt: **Figure 1** Viewing project IDs
|
||||||
|
|
||||||
**Figure 1** Viewing project IDs
|
**Figure 1** Viewing project IDs
|
||||||
|
@ -28,7 +28,7 @@ Concepts
|
|||||||
Projects group and isolate resources (including compute, storage, and network resources) across physical regions. A default project is provided for each region, and subprojects can be created under each default project. Users can be granted permissions to access all resources in a specific project. For more refined access control, create subprojects under a project and purchase resources in the subprojects. Users can then be assigned permissions to access only specific resources in the subprojects.
|
Projects group and isolate resources (including compute, storage, and network resources) across physical regions. A default project is provided for each region, and subprojects can be created under each default project. Users can be granted permissions to access all resources in a specific project. For more refined access control, create subprojects under a project and purchase resources in the subprojects. Users can then be assigned permissions to access only specific resources in the subprojects.
|
||||||
|
|
||||||
|
|
||||||
.. figure:: /_static/images/en-us_image_0000001477110589.gif
|
.. figure:: /_static/images/en-us_image_0000001828921437.png
|
||||||
:alt: **Figure 1** Project isolating model
|
:alt: **Figure 1** Project isolating model
|
||||||
|
|
||||||
**Figure 1** Project isolating model
|
**Figure 1** Project isolating model
|
||||||
|
@ -30,6 +30,17 @@ otcdocs_repo_name = 'docs/gaussdb-mysql'
|
|||||||
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
||||||
otcdocs_git_type = 'gitea'
|
otcdocs_git_type = 'gitea'
|
||||||
|
|
||||||
|
# Those variables are needed for indexing into OpenSearch
|
||||||
|
otcdocs_doc_environment = 'internal'
|
||||||
|
otcdocs_doc_link = '/gaussdb-mysql/api-ref/'
|
||||||
|
otcdocs_doc_title = 'API Reference'
|
||||||
|
otcdocs_doc_type = 'api-ref'
|
||||||
|
otcdocs_service_category = 'database'
|
||||||
|
otcdocs_service_title = 'GaussDB (for MySQL)'
|
||||||
|
otcdocs_service_type = 'gaussdb_mysql'
|
||||||
|
otcdocs_search_environment = 'hc_de'
|
||||||
|
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||||
|
|
||||||
otcdocstheme # Apache-2.0
|
otcdocstheme # Apache-2.0
|
||||||
|
|
||||||
# releasenotes
|
# releasenotes
|
||||||
reno>=3.1.0 # Apache-2.0
|
reno>=3.1.0 # Apache-2.0
|
||||||
|
|
||||||
otc-sphinx-directives>=0.1.0
|
otc-sphinx-directives>=0.1.0
|
||||||
git+https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata.git#egg=otc_metadata
|
sphinx-minify>=0.0.1 # Apache-2.0
|
||||||
|
git+https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata.git#egg=otc_metadata
|
||||||
|
setuptools
|
@ -31,6 +31,17 @@ otcdocs_repo_name = 'docs/gaussdb-mysql'
|
|||||||
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
||||||
otcdocs_git_type = 'gitea'
|
otcdocs_git_type = 'gitea'
|
||||||
|
|
||||||
|
# Those variables are needed for indexing into OpenSearch
|
||||||
|
otcdocs_doc_environment = ''
|
||||||
|
otcdocs_doc_link = ''
|
||||||
|
otcdocs_doc_title = ''
|
||||||
|
otcdocs_doc_type = ''
|
||||||
|
otcdocs_service_category = 'database'
|
||||||
|
otcdocs_service_title = 'GaussDB (for MySQL)'
|
||||||
|
otcdocs_service_type = 'gaussdb_mysql'
|
||||||
|
otcdocs_search_environment = 'hc_de'
|
||||||
|
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
|
Before Width: | Height: | Size: 1004 B After Width: | Height: | Size: 1004 B |
BIN
umn/source/_static/images/en-us_image_0000001352059444.png
Normal file
After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
BIN
umn/source/_static/images/en-us_image_0000001352219100.png
Normal file
After Width: | Height: | Size: 1004 B |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 409 B |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
BIN
umn/source/_static/images/en-us_image_0000001400271265.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
umn/source/_static/images/en-us_image_0000001400391461.png
Normal file
After Width: | Height: | Size: 1004 B |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 480 B After Width: | Height: | Size: 480 B |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 409 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 515 B |
BIN
umn/source/_static/images/en-us_image_0000001405262769.png
Normal file
After Width: | Height: | Size: 673 B |