public class QuotaConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
ACS |
ACS
The ACS-related configurations.
|
String |
clusterId
The ID of the cluster where the quota resides.
|
String |
controlPlaneClusterId |
String |
defaultGPUDriver
The default GPU driver version for the resource quota.
|
Boolean |
enableGPUShare |
Boolean |
enablePreemptSubquotaWorkloads
Specifies whether workloads in sub-quotas can be preempted.
|
Boolean |
enableSelfQuotaPreemption
Specifies whether guaranteed resources within this quota can be preempted.
|
Boolean |
enableSubQuotaPreemption
Specifies whether resources in sub-quotas can be preempted.
|
EniCacheConfig |
eniCacheConfig |
Boolean |
isEncryptedResource |
OversoldUsageConfig |
oversoldUsageConfig |
List<WorkspaceSpecs> |
resourceSpecs
The resource specification templates.
|
SandboxCacheConfig |
sandboxCacheConfig |
SelfQuotaPreemptionConfig |
selfQuotaPreemptionConfig |
SubQuotaPreemptionConfig |
subQuotaPreemptionConfig
The configuration for the sub-quota preemption task.
|
List<String> |
supportGPUDrivers
The GPU driver versions supported by the resource quota.
|
Boolean |
supportRDMA
Specifies whether RDMA is supported.
|
String |
useCase |
UserVpc |
userVpc
The user VPC information.
|
List<String> |
workloadTypes |
| 构造器和说明 |
|---|
QuotaConfig() |
@NameInMap(value="ACS") public ACS ACS
The ACS-related configurations.
@NameInMap(value="ClusterId") public String clusterId
The ID of the cluster where the quota resides.
example:ceeb3724255364***
@NameInMap(value="ControlPlaneClusterId") public String controlPlaneClusterId
@NameInMap(value="DefaultGPUDriver") public String defaultGPUDriver
The default GPU driver version for the resource quota.
example:470.199.02
@NameInMap(value="EnableGPUShare") public Boolean enableGPUShare
@NameInMap(value="EnablePreemptSubquotaWorkloads") public Boolean enablePreemptSubquotaWorkloads
Specifies whether workloads in sub-quotas can be preempted.
example:false
@NameInMap(value="EnableSelfQuotaPreemption") public Boolean enableSelfQuotaPreemption
Specifies whether guaranteed resources within this quota can be preempted.
@NameInMap(value="EnableSubQuotaPreemption") public Boolean enableSubQuotaPreemption
Specifies whether resources in sub-quotas can be preempted.
@NameInMap(value="EniCacheConfig") public EniCacheConfig eniCacheConfig
@NameInMap(value="IsEncryptedResource") public Boolean isEncryptedResource
@NameInMap(value="OversoldUsageConfig") public OversoldUsageConfig oversoldUsageConfig
@NameInMap(value="ResourceSpecs") public List<WorkspaceSpecs> resourceSpecs
The resource specification templates.
@NameInMap(value="SandboxCacheConfig") public SandboxCacheConfig sandboxCacheConfig
@NameInMap(value="SelfQuotaPreemptionConfig") public SelfQuotaPreemptionConfig selfQuotaPreemptionConfig
@NameInMap(value="SubQuotaPreemptionConfig") public SubQuotaPreemptionConfig subQuotaPreemptionConfig
The configuration for the sub-quota preemption task.
@NameInMap(value="SupportGPUDrivers") public List<String> supportGPUDrivers
The GPU driver versions supported by the resource quota.
@NameInMap(value="SupportRDMA") public Boolean supportRDMA
Specifies whether RDMA is supported.
example:false
@NameInMap(value="UseCase") public String useCase
@NameInMap(value="UserVpc") public UserVpc userVpc
The user VPC information.
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 setControlPlaneClusterId(String controlPlaneClusterId)
public String getControlPlaneClusterId()
public QuotaConfig setDefaultGPUDriver(String defaultGPUDriver)
public String getDefaultGPUDriver()
public QuotaConfig setEnableGPUShare(Boolean enableGPUShare)
public Boolean getEnableGPUShare()
public QuotaConfig setEnablePreemptSubquotaWorkloads(Boolean enablePreemptSubquotaWorkloads)
public Boolean getEnablePreemptSubquotaWorkloads()
public QuotaConfig setEnableSelfQuotaPreemption(Boolean enableSelfQuotaPreemption)
public Boolean getEnableSelfQuotaPreemption()
public QuotaConfig setEnableSubQuotaPreemption(Boolean enableSubQuotaPreemption)
public Boolean getEnableSubQuotaPreemption()
public QuotaConfig setEniCacheConfig(EniCacheConfig eniCacheConfig)
public EniCacheConfig getEniCacheConfig()
public QuotaConfig setIsEncryptedResource(Boolean isEncryptedResource)
public Boolean getIsEncryptedResource()
public QuotaConfig setOversoldUsageConfig(OversoldUsageConfig oversoldUsageConfig)
public OversoldUsageConfig getOversoldUsageConfig()
public QuotaConfig setResourceSpecs(List<WorkspaceSpecs> resourceSpecs)
public List<WorkspaceSpecs> getResourceSpecs()
public QuotaConfig setSandboxCacheConfig(SandboxCacheConfig sandboxCacheConfig)
public SandboxCacheConfig getSandboxCacheConfig()
public QuotaConfig setSelfQuotaPreemptionConfig(SelfQuotaPreemptionConfig selfQuotaPreemptionConfig)
public SelfQuotaPreemptionConfig getSelfQuotaPreemptionConfig()
public QuotaConfig setSubQuotaPreemptionConfig(SubQuotaPreemptionConfig subQuotaPreemptionConfig)
public SubQuotaPreemptionConfig getSubQuotaPreemptionConfig()
public QuotaConfig setSupportGPUDrivers(List<String> supportGPUDrivers)
public QuotaConfig setSupportRDMA(Boolean supportRDMA)
public Boolean getSupportRDMA()
public QuotaConfig setUseCase(String useCase)
public String getUseCase()
public QuotaConfig setUserVpc(UserVpc userVpc)
public UserVpc getUserVpc()
public QuotaConfig setWorkloadTypes(List<String> workloadTypes)
Copyright © 2026. All rights reserved.