TemplateQuota

class TemplateQuota : KotlinCustomResource

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

NOTE: Available since v1.206.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.TemplateQuota;
import com.pulumi.alicloud.quotas.TemplateQuotaArgs;
import com.pulumi.alicloud.quotas.inputs.TemplateQuotaDimensionArgs;
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 TemplateQuota("default", TemplateQuotaArgs.builder()
.desireValue(1001)
.dimensions(TemplateQuotaDimensionArgs.builder()
.key("regionId")
.value("cn-hangzhou")
.build())
.envLanguage("zh")
.noticeType(3)
.productCode("gws")
.quotaActionCode("q_desktop-count")
.quotaCategory("CommonQuota")
.build());
}
}

Import

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

$ pulumi import alicloud:quotas/templateQuota:TemplateQuota example <id>

Properties

Link copied to clipboard
val desireValue: Output<Double>

Quota application value.

Link copied to clipboard

The Quota Dimensions. See dimensions below.

Link copied to clipboard
val effectiveTime: Output<String>?

The UTC time when the quota takes effect.

Link copied to clipboard
val envLanguage: Output<String>

The language of the quota alert notification. Value:

Link copied to clipboard
val expireTime: Output<String>?

The UTC time when the quota expires.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val noticeType: Output<Int>

Whether to notify the result of quota promotion application. Value:

Link copied to clipboard
val productCode: Output<String>

The abbreviation of the cloud service name.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val quotaActionCode: Output<String>

The quota ID.

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

Type of quota. Value:

Link copied to clipboard
val urn: Output<String>