Modifying Dumping Task Quotas
Function
This API is used to modify dumping task quotas.
You can call this API to increase the dumping task quota for instances created before September 2022. For instances created in September 2022 or later, the dumping task quota is already the maximum by default. An error is reported when you call this API to modify the dumping task quota, because the dumping task quota cannot be reduced.
Call Method
For details, see How to Call an API.
URI
PUT /v2/{project_id}/connectors/{connector_id}/sink-tasks
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
|
connector_id |
Yes |
String |
Instance dump ID. For details, see Querying Instance IDs. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
sink_max_tasks |
Yes |
Integer |
Total number of dump tasks. |
Response Parameters
None
Example Requests
Modifying dumping task quotas.
PUT https://{endpoint}/v2/{project_id}/connectors/{connector_id}/sink-tasks
{
"sink_max_tasks" : 9
}
Example Response
None
Status Codes
|
Status Code |
Description |
|---|---|
|
204 |
Dumping task quotas are modified successfully. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot