Describes node groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sr:DescribeNodeGroups |
get |
*All Resource
|
None | None |
Request syntax
POST /webapi/nodegroup/describeNodeGroups HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
20 |
| ClusterId |
string |
No |
The instance ID. |
c-718fb04c7112**** |
| body |
object |
No |
The request parameters. |
|
| instanceId |
string |
No |
The instance ID. This parameter is deprecated. |
null |
| componentType |
string |
No |
The type of the compute group. Valid values:
|
FE |
| nodeGroupIds |
array |
No |
The IDs of the compute groups to query. |
|
|
string |
No |
The compute group ID. |
ng-a9b2e9148196**** |
|
| nodeGroupName |
string |
No |
The name of the compute group. |
ng_1 |
| status |
string |
No |
The status of the compute group. Valid values:
|
RUNNING |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
F285E0EC-E928-5E0B-B2C3-7F3FE42F2BE5 |
| Success |
boolean |
Indicates whether the request was successful. |
True |
| ErrCode |
string |
The error code. |
InvalidParams |
| ErrMessage |
string |
The error message. |
Invalid params: [instance not exists]. |
| Data |
array<object> |
The returned data. |
|
|
array<object> |
The returned data. |
||
| RegionId |
string |
The region ID. |
cn-hangzhou |
| InstanceId |
string |
The instance ID. |
c-96f3bc7f04b2**** |
| NodeGroupId |
string |
The compute group ID. |
ng-5e2ba600fee3**** |
| NodeGroupName |
string |
The name of the compute group. |
ng_1 |
| Description |
string |
The description of the compute group. |
ETL计算组 |
| Status |
string |
The status of the compute group. Valid values:
|
RUNNING |
| ComponentType |
string |
The type of the compute group. Valid values:
|
FE |
| PayType |
string |
The billing method:
|
prePaid |
| Cu |
integer |
The number of CUs. A Compute Unit (CU) is a basic unit of computing resources. One CU equals 1 CPU core and 4 GiB of memory. For a memory-enhanced instance, one CU equals 1 CPU core and 8 GiB of memory. |
1 |
| MemoryCpuRatio |
integer |
The ratio of memory to CUs. The value is 8 for `ramEnhanced` instances and 4 for other instance types. |
4 |
| StorageSize |
integer |
The storage size in GiB. |
100 |
| StoragePerformanceLevel |
string |
The performance level (PL) of the disk. Valid values:
|
pl1 |
| DiskNumber |
integer |
The number of disks. |
1 |
| ResidentNodeNumber |
integer |
The number of nodes. |
3 |
| SpecType |
string |
The instance type of the compute group. Valid values:
|
standard |
| Architecture |
string |
The architecture of the compute group. Valid values:
|
onEci |
| LocalStorageInstanceType |
string |
The instance type of the local SSD. This parameter is valid only if the instance is deployed on ECS and `SpecType` is `localSSD` or `bigData`. |
local_ssd_4_4xlarge |
| ElasticNodeNumber |
integer |
The number of elastic nodes. |
3 |
| Endpoint |
string |
The endpoint of the compute group. |
be-c-79b0bb9f58ef****-internal.starrocks.aliyuncs.com |
| EnablePublicNetwork |
boolean |
Indicates whether the public endpoint is enabled. |
false |
| PublicAddress |
string |
The public endpoint. This parameter is returned only if `EnablePublicNetwork` is `true`. |
fe-c-79b0bb9f58ef****.starrocks.aliyuncs.com |
| BeginTime |
integer |
The creation time of the compute group. |
1742179008000 |
| ExpireTime |
integer |
The expiration time of the compute group. |
1742179008000 |
| DefaultGroup |
boolean |
Indicates whether this is the default compute group. |
true |
| RunningTime |
integer |
The runtime of the compute group in seconds. |
10000 |
| TargetElasticNodeNumber |
integer |
The target number of elastic nodes. |
3 |
| HttpPort |
integer |
The HTTP port of the compute group. |
8030 |
| AccountStatus |
string |
The account status. Valid values:
|
OVERDUE |
| BillingInstanceId |
string |
The ID of the billable instance. For a default compute group, such as an FE or default BE group, this is the instance ID. For other compute groups, this is the compute group ID. |
c-96f3bc7f04b2**** |
| CommodityCode |
string |
The commodity code. |
emapreduce_starrockspost_public_cn |
| NodeInfo |
array<object> |
Information about the nodes in the compute group. |
|
|
object |
The node information. |
||
| NodeId |
string |
The node ID. |
cn-e1733d44-0 |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-i |
| Tags |
array<object> |
||
|
object |
|||
| Key |
string |
||
| Value |
string |
||
| Total |
integer |
The total number of entries. |
100 |
| AccessDeniedDetail |
string |
Details about the access denial. |
{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" } |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "F285E0EC-E928-5E0B-B2C3-7F3FE42F2BE5",
"Success": true,
"ErrCode": "InvalidParams",
"ErrMessage": "Invalid params: [instance not exists].",
"Data": [
{
"RegionId": "cn-hangzhou",
"InstanceId": "c-96f3bc7f04b2****",
"NodeGroupId": "ng-5e2ba600fee3****",
"NodeGroupName": "ng_1",
"Description": "ETL计算组",
"Status": "RUNNING",
"ComponentType": "FE",
"PayType": "prePaid",
"Cu": 1,
"MemoryCpuRatio": 4,
"StorageSize": 100,
"StoragePerformanceLevel": "pl1",
"DiskNumber": 1,
"ResidentNodeNumber": 3,
"SpecType": "standard",
"Architecture": "onEci",
"LocalStorageInstanceType": "local_ssd_4_4xlarge",
"ElasticNodeNumber": 3,
"Endpoint": "be-c-79b0bb9f58ef****-internal.starrocks.aliyuncs.com",
"EnablePublicNetwork": false,
"PublicAddress": "fe-c-79b0bb9f58ef****.starrocks.aliyuncs.com",
"BeginTime": 1742179008000,
"ExpireTime": 1742179008000,
"DefaultGroup": true,
"RunningTime": 10000,
"TargetElasticNodeNumber": 3,
"HttpPort": 8030,
"AccountStatus": "OVERDUE",
"BillingInstanceId": "c-96f3bc7f04b2****",
"CommodityCode": "emapreduce_starrockspost_public_cn",
"NodeInfo": [
{
"NodeId": "cn-e1733d44-0"
}
],
"ZoneId": "cn-hangzhou-i",
"Tags": [
{
"Key": "",
"Value": ""
}
]
}
],
"Total": 100,
"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.