BasicAcceleratorArgs

data class BasicAcceleratorArgs(val autoPay: Output<Boolean>? = null, val autoRenew: Output<Boolean>? = null, val autoRenewDuration: Output<Int>? = null, val autoUseCoupon: Output<String>? = null, val bandwidthBillingType: Output<String>? = null, val basicAcceleratorName: Output<String>? = null, val crossBorderStatus: Output<Boolean>? = null, val description: Output<String>? = null, val duration: Output<Int>? = null, val paymentType: Output<String>? = null, val pricingCycle: Output<String>? = null, val promotionOptionNo: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<BasicAcceleratorArgs>

Provides a Global Accelerator (GA) Basic Accelerator resource. For information about Global Accelerator (GA) Basic Accelerator and how to use it, see What is Basic Accelerator.

NOTE: Available since v1.194.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.ga.BasicAccelerator;
import com.pulumi.alicloud.ga.BasicAcceleratorArgs;
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 default_ = new BasicAccelerator("default", BasicAcceleratorArgs.builder()
.autoPay(true)
.autoUseCoupon("true")
.bandwidthBillingType("BandwidthPackage")
.basicAcceleratorName("tf-example-value")
.description("tf-example-value")
.duration(1)
.pricingCycle("Month")
.build());
}
}

Import

Global Accelerator (GA) Basic Accelerator can be imported using the id, e.g.

$ pulumi import alicloud:ga/basicAccelerator:BasicAccelerator example <id>

Constructors

Link copied to clipboard
fun BasicAcceleratorArgs(autoPay: Output<Boolean>? = null, autoRenew: Output<Boolean>? = null, autoRenewDuration: Output<Int>? = null, autoUseCoupon: Output<String>? = null, bandwidthBillingType: Output<String>? = null, basicAcceleratorName: Output<String>? = null, crossBorderStatus: Output<Boolean>? = null, description: Output<String>? = null, duration: Output<Int>? = null, paymentType: Output<String>? = null, pricingCycle: Output<String>? = null, promotionOptionNo: Output<String>? = null, tags: Output<Map<String, Any>>? = null)

Functions

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

Properties

Link copied to clipboard
val autoPay: Output<Boolean>? = null

Specifies whether to enable automatic payment. Default value: false. Valid values:

Link copied to clipboard
val autoRenew: Output<Boolean>? = null

Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:

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

The auto-renewal period. Unit: months. Default value: 1. Valid values: 1 to 12. NOTE: This parameter is required only if auto_renew is set to true.

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

Specifies whether to automatically pay bills by using coupons. Default value: false. NOTE: This parameter is required only if auto_pay is set to true.

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

The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.

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

The name of the Global Accelerator Basic Accelerator instance.

Link copied to clipboard
val crossBorderStatus: Output<Boolean>? = null

Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:

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

The description of the Global Accelerator Basic Accelerator instance.

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

The subscription duration. Default value: 1.

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

The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.

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

The billing cycle. Default value: Month. Valid values: Month, Year.

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

The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).

Link copied to clipboard
val tags: Output<Map<String, Any>>? = null

A mapping of tags to assign to the resource.