Bandwidth Package Args
data class BandwidthPackageArgs(val autoPay: Output<Boolean>? = null, val autoRenewDuration: Output<Int>? = null, val autoUseCoupon: Output<Boolean>? = null, val bandwidth: Output<Int>? = null, val bandwidthPackageName: Output<String>? = null, val bandwidthType: Output<String>? = null, val billingType: Output<String>? = null, val cbnGeographicRegionIda: Output<String>? = null, val cbnGeographicRegionIdb: Output<String>? = null, val description: Output<String>? = null, val duration: Output<String>? = null, val paymentType: Output<String>? = null, val promotionOptionNo: Output<String>? = null, val ratio: Output<Int>? = null, val renewalStatus: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val type: Output<String>? = null) : ConvertibleToJava<BandwidthPackageArgs>
Provides a Global Accelerator (GA) Bandwidth Package resource. For information about Global Accelerator (GA) Bandwidth Package and how to use it, see What is Bandwidth Package.
NOTE: At present, The
alicloud.ga.BandwidthPackage
created withSubscription
cannot be deleted. you need to wait until the resource is outdated and released automatically. NOTE: Available since v1.112.0.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.BandwidthPackage;
import com.pulumi.alicloud.ga.BandwidthPackageArgs;
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 example = new BandwidthPackage("example", BandwidthPackageArgs.builder()
.autoPay(true)
.bandwidth(20)
.bandwidthType("Basic")
.duration(1)
.ratio(30)
.type("Basic")
.build());
}
}
Content copied to clipboard
Import
Ga Bandwidth Package can be imported using the id, e.g.
$ pulumi import alicloud:ga/bandwidthPackage:BandwidthPackage example <id>
Content copied to clipboard
Constructors
Link copied to clipboard
fun BandwidthPackageArgs(autoPay: Output<Boolean>? = null, autoRenewDuration: Output<Int>? = null, autoUseCoupon: Output<Boolean>? = null, bandwidth: Output<Int>? = null, bandwidthPackageName: Output<String>? = null, bandwidthType: Output<String>? = null, billingType: Output<String>? = null, cbnGeographicRegionIda: Output<String>? = null, cbnGeographicRegionIdb: Output<String>? = null, description: Output<String>? = null, duration: Output<String>? = null, paymentType: Output<String>? = null, promotionOptionNo: Output<String>? = null, ratio: Output<Int>? = null, renewalStatus: Output<String>? = null, tags: Output<Map<String, Any>>? = null, type: Output<String>? = null)