CommonBandwithPackageArgs

data class CommonBandwithPackageArgs(val bandwidth: Output<String>? = null, val bandwidthPackageName: Output<String>? = null, val deletionProtection: Output<Boolean>? = null, val description: Output<String>? = null, val force: Output<String>? = null, val internetChargeType: Output<String>? = null, val isp: Output<String>? = null, val name: Output<String>? = null, val ratio: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val securityProtectionTypes: Output<List<String>>? = null, val zone: Output<String>? = null) : ConvertibleToJava<CommonBandwithPackageArgs>

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

Constructors

Link copied to clipboard
fun CommonBandwithPackageArgs(bandwidth: Output<String>? = null, bandwidthPackageName: Output<String>? = null, deletionProtection: Output<Boolean>? = null, description: Output<String>? = null, force: Output<String>? = null, internetChargeType: Output<String>? = null, isp: Output<String>? = null, name: Output<String>? = null, ratio: Output<Int>? = null, resourceGroupId: Output<String>? = null, securityProtectionTypes: Output<List<String>>? = null, zone: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CommonBandwithPackageArgs

Properties

Link copied to clipboard
val bandwidth: Output<String>? = null

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

Link copied to clipboard
val bandwidthPackageName: Output<String>? = null

The name of the common bandwidth package.

Link copied to clipboard
val deletionProtection: Output<Boolean>? = null

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

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

The description of the common bandwidth package instance.

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

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

Link copied to clipboard
val internetChargeType: Output<String>? = null

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>? = null

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

Link copied to clipboard
val name: Output<String>? = null

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

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

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>? = null

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

Link copied to clipboard
val securityProtectionTypes: Output<List<String>>? = null

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 zone: Output<String>? = null

The zone of bandwidth package.