published on Tuesday, Mar 3, 2026 by Pulumi
published on Tuesday, Mar 3, 2026 by Pulumi
Provides a Max Compute Quota resource.
For information about Max Compute Quota and how to use it, see What is Quota.
NOTE: Available since v1.247.0.
NOTE: This resource will be reconstructed in future versions due to breaking changes and should not be used in production. We recommend upgrading to the latest provider version after May 20, 2025 (subject to change). For assistance, please file a support ticket with the MaxCompute product team directly.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraformexample";
const partNickName = config.get("partNickName") || "TFTest17292";
const subQuotaNickname3 = config.get("subQuotaNickname3") || "sub398892";
const subQuotaNickname1 = config.get("subQuotaNickname1") || "sub129792";
const subQuotaNickname2 = config.get("subQuotaNickname2") || "sub223192";
const _default = new alicloud.maxcompute.Quota("default", {
paymentType: "Subscription",
partNickName: partNickName,
commodityData: "{\"CU\":80,\"ord_time\":\"1:Month\",\"autoRenew\":false} ",
commodityCode: "odpsplus",
subQuotaInfoLists: [
{
parameter: {
minCu: 10,
maxCu: 60,
enablePriority: false,
forceReservedMin: false,
schedulerType: "Fifo",
singleJobCuLimit: 10,
},
nickName: `os_${partNickName}`,
type: "FUXI_OFFLINE",
},
{
parameter: {
minCu: 10,
maxCu: 10,
schedulerType: "Fair",
enablePriority: false,
forceReservedMin: false,
},
nickName: subQuotaNickname1,
type: "FUXI_OFFLINE",
},
{
nickName: subQuotaNickname2,
type: "FUXI_OFFLINE",
parameter: {
minCu: 60,
maxCu: 60,
schedulerType: "Fair",
enablePriority: true,
forceReservedMin: true,
},
},
],
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraformexample"
part_nick_name = config.get("partNickName")
if part_nick_name is None:
part_nick_name = "TFTest17292"
sub_quota_nickname3 = config.get("subQuotaNickname3")
if sub_quota_nickname3 is None:
sub_quota_nickname3 = "sub398892"
sub_quota_nickname1 = config.get("subQuotaNickname1")
if sub_quota_nickname1 is None:
sub_quota_nickname1 = "sub129792"
sub_quota_nickname2 = config.get("subQuotaNickname2")
if sub_quota_nickname2 is None:
sub_quota_nickname2 = "sub223192"
default = alicloud.maxcompute.Quota("default",
payment_type="Subscription",
part_nick_name=part_nick_name,
commodity_data="{\"CU\":80,\"ord_time\":\"1:Month\",\"autoRenew\":false} ",
commodity_code="odpsplus",
sub_quota_info_lists=[
{
"parameter": {
"min_cu": 10,
"max_cu": 60,
"enable_priority": False,
"force_reserved_min": False,
"scheduler_type": "Fifo",
"single_job_cu_limit": 10,
},
"nick_name": f"os_{part_nick_name}",
"type": "FUXI_OFFLINE",
},
{
"parameter": {
"min_cu": 10,
"max_cu": 10,
"scheduler_type": "Fair",
"enable_priority": False,
"force_reserved_min": False,
},
"nick_name": sub_quota_nickname1,
"type": "FUXI_OFFLINE",
},
{
"nick_name": sub_quota_nickname2,
"type": "FUXI_OFFLINE",
"parameter": {
"min_cu": 60,
"max_cu": 60,
"scheduler_type": "Fair",
"enable_priority": True,
"force_reserved_min": True,
},
},
])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/maxcompute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraformexample"
if param := cfg.Get("name"); param != "" {
name = param
}
partNickName := "TFTest17292"
if param := cfg.Get("partNickName"); param != "" {
partNickName = param
}
subQuotaNickname3 := "sub398892"
if param := cfg.Get("subQuotaNickname3"); param != "" {
subQuotaNickname3 = param
}
subQuotaNickname1 := "sub129792"
if param := cfg.Get("subQuotaNickname1"); param != "" {
subQuotaNickname1 = param
}
subQuotaNickname2 := "sub223192"
if param := cfg.Get("subQuotaNickname2"); param != "" {
subQuotaNickname2 = param
}
_, err := maxcompute.NewQuota(ctx, "default", &maxcompute.QuotaArgs{
PaymentType: pulumi.String("Subscription"),
PartNickName: pulumi.String(partNickName),
CommodityData: pulumi.String("{\"CU\":80,\"ord_time\":\"1:Month\",\"autoRenew\":false} "),
CommodityCode: pulumi.String("odpsplus"),
SubQuotaInfoLists: maxcompute.QuotaSubQuotaInfoListArray{
&maxcompute.QuotaSubQuotaInfoListArgs{
Parameter: &maxcompute.QuotaSubQuotaInfoListParameterArgs{
MinCu: pulumi.Int(10),
MaxCu: pulumi.Int(60),
EnablePriority: pulumi.Bool(false),
ForceReservedMin: pulumi.Bool(false),
SchedulerType: pulumi.String("Fifo"),
SingleJobCuLimit: pulumi.Int(10),
},
NickName: pulumi.Sprintf("os_%v", partNickName),
Type: pulumi.String("FUXI_OFFLINE"),
},
&maxcompute.QuotaSubQuotaInfoListArgs{
Parameter: &maxcompute.QuotaSubQuotaInfoListParameterArgs{
MinCu: pulumi.Int(10),
MaxCu: pulumi.Int(10),
SchedulerType: pulumi.String("Fair"),
EnablePriority: pulumi.Bool(false),
ForceReservedMin: pulumi.Bool(false),
},
NickName: pulumi.String(subQuotaNickname1),
Type: pulumi.String("FUXI_OFFLINE"),
},
&maxcompute.QuotaSubQuotaInfoListArgs{
NickName: pulumi.String(subQuotaNickname2),
Type: pulumi.String("FUXI_OFFLINE"),
Parameter: &maxcompute.QuotaSubQuotaInfoListParameterArgs{
MinCu: pulumi.Int(60),
MaxCu: pulumi.Int(60),
SchedulerType: pulumi.String("Fair"),
EnablePriority: pulumi.Bool(true),
ForceReservedMin: pulumi.Bool(true),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraformexample";
var partNickName = config.Get("partNickName") ?? "TFTest17292";
var subQuotaNickname3 = config.Get("subQuotaNickname3") ?? "sub398892";
var subQuotaNickname1 = config.Get("subQuotaNickname1") ?? "sub129792";
var subQuotaNickname2 = config.Get("subQuotaNickname2") ?? "sub223192";
var @default = new AliCloud.MaxCompute.Quota("default", new()
{
PaymentType = "Subscription",
PartNickName = partNickName,
CommodityData = "{\"CU\":80,\"ord_time\":\"1:Month\",\"autoRenew\":false} ",
CommodityCode = "odpsplus",
SubQuotaInfoLists = new[]
{
new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListArgs
{
Parameter = new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListParameterArgs
{
MinCu = 10,
MaxCu = 60,
EnablePriority = false,
ForceReservedMin = false,
SchedulerType = "Fifo",
SingleJobCuLimit = 10,
},
NickName = $"os_{partNickName}",
Type = "FUXI_OFFLINE",
},
new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListArgs
{
Parameter = new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListParameterArgs
{
MinCu = 10,
MaxCu = 10,
SchedulerType = "Fair",
EnablePriority = false,
ForceReservedMin = false,
},
NickName = subQuotaNickname1,
Type = "FUXI_OFFLINE",
},
new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListArgs
{
NickName = subQuotaNickname2,
Type = "FUXI_OFFLINE",
Parameter = new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListParameterArgs
{
MinCu = 60,
MaxCu = 60,
SchedulerType = "Fair",
EnablePriority = true,
ForceReservedMin = true,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.maxcompute.Quota;
import com.pulumi.alicloud.maxcompute.QuotaArgs;
import com.pulumi.alicloud.maxcompute.inputs.QuotaSubQuotaInfoListArgs;
import com.pulumi.alicloud.maxcompute.inputs.QuotaSubQuotaInfoListParameterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraformexample");
final var partNickName = config.get("partNickName").orElse("TFTest17292");
final var subQuotaNickname3 = config.get("subQuotaNickname3").orElse("sub398892");
final var subQuotaNickname1 = config.get("subQuotaNickname1").orElse("sub129792");
final var subQuotaNickname2 = config.get("subQuotaNickname2").orElse("sub223192");
var default_ = new Quota("default", QuotaArgs.builder()
.paymentType("Subscription")
.partNickName(partNickName)
.commodityData("{\"CU\":80,\"ord_time\":\"1:Month\",\"autoRenew\":false} ")
.commodityCode("odpsplus")
.subQuotaInfoLists(
QuotaSubQuotaInfoListArgs.builder()
.parameter(QuotaSubQuotaInfoListParameterArgs.builder()
.minCu(10)
.maxCu(60)
.enablePriority(false)
.forceReservedMin(false)
.schedulerType("Fifo")
.singleJobCuLimit(10)
.build())
.nickName(String.format("os_%s", partNickName))
.type("FUXI_OFFLINE")
.build(),
QuotaSubQuotaInfoListArgs.builder()
.parameter(QuotaSubQuotaInfoListParameterArgs.builder()
.minCu(10)
.maxCu(10)
.schedulerType("Fair")
.enablePriority(false)
.forceReservedMin(false)
.build())
.nickName(subQuotaNickname1)
.type("FUXI_OFFLINE")
.build(),
QuotaSubQuotaInfoListArgs.builder()
.nickName(subQuotaNickname2)
.type("FUXI_OFFLINE")
.parameter(QuotaSubQuotaInfoListParameterArgs.builder()
.minCu(60)
.maxCu(60)
.schedulerType("Fair")
.enablePriority(true)
.forceReservedMin(true)
.build())
.build())
.build());
}
}
configuration:
name:
type: string
default: terraformexample
partNickName:
type: string
default: TFTest17292
subQuotaNickname3:
type: string
default: sub398892
subQuotaNickname1:
type: string
default: sub129792
subQuotaNickname2:
type: string
default: sub223192
resources:
default:
type: alicloud:maxcompute:Quota
properties:
paymentType: Subscription
partNickName: ${partNickName}
commodityData: '{"CU":80,"ord_time":"1:Month","autoRenew":false} '
commodityCode: odpsplus
subQuotaInfoLists:
- parameter:
minCu: '10'
maxCu: '60'
enablePriority: 'false'
forceReservedMin: 'false'
schedulerType: Fifo
singleJobCuLimit: '10'
nickName: os_${partNickName}
type: FUXI_OFFLINE
- parameter:
minCu: '10'
maxCu: '10'
schedulerType: Fair
enablePriority: 'false'
forceReservedMin: 'false'
nickName: ${subQuotaNickname1}
type: FUXI_OFFLINE
- nickName: ${subQuotaNickname2}
type: FUXI_OFFLINE
parameter:
minCu: '60'
maxCu: '60'
schedulerType: Fair
enablePriority: 'true'
forceReservedMin: 'true'
Deleting alicloud.maxcompute.Quota or removing it from your configuration
Terraform cannot destroy resource alicloud.maxcompute.Quota. Terraform will remove this resource from the state file, however resources may remain.
📚 Need more examples? VIEW MORE EXAMPLES
Create Quota Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Quota(name: string, args: QuotaArgs, opts?: CustomResourceOptions);@overload
def Quota(resource_name: str,
args: QuotaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Quota(resource_name: str,
opts: Optional[ResourceOptions] = None,
commodity_code: Optional[str] = None,
payment_type: Optional[str] = None,
commodity_data: Optional[str] = None,
part_nick_name: Optional[str] = None,
sub_quota_info_lists: Optional[Sequence[QuotaSubQuotaInfoListArgs]] = None)func NewQuota(ctx *Context, name string, args QuotaArgs, opts ...ResourceOption) (*Quota, error)public Quota(string name, QuotaArgs args, CustomResourceOptions? opts = null)type: alicloud:maxcompute:Quota
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var quotaResource = new AliCloud.MaxCompute.Quota("quotaResource", new()
{
CommodityCode = "string",
PaymentType = "string",
CommodityData = "string",
PartNickName = "string",
SubQuotaInfoLists = new[]
{
new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListArgs
{
NickName = "string",
Parameter = new AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListParameterArgs
{
MaxCu = 0,
MinCu = 0,
EnablePriority = false,
ForceReservedMin = false,
SchedulerType = "string",
SingleJobCuLimit = 0,
},
Type = "string",
},
},
});
example, err := maxcompute.NewQuota(ctx, "quotaResource", &maxcompute.QuotaArgs{
CommodityCode: pulumi.String("string"),
PaymentType: pulumi.String("string"),
CommodityData: pulumi.String("string"),
PartNickName: pulumi.String("string"),
SubQuotaInfoLists: maxcompute.QuotaSubQuotaInfoListArray{
&maxcompute.QuotaSubQuotaInfoListArgs{
NickName: pulumi.String("string"),
Parameter: &maxcompute.QuotaSubQuotaInfoListParameterArgs{
MaxCu: pulumi.Int(0),
MinCu: pulumi.Int(0),
EnablePriority: pulumi.Bool(false),
ForceReservedMin: pulumi.Bool(false),
SchedulerType: pulumi.String("string"),
SingleJobCuLimit: pulumi.Int(0),
},
Type: pulumi.String("string"),
},
},
})
var quotaResource = new Quota("quotaResource", QuotaArgs.builder()
.commodityCode("string")
.paymentType("string")
.commodityData("string")
.partNickName("string")
.subQuotaInfoLists(QuotaSubQuotaInfoListArgs.builder()
.nickName("string")
.parameter(QuotaSubQuotaInfoListParameterArgs.builder()
.maxCu(0)
.minCu(0)
.enablePriority(false)
.forceReservedMin(false)
.schedulerType("string")
.singleJobCuLimit(0)
.build())
.type("string")
.build())
.build());
quota_resource = alicloud.maxcompute.Quota("quotaResource",
commodity_code="string",
payment_type="string",
commodity_data="string",
part_nick_name="string",
sub_quota_info_lists=[{
"nick_name": "string",
"parameter": {
"max_cu": 0,
"min_cu": 0,
"enable_priority": False,
"force_reserved_min": False,
"scheduler_type": "string",
"single_job_cu_limit": 0,
},
"type": "string",
}])
const quotaResource = new alicloud.maxcompute.Quota("quotaResource", {
commodityCode: "string",
paymentType: "string",
commodityData: "string",
partNickName: "string",
subQuotaInfoLists: [{
nickName: "string",
parameter: {
maxCu: 0,
minCu: 0,
enablePriority: false,
forceReservedMin: false,
schedulerType: "string",
singleJobCuLimit: 0,
},
type: "string",
}],
});
type: alicloud:maxcompute:Quota
properties:
commodityCode: string
commodityData: string
partNickName: string
paymentType: string
subQuotaInfoLists:
- nickName: string
parameter:
enablePriority: false
forceReservedMin: false
maxCu: 0
minCu: 0
schedulerType: string
singleJobCuLimit: 0
type: string
Quota Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Quota resource accepts the following input properties:
- Commodity
Code string - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- Payment
Type string Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- Commodity
Data string - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- Part
Nick stringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- Sub
Quota List<Pulumi.Info Lists Ali Cloud. Max Compute. Inputs. Quota Sub Quota Info List> Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- Commodity
Code string - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- Payment
Type string Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- Commodity
Data string - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- Part
Nick stringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- Sub
Quota []QuotaInfo Lists Sub Quota Info List Args Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity
Code String - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- payment
Type String Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- commodity
Data String - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part
Nick StringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- sub
Quota List<QuotaInfo Lists Sub Quota Info List> Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity
Code string - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- payment
Type string Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- commodity
Data string - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part
Nick stringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- sub
Quota QuotaInfo Lists Sub Quota Info List[] Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity_
code str - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- payment_
type str Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- commodity_
data str - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part_
nick_ strname Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- sub_
quota_ Sequence[Quotainfo_ lists Sub Quota Info List Args] Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity
Code String - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- payment
Type String Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- commodity
Data String - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part
Nick StringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- sub
Quota List<Property Map>Info Lists Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the Quota resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Quota Resource
Get an existing Quota resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: QuotaState, opts?: CustomResourceOptions): Quota@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
commodity_code: Optional[str] = None,
commodity_data: Optional[str] = None,
part_nick_name: Optional[str] = None,
payment_type: Optional[str] = None,
sub_quota_info_lists: Optional[Sequence[QuotaSubQuotaInfoListArgs]] = None) -> Quotafunc GetQuota(ctx *Context, name string, id IDInput, state *QuotaState, opts ...ResourceOption) (*Quota, error)public static Quota Get(string name, Input<string> id, QuotaState? state, CustomResourceOptions? opts = null)public static Quota get(String name, Output<String> id, QuotaState state, CustomResourceOptions options)resources: _: type: alicloud:maxcompute:Quota get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Commodity
Code string - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- Commodity
Data string - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- Part
Nick stringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- Payment
Type string Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- Sub
Quota List<Pulumi.Info Lists Ali Cloud. Max Compute. Inputs. Quota Sub Quota Info List> Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- Commodity
Code string - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- Commodity
Data string - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- Part
Nick stringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- Payment
Type string Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- Sub
Quota []QuotaInfo Lists Sub Quota Info List Args Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity
Code String - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- commodity
Data String - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part
Nick StringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- payment
Type String Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- sub
Quota List<QuotaInfo Lists Sub Quota Info List> Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity
Code string - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- commodity
Data string - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part
Nick stringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- payment
Type string Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- sub
Quota QuotaInfo Lists Sub Quota Info List[] Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity_
code str - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- commodity_
data str - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part_
nick_ strname Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- payment_
type str Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- sub_
quota_ Sequence[Quotainfo_ lists Sub Quota Info List Args] Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
- commodity
Code String - Valid values: odps_intl/odpsplus_intl/odps/odpsplus
- NOTE:* --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
- commodity
Data String - Define quota rules when creating quotas, for example:{"CU":50,<span pulumi-lang-nodejs=""ordTime"" pulumi-lang-dotnet=""OrdTime"" pulumi-lang-go=""ordTime"" pulumi-lang-python=""ord_time"" pulumi-lang-yaml=""ordTime"" pulumi-lang-java=""ordTime"">"ord_time":"1:Month","autoRenew":false}. CU (minimum quota resource size is 50) ord_time 1:Month/Year (1 means quantity: Month/Year is the unit) autoRenew (whether to enable automatic renewal) If PaymentType is PayAsYouGo, you do not need to fill in
- part
Nick StringName Quota partial nickname, supports English letters and numbers, up to 24 characters
NOTE: If PaymentType is PayAsYouGo, you do not need to fill it in
- payment
Type String Payment type. Valid values: Subscription/PayAsYouGo
NOTE: -- PayAsYouGo only needs to be opened once per region
- sub
Quota List<Property Map>Info Lists Secondary Quota list
NOTE: -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted. See
sub_quota_info_listbelow.
Supporting Types
QuotaSubQuotaInfoList, QuotaSubQuotaInfoListArgs
- Nick
Name string Secondary Quota nickname.
NOTE: -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
- Parameter
Pulumi.
Ali Cloud. Max Compute. Inputs. Quota Sub Quota Info List Parameter - Parameter See
parameterbelow. - Type string
- The secondary Quota type. The default value is: FUXI_OFFLINE
- Nick
Name string Secondary Quota nickname.
NOTE: -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
- Parameter
Quota
Sub Quota Info List Parameter - Parameter See
parameterbelow. - Type string
- The secondary Quota type. The default value is: FUXI_OFFLINE
- nick
Name String Secondary Quota nickname.
NOTE: -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
- parameter
Quota
Sub Quota Info List Parameter - Parameter See
parameterbelow. - type String
- The secondary Quota type. The default value is: FUXI_OFFLINE
- nick
Name string Secondary Quota nickname.
NOTE: -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
- parameter
Quota
Sub Quota Info List Parameter - Parameter See
parameterbelow. - type string
- The secondary Quota type. The default value is: FUXI_OFFLINE
- nick_
name str Secondary Quota nickname.
NOTE: -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
- parameter
Quota
Sub Quota Info List Parameter - Parameter See
parameterbelow. - type str
- The secondary Quota type. The default value is: FUXI_OFFLINE
- nick
Name String Secondary Quota nickname.
NOTE: -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
- parameter Property Map
- Parameter See
parameterbelow. - type String
- The secondary Quota type. The default value is: FUXI_OFFLINE
QuotaSubQuotaInfoListParameter, QuotaSubQuotaInfoListParameterArgs
- Max
Cu int The value of maxCU in Reserved CUs.
NOTE: The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
- Min
Cu int The value of minCU in Reserved CUs.
NOTE: -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
- Enable
Priority bool - Enable priority. Valid values: true/false, default: false
- Force
Reserved boolMin - Exclusive or not. Valid values: true/false, default: false
- Scheduler
Type string - Scheduling policy. Valid values: Fifo/Fair, default: Fifo
- Single
Job intCu Limit Single job CU upper limit. Valid value: greater than or equal to 1
NOTE: -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
- Max
Cu int The value of maxCU in Reserved CUs.
NOTE: The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
- Min
Cu int The value of minCU in Reserved CUs.
NOTE: -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
- Enable
Priority bool - Enable priority. Valid values: true/false, default: false
- Force
Reserved boolMin - Exclusive or not. Valid values: true/false, default: false
- Scheduler
Type string - Scheduling policy. Valid values: Fifo/Fair, default: Fifo
- Single
Job intCu Limit Single job CU upper limit. Valid value: greater than or equal to 1
NOTE: -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
- max
Cu Integer The value of maxCU in Reserved CUs.
NOTE: The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
- min
Cu Integer The value of minCU in Reserved CUs.
NOTE: -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
- enable
Priority Boolean - Enable priority. Valid values: true/false, default: false
- force
Reserved BooleanMin - Exclusive or not. Valid values: true/false, default: false
- scheduler
Type String - Scheduling policy. Valid values: Fifo/Fair, default: Fifo
- single
Job IntegerCu Limit Single job CU upper limit. Valid value: greater than or equal to 1
NOTE: -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
- max
Cu number The value of maxCU in Reserved CUs.
NOTE: The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
- min
Cu number The value of minCU in Reserved CUs.
NOTE: -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
- enable
Priority boolean - Enable priority. Valid values: true/false, default: false
- force
Reserved booleanMin - Exclusive or not. Valid values: true/false, default: false
- scheduler
Type string - Scheduling policy. Valid values: Fifo/Fair, default: Fifo
- single
Job numberCu Limit Single job CU upper limit. Valid value: greater than or equal to 1
NOTE: -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
- max_
cu int The value of maxCU in Reserved CUs.
NOTE: The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
- min_
cu int The value of minCU in Reserved CUs.
NOTE: -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
- enable_
priority bool - Enable priority. Valid values: true/false, default: false
- force_
reserved_ boolmin - Exclusive or not. Valid values: true/false, default: false
- scheduler_
type str - Scheduling policy. Valid values: Fifo/Fair, default: Fifo
- single_
job_ intcu_ limit Single job CU upper limit. Valid value: greater than or equal to 1
NOTE: -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
- max
Cu Number The value of maxCU in Reserved CUs.
NOTE: The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
- min
Cu Number The value of minCU in Reserved CUs.
NOTE: -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
- enable
Priority Boolean - Enable priority. Valid values: true/false, default: false
- force
Reserved BooleanMin - Exclusive or not. Valid values: true/false, default: false
- scheduler
Type String - Scheduling policy. Valid values: Fifo/Fair, default: Fifo
- single
Job NumberCu Limit Single job CU upper limit. Valid value: greater than or equal to 1
NOTE: -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
Import
Max Compute Quota can be imported using the id, e.g.
$ pulumi import alicloud:maxcompute/quota:Quota example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Tuesday, Mar 3, 2026 by Pulumi
