1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. quotas
  5. TemplateApplications
Viewing docs for Alibaba Cloud v3.98.0
published on Saturday, Apr 4, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.98.0
published on Saturday, Apr 4, 2026 by Pulumi

    Provides a Quotas Template Applications resource. Template Batch Application.

    For information about Quotas Template Applications and how to use it, see What is Template Applications.

    NOTE: Available since v1.214.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = new random.index.Integer("default", {
        min: 10000,
        max: 99999,
    });
    const account = new alicloud.resourcemanager.Account("account", {displayName: `${name}-${_default.result}`});
    const defaultTemplateApplications = new alicloud.quotas.TemplateApplications("default", {
        envLanguage: "zh",
        noticeType: 0,
        quotaCategory: "WhiteListLabel",
        desireValue: 1,
        reason: "example",
        quotaActionCode: "quotas.label_multi/A",
        aliyunUids: [account.id],
        productCode: "quotas",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = random.index.Integer("default",
        min=10000,
        max=99999)
    account = alicloud.resourcemanager.Account("account", display_name=f"{name}-{default['result']}")
    default_template_applications = alicloud.quotas.TemplateApplications("default",
        env_language="zh",
        notice_type=0,
        quota_category="WhiteListLabel",
        desire_value=1,
        reason="example",
        quota_action_code="quotas.label_multi/A",
        aliyun_uids=[account.id],
        product_code="quotas")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/quotas"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"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 := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
    			Min: 10000,
    			Max: 99999,
    		})
    		if err != nil {
    			return err
    		}
    		account, err := resourcemanager.NewAccount(ctx, "account", &resourcemanager.AccountArgs{
    			DisplayName: pulumi.Sprintf("%v-%v", name, _default.Result),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = quotas.NewTemplateApplications(ctx, "default", &quotas.TemplateApplicationsArgs{
    			EnvLanguage:     pulumi.String("zh"),
    			NoticeType:      pulumi.Int(0),
    			QuotaCategory:   pulumi.String("WhiteListLabel"),
    			DesireValue:     pulumi.Float64(1),
    			Reason:          pulumi.String("example"),
    			QuotaActionCode: pulumi.String("quotas.label_multi/A"),
    			AliyunUids: pulumi.StringArray{
    				account.ID(),
    			},
    			ProductCode: pulumi.String("quotas"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = new Random.Index.Integer("default", new()
        {
            Min = 10000,
            Max = 99999,
        });
    
        var account = new AliCloud.ResourceManager.Account("account", new()
        {
            DisplayName = $"{name}-{@default.Result}",
        });
    
        var defaultTemplateApplications = new AliCloud.Quotas.TemplateApplications("default", new()
        {
            EnvLanguage = "zh",
            NoticeType = 0,
            QuotaCategory = "WhiteListLabel",
            DesireValue = 1,
            Reason = "example",
            QuotaActionCode = "quotas.label_multi/A",
            AliyunUids = new[]
            {
                account.Id,
            },
            ProductCode = "quotas",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.Integer;
    import com.pulumi.random.IntegerArgs;
    import com.pulumi.alicloud.resourcemanager.Account;
    import com.pulumi.alicloud.resourcemanager.AccountArgs;
    import com.pulumi.alicloud.quotas.TemplateApplications;
    import com.pulumi.alicloud.quotas.TemplateApplicationsArgs;
    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("terraform-example");
            var default_ = new Integer("default", IntegerArgs.builder()
                .min(10000)
                .max(99999)
                .build());
    
            var account = new Account("account", AccountArgs.builder()
                .displayName(String.format("%s-%s", name,default_.result()))
                .build());
    
            var defaultTemplateApplications = new TemplateApplications("defaultTemplateApplications", TemplateApplicationsArgs.builder()
                .envLanguage("zh")
                .noticeType(0)
                .quotaCategory("WhiteListLabel")
                .desireValue(1.0)
                .reason("example")
                .quotaActionCode("quotas.label_multi/A")
                .aliyunUids(account.id())
                .productCode("quotas")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: random:Integer
        properties:
          min: 10000
          max: 99999
      account:
        type: alicloud:resourcemanager:Account
        properties:
          displayName: ${name}-${default.result}
      defaultTemplateApplications:
        type: alicloud:quotas:TemplateApplications
        name: default
        properties:
          envLanguage: zh
          noticeType: '0'
          quotaCategory: WhiteListLabel
          desireValue: '1'
          reason: example
          quotaActionCode: quotas.label_multi/A
          aliyunUids:
            - ${account.id}
          productCode: quotas
    

    Deleting alicloud.quotas.TemplateApplications or removing it from your configuration

    Terraform cannot destroy resource alicloud.quotas.TemplateApplications. Terraform will remove this resource from the state file, however resources may remain.

    📚 Need more examples? VIEW MORE EXAMPLES

    Create TemplateApplications Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TemplateApplications(name: string, args: TemplateApplicationsArgs, opts?: CustomResourceOptions);
    @overload
    def TemplateApplications(resource_name: str,
                             args: TemplateApplicationsArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def TemplateApplications(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             aliyun_uids: Optional[Sequence[str]] = None,
                             desire_value: Optional[float] = None,
                             product_code: Optional[str] = None,
                             quota_action_code: Optional[str] = None,
                             quota_category: Optional[str] = None,
                             reason: Optional[str] = None,
                             dimensions: Optional[Sequence[TemplateApplicationsDimensionArgs]] = None,
                             effective_time: Optional[str] = None,
                             env_language: Optional[str] = None,
                             expire_time: Optional[str] = None,
                             notice_type: Optional[int] = None)
    func NewTemplateApplications(ctx *Context, name string, args TemplateApplicationsArgs, opts ...ResourceOption) (*TemplateApplications, error)
    public TemplateApplications(string name, TemplateApplicationsArgs args, CustomResourceOptions? opts = null)
    public TemplateApplications(String name, TemplateApplicationsArgs args)
    public TemplateApplications(String name, TemplateApplicationsArgs args, CustomResourceOptions options)
    
    type: alicloud:quotas:TemplateApplications
    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 TemplateApplicationsArgs
    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 TemplateApplicationsArgs
    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 TemplateApplicationsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TemplateApplicationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TemplateApplicationsArgs
    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 templateApplicationsResource = new AliCloud.Quotas.TemplateApplications("templateApplicationsResource", new()
    {
        AliyunUids = new[]
        {
            "string",
        },
        DesireValue = 0,
        ProductCode = "string",
        QuotaActionCode = "string",
        QuotaCategory = "string",
        Reason = "string",
        Dimensions = new[]
        {
            new AliCloud.Quotas.Inputs.TemplateApplicationsDimensionArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        EffectiveTime = "string",
        EnvLanguage = "string",
        ExpireTime = "string",
        NoticeType = 0,
    });
    
    example, err := quotas.NewTemplateApplications(ctx, "templateApplicationsResource", &quotas.TemplateApplicationsArgs{
    	AliyunUids: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DesireValue:     pulumi.Float64(0),
    	ProductCode:     pulumi.String("string"),
    	QuotaActionCode: pulumi.String("string"),
    	QuotaCategory:   pulumi.String("string"),
    	Reason:          pulumi.String("string"),
    	Dimensions: quotas.TemplateApplicationsDimensionArray{
    		&quotas.TemplateApplicationsDimensionArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	EffectiveTime: pulumi.String("string"),
    	EnvLanguage:   pulumi.String("string"),
    	ExpireTime:    pulumi.String("string"),
    	NoticeType:    pulumi.Int(0),
    })
    
    var templateApplicationsResource = new TemplateApplications("templateApplicationsResource", TemplateApplicationsArgs.builder()
        .aliyunUids("string")
        .desireValue(0.0)
        .productCode("string")
        .quotaActionCode("string")
        .quotaCategory("string")
        .reason("string")
        .dimensions(TemplateApplicationsDimensionArgs.builder()
            .key("string")
            .value("string")
            .build())
        .effectiveTime("string")
        .envLanguage("string")
        .expireTime("string")
        .noticeType(0)
        .build());
    
    template_applications_resource = alicloud.quotas.TemplateApplications("templateApplicationsResource",
        aliyun_uids=["string"],
        desire_value=0,
        product_code="string",
        quota_action_code="string",
        quota_category="string",
        reason="string",
        dimensions=[{
            "key": "string",
            "value": "string",
        }],
        effective_time="string",
        env_language="string",
        expire_time="string",
        notice_type=0)
    
    const templateApplicationsResource = new alicloud.quotas.TemplateApplications("templateApplicationsResource", {
        aliyunUids: ["string"],
        desireValue: 0,
        productCode: "string",
        quotaActionCode: "string",
        quotaCategory: "string",
        reason: "string",
        dimensions: [{
            key: "string",
            value: "string",
        }],
        effectiveTime: "string",
        envLanguage: "string",
        expireTime: "string",
        noticeType: 0,
    });
    
    type: alicloud:quotas:TemplateApplications
    properties:
        aliyunUids:
            - string
        desireValue: 0
        dimensions:
            - key: string
              value: string
        effectiveTime: string
        envLanguage: string
        expireTime: string
        noticeType: 0
        productCode: string
        quotaActionCode: string
        quotaCategory: string
        reason: string
    

    TemplateApplications 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 TemplateApplications resource accepts the following input properties:

    AliyunUids List<string>

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    DesireValue double

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    ProductCode string

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    QuotaActionCode string
    The quota ID.
    QuotaCategory string
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    Reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Dimensions List<Pulumi.AliCloud.Quotas.Inputs.TemplateApplicationsDimension>
    Quota dimension. See dimensions below.
    EffectiveTime string

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    EnvLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    ExpireTime string

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    NoticeType int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    AliyunUids []string

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    DesireValue float64

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    ProductCode string

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    QuotaActionCode string
    The quota ID.
    QuotaCategory string
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    Reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Dimensions []TemplateApplicationsDimensionArgs
    Quota dimension. See dimensions below.
    EffectiveTime string

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    EnvLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    ExpireTime string

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    NoticeType int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    aliyunUids List<String>

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desireValue Double

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    productCode String

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quotaActionCode String
    The quota ID.
    quotaCategory String
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason String

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions List<TemplateApplicationsDimension>
    Quota dimension. See dimensions below.
    effectiveTime String

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    envLanguage String
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expireTime String

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    noticeType Integer
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    aliyunUids string[]

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desireValue number

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    productCode string

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quotaActionCode string
    The quota ID.
    quotaCategory string
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions TemplateApplicationsDimension[]
    Quota dimension. See dimensions below.
    effectiveTime string

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    envLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expireTime string

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    noticeType number
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    aliyun_uids Sequence[str]

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desire_value float

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    product_code str

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quota_action_code str
    The quota ID.
    quota_category str
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason str

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions Sequence[TemplateApplicationsDimensionArgs]
    Quota dimension. See dimensions below.
    effective_time str

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    env_language str
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expire_time str

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    notice_type int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    aliyunUids List<String>

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desireValue Number

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    productCode String

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quotaActionCode String
    The quota ID.
    quotaCategory String
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason String

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions List<Property Map>
    Quota dimension. See dimensions below.
    effectiveTime String

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    envLanguage String
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expireTime String

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    noticeType Number
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TemplateApplications resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    QuotaApplicationDetails List<Pulumi.AliCloud.Quotas.Outputs.TemplateApplicationsQuotaApplicationDetail>
    List of quota application details.
    Id string
    The provider-assigned unique ID for this managed resource.
    QuotaApplicationDetails []TemplateApplicationsQuotaApplicationDetail
    List of quota application details.
    id String
    The provider-assigned unique ID for this managed resource.
    quotaApplicationDetails List<TemplateApplicationsQuotaApplicationDetail>
    List of quota application details.
    id string
    The provider-assigned unique ID for this managed resource.
    quotaApplicationDetails TemplateApplicationsQuotaApplicationDetail[]
    List of quota application details.
    id str
    The provider-assigned unique ID for this managed resource.
    quota_application_details Sequence[TemplateApplicationsQuotaApplicationDetail]
    List of quota application details.
    id String
    The provider-assigned unique ID for this managed resource.
    quotaApplicationDetails List<Property Map>
    List of quota application details.

    Look up Existing TemplateApplications Resource

    Get an existing TemplateApplications 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?: TemplateApplicationsState, opts?: CustomResourceOptions): TemplateApplications
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aliyun_uids: Optional[Sequence[str]] = None,
            desire_value: Optional[float] = None,
            dimensions: Optional[Sequence[TemplateApplicationsDimensionArgs]] = None,
            effective_time: Optional[str] = None,
            env_language: Optional[str] = None,
            expire_time: Optional[str] = None,
            notice_type: Optional[int] = None,
            product_code: Optional[str] = None,
            quota_action_code: Optional[str] = None,
            quota_application_details: Optional[Sequence[TemplateApplicationsQuotaApplicationDetailArgs]] = None,
            quota_category: Optional[str] = None,
            reason: Optional[str] = None) -> TemplateApplications
    func GetTemplateApplications(ctx *Context, name string, id IDInput, state *TemplateApplicationsState, opts ...ResourceOption) (*TemplateApplications, error)
    public static TemplateApplications Get(string name, Input<string> id, TemplateApplicationsState? state, CustomResourceOptions? opts = null)
    public static TemplateApplications get(String name, Output<String> id, TemplateApplicationsState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:quotas:TemplateApplications    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.
    The following state arguments are supported:
    AliyunUids List<string>

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    DesireValue double

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Dimensions List<Pulumi.AliCloud.Quotas.Inputs.TemplateApplicationsDimension>
    Quota dimension. See dimensions below.
    EffectiveTime string

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    EnvLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    ExpireTime string

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    NoticeType int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    ProductCode string

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    QuotaActionCode string
    The quota ID.
    QuotaApplicationDetails List<Pulumi.AliCloud.Quotas.Inputs.TemplateApplicationsQuotaApplicationDetail>
    List of quota application details.
    QuotaCategory string
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    Reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    AliyunUids []string

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    DesireValue float64

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Dimensions []TemplateApplicationsDimensionArgs
    Quota dimension. See dimensions below.
    EffectiveTime string

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    EnvLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    ExpireTime string

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    NoticeType int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    ProductCode string

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    QuotaActionCode string
    The quota ID.
    QuotaApplicationDetails []TemplateApplicationsQuotaApplicationDetailArgs
    List of quota application details.
    QuotaCategory string
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    Reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    aliyunUids List<String>

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desireValue Double

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions List<TemplateApplicationsDimension>
    Quota dimension. See dimensions below.
    effectiveTime String

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    envLanguage String
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expireTime String

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    noticeType Integer
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    productCode String

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quotaActionCode String
    The quota ID.
    quotaApplicationDetails List<TemplateApplicationsQuotaApplicationDetail>
    List of quota application details.
    quotaCategory String
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason String

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    aliyunUids string[]

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desireValue number

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions TemplateApplicationsDimension[]
    Quota dimension. See dimensions below.
    effectiveTime string

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    envLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expireTime string

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    noticeType number
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    productCode string

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quotaActionCode string
    The quota ID.
    quotaApplicationDetails TemplateApplicationsQuotaApplicationDetail[]
    List of quota application details.
    quotaCategory string
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    aliyun_uids Sequence[str]

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desire_value float

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions Sequence[TemplateApplicationsDimensionArgs]
    Quota dimension. See dimensions below.
    effective_time str

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    env_language str
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expire_time str

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    notice_type int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    product_code str

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quota_action_code str
    The quota ID.
    quota_application_details Sequence[TemplateApplicationsQuotaApplicationDetailArgs]
    List of quota application details.
    quota_category str
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason str

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    aliyunUids List<String>

    The list of Alibaba Cloud accounts (primary accounts) of the resource directory members to which the quota is applied.

    NOTE: Only 50 members can apply for quota increase in batch at a time. For more information about the members of the resource directory, see Query the list of all members in the resource directory.

    desireValue Number

    The value of the quota request.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    dimensions List<Property Map>
    Quota dimension. See dimensions below.
    effectiveTime String

    The UTC time when the quota takes effect. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If the current account does not select the effective time, the default is the submission time.

    envLanguage String
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    expireTime String

    The UTC time when the quota expires. This parameter applies only to the equity quota (WhiteListLabel).

    NOTE: If No Expiration Time is selected for the current account, the expiration time is 99 years from the effective time of the current quota.

    noticeType Number
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    productCode String

    Cloud service name abbreviation.

    NOTE: For more information about cloud services that support quota centers, see Cloud services that support quota centers.

    quotaActionCode String
    The quota ID.
    quotaApplicationDetails List<Property Map>
    List of quota application details.
    quotaCategory String
    The quota type. Value:

    • CommonQuota (default): Generic quota.
    • FlowControl:API rate quota.
    • WhiteListLabel: Equity quota.
    reason String

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Supporting Types

    TemplateApplicationsDimension, TemplateApplicationsDimensionArgs

    Key string
    Quota dimension Key.
    Value string
    Quota dimension Value.
    Key string
    Quota dimension Key.
    Value string
    Quota dimension Value.
    key String
    Quota dimension Key.
    value String
    Quota dimension Value.
    key string
    Quota dimension Key.
    value string
    Quota dimension Value.
    key str
    Quota dimension Key.
    value str
    Quota dimension Value.
    key String
    Quota dimension Key.
    value String
    Quota dimension Value.

    TemplateApplicationsQuotaApplicationDetail, TemplateApplicationsQuotaApplicationDetailArgs

    AliyunUid string
    Alibaba Cloud account (primary account).
    ApplicationId string
    The ID of the quota promotion request.
    ApproveValue double
    The approved quota value of the quota increase request.
    AuditReason string
    Approval comments on quota increase applications.
    Dimensions Dictionary<string, string>
    Quota dimension. See dimensions below.
    EnvLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    NoticeType int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    Period Pulumi.AliCloud.Quotas.Inputs.TemplateApplicationsQuotaApplicationDetailPeriod
    Quota calculation period.
    QuotaArn string
    Quota ARN.
    QuotaDescription string
    The quota description.
    QuotaName string
    The quota name.
    QuotaUnit string
    Quota unit.
    Reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Status string
    The approval status of the quota promotion application. Value:

    • Disagree: reject.
    • Approve: approved.
    • Process: under review.
    • Cancel: Closed.
    AliyunUid string
    Alibaba Cloud account (primary account).
    ApplicationId string
    The ID of the quota promotion request.
    ApproveValue float64
    The approved quota value of the quota increase request.
    AuditReason string
    Approval comments on quota increase applications.
    Dimensions map[string]string
    Quota dimension. See dimensions below.
    EnvLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    NoticeType int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    Period TemplateApplicationsQuotaApplicationDetailPeriod
    Quota calculation period.
    QuotaArn string
    Quota ARN.
    QuotaDescription string
    The quota description.
    QuotaName string
    The quota name.
    QuotaUnit string
    Quota unit.
    Reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    Status string
    The approval status of the quota promotion application. Value:

    • Disagree: reject.
    • Approve: approved.
    • Process: under review.
    • Cancel: Closed.
    aliyunUid String
    Alibaba Cloud account (primary account).
    applicationId String
    The ID of the quota promotion request.
    approveValue Double
    The approved quota value of the quota increase request.
    auditReason String
    Approval comments on quota increase applications.
    dimensions Map<String,String>
    Quota dimension. See dimensions below.
    envLanguage String
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    noticeType Integer
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    period TemplateApplicationsQuotaApplicationDetailPeriod
    Quota calculation period.
    quotaArn String
    Quota ARN.
    quotaDescription String
    The quota description.
    quotaName String
    The quota name.
    quotaUnit String
    Quota unit.
    reason String

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    status String
    The approval status of the quota promotion application. Value:

    • Disagree: reject.
    • Approve: approved.
    • Process: under review.
    • Cancel: Closed.
    aliyunUid string
    Alibaba Cloud account (primary account).
    applicationId string
    The ID of the quota promotion request.
    approveValue number
    The approved quota value of the quota increase request.
    auditReason string
    Approval comments on quota increase applications.
    dimensions {[key: string]: string}
    Quota dimension. See dimensions below.
    envLanguage string
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    noticeType number
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    period TemplateApplicationsQuotaApplicationDetailPeriod
    Quota calculation period.
    quotaArn string
    Quota ARN.
    quotaDescription string
    The quota description.
    quotaName string
    The quota name.
    quotaUnit string
    Quota unit.
    reason string

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    status string
    The approval status of the quota promotion application. Value:

    • Disagree: reject.
    • Approve: approved.
    • Process: under review.
    • Cancel: Closed.
    aliyun_uid str
    Alibaba Cloud account (primary account).
    application_id str
    The ID of the quota promotion request.
    approve_value float
    The approved quota value of the quota increase request.
    audit_reason str
    Approval comments on quota increase applications.
    dimensions Mapping[str, str]
    Quota dimension. See dimensions below.
    env_language str
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    notice_type int
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    period TemplateApplicationsQuotaApplicationDetailPeriod
    Quota calculation period.
    quota_arn str
    Quota ARN.
    quota_description str
    The quota description.
    quota_name str
    The quota name.
    quota_unit str
    Quota unit.
    reason str

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    status str
    The approval status of the quota promotion application. Value:

    • Disagree: reject.
    • Approve: approved.
    • Process: under review.
    • Cancel: Closed.
    aliyunUid String
    Alibaba Cloud account (primary account).
    applicationId String
    The ID of the quota promotion request.
    approveValue Number
    The approved quota value of the quota increase request.
    auditReason String
    Approval comments on quota increase applications.
    dimensions Map<String>
    Quota dimension. See dimensions below.
    envLanguage String
    The language of the quota application result notification. Value:

    • zh (default): Chinese.
    • en: English.
    noticeType Number
    Whether to send notification of quota application result. Value:

    • 0 (default): No.
    • 3: Yes.
    period Property Map
    Quota calculation period.
    quotaArn String
    Quota ARN.
    quotaDescription String
    The quota description.
    quotaName String
    The quota name.
    quotaUnit String
    Quota unit.
    reason String

    Reason for quota application.

    NOTE: The quota request is approved by the technical support of each cloud service. If you want to increase the chance of passing, please fill in a reasonable application value and detailed application reasons when applying for quota.

    status String
    The approval status of the quota promotion application. Value:

    • Disagree: reject.
    • Approve: approved.
    • Process: under review.
    • Cancel: Closed.

    TemplateApplicationsQuotaApplicationDetailPeriod, TemplateApplicationsQuotaApplicationDetailPeriodArgs

    PeriodUnit string
    Quota calculation cycle unit.
    PeriodValue int
    The quota calculation period value.
    PeriodUnit string
    Quota calculation cycle unit.
    PeriodValue int
    The quota calculation period value.
    periodUnit String
    Quota calculation cycle unit.
    periodValue Integer
    The quota calculation period value.
    periodUnit string
    Quota calculation cycle unit.
    periodValue number
    The quota calculation period value.
    period_unit str
    Quota calculation cycle unit.
    period_value int
    The quota calculation period value.
    periodUnit String
    Quota calculation cycle unit.
    periodValue Number
    The quota calculation period value.

    Import

    Quotas Template Applications can be imported using the id, e.g.

    $ pulumi import alicloud:quotas/templateApplications:TemplateApplications 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 alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.98.0
    published on Saturday, Apr 4, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.