alicloud.ga.Accelerator
Explore with Pulumi AI
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:
- Accelerator
Name string - The Name of the GA instance.
- Auto
Renew intDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - Bandwidth
Billing stringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- Cross
Border stringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle 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.
- 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). - Renewal
Status 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.
- 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.
- Spec string
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Accelerator
Name string - The Name of the GA instance.
- Auto
Renew intDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - Bandwidth
Billing stringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- Cross
Border stringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle 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.
- 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). - Renewal
Status 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.
- 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.
- Spec string
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- map[string]string
- A mapping of tags to assign to the resource.
- accelerator
Name String - The Name of the GA instance.
- auto
Renew IntegerDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth
Billing StringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross
Border StringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle 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.
- 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). - renewal
Status 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.
- 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.
- spec String
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- Map<String,String>
- A mapping of tags to assign to the resource.
- accelerator
Name string - The Name of the GA instance.
- auto
Renew numberDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto
Use booleanCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth
Billing stringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross
Border stringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross
Border booleanStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle 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.
- 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). - renewal
Status 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.
- 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.
- spec string
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- accelerator_
name str - The Name of the GA instance.
- auto_
renew_ intduration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto_
use_ boolcoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth_
billing_ strtype - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross_
border_ strmode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross_
border_ boolstatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- 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_ strno - 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_ 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.
- spec str
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- accelerator
Name String - The Name of the GA instance.
- auto
Renew NumberDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth
Billing StringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross
Border StringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle 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.
- 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). - renewal
Status 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.
- 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.
- spec String
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- 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:
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.
- Accelerator
Name string - The Name of the GA instance.
- Auto
Renew intDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - Bandwidth
Billing stringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- Cross
Border stringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle 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.
- 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). - Renewal
Status 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.
- 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.
- Spec string
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- Status string
- The status of the GA instance.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Accelerator
Name string - The Name of the GA instance.
- Auto
Renew intDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - Bandwidth
Billing stringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- Cross
Border stringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - Cross
Border boolStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- Payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - Pricing
Cycle 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.
- 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). - Renewal
Status 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.
- 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.
- Spec string
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- Status string
- The status of the GA instance.
- map[string]string
- A mapping of tags to assign to the resource.
- accelerator
Name String - The Name of the GA instance.
- auto
Renew IntegerDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth
Billing StringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross
Border StringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle 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.
- 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). - renewal
Status 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.
- 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.
- spec String
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- status String
- The status of the GA instance.
- Map<String,String>
- A mapping of tags to assign to the resource.
- accelerator
Name string - The Name of the GA instance.
- auto
Renew numberDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto
Use booleanCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth
Billing stringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross
Border stringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross
Border booleanStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- payment
Type string - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle 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.
- 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). - renewal
Status 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.
- 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.
- spec string
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- status string
- The status of the GA instance.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- accelerator_
name str - The Name of the GA instance.
- auto_
renew_ intduration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto_
use_ boolcoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth_
billing_ strtype - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross_
border_ strmode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross_
border_ boolstatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- 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_ strno - 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_ 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.
- spec str
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- status str
- The status of the GA instance.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- accelerator
Name String - The Name of the GA instance.
- auto
Renew NumberDuration - Auto renewal period of an instance, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon - Use coupons to pay bills automatically. Default value:
false
. Valid values: - bandwidth
Billing StringType - The bandwidth billing method. Default value:
BandwidthPackage
. Valid values:BandwidthPackage
: billed based on bandwidth plans.CDT
: billed based on data transfer.
- cross
Border StringMode - The type of cross-border acceleration. Default value:
bgpPro
. Valid values:bgpPro
,private
. NOTE:cross_border_mode
is valid only whencross_border_status
is set totrue
. - cross
Border BooleanStatus - 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 toMonth
, the valid values for theduration
parameter are 1 to 9. - If the
pricing_cycle
parameter is set toYear
, the valid values for theduration
parameter are 1 to 3.
- If the
- payment
Type String - The payment type. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
. - pricing
Cycle 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.
- 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). - renewal
Status 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.
- 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.
- spec String
- The instance type of the GA instance. Specification of global acceleration instance. Valid values:
- status String
- The status of the GA instance.
- 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.