public class QuotaConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
ACS |
ACS |
String |
clusterId
example:
ceeb37xxxx
|
String |
defaultGPUDriver
example:
470.199.02
|
Boolean |
enablePreemptSubquotaWorkloads |
Boolean |
enableSubQuotaPreemption |
List<WorkspaceSpecs> |
resourceSpecs |
SubQuotaPreemptionConfig |
subQuotaPreemptionConfig |
List<String> |
supportGPUDrivers |
Boolean |
supportRDMA
example:
false
|
UserVpc |
userVpc |
| 构造器和说明 |
|---|
QuotaConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
static QuotaConfig |
build(Map<String,?> map) |
ACS |
getACS() |
String |
getClusterId() |
String |
getDefaultGPUDriver() |
Boolean |
getEnablePreemptSubquotaWorkloads() |
Boolean |
getEnableSubQuotaPreemption() |
List<WorkspaceSpecs> |
getResourceSpecs() |
SubQuotaPreemptionConfig |
getSubQuotaPreemptionConfig() |
List<String> |
getSupportGPUDrivers() |
Boolean |
getSupportRDMA() |
UserVpc |
getUserVpc() |
QuotaConfig |
setACS(ACS ACS) |
QuotaConfig |
setClusterId(String clusterId) |
QuotaConfig |
setDefaultGPUDriver(String defaultGPUDriver) |
QuotaConfig |
setEnablePreemptSubquotaWorkloads(Boolean enablePreemptSubquotaWorkloads) |
QuotaConfig |
setEnableSubQuotaPreemption(Boolean enableSubQuotaPreemption) |
QuotaConfig |
setResourceSpecs(List<WorkspaceSpecs> resourceSpecs) |
QuotaConfig |
setSubQuotaPreemptionConfig(SubQuotaPreemptionConfig subQuotaPreemptionConfig) |
QuotaConfig |
setSupportGPUDrivers(List<String> supportGPUDrivers) |
QuotaConfig |
setSupportRDMA(Boolean supportRDMA) |
QuotaConfig |
setUserVpc(UserVpc userVpc) |
@NameInMap(value="ACS") public ACS ACS
@NameInMap(value="ClusterId") public String clusterId
ceeb37xxxx
@NameInMap(value="DefaultGPUDriver") public String defaultGPUDriver
470.199.02
@NameInMap(value="EnablePreemptSubquotaWorkloads") public Boolean enablePreemptSubquotaWorkloads
@NameInMap(value="EnableSubQuotaPreemption") public Boolean enableSubQuotaPreemption
@NameInMap(value="ResourceSpecs") public List<WorkspaceSpecs> resourceSpecs
@NameInMap(value="SubQuotaPreemptionConfig") public SubQuotaPreemptionConfig subQuotaPreemptionConfig
@NameInMap(value="SupportRDMA") public Boolean supportRDMA
false
@NameInMap(value="UserVpc") public UserVpc userVpc
public static QuotaConfig build(Map<String,?> map) throws Exception
Exceptionpublic QuotaConfig setACS(ACS ACS)
public ACS getACS()
public QuotaConfig setClusterId(String clusterId)
public String getClusterId()
public QuotaConfig setDefaultGPUDriver(String defaultGPUDriver)
public String getDefaultGPUDriver()
public QuotaConfig setEnablePreemptSubquotaWorkloads(Boolean enablePreemptSubquotaWorkloads)
public Boolean getEnablePreemptSubquotaWorkloads()
public QuotaConfig setEnableSubQuotaPreemption(Boolean enableSubQuotaPreemption)
public Boolean getEnableSubQuotaPreemption()
public QuotaConfig setResourceSpecs(List<WorkspaceSpecs> resourceSpecs)
public List<WorkspaceSpecs> getResourceSpecs()
public QuotaConfig setSubQuotaPreemptionConfig(SubQuotaPreemptionConfig subQuotaPreemptionConfig)
public SubQuotaPreemptionConfig getSubQuotaPreemptionConfig()
public QuotaConfig setSupportGPUDrivers(List<String> supportGPUDrivers)
public QuotaConfig setSupportRDMA(Boolean supportRDMA)
public Boolean getSupportRDMA()
public QuotaConfig setUserVpc(UserVpc userVpc)
public UserVpc getUserVpc()
Copyright © 2025. All rights reserved.