curl --request POST \
--url https://dev.startree.ai/tenants/{tenantName}/rebalance \
--header 'Authorization: <api-key>' \
--header 'Content-Type: */*' \
--data '
{
"degreeOfParallelism": 1,
"verboseResult": true,
"parallelWhitelist": [
"<string>"
],
"parallelBlacklist": [
"<string>"
],
"tenantName": "<string>",
"minAvailableReplicas": 1,
"heartbeatIntervalInMs": 300000,
"heartbeatTimeoutInMs": 3600000,
"retryInitialDelayInMs": 300000,
"externalViewStabilizationTimeoutInMs": 3600000,
"reassignInstances": false,
"includeConsuming": false,
"lowDiskMode": false,
"bestEfforts": false,
"updateTargetTier": false,
"maxAttempts": 3,
"externalViewCheckIntervalInMs": 1000,
"dryRun": false,
"preChecks": false,
"bootstrap": false,
"downtime": false
}
'{
"rebalanceTableResults": {},
"jobId": "<string>"
}curl --request POST \
--url https://dev.startree.ai/tenants/{tenantName}/rebalance \
--header 'Authorization: <api-key>' \
--header 'Content-Type: */*' \
--data '
{
"degreeOfParallelism": 1,
"verboseResult": true,
"parallelWhitelist": [
"<string>"
],
"parallelBlacklist": [
"<string>"
],
"tenantName": "<string>",
"minAvailableReplicas": 1,
"heartbeatIntervalInMs": 300000,
"heartbeatTimeoutInMs": 3600000,
"retryInitialDelayInMs": 300000,
"externalViewStabilizationTimeoutInMs": 3600000,
"reassignInstances": false,
"includeConsuming": false,
"lowDiskMode": false,
"bestEfforts": false,
"updateTargetTier": false,
"maxAttempts": 3,
"externalViewCheckIntervalInMs": 1000,
"dryRun": false,
"preChecks": false,
"bootstrap": false,
"downtime": false
}
'{
"rebalanceTableResults": {},
"jobId": "<string>"
}The format of the key is "Basic <token>" or "Bearer <token>"
Name of the tenant whose table are to be rebalanced
1
1
300000
3600000
300000
3600000
false
false
false
false
false
3
1000
false
false
false
false
successful operation
Show child attributes
Show child attributes
NO_OP, DONE, FAILED, IN_PROGRESS, ABORTED, CANCELLED, UNKNOWN_ERROR Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
ADDED, REMOVED, UNCHANGED Show child attributes
Was this page helpful?