1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ga
  5. Accelerator
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.ga.Accelerator

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = new alicloud.ga.Accelerator("example", {
        duration: 1,
        autoUseCoupon: true,
        spec: "1",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.ga.Accelerator("example",
        duration=1,
        auto_use_coupon=True,
        spec="1")
    
    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.NewAccelerator(ctx, "example", &ga.AcceleratorArgs{
    			Duration:      pulumi.Int(1),
    			AutoUseCoupon: pulumi.Bool(true),
    			Spec:          pulumi.String("1"),
    		})
    		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 example = new AliCloud.Ga.Accelerator("example", new()
        {
            Duration = 1,
            AutoUseCoupon = true,
            Spec = "1",
        });
    
    });
    
    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()
                .duration(1)
                .autoUseCoupon(true)
                .spec("1")
                .build());
    
        }
    }
    
    resources:
      example:
        type: alicloud:ga:Accelerator
        properties:
          duration: 1
          autoUseCoupon: true
          spec: '1'
    

    Create Accelerator Resource

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

    Constructor syntax

    new Accelerator(name: string, args?: AcceleratorArgs, opts?: CustomResourceOptions);
    @overload
    def Accelerator(resource_name: str,
                    args: Optional[AcceleratorArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Accelerator(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    accelerator_name: Optional[str] = None,
                    auto_renew_duration: Optional[int] = None,
                    auto_use_coupon: Optional[bool] = None,
                    bandwidth_billing_type: Optional[str] = None,
                    cross_border_mode: 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,
                    renewal_status: Optional[str] = None,
                    resource_group_id: Optional[str] = None,
                    spec: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
    func NewAccelerator(ctx *Context, name string, args *AcceleratorArgs, opts ...ResourceOption) (*Accelerator, error)
    public Accelerator(string name, AcceleratorArgs? args = null, CustomResourceOptions? opts = null)
    public Accelerator(String name, AcceleratorArgs args)
    public Accelerator(String name, AcceleratorArgs args, CustomResourceOptions options)
    
    type: alicloud:ga:Accelerator
    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 AcceleratorArgs
    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 AcceleratorArgs
    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 AcceleratorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AcceleratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AcceleratorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var acceleratorResource = new AliCloud.Ga.Accelerator("acceleratorResource", new()
    {
        AcceleratorName = "string",
        AutoRenewDuration = 0,
        AutoUseCoupon = false,
        BandwidthBillingType = "string",
        CrossBorderMode = "string",
        CrossBorderStatus = false,
        Description = "string",
        Duration = 0,
        PaymentType = "string",
        PricingCycle = "string",
        PromotionOptionNo = "string",
        RenewalStatus = "string",
        ResourceGroupId = "string",
        Spec = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := ga.NewAccelerator(ctx, "acceleratorResource", &ga.AcceleratorArgs{
    	AcceleratorName:      pulumi.String("string"),
    	AutoRenewDuration:    pulumi.Int(0),
    	AutoUseCoupon:        pulumi.Bool(false),
    	BandwidthBillingType: pulumi.String("string"),
    	CrossBorderMode:      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"),
    	RenewalStatus:        pulumi.String("string"),
    	ResourceGroupId:      pulumi.String("string"),
    	Spec:                 pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var acceleratorResource = new Accelerator("acceleratorResource", AcceleratorArgs.builder()
        .acceleratorName("string")
        .autoRenewDuration(0)
        .autoUseCoupon(false)
        .bandwidthBillingType("string")
        .crossBorderMode("string")
        .crossBorderStatus(false)
        .description("string")
        .duration(0)
        .paymentType("string")
        .pricingCycle("string")
        .promotionOptionNo("string")
        .renewalStatus("string")
        .resourceGroupId("string")
        .spec("string")
        .tags(Map.of("string", "string"))
        .build());
    
    accelerator_resource = alicloud.ga.Accelerator("acceleratorResource",
        accelerator_name="string",
        auto_renew_duration=0,
        auto_use_coupon=False,
        bandwidth_billing_type="string",
        cross_border_mode="string",
        cross_border_status=False,
        description="string",
        duration=0,
        payment_type="string",
        pricing_cycle="string",
        promotion_option_no="string",
        renewal_status="string",
        resource_group_id="string",
        spec="string",
        tags={
            "string": "string",
        })
    
    const acceleratorResource = new alicloud.ga.Accelerator("acceleratorResource", {
        acceleratorName: "string",
        autoRenewDuration: 0,
        autoUseCoupon: false,
        bandwidthBillingType: "string",
        crossBorderMode: "string",
        crossBorderStatus: false,
        description: "string",
        duration: 0,
        paymentType: "string",
        pricingCycle: "string",
        promotionOptionNo: "string",
        renewalStatus: "string",
        resourceGroupId: "string",
        spec: "string",
        tags: {
            string: "string",
        },
    });
    
    type: alicloud:ga:Accelerator
    properties:
        acceleratorName: string
        autoRenewDuration: 0
        autoUseCoupon: false
        bandwidthBillingType: string
        crossBorderMode: string
        crossBorderStatus: false
        description: string
        duration: 0
        paymentType: string
        pricingCycle: string
        promotionOptionNo: string
        renewalStatus: string
        resourceGroupId: string
        spec: string
        tags:
            string: string
    

    Accelerator Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Accelerator resource accepts the following input properties:

    AcceleratorName string
    The Name of the GA instance.
    AutoRenewDuration int
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    AutoUseCoupon bool
    Use coupons to pay bills automatically. Default value: false. Valid values:
    BandwidthBillingType string
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    CrossBorderMode string
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    Descriptive information of the global acceleration instance.
    Duration int
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    RenewalStatus string
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    ResourceGroupId string
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    Spec string
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AcceleratorName string
    The Name of the GA instance.
    AutoRenewDuration int
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    AutoUseCoupon bool
    Use coupons to pay bills automatically. Default value: false. Valid values:
    BandwidthBillingType string
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    CrossBorderMode string
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    Descriptive information of the global acceleration instance.
    Duration int
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    RenewalStatus string
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    ResourceGroupId string
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    Spec string
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    Tags map[string]string
    A mapping of tags to assign to the resource.
    acceleratorName String
    The Name of the GA instance.
    autoRenewDuration Integer
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    autoUseCoupon Boolean
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidthBillingType String
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    crossBorderMode String
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    Descriptive information of the global acceleration instance.
    duration Integer
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    renewalStatus String
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resourceGroupId String
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec String
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    acceleratorName string
    The Name of the GA instance.
    autoRenewDuration number
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    autoUseCoupon boolean
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidthBillingType string
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    crossBorderMode string
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    crossBorderStatus boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description string
    Descriptive information of the global acceleration instance.
    duration number
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    promotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    renewalStatus string
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resourceGroupId string
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec string
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    accelerator_name str
    The Name of the GA instance.
    auto_renew_duration int
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    auto_use_coupon bool
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidth_billing_type str
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    cross_border_mode str
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    cross_border_status bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description str
    Descriptive information of the global acceleration instance.
    duration int
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    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).
    renewal_status str
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resource_group_id str
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec str
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    acceleratorName String
    The Name of the GA instance.
    autoRenewDuration Number
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    autoUseCoupon Boolean
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidthBillingType String
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    crossBorderMode String
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    Descriptive information of the global acceleration instance.
    duration Number
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    renewalStatus String
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resourceGroupId String
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec String
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    tags Map<String>
    A mapping of tags to assign to the resource.

    Outputs

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

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

    Look up Existing Accelerator Resource

    Get an existing Accelerator 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?: AcceleratorState, opts?: CustomResourceOptions): Accelerator
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accelerator_name: Optional[str] = None,
            auto_renew_duration: Optional[int] = None,
            auto_use_coupon: Optional[bool] = None,
            bandwidth_billing_type: Optional[str] = None,
            cross_border_mode: 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,
            renewal_status: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            spec: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Accelerator
    func GetAccelerator(ctx *Context, name string, id IDInput, state *AcceleratorState, opts ...ResourceOption) (*Accelerator, error)
    public static Accelerator Get(string name, Input<string> id, AcceleratorState? state, CustomResourceOptions? opts = null)
    public static Accelerator get(String name, Output<String> id, AcceleratorState 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:
    AcceleratorName string
    The Name of the GA instance.
    AutoRenewDuration int
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    AutoUseCoupon bool
    Use coupons to pay bills automatically. Default value: false. Valid values:
    BandwidthBillingType string
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    CrossBorderMode string
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    Descriptive information of the global acceleration instance.
    Duration int
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    RenewalStatus string
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    ResourceGroupId string
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    Spec string
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    Status string
    The status of the GA instance.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AcceleratorName string
    The Name of the GA instance.
    AutoRenewDuration int
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    AutoUseCoupon bool
    Use coupons to pay bills automatically. Default value: false. Valid values:
    BandwidthBillingType string
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    CrossBorderMode string
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    CrossBorderStatus bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    Description string
    Descriptive information of the global acceleration instance.
    Duration int
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    PromotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    RenewalStatus string
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    ResourceGroupId string
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    Spec string
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    Status string
    The status of the GA instance.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    acceleratorName String
    The Name of the GA instance.
    autoRenewDuration Integer
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    autoUseCoupon Boolean
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidthBillingType String
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    crossBorderMode String
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    Descriptive information of the global acceleration instance.
    duration Integer
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    renewalStatus String
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resourceGroupId String
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec String
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    status String
    The status of the GA instance.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    acceleratorName string
    The Name of the GA instance.
    autoRenewDuration number
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    autoUseCoupon boolean
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidthBillingType string
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    crossBorderMode string
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    crossBorderStatus boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description string
    Descriptive information of the global acceleration instance.
    duration number
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    promotionOptionNo string
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    renewalStatus string
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resourceGroupId string
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec string
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    status string
    The status of the GA instance.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    accelerator_name str
    The Name of the GA instance.
    auto_renew_duration int
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    auto_use_coupon bool
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidth_billing_type str
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    cross_border_mode str
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    cross_border_status bool
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description str
    Descriptive information of the global acceleration instance.
    duration int
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    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).
    renewal_status str
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resource_group_id str
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec str
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    status str
    The status of the GA instance.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    acceleratorName String
    The Name of the GA instance.
    autoRenewDuration Number
    Auto renewal period of an instance, in the unit of month. The value range is 1-12.
    autoUseCoupon Boolean
    Use coupons to pay bills automatically. Default value: false. Valid values:
    bandwidthBillingType String
    The bandwidth billing method. Default value: BandwidthPackage. Valid values:

    • BandwidthPackage: billed based on bandwidth plans.
    • CDT: billed based on data transfer.
    crossBorderMode String
    The type of cross-border acceleration. Default value: bgpPro. Valid values: bgpPro, private. NOTE: cross_border_mode is valid only when cross_border_status is set to true.
    crossBorderStatus Boolean
    Indicates whether cross-border acceleration is enabled. Default value: false. Valid values:
    description String
    Descriptive information of the global acceleration instance.
    duration Number
    The subscription duration.

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

    • Month: billed on a monthly basis.
    • Year: billed on an annual basis.
    promotionOptionNo String
    The code of the coupon. NOTE: The promotion_option_no takes effect only for accounts registered on the international site (alibabacloud.com).
    renewalStatus String
    Whether to renew an accelerator automatically or not. Default value: Normal. Valid values:

    • AutoRenewal: Enable auto renewal.
    • Normal: Disable auto renewal.
    • NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
    resourceGroupId String
    The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
    spec String
    The instance type of the GA instance. Specification of global acceleration instance. Valid values:
    status String
    The status of the GA instance.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Import

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

    $ pulumi import alicloud:ga/accelerator:Accelerator 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.66.0 published on Friday, Nov 15, 2024 by Pulumi