Compare commits

..

29 Commits
x2 ... main

Author SHA1 Message Date
64583fb92e Changes to gaussdb_mysql_umn from docs/doc-exports#1161 (gaussdbmysql_umn_202404
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2024-05-13 09:16:04 +00:00
44fbd5b9e4 Changes to gaussdb_mysql_umn from docs/doc-exports#1090 (gaussdbmysql_umn
Modif

Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2024-03-06 11:06:21 +00:00
fee5a51d20 Changes to gaussdb_mysql_api-ref from docs/doc-exports#1089 (gaussdbmysql_api
A

Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2024-03-06 09:44:35 +00:00
d68598b383 Changes to gaussdb_mysql_api-ref from docs/doc-exports#1067 (Update Pictures.
U

Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2024-02-22 09:20:49 +00:00
7813a5cde0 Update tox.ini && conf.py file
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-01-17 14:32:52 +00:00
a0032cce8c Update tox.ini && conf.py file
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-01-17 11:19:33 +00:00
059006b93e Changes to gaussdb_mysql_umn from docs/doc-exports#963 (gaussdb
Modified the fo

Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-11-27 14:22:44 +00:00
99e6eec515 Update tox.ini && conf.py file
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-11-14 13:39:15 +00:00
1dd141d7b4 Changes to gaussdb_mysql_api-ref from docs/doc-exports#942 (Modified the respons
Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-11-07 10:27:36 +00:00
2419e4279d Changes to gaussdb_mysql_umn from docs/doc-exports#943 (Added specifications (2
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-11-07 10:23:57 +00:00
632e92a69a Changes to gaussdb_mysql_api-ref from docs/doc-exports#926 (Added the total_coun
Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-10-23 12:34:12 +00:00
fdd2844b19 fix sphinx problems with constraints
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-10 15:23:30 +00:00
228d6e6791 Changes to gaussdb_mysql_umn from docs/doc-exports#545 (gaussdb UMN 20221230 ver
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-07-19 12:30:39 +00:00
f209269d91 Changes to gaussdb_mysql_api-ref from docs/doc-exports#815 (gaussdbmysql_api
ga

Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-07-19 07:07:02 +00:00
fe5dbb94c5 Changes to gaussdb_mysql_api-ref from docs/doc-exports#546 (gaussdb API 20221230
Reviewed-by: Drobnak, David <david.drobnak@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-06-12 09:45:17 +00:00
0c58bc6334 Changes to gaussdb_mysql_umn from docs/doc-exports#769 (chore: use convertor fro
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-06-03 14:34:09 +00:00
3c1ce1f0ad Changes to gaussdb_mysql_api-ref from docs/doc-exports#773 (Deprecating Swift AP
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-06-01 21:44:25 +00:00
eb660d9fc3 Changes to gaussdb_mysql_umn from docs/doc-exports#773 (Deprecating Swift API an
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-06-01 21:44:23 +00:00
0b15e459dd Service Based View
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-08 19:11:05 +00:00
Goncharov, Artem
e355231875 Update Docs configuration
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2023-01-06 18:29:34 +00:00
Goncharov, Artem
4bea8aa3cb Update Docs configuration
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2023-01-05 19:18:40 +00:00
Goncharov, Artem
0bdd0578d9 Update Docs configuration
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2023-01-04 13:08:10 +00:00
Goncharov, Artem
179b0d6370 Update Docs configuration
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2023-01-02 21:16:32 +00:00
ce706b35b0 Changes to gaussdb_mysql_umn from docs/doc-exports#270 (gaussdb UMN Initial vers
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2022-12-02 11:00:25 +00:00
32cd3979cd Changes to gaussdb_mysql_api-ref from docs/doc-exports#497 (Enable espacing of m
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2022-11-24 16:51:11 +00:00
a91d9529b6 Changes to gaussdb_mysql_umn from docs/doc-exports#497 (Enable espacing of multi
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2022-11-24 16:50:12 +00:00
27d4e28e46 Changes to gaussdb_mysql_api-ref from docs/doc-exports#271 (gaussdb API Initial
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2022-11-24 13:29:14 +00:00
Goncharov, Artem
f1197f919e Update Docs configuration
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2022-11-09 16:13:04 +00:00
Goncharov, Artem
8cdce619d9 Update Docs configuration
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2022-11-08 20:51:59 +00:00
250 changed files with 15770 additions and 73 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

View File

@ -0,0 +1,32 @@
:original_name: gaussdb_02_0000.html
.. _gaussdb_02_0000:
API Overview
============
With GaussDB(for MySQL) APIs, you can query, set, and modify resource quotas.
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Type | Description |
+===============================+====================================================================================================================================================================================================================+
| DB engine version query | Query the DB version information of a specified DB engine. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| DB specifications query | Query the DB specifications of a specified DB engine version. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| DB instance management | Create instances, query instance lists, query instance details, delete instances, create read replicas, delete read replicas, change instance names, reset database passwords, and change instance specifications. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Backup management | Create manual backups, query backup lists, query automated backup policies, and modify automated backup policies. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Parameter template management | Query parameter templates. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Quota management | Query, set, and modify resource quotas. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Database proxy | Query database proxy information and specifications, and enable or disable database proxy. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Log management | Obtain log information, including database error logs and slow logs. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Tag management | Manage tags, including adding tags in batches, deleting tags in batches, and querying project tags. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Task center | Obtain task information about the task center. |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

View File

@ -0,0 +1,54 @@
:original_name: gaussdb_03_0001.html
.. _gaussdb_03_0001:
Authentication
==============
Token authentication must be performed to call APIs.
Authentication using tokens: General requests are authenticated using tokens.
Token-based Authentication
--------------------------
.. note::
The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain a user token.
A token specifies temporary permissions in a computer system. During API authentication using a token, the token is added to requests to get permissions for calling the API.
.. code-block::
{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"name": "username",
"password": "********",
"domain": {
"name": "domainname"
}
}
}
},
"scope": {
"project": {
"name": "xxxxxxxx"
}
}
}
}
In :ref:`Making an API Request <gaussdb_03_0005>`, the process of calling the API used to `obtain a user token <https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html>`__ is described.
After a token is obtained, add the **X-Auth-Token** header field must be added to requests to specify the token when calling other APIs. For example, if the token is **ABCDEFJ....**, **X-Auth-Token: ABCDEFJ....** can be added to a request as follows:
::
Content-Type: application/json
X-Auth-Token: ABCDEFJ....

View File

@ -0,0 +1,18 @@
:original_name: gaussdb_03_0000.html
.. _gaussdb_03_0000:
API Usage Guidelines
====================
- :ref:`Making an API Request <gaussdb_03_0005>`
- :ref:`Authentication <gaussdb_03_0001>`
- :ref:`Response <gaussdb_03_0006>`
.. toctree::
:maxdepth: 1
:hidden:
making_an_api_request
authentication
response

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,62 @@
:original_name: gaussdb_03_0006.html
.. _gaussdb_03_0006:
Response
========
Status Code
-----------
After sending a request, you will receive a response, including the status code, response header, and response body.
A status code is a group of digits ranging from 1xx to 5xx. It indicates the status of a response. For more information, see :ref:`Status Codes <gaussdb_10_0002>`.
For example, if status code **201** is returned for calling the API used to `obtain a user token <https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html>`__, the request is successful.
Response Header
---------------
Similar to a request, a response also has a header, for example, **Content-Type**.
:ref:`Figure 1 <gaussdb_03_0006__fig4865141011511>` shows the response header for the API used to `obtain a user token <https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html>`__. The **x-subject-token** header field is the desired user token. This token can then be used to authenticate the calling of other APIs.
.. _gaussdb_03_0006__fig4865141011511:
.. figure:: /_static/images/en-us_image_0000001427231638.png
:alt: **Figure 1** Header fields of the response to the request for obtaining a user token
**Figure 1** Header fields of the response to the request for obtaining a user token
(Optional) Response Body
------------------------
This part is optional. The body of a response is often returned in structured format as specified in the **Content-Type** header field. The response body transfers content except the response header.
The following is part of the response body for the API used to `obtain a user token <https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html>`__.
.. code-block::
{
"token": {
"expires_at": "2019-02-13T06:52:13.855000Z",
"methods": [
"password"
],
"catalog": [
{
"endpoints": [
{
"region_id": "az-01",
......
If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.
.. code-block::
{
"error_code": "AS.0001",
"error_msg": "The format of message is error"
}
In the response body, **error_code** is an error code, and **error_msg** provides information about the error.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,22 @@
:original_name: gaussdb_06_0002.html
.. _gaussdb_06_0002:
Backup Management
=================
- :ref:`Creating a Manual Backup <gaussdb_06_0003>`
- :ref:`Querying Backups <gaussdb_06_0004>`
- :ref:`Querying an Automated Backup Policy <gaussdb_06_0005>`
- :ref:`Modifying an Automated Backup Policy <gaussdb_06_0006>`
- :ref:`Deleting a Manual Backup <deletegaussmysqlbackup>`
.. toctree::
:maxdepth: 1
:hidden:
creating_a_manual_backup
querying_backups
querying_an_automated_backup_policy
modifying_an_automated_backup_policy
deleting_a_manual_backup

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
:original_name: topic_300000006.html
.. _topic_300000006:
Database Proxy
==============
- :ref:`Enabling Database Proxy <creategaussmysqlproxy>`
- :ref:`Disabling Database Proxy <deletegaussmysqlproxy>`
- :ref:`Querying Database Proxy Instances <showgaussmysqlproxylist>`
- :ref:`Querying Database Proxy Specifications <showgaussmysqlproxyflavors>`
- :ref:`Adding Database Proxy Nodes <expandgaussmysqlproxy>`
- :ref:`Changing Specifications of a Database Proxy Instance <changegaussmysqlproxyspecification>`
- :ref:`Assigning Read Weights <setgaussmysqlproxyweight>`
.. toctree::
:maxdepth: 1
:hidden:
enabling_database_proxy
disabling_database_proxy
querying_database_proxy_instances
querying_database_proxy_specifications
adding_database_proxy_nodes
changing_specifications_of_a_database_proxy_instance
assigning_read_weights

View File

@ -0,0 +1,32 @@
:original_name: gaussdb_04_0000.html
.. _gaussdb_04_0000:
APIs (Recommended)
==================
- :ref:`Querying Version Information About a DB Engine <gaussdb_04_0001>`
- :ref:`Querying Database Specifications <gaussdb_04_0002>`
- :ref:`Managing DB Instances <gaussdb_04_0003>`
- :ref:`Backup Management <gaussdb_06_0002>`
- :ref:`Parameter Template Management <gaussdb_04_0008>`
- :ref:`Quota Management <gaussdb_04_0010>`
- :ref:`Database Proxy <topic_300000006>`
- :ref:`Log Management <topic_300000007>`
- :ref:`Tag Management <topic_300000009>`
- :ref:`Task Center <gaussdb_04_0014>`
.. toctree::
:maxdepth: 1
:hidden:
querying_version_information_about_a_db_engine
querying_database_specifications
managing_db_instances/index
backup_management/index
parameter_template_management/index
quota_management/index
database_proxy/index
log_management/index
tag_management/index
task_center/index

View File

@ -0,0 +1,16 @@
:original_name: topic_300000007.html
.. _topic_300000007:
Log Management
==============
- :ref:`Querying Database Error Logs <listgaussmysqlerrorlog>`
- :ref:`Querying Database Slow Logs <listgaussmysqlslowlog>`
.. toctree::
:maxdepth: 1
:hidden:
querying_database_error_logs
querying_database_slow_logs

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
:original_name: gaussdb_04_0003.html
.. _gaussdb_04_0003:
Managing DB Instances
=====================
- :ref:`Creating a DB Instance <gaussdb_04_0004>`
- :ref:`Querying DB Instances <gaussdb_04_0005>`
- :ref:`Deleting a DB Instance <gaussdb_04_0007>`
- :ref:`Querying Details of a DB Instance <gaussdb_04_0006>`
- :ref:`Creating a Read Replica <gaussdb_04_0015>`
- :ref:`Deleting a Read Replica <gaussdb_04_0016>`
- :ref:`Changing a DB Instance Name <gaussdb_04_0018>`
- :ref:`Resetting a Database Password <gaussdb_04_0019>`
- :ref:`Changing DB Instance Specifications <gaussdb_04_0020>`
- :ref:`Changing the Collection Period of Monitoring by Seconds <updateinstancemonitor>`
- :ref:`Querying the Collection Period of Monitoring by Seconds <showinstancemonitorextend>`
.. toctree::
:maxdepth: 1
:hidden:
creating_a_db_instance
querying_db_instances
deleting_a_db_instance
querying_details_of_a_db_instance
creating_a_read_replica
deleting_a_read_replica
changing_a_db_instance_name
resetting_a_database_password
changing_db_instance_specifications
changing_the_collection_period_of_monitoring_by_seconds
querying_the_collection_period_of_monitoring_by_seconds

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
:original_name: gaussdb_04_0008.html
.. _gaussdb_04_0008:
Parameter Template Management
=============================
- :ref:`Querying Parameter Templates <gaussdb_04_0009>`
.. toctree::
:maxdepth: 1
:hidden:
querying_parameter_templates

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
:original_name: gaussdb_04_0010.html
.. _gaussdb_04_0010:
Quota Management
================
- :ref:`Querying Resource Quotas <gaussdb_04_0011>`
- :ref:`Configuring Resource Quotas <gaussdb_04_0012>`
- :ref:`Modifying Resource Quotas <gaussdb_04_0013>`
- :ref:`Querying the DB Instance Quotas of a Tenant <showgaussmysqlprojectquotas>`
.. toctree::
:maxdepth: 1
:hidden:
querying_resource_quotas
configuring_resource_quotas
modifying_resource_quotas
querying_the_db_instance_quotas_of_a_tenant

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,18 @@
:original_name: topic_300000009.html
.. _topic_300000009:
Tag Management
==============
- :ref:`Querying Resource Tags <listinstancetags>`
- :ref:`Querying Project Tags <listprojecttags>`
- :ref:`Adding or Deleting Tags in Batches <batchtagaction>`
.. toctree::
:maxdepth: 1
:hidden:
querying_resource_tags
querying_project_tags
adding_or_deleting_tags_in_batches

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More