public class ListNodeTypesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
acceleratorType
The accelerator type used to filter the results.
|
String |
GPUType
The GPU type used to filter the results.
|
String |
nodeTypes
A comma-separated list of node types.
|
String |
quotaId
The quota ID.
|
String |
resourceGroupIds
A comma-separated list of resource group IDs.
|
| 构造器和说明 |
|---|
ListNodeTypesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListNodeTypesRequest |
build(Map<String,?> map) |
String |
getAcceleratorType() |
String |
getGPUType() |
String |
getNodeTypes() |
String |
getQuotaId() |
String |
getResourceGroupIds() |
ListNodeTypesRequest |
setAcceleratorType(String acceleratorType) |
ListNodeTypesRequest |
setGPUType(String GPUType) |
ListNodeTypesRequest |
setNodeTypes(String nodeTypes) |
ListNodeTypesRequest |
setQuotaId(String quotaId) |
ListNodeTypesRequest |
setResourceGroupIds(String resourceGroupIds) |
@NameInMap(value="AcceleratorType") public String acceleratorType
The accelerator type used to filter the results. Valid values: CPU and GPU.
GPU
@NameInMap(value="GPUType") public String GPUType
The GPU type used to filter the results. Fuzzy matching is supported.
example:A10
@NameInMap(value="NodeTypes") public String nodeTypes
A comma-separated list of node types. If omitted, all node types are returned.
example:ecs.c6.large,ecs.gn7i-c32g1.8xlarge
@NameInMap(value="QuotaId") public String quotaId
The quota ID. You must specify either this parameter or ResourceGroupIds.
quota123
@NameInMap(value="ResourceGroupIds") public String resourceGroupIds
A comma-separated list of resource group IDs. You must specify either this parameter or QuotaId. The UserId for the specified ResourceGroupId must match the UserId of the requesting user. All specified resource group instances must be of the same type and associated with the same Virtual Private Cloud (VPC).
rg123,rg456
public static ListNodeTypesRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListNodeTypesRequest setAcceleratorType(String acceleratorType)
public String getAcceleratorType()
public ListNodeTypesRequest setGPUType(String GPUType)
public String getGPUType()
public ListNodeTypesRequest setNodeTypes(String nodeTypes)
public String getNodeTypes()
public ListNodeTypesRequest setQuotaId(String quotaId)
public String getQuotaId()
public ListNodeTypesRequest setResourceGroupIds(String resourceGroupIds)
public String getResourceGroupIds()
Copyright © 2026. All rights reserved.