forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
776 lines
30 KiB
JSON
776 lines
30 KiB
JSON
[
|
|
{
|
|
"desc":"This document describes application programming interfaces (APIs), syntax, parameters, and examples of Document Database Service (DDS). You can search for information you",
|
|
"product_code":"dds",
|
|
"title":"Before You Start",
|
|
"uri":"dds_api_reference.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"1"
|
|
},
|
|
{
|
|
"desc":"DDS provides extension APIs, allowing you to perform specific operations using APIs.",
|
|
"product_code":"dds",
|
|
"title":"API Overview",
|
|
"uri":"dds_api_0006.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"2"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Environment Preparations",
|
|
"uri":"dds_api_0007.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"3"
|
|
},
|
|
{
|
|
"desc":"DDS supports token authentication.The validity period of a token is 24 hours. If a token needs to be used, the system caches the token to avoid frequent calling.A token s",
|
|
"product_code":"dds",
|
|
"title":"Authentication",
|
|
"uri":"dds_api_0010.html",
|
|
"doc_type":"api",
|
|
"p_code":"3",
|
|
"code":"4"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"API Calling",
|
|
"uri":"dds_api_0014.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"5"
|
|
},
|
|
{
|
|
"desc":"DDS open APIs allow users to create, view, or delete DB instances, query API versions, DB engines, DB engine versions, and DB instance class supported by the system. The ",
|
|
"product_code":"dds",
|
|
"title":"Scenarios",
|
|
"uri":"dds_api_0015.html",
|
|
"doc_type":"api",
|
|
"p_code":"5",
|
|
"code":"6"
|
|
},
|
|
{
|
|
"desc":"API requests sent by third-party applications to public cloud services must be authenticated using signatures.Public cloud APIs follow RESTful API design rules.In REST, s",
|
|
"product_code":"dds",
|
|
"title":"REST APIs",
|
|
"uri":"dds_api_0016.html",
|
|
"doc_type":"api",
|
|
"p_code":"5",
|
|
"code":"7"
|
|
},
|
|
{
|
|
"desc":"This section describes how to create a cluster instance by calling APIs.The validity period of a token obtained from IAM is 24 hours. If you want to use a token for authe",
|
|
"product_code":"dds",
|
|
"title":"Example",
|
|
"uri":"dds_api_0017.html",
|
|
"doc_type":"api",
|
|
"p_code":"5",
|
|
"code":"8"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"APIs V3.0 (Recommended)",
|
|
"uri":"dds_api_description.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"9"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Querying the API Version",
|
|
"uri":"dds_api_version.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"10"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the currently supported API version list.URI formatGET https://{Endpoint}/GET https://{Endpoint}/Parameter descriptionN/AN/ANoneParameter descri",
|
|
"product_code":"dds",
|
|
"title":"Querying the API Version List",
|
|
"uri":"dds_api_0018.html",
|
|
"doc_type":"api",
|
|
"p_code":"10",
|
|
"code":"11"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the specified API version.URI formatGET https://{Endpoint}/{version}GET https://{Endpoint}/{version}Parameter descriptionN/AN/AExample requestGE",
|
|
"product_code":"dds",
|
|
"title":"Querying API Version Information",
|
|
"uri":"dds_api_0019.html",
|
|
"doc_type":"api",
|
|
"p_code":"10",
|
|
"code":"12"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain database version information about a specified type of a DB instance.URI formatGET https://{Endpoint}/v3/{project_id}/datastores/{datastore_nam",
|
|
"product_code":"dds",
|
|
"title":"Querying Database Version Information",
|
|
"uri":"dds_database_version.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"13"
|
|
},
|
|
{
|
|
"desc":"This API is used to query all instance specifications under a specified condition.URI formatGET https://{Endpoint}/v3.1/{project_id}/flavors?engine_name={engine_name}&eng",
|
|
"product_code":"dds",
|
|
"title":"Querying Database Specifications",
|
|
"uri":"dds_instance_specification.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"14"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the database disk type in the current region.URI formatGET https://{Endpoint}/v3/{project_id}/storage-type?engine_name={engine_name}GET https://",
|
|
"product_code":"dds",
|
|
"title":"Querying the Database Disk Type",
|
|
"uri":"dds_api_0039.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"15"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"DB Instance Management",
|
|
"uri":"dds_instance_mgmt.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"16"
|
|
},
|
|
{
|
|
"desc":"This API is used to create cluster, replica set, and single node instances.URI formatPOST https://{Endpoint}/v3/{project_id}/instancesPOST https://{Endpoint}/v3/{project_",
|
|
"product_code":"dds",
|
|
"title":"Creating a DB Instance",
|
|
"uri":"dds_api_0020.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"17"
|
|
},
|
|
{
|
|
"desc":"This API is used to restart a DB instance.The DDS DB instance will be unavailable during the restart process. Exercise caution when performing this operation.If the insta",
|
|
"product_code":"dds",
|
|
"title":"Restarting a DB Instance",
|
|
"uri":"dds_api_0021.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"18"
|
|
},
|
|
{
|
|
"desc":"This API is used to delete a DB instance.URI formatDELETE https://{Endpoint}/v3/{project_id}/instances/{instance_id}DELETE https://{Endpoint}/v3/{project_id}/instances/{i",
|
|
"product_code":"dds",
|
|
"title":"Deleting a DB Instance",
|
|
"uri":"dds_api_0022.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"19"
|
|
},
|
|
{
|
|
"desc":"This API is used to query instances and details based on specified conditions.URI formatGET https://{Endpoint}/v3/{project_id}/instances?id={id}&name={name}&mode={mode}&d",
|
|
"product_code":"dds",
|
|
"title":"Querying Instances and Details",
|
|
"uri":"dds_api_0023.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"20"
|
|
},
|
|
{
|
|
"desc":"This API is used to scale up the storage space of a DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/enlarge-volumePOST https://{Endp",
|
|
"product_code":"dds",
|
|
"title":"Scaling Up Storage Space",
|
|
"uri":"dds_api_0024.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"21"
|
|
},
|
|
{
|
|
"desc":"This API is used to add nodes for a specified cluster instance.Only the mongos and shard nodes can be added.The specifications of the new node must be the same as those o",
|
|
"product_code":"dds",
|
|
"title":"Adding Nodes for a Cluster Instance",
|
|
"uri":"dds_api_0025.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"22"
|
|
},
|
|
{
|
|
"desc":"This API is used to modify the instance specifications.Services will be interrupted for 5 to 10 minutes when you modify DB instance specifications. Exercise caution when ",
|
|
"product_code":"dds",
|
|
"title":"Modifying DB Instance Specifications",
|
|
"uri":"dds_api_0026.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"23"
|
|
},
|
|
{
|
|
"desc":"This API is used to perform a primary/secondary switchover in a replica set instance.This API supports only DDS replica sets.This operation cannot be performed on frozen ",
|
|
"product_code":"dds",
|
|
"title":"Performing a Primary/Secondary Switchover in a Replica Set Instance",
|
|
"uri":"dds_api_0050.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"24"
|
|
},
|
|
{
|
|
"desc":"This API is used to enable or disable SSL.This operation cannot be performed on frozen or abnormal instances.The DB instance must be restarted to make port number modific",
|
|
"product_code":"dds",
|
|
"title":"Enabling or Disabling SSL",
|
|
"uri":"dds_api_0051.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"25"
|
|
},
|
|
{
|
|
"desc":"This API is used to modify a DB instance name.The name of the DB instance that is being created or fails to be created cannot be modified.URI formatPUT https://{Endpoint}",
|
|
"product_code":"dds",
|
|
"title":"Modifying a DB Instance Name",
|
|
"uri":"dds_api_0053.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"26"
|
|
},
|
|
{
|
|
"desc":"This API is used to change a database port.This operation cannot be performed on frozen or abnormal instances.The DB instance must be restarted to make port number modifi",
|
|
"product_code":"dds",
|
|
"title":"Changing a Database Port",
|
|
"uri":"dds_api_0054.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"27"
|
|
},
|
|
{
|
|
"desc":"This API is used to change the security group associated with a DB instance.Abnormal instances do not support this operation.Please confirm the modified security group po",
|
|
"product_code":"dds",
|
|
"title":"Changing a Security Group",
|
|
"uri":"dds_api_0055.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"28"
|
|
},
|
|
{
|
|
"desc":"This API is used to bind an EIP to a node in a DB instance.This operation cannot be performed on frozen or abnormal instances.Hidden nodes do not support this operation.M",
|
|
"product_code":"dds",
|
|
"title":"Binding an EIP",
|
|
"uri":"dds_api_0056.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"29"
|
|
},
|
|
{
|
|
"desc":"This API is used to unbind an EIP from a node in a DB instance.Frozen instances do not support this operation.This operation can be performed only on a node with an EIP a",
|
|
"product_code":"dds",
|
|
"title":"Unbinding an EIP",
|
|
"uri":"dds_api_0057.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"30"
|
|
},
|
|
{
|
|
"desc":"This API is used to change the private IP address of a DB instance.This operation cannot be performed on frozen or abnormal instances.An in-use IP address cannot be used ",
|
|
"product_code":"dds",
|
|
"title":"Changing a Private IP Address",
|
|
"uri":"dds_api_0058.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"31"
|
|
},
|
|
{
|
|
"desc":"This API is used to enable the IP addresses of shard or config nodes.Frozen instances do not support this operation.DB instances associated with the IPv6 subnet do not su",
|
|
"product_code":"dds",
|
|
"title":"Enabling Shard or Config IP Addresses",
|
|
"uri":"dds_api_0120.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"32"
|
|
},
|
|
{
|
|
"desc":"This API is used to configure cross-CIDR access for a replica set instance.Only replica set instances are supported.URI formatPOST https://{Endpoint}/v3/{project_id}/inst",
|
|
"product_code":"dds",
|
|
"title":"Configuring Cross-CIDR Access for a Replica Set",
|
|
"uri":"dds_api_0104.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"33"
|
|
},
|
|
{
|
|
"desc":"This API is used to set the recycle bin policy for an instance.URI formatPUT https://{Endpoint}/v3/{project_id}/instances/recycle-policyPUT https://{Endpoint}/v3/{project",
|
|
"product_code":"dds",
|
|
"title":"Setting the Recycle Bin Policy",
|
|
"uri":"dds_api_0138.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"34"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the recycling policy of a DB instance.URI formatGET https://{Endpoint}/v3/{project_id}/instances/recycle-policyGET https://{Endpoint}/v3/{projec",
|
|
"product_code":"dds",
|
|
"title":"Querying the Recycling Policy of a DB Instance",
|
|
"uri":"dds_api_0215.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"35"
|
|
},
|
|
{
|
|
"desc":"This API is used to query DB instances in the recycle bin.URI formatGET https://{Endpoint}/v3/{project_id}/recycle-instancesGET https://{Endpoint}/v3/{project_id}/recycle",
|
|
"product_code":"dds",
|
|
"title":"Querying DB Instances in the Recycle Bin",
|
|
"uri":"dds_api_021.html",
|
|
"doc_type":"api",
|
|
"p_code":"16",
|
|
"code":"36"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Connection Management",
|
|
"uri":"dds_connect_0001.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"37"
|
|
},
|
|
{
|
|
"desc":"This API is used to query sessions of instance nodes.Community Edition 3.4, 4.0, 4.2, and 4.4 instances are supported.URI formatGET https://{Endpoint}/v3/{project_id}/nod",
|
|
"product_code":"dds",
|
|
"title":"Querying Sessions of an Instance Node",
|
|
"uri":"dds_connect_0002.html",
|
|
"doc_type":"api",
|
|
"p_code":"37",
|
|
"code":"38"
|
|
},
|
|
{
|
|
"desc":"This API is used to kill sessions of an instance node.Community Edition 3.4, 4.0, 4.2, and 4.4 instances are supported.Inactive sessions cannot be terminated.URI formatPO",
|
|
"product_code":"dds",
|
|
"title":"Killing Sessions of an Instance Node",
|
|
"uri":"dds_connect_0003.html",
|
|
"doc_type":"api",
|
|
"p_code":"37",
|
|
"code":"39"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the number of connections from each client to DDS DB instances.Frozen instances do not support this operation.URI formatGET https://{Endpoint}/v",
|
|
"product_code":"dds",
|
|
"title":"Querying the Number of Connections to an Instance Node",
|
|
"uri":"dds_connect_0004.html",
|
|
"doc_type":"api",
|
|
"p_code":"37",
|
|
"code":"40"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Backup and Restoration",
|
|
"uri":"dds_backup_restore.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"41"
|
|
},
|
|
{
|
|
"desc":"This API is used to create a manual backup for a DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/backupsPOST https://{Endpoint}/v3/{project_id}/backupsParam",
|
|
"product_code":"dds",
|
|
"title":"Creating a Manual Backup",
|
|
"uri":"dds_api_0027.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"42"
|
|
},
|
|
{
|
|
"desc":"This API is used to delete a manual backup for a DB instance.URI formatDELETE https://{Endpoint}/v3/{project_id}/backups/{backup_id}DELETE https://{Endpoint}/v3/{project_",
|
|
"product_code":"dds",
|
|
"title":"Deleting a Manual Backup",
|
|
"uri":"dds_api_0028.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"43"
|
|
},
|
|
{
|
|
"desc":"This API is used to query backups based on specified conditions.URI formatGET https://{Endpoint}/v3/{project_id}/backups?instance_id={instance_id}&backup_id={backup_id}&b",
|
|
"product_code":"dds",
|
|
"title":"Querying the Backup List",
|
|
"uri":"dds_api_0029.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"44"
|
|
},
|
|
{
|
|
"desc":"This API is used to query an automated backup policy.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/backups/policyGET https://{Endpoint}/v3/{pro",
|
|
"product_code":"dds",
|
|
"title":"Querying an Automated Backup Policy",
|
|
"uri":"dds_api_0030.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"45"
|
|
},
|
|
{
|
|
"desc":"This API is used to set an automated backup policy.URI formatPUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/backups/policyPUT https://{Endpoint}/v3/{proje",
|
|
"product_code":"dds",
|
|
"title":"Setting an Automated Backup Policy",
|
|
"uri":"dds_api_0031.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"46"
|
|
},
|
|
{
|
|
"desc":"This API is used to restore a backup to a new DB instance.The database type of the destination DB instance must be the same as that of the source DB instance.Currently, o",
|
|
"product_code":"dds",
|
|
"title":"Restoring Data to a New DB Instance",
|
|
"uri":"dds_api_0038.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"47"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain the link for downloading a backup file.The backup download link is valid within 15 minutes after being updated.URI formatGET https://{Endpoint}",
|
|
"product_code":"dds",
|
|
"title":"Obtaining the Link for Downloading a Backup File",
|
|
"uri":"dds_api_0059.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"48"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the restoration time range of a DB instance.Currently, this API only supports replica set instances and cluster instances 4.0.URI formatGET http",
|
|
"product_code":"dds",
|
|
"title":"Querying the Restoration Time Ranges",
|
|
"uri":"dds_api_0080.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"49"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain the list of databases that can be restored.This API applies only to replica sets.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{in",
|
|
"product_code":"dds",
|
|
"title":"Obtaining the List of Databases That Can Be Restored",
|
|
"uri":"dds_api_0081.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"50"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain the list of databases collections that can be restored.This API applies only to replica sets.URI formatGET https://{Endpoint}/v3/{project_id}/i",
|
|
"product_code":"dds",
|
|
"title":"Obtaining the List of Database Collections That Can Be Restored",
|
|
"uri":"dds_api_0082.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"51"
|
|
},
|
|
{
|
|
"desc":"This API is used to restore data to the original DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/recoveryPOST https://{Endpoint}/v3/{project_id}/i",
|
|
"product_code":"dds",
|
|
"title":"Restoring Data to the Original DB Instance",
|
|
"uri":"dds_api_0083.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"52"
|
|
},
|
|
{
|
|
"desc":"This API is used to restore databases and tables at a point in time.This API applies only to replica sets.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{ins",
|
|
"product_code":"dds",
|
|
"title":"Restoring Databases and Tables to a Point in Time",
|
|
"uri":"dds_api_0084.html",
|
|
"doc_type":"api",
|
|
"p_code":"41",
|
|
"code":"53"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Parameter Configuration",
|
|
"uri":"dds_api_0085.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"54"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain parameter templates, including all databases' default parameter templates and user-created parameter templates.This API applies only to DDS Com",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Parameter Templates",
|
|
"uri":"dds_api_0088.html",
|
|
"doc_type":"api",
|
|
"p_code":"54",
|
|
"code":"55"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain parameter details of a specified parameter template.This API applies only to DDS Community Edition.URI formatGET https://{Endpoint}/v3/{project",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Details About a Parameter Template",
|
|
"uri":"dds_api_0089.html",
|
|
"doc_type":"api",
|
|
"p_code":"54",
|
|
"code":"56"
|
|
},
|
|
{
|
|
"desc":"This API is used to change a parameter template for a specified DB instance.URI formatPUT https://{Endpoint}/v3/{project_id}/configurations/{config_id}/applyPUT https://{",
|
|
"product_code":"dds",
|
|
"title":"Applying a Parameter Template",
|
|
"uri":"dds_api_0107.html",
|
|
"doc_type":"api",
|
|
"p_code":"54",
|
|
"code":"57"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain information about parameters of a specified DB instance.This API applies only to DDS Community Edition.URI formatGET https://{Endpoint}/v3/{pro",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Parameters of a Specified DB Instance",
|
|
"uri":"dds_api_0108.html",
|
|
"doc_type":"api",
|
|
"p_code":"54",
|
|
"code":"58"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Log Information Queries",
|
|
"uri":"dds_api_0092.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"59"
|
|
},
|
|
{
|
|
"desc":"This API is used to query database slow logs.A maximum of 2000 records can be queried within the period specified by start_date and end_date.URI formatGET https://{Endpoi",
|
|
"product_code":"dds",
|
|
"title":"Querying Database Slow Logs",
|
|
"uri":"dds_api_0093.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"60"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain links for downloading slow query logs.The link for downloading slow query logs is valid within 15 minutes after being updated.URI formatPOSThtt",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Links for Downloading Slow Query Logs",
|
|
"uri":"dds_api_0094.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"61"
|
|
},
|
|
{
|
|
"desc":"This API is used to query database error logs.A maximum of 2000 records can be queried within the period specified by start_date and end_date.URI formatGET https://{Endpo",
|
|
"product_code":"dds",
|
|
"title":"Querying Database Error Logs",
|
|
"uri":"dds_api_0095.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"62"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain the download link of error logs.The link for downloading error logs is valid within 15 minutes after being updated.URI formatPOST https://{Endp",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Links for Downloading Error Logs",
|
|
"uri":"dds_api_0096.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"63"
|
|
},
|
|
{
|
|
"desc":"This API is used to set a policy for SQL audit logs.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-policyPOST https://{Endpoint}/v3/{p",
|
|
"product_code":"dds",
|
|
"title":"Setting SQL Audit",
|
|
"uri":"dds_api_0097.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"64"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the policy for SQL audit logs.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-policyGET https://{Endpoint}/v3/",
|
|
"product_code":"dds",
|
|
"title":"Querying SQL Audit Policy",
|
|
"uri":"dds_api_0098.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"65"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain an audit log list.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog?start_time={start_time}&end_time={end_time}",
|
|
"product_code":"dds",
|
|
"title":"Obtaining the Audit Log List",
|
|
"uri":"dds_api_0099.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"66"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain the link for downloading audit logs.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-linksPOST https://{Endpo",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Links for Downloading Audit Logs",
|
|
"uri":"dds_api_0100.html",
|
|
"doc_type":"api",
|
|
"p_code":"59",
|
|
"code":"67"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Tag Management",
|
|
"uri":"dds_tag_mgmt.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"68"
|
|
},
|
|
{
|
|
"desc":"This API is used to query the specified DB instances by tag.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.URI formatPOST https://{Endpoin",
|
|
"product_code":"dds",
|
|
"title":"Querying Resources by Tag",
|
|
"uri":"dds_api_0032.html",
|
|
"doc_type":"api",
|
|
"p_code":"68",
|
|
"code":"69"
|
|
},
|
|
{
|
|
"desc":"This API is used to add or delete tags of the specified instance in batches.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.If the request ",
|
|
"product_code":"dds",
|
|
"title":"Adding or Deleting Resource Tags in Batches",
|
|
"uri":"dds_api_0033.html",
|
|
"doc_type":"api",
|
|
"p_code":"68",
|
|
"code":"70"
|
|
},
|
|
{
|
|
"desc":"This API is used to query tags of a specified resource.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.URI formatGET https://{Endpoint}/v3/",
|
|
"product_code":"dds",
|
|
"title":"Querying Resource Tags",
|
|
"uri":"dds_api_0034.html",
|
|
"doc_type":"api",
|
|
"p_code":"68",
|
|
"code":"71"
|
|
},
|
|
{
|
|
"desc":"This API is used to query all tags of instances in a specified project.URI formatGET https://{Endpoint}/v3/{project_id}/tagsGET https://{Endpoint}/v3/{project_id}/tagsPar",
|
|
"product_code":"dds",
|
|
"title":"Querying Tags in a Specified Project",
|
|
"uri":"dds_api_0035.html",
|
|
"doc_type":"api",
|
|
"p_code":"68",
|
|
"code":"72"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Managing Databases and Users",
|
|
"uri":"dds_api_0070.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"73"
|
|
},
|
|
{
|
|
"desc":"This API is used to change the password of a database userThis operation cannot be performed on frozen or abnormal instances.URI formatPUT https://{Endpoint}/v3/{project_",
|
|
"product_code":"dds",
|
|
"title":"Changing the Password of a Database User",
|
|
"uri":"dds_api_0075.html",
|
|
"doc_type":"api",
|
|
"p_code":"73",
|
|
"code":"74"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Task Management",
|
|
"uri":"dds_api_0117.html",
|
|
"doc_type":"api",
|
|
"p_code":"9",
|
|
"code":"75"
|
|
},
|
|
{
|
|
"desc":"This API is used to obtain information about a task with a specified ID in the task center.Currently, only asynchronous tasks in the task center of DDS Community Edition ",
|
|
"product_code":"dds",
|
|
"title":"Obtaining Information About a Task with a Specified ID",
|
|
"uri":"dds_api_0118.html",
|
|
"doc_type":"api",
|
|
"p_code":"75",
|
|
"code":"76"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Permissions Policies and Supported Actions",
|
|
"uri":"dds_api_permission.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"77"
|
|
},
|
|
{
|
|
"desc":"This chapter describes fine-grained permissions management for your DDS. If your account does not need individual IAM users, then you may skip over this chapter.By defaul",
|
|
"product_code":"dds",
|
|
"title":"Introduction",
|
|
"uri":"dds_api_0036.html",
|
|
"doc_type":"api",
|
|
"p_code":"77",
|
|
"code":"78"
|
|
},
|
|
{
|
|
"desc":"The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.",
|
|
"product_code":"dds",
|
|
"title":"DDS Actions",
|
|
"uri":"dds_api_0037.html",
|
|
"doc_type":"api",
|
|
"p_code":"77",
|
|
"code":"79"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Appendix",
|
|
"uri":"dds_public_parameters.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"80"
|
|
},
|
|
{
|
|
"desc":"Abnormal responsesParameter descriptionNameTypeDescriptionerror_codeStringSpecifies the error returned when a task submission exception occurs.error_msgStringSpecifies th",
|
|
"product_code":"dds",
|
|
"title":"Abnormal Request Results",
|
|
"uri":"dds_api_0060.html",
|
|
"doc_type":"api",
|
|
"p_code":"80",
|
|
"code":"81"
|
|
},
|
|
{
|
|
"desc":"NormalStatus CodeMessageDescription200OKRequest succeeded.202AcceptedAsynchronous request submitted successfully.AbnormalStatus CodeMessageDescription400Bad RequestInvali",
|
|
"product_code":"dds",
|
|
"title":"Status Code",
|
|
"uri":"dds_status_code.html",
|
|
"doc_type":"api",
|
|
"p_code":"80",
|
|
"code":"82"
|
|
},
|
|
{
|
|
"desc":"If an error occurs in an API, no result is returned. You can locate the error cause based on the error codes of each API. When the invocation fails, an HTTP status code i",
|
|
"product_code":"dds",
|
|
"title":"Error Code",
|
|
"uri":"dds_error_code.html",
|
|
"doc_type":"api",
|
|
"p_code":"80",
|
|
"code":"83"
|
|
},
|
|
{
|
|
"desc":"A project ID is required for some URLs when an API is called. To obtain the project ID:Obtaining the Project ID by Calling an APIObtain a Project ID from the ConsoleThe A",
|
|
"product_code":"dds",
|
|
"title":"Obtaining a Project ID",
|
|
"uri":"dds_projectid.html",
|
|
"doc_type":"api",
|
|
"p_code":"80",
|
|
"code":"84"
|
|
},
|
|
{
|
|
"desc":"This section describes metrics reported by Document Database Service (DDS) to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye",
|
|
"product_code":"dds",
|
|
"title":"DDS Metrics",
|
|
"uri":"dds_metrics.html",
|
|
"doc_type":"api",
|
|
"p_code":"80",
|
|
"code":"85"
|
|
},
|
|
{
|
|
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
|
"product_code":"dds",
|
|
"title":"Change History",
|
|
"uri":"dds_change_history.html",
|
|
"doc_type":"api",
|
|
"p_code":"",
|
|
"code":"86"
|
|
}
|
|
] |