AnycastEipAddress

class AnycastEipAddress : KotlinCustomResource

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>

Properties

Link copied to clipboard

Anycast EIP instance name.

Link copied to clipboard
val bandwidth: Output<Int>

The peak bandwidth of the Anycast EIP instance, in Mbps.

Link copied to clipboard
val createTime: Output<String>

Anycast EIP instance creation time.

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

Anycast EIP instance description.

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

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

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

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

Link copied to clipboard
val serviceLocation: Output<String>

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

Link copied to clipboard
val status: Output<String>

The status of the resource.

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

List of resource-bound tags.

Link copied to clipboard
val urn: Output<String>