1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. maxcompute
  5. Quota
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.maxcompute.Quota

Explore with Pulumi AI

Import

Max Compute Quota can be imported using the id, e.g.

$ pulumi import alicloud:maxcompute/quota:Quota example <id>
Copy

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)
public Quota(String name, QuotaArgs args)
public Quota(String name, QuotaArgs args, CustomResourceOptions options)
type: alicloud:maxcompute:Quota
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. QuotaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. QuotaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. QuotaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
        },
    },
});
Copy
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"),
		},
	},
})
Copy
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());
Copy
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",
    }])
Copy
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",
    }],
});
Copy
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
Copy

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:

CommodityCode This property is required. 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
PaymentType
This property is required.
Changes to this property will trigger replacement.
string

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

CommodityData string
Define quota rules when creating quotas, for example:{"CU":50,"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
PartNickName string

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

SubQuotaInfoLists List<Pulumi.AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoList>

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_list below.

CommodityCode This property is required. 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
PaymentType
This property is required.
Changes to this property will trigger replacement.
string

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

CommodityData string
Define quota rules when creating quotas, for example:{"CU":50,"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
PartNickName string

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

SubQuotaInfoLists []QuotaSubQuotaInfoListArgs

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_list below.

commodityCode This property is required. 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
paymentType
This property is required.
Changes to this property will trigger replacement.
String

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

commodityData String
Define quota rules when creating quotas, for example:{"CU":50,"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
partNickName String

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

subQuotaInfoLists List<QuotaSubQuotaInfoList>

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_list below.

commodityCode This property is required. 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
paymentType
This property is required.
Changes to this property will trigger replacement.
string

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

commodityData string
Define quota rules when creating quotas, for example:{"CU":50,"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
partNickName string

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

subQuotaInfoLists QuotaSubQuotaInfoList[]

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_list below.

commodity_code This property is required. 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
This property is required.
Changes to this property will trigger replacement.
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,"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_name str

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_info_lists Sequence[QuotaSubQuotaInfoListArgs]

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_list below.

commodityCode This property is required. 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
paymentType
This property is required.
Changes to this property will trigger replacement.
String

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

commodityData String
Define quota rules when creating quotas, for example:{"CU":50,"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
partNickName String

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

subQuotaInfoLists List<Property Map>

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_list below.

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) -> Quota
func 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CommodityCode 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
CommodityData string
Define quota rules when creating quotas, for example:{"CU":50,"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
PartNickName string

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

PaymentType Changes to this property will trigger replacement. string

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

SubQuotaInfoLists List<Pulumi.AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoList>

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_list below.

CommodityCode 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
CommodityData string
Define quota rules when creating quotas, for example:{"CU":50,"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
PartNickName string

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

PaymentType Changes to this property will trigger replacement. string

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

SubQuotaInfoLists []QuotaSubQuotaInfoListArgs

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_list below.

commodityCode 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
commodityData String
Define quota rules when creating quotas, for example:{"CU":50,"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
partNickName String

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

paymentType Changes to this property will trigger replacement. String

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

subQuotaInfoLists List<QuotaSubQuotaInfoList>

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_list below.

commodityCode 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
commodityData string
Define quota rules when creating quotas, for example:{"CU":50,"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
partNickName string

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

paymentType Changes to this property will trigger replacement. string

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

subQuotaInfoLists QuotaSubQuotaInfoList[]

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_list below.

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,"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_name str

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 Changes to this property will trigger replacement. str

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

sub_quota_info_lists Sequence[QuotaSubQuotaInfoListArgs]

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_list below.

commodityCode 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
commodityData String
Define quota rules when creating quotas, for example:{"CU":50,"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
partNickName String

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

paymentType Changes to this property will trigger replacement. String

Payment type. Valid values: Subscription/PayAsYouGo

NOTE: -- PayAsYouGo only needs to be opened once per region

subQuotaInfoLists List<Property Map>

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_list below.

Supporting Types

QuotaSubQuotaInfoList
, QuotaSubQuotaInfoListArgs

NickName This property is required. 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.AliCloud.MaxCompute.Inputs.QuotaSubQuotaInfoListParameter
Parameter See parameter below.
Type string
The secondary Quota type. The default value is: FUXI_OFFLINE
NickName This property is required. 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 QuotaSubQuotaInfoListParameter
Parameter See parameter below.
Type string
The secondary Quota type. The default value is: FUXI_OFFLINE
nickName This property is required. 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 QuotaSubQuotaInfoListParameter
Parameter See parameter below.
type String
The secondary Quota type. The default value is: FUXI_OFFLINE
nickName This property is required. 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 QuotaSubQuotaInfoListParameter
Parameter See parameter below.
type string
The secondary Quota type. The default value is: FUXI_OFFLINE
nick_name This property is required. 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 QuotaSubQuotaInfoListParameter
Parameter See parameter below.
type str
The secondary Quota type. The default value is: FUXI_OFFLINE
nickName This property is required. 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 parameter below.
type String
The secondary Quota type. The default value is: FUXI_OFFLINE

QuotaSubQuotaInfoListParameter
, QuotaSubQuotaInfoListParameterArgs

MaxCu This property is required. 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.

MinCu This property is required. 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.

EnablePriority bool
Enable priority. Valid values: true/false, default: false
ForceReservedMin bool
Exclusive or not. Valid values: true/false, default: false
SchedulerType string
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
SingleJobCuLimit int

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

MaxCu This property is required. 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.

MinCu This property is required. 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.

EnablePriority bool
Enable priority. Valid values: true/false, default: false
ForceReservedMin bool
Exclusive or not. Valid values: true/false, default: false
SchedulerType string
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
SingleJobCuLimit int

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

maxCu This property is required. 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.

minCu This property is required. 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.

enablePriority Boolean
Enable priority. Valid values: true/false, default: false
forceReservedMin Boolean
Exclusive or not. Valid values: true/false, default: false
schedulerType String
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
singleJobCuLimit Integer

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

maxCu This property is required. 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.

minCu This property is required. 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.

enablePriority boolean
Enable priority. Valid values: true/false, default: false
forceReservedMin boolean
Exclusive or not. Valid values: true/false, default: false
schedulerType string
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
singleJobCuLimit number

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 This property is required. 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 This property is required. 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_min bool
Exclusive or not. Valid values: true/false, default: false
scheduler_type str
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
single_job_cu_limit int

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

maxCu This property is required. 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.

minCu This property is required. 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.

enablePriority Boolean
Enable priority. Valid values: true/false, default: false
forceReservedMin Boolean
Exclusive or not. Valid values: true/false, default: false
schedulerType String
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
singleJobCuLimit Number

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

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.