1. Packages
  2. Volcengine
  3. API Docs
  4. bandwidth_package
  5. BandwidthPackage
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.bandwidth_package.BandwidthPackage

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Import

    BandwidthPackage can be imported using the id, e.g.

     $ pulumi import volcengine:bandwidth_package/bandwidthPackage:BandwidthPackage default bwp-2zeo05qre24nhrqpy****
    

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Volcengine.Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Bandwidth_package.BandwidthPackage("foo", new()
        {
            Bandwidth = 10,
            BandwidthPackageName = "tf-test",
            BillingType = "PostPaidByBandwidth",
            Description = "tftest-description",
            Isp = "BGP",
            Protocol = "IPv4",
            SecurityProtectionTypes = new[]
            {
                "AntiDDoS_Enhanced",
            },
            Tags = new[]
            {
                new Volcengine.Bandwidth_package.Inputs.BandwidthPackageTagArgs
                {
                    Key = "tftest",
                    Value = "tftest",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/bandwidth_package"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bandwidth_package.NewBandwidthPackage(ctx, "foo", &bandwidth_package.BandwidthPackageArgs{
    			Bandwidth:            pulumi.Int(10),
    			BandwidthPackageName: pulumi.String("tf-test"),
    			BillingType:          pulumi.String("PostPaidByBandwidth"),
    			Description:          pulumi.String("tftest-description"),
    			Isp:                  pulumi.String("BGP"),
    			Protocol:             pulumi.String("IPv4"),
    			SecurityProtectionTypes: pulumi.StringArray{
    				pulumi.String("AntiDDoS_Enhanced"),
    			},
    			Tags: bandwidth_package.BandwidthPackageTagArray{
    				&bandwidth_package.BandwidthPackageTagArgs{
    					Key:   pulumi.String("tftest"),
    					Value: pulumi.String("tftest"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.bandwidth_package.BandwidthPackage;
    import com.pulumi.volcengine.bandwidth_package.BandwidthPackageArgs;
    import com.pulumi.volcengine.bandwidth_package.inputs.BandwidthPackageTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new BandwidthPackage("foo", BandwidthPackageArgs.builder()        
                .bandwidth(10)
                .bandwidthPackageName("tf-test")
                .billingType("PostPaidByBandwidth")
                .description("tftest-description")
                .isp("BGP")
                .protocol("IPv4")
                .securityProtectionTypes("AntiDDoS_Enhanced")
                .tags(BandwidthPackageTagArgs.builder()
                    .key("tftest")
                    .value("tftest")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.bandwidth_package.BandwidthPackage("foo",
        bandwidth=10,
        bandwidth_package_name="tf-test",
        billing_type="PostPaidByBandwidth",
        description="tftest-description",
        isp="BGP",
        protocol="IPv4",
        security_protection_types=["AntiDDoS_Enhanced"],
        tags=[volcengine.bandwidth_package.BandwidthPackageTagArgs(
            key="tftest",
            value="tftest",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.bandwidth_package.BandwidthPackage("foo", {
        bandwidth: 10,
        bandwidthPackageName: "tf-test",
        billingType: "PostPaidByBandwidth",
        description: "tftest-description",
        isp: "BGP",
        protocol: "IPv4",
        securityProtectionTypes: ["AntiDDoS_Enhanced"],
        tags: [{
            key: "tftest",
            value: "tftest",
        }],
    });
    
    resources:
      foo:
        type: volcengine:bandwidth_package:BandwidthPackage
        properties:
          bandwidth: 10
          bandwidthPackageName: tf-test
          billingType: PostPaidByBandwidth
          description: tftest-description
          # billing_type = "PrePaid"
          isp: BGP
          protocol: IPv4
          # period = 1
          securityProtectionTypes:
            - AntiDDoS_Enhanced
          tags:
            - key: tftest
              value: tftest
    

    Create BandwidthPackage Resource

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

    Constructor syntax

    new BandwidthPackage(name: string, args: BandwidthPackageArgs, opts?: CustomResourceOptions);
    @overload
    def BandwidthPackage(resource_name: str,
                         args: BandwidthPackageArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def BandwidthPackage(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         bandwidth: Optional[int] = None,
                         bandwidth_package_name: Optional[str] = None,
                         billing_type: Optional[str] = None,
                         description: Optional[str] = None,
                         isp: Optional[str] = None,
                         period: Optional[int] = None,
                         project_name: Optional[str] = None,
                         protocol: Optional[str] = None,
                         security_protection_types: Optional[Sequence[str]] = None,
                         tags: Optional[Sequence[BandwidthPackageTagArgs]] = None)
    func NewBandwidthPackage(ctx *Context, name string, args BandwidthPackageArgs, opts ...ResourceOption) (*BandwidthPackage, error)
    public BandwidthPackage(string name, BandwidthPackageArgs args, CustomResourceOptions? opts = null)
    public BandwidthPackage(String name, BandwidthPackageArgs args)
    public BandwidthPackage(String name, BandwidthPackageArgs args, CustomResourceOptions options)
    
    type: volcengine:bandwidth_package:BandwidthPackage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BandwidthPackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BandwidthPackageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BandwidthPackageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BandwidthPackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BandwidthPackageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var bandwidthPackageResource = new Volcengine.Bandwidth_package.BandwidthPackage("bandwidthPackageResource", new()
    {
        Bandwidth = 0,
        BandwidthPackageName = "string",
        BillingType = "string",
        Description = "string",
        Isp = "string",
        Period = 0,
        ProjectName = "string",
        Protocol = "string",
        SecurityProtectionTypes = new[]
        {
            "string",
        },
        Tags = new[]
        {
            new Volcengine.Bandwidth_package.Inputs.BandwidthPackageTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := bandwidth_package.NewBandwidthPackage(ctx, "bandwidthPackageResource", &bandwidth_package.BandwidthPackageArgs{
    	Bandwidth:            pulumi.Int(0),
    	BandwidthPackageName: pulumi.String("string"),
    	BillingType:          pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	Isp:                  pulumi.String("string"),
    	Period:               pulumi.Int(0),
    	ProjectName:          pulumi.String("string"),
    	Protocol:             pulumi.String("string"),
    	SecurityProtectionTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: bandwidth_package.BandwidthPackageTagArray{
    		&bandwidth_package.BandwidthPackageTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var bandwidthPackageResource = new BandwidthPackage("bandwidthPackageResource", BandwidthPackageArgs.builder()        
        .bandwidth(0)
        .bandwidthPackageName("string")
        .billingType("string")
        .description("string")
        .isp("string")
        .period(0)
        .projectName("string")
        .protocol("string")
        .securityProtectionTypes("string")
        .tags(BandwidthPackageTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    bandwidth_package_resource = volcengine.bandwidth_package.BandwidthPackage("bandwidthPackageResource",
        bandwidth=0,
        bandwidth_package_name="string",
        billing_type="string",
        description="string",
        isp="string",
        period=0,
        project_name="string",
        protocol="string",
        security_protection_types=["string"],
        tags=[volcengine.bandwidth_package.BandwidthPackageTagArgs(
            key="string",
            value="string",
        )])
    
    const bandwidthPackageResource = new volcengine.bandwidth_package.BandwidthPackage("bandwidthPackageResource", {
        bandwidth: 0,
        bandwidthPackageName: "string",
        billingType: "string",
        description: "string",
        isp: "string",
        period: 0,
        projectName: "string",
        protocol: "string",
        securityProtectionTypes: ["string"],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcengine:bandwidth_package:BandwidthPackage
    properties:
        bandwidth: 0
        bandwidthPackageName: string
        billingType: string
        description: string
        isp: string
        period: 0
        projectName: string
        protocol: string
        securityProtectionTypes:
            - string
        tags:
            - key: string
              value: string
    

    BandwidthPackage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BandwidthPackage resource accepts the following input properties:

    Bandwidth int
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    BandwidthPackageName string
    The name of the bandwidth package.
    BillingType string
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    Description string
    The description of the bandwidth package.
    Isp string
    Route type, default to BGP.
    Period int
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    ProjectName string
    The project name of the bandwidth package.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionTypes List<string>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    Tags List<Volcengine.BandwidthPackageTag>
    Tags.
    Bandwidth int
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    BandwidthPackageName string
    The name of the bandwidth package.
    BillingType string
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    Description string
    The description of the bandwidth package.
    Isp string
    Route type, default to BGP.
    Period int
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    ProjectName string
    The project name of the bandwidth package.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionTypes []string
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    Tags []BandwidthPackageTagArgs
    Tags.
    bandwidth Integer
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidthPackageName String
    The name of the bandwidth package.
    billingType String
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description String
    The description of the bandwidth package.
    isp String
    Route type, default to BGP.
    period Integer
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    projectName String
    The project name of the bandwidth package.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes List<String>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags List<BandwidthPackageTag>
    Tags.
    bandwidth number
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidthPackageName string
    The name of the bandwidth package.
    billingType string
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description string
    The description of the bandwidth package.
    isp string
    Route type, default to BGP.
    period number
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    projectName string
    The project name of the bandwidth package.
    protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes string[]
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags BandwidthPackageTag[]
    Tags.
    bandwidth int
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidth_package_name str
    The name of the bandwidth package.
    billing_type str
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description str
    The description of the bandwidth package.
    isp str
    Route type, default to BGP.
    period int
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    project_name str
    The project name of the bandwidth package.
    protocol str
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    security_protection_types Sequence[str]
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags Sequence[BandwidthPackageTagArgs]
    Tags.
    bandwidth Number
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidthPackageName String
    The name of the bandwidth package.
    billingType String
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description String
    The description of the bandwidth package.
    isp String
    Route type, default to BGP.
    period Number
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    projectName String
    The project name of the bandwidth package.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes List<String>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags List<Property Map>
    Tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BandwidthPackage 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 BandwidthPackage Resource

    Get an existing BandwidthPackage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BandwidthPackageState, opts?: CustomResourceOptions): BandwidthPackage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth: Optional[int] = None,
            bandwidth_package_name: Optional[str] = None,
            billing_type: Optional[str] = None,
            description: Optional[str] = None,
            isp: Optional[str] = None,
            period: Optional[int] = None,
            project_name: Optional[str] = None,
            protocol: Optional[str] = None,
            security_protection_types: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[BandwidthPackageTagArgs]] = None) -> BandwidthPackage
    func GetBandwidthPackage(ctx *Context, name string, id IDInput, state *BandwidthPackageState, opts ...ResourceOption) (*BandwidthPackage, error)
    public static BandwidthPackage Get(string name, Input<string> id, BandwidthPackageState? state, CustomResourceOptions? opts = null)
    public static BandwidthPackage get(String name, Output<String> id, BandwidthPackageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Bandwidth int
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    BandwidthPackageName string
    The name of the bandwidth package.
    BillingType string
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    Description string
    The description of the bandwidth package.
    Isp string
    Route type, default to BGP.
    Period int
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    ProjectName string
    The project name of the bandwidth package.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionTypes List<string>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    Tags List<Volcengine.BandwidthPackageTag>
    Tags.
    Bandwidth int
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    BandwidthPackageName string
    The name of the bandwidth package.
    BillingType string
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    Description string
    The description of the bandwidth package.
    Isp string
    Route type, default to BGP.
    Period int
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    ProjectName string
    The project name of the bandwidth package.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionTypes []string
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    Tags []BandwidthPackageTagArgs
    Tags.
    bandwidth Integer
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidthPackageName String
    The name of the bandwidth package.
    billingType String
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description String
    The description of the bandwidth package.
    isp String
    Route type, default to BGP.
    period Integer
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    projectName String
    The project name of the bandwidth package.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes List<String>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags List<BandwidthPackageTag>
    Tags.
    bandwidth number
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidthPackageName string
    The name of the bandwidth package.
    billingType string
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description string
    The description of the bandwidth package.
    isp string
    Route type, default to BGP.
    period number
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    projectName string
    The project name of the bandwidth package.
    protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes string[]
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags BandwidthPackageTag[]
    Tags.
    bandwidth int
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidth_package_name str
    The name of the bandwidth package.
    billing_type str
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description str
    The description of the bandwidth package.
    isp str
    Route type, default to BGP.
    period int
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    project_name str
    The project name of the bandwidth package.
    protocol str
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    security_protection_types Sequence[str]
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags Sequence[BandwidthPackageTagArgs]
    Tags.
    bandwidth Number
    Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
    bandwidthPackageName String
    The name of the bandwidth package.
    billingType String
    BillingType of the bandwidth package. Valid values: PrePaid, PostPaidByBandwidth(Default), PostPaidByTraffic, PayBy95Peak. The billing method of IPv6 does not include PrePaid, and the billing method is only based on the PostPaidByBandwidth.
    description String
    The description of the bandwidth package.
    isp String
    Route type, default to BGP.
    period Number
    Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to Month.
    projectName String
    The project name of the bandwidth package.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes List<String>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
    tags List<Property Map>
    Tags.

    Supporting Types

    BandwidthPackageTag, BandwidthPackageTagArgs

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine