Accelerator

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

NOTE: At present, The alicloud.ga.Accelerator cannot be deleted. you need to wait until the resource is outdated and released automatically. NOTE: Available in 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>

Properties

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

The Name of the GA instance.

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

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>?

Use coupons to pay bills automatically. Default value is false. Valid value: true: Use, false: Not used.

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

Descriptive information of the global acceleration instance.

Link copied to clipboard
val duration: Output<Int>

The subscription duration. NOTE: Starting from v1.150.0+, the duration and pricing_cycle are both required.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pricingCycle: Output<String>

The billing cycle of the GA instance. Valid values: Month,Year. The default value: Month.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val renewalStatus: Output<String>

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

Link copied to clipboard
val spec: Output<String>

The instance type of the GA instance. Specification of global acceleration instance, value: 1: Small 1. 2: Small 2. 3: Small 3. 5: Medium 1. 8: Medium 2. 10: Medium 3.

Link copied to clipboard
val status: Output<String>

The status of the GA instance.

Link copied to clipboard
val urn: Output<String>