alicloud.ga.BasicAccelerator
Explore with Pulumi AI
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,
resource_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
Constructor 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",
ResourceGroupId = "string",
Tags =
{
{ "string", "string" },
},
});
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"),
ResourceGroupId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
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")
.resourceGroupId("string")
.tags(Map.of("string", "string"))
.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",
resource_group_id="string",
tags={
"string": "string",
})
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",
resourceGroupId: "string",
tags: {
string: "string",
},
});
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
resourceGroupId: string
tags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BasicAccelerator resource accepts the following input properties:
- 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 intDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - Auto
Use stringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - Bandwidth
Billing stringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - Basic
Accelerator stringName - The name of the Global Accelerator Basic Accelerator instance.
- Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle string - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - Promotion
Option stringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - Resource
Group stringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- Dictionary<string, string>
- 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 intDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - Auto
Use stringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - Bandwidth
Billing stringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - Basic
Accelerator stringName - The name of the Global Accelerator Basic Accelerator instance.
- Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle string - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - Promotion
Option stringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - Resource
Group stringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- map[string]string
- A mapping of tags to assign to the resource.
- auto
Pay Boolean - Specifies whether to enable automatic payment. Default value:
false
. Valid values: - auto
Renew Boolean - Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value:
false
. Valid values: - auto
Renew IntegerDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto
Use StringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth
Billing StringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic
Accelerator StringName - The name of the Global Accelerator Basic Accelerator instance.
- cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle String - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - promotion
Option StringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource
Group StringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- Map<String,String>
- A mapping of tags to assign to the resource.
- auto
Pay boolean - Specifies whether to enable automatic payment. Default value:
false
. Valid values: - auto
Renew boolean - Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value:
false
. Valid values: - auto
Renew numberDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto
Use stringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth
Billing stringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic
Accelerator stringName - The name of the Global Accelerator Basic Accelerator instance.
- cross
Border booleanStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle string - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - promotion
Option stringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource
Group stringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- {[key: string]: string}
- 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_ intduration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto_
use_ strcoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth_
billing_ strtype - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic_
accelerator_ strname - The name of the Global Accelerator Basic Accelerator instance.
- cross_
border_ boolstatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- 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_ strno - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource_
group_ strid - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- auto
Pay Boolean - Specifies whether to enable automatic payment. Default value:
false
. Valid values: - auto
Renew Boolean - Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value:
false
. Valid values: - auto
Renew NumberDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto
Use StringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth
Billing StringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic
Accelerator StringName - The name of the Global Accelerator Basic Accelerator instance.
- cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle String - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - promotion
Option StringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource
Group StringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- Map<String>
- 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:
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,
resource_group_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
- 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 intDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - Auto
Use stringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - Bandwidth
Billing stringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - Basic
Accelerator stringName - The name of the Global Accelerator Basic Accelerator instance.
- Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle string - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - Promotion
Option stringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - Resource
Group stringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- Status string
- The status of the Basic Accelerator instance.
- Dictionary<string, string>
- 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 intDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - Auto
Use stringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - Bandwidth
Billing stringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - Basic
Accelerator stringName - The name of the Global Accelerator Basic Accelerator instance.
- Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle string - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - Promotion
Option stringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - Resource
Group stringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- Status string
- The status of the Basic Accelerator instance.
- map[string]string
- A mapping of tags to assign to the resource.
- auto
Pay Boolean - Specifies whether to enable automatic payment. Default value:
false
. Valid values: - auto
Renew Boolean - Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value:
false
. Valid values: - auto
Renew IntegerDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto
Use StringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth
Billing StringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic
Accelerator StringName - The name of the Global Accelerator Basic Accelerator instance.
- cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle String - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - promotion
Option StringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource
Group StringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- status String
- The status of the Basic Accelerator instance.
- Map<String,String>
- A mapping of tags to assign to the resource.
- auto
Pay boolean - Specifies whether to enable automatic payment. Default value:
false
. Valid values: - auto
Renew boolean - Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value:
false
. Valid values: - auto
Renew numberDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto
Use stringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth
Billing stringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic
Accelerator stringName - The name of the Global Accelerator Basic Accelerator instance.
- cross
Border booleanStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle string - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - promotion
Option stringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource
Group stringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- status string
- The status of the Basic Accelerator instance.
- {[key: string]: string}
- 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_ intduration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto_
use_ strcoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth_
billing_ strtype - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic_
accelerator_ strname - The name of the Global Accelerator Basic Accelerator instance.
- cross_
border_ boolstatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- 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_ strno - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource_
group_ strid - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- status str
- The status of the Basic Accelerator instance.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- auto
Pay Boolean - Specifies whether to enable automatic payment. Default value:
false
. Valid values: - auto
Renew Boolean - Specifies whether to enable auto-renewal for the GA Basic Accelerator instance. Default value:
false
. Valid values: - auto
Renew NumberDuration - The auto-renewal period. Unit: months. Default value:
1
. Valid values:1
to12
. NOTE: This parameter is required only ifauto_renew
is set totrue
. - auto
Use StringCoupon - Specifies whether to automatically pay bills by using coupons. Default value:
false
. NOTE: This parameter is required only ifauto_pay
is set totrue
. - bandwidth
Billing StringType - The bandwidth billing method. Valid values:
BandwidthPackage
,CDT
,CDT95
. - basic
Accelerator StringName - The name of the Global Accelerator Basic Accelerator instance.
- cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are1
to9
. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are1
to3
.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle String - The billing cycle. Default value:
Month
. Valid values:Month
,Year
. - promotion
Option StringNo - The code of the coupon. NOTE: The
promotion_option_no
takes effect only for accounts registered on the international site (alibabacloud.com). - resource
Group StringId - The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.
- status String
- The status of the Basic Accelerator instance.
- Map<String>
- 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.