alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

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.

BandwidthPackageName string

The name of the common bandwidth package.

DeletionProtection 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.

InternetChargeType string

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

Isp string

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

Name string

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

SecurityProtectionTypes List<string>

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 when internet_charge_type is PayBy95.

Zone string

The zone of bandwidth package.

Bandwidth string

The bandwidth of the common bandwidth package. Unit: Mbps.

BandwidthPackageName string

The name of the common bandwidth package.

DeletionProtection 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.

InternetChargeType string

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

Isp string

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

Name string

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

SecurityProtectionTypes []string

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 when internet_charge_type is PayBy95.

Zone string

The zone of bandwidth package.

bandwidth String

The bandwidth of the common bandwidth package. Unit: Mbps.

bandwidthPackageName String

The name of the common bandwidth package.

deletionProtection 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.

internetChargeType String

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp String

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name String

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId String

The Id of resource group which the common bandwidth package belongs.

securityProtectionTypes List<String>

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 when internet_charge_type is PayBy95.

zone String

The zone of bandwidth package.

bandwidth string

The bandwidth of the common bandwidth package. Unit: Mbps.

bandwidthPackageName string

The name of the common bandwidth package.

deletionProtection 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.

internetChargeType string

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp string

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name string

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId string

The Id of resource group which the common bandwidth package belongs.

securityProtectionTypes string[]

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 when internet_charge_type is PayBy95.

zone string

The zone of bandwidth package.

bandwidth str

The bandwidth of the common bandwidth package. Unit: Mbps.

bandwidth_package_name str

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_type str

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp str

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name str

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resource_group_id str

The Id of resource group which the common bandwidth package belongs.

security_protection_types Sequence[str]

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 when internet_charge_type is PayBy95.

zone str

The zone of bandwidth package.

bandwidth String

The bandwidth of the common bandwidth package. Unit: Mbps.

bandwidthPackageName String

The name of the common bandwidth package.

deletionProtection 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.

internetChargeType String

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp String

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name String

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId String

The Id of resource group which the common bandwidth package belongs.

securityProtectionTypes List<String>

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 when internet_charge_type is PayBy95.

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:

Id string

The provider-assigned unique ID for this managed resource.

Status string

(Available in 1.120.0+) The status of bandwidth package.

Id string

The provider-assigned unique ID for this managed resource.

Status string

(Available in 1.120.0+) The status of bandwidth package.

id String

The provider-assigned unique ID for this managed resource.

status String

(Available in 1.120.0+) The status of bandwidth package.

id string

The provider-assigned unique ID for this managed resource.

status string

(Available in 1.120.0+) The status of bandwidth package.

id str

The provider-assigned unique ID for this managed resource.

status str

(Available in 1.120.0+) The status of bandwidth package.

id String

The provider-assigned unique ID for this managed resource.

status String

(Available in 1.120.0+) The status of bandwidth package.

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.
The following state arguments are supported:
Bandwidth string

The bandwidth of the common bandwidth package. Unit: Mbps.

BandwidthPackageName string

The name of the common bandwidth package.

DeletionProtection 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.

InternetChargeType string

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

Isp string

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

Name string

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

SecurityProtectionTypes List<string>

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 when internet_charge_type is PayBy95.

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.

BandwidthPackageName string

The name of the common bandwidth package.

DeletionProtection 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.

InternetChargeType string

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

Isp string

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

Name string

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

SecurityProtectionTypes []string

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 when internet_charge_type is PayBy95.

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.

bandwidthPackageName String

The name of the common bandwidth package.

deletionProtection 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.

internetChargeType String

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp String

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name String

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId String

The Id of resource group which the common bandwidth package belongs.

securityProtectionTypes List<String>

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 when internet_charge_type is PayBy95.

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.

bandwidthPackageName string

The name of the common bandwidth package.

deletionProtection 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.

internetChargeType string

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp string

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name string

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId string

The Id of resource group which the common bandwidth package belongs.

securityProtectionTypes string[]

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 when internet_charge_type is PayBy95.

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_name str

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_type str

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp str

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name str

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resource_group_id str

The Id of resource group which the common bandwidth package belongs.

security_protection_types Sequence[str]

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 when internet_charge_type is PayBy95.

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.

bandwidthPackageName String

The name of the common bandwidth package.

deletionProtection 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.

internetChargeType String

The billing method of the common bandwidth package. Valid values are PayByBandwidth and PayBy95 and PayByTraffic, PayByDominantTraffic. PayBy95 is pay by classic 95th percentile pricing. International Account doesn't supports PayByBandwidth and PayBy95. Default to PayByTraffic. NOTE: From 1.176.0+, PayByDominantTraffic is available.

isp String

The type of the Internet Service Provider. Valid values: BGP and BGP_PRO. Default to BGP.

name String

Field name has been deprecated from provider version 1.120.0. New field bandwidth_package_name instead.

Deprecated:

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 is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId String

The Id of resource group which the common bandwidth package belongs.

securityProtectionTypes List<String>

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 when internet_charge_type is PayBy95.

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.