Querying Common Configurations of Scheduling O&M Tasks
Function
Query common configurations of scheduling O&M tasks.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
GET /v1/{project_id}/clusters/{cluster_id}/operational-tasks/configuration
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition: Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. Constraints: None Range: None Default Value: None |
| cluster_id | Yes | String | Definition: Cluster ID For details about how to obtain the cluster ID, see Obtaining the Cluster ID. Constraints: None Range: None Default Value: None |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| configuration | OperationalTaskConfiguration object | Definition: Request body for configuring an O&M task. Range: None |
| Parameter | Type | Description |
|---|---|---|
| parallel_min | Integer | Definition Minimum number of concurrent VACUUM FULL tasks for user tables. Range 1 to 24 |
| parallel_max | Integer | Definition Maximum number of concurrent VACUUM FULL tasks for user tables. Range 1 to 24 |
| small_cu_rows_limit | Integer | Definition Small CU threshold. Range 0 to 1000 |
| small_cu_percentage | Double | Definition Proportion of small CUs. Range 0.01 to 99.99 |
Example Requests
Query the O&M task list.
GET https://{Endpoint}/v1/169439ece752470aa5171633e9d3e47f/clusters/50aee999-9215-4dd0-a142-254ac6bf80e7/operational-tasks/configuration Example Responses
Status code: 200
{
"configuration" : {
"parallel_min" : 1,
"parallel_max" : 20,
"small_cu_rows_limit" : 1000,
"small_cu_percentage" : 55
}
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Request succeeded. |
| 400 | Request error. |
| 401 | Authentication failed. |
| 403 | No operation permissions. |
| 404 | No resources found. |
| 500 | Internal service error. |
| 503 | Service unavailable. |
What is your overall rating for this page?
Thank 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