Docs
api
UK8S Service(UK8S)
ListUK8SNodeGroup

List UK8S Node Pools - ListUK8SNodeGroup

Overview

List UK8S Node Pools

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUK8SNodeGroup.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
ClusterIdstringCluster IDYes

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
NodeGroupListarray[NodeGroupSet]Node Pool ListNo

Data Model

NodeGroupSet

Field NameTypeDescription InformationRequired
NodeGroupIdstringNode Pool IDNo
NodeGroupNamestringNode Pool NameNo
ImageIdstringImage IDNo
MachineTypestringMachine TypeNo
MinimalCpuPlatformstringCPU PlatformNo
CPUintNumber of Virtual CPU CoresNo
MemintMemory SizeNo
GpuTypestringGPU TypeNo
GPUintNumber of GPU Card CoresNo
BootDiskTypestringSystem Disk TypeNo
BootDiskSizeintSystem Disk SizeNo
DataDiskSizeintData Disk SizeNo
DataDiskTypestringData Disk TypeNo
TagstringBusiness GroupNo
ChargeTypestringPayment MethodNo
NodeListarray[string]Node ID ListNo

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
}