volcengine.bandwidth_package.BandwidthPackage
Explore with Pulumi AI
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 = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = new Volcengine.Bandwidth_package.BandwidthPackage("foo", new()
{
Bandwidth = 10,
BandwidthPackageName = "acc-test-bp",
BillingType = "PostPaidByBandwidth",
Description = "acc-test",
Isp = "BGP",
Protocol = "IPv4",
SecurityProtectionTypes = new[]
{
"AntiDDoS_Enhanced",
},
Tags = new[]
{
new Volcengine.Bandwidth_package.Inputs.BandwidthPackageTagArgs
{
Key = "k1",
Value = "v1",
},
},
});
});
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("acc-test-bp"),
BillingType: pulumi.String("PostPaidByBandwidth"),
Description: pulumi.String("acc-test"),
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("k1"),
Value: pulumi.String("v1"),
},
},
})
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("acc-test-bp")
.billingType("PostPaidByBandwidth")
.description("acc-test")
.isp("BGP")
.protocol("IPv4")
.securityProtectionTypes("AntiDDoS_Enhanced")
.tags(BandwidthPackageTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.bandwidth_package.BandwidthPackage("foo",
bandwidth=10,
bandwidth_package_name="acc-test-bp",
billing_type="PostPaidByBandwidth",
description="acc-test",
isp="BGP",
protocol="IPv4",
security_protection_types=["AntiDDoS_Enhanced"],
tags=[volcengine.bandwidth_package.BandwidthPackageTagArgs(
key="k1",
value="v1",
)])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.bandwidth_package.BandwidthPackage("foo", {
bandwidth: 10,
bandwidthPackageName: "acc-test-bp",
billingType: "PostPaidByBandwidth",
description: "acc-test",
isp: "BGP",
protocol: "IPv4",
securityProtectionTypes: ["AntiDDoS_Enhanced"],
tags: [{
key: "k1",
value: "v1",
}],
});
resources:
foo:
type: volcengine:bandwidth_package:BandwidthPackage
properties:
bandwidth: 10
bandwidthPackageName: acc-test-bp
billingType: PostPaidByBandwidth
description: acc-test
isp: BGP
protocol: IPv4
securityProtectionTypes:
- AntiDDoS_Enhanced
tags:
- key: k1
value: v1
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.
Constructor 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.
- Bandwidth
Package stringName - The name of the bandwidth package.
- Billing
Type string - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - Project
Name 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. - Security
Protection List<string>Types - 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 isAntiDDoS_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. - List<Bandwidth
Package Tag> - 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 stringName - The name of the bandwidth package.
- Billing
Type string - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - Project
Name 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. - Security
Protection []stringTypes - 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 isAntiDDoS_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. - []Bandwidth
Package Tag Args - 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.
- bandwidth
Package StringName - The name of the bandwidth package.
- billing
Type String - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - project
Name 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. - security
Protection List<String>Types - 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 isAntiDDoS_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. - List<Bandwidth
Package Tag> - 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.
- bandwidth
Package stringName - The name of the bandwidth package.
- billing
Type string - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - project
Name 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. - security
Protection string[]Types - 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 isAntiDDoS_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. - Bandwidth
Package Tag[] - 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_ strname - 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 includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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_ Sequence[str]types - 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 isAntiDDoS_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. - Sequence[Bandwidth
Package Tag Args] - 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.
- bandwidth
Package StringName - The name of the bandwidth package.
- billing
Type String - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - project
Name 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. - security
Protection List<String>Types - 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 isAntiDDoS_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. - 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.
- 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 stringName - The name of the bandwidth package.
- Billing
Type string - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - Project
Name 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. - Security
Protection List<string>Types - 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 isAntiDDoS_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. - List<Bandwidth
Package Tag> - 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 stringName - The name of the bandwidth package.
- Billing
Type string - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - Project
Name 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. - Security
Protection []stringTypes - 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 isAntiDDoS_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. - []Bandwidth
Package Tag Args - 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.
- bandwidth
Package StringName - The name of the bandwidth package.
- billing
Type String - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - project
Name 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. - security
Protection List<String>Types - 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 isAntiDDoS_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. - List<Bandwidth
Package Tag> - 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.
- bandwidth
Package stringName - The name of the bandwidth package.
- billing
Type string - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - project
Name 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. - security
Protection string[]Types - 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 isAntiDDoS_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. - Bandwidth
Package Tag[] - 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_ strname - 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 includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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_ Sequence[str]types - 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 isAntiDDoS_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. - Sequence[Bandwidth
Package Tag Args] - 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.
- bandwidth
Package StringName - The name of the bandwidth package.
- billing
Type String - BillingType of the bandwidth package. Valid values:
PrePaid
,PostPaidByBandwidth
(Default),PostPaidByTraffic
,PayBy95Peak
. The billing method of IPv6 does not includePrePaid
, and the billing method is only based on thePostPaidByBandwidth
. - 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
. - project
Name 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. - security
Protection List<String>Types - 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 isAntiDDoS_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. - List<Property Map>
- Tags.
Supporting Types
BandwidthPackageTag, BandwidthPackageTagArgs
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.