1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. VpcBandwidthPackage
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.VpcBandwidthPackage

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a vpc bandwidth_package

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.VpcBandwidthPackage("example", {
        bandwidthPackageName: "tf-example",
        chargeType: "TOP5_POSTPAID_BY_MONTH",
        networkType: "BGP",
        tags: {
            createdBy: "terraform",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.VpcBandwidthPackage("example",
        bandwidth_package_name="tf-example",
        charge_type="TOP5_POSTPAID_BY_MONTH",
        network_type="BGP",
        tags={
            "createdBy": "terraform",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewVpcBandwidthPackage(ctx, "example", &tencentcloud.VpcBandwidthPackageArgs{
    			BandwidthPackageName: pulumi.String("tf-example"),
    			ChargeType:           pulumi.String("TOP5_POSTPAID_BY_MONTH"),
    			NetworkType:          pulumi.String("BGP"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.VpcBandwidthPackage("example", new()
        {
            BandwidthPackageName = "tf-example",
            ChargeType = "TOP5_POSTPAID_BY_MONTH",
            NetworkType = "BGP",
            Tags = 
            {
                { "createdBy", "terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VpcBandwidthPackage;
    import com.pulumi.tencentcloud.VpcBandwidthPackageArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new VpcBandwidthPackage("example", VpcBandwidthPackageArgs.builder()
                .bandwidthPackageName("tf-example")
                .chargeType("TOP5_POSTPAID_BY_MONTH")
                .networkType("BGP")
                .tags(Map.of("createdBy", "terraform"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:VpcBandwidthPackage
        properties:
          bandwidthPackageName: tf-example
          chargeType: TOP5_POSTPAID_BY_MONTH
          networkType: BGP
          tags:
            createdBy: terraform
    

    PrePaid Bandwidth Package

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const bandwidthPackage = new tencentcloud.VpcBandwidthPackage("bandwidthPackage", {
        bandwidthPackageName: "test-001",
        chargeType: "FIXED_PREPAID_BY_MONTH",
        internetMaxBandwidth: 100,
        networkType: "BGP",
        tags: {
            createdBy: "terraform",
        },
        timeSpan: 3,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    bandwidth_package = tencentcloud.VpcBandwidthPackage("bandwidthPackage",
        bandwidth_package_name="test-001",
        charge_type="FIXED_PREPAID_BY_MONTH",
        internet_max_bandwidth=100,
        network_type="BGP",
        tags={
            "createdBy": "terraform",
        },
        time_span=3)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewVpcBandwidthPackage(ctx, "bandwidthPackage", &tencentcloud.VpcBandwidthPackageArgs{
    			BandwidthPackageName: pulumi.String("test-001"),
    			ChargeType:           pulumi.String("FIXED_PREPAID_BY_MONTH"),
    			InternetMaxBandwidth: pulumi.Float64(100),
    			NetworkType:          pulumi.String("BGP"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("terraform"),
    			},
    			TimeSpan: pulumi.Float64(3),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var bandwidthPackage = new Tencentcloud.VpcBandwidthPackage("bandwidthPackage", new()
        {
            BandwidthPackageName = "test-001",
            ChargeType = "FIXED_PREPAID_BY_MONTH",
            InternetMaxBandwidth = 100,
            NetworkType = "BGP",
            Tags = 
            {
                { "createdBy", "terraform" },
            },
            TimeSpan = 3,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VpcBandwidthPackage;
    import com.pulumi.tencentcloud.VpcBandwidthPackageArgs;
    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 bandwidthPackage = new VpcBandwidthPackage("bandwidthPackage", VpcBandwidthPackageArgs.builder()
                .bandwidthPackageName("test-001")
                .chargeType("FIXED_PREPAID_BY_MONTH")
                .internetMaxBandwidth(100)
                .networkType("BGP")
                .tags(Map.of("createdBy", "terraform"))
                .timeSpan(3)
                .build());
    
        }
    }
    
    resources:
      bandwidthPackage:
        type: tencentcloud:VpcBandwidthPackage
        properties:
          bandwidthPackageName: test-001
          chargeType: FIXED_PREPAID_BY_MONTH
          internetMaxBandwidth: 100
          networkType: BGP
          tags:
            createdBy: terraform
          timeSpan: 3
    

    Bandwidth Package With Egress

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.VpcBandwidthPackage("example", {
        bandwidthPackageName: "tf-example",
        chargeType: "ENHANCED95_POSTPAID_BY_MONTH",
        egress: "center_egress2",
        internetMaxBandwidth: 400,
        networkType: "SINGLEISP_CMCC",
        tags: {
            createdBy: "terraform",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.VpcBandwidthPackage("example",
        bandwidth_package_name="tf-example",
        charge_type="ENHANCED95_POSTPAID_BY_MONTH",
        egress="center_egress2",
        internet_max_bandwidth=400,
        network_type="SINGLEISP_CMCC",
        tags={
            "createdBy": "terraform",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewVpcBandwidthPackage(ctx, "example", &tencentcloud.VpcBandwidthPackageArgs{
    			BandwidthPackageName: pulumi.String("tf-example"),
    			ChargeType:           pulumi.String("ENHANCED95_POSTPAID_BY_MONTH"),
    			Egress:               pulumi.String("center_egress2"),
    			InternetMaxBandwidth: pulumi.Float64(400),
    			NetworkType:          pulumi.String("SINGLEISP_CMCC"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.VpcBandwidthPackage("example", new()
        {
            BandwidthPackageName = "tf-example",
            ChargeType = "ENHANCED95_POSTPAID_BY_MONTH",
            Egress = "center_egress2",
            InternetMaxBandwidth = 400,
            NetworkType = "SINGLEISP_CMCC",
            Tags = 
            {
                { "createdBy", "terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VpcBandwidthPackage;
    import com.pulumi.tencentcloud.VpcBandwidthPackageArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new VpcBandwidthPackage("example", VpcBandwidthPackageArgs.builder()
                .bandwidthPackageName("tf-example")
                .chargeType("ENHANCED95_POSTPAID_BY_MONTH")
                .egress("center_egress2")
                .internetMaxBandwidth(400)
                .networkType("SINGLEISP_CMCC")
                .tags(Map.of("createdBy", "terraform"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:VpcBandwidthPackage
        properties:
          bandwidthPackageName: tf-example
          chargeType: ENHANCED95_POSTPAID_BY_MONTH
          egress: center_egress2
          internetMaxBandwidth: 400
          networkType: SINGLEISP_CMCC
          tags:
            createdBy: terraform
    

    Create VpcBandwidthPackage Resource

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

    Constructor syntax

    new VpcBandwidthPackage(name: string, args?: VpcBandwidthPackageArgs, opts?: CustomResourceOptions);
    @overload
    def VpcBandwidthPackage(resource_name: str,
                            args: Optional[VpcBandwidthPackageArgs] = None,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcBandwidthPackage(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            bandwidth_package_name: Optional[str] = None,
                            charge_type: Optional[str] = None,
                            egress: Optional[str] = None,
                            internet_max_bandwidth: Optional[float] = None,
                            network_type: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            time_span: Optional[float] = None,
                            vpc_bandwidth_package_id: Optional[str] = None)
    func NewVpcBandwidthPackage(ctx *Context, name string, args *VpcBandwidthPackageArgs, opts ...ResourceOption) (*VpcBandwidthPackage, error)
    public VpcBandwidthPackage(string name, VpcBandwidthPackageArgs? args = null, CustomResourceOptions? opts = null)
    public VpcBandwidthPackage(String name, VpcBandwidthPackageArgs args)
    public VpcBandwidthPackage(String name, VpcBandwidthPackageArgs args, CustomResourceOptions options)
    
    type: tencentcloud:VpcBandwidthPackage
    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 VpcBandwidthPackageArgs
    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 VpcBandwidthPackageArgs
    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 VpcBandwidthPackageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcBandwidthPackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcBandwidthPackageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    BandwidthPackageName string
    Bandwidth package name.
    ChargeType string
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    Egress string
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    InternetMaxBandwidth double
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    NetworkType string
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    Tags Dictionary<string, string>
    Tag description list.
    TimeSpan double
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    VpcBandwidthPackageId string
    ID of the resource.
    BandwidthPackageName string
    Bandwidth package name.
    ChargeType string
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    Egress string
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    InternetMaxBandwidth float64
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    NetworkType string
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    Tags map[string]string
    Tag description list.
    TimeSpan float64
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    VpcBandwidthPackageId string
    ID of the resource.
    bandwidthPackageName String
    Bandwidth package name.
    chargeType String
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress String
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internetMaxBandwidth Double
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    networkType String
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags Map<String,String>
    Tag description list.
    timeSpan Double
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpcBandwidthPackageId String
    ID of the resource.
    bandwidthPackageName string
    Bandwidth package name.
    chargeType string
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress string
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internetMaxBandwidth number
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    networkType string
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags {[key: string]: string}
    Tag description list.
    timeSpan number
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpcBandwidthPackageId string
    ID of the resource.
    bandwidth_package_name str
    Bandwidth package name.
    charge_type str
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress str
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internet_max_bandwidth float
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    network_type str
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags Mapping[str, str]
    Tag description list.
    time_span float
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpc_bandwidth_package_id str
    ID of the resource.
    bandwidthPackageName String
    Bandwidth package name.
    chargeType String
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress String
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internetMaxBandwidth Number
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    networkType String
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags Map<String>
    Tag description list.
    timeSpan Number
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpcBandwidthPackageId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VpcBandwidthPackage Resource

    Get an existing VpcBandwidthPackage 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?: VpcBandwidthPackageState, opts?: CustomResourceOptions): VpcBandwidthPackage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth_package_name: Optional[str] = None,
            charge_type: Optional[str] = None,
            egress: Optional[str] = None,
            internet_max_bandwidth: Optional[float] = None,
            network_type: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            time_span: Optional[float] = None,
            vpc_bandwidth_package_id: Optional[str] = None) -> VpcBandwidthPackage
    func GetVpcBandwidthPackage(ctx *Context, name string, id IDInput, state *VpcBandwidthPackageState, opts ...ResourceOption) (*VpcBandwidthPackage, error)
    public static VpcBandwidthPackage Get(string name, Input<string> id, VpcBandwidthPackageState? state, CustomResourceOptions? opts = null)
    public static VpcBandwidthPackage get(String name, Output<String> id, VpcBandwidthPackageState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:VpcBandwidthPackage    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:
    BandwidthPackageName string
    Bandwidth package name.
    ChargeType string
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    Egress string
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    InternetMaxBandwidth double
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    NetworkType string
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    Tags Dictionary<string, string>
    Tag description list.
    TimeSpan double
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    VpcBandwidthPackageId string
    ID of the resource.
    BandwidthPackageName string
    Bandwidth package name.
    ChargeType string
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    Egress string
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    InternetMaxBandwidth float64
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    NetworkType string
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    Tags map[string]string
    Tag description list.
    TimeSpan float64
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    VpcBandwidthPackageId string
    ID of the resource.
    bandwidthPackageName String
    Bandwidth package name.
    chargeType String
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress String
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internetMaxBandwidth Double
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    networkType String
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags Map<String,String>
    Tag description list.
    timeSpan Double
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpcBandwidthPackageId String
    ID of the resource.
    bandwidthPackageName string
    Bandwidth package name.
    chargeType string
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress string
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internetMaxBandwidth number
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    networkType string
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags {[key: string]: string}
    Tag description list.
    timeSpan number
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpcBandwidthPackageId string
    ID of the resource.
    bandwidth_package_name str
    Bandwidth package name.
    charge_type str
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress str
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internet_max_bandwidth float
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    network_type str
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags Mapping[str, str]
    Tag description list.
    time_span float
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpc_bandwidth_package_id str
    ID of the resource.
    bandwidthPackageName String
    Bandwidth package name.
    chargeType String
    Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH. Optional value: TOP5_POSTPAID_BY_MONTH: TOP5 billed by monthly postpaid; PERCENT95_POSTPAID_BY_MONTH: 95 billed monthly postpaid; FIXED_PREPAID_BY_MONTH: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction); BANDWIDTH_POSTPAID_BY_DAY: bandwidth billed by daily postpaid; ENHANCED95_POSTPAID_BY_MONTH: enhanced 95 billed monthly postpaid.
    egress String
    Network egress. It defaults to center_egress1. If you want to try the egress feature, please submit a ticket.
    internetMaxBandwidth Number
    Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
    networkType String
    Bandwidth packet type, default: BGP. Optional value: BGP: common BGP shared bandwidth package; HIGH_QUALITY_BGP: High Quality BGP Shared Bandwidth Package; SINGLEISP_CMCC: CMCC shared bandwidth package; SINGLEISP_CTCC:: CTCC shared bandwidth package; SINGLEISP_CUCC: CUCC shared bandwidth package.
    tags Map<String>
    Tag description list.
    timeSpan Number
    The purchase duration of the prepaid monthly bandwidth package, unit: month, value range: 1~60.
    vpcBandwidthPackageId String
    ID of the resource.

    Import

    vpc bandwidth_package can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/vpcBandwidthPackage:VpcBandwidthPackage bandwidth_package bandwidthPackage_id
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack