1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ga
  5. BasicAccelerator
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

alicloud.ga.BasicAccelerator

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 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

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.ga.BasicAccelerator("default", {
        duration: 1,
        pricingCycle: "Month",
        basicAcceleratorName: "tf-example-value",
        description: "tf-example-value",
        bandwidthBillingType: "BandwidthPackage",
        autoPay: true,
        autoUseCoupon: "true",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.ga.BasicAccelerator("default",
        duration=1,
        pricing_cycle="Month",
        basic_accelerator_name="tf-example-value",
        description="tf-example-value",
        bandwidth_billing_type="BandwidthPackage",
        auto_pay=True,
        auto_use_coupon="true")
    
    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{
    			Duration:             pulumi.Int(1),
    			PricingCycle:         pulumi.String("Month"),
    			BasicAcceleratorName: pulumi.String("tf-example-value"),
    			Description:          pulumi.String("tf-example-value"),
    			BandwidthBillingType: pulumi.String("BandwidthPackage"),
    			AutoPay:              pulumi.Bool(true),
    			AutoUseCoupon:        pulumi.String("true"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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()
        {
            Duration = 1,
            PricingCycle = "Month",
            BasicAcceleratorName = "tf-example-value",
            Description = "tf-example-value",
            BandwidthBillingType = "BandwidthPackage",
            AutoPay = true,
            AutoUseCoupon = "true",
        });
    
    });
    
    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()        
                .duration(1)
                .pricingCycle("Month")
                .basicAcceleratorName("tf-example-value")
                .description("tf-example-value")
                .bandwidthBillingType("BandwidthPackage")
                .autoPay(true)
                .autoUseCoupon("true")
                .build());
    
        }
    }
    
    resources:
      default:
        type: alicloud:ga:BasicAccelerator
        properties:
          duration: 1
          pricingCycle: Month
          basicAcceleratorName: tf-example-value
          description: tf-example-value
          bandwidthBillingType: BandwidthPackage
          autoPay: true
          autoUseCoupon: 'true'
    

    Create BasicAccelerator Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BasicAccelerator(name: string, args?: BasicAcceleratorArgs, opts?: CustomResourceOptions);
    @overload
    def BasicAccelerator(resource_name: str,
                         args: Optional[BasicAcceleratorArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var basicAcceleratorResource = new AliCloud.Ga.BasicAccelerator("basicAcceleratorResource", new()
    {
        AutoPay = false,
        AutoRenew = false,
        AutoRenewDuration = 0,
        AutoUseCoupon = "string",
        BandwidthBillingType = "string",
        BasicAcceleratorName = "string",
        CrossBorderStatus = false,
        Description = "string",
        Duration = 0,
        PaymentType = "string",
        PricingCycle = "string",
        PromotionOptionNo = "string",
        Tags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := ga.NewBasicAccelerator(ctx, "basicAcceleratorResource", &ga.BasicAcceleratorArgs{
    	AutoPay:              pulumi.Bool(false),
    	AutoRenew:            pulumi.Bool(false),
    	AutoRenewDuration:    pulumi.Int(0),
    	AutoUseCoupon:        pulumi.String("string"),
    	BandwidthBillingType: pulumi.String("string"),
    	BasicAcceleratorName: pulumi.String("string"),
    	CrossBorderStatus:    pulumi.Bool(false),
    	Description:          pulumi.String("string"),
    	Duration:             pulumi.Int(0),
    	PaymentType:          pulumi.String("string"),
    	PricingCycle:         pulumi.String("string"),
    	PromotionOptionNo:    pulumi.String("string"),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var basicAcceleratorResource = new BasicAccelerator("basicAcceleratorResource", BasicAcceleratorArgs.builder()        
        .autoPay(false)
        .autoRenew(false)
        .autoRenewDuration(0)
        .autoUseCoupon("string")
        .bandwidthBillingType("string")
        .basicAcceleratorName("string")
        .crossBorderStatus(false)
        .description("string")
        .duration(0)
        .paymentType("string")
        .pricingCycle("string")
        .promotionOptionNo("string")
        .tags(Map.of("string", "any"))
        .build());
    
    basic_accelerator_resource = alicloud.ga.BasicAccelerator("basicAcceleratorResource",
        auto_pay=False,
        auto_renew=False,
        auto_renew_duration=0,
        auto_use_coupon="string",
        bandwidth_billing_type="string",
        basic_accelerator_name="string",
        cross_border_status=False,
        description="string",
        duration=0,
        payment_type="string",
        pricing_cycle="string",
        promotion_option_no="string",
        tags={
            "string": "any",
        })
    
    const basicAcceleratorResource = new alicloud.ga.BasicAccelerator("basicAcceleratorResource", {
        autoPay: false,
        autoRenew: false,
        autoRenewDuration: 0,
        autoUseCoupon: "string",
        bandwidthBillingType: "string",
        basicAcceleratorName: "string",
        crossBorderStatus: false,
        description: "string",
        duration: 0,
        paymentType: "string",
        pricingCycle: "string",
        promotionOptionNo: "string",
        tags: {
            string: "any",
        },
    });
    
    type: alicloud:ga:BasicAccelerator
    properties:
        autoPay: false
        autoRenew: false
        autoRenewDuration: 0
        autoUseCoupon: string
        bandwidthBillingType: string
        basicAcceleratorName: string
        crossBorderStatus: false
        description: string
        duration: 0
        paymentType: string
        pricingCycle: string
        promotionOptionNo: string
        tags:
            string: any
    

    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>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.54.0 published on Wednesday, Apr 24, 2024 by Pulumi