1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ga
  5. BasicAccelerator
Alibaba Cloud v3.49.0 published on Sunday, Feb 4, 2024 by Pulumi

alicloud.ga.BasicAccelerator

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.49.0 published on Sunday, Feb 4, 2024 by Pulumi

    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

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new AliCloud.Ga.BasicAccelerator("default", new()
        {
            AutoPay = true,
            AutoUseCoupon = "true",
            BandwidthBillingType = "BandwidthPackage",
            BasicAcceleratorName = "tf-example-value",
            Description = "tf-example-value",
            Duration = 1,
            PricingCycle = "Month",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ga.NewBasicAccelerator(ctx, "default", &ga.BasicAcceleratorArgs{
    			AutoPay:              pulumi.Bool(true),
    			AutoUseCoupon:        pulumi.String("true"),
    			BandwidthBillingType: pulumi.String("BandwidthPackage"),
    			BasicAcceleratorName: pulumi.String("tf-example-value"),
    			Description:          pulumi.String("tf-example-value"),
    			Duration:             pulumi.Int(1),
    			PricingCycle:         pulumi.String("Month"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.ga.BasicAccelerator("default",
        auto_pay=True,
        auto_use_coupon="true",
        bandwidth_billing_type="BandwidthPackage",
        basic_accelerator_name="tf-example-value",
        description="tf-example-value",
        duration=1,
        pricing_cycle="Month")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.ga.BasicAccelerator("default", {
        autoPay: true,
        autoUseCoupon: "true",
        bandwidthBillingType: "BandwidthPackage",
        basicAcceleratorName: "tf-example-value",
        description: "tf-example-value",
        duration: 1,
        pricingCycle: "Month",
    });
    
    resources:
      default:
        type: alicloud:ga:BasicAccelerator
        properties:
          autoPay: true
          autoUseCoupon: 'true'
          bandwidthBillingType: BandwidthPackage
          basicAcceleratorName: tf-example-value
          description: tf-example-value
          duration: 1
          pricingCycle: Month
    

    Create BasicAccelerator Resource

    new BasicAccelerator(name: string, args?: BasicAcceleratorArgs, opts?: CustomResourceOptions);
    @overload
    def BasicAccelerator(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         auto_pay: Optional[bool] = None,
                         auto_renew: Optional[bool] = None,
                         auto_renew_duration: Optional[int] = None,
                         auto_use_coupon: Optional[str] = None,
                         bandwidth_billing_type: Optional[str] = None,
                         basic_accelerator_name: Optional[str] = None,
                         cross_border_status: Optional[bool] = None,
                         description: Optional[str] = None,
                         duration: Optional[int] = None,
                         payment_type: Optional[str] = None,
                         pricing_cycle: Optional[str] = None,
                         promotion_option_no: Optional[str] = None,
                         tags: Optional[Mapping[str, Any]] = None)
    @overload
    def BasicAccelerator(resource_name: str,
                         args: Optional[BasicAcceleratorArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    func NewBasicAccelerator(ctx *Context, name string, args *BasicAcceleratorArgs, opts ...ResourceOption) (*BasicAccelerator, error)
    public BasicAccelerator(string name, BasicAcceleratorArgs? args = null, CustomResourceOptions? opts = null)
    public BasicAccelerator(String name, BasicAcceleratorArgs args)
    public BasicAccelerator(String name, BasicAcceleratorArgs args, CustomResourceOptions options)
    
    type: alicloud:ga:BasicAccelerator
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args BasicAcceleratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BasicAcceleratorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BasicAcceleratorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BasicAcceleratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BasicAcceleratorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BasicAccelerator Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BasicAccelerator resource accepts the following input properties:

    AutoPay bool
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    AutoRenew bool
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    AutoRenewDuration int
    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.
    AutoUseCoupon string
    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.
    BandwidthBillingType string
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    BasicAcceleratorName string
    The name of the Global Accelerator Basic Accelerator instance.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    The description of the Global Accelerator Basic Accelerator instance.
    Duration int
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    PaymentType string
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    PricingCycle string
    The billing cycle. Default value: Month. Valid values: Month, Year.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    AutoPay bool
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    AutoRenew bool
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    AutoRenewDuration int
    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.
    AutoUseCoupon string
    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.
    BandwidthBillingType string
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    BasicAcceleratorName string
    The name of the Global Accelerator Basic Accelerator instance.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    The description of the Global Accelerator Basic Accelerator instance.
    Duration int
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    PaymentType string
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    PricingCycle string
    The billing cycle. Default value: Month. Valid values: Month, Year.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    autoPay Boolean
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    autoRenew Boolean
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    autoRenewDuration Integer
    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.
    autoUseCoupon String
    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.
    bandwidthBillingType String
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basicAcceleratorName String
    The name of the Global Accelerator Basic Accelerator instance.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    The description of the Global Accelerator Basic Accelerator instance.
    duration Integer
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    paymentType String
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricingCycle String
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    autoPay boolean
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    autoRenew boolean
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    autoRenewDuration number
    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.
    autoUseCoupon string
    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.
    bandwidthBillingType string
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basicAcceleratorName string
    The name of the Global Accelerator Basic Accelerator instance.
    crossBorderStatus boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description string
    The description of the Global Accelerator Basic Accelerator instance.
    duration number
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    paymentType string
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricingCycle string
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    auto_pay bool
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    auto_renew bool
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    auto_renew_duration int
    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.
    auto_use_coupon str
    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.
    bandwidth_billing_type str
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basic_accelerator_name str
    The name of the Global Accelerator Basic Accelerator instance.
    cross_border_status bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description str
    The description of the Global Accelerator Basic Accelerator instance.
    duration int
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    payment_type str
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricing_cycle str
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotion_option_no str
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    autoPay Boolean
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    autoRenew Boolean
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    autoRenewDuration Number
    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.
    autoUseCoupon String
    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.
    bandwidthBillingType String
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basicAcceleratorName String
    The name of the Global Accelerator Basic Accelerator instance.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    The description of the Global Accelerator Basic Accelerator instance.
    duration Number
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    paymentType String
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricingCycle String
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    tags Map<Any>
    A mapping of tags to assign to the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BasicAccelerator resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the Basic Accelerator instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the Basic Accelerator instance.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the Basic Accelerator instance.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the Basic Accelerator instance.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the Basic Accelerator instance.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the Basic Accelerator instance.

    Look up Existing BasicAccelerator Resource

    Get an existing BasicAccelerator resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BasicAcceleratorState, opts?: CustomResourceOptions): BasicAccelerator
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_pay: Optional[bool] = None,
            auto_renew: Optional[bool] = None,
            auto_renew_duration: Optional[int] = None,
            auto_use_coupon: Optional[str] = None,
            bandwidth_billing_type: Optional[str] = None,
            basic_accelerator_name: Optional[str] = None,
            cross_border_status: Optional[bool] = None,
            description: Optional[str] = None,
            duration: Optional[int] = None,
            payment_type: Optional[str] = None,
            pricing_cycle: Optional[str] = None,
            promotion_option_no: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None) -> BasicAccelerator
    func GetBasicAccelerator(ctx *Context, name string, id IDInput, state *BasicAcceleratorState, opts ...ResourceOption) (*BasicAccelerator, error)
    public static BasicAccelerator Get(string name, Input<string> id, BasicAcceleratorState? state, CustomResourceOptions? opts = null)
    public static BasicAccelerator get(String name, Output<String> id, BasicAcceleratorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoPay bool
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    AutoRenew bool
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    AutoRenewDuration int
    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.
    AutoUseCoupon string
    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.
    BandwidthBillingType string
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    BasicAcceleratorName string
    The name of the Global Accelerator Basic Accelerator instance.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    The description of the Global Accelerator Basic Accelerator instance.
    Duration int
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    PaymentType string
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    PricingCycle string
    The billing cycle. Default value: Month. Valid values: Month, Year.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    Status string
    The status of the Basic Accelerator instance.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    AutoPay bool
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    AutoRenew bool
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    AutoRenewDuration int
    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.
    AutoUseCoupon string
    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.
    BandwidthBillingType string
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    BasicAcceleratorName string
    The name of the Global Accelerator Basic Accelerator instance.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    The description of the Global Accelerator Basic Accelerator instance.
    Duration int
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    PaymentType string
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    PricingCycle string
    The billing cycle. Default value: Month. Valid values: Month, Year.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    Status string
    The status of the Basic Accelerator instance.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    autoPay Boolean
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    autoRenew Boolean
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    autoRenewDuration Integer
    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.
    autoUseCoupon String
    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.
    bandwidthBillingType String
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basicAcceleratorName String
    The name of the Global Accelerator Basic Accelerator instance.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    The description of the Global Accelerator Basic Accelerator instance.
    duration Integer
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    paymentType String
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricingCycle String
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    status String
    The status of the Basic Accelerator instance.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    autoPay boolean
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    autoRenew boolean
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    autoRenewDuration number
    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.
    autoUseCoupon string
    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.
    bandwidthBillingType string
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basicAcceleratorName string
    The name of the Global Accelerator Basic Accelerator instance.
    crossBorderStatus boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description string
    The description of the Global Accelerator Basic Accelerator instance.
    duration number
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    paymentType string
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricingCycle string
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    status string
    The status of the Basic Accelerator instance.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    auto_pay bool
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    auto_renew bool
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    auto_renew_duration int
    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.
    auto_use_coupon str
    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.
    bandwidth_billing_type str
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basic_accelerator_name str
    The name of the Global Accelerator Basic Accelerator instance.
    cross_border_status bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description str
    The description of the Global Accelerator Basic Accelerator instance.
    duration int
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    payment_type str
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricing_cycle str
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotion_option_no str
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    status str
    The status of the Basic Accelerator instance.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    autoPay Boolean
    Specifies whether to enable automatic payment. Default value: false. Valid values:
    autoRenew Boolean
    Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value: false. Valid values:
    autoRenewDuration Number
    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.
    autoUseCoupon String
    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.
    bandwidthBillingType String
    The bandwidth billing method. Valid values: BandwidthPackage, CDT, CDT95.
    basicAcceleratorName String
    The name of the Global Accelerator Basic Accelerator instance.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    The description of the Global Accelerator Basic Accelerator instance.
    duration Number
    The subscription duration. Default value: 1.

    • If the pricing_cycle parameter is set to Month, the valid values for the duration parameter are 1 to 9.
    • If the pricing_cycle parameter is set to Year, the valid values for the duration parameter are 1 to 3.
    paymentType String
    The payment type. Default value: Subscription. Valid values: PayAsYouGo, Subscription.
    pricingCycle String
    The billing cycle. Default value: Month. Valid values: Month, Year.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    status String
    The status of the Basic Accelerator instance.
    tags Map<Any>
    A mapping of tags to assign to the resource.

    Import

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

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.49.0 published on Sunday, Feb 4, 2024 by Pulumi