Retrieve the feature gate for a StarRocks compute group instance.
Try it now
Test
RAM authorization
Request syntax
POST /webapi/features/nodeGroupFeatureGate HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
c-b25e21e24388**** |
| NodeGroupId |
string |
Yes |
Compute group ID. |
ng-d332aa8bca48**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| RequestId |
string |
Request ID. |
32A44F0D-BFF6-5664-999A-218BBDE7**** |
| Success |
boolean |
Is the request successful? |
false |
| ErrCode |
string |
Error code. |
InvalidParams |
| ErrMessage |
string |
Error message. |
Invalid params: [instance not exists]. |
| Total |
integer |
Total number of instances. |
3 |
| Data |
object |
Returned data. |
|
| SupportFastRestart |
boolean |
Supports fast restart. |
true |
| SupportFastModeModifyResource |
boolean |
Supports modifying resources with fast restart. |
true |
| SupportModifySpecType |
boolean |
Supports modifying specification type. |
true |
| NeedRestartAfterModifyDiskSize |
boolean |
Node restart required after modifying disk size. |
true |
| AccessDeniedDetail |
string |
AccessDeniedDetail |
{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" } |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "32A44F0D-BFF6-5664-999A-218BBDE7****",
"Success": false,
"ErrCode": "InvalidParams",
"ErrMessage": "Invalid params: [instance not exists].",
"Total": 3,
"Data": {
"SupportFastRestart": true,
"SupportFastModeModifyResource": true,
"SupportModifySpecType": true,
"NeedRestartAfterModifyDiskSize": true
},
"AccessDeniedDetail": "{ \"PolicyType\": \"AccountLevelIdentityBasedPolicy\", \"AuthPrincipalOwnerId\": \"xxx\", \"EncodedDiagnosticMessage\": \"xxx\", \"AuthPrincipalType\": \"xxx\", \"AuthPrincipalDisplayName\": \"xxx\", \"NoPermissionType\": \"ImplicitDeny\", \"AuthAction\": \"sr:xxx\" }"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.