List UK8S Node Pools - ListUK8SNodeGroup
Overview
List UK8S Node Pools
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is ListUK8SNodeGroup . | Yes |
PublicKey | string | The user’s public key can be obtained from Console | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Region | string | Region. See List of Regions and Availability Zones | Yes |
ProjectId | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface. | No |
ClusterId | string | Cluster ID | Yes |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
NodeGroupList | array[NodeGroupSet] | Node Pool List | No |
Data Model
NodeGroupSet
Field Name | Type | Description Information | Required |
---|---|---|---|
NodeGroupId | string | Node Pool ID | No |
NodeGroupName | string | Node Pool Name | No |
ImageId | string | Image ID | No |
MachineType | string | Machine Type | No |
MinimalCpuPlatform | string | CPU Platform | No |
CPU | int | Number of Virtual CPU Cores | No |
Mem | int | Memory Size | No |
GpuType | string | GPU Type | No |
GPU | int | Number of GPU Card Cores | No |
BootDiskType | string | System Disk Type | No |
BootDiskSize | int | System Disk Size | No |
DataDiskSize | int | Data Disk Size | No |
DataDiskType | string | Data Disk Type | No |
Tag | string | Business Group | No |
ChargeType | string | Payment Method | No |
NodeList | array[string] | Node ID List | No |
Example
Request Example
https://api.dezai.com/?Action=ListUK8SNodeGroup
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=wVpiDplE
&ClusterId=RXIkKKuX
&TopOrgId=8
&OrgId=4
&AzGroup=5
Response Example
{
"Action": "ListUK8SNodeGroupResponse",
"NodeGroupList": [
{
"BootDiskType": "ceGeUMIV",
"CPU": 6,
"ChargeType": "addNhDvH",
"DataDiskSize": 8,
"DataDiskType": "qqncHfyc",
"GPU": 7,
"GpuType": "neHNFfsx",
"ImageId": "PVoCRmtW",
"MachineType": "GJXNpRmz",
"Mem": 7,
"MinimalCpuPlatform": "uEqOcnpP",
"NodeGroupId": "ayLygrGZ",
"NodeGroupName": "svwqEVOH",
"NodeList": "ndxnQQhO",
"Tag": "XUcqKwjh"
}
],
"RetCode": 0
}