alicloud.ga.BandwidthPackage
Explore with Pulumi AI
Provides a Global Accelerator (GA) Bandwidth Package resource.
For information about Global Accelerator (GA) Bandwidth Package and how to use it, see What is Bandwidth Package.
NOTE: At present, The
alicloud.ga.BandwidthPackage
created withSubscription
cannot be deleted. you need to wait until the resource is outdated and released automatically.
NOTE: Available since v1.112.0.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = new AliCloud.Ga.BandwidthPackage("example", new()
{
AutoPay = true,
Bandwidth = 20,
BandwidthType = "Basic",
Duration = "1",
Ratio = 30,
Type = "Basic",
});
});
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.NewBandwidthPackage(ctx, "example", &ga.BandwidthPackageArgs{
AutoPay: pulumi.Bool(true),
Bandwidth: pulumi.Int(20),
BandwidthType: pulumi.String("Basic"),
Duration: pulumi.String("1"),
Ratio: pulumi.Int(30),
Type: pulumi.String("Basic"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.BandwidthPackage;
import com.pulumi.alicloud.ga.BandwidthPackageArgs;
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 BandwidthPackage("example", BandwidthPackageArgs.builder()
.autoPay(true)
.bandwidth(20)
.bandwidthType("Basic")
.duration(1)
.ratio(30)
.type("Basic")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.ga.BandwidthPackage("example",
auto_pay=True,
bandwidth=20,
bandwidth_type="Basic",
duration="1",
ratio=30,
type="Basic")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.ga.BandwidthPackage("example", {
autoPay: true,
bandwidth: 20,
bandwidthType: "Basic",
duration: "1",
ratio: 30,
type: "Basic",
});
resources:
example:
type: alicloud:ga:BandwidthPackage
properties:
autoPay: true
bandwidth: 20
bandwidthType: Basic
duration: 1
ratio: 30
type: Basic
Create BandwidthPackage Resource
new BandwidthPackage(name: string, args: BandwidthPackageArgs, opts?: CustomResourceOptions);
@overload
def BandwidthPackage(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[bool] = None,
auto_renew_duration: Optional[int] = None,
auto_use_coupon: Optional[bool] = None,
bandwidth: Optional[int] = None,
bandwidth_package_name: Optional[str] = None,
bandwidth_type: Optional[str] = None,
billing_type: Optional[str] = None,
cbn_geographic_region_ida: Optional[str] = None,
cbn_geographic_region_idb: Optional[str] = None,
description: Optional[str] = None,
duration: Optional[str] = None,
payment_type: Optional[str] = None,
promotion_option_no: Optional[str] = None,
ratio: Optional[int] = None,
renewal_status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
type: Optional[str] = None)
@overload
def BandwidthPackage(resource_name: str,
args: BandwidthPackageArgs,
opts: Optional[ResourceOptions] = None)
func NewBandwidthPackage(ctx *Context, name string, args BandwidthPackageArgs, opts ...ResourceOption) (*BandwidthPackage, error)
public BandwidthPackage(string name, BandwidthPackageArgs args, CustomResourceOptions? opts = null)
public BandwidthPackage(String name, BandwidthPackageArgs args)
public BandwidthPackage(String name, BandwidthPackageArgs args, CustomResourceOptions options)
type: alicloud:ga:BandwidthPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BandwidthPackageArgs
- 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 BandwidthPackageArgs
- 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 BandwidthPackageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BandwidthPackageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BandwidthPackageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BandwidthPackage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BandwidthPackage resource accepts the following input properties:
- Bandwidth int
The bandwidth value of bandwidth packet.
- Type string
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.- Auto
Pay bool Whether to pay automatically. Valid values:
- Auto
Renew intDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon Whether use vouchers. Default value:
false
. Valid values:- Bandwidth
Package stringName The name of the bandwidth packet.
- Bandwidth
Type string The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- Billing
Type string The billing type. Valid values:
PayBy95
,PayByTraffic
.- Cbn
Geographic stringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- Cbn
Geographic stringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- Description string
The description of bandwidth package.
- Duration string
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- Payment
Type string The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- Ratio int
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- Renewal
Status string Whether to renew a bandwidth packet. automatically or not. Valid values:
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Bandwidth int
The bandwidth value of bandwidth packet.
- Type string
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.- Auto
Pay bool Whether to pay automatically. Valid values:
- Auto
Renew intDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon Whether use vouchers. Default value:
false
. Valid values:- Bandwidth
Package stringName The name of the bandwidth packet.
- Bandwidth
Type string The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- Billing
Type string The billing type. Valid values:
PayBy95
,PayByTraffic
.- Cbn
Geographic stringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- Cbn
Geographic stringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- Description string
The description of bandwidth package.
- Duration string
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- Payment
Type string The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- Ratio int
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- Renewal
Status string Whether to renew a bandwidth packet. automatically or not. Valid values:
- map[string]interface{}
A mapping of tags to assign to the resource.
- bandwidth Integer
The bandwidth value of bandwidth packet.
- type String
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.- auto
Pay Boolean Whether to pay automatically. Valid values:
- auto
Renew IntegerDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth
Package StringName The name of the bandwidth packet.
- bandwidth
Type String The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing
Type String The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn
Geographic StringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn
Geographic StringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description String
The description of bandwidth package.
- duration String
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment
Type String The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio Integer
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal
Status String Whether to renew a bandwidth packet. automatically or not. Valid values:
- Map<String,Object>
A mapping of tags to assign to the resource.
- bandwidth number
The bandwidth value of bandwidth packet.
- type string
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.- auto
Pay boolean Whether to pay automatically. Valid values:
- auto
Renew numberDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto
Use booleanCoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth
Package stringName The name of the bandwidth packet.
- bandwidth
Type string The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing
Type string The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn
Geographic stringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn
Geographic stringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description string
The description of bandwidth package.
- duration string
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment
Type string The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio number
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal
Status string Whether to renew a bandwidth packet. automatically or not. Valid values:
- {[key: string]: any}
A mapping of tags to assign to the resource.
- bandwidth int
The bandwidth value of bandwidth packet.
- type str
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.- auto_
pay bool Whether to pay automatically. Valid values:
- auto_
renew_ intduration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto_
use_ boolcoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth_
package_ strname The name of the bandwidth packet.
- bandwidth_
type str The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing_
type str The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn_
geographic_ strregion_ ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn_
geographic_ strregion_ idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description str
The description of bandwidth package.
- duration str
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment_
type str The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio int
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal_
status str Whether to renew a bandwidth packet. automatically or not. Valid values:
- Mapping[str, Any]
A mapping of tags to assign to the resource.
- bandwidth Number
The bandwidth value of bandwidth packet.
- type String
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.- auto
Pay Boolean Whether to pay automatically. Valid values:
- auto
Renew NumberDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth
Package StringName The name of the bandwidth packet.
- bandwidth
Type String The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing
Type String The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn
Geographic StringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn
Geographic StringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description String
The description of bandwidth package.
- duration String
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment
Type String The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio Number
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal
Status String Whether to renew a bandwidth packet. automatically or not. Valid values:
- Map<Any>
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the BandwidthPackage resource produces the following output properties:
Look up Existing BandwidthPackage Resource
Get an existing BandwidthPackage 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?: BandwidthPackageState, opts?: CustomResourceOptions): BandwidthPackage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[bool] = None,
auto_renew_duration: Optional[int] = None,
auto_use_coupon: Optional[bool] = None,
bandwidth: Optional[int] = None,
bandwidth_package_name: Optional[str] = None,
bandwidth_type: Optional[str] = None,
billing_type: Optional[str] = None,
cbn_geographic_region_ida: Optional[str] = None,
cbn_geographic_region_idb: Optional[str] = None,
description: Optional[str] = None,
duration: Optional[str] = None,
payment_type: Optional[str] = None,
promotion_option_no: Optional[str] = None,
ratio: Optional[int] = None,
renewal_status: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
type: Optional[str] = None) -> BandwidthPackage
func GetBandwidthPackage(ctx *Context, name string, id IDInput, state *BandwidthPackageState, opts ...ResourceOption) (*BandwidthPackage, error)
public static BandwidthPackage Get(string name, Input<string> id, BandwidthPackageState? state, CustomResourceOptions? opts = null)
public static BandwidthPackage get(String name, Output<String> id, BandwidthPackageState 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 Whether to pay automatically. Valid values:
- Auto
Renew intDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon Whether use vouchers. Default value:
false
. Valid values:- Bandwidth int
The bandwidth value of bandwidth packet.
- Bandwidth
Package stringName The name of the bandwidth packet.
- Bandwidth
Type string The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- Billing
Type string The billing type. Valid values:
PayBy95
,PayByTraffic
.- Cbn
Geographic stringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- Cbn
Geographic stringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- Description string
The description of bandwidth package.
- Duration string
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- Payment
Type string The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- Ratio int
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- Renewal
Status string Whether to renew a bandwidth packet. automatically or not. Valid values:
- Status string
The status of the Bandwidth Package.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Type string
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.
- Auto
Pay bool Whether to pay automatically. Valid values:
- Auto
Renew intDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- Auto
Use boolCoupon Whether use vouchers. Default value:
false
. Valid values:- Bandwidth int
The bandwidth value of bandwidth packet.
- Bandwidth
Package stringName The name of the bandwidth packet.
- Bandwidth
Type string The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- Billing
Type string The billing type. Valid values:
PayBy95
,PayByTraffic
.- Cbn
Geographic stringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- Cbn
Geographic stringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- Description string
The description of bandwidth package.
- Duration string
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- Payment
Type string The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- Ratio int
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- Renewal
Status string Whether to renew a bandwidth packet. automatically or not. Valid values:
- Status string
The status of the Bandwidth Package.
- map[string]interface{}
A mapping of tags to assign to the resource.
- Type string
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.
- auto
Pay Boolean Whether to pay automatically. Valid values:
- auto
Renew IntegerDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth Integer
The bandwidth value of bandwidth packet.
- bandwidth
Package StringName The name of the bandwidth packet.
- bandwidth
Type String The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing
Type String The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn
Geographic StringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn
Geographic StringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description String
The description of bandwidth package.
- duration String
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment
Type String The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio Integer
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal
Status String Whether to renew a bandwidth packet. automatically or not. Valid values:
- status String
The status of the Bandwidth Package.
- Map<String,Object>
A mapping of tags to assign to the resource.
- type String
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.
- auto
Pay boolean Whether to pay automatically. Valid values:
- auto
Renew numberDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto
Use booleanCoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth number
The bandwidth value of bandwidth packet.
- bandwidth
Package stringName The name of the bandwidth packet.
- bandwidth
Type string The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing
Type string The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn
Geographic stringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn
Geographic stringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description string
The description of bandwidth package.
- duration string
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment
Type string The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio number
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal
Status string Whether to renew a bandwidth packet. automatically or not. Valid values:
- status string
The status of the Bandwidth Package.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- type string
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.
- auto_
pay bool Whether to pay automatically. Valid values:
- auto_
renew_ intduration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto_
use_ boolcoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth int
The bandwidth value of bandwidth packet.
- bandwidth_
package_ strname The name of the bandwidth packet.
- bandwidth_
type str The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing_
type str The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn_
geographic_ strregion_ ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn_
geographic_ strregion_ idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description str
The description of bandwidth package.
- duration str
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment_
type str The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio int
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal_
status str Whether to renew a bandwidth packet. automatically or not. Valid values:
- status str
The status of the Bandwidth Package.
- Mapping[str, Any]
A mapping of tags to assign to the resource.
- type str
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.
- auto
Pay Boolean Whether to pay automatically. Valid values:
- auto
Renew NumberDuration Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
- auto
Use BooleanCoupon Whether use vouchers. Default value:
false
. Valid values:- bandwidth Number
The bandwidth value of bandwidth packet.
- bandwidth
Package StringName The name of the bandwidth packet.
- bandwidth
Type String The bandwidth type of the bandwidth. Valid values:
Advanced
,Basic
,Enhanced
. Iftype
is set toBasic
, this parameter is required.NOTE: At present, only basic can be configured to enhanced, but not enhanced and advanced to other types of accelerated bandwidth.
- billing
Type String The billing type. Valid values:
PayBy95
,PayByTraffic
.- cbn
Geographic StringRegion Ida Interworking area A of cross domain acceleration package. Only international stations support returning this parameter. Default value:
China-mainland
.- cbn
Geographic StringRegion Idb Interworking area B of cross domain acceleration package. Only international stations support returning this parameter. Default value:
Global
.- description String
The description of bandwidth package.
- duration String
The subscription duration. NOTE: The ForceNew attribute has be removed from version 1.148.0. If
payment_type
is set toSubscription
, this parameter is required.- payment
Type String The payment type of the bandwidth. Default value:
Subscription
. Valid values:PayAsYouGo
,Subscription
.- 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).- ratio Number
The minimum percentage for the pay-by-95th-percentile metering method. Valid values:
30
to100
.- renewal
Status String Whether to renew a bandwidth packet. automatically or not. Valid values:
- status String
The status of the Bandwidth Package.
- Map<Any>
A mapping of tags to assign to the resource.
- type String
The type of the bandwidth packet. China station only supports return to basic. Valid values:
Basic
,CrossDomain
.
Import
Ga Bandwidth Package can be imported using the id, e.g.
$ pulumi import alicloud:ga/bandwidthPackage:BandwidthPackage example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.