public class Quota
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
allocateStrategy
The resource allocation strategy.
|
String |
creatorId
The ID of the user who created the quota.
|
String |
description
The quota description.
|
String |
gmtCreatedTime
The time when the quota was created.
|
String |
gmtModifiedTime
The time when the quota was last modified.
|
String |
GPUType |
List<String> |
hyperZones |
List<Label> |
labels
The quota labels.
|
String |
latestOperationId
The ID of the most recent operation on the quota.
|
ResourceSpec |
min
The guaranteed resources.
|
String |
parentQuotaId
The parent quota ID.
|
String |
queueStrategy
The queuing strategy.
|
QuotaCluster |
quotaCluster |
QuotaConfig |
quotaConfig
The quota configuration.
|
QuotaDetails |
quotaDetails
The quota details.
|
String |
quotaId
The quota ID.
|
String |
quotaName
The quota name.
|
String |
reasonCode
The error code.
|
String |
reasonMessage
The error message.
|
List<String> |
resourceGroupIds
A list of resource group IDs.
|
String |
resourceType
The resource type.
|
String |
status
The quota status.
|
List<QuotaIdName> |
subQuotas
A list of sub-quotas.
|
String |
version
The version.
|
List<WorkspaceIdName> |
workspaces
The workspaces that are associated with the quota.
|
| 构造器和说明 |
|---|
Quota() |
@NameInMap(value="AllocateStrategy") public String allocateStrategy
The resource allocation strategy. Currently, only ByNodeSpec is supported.
ByNodeSpec
@NameInMap(value="CreatorId") public String creatorId
The ID of the user who created the quota.
example:1884692****
@NameInMap(value="Description") public String description
The quota description.
example:this is a test quota
@NameInMap(value="GPUType") public String GPUType
@NameInMap(value="GmtCreatedTime") public String gmtCreatedTime
The time when the quota was created.
example:2023-06-22T00:00:00Z
@NameInMap(value="GmtModifiedTime") public String gmtModifiedTime
The time when the quota was last modified.
example:2023-06-22T00:00:00Z
@NameInMap(value="LatestOperationId") public String latestOperationId
The ID of the most recent operation on the quota.
example:operation****
@NameInMap(value="Min") public ResourceSpec min
The guaranteed resources.
@NameInMap(value="ParentQuotaId") public String parentQuotaId
The parent quota ID.
example:""
@NameInMap(value="QueueStrategy") public String queueStrategy
The queuing strategy. Valid values:
PaiStrategyIntelligent: intelligent strategy.
PaiStrategyBalance: balanced strategy.
PaiStrategyRoundRobin: round-robin strategy.
PaiStrategyStrictFIFO: FIFO strategy.
PaiStrategyIntelligent
@NameInMap(value="QuotaCluster") public QuotaCluster quotaCluster
@NameInMap(value="QuotaConfig") public QuotaConfig quotaConfig
The quota configuration.
@NameInMap(value="QuotaDetails") public QuotaDetails quotaDetails
The quota details.
@NameInMap(value="QuotaId") public String quotaId
The quota ID.
example:quota12345
@NameInMap(value="QuotaName") public String quotaName
The quota name.
example:dlc-quota
@NameInMap(value="ReasonCode") public String reasonCode
The error code.
example:“”
@NameInMap(value="ReasonMessage") public String reasonMessage
The error message.
example:“”
@NameInMap(value="ResourceGroupIds") public List<String> resourceGroupIds
A list of resource group IDs.
@NameInMap(value="ResourceType") public String resourceType
The resource type. Valid values:
Lingjun
ECS (default)
ACS
ECS
@NameInMap(value="Status") public String status
The quota status.
example:Ready
@NameInMap(value="SubQuotas") public List<QuotaIdName> subQuotas
A list of sub-quotas.
@NameInMap(value="Version") public String version
The version.
@NameInMap(value="Workspaces") public List<WorkspaceIdName> workspaces
The workspaces that are associated with the quota.
public String getAllocateStrategy()
public String getCreatorId()
public String getDescription()
public String getGPUType()
public String getGmtCreatedTime()
public String getGmtModifiedTime()
public String getLatestOperationId()
public Quota setMin(ResourceSpec min)
public ResourceSpec getMin()
public String getParentQuotaId()
public String getQueueStrategy()
public Quota setQuotaCluster(QuotaCluster quotaCluster)
public QuotaCluster getQuotaCluster()
public Quota setQuotaConfig(QuotaConfig quotaConfig)
public QuotaConfig getQuotaConfig()
public Quota setQuotaDetails(QuotaDetails quotaDetails)
public QuotaDetails getQuotaDetails()
public String getQuotaId()
public String getQuotaName()
public String getReasonCode()
public String getReasonMessage()
public String getResourceType()
public String getStatus()
public Quota setSubQuotas(List<QuotaIdName> subQuotas)
public List<QuotaIdName> getSubQuotas()
public String getVersion()
public Quota setWorkspaces(List<WorkspaceIdName> workspaces)
public List<WorkspaceIdName> getWorkspaces()
Copyright © 2026. All rights reserved.