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
successful operation
The response is of type object
.
Was this page helpful?