AcceleratorArgs

data class AcceleratorArgs(val acceleratorName: Output<String>? = null, val autoRenewDuration: Output<Int>? = null, val autoUseCoupon: Output<Boolean>? = null, val bandwidthBillingType: Output<String>? = null, val crossBorderMode: 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 renewalStatus: Output<String>? = null, val spec: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<AcceleratorArgs>

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

NOTE: Available since v1.111.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.Accelerator;
import com.pulumi.alicloud.ga.AcceleratorArgs;
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 Accelerator("example", AcceleratorArgs.builder()
.autoUseCoupon(true)
.duration(1)
.spec("1")
.build());
}
}

Import

Ga Accelerator can be imported using the id, e.g.

$ pulumi import alicloud:ga/accelerator:Accelerator example <accelerator_id>

Constructors

Link copied to clipboard
fun AcceleratorArgs(acceleratorName: Output<String>? = null, autoRenewDuration: Output<Int>? = null, autoUseCoupon: Output<Boolean>? = null, bandwidthBillingType: Output<String>? = null, crossBorderMode: 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, renewalStatus: Output<String>? = null, spec: Output<String>? = null, tags: Output<Map<String, Any>>? = null)

Functions

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

Properties

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

The Name of the GA instance.

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

Auto renewal period of an instance, in the unit of month. The value range is 1-12.

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

Use coupons to pay bills automatically. Default value: false. Valid values:

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

The bandwidth billing method. Default value: BandwidthPackage. Valid values:

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

The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private.

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

Descriptive information of the global acceleration instance.

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

The subscription duration.

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 of the GA instance. Default value: Month. Valid values:

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 renewalStatus: Output<String>? = null

Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

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

The instance type of the GA instance. Specification of global acceleration instance. Valid values:

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

A mapping of tags to assign to the resource.