AnycastEipAddressArgs

data class AnycastEipAddressArgs(val anycastEipAddressName: Output<String>? = null, val bandwidth: Output<Int>? = null, val description: Output<String>? = null, val internetChargeType: Output<String>? = null, val paymentType: Output<String>? = null, val serviceLocation: Output<String>? = null) : ConvertibleToJava<AnycastEipAddressArgs>

Provides a Eipanycast Anycast Eip Address resource. For information about Eipanycast Anycast Eip Address and how to use it, see What is Anycast Eip Address.

NOTE: Available in v1.113.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.eipanycast.AnycastEipAddress;
import com.pulumi.alicloud.eipanycast.AnycastEipAddressArgs;
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 AnycastEipAddress("example", AnycastEipAddressArgs.builder()
.serviceLocation("international")
.build());
}
}

Import

Eipanycast Anycast Eip Address can be imported using the id, e.g.

$ pulumi import alicloud:eipanycast/anycastEipAddress:AnycastEipAddress example <id>

Constructors

Link copied to clipboard
fun AnycastEipAddressArgs(anycastEipAddressName: Output<String>? = null, bandwidth: Output<Int>? = null, description: Output<String>? = null, internetChargeType: Output<String>? = null, paymentType: Output<String>? = null, serviceLocation: Output<String>? = null)

Functions

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

Properties

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

Anycast EIP instance name.

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

The peak bandwidth of the Anycast EIP instance, in Mbps. It can not be changed when the internet_charge_type is PayByBandwidth and the default value is 200.

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

Anycast EIP instance description.

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

The billing method of Anycast EIP instance. PayByBandwidth: refers to the method of billing based on traffic. Valid value: PayByBandwidth.

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

The payment model of Anycast EIP instance. PayAsYouGo: Refers to the post-paid mode. Valid value: PayAsYouGo. Default value is PayAsYouGo.

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

Anycast EIP instance access area. international: Refers to areas outside of Mainland China.