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 resourceGroupId: Output<String>? = null, val serviceLocation: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<AnycastEipAddressArgs>

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

NOTE: Available since 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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
var default_ = new AnycastEipAddress("default", AnycastEipAddressArgs.builder()
.anycastEipAddressName(name)
.description(name)
.bandwidth(200)
.serviceLocation("international")
.internetChargeType("PayByTraffic")
.paymentType("PayAsYouGo")
.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, resourceGroupId: Output<String>? = null, serviceLocation: Output<String>? = null, tags: Output<Map<String, Any>>? = 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.

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.

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

The payment model of Anycast EIP instance. "PayAsYouGo": Refers to the post-paid mode.

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

The ID of the resource group to which the instance belongs.

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

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

Link copied to clipboard
val tags: Output<Map<String, Any>>? = null

List of resource-bound tags.