published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
Provides a CEN bandwidth package resource. The CEN bandwidth package is an abstracted object that includes an interconnection bandwidth and interconnection areas. To buy a bandwidth package, you must specify the areas to connect. An area consists of one or more Alibaba Cloud regions. The areas in CEN include Mainland China, Asia Pacific, North America, and Europe.
For information about CEN and how to use it, see Manage bandwidth packages.
NOTE: Available since v1.18.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.cen.BandwidthPackage("example", {
bandwidth: 5,
cenBandwidthPackageName: "tf_example",
geographicRegionAId: "China",
geographicRegionBId: "China",
});
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.cen.BandwidthPackage("example",
bandwidth=5,
cen_bandwidth_package_name="tf_example",
geographic_region_a_id="China",
geographic_region_b_id="China")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cen.NewBandwidthPackage(ctx, "example", &cen.BandwidthPackageArgs{
Bandwidth: pulumi.Int(5),
CenBandwidthPackageName: pulumi.String("tf_example"),
GeographicRegionAId: pulumi.String("China"),
GeographicRegionBId: pulumi.String("China"),
})
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.Cen.BandwidthPackage("example", new()
{
Bandwidth = 5,
CenBandwidthPackageName = "tf_example",
GeographicRegionAId = "China",
GeographicRegionBId = "China",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.BandwidthPackage;
import com.pulumi.alicloud.cen.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()
.bandwidth(5)
.cenBandwidthPackageName("tf_example")
.geographicRegionAId("China")
.geographicRegionBId("China")
.build());
}
}
resources:
example:
type: alicloud:cen:BandwidthPackage
properties:
bandwidth: 5
cenBandwidthPackageName: tf_example
geographicRegionAId: China
geographicRegionBId: China
Deleting alicloud.cen.BandwidthPackage or removing it from your configuration
The alicloud.cen.BandwidthPackage resource allows you to manage payment_type </span>= "PrePaid" bandwidth package, but Terraform cannot destroy it.
Deleting the subscription resource or removing it from your configuration will remove it from your statefile and management, but will not destroy the Bandwidth Package.
You can resume managing the subscription bandwidth package via the AlibabaCloud Console.
📚 Need more examples? VIEW MORE EXAMPLES
Create BandwidthPackage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BandwidthPackage(name: string, args: BandwidthPackageArgs, opts?: CustomResourceOptions);@overload
def BandwidthPackage(resource_name: str,
args: BandwidthPackageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BandwidthPackage(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[int] = None,
auto_renew: Optional[bool] = None,
cen_bandwidth_package_name: Optional[str] = None,
charge_type: Optional[str] = None,
description: Optional[str] = None,
geographic_region_a_id: Optional[str] = None,
geographic_region_b_id: Optional[str] = None,
geographic_region_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = 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:cen:BandwidthPackage
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var bandwidthPackageResource = new AliCloud.Cen.BandwidthPackage("bandwidthPackageResource", new()
{
Bandwidth = 0,
AutoRenew = false,
CenBandwidthPackageName = "string",
Description = "string",
GeographicRegionAId = "string",
GeographicRegionBId = "string",
PaymentType = "string",
Period = 0,
});
example, err := cen.NewBandwidthPackage(ctx, "bandwidthPackageResource", &cen.BandwidthPackageArgs{
Bandwidth: pulumi.Int(0),
AutoRenew: pulumi.Bool(false),
CenBandwidthPackageName: pulumi.String("string"),
Description: pulumi.String("string"),
GeographicRegionAId: pulumi.String("string"),
GeographicRegionBId: pulumi.String("string"),
PaymentType: pulumi.String("string"),
Period: pulumi.Int(0),
})
var bandwidthPackageResource = new com.pulumi.alicloud.cen.BandwidthPackage("bandwidthPackageResource", com.pulumi.alicloud.cen.BandwidthPackageArgs.builder()
.bandwidth(0)
.autoRenew(false)
.cenBandwidthPackageName("string")
.description("string")
.geographicRegionAId("string")
.geographicRegionBId("string")
.paymentType("string")
.period(0)
.build());
bandwidth_package_resource = alicloud.cen.BandwidthPackage("bandwidthPackageResource",
bandwidth=0,
auto_renew=False,
cen_bandwidth_package_name="string",
description="string",
geographic_region_a_id="string",
geographic_region_b_id="string",
payment_type="string",
period=0)
const bandwidthPackageResource = new alicloud.cen.BandwidthPackage("bandwidthPackageResource", {
bandwidth: 0,
autoRenew: false,
cenBandwidthPackageName: "string",
description: "string",
geographicRegionAId: "string",
geographicRegionBId: "string",
paymentType: "string",
period: 0,
});
type: alicloud:cen:BandwidthPackage
properties:
autoRenew: false
bandwidth: 0
cenBandwidthPackageName: string
description: string
geographicRegionAId: string
geographicRegionBId: string
paymentType: string
period: 0
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BandwidthPackage resource accepts the following input properties:
- Bandwidth int
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- Auto
Renew bool Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- Cen
Bandwidth stringPackage Name - The name of the bandwidth package. Defaults to null.
- Charge
Type string - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - Description string
- The description of the bandwidth package. Default to null.
- Geographic
Region stringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region stringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region List<string>Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - Name string
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - Payment
Type string - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - Period int
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.
- Bandwidth int
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- Auto
Renew bool Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- Cen
Bandwidth stringPackage Name - The name of the bandwidth package. Defaults to null.
- Charge
Type string - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - Description string
- The description of the bandwidth package. Default to null.
- Geographic
Region stringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region stringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region []stringIds - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - Name string
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - Payment
Type string - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - Period int
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.
- bandwidth Integer
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- auto
Renew Boolean Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- cen
Bandwidth StringPackage Name - The name of the bandwidth package. Defaults to null.
- charge
Type String - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description String
- The description of the bandwidth package. Default to null.
- geographic
Region StringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region StringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region List<String>Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name String
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment
Type String - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period Integer
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.
- bandwidth number
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- auto
Renew boolean Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- cen
Bandwidth stringPackage Name - The name of the bandwidth package. Defaults to null.
- charge
Type string - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description string
- The description of the bandwidth package. Default to null.
- geographic
Region stringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region stringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region string[]Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name string
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment
Type string - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period number
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.
- bandwidth int
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- auto_
renew bool Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- cen_
bandwidth_ strpackage_ name - The name of the bandwidth package. Defaults to null.
- charge_
type str - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description str
- The description of the bandwidth package. Default to null.
- geographic_
region_ stra_ id - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic_
region_ strb_ id - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic_
region_ Sequence[str]ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name str
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment_
type str - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period int
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.
- bandwidth Number
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- auto
Renew Boolean Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- cen
Bandwidth StringPackage Name - The name of the bandwidth package. Defaults to null.
- charge
Type String - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description String
- The description of the bandwidth package. Default to null.
- geographic
Region StringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region StringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region List<String>Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name String
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment
Type String - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period Number
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the BandwidthPackage resource produces the following output properties:
- Expired
Time string - The time of the bandwidth package to expire.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The association status of the bandwidth package.
- Expired
Time string - The time of the bandwidth package to expire.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The association status of the bandwidth package.
- expired
Time String - The time of the bandwidth package to expire.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The association status of the bandwidth package.
- expired
Time string - The time of the bandwidth package to expire.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The association status of the bandwidth package.
- expired_
time str - The time of the bandwidth package to expire.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The association status of the bandwidth package.
- expired
Time String - The time of the bandwidth package to expire.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The association status of the bandwidth package.
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_renew: Optional[bool] = None,
bandwidth: Optional[int] = None,
cen_bandwidth_package_name: Optional[str] = None,
charge_type: Optional[str] = None,
description: Optional[str] = None,
expired_time: Optional[str] = None,
geographic_region_a_id: Optional[str] = None,
geographic_region_b_id: Optional[str] = None,
geographic_region_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
status: Optional[str] = None) -> BandwidthPackagefunc 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)resources: _: type: alicloud:cen:BandwidthPackage get: id: ${id}- 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
Renew bool Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- Bandwidth int
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- Cen
Bandwidth stringPackage Name - The name of the bandwidth package. Defaults to null.
- Charge
Type string - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - Description string
- The description of the bandwidth package. Default to null.
- Expired
Time string - The time of the bandwidth package to expire.
- Geographic
Region stringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region stringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region List<string>Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - Name string
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - Payment
Type string - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - Period int
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- Status string
- The association status of the bandwidth package.
- Auto
Renew bool Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- Bandwidth int
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- Cen
Bandwidth stringPackage Name - The name of the bandwidth package. Defaults to null.
- Charge
Type string - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - Description string
- The description of the bandwidth package. Default to null.
- Expired
Time string - The time of the bandwidth package to expire.
- Geographic
Region stringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region stringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - Geographic
Region []stringIds - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - Name string
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - Payment
Type string - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - Period int
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- Status string
- The association status of the bandwidth package.
- auto
Renew Boolean Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- bandwidth Integer
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- cen
Bandwidth StringPackage Name - The name of the bandwidth package. Defaults to null.
- charge
Type String - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description String
- The description of the bandwidth package. Default to null.
- expired
Time String - The time of the bandwidth package to expire.
- geographic
Region StringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region StringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region List<String>Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name String
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment
Type String - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period Integer
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- status String
- The association status of the bandwidth package.
- auto
Renew boolean Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- bandwidth number
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- cen
Bandwidth stringPackage Name - The name of the bandwidth package. Defaults to null.
- charge
Type string - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description string
- The description of the bandwidth package. Default to null.
- expired
Time string - The time of the bandwidth package to expire.
- geographic
Region stringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region stringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region string[]Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name string
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment
Type string - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period number
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- status string
- The association status of the bandwidth package.
- auto_
renew bool Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- bandwidth int
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- cen_
bandwidth_ strpackage_ name - The name of the bandwidth package. Defaults to null.
- charge_
type str - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description str
- The description of the bandwidth package. Default to null.
- expired_
time str - The time of the bandwidth package to expire.
- geographic_
region_ stra_ id - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic_
region_ strb_ id - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic_
region_ Sequence[str]ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name str
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment_
type str - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period int
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- status str
- The association status of the bandwidth package.
- auto
Renew Boolean Whether to enable auto-renewal for the bandwidth package. Only applicable when
payment_typeisPrePaid. Valid values:true,false. Default tofalse.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
->NOTE: PrePaid mode will deduct fees from the account directly and the bandwidth package can't be deleted before expired time.
- bandwidth Number
- The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
- cen
Bandwidth StringPackage Name - The name of the bandwidth package. Defaults to null.
- charge
Type String - Field
charge_typehas been deprecated from version 1.97.0. Usepayment_typeand instead. - description String
- The description of the bandwidth package. Default to null.
- expired
Time String - The time of the bandwidth package to expire.
- geographic
Region StringAId - The area A to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region StringBId - The area B to which the network instance belongs. Valid values:
China|North-America|Asia-Pacific|Europe|Australia. - geographic
Region List<String>Ids - Field
geographic_region_idshas been deprecated from version 1.97.0. Usegeographic_region_a_idandgeographic_region_b_idinstead. - name String
- Field
namehas been deprecated from version 1.97.0. Usecen_bandwidth_package_nameand instead. - payment
Type String - The billing method. Valid value:
PostPaid|PrePaid. Default toPrePaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. - period Number
The purchase period in month. Valid value:
1,2,3,6,12.NOTE: The attribute
periodis only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- status String
- The association status of the bandwidth package.
Import
CEN bandwidth package can be imported using the id, e.g.
$ pulumi import alicloud:cen/bandwidthPackage:BandwidthPackage example cenbwp-abc123456
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
alicloudTerraform Provider.
published on Saturday, Mar 14, 2026 by Pulumi
