1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. transitrouter
  6. TransitRouterBandwidthPackage
Viewing docs for bytepluscc v0.0.35
published on Monday, Jun 15, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.35
published on Monday, Jun 15, 2026 by Byteplus

    Transit router bandwidth package resources.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const transitRouterBandwidthPackageDemo = new bytepluscc.transitrouter.TransitRouterBandwidthPackage("TransitRouterBandwidthPackageDemo", {
        bandwidth: 3,
        billingType: 1,
        description: "test",
        lineOperator: "",
        localGeographicRegionSetId: "China",
        peerGeographicRegionSetId: "China",
        period: 1,
        periodUnit: "Month",
        projectName: "default",
        tags: [{
            key: "env",
            value: "test",
        }],
        transitRouterBandwidthPackageName: "ccapi-test",
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    transit_router_bandwidth_package_demo = bytepluscc.transitrouter.TransitRouterBandwidthPackage("TransitRouterBandwidthPackageDemo",
        bandwidth=3,
        billing_type=1,
        description="test",
        line_operator="",
        local_geographic_region_set_id="China",
        peer_geographic_region_set_id="China",
        period=1,
        period_unit="Month",
        project_name="default",
        tags=[{
            "key": "env",
            "value": "test",
        }],
        transit_router_bandwidth_package_name="ccapi-test")
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/transitrouter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := transitrouter.NewTransitRouterBandwidthPackage(ctx, "TransitRouterBandwidthPackageDemo", &transitrouter.TransitRouterBandwidthPackageArgs{
    			Bandwidth:                  pulumi.Int(3),
    			BillingType:                pulumi.Int(1),
    			Description:                pulumi.String("test"),
    			LineOperator:               pulumi.String(""),
    			LocalGeographicRegionSetId: pulumi.String("China"),
    			PeerGeographicRegionSetId:  pulumi.String("China"),
    			Period:                     pulumi.Int(1),
    			PeriodUnit:                 pulumi.String("Month"),
    			ProjectName:                pulumi.String("default"),
    			Tags: transitrouter.TransitRouterBandwidthPackageTagArray{
    				&transitrouter.TransitRouterBandwidthPackageTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    			TransitRouterBandwidthPackageName: pulumi.String("ccapi-test"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var transitRouterBandwidthPackageDemo = new Bytepluscc.Transitrouter.TransitRouterBandwidthPackage("TransitRouterBandwidthPackageDemo", new()
        {
            Bandwidth = 3,
            BillingType = 1,
            Description = "test",
            LineOperator = "",
            LocalGeographicRegionSetId = "China",
            PeerGeographicRegionSetId = "China",
            Period = 1,
            PeriodUnit = "Month",
            ProjectName = "default",
            Tags = new[]
            {
                new Bytepluscc.Transitrouter.Inputs.TransitRouterBandwidthPackageTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
            TransitRouterBandwidthPackageName = "ccapi-test",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.transitrouter.TransitRouterBandwidthPackage;
    import com.byteplus.bytepluscc.transitrouter.TransitRouterBandwidthPackageArgs;
    import com.pulumi.bytepluscc.transitrouter.inputs.TransitRouterBandwidthPackageTagArgs;
    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 transitRouterBandwidthPackageDemo = new TransitRouterBandwidthPackage("transitRouterBandwidthPackageDemo", TransitRouterBandwidthPackageArgs.builder()
                .bandwidth(3)
                .billingType(1)
                .description("test")
                .lineOperator("")
                .localGeographicRegionSetId("China")
                .peerGeographicRegionSetId("China")
                .period(1)
                .periodUnit("Month")
                .projectName("default")
                .tags(TransitRouterBandwidthPackageTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .transitRouterBandwidthPackageName("ccapi-test")
                .build());
    
        }
    }
    
    resources:
      transitRouterBandwidthPackageDemo:
        type: bytepluscc:transitrouter:TransitRouterBandwidthPackage
        name: TransitRouterBandwidthPackageDemo
        properties:
          bandwidth: 3
          billingType: 1
          description: test
          lineOperator: ""
          localGeographicRegionSetId: China
          peerGeographicRegionSetId: China
          period: 1
          periodUnit: Month
          projectName: default
          tags:
            - key: env
              value: test
          transitRouterBandwidthPackageName: ccapi-test
    
    Example coming soon!
    

    Create TransitRouterBandwidthPackage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransitRouterBandwidthPackage(name: string, args: TransitRouterBandwidthPackageArgs, opts?: CustomResourceOptions);
    @overload
    def TransitRouterBandwidthPackage(resource_name: str,
                                      args: TransitRouterBandwidthPackageArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransitRouterBandwidthPackage(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      local_geographic_region_set_id: Optional[str] = None,
                                      peer_geographic_region_set_id: Optional[str] = None,
                                      period: Optional[int] = None,
                                      line_operator: Optional[str] = None,
                                      description: Optional[str] = None,
                                      billing_type: Optional[int] = None,
                                      bandwidth: 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[TransitRouterBandwidthPackageTagArgs]] = None,
                                      transit_router_bandwidth_package_name: Optional[str] = None)
    func NewTransitRouterBandwidthPackage(ctx *Context, name string, args TransitRouterBandwidthPackageArgs, opts ...ResourceOption) (*TransitRouterBandwidthPackage, error)
    public TransitRouterBandwidthPackage(string name, TransitRouterBandwidthPackageArgs args, CustomResourceOptions? opts = null)
    public TransitRouterBandwidthPackage(String name, TransitRouterBandwidthPackageArgs args)
    public TransitRouterBandwidthPackage(String name, TransitRouterBandwidthPackageArgs args, CustomResourceOptions options)
    
    type: bytepluscc:transitrouter:TransitRouterBandwidthPackage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "bytepluscc_transitrouter_transitrouterbandwidthpackage" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TransitRouterBandwidthPackageArgs
    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 TransitRouterBandwidthPackageArgs
    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 TransitRouterBandwidthPackageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitRouterBandwidthPackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitRouterBandwidthPackageArgs
    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 transitRouterBandwidthPackageResource = new Bytepluscc.Transitrouter.TransitRouterBandwidthPackage("transitRouterBandwidthPackageResource", new()
    {
        LocalGeographicRegionSetId = "string",
        PeerGeographicRegionSetId = "string",
        Period = 0,
        LineOperator = "string",
        Description = "string",
        BillingType = 0,
        Bandwidth = 0,
        PeriodUnit = "string",
        ProjectName = "string",
        RemainRenewTimes = 0,
        RenewPeriod = 0,
        RenewType = "string",
        Tags = new[]
        {
            new Bytepluscc.Transitrouter.Inputs.TransitRouterBandwidthPackageTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        TransitRouterBandwidthPackageName = "string",
    });
    
    example, err := transitrouter.NewTransitRouterBandwidthPackage(ctx, "transitRouterBandwidthPackageResource", &transitrouter.TransitRouterBandwidthPackageArgs{
    	LocalGeographicRegionSetId: pulumi.String("string"),
    	PeerGeographicRegionSetId:  pulumi.String("string"),
    	Period:                     pulumi.Int(0),
    	LineOperator:               pulumi.String("string"),
    	Description:                pulumi.String("string"),
    	BillingType:                pulumi.Int(0),
    	Bandwidth:                  pulumi.Int(0),
    	PeriodUnit:                 pulumi.String("string"),
    	ProjectName:                pulumi.String("string"),
    	RemainRenewTimes:           pulumi.Int(0),
    	RenewPeriod:                pulumi.Int(0),
    	RenewType:                  pulumi.String("string"),
    	Tags: transitrouter.TransitRouterBandwidthPackageTagArray{
    		&transitrouter.TransitRouterBandwidthPackageTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	TransitRouterBandwidthPackageName: pulumi.String("string"),
    })
    
    resource "bytepluscc_transitrouter_transitrouterbandwidthpackage" "transitRouterBandwidthPackageResource" {
      local_geographic_region_set_id = "string"
      peer_geographic_region_set_id  = "string"
      period                         = 0
      line_operator                  = "string"
      description                    = "string"
      billing_type                   = 0
      bandwidth                      = 0
      period_unit                    = "string"
      project_name                   = "string"
      remain_renew_times             = 0
      renew_period                   = 0
      renew_type                     = "string"
      tags {
        key   = "string"
        value = "string"
      }
      transit_router_bandwidth_package_name = "string"
    }
    
    var transitRouterBandwidthPackageResource = new TransitRouterBandwidthPackage("transitRouterBandwidthPackageResource", TransitRouterBandwidthPackageArgs.builder()
        .localGeographicRegionSetId("string")
        .peerGeographicRegionSetId("string")
        .period(0)
        .lineOperator("string")
        .description("string")
        .billingType(0)
        .bandwidth(0)
        .periodUnit("string")
        .projectName("string")
        .remainRenewTimes(0)
        .renewPeriod(0)
        .renewType("string")
        .tags(TransitRouterBandwidthPackageTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .transitRouterBandwidthPackageName("string")
        .build());
    
    transit_router_bandwidth_package_resource = bytepluscc.transitrouter.TransitRouterBandwidthPackage("transitRouterBandwidthPackageResource",
        local_geographic_region_set_id="string",
        peer_geographic_region_set_id="string",
        period=0,
        line_operator="string",
        description="string",
        billing_type=0,
        bandwidth=0,
        period_unit="string",
        project_name="string",
        remain_renew_times=0,
        renew_period=0,
        renew_type="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        transit_router_bandwidth_package_name="string")
    
    const transitRouterBandwidthPackageResource = new bytepluscc.transitrouter.TransitRouterBandwidthPackage("transitRouterBandwidthPackageResource", {
        localGeographicRegionSetId: "string",
        peerGeographicRegionSetId: "string",
        period: 0,
        lineOperator: "string",
        description: "string",
        billingType: 0,
        bandwidth: 0,
        periodUnit: "string",
        projectName: "string",
        remainRenewTimes: 0,
        renewPeriod: 0,
        renewType: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        transitRouterBandwidthPackageName: "string",
    });
    
    type: bytepluscc:transitrouter:TransitRouterBandwidthPackage
    properties:
        bandwidth: 0
        billingType: 0
        description: string
        lineOperator: string
        localGeographicRegionSetId: string
        peerGeographicRegionSetId: string
        period: 0
        periodUnit: string
        projectName: string
        remainRenewTimes: 0
        renewPeriod: 0
        renewType: string
        tags:
            - key: string
              value: string
        transitRouterBandwidthPackageName: string
    

    TransitRouterBandwidthPackage 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 TransitRouterBandwidthPackage resource accepts the following input properties:

    LocalGeographicRegionSetId string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    PeerGeographicRegionSetId string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    Bandwidth int
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    BillingType int
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    Description string
    Description of the transit router bandwidth package.
    LineOperator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    Period int
    Purchase duration of the transit router bandwidth package.
    PeriodUnit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    ProjectName string
    Name of the project to which the transit router bandwidth package belongs.
    RemainRenewTimes int
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    RenewPeriod int
    Duration of each auto-renewal, in months.
    RenewType string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    Tags List<Byteplus.TransitRouterBandwidthPackageTag>
    TransitRouterBandwidthPackageName string
    Name of the transit router bandwidth package.
    LocalGeographicRegionSetId string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    PeerGeographicRegionSetId string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    Bandwidth int
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    BillingType int
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    Description string
    Description of the transit router bandwidth package.
    LineOperator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    Period int
    Purchase duration of the transit router bandwidth package.
    PeriodUnit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    ProjectName string
    Name of the project to which the transit router bandwidth package belongs.
    RemainRenewTimes int
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    RenewPeriod int
    Duration of each auto-renewal, in months.
    RenewType string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    Tags []TransitRouterBandwidthPackageTagArgs
    TransitRouterBandwidthPackageName string
    Name of the transit router bandwidth package.
    local_geographic_region_set_id string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peer_geographic_region_set_id string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth number
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billing_type number
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    description string
    Description of the transit router bandwidth package.
    line_operator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    period number
    Purchase duration of the transit router bandwidth package.
    period_unit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    project_name string
    Name of the project to which the transit router bandwidth package belongs.
    remain_renew_times number
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    renew_period number
    Duration of each auto-renewal, in months.
    renew_type string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    tags list(object)
    transit_router_bandwidth_package_name string
    Name of the transit router bandwidth package.
    localGeographicRegionSetId String
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peerGeographicRegionSetId String
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth Integer
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billingType Integer
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    description String
    Description of the transit router bandwidth package.
    lineOperator String
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    period Integer
    Purchase duration of the transit router bandwidth package.
    periodUnit String
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    projectName String
    Name of the project to which the transit router bandwidth package belongs.
    remainRenewTimes Integer
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    renewPeriod Integer
    Duration of each auto-renewal, in months.
    renewType String
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    tags List<TransitRouterBandwidthPackageTag>
    transitRouterBandwidthPackageName String
    Name of the transit router bandwidth package.
    localGeographicRegionSetId string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peerGeographicRegionSetId string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth number
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billingType number
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    description string
    Description of the transit router bandwidth package.
    lineOperator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    period number
    Purchase duration of the transit router bandwidth package.
    periodUnit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    projectName string
    Name of the project to which the transit router bandwidth package belongs.
    remainRenewTimes number
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    renewPeriod number
    Duration of each auto-renewal, in months.
    renewType string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    tags TransitRouterBandwidthPackageTag[]
    transitRouterBandwidthPackageName string
    Name of the transit router bandwidth package.
    local_geographic_region_set_id str
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peer_geographic_region_set_id str
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth int
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billing_type int
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    description str
    Description of the transit router bandwidth package.
    line_operator str
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    period int
    Purchase duration of the transit router bandwidth package.
    period_unit str
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    project_name str
    Name of the project to which the transit router bandwidth package belongs.
    remain_renew_times int
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    renew_period int
    Duration of each auto-renewal, in months.
    renew_type str
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    tags Sequence[TransitRouterBandwidthPackageTagArgs]
    transit_router_bandwidth_package_name str
    Name of the transit router bandwidth package.
    localGeographicRegionSetId String
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peerGeographicRegionSetId String
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    bandwidth Number
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billingType Number
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    description String
    Description of the transit router bandwidth package.
    lineOperator String
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    period Number
    Purchase duration of the transit router bandwidth package.
    periodUnit String
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    projectName String
    Name of the project to which the transit router bandwidth package belongs.
    remainRenewTimes Number
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    renewPeriod Number
    Duration of each auto-renewal, in months.
    renewType String
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    tags List<Property Map>
    transitRouterBandwidthPackageName String
    Name of the transit router bandwidth package.

    Outputs

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

    AccountId string
    Account ID to which the bandwidth package belongs.
    Allocations List<Byteplus.TransitRouterBandwidthPackageAllocation>
    BillingStatus int
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    BusinessStatus string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    CreationTime string
    Creation time of the transit router bandwidth package.
    DeletedTime string
    Deletion time of the transit router bandwidth package.
    ExpiredTime string
    Expiration time of the transit router bandwidth package.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReclaimTime string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    RemainingBandwidth int
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    Status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    TransitRouterBandwidthPackageId string
    Transit router bandwidth package ID.
    UpdateTime string
    Last operation time of the transit router bandwidth package.
    AccountId string
    Account ID to which the bandwidth package belongs.
    Allocations []TransitRouterBandwidthPackageAllocation
    BillingStatus int
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    BusinessStatus string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    CreationTime string
    Creation time of the transit router bandwidth package.
    DeletedTime string
    Deletion time of the transit router bandwidth package.
    ExpiredTime string
    Expiration time of the transit router bandwidth package.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReclaimTime string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    RemainingBandwidth int
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    Status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    TransitRouterBandwidthPackageId string
    Transit router bandwidth package ID.
    UpdateTime string
    Last operation time of the transit router bandwidth package.
    account_id string
    Account ID to which the bandwidth package belongs.
    allocations list(object)
    billing_status number
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    business_status string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creation_time string
    Creation time of the transit router bandwidth package.
    deleted_time string
    Deletion time of the transit router bandwidth package.
    expired_time string
    Expiration time of the transit router bandwidth package.
    id string
    The provider-assigned unique ID for this managed resource.
    reclaim_time string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remaining_bandwidth number
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    transit_router_bandwidth_package_id string
    Transit router bandwidth package ID.
    update_time string
    Last operation time of the transit router bandwidth package.
    accountId String
    Account ID to which the bandwidth package belongs.
    allocations List<TransitRouterBandwidthPackageAllocation>
    billingStatus Integer
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    businessStatus String
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creationTime String
    Creation time of the transit router bandwidth package.
    deletedTime String
    Deletion time of the transit router bandwidth package.
    expiredTime String
    Expiration time of the transit router bandwidth package.
    id String
    The provider-assigned unique ID for this managed resource.
    reclaimTime String
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remainingBandwidth Integer
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    status String
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    transitRouterBandwidthPackageId String
    Transit router bandwidth package ID.
    updateTime String
    Last operation time of the transit router bandwidth package.
    accountId string
    Account ID to which the bandwidth package belongs.
    allocations TransitRouterBandwidthPackageAllocation[]
    billingStatus number
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    businessStatus string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creationTime string
    Creation time of the transit router bandwidth package.
    deletedTime string
    Deletion time of the transit router bandwidth package.
    expiredTime string
    Expiration time of the transit router bandwidth package.
    id string
    The provider-assigned unique ID for this managed resource.
    reclaimTime string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remainingBandwidth number
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    transitRouterBandwidthPackageId string
    Transit router bandwidth package ID.
    updateTime string
    Last operation time of the transit router bandwidth package.
    account_id str
    Account ID to which the bandwidth package belongs.
    allocations Sequence[TransitRouterBandwidthPackageAllocation]
    billing_status int
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    business_status str
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creation_time str
    Creation time of the transit router bandwidth package.
    deleted_time str
    Deletion time of the transit router bandwidth package.
    expired_time str
    Expiration time of the transit router bandwidth package.
    id str
    The provider-assigned unique ID for this managed resource.
    reclaim_time str
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remaining_bandwidth int
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    status str
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    transit_router_bandwidth_package_id str
    Transit router bandwidth package ID.
    update_time str
    Last operation time of the transit router bandwidth package.
    accountId String
    Account ID to which the bandwidth package belongs.
    allocations List<Property Map>
    billingStatus Number
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    businessStatus String
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creationTime String
    Creation time of the transit router bandwidth package.
    deletedTime String
    Deletion time of the transit router bandwidth package.
    expiredTime String
    Expiration time of the transit router bandwidth package.
    id String
    The provider-assigned unique ID for this managed resource.
    reclaimTime String
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remainingBandwidth Number
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    status String
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    transitRouterBandwidthPackageId String
    Transit router bandwidth package ID.
    updateTime String
    Last operation time of the transit router bandwidth package.

    Look up Existing TransitRouterBandwidthPackage Resource

    Get an existing TransitRouterBandwidthPackage 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?: TransitRouterBandwidthPackageState, opts?: CustomResourceOptions): TransitRouterBandwidthPackage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            allocations: Optional[Sequence[TransitRouterBandwidthPackageAllocationArgs]] = None,
            bandwidth: Optional[int] = None,
            billing_status: Optional[int] = None,
            billing_type: Optional[int] = None,
            business_status: Optional[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[TransitRouterBandwidthPackageTagArgs]] = None,
            transit_router_bandwidth_package_id: Optional[str] = None,
            transit_router_bandwidth_package_name: Optional[str] = None,
            update_time: Optional[str] = None) -> TransitRouterBandwidthPackage
    func GetTransitRouterBandwidthPackage(ctx *Context, name string, id IDInput, state *TransitRouterBandwidthPackageState, opts ...ResourceOption) (*TransitRouterBandwidthPackage, error)
    public static TransitRouterBandwidthPackage Get(string name, Input<string> id, TransitRouterBandwidthPackageState? state, CustomResourceOptions? opts = null)
    public static TransitRouterBandwidthPackage get(String name, Output<String> id, TransitRouterBandwidthPackageState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:transitrouter:TransitRouterBandwidthPackage    get:      id: ${id}
    import {
      to = bytepluscc_transitrouter_transitrouterbandwidthpackage.example
      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:
    AccountId string
    Account ID to which the bandwidth package belongs.
    Allocations List<Byteplus.TransitRouterBandwidthPackageAllocation>
    Bandwidth int
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    BillingStatus int
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    BillingType int
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    BusinessStatus string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    CreationTime string
    Creation time of the transit router bandwidth package.
    DeletedTime string
    Deletion time of the transit router bandwidth package.
    Description string
    Description of the transit router bandwidth package.
    ExpiredTime string
    Expiration time of the transit router bandwidth package.
    LineOperator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    LocalGeographicRegionSetId string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    PeerGeographicRegionSetId string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    Period int
    Purchase duration of the transit router bandwidth package.
    PeriodUnit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    ProjectName string
    Name of the project to which the transit router bandwidth package belongs.
    ReclaimTime string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    RemainRenewTimes int
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    RemainingBandwidth int
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    RenewPeriod int
    Duration of each auto-renewal, in months.
    RenewType string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    Status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    Tags List<Byteplus.TransitRouterBandwidthPackageTag>
    TransitRouterBandwidthPackageId string
    Transit router bandwidth package ID.
    TransitRouterBandwidthPackageName string
    Name of the transit router bandwidth package.
    UpdateTime string
    Last operation time of the transit router bandwidth package.
    AccountId string
    Account ID to which the bandwidth package belongs.
    Allocations []TransitRouterBandwidthPackageAllocationArgs
    Bandwidth int
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    BillingStatus int
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    BillingType int
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    BusinessStatus string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    CreationTime string
    Creation time of the transit router bandwidth package.
    DeletedTime string
    Deletion time of the transit router bandwidth package.
    Description string
    Description of the transit router bandwidth package.
    ExpiredTime string
    Expiration time of the transit router bandwidth package.
    LineOperator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    LocalGeographicRegionSetId string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    PeerGeographicRegionSetId string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    Period int
    Purchase duration of the transit router bandwidth package.
    PeriodUnit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    ProjectName string
    Name of the project to which the transit router bandwidth package belongs.
    ReclaimTime string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    RemainRenewTimes int
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    RemainingBandwidth int
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    RenewPeriod int
    Duration of each auto-renewal, in months.
    RenewType string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    Status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    Tags []TransitRouterBandwidthPackageTagArgs
    TransitRouterBandwidthPackageId string
    Transit router bandwidth package ID.
    TransitRouterBandwidthPackageName string
    Name of the transit router bandwidth package.
    UpdateTime string
    Last operation time of the transit router bandwidth package.
    account_id string
    Account ID to which the bandwidth package belongs.
    allocations list(object)
    bandwidth number
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billing_status number
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    billing_type number
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    business_status string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creation_time string
    Creation time of the transit router bandwidth package.
    deleted_time string
    Deletion time of the transit router bandwidth package.
    description string
    Description of the transit router bandwidth package.
    expired_time string
    Expiration time of the transit router bandwidth package.
    line_operator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    local_geographic_region_set_id string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peer_geographic_region_set_id string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    period number
    Purchase duration of the transit router bandwidth package.
    period_unit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    project_name string
    Name of the project to which the transit router bandwidth package belongs.
    reclaim_time string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remain_renew_times number
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    remaining_bandwidth number
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    renew_period number
    Duration of each auto-renewal, in months.
    renew_type string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    tags list(object)
    transit_router_bandwidth_package_id string
    Transit router bandwidth package ID.
    transit_router_bandwidth_package_name string
    Name of the transit router bandwidth package.
    update_time string
    Last operation time of the transit router bandwidth package.
    accountId String
    Account ID to which the bandwidth package belongs.
    allocations List<TransitRouterBandwidthPackageAllocation>
    bandwidth Integer
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billingStatus Integer
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    billingType Integer
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    businessStatus String
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creationTime String
    Creation time of the transit router bandwidth package.
    deletedTime String
    Deletion time of the transit router bandwidth package.
    description String
    Description of the transit router bandwidth package.
    expiredTime String
    Expiration time of the transit router bandwidth package.
    lineOperator String
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    localGeographicRegionSetId String
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peerGeographicRegionSetId String
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    period Integer
    Purchase duration of the transit router bandwidth package.
    periodUnit String
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    projectName String
    Name of the project to which the transit router bandwidth package belongs.
    reclaimTime String
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remainRenewTimes Integer
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    remainingBandwidth Integer
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    renewPeriod Integer
    Duration of each auto-renewal, in months.
    renewType String
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    status String
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    tags List<TransitRouterBandwidthPackageTag>
    transitRouterBandwidthPackageId String
    Transit router bandwidth package ID.
    transitRouterBandwidthPackageName String
    Name of the transit router bandwidth package.
    updateTime String
    Last operation time of the transit router bandwidth package.
    accountId string
    Account ID to which the bandwidth package belongs.
    allocations TransitRouterBandwidthPackageAllocation[]
    bandwidth number
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billingStatus number
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    billingType number
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    businessStatus string
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creationTime string
    Creation time of the transit router bandwidth package.
    deletedTime string
    Deletion time of the transit router bandwidth package.
    description string
    Description of the transit router bandwidth package.
    expiredTime string
    Expiration time of the transit router bandwidth package.
    lineOperator string
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    localGeographicRegionSetId string
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peerGeographicRegionSetId string
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    period number
    Purchase duration of the transit router bandwidth package.
    periodUnit string
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    projectName string
    Name of the project to which the transit router bandwidth package belongs.
    reclaimTime string
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remainRenewTimes number
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    remainingBandwidth number
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    renewPeriod number
    Duration of each auto-renewal, in months.
    renewType string
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    status string
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    tags TransitRouterBandwidthPackageTag[]
    transitRouterBandwidthPackageId string
    Transit router bandwidth package ID.
    transitRouterBandwidthPackageName string
    Name of the transit router bandwidth package.
    updateTime string
    Last operation time of the transit router bandwidth package.
    account_id str
    Account ID to which the bandwidth package belongs.
    allocations Sequence[TransitRouterBandwidthPackageAllocationArgs]
    bandwidth int
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billing_status int
    Billing status of the transit router bandwidth package. 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 transit router bandwidth package. 1: subscription (yearly/monthly).
    business_status str
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creation_time str
    Creation time of the transit router bandwidth package.
    deleted_time str
    Deletion time of the transit router bandwidth package.
    description str
    Description of the transit router bandwidth package.
    expired_time str
    Expiration time of the transit router bandwidth package.
    line_operator str
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    local_geographic_region_set_id str
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peer_geographic_region_set_id str
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    period int
    Purchase duration of the transit router bandwidth package.
    period_unit str
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    project_name str
    Name of the project to which the transit router bandwidth package belongs.
    reclaim_time str
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remain_renew_times int
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    remaining_bandwidth int
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    renew_period int
    Duration of each auto-renewal, in months.
    renew_type str
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    status str
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    tags Sequence[TransitRouterBandwidthPackageTagArgs]
    transit_router_bandwidth_package_id str
    Transit router bandwidth package ID.
    transit_router_bandwidth_package_name str
    Name of the transit router bandwidth package.
    update_time str
    Last operation time of the transit router bandwidth package.
    accountId String
    Account ID to which the bandwidth package belongs.
    allocations List<Property Map>
    bandwidth Number
    Bandwidth peak of the transit router bandwidth package, in Mbps.
    billingStatus Number
    Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
    billingType Number
    Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
    businessStatus String
    Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
    creationTime String
    Creation time of the transit router bandwidth package.
    deletedTime String
    Deletion time of the transit router bandwidth package.
    description String
    Description of the transit router bandwidth package.
    expiredTime String
    Expiration time of the transit router bandwidth package.
    lineOperator String
    Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
    localGeographicRegionSetId String
    Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
    peerGeographicRegionSetId String
    Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
    period Number
    Purchase duration of the transit router bandwidth package.
    periodUnit String
    Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
    projectName String
    Name of the project to which the transit router bandwidth package belongs.
    reclaimTime String
    Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
    remainRenewTimes Number
    Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
    remainingBandwidth Number
    Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
    renewPeriod Number
    Duration of each auto-renewal, in months.
    renewType String
    Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
    status String
    Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
    tags List<Property Map>
    transitRouterBandwidthPackageId String
    Transit router bandwidth package ID.
    transitRouterBandwidthPackageName String
    Name of the transit router bandwidth package.
    updateTime String
    Last operation time of the transit router bandwidth package.

    Supporting Types

    TransitRouterBandwidthPackageAllocation, TransitRouterBandwidthPackageAllocationArgs

    AllocateTime string
    Time when the bandwidth package was associated with the cross-region connection.
    Bandwidth int
    Bandwidth peak of the cross-region connection, in Mbps.
    LocalRegionId string
    Region ID of the local transit router instance in the cross-region connection.
    PeerRegionId string
    Region ID of the peer transit router instance in the cross-region connection.
    TransitRouterPeerAttachmentId string
    ID of the cross-region connection.
    AllocateTime string
    Time when the bandwidth package was associated with the cross-region connection.
    Bandwidth int
    Bandwidth peak of the cross-region connection, in Mbps.
    LocalRegionId string
    Region ID of the local transit router instance in the cross-region connection.
    PeerRegionId string
    Region ID of the peer transit router instance in the cross-region connection.
    TransitRouterPeerAttachmentId string
    ID of the cross-region connection.
    allocate_time string
    Time when the bandwidth package was associated with the cross-region connection.
    bandwidth number
    Bandwidth peak of the cross-region connection, in Mbps.
    local_region_id string
    Region ID of the local transit router instance in the cross-region connection.
    peer_region_id string
    Region ID of the peer transit router instance in the cross-region connection.
    transit_router_peer_attachment_id string
    ID of the cross-region connection.
    allocateTime String
    Time when the bandwidth package was associated with the cross-region connection.
    bandwidth Integer
    Bandwidth peak of the cross-region connection, in Mbps.
    localRegionId String
    Region ID of the local transit router instance in the cross-region connection.
    peerRegionId String
    Region ID of the peer transit router instance in the cross-region connection.
    transitRouterPeerAttachmentId String
    ID of the cross-region connection.
    allocateTime string
    Time when the bandwidth package was associated with the cross-region connection.
    bandwidth number
    Bandwidth peak of the cross-region connection, in Mbps.
    localRegionId string
    Region ID of the local transit router instance in the cross-region connection.
    peerRegionId string
    Region ID of the peer transit router instance in the cross-region connection.
    transitRouterPeerAttachmentId string
    ID of the cross-region connection.
    allocate_time str
    Time when the bandwidth package was associated with the cross-region connection.
    bandwidth int
    Bandwidth peak of the cross-region connection, in Mbps.
    local_region_id str
    Region ID of the local transit router instance in the cross-region connection.
    peer_region_id str
    Region ID of the peer transit router instance in the cross-region connection.
    transit_router_peer_attachment_id str
    ID of the cross-region connection.
    allocateTime String
    Time when the bandwidth package was associated with the cross-region connection.
    bandwidth Number
    Bandwidth peak of the cross-region connection, in Mbps.
    localRegionId String
    Region ID of the local transit router instance in the cross-region connection.
    peerRegionId String
    Region ID of the peer transit router instance in the cross-region connection.
    transitRouterPeerAttachmentId String
    ID of the cross-region connection.

    TransitRouterBandwidthPackageTag, TransitRouterBandwidthPackageTagArgs

    Key string
    Tag key of the tag.
    Value string
    Tag value
    Key string
    Tag key of the tag.
    Value string
    Tag value
    key string
    Tag key of the tag.
    value string
    Tag value
    key String
    Tag key of the tag.
    value String
    Tag value
    key string
    Tag key of the tag.
    value string
    Tag value
    key str
    Tag key of the tag.
    value str
    Tag value
    key String
    Tag key of the tag.
    value String
    Tag value

    Import

    $ pulumi import bytepluscc:transitrouter/transitRouterBandwidthPackage:TransitRouterBandwidthPackage example "transit_router_bandwidth_package_id"
    

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

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.35
    published on Monday, Jun 15, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial