You need to enable JavaScript to run this app.
Volcengine Kubernetes Engine

Volcengine Kubernetes Engine

Copy page
Download PDF
Instance images management
ListInstanceTypeLabels
Copy page
Download PDF
ListInstanceTypeLabels
Obtain the list of labels supported by ECS instance specifications that correspond to nodes.​
Request description​
VKE has deployed services in multiple regions globally to provide a stable and low-latency access experience. You can refer to the Service addresses topic and select the most suitable access point for your business region.​
  • Request method: POST​
  • Request URL: https://vke.cn-beijing.volcengineapi.com?Action=ListInstanceTypeLabels&Version=2022-05-12​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following table contains the API request parameters. You also need to provide public parameters when calling this API. See Public parameters for details.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
ListInstanceTypeLabels​
The API name. The name of the current API is ListInstanceTypeLabels.​
Version​
String​
Yes​
2022-05-12​
The API version. The current version of the API is 2022-05-12.​
InstanceTypeIds​
Array of String​
no​
["ecs.g1ie.large"]​
The IDs of the ECS instance specifications that correspond to nodes. You can call the ListNodePools API to obtain the instance specification IDs. You can specify up to 10 instance specification IDs at a time.​
​
​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
ListInstanceTypeLabels​
The API name. The name of the current API is ListInstanceTypeLabels.​
Version​
String​
Yes​
2022-05-12​
The API version. The current version of the API is 2022-05-12.​
InstanceTypeIds​
Array of String​
no​
["ecs.g1ie.large"]​
The IDs of the ECS instance specifications that correspond to nodes. You can call the ListNodePools API to obtain the instance specification IDs. You can specify up to 10 instance specification IDs at a time.​
​
Sample requests​
​
POST /?Action=ListInstanceTypeLabels&Version=2022-05-12 HTTP/1.1​
Content-Type: application/json​
{​
"InstanceTypeIds": [​
"ecs.g1ie.large"​
]​
}​
​
Response parameters​
The following table contains the response parameters of this API. See Response results for details about public response parameters.​
​
Parameters​
Type​
Sample value​
Description​
Items​
-​
The list of returned label information.​
​
InstanceTypeLabelResponse​
​
Parameters​
Type​
Sample value​
Description​
Labels​
Array of Label​
-​
The list of labels supported by instance specifications that correspond to nodes.​
InstanceType​
String​
ecs.g1ie​
The instance family.​
InstanceTypeId​
String​
ecs.g1ie.large​
The instance specification ID.​
​
Label​
​
Parameters​
Type​
Sample value​
Description​
Key​
String​
label-key​
The label key.​
Value​
String​
label-value​
The label value.​
​
Sample responses​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420**********",​
"Action": "ListInstanceTypeLabels",​
"Version": "2022-05-12",​
"Service": "vke",​
"Region": "cn-beijing"​
},​
"Result": {​
"Items": [​
{​
"Labels": [​
{​
"Key": "label-key",​
"Value": "label-value"​
}​
],​
"InstanceType": "ecs.g1ie",​
"InstanceTypeId": "ecs.g1ie.large"​
}​
]​
}​
}
​
Error code​
There are no proprietary error codes for this API. See Public error codes for details about public error codes.​
Last updated: 2026.07.23 14:31:47