alicloud.vpc.CommonBandwithPackage
Import
The common bandwidth package can be imported using the id, e.g.
$ pulumi import alicloud:vpc/commonBandwithPackage:CommonBandwithPackage foo cbwp-abc123456
Example Usage
Basic Usage
using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var foo = new AliCloud.Vpc.CommonBandwithPackage("foo", new()
{
Bandwidth = "1000",
BandwidthPackageName = "test-common-bandwidth-package",
Description = "test-common-bandwidth-package",
InternetChargeType = "PayByBandwidth",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewCommonBandwithPackage(ctx, "foo", &vpc.CommonBandwithPackageArgs{
Bandwidth: pulumi.String("1000"),
BandwidthPackageName: pulumi.String("test-common-bandwidth-package"),
Description: pulumi.String("test-common-bandwidth-package"),
InternetChargeType: pulumi.String("PayByBandwidth"),
})
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.alicloud.vpc.CommonBandwithPackage;
import com.pulumi.alicloud.vpc.CommonBandwithPackageArgs;
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 CommonBandwithPackage("foo", CommonBandwithPackageArgs.builder()
.bandwidth("1000")
.bandwidthPackageName("test-common-bandwidth-package")
.description("test-common-bandwidth-package")
.internetChargeType("PayByBandwidth")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
foo = alicloud.vpc.CommonBandwithPackage("foo",
bandwidth="1000",
bandwidth_package_name="test-common-bandwidth-package",
description="test-common-bandwidth-package",
internet_charge_type="PayByBandwidth")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const foo = new alicloud.vpc.CommonBandwithPackage("foo", {
bandwidth: "1000",
bandwidthPackageName: "test-common-bandwidth-package",
description: "test-common-bandwidth-package",
internetChargeType: "PayByBandwidth",
});
resources:
foo:
type: alicloud:vpc:CommonBandwithPackage
properties:
bandwidth: '1000'
bandwidthPackageName: test-common-bandwidth-package
description: test-common-bandwidth-package
internetChargeType: PayByBandwidth
Create CommonBandwithPackage Resource
new CommonBandwithPackage(name: string, args: CommonBandwithPackageArgs, opts?: CustomResourceOptions);
@overload
def CommonBandwithPackage(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[str] = None,
bandwidth_package_name: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
force: Optional[str] = None,
internet_charge_type: Optional[str] = None,
isp: Optional[str] = None,
name: Optional[str] = None,
ratio: Optional[int] = None,
resource_group_id: Optional[str] = None,
security_protection_types: Optional[Sequence[str]] = None,
zone: Optional[str] = None)
@overload
def CommonBandwithPackage(resource_name: str,
args: CommonBandwithPackageArgs,
opts: Optional[ResourceOptions] = None)
func NewCommonBandwithPackage(ctx *Context, name string, args CommonBandwithPackageArgs, opts ...ResourceOption) (*CommonBandwithPackage, error)
public CommonBandwithPackage(string name, CommonBandwithPackageArgs args, CustomResourceOptions? opts = null)
public CommonBandwithPackage(String name, CommonBandwithPackageArgs args)
public CommonBandwithPackage(String name, CommonBandwithPackageArgs args, CustomResourceOptions options)
type: alicloud:vpc:CommonBandwithPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CommonBandwithPackageArgs
- 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 CommonBandwithPackageArgs
- 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 CommonBandwithPackageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CommonBandwithPackageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CommonBandwithPackageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CommonBandwithPackage 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 CommonBandwithPackage resource accepts the following input properties:
- Bandwidth string
The bandwidth of the common bandwidth package. Unit: Mbps.
- Bandwidth
Package stringName The name of the common bandwidth package.
- Deletion
Protection bool Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
The description of the common bandwidth package instance.
- Force string
This parameter is used for resource destroy. Default value is
false
.- Internet
Charge stringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- Isp string
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- Name string
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Ratio int
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- Resource
Group stringId The Id of resource group which the common bandwidth package belongs.
- Security
Protection List<string>Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- Zone string
The zone of bandwidth package.
- Bandwidth string
The bandwidth of the common bandwidth package. Unit: Mbps.
- Bandwidth
Package stringName The name of the common bandwidth package.
- Deletion
Protection bool Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
The description of the common bandwidth package instance.
- Force string
This parameter is used for resource destroy. Default value is
false
.- Internet
Charge stringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- Isp string
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- Name string
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Ratio int
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- Resource
Group stringId The Id of resource group which the common bandwidth package belongs.
- Security
Protection []stringTypes The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- Zone string
The zone of bandwidth package.
- bandwidth String
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth
Package StringName The name of the common bandwidth package.
- deletion
Protection Boolean Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
The description of the common bandwidth package instance.
- force String
This parameter is used for resource destroy. Default value is
false
.- internet
Charge StringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp String
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name String
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio Integer
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource
Group StringId The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- zone String
The zone of bandwidth package.
- bandwidth string
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth
Package stringName The name of the common bandwidth package.
- deletion
Protection boolean Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description string
The description of the common bandwidth package instance.
- force string
This parameter is used for resource destroy. Default value is
false
.- internet
Charge stringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp string
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name string
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio number
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource
Group stringId The Id of resource group which the common bandwidth package belongs.
- security
Protection string[]Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- zone string
The zone of bandwidth package.
- bandwidth str
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth_
package_ strname The name of the common bandwidth package.
- deletion_
protection bool Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description str
The description of the common bandwidth package instance.
- force str
This parameter is used for resource destroy. Default value is
false
.- internet_
charge_ strtype The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp str
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name str
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio int
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource_
group_ strid The Id of resource group which the common bandwidth package belongs.
- security_
protection_ Sequence[str]types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- zone str
The zone of bandwidth package.
- bandwidth String
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth
Package StringName The name of the common bandwidth package.
- deletion
Protection Boolean Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
The description of the common bandwidth package instance.
- force String
This parameter is used for resource destroy. Default value is
false
.- internet
Charge StringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp String
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name String
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio Number
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource
Group StringId The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- zone String
The zone of bandwidth package.
Outputs
All input properties are implicitly available as output properties. Additionally, the CommonBandwithPackage resource produces the following output properties:
Look up Existing CommonBandwithPackage Resource
Get an existing CommonBandwithPackage 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?: CommonBandwithPackageState, opts?: CustomResourceOptions): CommonBandwithPackage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[str] = None,
bandwidth_package_name: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
force: Optional[str] = None,
internet_charge_type: Optional[str] = None,
isp: Optional[str] = None,
name: Optional[str] = None,
ratio: Optional[int] = None,
resource_group_id: Optional[str] = None,
security_protection_types: Optional[Sequence[str]] = None,
status: Optional[str] = None,
zone: Optional[str] = None) -> CommonBandwithPackage
func GetCommonBandwithPackage(ctx *Context, name string, id IDInput, state *CommonBandwithPackageState, opts ...ResourceOption) (*CommonBandwithPackage, error)
public static CommonBandwithPackage Get(string name, Input<string> id, CommonBandwithPackageState? state, CustomResourceOptions? opts = null)
public static CommonBandwithPackage get(String name, Output<String> id, CommonBandwithPackageState 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 string
The bandwidth of the common bandwidth package. Unit: Mbps.
- Bandwidth
Package stringName The name of the common bandwidth package.
- Deletion
Protection bool Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
The description of the common bandwidth package instance.
- Force string
This parameter is used for resource destroy. Default value is
false
.- Internet
Charge stringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- Isp string
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- Name string
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Ratio int
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- Resource
Group stringId The Id of resource group which the common bandwidth package belongs.
- Security
Protection List<string>Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- Status string
(Available in 1.120.0+) The status of bandwidth package.
- Zone string
The zone of bandwidth package.
- Bandwidth string
The bandwidth of the common bandwidth package. Unit: Mbps.
- Bandwidth
Package stringName The name of the common bandwidth package.
- Deletion
Protection bool Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
The description of the common bandwidth package instance.
- Force string
This parameter is used for resource destroy. Default value is
false
.- Internet
Charge stringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- Isp string
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- Name string
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Ratio int
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- Resource
Group stringId The Id of resource group which the common bandwidth package belongs.
- Security
Protection []stringTypes The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- Status string
(Available in 1.120.0+) The status of bandwidth package.
- Zone string
The zone of bandwidth package.
- bandwidth String
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth
Package StringName The name of the common bandwidth package.
- deletion
Protection Boolean Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
The description of the common bandwidth package instance.
- force String
This parameter is used for resource destroy. Default value is
false
.- internet
Charge StringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp String
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name String
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio Integer
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource
Group StringId The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- status String
(Available in 1.120.0+) The status of bandwidth package.
- zone String
The zone of bandwidth package.
- bandwidth string
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth
Package stringName The name of the common bandwidth package.
- deletion
Protection boolean Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description string
The description of the common bandwidth package instance.
- force string
This parameter is used for resource destroy. Default value is
false
.- internet
Charge stringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp string
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name string
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio number
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource
Group stringId The Id of resource group which the common bandwidth package belongs.
- security
Protection string[]Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- status string
(Available in 1.120.0+) The status of bandwidth package.
- zone string
The zone of bandwidth package.
- bandwidth str
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth_
package_ strname The name of the common bandwidth package.
- deletion_
protection bool Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description str
The description of the common bandwidth package instance.
- force str
This parameter is used for resource destroy. Default value is
false
.- internet_
charge_ strtype The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp str
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name str
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio int
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource_
group_ strid The Id of resource group which the common bandwidth package belongs.
- security_
protection_ Sequence[str]types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- status str
(Available in 1.120.0+) The status of bandwidth package.
- zone str
The zone of bandwidth package.
- bandwidth String
The bandwidth of the common bandwidth package. Unit: Mbps.
- bandwidth
Package StringName The name of the common bandwidth package.
- deletion
Protection Boolean Whether enable the deletion protection or not. Default value:
false
.- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
The description of the common bandwidth package instance.
- force String
This parameter is used for resource destroy. Default value is
false
.- internet
Charge StringType The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International Account doesn't supportsPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available.- isp String
The type of the Internet Service Provider. Valid values:
BGP
andBGP_PRO
. Default toBGP
.- name String
Field
name
has been deprecated from provider version 1.120.0. New fieldbandwidth_package_name
instead.Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio Number
Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to100
. Valid values: [10-100].- resource
Group StringId The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to
AntiDDoS_Enhanced
, Anti-DDoS Pro(Premium) is used. It is valid wheninternet_charge_type
isPayBy95
.- status String
(Available in 1.120.0+) The status of bandwidth package.
- zone String
The zone of bandwidth package.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.