1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. cen
  6. BandwidthPackage
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Provides cross-region communication bandwidth for Cloud Enterprise Network instances. You can allocate bandwidth to different inter-region connections. By creating a bandwidth package and assigning inter-region bandwidth, you enable connectivity between network instances in different regions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const cENBandwidthPackageDemo = new volcenginecc.cen.BandwidthPackage("CENBandwidthPackageDemo", {
        bandwidth: 3,
        billingType: 4,
        cenBandwidthPackageName: "ccapi-test",
        cenIds: ["cen-2v73nw1h8a03k6x7exxxxx"],
        description: "this is a cen test",
        localGeographicRegionSetId: "China",
        peerGeographicRegionSetId: "China",
        projectName: "default",
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    c_en_bandwidth_package_demo = volcenginecc.cen.BandwidthPackage("CENBandwidthPackageDemo",
        bandwidth=3,
        billing_type=4,
        cen_bandwidth_package_name="ccapi-test",
        cen_ids=["cen-2v73nw1h8a03k6x7exxxxx"],
        description="this is a cen test",
        local_geographic_region_set_id="China",
        peer_geographic_region_set_id="China",
        project_name="default",
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cen"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cen.NewBandwidthPackage(ctx, "CENBandwidthPackageDemo", &cen.BandwidthPackageArgs{
    			Bandwidth:               pulumi.Int(3),
    			BillingType:             pulumi.Int(4),
    			CenBandwidthPackageName: pulumi.String("ccapi-test"),
    			CenIds: pulumi.StringArray{
    				pulumi.String("cen-2v73nw1h8a03k6x7exxxxx"),
    			},
    			Description:                pulumi.String("this is a cen test"),
    			LocalGeographicRegionSetId: pulumi.String("China"),
    			PeerGeographicRegionSetId:  pulumi.String("China"),
    			ProjectName:                pulumi.String("default"),
    			Tags: cen.BandwidthPackageTagArray{
    				&cen.BandwidthPackageTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var cENBandwidthPackageDemo = new Volcenginecc.Cen.BandwidthPackage("CENBandwidthPackageDemo", new()
        {
            Bandwidth = 3,
            BillingType = 4,
            CenBandwidthPackageName = "ccapi-test",
            CenIds = new[]
            {
                "cen-2v73nw1h8a03k6x7exxxxx",
            },
            Description = "this is a cen test",
            LocalGeographicRegionSetId = "China",
            PeerGeographicRegionSetId = "China",
            ProjectName = "default",
            Tags = new[]
            {
                new Volcenginecc.Cen.Inputs.BandwidthPackageTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.cen.BandwidthPackage;
    import com.volcengine.volcenginecc.cen.BandwidthPackageArgs;
    import com.pulumi.volcenginecc.cen.inputs.BandwidthPackageTagArgs;
    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 cENBandwidthPackageDemo = new BandwidthPackage("cENBandwidthPackageDemo", BandwidthPackageArgs.builder()
                .bandwidth(3)
                .billingType(4)
                .cenBandwidthPackageName("ccapi-test")
                .cenIds("cen-2v73nw1h8a03k6x7exxxxx")
                .description("this is a cen test")
                .localGeographicRegionSetId("China")
                .peerGeographicRegionSetId("China")
                .projectName("default")
                .tags(BandwidthPackageTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      cENBandwidthPackageDemo:
        type: volcenginecc:cen:BandwidthPackage
        name: CENBandwidthPackageDemo
        properties:
          bandwidth: 3
          billingType: 4
          cenBandwidthPackageName: ccapi-test
          cenIds:
            - cen-2v73nw1h8a03k6x7exxxxx
          description: this is a cen test
          localGeographicRegionSetId: China
          peerGeographicRegionSetId: China
          projectName: default
          tags:
            - key: env
              value: test
    

    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,
                         local_geographic_region_set_id: Optional[str] = None,
                         peer_geographic_region_set_id: Optional[str] = None,
                         cen_ids: Optional[Sequence[str]] = None,
                         bandwidth: Optional[int] = None,
                         description: Optional[str] = None,
                         line_operator: Optional[str] = None,
                         cen_bandwidth_package_name: Optional[str] = None,
                         billing_type: Optional[int] = None,
                         period: Optional[int] = None,
                         period_unit: Optional[str] = None,
                         project_name: Optional[str] = None,
                         remain_renew_times: Optional[int] = None,
                         renew_period: Optional[int] = None,
                         renew_type: Optional[str] = None,
                         tags: Optional[Sequence[BandwidthPackageTagArgs]] = 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: volcenginecc: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.

    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:

    LocalGeographicRegionSetId string
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    PeerGeographicRegionSetId string
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    Bandwidth int
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    BillingType int
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    CenBandwidthPackageName string
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    CenIds List<string>
    List of associated CEN instance IDs.
    Description string
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    LineOperator string
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    Period int
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    PeriodUnit string
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    ProjectName string
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    RemainRenewTimes int
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    RenewPeriod int
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    RenewType string
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    Tags List<Volcengine.BandwidthPackageTag>
    LocalGeographicRegionSetId string
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    PeerGeographicRegionSetId string
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    Bandwidth int
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    BillingType int
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    CenBandwidthPackageName string
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    CenIds []string
    List of associated CEN instance IDs.
    Description string
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    LineOperator string
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    Period int
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    PeriodUnit string
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    ProjectName string
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    RemainRenewTimes int
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    RenewPeriod int
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    RenewType string
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    Tags []BandwidthPackageTagArgs
    localGeographicRegionSetId String
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peerGeographicRegionSetId String
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth Integer
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billingType Integer
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    cenBandwidthPackageName String
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cenIds List<String>
    List of associated CEN instance IDs.
    description String
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    lineOperator String
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    period Integer
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    periodUnit String
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    projectName String
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    remainRenewTimes Integer
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    renewPeriod Integer
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renewType String
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    tags List<BandwidthPackageTag>
    localGeographicRegionSetId string
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peerGeographicRegionSetId string
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth number
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billingType number
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    cenBandwidthPackageName string
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cenIds string[]
    List of associated CEN instance IDs.
    description string
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    lineOperator string
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    period number
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    periodUnit string
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    projectName string
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    remainRenewTimes number
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    renewPeriod number
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renewType string
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    tags BandwidthPackageTag[]
    local_geographic_region_set_id str
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peer_geographic_region_set_id str
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth int
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billing_type int
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    cen_bandwidth_package_name str
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cen_ids Sequence[str]
    List of associated CEN instance IDs.
    description str
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    line_operator str
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    period int
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    period_unit str
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    project_name str
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    remain_renew_times int
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    renew_period int
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renew_type str
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    tags Sequence[BandwidthPackageTagArgs]
    localGeographicRegionSetId String
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peerGeographicRegionSetId String
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth Number
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billingType Number
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    cenBandwidthPackageName String
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cenIds List<String>
    List of associated CEN instance IDs.
    description String
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    lineOperator String
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    period Number
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    periodUnit String
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    projectName String
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    remainRenewTimes Number
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    renewPeriod Number
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renewType String
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    tags List<Property Map>

    Outputs

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

    BillingStatus int
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    BusinessStatus string
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    CenBandwidthPackageId string
    Bandwidth package ID.
    CreationTime string
    Creation time of the bandwidth package.
    DeletedTime string
    Deletion time of the bandwidth package.
    ExpiredTime string
    Expiration time of the bandwidth package.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReclaimTime string
    Recycle time after the bandwidth package instance expires.
    RemainingBandwidth int
    Remaining bandwidth, measured in Mbps.
    Status string
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    UpdateTime string
    Update time of the bandwidth package.
    BillingStatus int
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    BusinessStatus string
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    CenBandwidthPackageId string
    Bandwidth package ID.
    CreationTime string
    Creation time of the bandwidth package.
    DeletedTime string
    Deletion time of the bandwidth package.
    ExpiredTime string
    Expiration time of the bandwidth package.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReclaimTime string
    Recycle time after the bandwidth package instance expires.
    RemainingBandwidth int
    Remaining bandwidth, measured in Mbps.
    Status string
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    UpdateTime string
    Update time of the bandwidth package.
    billingStatus Integer
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    businessStatus String
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cenBandwidthPackageId String
    Bandwidth package ID.
    creationTime String
    Creation time of the bandwidth package.
    deletedTime String
    Deletion time of the bandwidth package.
    expiredTime String
    Expiration time of the bandwidth package.
    id String
    The provider-assigned unique ID for this managed resource.
    reclaimTime String
    Recycle time after the bandwidth package instance expires.
    remainingBandwidth Integer
    Remaining bandwidth, measured in Mbps.
    status String
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    updateTime String
    Update time of the bandwidth package.
    billingStatus number
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    businessStatus string
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cenBandwidthPackageId string
    Bandwidth package ID.
    creationTime string
    Creation time of the bandwidth package.
    deletedTime string
    Deletion time of the bandwidth package.
    expiredTime string
    Expiration time of the bandwidth package.
    id string
    The provider-assigned unique ID for this managed resource.
    reclaimTime string
    Recycle time after the bandwidth package instance expires.
    remainingBandwidth number
    Remaining bandwidth, measured in Mbps.
    status string
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    updateTime string
    Update time of the bandwidth package.
    billing_status int
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    business_status str
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cen_bandwidth_package_id str
    Bandwidth package ID.
    creation_time str
    Creation time of the bandwidth package.
    deleted_time str
    Deletion time of the bandwidth package.
    expired_time str
    Expiration time of the bandwidth package.
    id str
    The provider-assigned unique ID for this managed resource.
    reclaim_time str
    Recycle time after the bandwidth package instance expires.
    remaining_bandwidth int
    Remaining bandwidth, measured in Mbps.
    status str
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    update_time str
    Update time of the bandwidth package.
    billingStatus Number
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    businessStatus String
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cenBandwidthPackageId String
    Bandwidth package ID.
    creationTime String
    Creation time of the bandwidth package.
    deletedTime String
    Deletion time of the bandwidth package.
    expiredTime String
    Expiration time of the bandwidth package.
    id String
    The provider-assigned unique ID for this managed resource.
    reclaimTime String
    Recycle time after the bandwidth package instance expires.
    remainingBandwidth Number
    Remaining bandwidth, measured in Mbps.
    status String
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    updateTime String
    Update time 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,
            bandwidth: Optional[int] = None,
            billing_status: Optional[int] = None,
            billing_type: Optional[int] = None,
            business_status: Optional[str] = None,
            cen_bandwidth_package_id: Optional[str] = None,
            cen_bandwidth_package_name: Optional[str] = None,
            cen_ids: Optional[Sequence[str]] = None,
            creation_time: Optional[str] = None,
            deleted_time: Optional[str] = None,
            description: Optional[str] = None,
            expired_time: Optional[str] = None,
            line_operator: Optional[str] = None,
            local_geographic_region_set_id: Optional[str] = None,
            peer_geographic_region_set_id: Optional[str] = None,
            period: Optional[int] = None,
            period_unit: Optional[str] = None,
            project_name: Optional[str] = None,
            reclaim_time: Optional[str] = None,
            remain_renew_times: Optional[int] = None,
            remaining_bandwidth: Optional[int] = None,
            renew_period: Optional[int] = None,
            renew_type: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[BandwidthPackageTagArgs]] = None,
            update_time: 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)
    resources:  _:    type: volcenginecc: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.
    The following state arguments are supported:
    Bandwidth int
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    BillingStatus int
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    BillingType int
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    BusinessStatus string
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    CenBandwidthPackageId string
    Bandwidth package ID.
    CenBandwidthPackageName string
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    CenIds List<string>
    List of associated CEN instance IDs.
    CreationTime string
    Creation time of the bandwidth package.
    DeletedTime string
    Deletion time of the bandwidth package.
    Description string
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    ExpiredTime string
    Expiration time of the bandwidth package.
    LineOperator string
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    LocalGeographicRegionSetId string
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    PeerGeographicRegionSetId string
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    Period int
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    PeriodUnit string
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    ProjectName string
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    ReclaimTime string
    Recycle time after the bandwidth package instance expires.
    RemainRenewTimes int
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    RemainingBandwidth int
    Remaining bandwidth, measured in Mbps.
    RenewPeriod int
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    RenewType string
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    Status string
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    Tags List<Volcengine.BandwidthPackageTag>
    UpdateTime string
    Update time of the bandwidth package.
    Bandwidth int
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    BillingStatus int
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    BillingType int
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    BusinessStatus string
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    CenBandwidthPackageId string
    Bandwidth package ID.
    CenBandwidthPackageName string
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    CenIds []string
    List of associated CEN instance IDs.
    CreationTime string
    Creation time of the bandwidth package.
    DeletedTime string
    Deletion time of the bandwidth package.
    Description string
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    ExpiredTime string
    Expiration time of the bandwidth package.
    LineOperator string
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    LocalGeographicRegionSetId string
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    PeerGeographicRegionSetId string
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    Period int
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    PeriodUnit string
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    ProjectName string
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    ReclaimTime string
    Recycle time after the bandwidth package instance expires.
    RemainRenewTimes int
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    RemainingBandwidth int
    Remaining bandwidth, measured in Mbps.
    RenewPeriod int
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    RenewType string
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    Status string
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    Tags []BandwidthPackageTagArgs
    UpdateTime string
    Update time of the bandwidth package.
    bandwidth Integer
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billingStatus Integer
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    billingType Integer
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    businessStatus String
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cenBandwidthPackageId String
    Bandwidth package ID.
    cenBandwidthPackageName String
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cenIds List<String>
    List of associated CEN instance IDs.
    creationTime String
    Creation time of the bandwidth package.
    deletedTime String
    Deletion time of the bandwidth package.
    description String
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    expiredTime String
    Expiration time of the bandwidth package.
    lineOperator String
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    localGeographicRegionSetId String
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peerGeographicRegionSetId String
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    period Integer
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    periodUnit String
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    projectName String
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    reclaimTime String
    Recycle time after the bandwidth package instance expires.
    remainRenewTimes Integer
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    remainingBandwidth Integer
    Remaining bandwidth, measured in Mbps.
    renewPeriod Integer
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renewType String
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    status String
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    tags List<BandwidthPackageTag>
    updateTime String
    Update time of the bandwidth package.
    bandwidth number
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billingStatus number
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    billingType number
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    businessStatus string
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cenBandwidthPackageId string
    Bandwidth package ID.
    cenBandwidthPackageName string
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cenIds string[]
    List of associated CEN instance IDs.
    creationTime string
    Creation time of the bandwidth package.
    deletedTime string
    Deletion time of the bandwidth package.
    description string
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    expiredTime string
    Expiration time of the bandwidth package.
    lineOperator string
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    localGeographicRegionSetId string
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peerGeographicRegionSetId string
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    period number
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    periodUnit string
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    projectName string
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    reclaimTime string
    Recycle time after the bandwidth package instance expires.
    remainRenewTimes number
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    remainingBandwidth number
    Remaining bandwidth, measured in Mbps.
    renewPeriod number
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renewType string
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    status string
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    tags BandwidthPackageTag[]
    updateTime string
    Update time of the bandwidth package.
    bandwidth int
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billing_status int
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    billing_type int
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    business_status str
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cen_bandwidth_package_id str
    Bandwidth package ID.
    cen_bandwidth_package_name str
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cen_ids Sequence[str]
    List of associated CEN instance IDs.
    creation_time str
    Creation time of the bandwidth package.
    deleted_time str
    Deletion time of the bandwidth package.
    description str
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    expired_time str
    Expiration time of the bandwidth package.
    line_operator str
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    local_geographic_region_set_id str
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peer_geographic_region_set_id str
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    period int
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    period_unit str
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    project_name str
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    reclaim_time str
    Recycle time after the bandwidth package instance expires.
    remain_renew_times int
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    remaining_bandwidth int
    Remaining bandwidth, measured in Mbps.
    renew_period int
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renew_type str
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    status str
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    tags Sequence[BandwidthPackageTagArgs]
    update_time str
    Update time of the bandwidth package.
    bandwidth Number
    Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
    billingStatus Number
    Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped
    billingType Number
    Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
    businessStatus String
    Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
    cenBandwidthPackageId String
    Bandwidth package ID.
    cenBandwidthPackageName String
    Name of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the bandwidth package ID.
    cenIds List<String>
    List of associated CEN instance IDs.
    creationTime String
    Creation time of the bandwidth package.
    deletedTime String
    Deletion time of the bandwidth package.
    description String
    Description of the bandwidth package. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string.
    expiredTime String
    Expiration time of the bandwidth package.
    lineOperator String
    Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom.
    localGeographicRegionSetId String
    Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
    peerGeographicRegionSetId String
    Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
    period Number
    Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3.
    periodUnit String
    Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
    projectName String
    Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
    reclaimTime String
    Recycle time after the bandwidth package instance expires.
    remainRenewTimes Number
    Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
    remainingBandwidth Number
    Remaining bandwidth, measured in Mbps.
    renewPeriod Number
    Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
    renewType String
    Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
    status String
    Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
    tags List<Property Map>
    updateTime String
    Update time of the bandwidth package.

    Supporting Types

    BandwidthPackageTag, BandwidthPackageTagArgs

    Key string
    Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
    Value string
    Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
    Key string
    Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
    Value string
    Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
    key String
    Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
    value String
    Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
    key string
    Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
    value string
    Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
    key str
    Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
    value str
    Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
    key String
    Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
    value String
    Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.

    Import

    $ pulumi import volcenginecc:cen/bandwidthPackage:BandwidthPackage example "cen_bandwidth_package_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.