QuotaApplicationArgs

data class QuotaApplicationArgs(val auditMode: Output<String>? = null, val desireValue: Output<Double>? = null, val dimensions: Output<List<QuotaApplicationDimensionArgs>>? = null, val noticeType: Output<Int>? = null, val productCode: Output<String>? = null, val quotaActionCode: Output<String>? = null, val quotaCategory: Output<String>? = null, val reason: Output<String>? = null) : ConvertibleToJava<QuotaApplicationArgs>

Provides a Quotas Quota Application resource. For information about Quotas Quota Application and how to use it, see What is Quota Application.

NOTE: Available in v1.117.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.quotas.QuotaApplication;
import com.pulumi.alicloud.quotas.QuotaApplicationArgs;
import com.pulumi.alicloud.quotas.inputs.QuotaApplicationDimensionArgs;
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) {
var example = new QuotaApplication("example", QuotaApplicationArgs.builder()
.desireValue("100")
.dimensions(QuotaApplicationDimensionArgs.builder()
.key("regionId")
.value("cn-hangzhou")
.build())
.noticeType("0")
.productCode("ess")
.quotaActionCode("q_db_instance")
.reason("For Terraform Test")
.build());
}
}

Import

Quotas Application Info can be imported using the id, e.g.

$ pulumi import alicloud:quotas/quotaApplication:QuotaApplication example <id>

Constructors

Link copied to clipboard
fun QuotaApplicationArgs(auditMode: Output<String>? = null, desireValue: Output<Double>? = null, dimensions: Output<List<QuotaApplicationDimensionArgs>>? = null, noticeType: Output<Int>? = null, productCode: Output<String>? = null, quotaActionCode: Output<String>? = null, quotaCategory: Output<String>? = null, reason: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): QuotaApplicationArgs

Properties

Link copied to clipboard
val auditMode: Output<String>? = null

The audit mode. Valid values: Async, Sync. Default to: Async.

Link copied to clipboard
val desireValue: Output<Double>? = null

The desire value of the quota application.

Link copied to clipboard

The quota dimensions.

Link copied to clipboard
val noticeType: Output<Int>? = null

The notice type. Valid values: 0, 1, 2, 3.

Link copied to clipboard
val productCode: Output<String>? = null

The product code.

Link copied to clipboard
val quotaActionCode: Output<String>? = null

The ID of quota action.

Link copied to clipboard
val quotaCategory: Output<String>? = null

The quota category. Valid values: CommonQuota, FlowControl.

Link copied to clipboard
val reason: Output<String>? = null

The reason of the quota application.