public static class CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptions
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
externalClusterId
The ID of the self-managed cluster.
|
Map<String,String> |
nodeMatchLabels
The tag key-value pairs for nodes.
|
List<CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations> |
nodeTolerations
Tolerations for nodes.
|
String |
roleName
The name of the RAM user to which the permissions on Elastic Algorithm Service of Platform for AI (PAI-EAS) are granted.
|
| 构造器和说明 |
|---|
CreateResourceRequestSelfManagedResourceOptions() |
@NameInMap(value="ExternalClusterId") public String externalClusterId
The ID of the self-managed cluster.
example:cf0386f250f2545689ca7fdd1cd******
@NameInMap(value="NodeMatchLabels") public Map<String,String> nodeMatchLabels
The tag key-value pairs for nodes.
@NameInMap(value="NodeTolerations") public List<CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations> nodeTolerations
Tolerations for nodes.
@NameInMap(value="RoleName") public String roleName
The name of the RAM user to which the permissions on Elastic Algorithm Service of Platform for AI (PAI-EAS) are granted.
example:clusterrole
public CreateResourceRequestSelfManagedResourceOptions()
public static CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptions build(Map<String,?> map) throws Exception
Exceptionpublic CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptions setExternalClusterId(String externalClusterId)
public String getExternalClusterId()
public CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptions setNodeMatchLabels(Map<String,String> nodeMatchLabels)
public CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptions setNodeTolerations(List<CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations> nodeTolerations)
public List<CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations> getNodeTolerations()
public CreateResourceRequest.CreateResourceRequestSelfManagedResourceOptions setRoleName(String roleName)
public String getRoleName()
Copyright © 2024. All rights reserved.