diff --git a/docs/dms/api-ref/ALL_META.TXT.json b/docs/dms/api-ref/ALL_META.TXT.json index 2f88721a..082f371b 100644 --- a/docs/dms/api-ref/ALL_META.TXT.json +++ b/docs/dms/api-ref/ALL_META.TXT.json @@ -63,7 +63,7 @@ "node_id":"createinstancebyengine.xml", "product_code":"dms", "code":"4", - "des":"This API is used to create a pay-per-use or yearly/monthly-billed instance.POST /v2/{engine}/{project_id}/instancesStatus code: 200Creating a pay-per-use Kafka instance w", + "des":"This API is used to create an instance.Pay-per-use and yearly/monthly billing modes are supported.POST /v2/{engine}/{project_id}/instancesStatus code: 200Creating a pay-p", "doc_type":"api", "kw":"Creating an Instance,Lifecycle Management,API Reference", "search_title":"", @@ -483,7 +483,7 @@ "code":"25", "des":"This API is used to delete multiple consumer groups of a Kafka instance in batches.POST /v2/{project_id}/instances/{instance_id}/groups/batch-deleteStatus code: 200Batch ", "doc_type":"api", - "kw":"Batch Deleting Consumer Groups of a Kafka Instance,Instance Management,API Reference", + "kw":"Deleting Consumer Groups of a Kafka Instance in Batches,Instance Management,API Reference", "search_title":"", "metedata":[ { @@ -493,7 +493,7 @@ "operation_id":"BatchDeleteGroup" } ], - "title":"Batch Deleting Consumer Groups of a Kafka Instance", + "title":"Deleting Consumer Groups of a Kafka Instance in Batches", "githuburl":"" }, { @@ -501,7 +501,7 @@ "node_id":"createkafkaconsumergroup.xml", "product_code":"dms", "code":"26", - "des":"This API is used to create a consumer group.POST /v2/{project_id}/kafka/instances/{instance_id}/groupStatus code: 400Creating a consumer group named testStatus code: 200C", + "des":"This API is used to create a consumer group.POST /v2/{project_id}/kafka/instances/{instance_id}/groupStatus code: 200Status code: 400Creating a consumer group named testS", "doc_type":"api", "kw":"Creating a Consumer Group,Instance Management,API Reference", "search_title":"", @@ -536,11 +536,209 @@ "title":"Initiating Partition Reassigning for a Kafka Instance", "githuburl":"" }, + { + "uri":"topic_300000011.html", + "node_id":"topic_300000011.xml", + "product_code":"dms", + "code":"28", + "des":"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.", + "doc_type":"api", + "kw":"Smart Connect", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dms" + } + ], + "title":"Smart Connect", + "githuburl":"" + }, + { + "uri":"CreateConnector.html", + "node_id":"createconnector.xml", + "product_code":"dms", + "code":"29", + "des":"This API is used to enable Smart Connect so you can create a connector.POST /v2/{project_id}/instances/{instance_id}/connectorStatus code: 200To enable Smart Connect for ", + "doc_type":"api", + "kw":"Enabling Smart Connect (Pay-per-Use Instance),Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"CreateConnector" + } + ], + "title":"Enabling Smart Connect (Pay-per-Use Instance)", + "githuburl":"" + }, + { + "uri":"DeleteConnector.html", + "node_id":"deleteconnector.xml", + "product_code":"dms", + "code":"30", + "des":"This API is used to disable Smart Connect for a pay-per-use instance.POST /v2/{project_id}/kafka/instances/{instance_id}/delete-connectorNoneStatus code: 200Status code: ", + "doc_type":"api", + "kw":"Disabling Smart Connect (Pay-per-Use Instance),Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"DeleteConnector" + } + ], + "title":"Disabling Smart Connect (Pay-per-Use Instance)", + "githuburl":"" + }, + { + "uri":"CreateConnectorTask.html", + "node_id":"createconnectortask.xml", + "product_code":"dms", + "code":"31", + "des":"This API is used to create a Smart Connect task.POST /v2/{project_id}/instances/{instance_id}/connector/tasksStatus code: 200Creating a dumping task that starts immediate", + "doc_type":"api", + "kw":"Creating a Smart Connect Task,Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"CreateConnectorTask" + } + ], + "title":"Creating a Smart Connect Task", + "githuburl":"" + }, + { + "uri":"ListConnectorTasks.html", + "node_id":"listconnectortasks.xml", + "product_code":"dms", + "code":"32", + "des":"This API is used to query Smart Connect tasks.GET /v2/{project_id}/instances/{instance_id}/connector/tasksNoneStatus code: 200NoneStatus code: 200Successful.See Error Cod", + "doc_type":"api", + "kw":"Querying Smart Connect Tasks,Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"ListConnectorTasks" + } + ], + "title":"Querying Smart Connect Tasks", + "githuburl":"" + }, + { + "uri":"ShowConnectorTask.html", + "node_id":"showconnectortask.xml", + "product_code":"dms", + "code":"33", + "des":"This API is used to query Smart Connect task details.GET /v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id}NoneStatus code: 200NoneStatus code: 200Success", + "doc_type":"api", + "kw":"Querying Smart Connect Task Details,Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"ShowConnectorTask" + } + ], + "title":"Querying Smart Connect Task Details", + "githuburl":"" + }, + { + "uri":"DeleteConnectorTask.html", + "node_id":"deleteconnectortask.xml", + "product_code":"dms", + "code":"34", + "des":"This API is used to delete a Smart Connect task.DELETE /v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id}NoneNoneNoneSee Error Codes.", + "doc_type":"api", + "kw":"Deleting a Smart Connect Task,Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"DeleteConnectorTask" + } + ], + "title":"Deleting a Smart Connect Task", + "githuburl":"" + }, + { + "uri":"PauseConnectorTask.html", + "node_id":"pauseconnectortask.xml", + "product_code":"dms", + "code":"35", + "des":"This API is used to pause a Smart Connect task.PUT /v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id}/pauseNoneNoneNoneSee Error Codes.", + "doc_type":"api", + "kw":"Pausing a Smart Connect Task,Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"PauseConnectorTask" + } + ], + "title":"Pausing a Smart Connect Task", + "githuburl":"" + }, + { + "uri":"ResumeConnectorTask.html", + "node_id":"resumeconnectortask.xml", + "product_code":"dms", + "code":"36", + "des":"This API is used to restart a Smart Connect task.PUT /v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id}/resumeNoneNoneNoneSee Error Codes.", + "doc_type":"api", + "kw":"Restarting a Smart Connect Task,Smart Connect,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"ResumeConnectorTask" + } + ], + "title":"Restarting a Smart Connect Task", + "githuburl":"" + }, + { + "uri":"RestartConnectorTask.html", + "node_id":"restartconnectortask.xml", + "product_code":"dms", + "code":"37", + "des":"This API is used to start a Smart Connect task or restart a paused or running Smart Connect task. Note that the sync progress will reset and the task will restart.PUT /v2", + "doc_type":"api", + "kw":"Starting a Smart Connect Task or Restarting a Paused or Running Smart Connect Task,Smart Connect,API", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dms", + "operation_id":"RestartConnectorTask" + } + ], + "title":"Starting a Smart Connect Task or Restarting a Paused or Running Smart Connect Task", + "githuburl":"" + }, { "uri":"topic_300000003.html", "node_id":"topic_300000003.xml", "product_code":"dms", - "code":"28", + "code":"38", "des":"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.", "doc_type":"api", "kw":"Specification Modification Management", @@ -558,7 +756,7 @@ "uri":"ResizeEngineInstance.html", "node_id":"resizeengineinstance.xml", "product_code":"dms", - "code":"29", + "code":"39", "des":"This API is used to modify instance specifications.POST /v2/{engine}/{project_id}/instances/{instance_id}/extendStatus code: 200Expanding the storage space (pay-per-use)P", "doc_type":"api", "kw":"Increasing Instance Specifications,Specification Modification Management,API Reference", @@ -578,7 +776,7 @@ "uri":"ShowEngineInstanceExtendProductInfo.html", "node_id":"showengineinstanceextendproductinfo.xml", "product_code":"dms", - "code":"30", + "code":"40", "des":"This API is used to query the product information for instance specification modification.GET /v2/{engine}/{project_id}/instances/{instance_id}/extendNoneStatus code: 200", "doc_type":"api", "kw":"Querying Product Information for Instance Specification Modification,Specification Modification Mana", @@ -598,7 +796,7 @@ "uri":"topic_300000004.html", "node_id":"topic_300000004.xml", "product_code":"dms", - "code":"31", + "code":"41", "des":"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.", "doc_type":"api", "kw":"Topic Management", @@ -616,7 +814,7 @@ "uri":"CreateInstanceTopic.html", "node_id":"createinstancetopic.xml", "product_code":"dms", - "code":"32", + "code":"42", "des":"This API is used to create a topic for a Kafka instance.POST /v2/{project_id}/instances/{instance_id}/topicsStatus code: 200Creating a topic named test01Status code: 200S", "doc_type":"api", "kw":"Creating a Topic for a Kafka Instance,Topic Management,API Reference", @@ -636,7 +834,7 @@ "uri":"ListInstanceTopics.html", "node_id":"listinstancetopics.xml", "product_code":"dms", - "code":"33", + "code":"43", "des":"This API is used to query details about topics of a Kafka instance.GET /v2/{project_id}/instances/{instance_id}/topicsNoneStatus code: 200Querying the topic listStatus co", "doc_type":"api", "kw":"Listing Topics of a Kafka Instance,Topic Management,API Reference", @@ -656,7 +854,7 @@ "uri":"UpdateInstanceTopic.html", "node_id":"updateinstancetopic.xml", "product_code":"dms", - "code":"34", + "code":"44", "des":"This API is used to modify topics of a Kafka instance.PUT /v2/{project_id}/instances/{instance_id}/topicsNoneModifying parameters of topic-1284340884. Specifically, chang", "doc_type":"api", "kw":"Modifying Topics of a Kafka Instance,Topic Management,API Reference", @@ -676,7 +874,7 @@ "uri":"BatchDeleteInstanceTopic.html", "node_id":"batchdeleteinstancetopic.xml", "product_code":"dms", - "code":"35", + "code":"45", "des":"This API is used to delete multiple topics of a Kafka instance in batches. If some topics are deleted successfully while some fail to be deleted, a success response is re", "doc_type":"api", "kw":"Batch Deleting Topics of a Kafka Instance,Topic Management,API Reference", @@ -696,7 +894,7 @@ "uri":"ListTopicPartitions.html", "node_id":"listtopicpartitions.xml", "product_code":"dms", - "code":"36", + "code":"46", "des":"This API is used to query the partition list of a topic.GET /v2/{project_id}/kafka/instances/{instance_id}/topics/{topic}/partitionsNoneStatus code: 200Querying the parti", "doc_type":"api", "kw":"Querying the Partition List of a Topic,Topic Management,API Reference", @@ -716,7 +914,7 @@ "uri":"ListTopicProducers.html", "node_id":"listtopicproducers.xml", "product_code":"dms", - "code":"37", + "code":"47", "des":"This API is used to query the current producer list of a topic.GET /v2/{project_id}/kafka/instances/{instance_id}/topics/{topic}/producersNoneStatus code: 200Querying the", "doc_type":"api", "kw":"Querying the Current Producer List of a Topic,Topic Management,API Reference", @@ -736,7 +934,7 @@ "uri":"ShowInstanceTopicDetail.html", "node_id":"showinstancetopicdetail.xml", "product_code":"dms", - "code":"38", + "code":"48", "des":"This API is used to query topic details of a Kafka instance. (Up to 1s for each instance call)GET /v2/{project_id}/instances/{instance_id}/management/topics/{topic}NoneSt", "doc_type":"api", "kw":"Querying Topic Details,Topic Management,API Reference", @@ -756,7 +954,7 @@ "uri":"topic_300000005.html", "node_id":"topic_300000005.xml", "product_code":"dms", - "code":"39", + "code":"49", "des":"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.", "doc_type":"api", "kw":"User Management", @@ -774,7 +972,7 @@ "uri":"ShowInstanceUsers.html", "node_id":"showinstanceusers.xml", "product_code":"dms", - "code":"40", + "code":"50", "des":"This API is used to query the user list.User management is supported only when SASL is enabled for the Kafka instance.GET /v2/{project_id}/instances/{instance_id}/usersNo", "doc_type":"api", "kw":"Querying the User List,User Management,API Reference", @@ -794,7 +992,7 @@ "uri":"CreateInstanceUser.html", "node_id":"createinstanceuser.xml", "product_code":"dms", - "code":"41", + "code":"51", "des":"This API is used to create a user for a Kafka instance for which SASL is enabled.POST /v2/{project_id}/instances/{instance_id}/usersStatus code: 400Status code: 403Creati", "doc_type":"api", "kw":"Creating a User,User Management,API Reference", @@ -814,7 +1012,7 @@ "uri":"BatchDeleteInstanceUsers.html", "node_id":"batchdeleteinstanceusers.xml", "product_code":"dms", - "code":"42", + "code":"52", "des":"This API is used to delete multiple users of a Kafka instance.PUT /v2/{project_id}/instances/{instance_id}/usersNoneDeleting users in batches.NoneSee Error Codes.", "doc_type":"api", "kw":"Deleting Users in Batches,User Management,API Reference", @@ -834,7 +1032,7 @@ "uri":"ResetUserPasswrod.html", "node_id":"resetuserpasswrod.xml", "product_code":"dms", - "code":"43", + "code":"53", "des":"This API is used to reset a user password.PUT /v2/{project_id}/instances/{instance_id}/users/{user_name}NoneResetting a user password.NoneSee Error Codes.", "doc_type":"api", "kw":"Resetting a User Password,User Management,API Reference", @@ -854,7 +1052,7 @@ "uri":"ShowTopicAccessPolicy.html", "node_id":"showtopicaccesspolicy.xml", "product_code":"dms", - "code":"44", + "code":"54", "des":"This API is used to query user permissions.User management is supported only when SASL is enabled for the Kafka instance.GET /v1/{project_id}/instances/{instance_id}/topi", "doc_type":"api", "kw":"Querying User Permissions,User Management,API Reference", @@ -874,7 +1072,7 @@ "uri":"UpdateTopicAccessPolicy.html", "node_id":"updatetopicaccesspolicy.xml", "product_code":"dms", - "code":"45", + "code":"55", "des":"This API is used to grant user permissions.User management is supported only when SASL is enabled for the Kafka instance.POST /v1/{project_id}/instances/{instance_id}/top", "doc_type":"api", "kw":"Granting User Permissions,User Management,API Reference", @@ -894,7 +1092,7 @@ "uri":"topic_300000006.html", "node_id":"topic_300000006.xml", "product_code":"dms", - "code":"46", + "code":"56", "des":"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.", "doc_type":"api", "kw":"Message Query", @@ -912,8 +1110,8 @@ "uri":"ShowInstanceMessages.html", "node_id":"showinstancemessages.xml", "product_code":"dms", - "code":"47", - "des":"This API is used to query the offset and content of a message. This API queries the message offset based on the timestamp and then queries the message content based on th", + "code":"57", + "des":"This API is used to query the offset and content of a message.This API queries the message offset based on the timestamp and then queries the message content based on the", "doc_type":"api", "kw":"Querying Messages,Message Query,API Reference", "search_title":"", @@ -932,7 +1130,7 @@ "uri":"ShowPartitionMessage.html", "node_id":"showpartitionmessage.xml", "product_code":"dms", - "code":"48", + "code":"58", "des":"This API is used to query a message with a specified offset.GET /v2/{project_id}/instances/{instance_id}/management/topics/{topic}/partitions/{partition}/messageNoneStatu", "doc_type":"api", "kw":"Querying a Message with a Specified Offset,Message Query,API Reference", @@ -952,7 +1150,7 @@ "uri":"ShowMessages.html", "node_id":"showmessages.xml", "product_code":"dms", - "code":"49", + "code":"59", "des":"This API is used to query a message with a specified time period.GET /v2/{project_id}/instances/{instance_id}/management/topics/{topic}/messagesNoneStatus code: 200Status", "doc_type":"api", "kw":"Querying a Message with a Specified Time Period,Message Query,API Reference", @@ -972,7 +1170,7 @@ "uri":"ShowPartitionBeginningMessage.html", "node_id":"showpartitionbeginningmessage.xml", "product_code":"dms", - "code":"50", + "code":"60", "des":"This API is used to query the offset of the earliest message in a partition.GET /v2/{project_id}/instances/{instance_id}/management/topics/{topic}/partitions/{partition}/", "doc_type":"api", "kw":"Querying Offset of the Earliest Message in a Partition,Message Query,API Reference", @@ -992,7 +1190,7 @@ "uri":"ShowPartitionEndMessage.html", "node_id":"showpartitionendmessage.xml", "product_code":"dms", - "code":"51", + "code":"61", "des":"This API is used to query the offset of the latest message in a partition.GET /v2/{project_id}/instances/{instance_id}/management/topics/{topic}/partitions/{partition}/en", "doc_type":"api", "kw":"Querying Offset of the Latest Message in a Partition,Message Query,API Reference", @@ -1012,7 +1210,7 @@ "uri":"topic_300000007.html", "node_id":"topic_300000007.xml", "product_code":"dms", - "code":"52", + "code":"62", "des":"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.", "doc_type":"api", "kw":"Background Task Management", @@ -1030,7 +1228,7 @@ "uri":"ListBackgroundTasks.html", "node_id":"listbackgroundtasks.xml", "product_code":"dms", - "code":"53", + "code":"63", "des":"This API is used to list background tasks of an instance.GET /v2/{project_id}/instances/{instance_id}/tasksNoneStatus code: 200Status code: 200Background tasks are listed", "doc_type":"api", "kw":"Listing Background Tasks,Background Task Management,API Reference", @@ -1050,7 +1248,7 @@ "uri":"ShowBackgroundTask.html", "node_id":"showbackgroundtask.xml", "product_code":"dms", - "code":"54", + "code":"64", "des":"This API is used to query a specified background task.GET /v2/{project_id}/instances/{instance_id}/tasks/{task_id}NoneStatus code: 200Status code: 200The query is success", "doc_type":"api", "kw":"Querying a Background Task,Background Task Management,API Reference", @@ -1070,7 +1268,7 @@ "uri":"DeleteBackgroundTask.html", "node_id":"deletebackgroundtask.xml", "product_code":"dms", - "code":"55", + "code":"65", "des":"This API is used to delete a specified background task.DELETE /v2/{project_id}/instances/{instance_id}/tasks/{task_id}NoneNoneDeleting a specified background taskNoneSee ", "doc_type":"api", "kw":"Deleting a Background Task,Background Task Management,API Reference", @@ -1090,7 +1288,7 @@ "uri":"topic_300000008.html", "node_id":"topic_300000008.xml", "product_code":"dms", - "code":"56", + "code":"66", "des":"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.", "doc_type":"api", "kw":"Tag Management", @@ -1108,7 +1306,7 @@ "uri":"BatchCreateOrDeleteKafkaTag.html", "node_id":"batchcreateordeletekafkatag.xml", "product_code":"dms", - "code":"57", + "code":"67", "des":"This API is used to add or delete instance tags in batches.POST /v2/{project_id}/kafka/{instance_id}/tags/actionNoneCreating instance tags with tag keys key1 and key2 and", "doc_type":"api", "kw":"Batch Adding or Deleting Tags,Tag Management,API Reference", @@ -1128,7 +1326,7 @@ "uri":"ShowKafkaTags.html", "node_id":"showkafkatags.xml", "product_code":"dms", - "code":"58", + "code":"68", "des":"This API is used to query instance tags.GET /v2/{project_id}/kafka/{instance_id}/tagsNoneStatus code: 200Status code: 200The instance tags are listed successfully.See Err", "doc_type":"api", "kw":"Listing Tags of an Instance,Tag Management,API Reference", @@ -1148,7 +1346,7 @@ "uri":"ShowKafkaProjectTags.html", "node_id":"showkafkaprojecttags.xml", "product_code":"dms", - "code":"59", + "code":"69", "des":"This API is used to query project tags.GET /v2/{project_id}/kafka/tagsNoneStatus code: 200Status code: 200The project tags are listed successfully.See Error Codes.", "doc_type":"api", "kw":"Listing Tags of a Project,Tag Management,API Reference", @@ -1168,7 +1366,7 @@ "uri":"topic_300000009.html", "node_id":"topic_300000009.xml", "product_code":"dms", - "code":"60", + "code":"70", "des":"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.", "doc_type":"api", "kw":"Other APIs", @@ -1186,7 +1384,7 @@ "uri":"ShowMaintainWindows.html", "node_id":"showmaintainwindows.xml", "product_code":"dms", - "code":"61", + "code":"71", "des":"This API is used to query the start time and end time of maintenance time windows.GET /v2/instances/maintain-windowsNoneStatus code: 200Status code: 200Query succeeded.Se", "doc_type":"api", "kw":"Listing Maintenance Time Windows,Other APIs,API Reference", @@ -1206,7 +1404,7 @@ "uri":"ListAvailableZones.html", "node_id":"listavailablezones.xml", "product_code":"dms", - "code":"62", + "code":"72", "des":"This API is used to query the AZ ID for creating an instance.GET /v2/available-zonesNoneStatus code: 200Status code: 200The AZ information is queried successfully.The ins", "doc_type":"api", "kw":"Listing AZ Information,Other APIs,API Reference", @@ -1226,7 +1424,7 @@ "uri":"ListEngineProducts.html", "node_id":"listengineproducts.xml", "product_code":"dms", - "code":"63", + "code":"73", "des":"This API is used to query the product specifications list.GET /v2/{engine}/productsNoneStatus code: 200Status code: 200The product specifications are listed successfully.", "doc_type":"api", "kw":"Querying Product Specifications List,Other APIs,API Reference", @@ -1246,7 +1444,7 @@ "uri":"ShowCesHierarchy.html", "node_id":"showceshierarchy.xml", "product_code":"dms", - "code":"64", + "code":"74", "des":"This API is used to query Kafka instance monitoring dimensions.GET /v2/{project_id}/instances/{instance_id}/ces-hierarchyNoneStatus code: 200Status code: 200Query succeed", "doc_type":"api", "kw":"Querying Kafka Instance Monitoring Dimensions,Other APIs,API Reference", @@ -1266,7 +1464,7 @@ "uri":"api-grant-policy.html", "node_id":"api-grant-policy.xml", "product_code":"kafka", - "code":"65", + "code":"75", "des":"This chapter describes fine-grained permissions management for your Kafka instances. If your account does not need individual IAM users, then you may skip over this chapt", "doc_type":"api", "kw":"Permissions and Supported Actions,API Reference", @@ -1285,7 +1483,7 @@ "uri":"kafka-api-0001.html", "node_id":"kafka-api-0001.xml", "product_code":"kafka", - "code":"66", + "code":"76", "des":"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.", "doc_type":"api", "kw":"Out-of-Date APIs", @@ -1304,7 +1502,7 @@ "uri":"kafka-api-0002.html", "node_id":"kafka-api-0002.xml", "product_code":"kafka", - "code":"67", + "code":"77", "des":"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.", "doc_type":"api", "kw":"API V1", @@ -1323,7 +1521,7 @@ "uri":"kafka-api-180514001.html", "node_id":"kafka-api-180514001.xml", "product_code":"kafka", - "code":"68", + "code":"78", "des":"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.", "doc_type":"api", "kw":"APIs for Managing Instances", @@ -1342,7 +1540,7 @@ "uri":"kafka-api-180514002.html", "node_id":"kafka-api-180514002.xml", "product_code":"kafka", - "code":"69", + "code":"79", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Creating an Instance.This API is used to create a Kafka instance.POST /v1", "doc_type":"api", "kw":"Creating an Instance,APIs for Managing Instances,API Reference", @@ -1361,7 +1559,7 @@ "uri":"kafka-api-180514003.html", "node_id":"kafka-api-180514003.xml", "product_code":"kafka", - "code":"70", + "code":"80", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Querying an Instance.This API is used to query the details about an insta", "doc_type":"api", "kw":"Querying an Instance,APIs for Managing Instances,API Reference", @@ -1380,7 +1578,7 @@ "uri":"kafka-api-180514004.html", "node_id":"kafka-api-180514004.xml", "product_code":"kafka", - "code":"71", + "code":"81", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Modifying Instance Information.This API is used to modify the instance in", "doc_type":"api", "kw":"Modifying an Instance,APIs for Managing Instances,API Reference", @@ -1399,7 +1597,7 @@ "uri":"kafka-api-180514005.html", "node_id":"kafka-api-180514005.xml", "product_code":"kafka", - "code":"72", + "code":"82", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Deleting an Instance.This API is used to delete an instance to release al", "doc_type":"api", "kw":"Deleting an Instance,APIs for Managing Instances,API Reference", @@ -1418,7 +1616,7 @@ "uri":"kafka-api-180514006.html", "node_id":"kafka-api-180514006.xml", "product_code":"kafka", - "code":"73", + "code":"83", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Batch Restarting or Deleting Instances.This API is used to restart or del", "doc_type":"api", "kw":"Restarting or Deleting Instances in Batches,APIs for Managing Instances,API Reference", @@ -1437,7 +1635,7 @@ "uri":"kafka-api-180514007.html", "node_id":"kafka-api-180514007.xml", "product_code":"kafka", - "code":"74", + "code":"84", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Listing All Instances.This API is used to query the instances of a tenant", "doc_type":"api", "kw":"Querying All Instances,APIs for Managing Instances,API Reference", @@ -1456,7 +1654,7 @@ "uri":"kafka-api-180614001.html", "node_id":"kafka-api-180614001.xml", "product_code":"kafka", - "code":"75", + "code":"85", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Creating a Topic for a Kafka Instance.This API is used to create a topic ", "doc_type":"api", "kw":"Creating a Topic in a Kafka Instance,APIs for Managing Instances,API Reference", @@ -1475,7 +1673,7 @@ "uri":"kafka-api-180614002.html", "node_id":"kafka-api-180614002.xml", "product_code":"kafka", - "code":"76", + "code":"86", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Listing Topics of a Kafka Instance.This API is used to query details abou", "doc_type":"api", "kw":"Querying a Topic in a Kafka Instance,APIs for Managing Instances,API Reference", @@ -1494,7 +1692,7 @@ "uri":"kafka-api-180614003.html", "node_id":"kafka-api-180614003.xml", "product_code":"kafka", - "code":"77", + "code":"87", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Batch Deleting Topics of a Kafka Instance.This API is used to delete topi", "doc_type":"api", "kw":"Deleting Topics in a Kafka Instance in Batches,APIs for Managing Instances,API Reference", @@ -1513,7 +1711,7 @@ "uri":"kafka-api-190605002.html", "node_id":"kafka-api-190605002.xml", "product_code":"kafka", - "code":"78", + "code":"88", "des":"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.", "doc_type":"api", "kw":"Other APIs", @@ -1532,7 +1730,7 @@ "uri":"kafka-api-180514008.html", "node_id":"kafka-api-180514008.xml", "product_code":"kafka", - "code":"79", + "code":"89", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Listing AZ Information.This API is used to query the AZ ID.GET /v1.0/avai", "doc_type":"api", "kw":"Querying AZ Information,Other APIs,API Reference", @@ -1551,7 +1749,7 @@ "uri":"kafka-api-180514009.html", "node_id":"kafka-api-180514009.xml", "product_code":"kafka", - "code":"80", + "code":"90", "des":"This API is out-of-date and may not be maintained in the future.This API is used to query the product specifications to configure the product ID.GET /v1.0/products?engine", "doc_type":"api", "kw":"Querying Product Specifications,Other APIs,API Reference", @@ -1570,7 +1768,7 @@ "uri":"kafka-api-180514010.html", "node_id":"kafka-api-180514010.xml", "product_code":"kafka", - "code":"81", + "code":"91", "des":"This API is out-of-date and may not be maintained in the future. Please use the API described in Listing Maintenance Time Windows.This API is used to query the start and ", "doc_type":"api", "kw":"Querying Maintenance Time Windows,Other APIs,API Reference", @@ -1589,7 +1787,7 @@ "uri":"kafka-api-0003.html", "node_id":"kafka-api-0003.xml", "product_code":"kafka", - "code":"82", + "code":"92", "des":"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.", "doc_type":"api", "kw":"API V2", @@ -1607,7 +1805,7 @@ "uri":"CreatePostPaidInstance.html", "node_id":"createpostpaidinstance.xml", "product_code":"dms", - "code":"83", + "code":"93", "des":"This API is used to create a Kafka instance.This API is out-of-date and may not be maintained in the future. Please use the API described in Creating an Instance.POST /v2", "doc_type":"api", "kw":"Creating an Instance,API V2,API Reference", @@ -1625,7 +1823,7 @@ "uri":"CreatePartition.html", "node_id":"createpartition.xml", "product_code":"kafka", - "code":"84", + "code":"94", "des":"This API is used to add partitions to a topic for a Kafka instance.This API is out-of-date and may not be maintained in the future. Please use the API described in Modify", "doc_type":"api", "kw":"Adding Partitions to a Topic for a Kafka Instance,API V2,API Reference", @@ -1644,7 +1842,7 @@ "uri":"kafka-api-180514011.html", "node_id":"kafka-api-180514011.xml", "product_code":"kafka", - "code":"85", + "code":"95", "des":"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.", "doc_type":"api", "kw":"Appendix", @@ -1663,7 +1861,7 @@ "uri":"kafka-api-0034672261.html", "node_id":"kafka-api-0034672261.xml", "product_code":"kafka", - "code":"86", + "code":"96", "des":"Table 1 lists status codes.", "doc_type":"api", "kw":"Status Code,Appendix,API Reference", @@ -1682,7 +1880,7 @@ "uri":"ErrorCode.html", "node_id":"errorcode_1.xml", "product_code":"kafka", - "code":"87", + "code":"97", "des":"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.", "doc_type":"api", "kw":"Error Codes,Appendix,API Reference", @@ -1701,7 +1899,7 @@ "uri":"kafka-api-180514012.html", "node_id":"kafka-api-180514012.xml", "product_code":"kafka", - "code":"88", + "code":"98", "des":"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.", "doc_type":"api", "kw":"Instance Status,Appendix,API Reference", @@ -1720,7 +1918,7 @@ "uri":"kafka-api-0036212547.html", "node_id":"kafka-api-0036212547.xml", "product_code":"kafka", - "code":"89", + "code":"99", "des":"A project ID is required for some URLs when an API is called. Obtain a project ID using either of the following methods:Obtaining a Project ID by Calling an APIObtaining ", "doc_type":"api", "kw":"Obtaining a Project ID,Appendix,API Reference", @@ -1739,7 +1937,7 @@ "uri":"kafka-api-0034672268.html", "node_id":"kafka-api-0034672268.xml", "product_code":"kafka", - "code":"90", + "code":"100", "des":"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.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/dms/api-ref/BatchCreateOrDeleteKafkaTag.html b/docs/dms/api-ref/BatchCreateOrDeleteKafkaTag.html index 19d44f69..8a034e51 100644 --- a/docs/dms/api-ref/BatchCreateOrDeleteKafkaTag.html +++ b/docs/dms/api-ref/BatchCreateOrDeleteKafkaTag.html @@ -1,7 +1,7 @@
This API is used to add or delete instance tags in batches.
+This API is used to add or delete instance tags in batches.
POST /v2/{project_id}/kafka/{instance_id}/tags/action
@@ -89,7 +89,7 @@String
Tag key, which:
+Tag key.
Must be specified.
Must be unique for the same instance.
Can contain 1 to 128 characters.
diff --git a/docs/dms/api-ref/BatchDeleteGroup.html b/docs/dms/api-ref/BatchDeleteGroup.html index 139c881e..d3f797d0 100644 --- a/docs/dms/api-ref/BatchDeleteGroup.html +++ b/docs/dms/api-ref/BatchDeleteGroup.html @@ -1,7 +1,7 @@ -This API is used to delete multiple consumer groups of a Kafka instance in batches.
+This API is used to delete multiple consumer groups of a Kafka instance in batches.
POST /v2/{project_id}/instances/{instance_id}/groups/batch-delete
diff --git a/docs/dms/api-ref/BatchDeleteInstanceTopic.html b/docs/dms/api-ref/BatchDeleteInstanceTopic.html index d7eb64b2..efe41f05 100644 --- a/docs/dms/api-ref/BatchDeleteInstanceTopic.html +++ b/docs/dms/api-ref/BatchDeleteInstanceTopic.html @@ -1,7 +1,7 @@This API is used to delete multiple topics of a Kafka instance in batches. If some topics are deleted successfully while some fail to be deleted, a success response is returned with information about topics that fail to be deleted.
+This API is used to delete multiple topics of a Kafka instance in batches. If some topics are deleted successfully while some fail to be deleted, a success response is returned with information about topics that fail to be deleted.
POST /v2/{project_id}/instances/{instance_id}/topics/delete
@@ -22,8 +22,6 @@String
Project ID. For details about how to obtain it, see Obtaining a Project ID.
-Minimum: 1
-Maximum: 64
instance_id
@@ -33,8 +31,6 @@String
Instance ID.
-Minimum: 1
-Maximum: 64
This API is used to delete multiple users of a Kafka instance.
+This API is used to delete multiple users of a Kafka instance.
PUT /v2/{project_id}/instances/{instance_id}/users
diff --git a/docs/dms/api-ref/BatchRestartOrDeleteInstances.html b/docs/dms/api-ref/BatchRestartOrDeleteInstances.html index 81b71b91..86f827c4 100644 --- a/docs/dms/api-ref/BatchRestartOrDeleteInstances.html +++ b/docs/dms/api-ref/BatchRestartOrDeleteInstances.html @@ -1,7 +1,7 @@This API is used to restart or delete instances in batches.
+This API is used to restart or delete instances in batches.
When an instance is being restarted, message retrieval and creation requests of the client will be rejected.
Deleting an instance will delete the data in the instance without any backup. Exercise caution when performing this operation.
This API is used to enable Smart Connect so you can create a connector.
+POST /v2/{project_id}/instances/{instance_id}/connector
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Project ID. For details about how to obtain it, see Obtaining a Project ID. + |
+
instance_id + |
+Yes + |
+String + |
+Instance ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
specification + |
+No + |
+String + |
+Bandwidth for deploying Smart Connect, that is, the maximum amount of data transferred per unit time. Use the bandwidth of the current instance. + |
+
node_cnt + |
+No + |
+String + |
+Number of connectors. Min.: 2. +The default value is 2 if it is not specified. + |
+
spec_code + |
+No + |
+String + |
+Specification code of the connector. This parameter is mandatory only for old instance flavors. + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
job_id + |
+String + |
+Task ID. + |
+
connector_id + |
+String + |
+Instance dump ID. + |
+
To enable Smart Connect for pay-per-use instances using new flavors, set the number of connectors to 2.
+POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector + +{ + "node_cnt" : 2 +}+
To enable Smart Connect for pay-per-use instances using old flavors, set the size of connectors to 100 MB and the number of them to 2.
+POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector + +{ + "specification" : "100MB", + "node_cnt" : 2, + "spec_code" : "kafka.c3.mini.connector" +}+
Status code: 200
+Successful.
+{ + "job_id" : "7c3ec20c-11de-4df9-acc0-7ef1dea25dfe", + "connector_id" : "55b78880-9077-4c74-ad5a-6868555f76a4" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+Successful. + |
+
See Error Codes.
+This API is used to create a Smart Connect task.
+POST /v2/{project_id}/instances/{instance_id}/connector/tasks
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Project ID. For details, see Obtaining a Project ID. + |
+
instance_id + |
+Yes + |
+String + |
+Instance ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
task_name + |
+No + |
+String + |
+Smart Connect task name. + |
+
start_later + |
+No + |
+Boolean + |
+Indicates whether to start a task later. false: to create a task and start immediately; true: to create a task and manually start it later in the task list. + |
+
topics + |
+No + |
+String + |
+Topic of a Smart Connect task. + |
+
topics_regex + |
+No + |
+String + |
+Regular expression of the topic of a Smart Connect task. + |
+
source_type + |
+No + |
+String + |
+Source type of a Smart Connect task. + |
+
source_task + |
+No + |
++ | +Source configuration of a Smart Connect task. + |
+
sink_type + |
+No + |
+String + |
+Target type of a Smart Connect task. + |
+
sink_task + |
+No + |
++ | +Target type of a Smart Connect task. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
redis_address + |
+No + |
+String + |
+Redis instance address. (Mandatory only when the source type is Redis.) + |
+
redis_type + |
+No + |
+String + |
+Redis instance type. (Mandatory only when the source type is Redis.) + |
+
dcs_instance_id + |
+No + |
+String + |
+DCS instance ID. (Mandatory only when the source type is Redis.) + |
+
redis_password + |
+No + |
+String + |
+Redis password. (Mandatory only when the source type is Redis.) + |
+
sync_mode + |
+No + |
+String + |
+Synchronization type: RDB_ONLY indicates full synchronization; CUSTOM_OFFSET indicates full and incremental synchronization. (Mandatory only when the source type is Redis.) + |
+
full_sync_wait_ms + |
+No + |
+Integer + |
+Interval of full synchronization retries, in ms. (Mandatory only when the source type is Redis.) + |
+
full_sync_max_retry + |
+No + |
+Integer + |
+Max. retries of full synchronization. (Mandatory only when the source type is Redis.) + |
+
ratelimit + |
+No + |
+Integer + |
+Rate limit, in KB/s. -1: There is no rate limit. (Mandatory only when the source type is Redis.) + |
+
current_cluster_name + |
+No + |
+String + |
+Current Kafka instance name. (Mandatory only when the source type is Kafka.) + |
+
cluster_name + |
+No + |
+String + |
+Target Kafka instance name. (Mandatory only when the source type is Kafka.) + |
+
user_name + |
+No + |
+String + |
+Username set when SASL_SSL was enabled for a target Kafka instance, or when a SASL_SSL user was created. (Mandatory only when the source type is Kafka and the target Kafka authentication mode is SASL_SSL.) + |
+
password + |
+No + |
+String + |
+Password set when SASL_SSL was enabled for a target Kafka instance, or when a SASL_SSL user was created. (Mandatory only when the source type is Kafka and the target Kafka authentication mode is SASL_SSL.) + |
+
sasl_mechanism + |
+No + |
+String + |
+Target Kafka authentication mode. (Mandatory only when the source type is Kafka and the authentication mode is SASL_SSL.) + |
+
instance_id + |
+No + |
+String + |
+Target Kafka instance ID. (Mandatory only when the source type is Kafka. Specify either instance_id or bootstrap_servers.) + |
+
bootstrap_servers + |
+No + |
+String + |
+Target Kafka instance address. (Mandatory only when the source type is Kafka. Specify either instance_id or bootstrap_servers.) + |
+
security_protocol + |
+No + |
+String + |
+Target Kafka authentication. (Mandatory only when the source type is Kafka). +There are two authentication modes: +
|
+
direction + |
+No + |
+String + |
+Sync direction: pull replicates data from the target Kafka instance to the current one; push replicates data from the source Kafka instance to the target one; two-way replicates data from the source and target Kafka instance data to each other. (Mandatory only when the source type is Kafka.) + |
+
sync_consumer_offsets_enabled + |
+No + |
+Boolean + |
+Indicates whether to sync the consumption progress. (Mandatory only when the source type is Kafka.) + |
+
replication_factor + |
+No + |
+Integer + |
+Number of topic replicas when a topic is automatically created in the peer instance. The value of this parameter cannot exceed the number of brokers in the peer instance. This parameter overrides the default.replication.factor parameter configured in the target instance. (Mandatory only when the source type is Kafka.) + |
+
task_num + |
+No + |
+Integer + |
+Number of data replication tasks. The default value is 2. You are advised to use the default value. If the sync direction is set to two-way, the actual number of tasks will be twice the number of tasks you configure here. (Mandatory only when the source type is Kafka.) + |
+
rename_topic_enabled + |
+No + |
+Boolean + |
+Indicates whether to rename a topic. If yes, add the alias of the source Kafka instance before the target topic name to form a new name of the target topic. (Mandatory only when the source type is Kafka.) + |
+
provenance_header_enabled + |
+No + |
+Boolean + |
+The target topic receives the replicated messages. The message header contains the message source. If you select Both for Sync Direction, enable Add Source Header to prevent infinite replication. (Mandatory only when the source type is Kafka.) + |
+
consumer_strategy + |
+No + |
+String + |
+Start offset. latest: Obtain the latest data; earliest: Obtain the earliest data. (Mandatory only when the source type is Kafka.) + |
+
compression_type + |
+No + |
+String + |
+Compression algorithm to use for copying messages. (Mandatory only when the source type is Kafka.) +
|
+
topics_mapping + |
+No + |
+String + |
+Topic mapping, which is used to customize the target topic name. Rename Topic and Topic Mapping cannot be configured at the same time. Topic mapping format: source topic:target topic. Use commas (,) to separate multiple topic mappings, for example, topic-sc-1:topic-sc-2,topic-sc-3:topic-sc-4. (Mandatory only when the source type is Kafka.) + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
redis_address + |
+No + |
+String + |
+Redis instance address. (Mandatory only when the target type is Redis.) + |
+
redis_type + |
+No + |
+String + |
+Redis instance type. (Mandatory only when the target type is Redis.) + |
+
dcs_instance_id + |
+No + |
+String + |
+DCS instance ID. (Mandatory only when the target type is Redis.) + |
+
redis_password + |
+No + |
+String + |
+Redis password. (Mandatory only when the target type is Redis.) + |
+
consumer_strategy + |
+No + |
+String + |
+Start offset. latest: Obtain the latest data; earliest: Obtain the earliest data. (Mandatory only when the target type is OBS.) + |
+
destination_file_type + |
+No + |
+String + |
+Dump file format. Only TEXT is supported. (Mandatory only when the target type is OBS.) + |
+
deliver_time_interval + |
+No + |
+Integer + |
+Data dumping intervals, in seconds. The default interval is 300s. (Mandatory only when the target type is OBS.) + |
+
access_key + |
+No + |
+String + |
+AK: access key ID. (Mandatory only when the target type is OBS.) + |
+
secret_key + |
+No + |
+String + |
+SK: secret access key used together with the access key ID. (Mandatory only when the target type is OBS.) + |
+
obs_bucket_name + |
+No + |
+String + |
+Dumping address, which is the OBS bucket used to store the topic data. (Mandatory only when the target type is OBS.) + |
+
obs_path + |
+No + |
+String + |
+Dumping directory, which is the directory for storing topic files dumped to OBS. Use slashes (/) to separate directory levels. (Mandatory only when the target type is OBS.) + |
+
partition_format + |
+No + |
+String + |
+Time directory format. (Mandatory only when the target type is OBS.) +
|
+
record_delimiter + |
+No + |
+String + |
+Line break, which is used to separate the user data that is written into the dump file. (Mandatory only when the target type is OBS.) +Value range: +
|
+
store_keys + |
+No + |
+Boolean + |
+Specifies whether to dump keys. (Mandatory only when the target type is OBS.) + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
task_name + |
+String + |
+Smart Connect task name. + |
+
topics + |
+String + |
+Topic of a Smart Connect task. + |
+
topics_regex + |
+String + |
+Regular expression of the topic of a Smart Connect task. + |
+
source_type + |
+String + |
+Source type of a Smart Connect task. + |
+
source_task + |
++ | +Source configuration of a Smart Connect task. + |
+
sink_type + |
+String + |
+Target type of a Smart Connect task. + |
+
sink_task + |
++ | +Target type of a Smart Connect task. + |
+
id + |
+String + |
+ID of a Smart Connect task. + |
+
status + |
+String + |
+Smart Connect task status. + |
+
create_time + |
+Long + |
+Time when the Smart Connect task was created. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
redis_address + |
+String + |
+Redis instance address. (Displayed only when the source type is Redis.) + |
+
redis_type + |
+String + |
+Redis instance type. (Displayed only when the source type is Redis.) + |
+
dcs_instance_id + |
+String + |
+DCS instance ID. (Displayed only when the source type is Redis.) + |
+
sync_mode + |
+String + |
+Synchronization type: RDB_ONLY indicates full synchronization; CUSTOM_OFFSET indicates full and incremental synchronization. (Displayed only when the source type is Redis.) + |
+
full_sync_wait_ms + |
+Integer + |
+Interval of full synchronization retries, in ms. (Displayed only when the source type is Redis.) + |
+
full_sync_max_retry + |
+Integer + |
+Max. retries of full synchronization. (Displayed only when the source type is Redis.) + |
+
ratelimit + |
+Integer + |
+Rate limit, in KB/s. -1: disable. (Displayed only when the source type is Redis.) + |
+
current_cluster_name + |
+String + |
+Current Kafka instance name. (Displayed only when the source type is Kafka.) + |
+
cluster_name + |
+String + |
+Target Kafka instance name. (Displayed only when the source type is Kafka.) + |
+
user_name + |
+String + |
+Username of the target Kafka instance. (Displayed only when the source type is Kafka.) + |
+
sasl_mechanism + |
+String + |
+Target Kafka authentication mode. (Displayed only when the source type is Kafka.) + |
+
instance_id + |
+String + |
+Target Kafka instance ID. (Displayed only when the source type is Kafka.) + |
+
bootstrap_servers + |
+String + |
+Target Kafka instance address. (Displayed only when the source type is Kafka.) + |
+
security_protocol + |
+String + |
+Target Kafka authentication. (Displayed only when the source type is Kafka.) + |
+
direction + |
+String + |
+Sync direction. (Displayed only when the source type is Kafka.) + |
+
sync_consumer_offsets_enabled + |
+Boolean + |
+Indicates whether to sync the consumption progress. (Displayed only when the source type is Kafka.) + |
+
replication_factor + |
+Integer + |
+Number of replicas. (Displayed only when the source type is Kafka.) + |
+
task_num + |
+Integer + |
+Number of tasks. (Displayed only when the source type is Kafka.) + |
+
rename_topic_enabled + |
+Boolean + |
+Indicates whether to rename a topic. (Displayed only when the source type is Kafka.) + |
+
provenance_header_enabled + |
+Boolean + |
+Indicates whether to add the source header. (Displayed only when the source type is Kafka.) + |
+
consumer_strategy + |
+String + |
+Start offset. latest: Obtain the latest data; earliest: Obtain the earliest data. (Displayed only when the source type is Kafka.) + |
+
compression_type + |
+String + |
+Compression algorithm. (Displayed only when the source type is Kafka.) + |
+
topics_mapping + |
+String + |
+Topic mapping. (Displayed only when the source type is Kafka.) + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
redis_address + |
+String + |
+Redis instance address. (Displayed only when the target type is Redis.) + |
+
redis_type + |
+String + |
+Redis instance type. (Displayed only when the target type is Redis.) + |
+
dcs_instance_id + |
+String + |
+DCS instance ID. (Displayed only when the target type is Redis.) + |
+
target_db + |
+Integer + |
+Target database. The default value is -1. (Displayed only when the target type is Redis.) + |
+
consumer_strategy + |
+String + |
+Start offset. latest: Obtain the latest data; earliest: Obtain the earliest data. (Displayed only when the target type is OBS.) + |
+
destination_file_type + |
+String + |
+Dump file format. Only TEXT is supported. (Displayed only when the target type is OBS.) + |
+
deliver_time_interval + |
+Integer + |
+Dumping period (s). (Displayed only when the target type is OBS.) + |
+
obs_bucket_name + |
+String + |
+Dumping address. (Displayed only when the target type is OBS.) + |
+
obs_path + |
+String + |
+Dump directory. (Displayed only when the target type is OBS.) + |
+
partition_format + |
+String + |
+Time directory format. (Displayed only when the target type is OBS.) + |
+
record_delimiter + |
+String + |
+Line break. (Displayed only when the target type is OBS.) + |
+
store_keys + |
+Boolean + |
+Storage key. (Displayed only when the target type is OBS.) + |
+
obs_part_size + |
+Integer + |
+Size (in bytes) of each file to be uploaded. The default value is 5242880. (Displayed only when the target type is OBS.) + |
+
flush_size + |
+Integer + |
+flush_size. (Displayed only when the target type is OBS.) + |
+
timezone + |
+String + |
+Time zone. (Displayed only when the target type is OBS.) + |
+
schema_generator_class + |
+String + |
+schema_generator class. The default value is io.confluent.connect.storage.hive.schema.DefaultSchemaGenerator. (Displayed only when the target type is OBS.) + |
+
partitioner_class + |
+String + |
+partitioner class. The default value is io.confluent.connect.storage.partitioner.TimeBasedPartitioner. (Displayed only when the target type is OBS.) + |
+
value_converter + |
+String + |
+value_converter. The default value is org.apache.kafka.connect.converters.ByteArrayConverter. (Displayed only when the target type is OBS.) + |
+
key_converter + |
+String + |
+key_converter. The default value is org.apache.kafka.connect.converters.ByteArrayConverter. (Displayed only when the target type is OBS.) + |
+
kv_delimiter + |
+String + |
+kv_delimiter. The default value is :. (Displayed only when the target type is OBS.) + |
+
Creating a dumping task that starts immediately.
+POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector/tasks + +{ + "task_name" : "smart-connect-1", + "start_later" : false, + "source_type" : "NONE", + "topics_regex" : "topic-obs*", + "sink_type" : "OBS_SINK", + "sink_task" : { + "consumer_strategy" : "earliest", + "destination_file_type" : "TEXT", + "deliver_time_interval" : 300, + "access_key" : "********", + "secret_key" : "********", + "obs_bucket_name" : "obs_bucket", + "obs_path" : "obsTransfer-1810125534", + "partition_format" : "yyyy/MM/dd/HH/mm", + "record_delimiter" : "\\n", + "store_keys" : false + } +}+
Creating a Kafka data replication task that starts later.
+POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector/tasks + +{ + "task_name" : "smart-connect-2", + "start_later" : true, + "source_type" : "KAFKA_REPLICATOR_SOURCE", + "source_task" : { + "current_cluster_name" : "A", + "cluster_name" : "B", + "user_name" : "user1", + "password" : "********", + "sasl_mechanism" : "SCRAM-SHA-512", + "instance_id" : "b54c9dd8-********-********", + "direction" : "two-way", + "sync_consumer_offsets_enabled" : false, + "replication_factor" : 3, + "task_num" : 2, + "rename_topic_enabled" : false, + "provenance_header_enabled" : true, + "consumer_strategy" : "latest", + "compression_type" : "snappy", + "topics_mapping" : "topic-sc-1:topic-sc-3,topic-sc-2:topic-sc-4" + } +}+
Creating a Redis data replication task that starts immediately: full synchronization, 10 maximum retry times, 10,000 ms retry interval, and 10 KB/s bandwidth limit.
+POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector/tasks + +{ + "task_name" : "smart-connect-3", + "start_later" : false, + "source_type" : "REDIS_REPLICATOR_SOURCE", + "source_task" : { + "redis_address" : "192.168.99.249:6379,192.168.120.127:6379,192.168.116.219:6379", + "redis_type" : "cluster", + "redis_password" : "********", + "sync_mode" : "RDB_ONLY", + "full_sync_max_retry" : 10, + "full_sync_wait_ms" : 10000, + "ratelimit" : 10 + }, + "topics" : "topic-sc-3", + "sink_type" : "REDIS_REPLICATOR_SINK", + "sink_task" : { + "redis_address" : "192.168.119.51:6379", + "redis_type" : "standalone", + "redis_password" : "********" + } +}+
Status code: 200
+Successful.
+{ + "task_name" : "smart-connect-121248117", + "topics" : "topic-sc", + "source_task" : { + "redis_address" : "192.168.91.179:6379", + "redis_type" : "standalone", + "dcs_instance_id" : "949190a2-598a-4afd-99a8-dad3cae1e7cd", + "sync_mode" : "RDB_ONLY,", + "full_sync_wait_ms" : 13000, + "full_sync_max_retry" : 4, + "ratelimit" : -1 + }, + "source_type" : "REDIS_REPLICATOR_SOURCE", + "sink_task" : { + "redis_address" : "192.168.119.51:6379", + "redis_type" : "standalone", + "dcs_instance_id" : "9b981368-a8e3-416a-87d9-1581a968b41b", + "target_db" : -1 + }, + "sink_type" : "REDIS_REPLICATOR_SINK", + "id" : "8a205bbd-7181-4b5e-9bd6-37274ce84577", + "status" : "RUNNING", + "create_time" : 1708427753133 +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+Successful. + |
+
See Error Codes.
+This API is used to create a pay-per-use or yearly/monthly-billed instance.
+This API is used to create an instance.
+Pay-per-use and yearly/monthly billing modes are supported.
POST /v2/{engine}/{project_id}/instances
@@ -22,7 +23,6 @@String
Message engine.
-Default: kafka
project_id
@@ -65,8 +65,8 @@String
Instance description.
-The description can contain a maximum of 1024 characters.
+Description of an instance.
+The description supports up to 1024 characters.
The backslash () and quotation mark (") are special characters for JSON messages. When using these characters in a parameter value, add the escape character () before the characters, for example, \ and ".
String
Message engine. Values:
+Version of the message engine. Options:
1.1.0
2.3.0
2.7
+3.x
Authentication mechanism to use after SASL is enabled. This parameter is mandatory if SASL authentication is enabled (ssl_enable=true).
If this parameter is left blank, PLAIN authentication is enabled by default.
-Select both or either of the following mechanisms for SASL authentication. Options:
+Select both or either of the following mechanisms for SASL authentication.
+Options:
PLAIN: simple username and password verification.
SCRAM-SHA-512: user credential verification, which is more secure than PLAIN.
Boolean
Indicates whether to enable IPv6. This parameter is available only when the VPC supports IPv6.
-Default: false
disk_encrypted_enable
@@ -320,6 +321,16 @@Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
connector_enable
+No
+Boolean
+Whether to enable message dumping.
+By default, message dumping is disabled.
+enable_auto_topic
No
@@ -341,11 +352,11 @@String
Storage I/O specification.
-Values:
+Value range:
dms.physical.storage.high.v2: high I/O
dms.physical.storage.ultra.v2: ultra-high I/O
For details about how to select a disk type, see "Disk Types and Disk Performance" in the EVS User Guide.
+For details about how to select a disk type, see "Disk Types and Disk Performance" in the EVS User Guide.
enterprise_project_id
@@ -372,9 +383,9 @@String
CPU architecture. Currently, only the x86 architecture is supported.
-Options:
-X86
+CPU architecture. Currently supported: x86.
+Value range:
+X86
String
Tag key, which:
+Tag key.
Must be specified.
Must be unique for the same instance.
Can contain 1 to 128 characters.
@@ -556,7 +567,7 @@ "name" : "kafka-test", "description" : "", "engine" : "kafka", - "engine_version" : "2.7", + "engine_version" : "2.7,3.x", "storage_space" : 300, "vpc_id" : "********-9b4a-44c5-a964-************", "subnet_id" : "********-8fbf-4438-ba71-************", diff --git a/docs/dms/api-ref/CreateInstanceTopic.html b/docs/dms/api-ref/CreateInstanceTopic.html index d0801184..7f9f1a86 100644 --- a/docs/dms/api-ref/CreateInstanceTopic.html +++ b/docs/dms/api-ref/CreateInstanceTopic.html @@ -1,7 +1,7 @@This API is used to create a topic for a Kafka instance.
+This API is used to create a topic for a Kafka instance.
POST /v2/{project_id}/instances/{instance_id}/topics
@@ -22,8 +22,6 @@String
Project ID. For details about how to obtain it, see Obtaining a Project ID.
-Minimum: 1
-Maximum: 64
instance_id
@@ -33,8 +31,6 @@String
Instance ID.
-Minimum: 1
-Maximum: 64
String
Topic name. A topic name consists of 3 to 200 characters, starts with a letter, and contains only letters, hyphens (-), underscores (_), periods (.), and digits.
-Minimum: 3
-Maximum: 200
replication
@@ -69,9 +63,8 @@Integer
Number of replicas, which is configured to ensure data reliability. Value range: 1 to 3.
-Minimum: 1
-Maximum: 3
+Number of replicas, which is configured to ensure data reliability.
+Value range: 1 to 3.
sync_message_flush
@@ -89,9 +82,7 @@Integer
Number of topic partitions, which is used to set the number of concurrently consumed messages.Value range: 1–100.
-Minimum: 1
-Maximum: 100
+Number of topic partitions, which is used to set the number of concurrently consumed messages.Value range: 1–200
sync_replication
@@ -109,7 +100,7 @@Integer
Indicates the retention period of a message. The default value is 72.Value range: 1–720. Unit: hour.
+Indicates the retention period of a message. The default value is 72.The value range is 1–720, in hours.
topic_other_configs
@@ -119,7 +110,6 @@Array of topic_other_configs objects
Topic configuration.
-Array Length: 0 - 100
topic_desc
@@ -129,8 +119,6 @@String
Topic description.
-Minimum: 0
-Maximum: 200
String
Topic name.
-Minimum: 3
-Maximum: 200
This API is used to create a user for a Kafka instance for which SASL is enabled.
+This API is used to create a user for a Kafka instance for which SASL is enabled.
POST /v2/{project_id}/instances/{instance_id}/users
@@ -65,8 +65,6 @@String
User description.
-Minimum: 0
-Maximum: 200
user_passwd
@@ -77,7 +75,8 @@Password.
This parameter is mandatory for creating a user.
-The password must be different from the username. The password must meet the following complexity requirements:
+The password must be different from the username.
+The password must meet the following complexity requirements:
Can contain 8 to 32 characters.
Must contain at least three of the following character types:
Lowercase letters
diff --git a/docs/dms/api-ref/CreateKafkaConsumerGroup.html b/docs/dms/api-ref/CreateKafkaConsumerGroup.html index 524d7350..8aad988a 100644 --- a/docs/dms/api-ref/CreateKafkaConsumerGroup.html +++ b/docs/dms/api-ref/CreateKafkaConsumerGroup.html @@ -1,7 +1,7 @@This API is used to create a consumer group.
+This API is used to create a consumer group.
POST /v2/{project_id}/kafka/instances/{instance_id}/group
@@ -64,17 +64,15 @@String
Consumer group description.
-Minimum: 0
-Maximum: 200
Status code: 400
+Status code: 200
-Parameter +
Status code: 400 + +
Request ParametersNone +Response ParametersStatus code: 200 + +
Example RequestsPOST https://{endpoint}/v2/{project_id}/kafka/instances/{instance_id}/delete-connector+ Example ResponsesStatus code: 200 +Smart Connect disabling task submitted successfully. +{ + "job_id" : "d366178c-29ea-4d5c-a344-fa2ece4a1836" +}+ Status Codes+
Error CodesSee Error Codes. +
+
+
diff --git a/docs/dms/api-ref/DeleteConnectorTask.html b/docs/dms/api-ref/DeleteConnectorTask.html
new file mode 100644
index 00000000..e5cb2c37
--- /dev/null
+++ b/docs/dms/api-ref/DeleteConnectorTask.html
@@ -0,0 +1,81 @@
+
+
+
+
+Parent topic: Smart Connect
+Deleting a Smart Connect Task+FunctionThis API is used to delete a Smart Connect task. +URIDELETE /v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id} + +
Request ParametersNone +Response ParametersNone +Example RequestsDELETE https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id}+ Example ResponsesNone +Status Codes+
Error CodesSee Error Codes. +
+
+
diff --git a/docs/dms/api-ref/DeleteGroup.html b/docs/dms/api-ref/DeleteGroup.html
index ca263896..70449721 100644
--- a/docs/dms/api-ref/DeleteGroup.html
+++ b/docs/dms/api-ref/DeleteGroup.html
@@ -1,7 +1,7 @@
+
+Parent topic: Smart Connect
+Deleting a Consumer Group from a Kafka Instance-FunctionThis API is used to delete a consumer group from a Kafka instance. +FunctionThis API is used to delete a consumer group from a Kafka instance. URIDELETE /v2/{project_id}/instances/{instance_id}/groups/{group} diff --git a/docs/dms/api-ref/DeleteInstance.html b/docs/dms/api-ref/DeleteInstance.html index f4d9d775..458b8694 100644 --- a/docs/dms/api-ref/DeleteInstance.html +++ b/docs/dms/api-ref/DeleteInstance.html @@ -1,7 +1,7 @@Deleting an Instance-FunctionThis API is used to delete an instance to release all the resources occupied by it. +FunctionThis API is used to delete an instance to release all the resources occupied by it. URIDELETE /v2/{project_id}/instances/{instance_id} diff --git a/docs/dms/api-ref/ErrorCode.html b/docs/dms/api-ref/ErrorCode.html index 5d2bcdc6..715756bb 100644 --- a/docs/dms/api-ref/ErrorCode.html +++ b/docs/dms/api-ref/ErrorCode.html @@ -1,7 +1,7 @@Error Codes-
+
Request ParametersNone +Response ParametersNone +Example RequestsPUT https://{endpoint}/v2/{project_id}/instances/{instance_id}/connector/tasks/{task_id}/pause+ Example ResponsesNone +Status Codes+
Error CodesSee Error Codes. +
+
+
diff --git a/docs/dms/api-ref/ResetMessageOffset.html b/docs/dms/api-ref/ResetMessageOffset.html
index 01e26893..b8e0f18f 100644
--- a/docs/dms/api-ref/ResetMessageOffset.html
+++ b/docs/dms/api-ref/ResetMessageOffset.html
@@ -1,7 +1,7 @@
+
+Parent topic: Smart Connect
+Resetting Consumer Group Offset to the Specified Position-FunctionKafka instances do not support resetting the consumer offset online. Before resetting, stop the client for which the offset is to be reset.After a client is stopped, the server considers the client offline only after the time period specified in ConsumerConfig.SESSION_TIMEOUT_MS_CONFIG (1000 ms by default). +FunctionKafka instances do not support resetting the consumer offset online. Before resetting, stop the client for which the offset is to be reset.After a client is stopped, the server considers the client offline only after the time period specified in ConsumerConfig.SESSION_TIMEOUT_MS_CONFIG (1000 ms by default). URIPOST /v2/{project_id}/instances/{instance_id}/management/groups/{group}/reset-message-offset diff --git a/docs/dms/api-ref/ResetPassword.html b/docs/dms/api-ref/ResetPassword.html index 81cbbad1..e2e4b646 100644 --- a/docs/dms/api-ref/ResetPassword.html +++ b/docs/dms/api-ref/ResetPassword.html @@ -1,7 +1,7 @@Resetting the Password-FunctionThis API is used to reset the password for an instance with SSL enabled. +FunctionThis API is used to reset the password for an instance with SSL enabled. URIPOST /v2/{project_id}/instances/{instance_id}/password diff --git a/docs/dms/api-ref/ResetUserPasswrod.html b/docs/dms/api-ref/ResetUserPasswrod.html index 7601af85..b7e08d58 100644 --- a/docs/dms/api-ref/ResetUserPasswrod.html +++ b/docs/dms/api-ref/ResetUserPasswrod.html @@ -1,7 +1,7 @@Resetting a User Password-FunctionThis API is used to reset a user password. +FunctionThis API is used to reset a user password. URIPUT /v2/{project_id}/instances/{instance_id}/users/{user_name} @@ -65,7 +65,8 @@New password. This parameter is mandatory for resetting a user password. -It cannot be the username or the username spelled backwards. The password must meet the following complexity requirements: +It cannot be the username or the username spelled backwards. +The password must meet the following complexity requirements:
|
---|