CommonBandwithPackage

Example Usage

Basic Usage

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

The common bandwidth package can be imported using the id, e.g.

$ pulumi import alicloud:vpc/commonBandwithPackage:CommonBandwithPackage foo cbwp-abc123456

Properties

Link copied to clipboard
val bandwidth: Output<String>

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

Link copied to clipboard

The name of the common bandwidth package.

Link copied to clipboard

Whether enable the deletion protection or not. Default value: false.

Link copied to clipboard
val description: Output<String>?

The description of the common bandwidth package instance.

Link copied to clipboard
val force: Output<String>?

This parameter is used for resource destroy. Default value is false.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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.

Link copied to clipboard
val isp: Output<String>?

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

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ratio: Output<Int>?

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: 10-100.

Link copied to clipboard
val resourceGroupId: Output<String>

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

Link copied to clipboard

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.

Link copied to clipboard
val status: Output<String>

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zone: Output<String>?

The zone of bandwidth package.