public class Quota
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
allocateStrategy
The resource allocation strategy.
|
String |
creatorId
The ID of the resource quota creator.
|
String |
description
The resource quota description.
|
String |
gmtCreatedTime
The time when the resource quota was created.
|
String |
gmtModifiedTime
The time when the resource quota was last modified.
|
String |
GPUType
The GPU type.
|
List<String> |
hyperZones |
List<Label> |
labels
The resource quota labels.
|
String |
latestOperationId
The ID of the latest operation on the resource quota.
|
ResourceSpec |
min
The guaranteed resources.
|
String |
parentQuotaId
The parent resource quota ID.
|
String |
queueStrategy
The queue policy for the quota.
|
QuotaCluster |
quotaCluster |
QuotaConfig |
quotaConfig
The resource quota configuration.
|
QuotaDetails |
quotaDetails
The resource quota details.
|
String |
quotaId
The resource quota ID.
|
String |
quotaName
The resource quota name.
|
String |
reasonCode
The error code.
|
String |
reasonMessage
The error reason.
|
List<String> |
resourceGroupIds
The list of resource groups.
|
String |
resourceType
The resource type.
|
String |
status
The resource quota status.
|
List<QuotaIdName> |
subQuotas
The list of sub-quotas under the resource quota.
|
String |
version
The version.
|
List<WorkspaceIdName> |
workspaces
The workspaces associated with the resource quota.
|
| 构造器和说明 |
|---|
Quota() |
@NameInMap(value="AllocateStrategy") public String allocateStrategy
The resource allocation strategy. Currently, only ByNodeSpecs is supported.
example:ByNodeSpec
@NameInMap(value="CreatorId") public String creatorId
The ID of the resource quota creator.
example:1884692****
@NameInMap(value="Description") public String description
The resource quota description.
example:this is a test quota
@NameInMap(value="GPUType") public String GPUType
The GPU type.
@NameInMap(value="GmtCreatedTime") public String gmtCreatedTime
The time when the resource quota was created.
example:2023-06-22T00:00:00Z
@NameInMap(value="GmtModifiedTime") public String gmtModifiedTime
The time when the resource quota was last modified.
example:2023-06-22T00:00:00Z
@NameInMap(value="LatestOperationId") public String latestOperationId
The ID of the latest operation on the resource quota.
example:operation****
@NameInMap(value="Min") public ResourceSpec min
The guaranteed resources.
@NameInMap(value="ParentQuotaId") public String parentQuotaId
The parent resource quota ID.
example:""
@NameInMap(value="QueueStrategy") public String queueStrategy
The queue policy for the quota. Valid values:
PaiStrategyIntelligent
@NameInMap(value="QuotaCluster") public QuotaCluster quotaCluster
@NameInMap(value="QuotaConfig") public QuotaConfig quotaConfig
The resource quota configuration.
@NameInMap(value="QuotaDetails") public QuotaDetails quotaDetails
The resource quota details.
@NameInMap(value="QuotaId") public String quotaId
The resource quota ID.
example:quota12345
@NameInMap(value="QuotaName") public String quotaName
The resource quota name.
example:dlc-quota
@NameInMap(value="ReasonCode") public String reasonCode
The error code.
example:“”
@NameInMap(value="ReasonMessage") public String reasonMessage
The error reason.
example:“”
@NameInMap(value="ResourceGroupIds") public List<String> resourceGroupIds
The list of resource groups.
@NameInMap(value="ResourceType") public String resourceType
The resource type. Valid values:
ECS
@NameInMap(value="Status") public String status
The resource quota status.
example:Ready
@NameInMap(value="SubQuotas") public List<QuotaIdName> subQuotas
The list of sub-quotas under the resource quota.
@NameInMap(value="Version") public String version
The version.
@NameInMap(value="Workspaces") public List<WorkspaceIdName> workspaces
The workspaces associated with the resource 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.