AnycastEipAddressAttachment

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

NOTE: Available in v1.113.0+. NOTE: The following regions support currently while Slb instance support bound. eu-west-1-gb33-a01,cn-hongkong-am4-c04,ap-southeast-os30-a01,us-west-ot7-a01,ap-south-in73-a01,ap-southeast-my88-a01

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 com.pulumi.alicloud.eipanycast.AnycastEipAddressAttachment;
import com.pulumi.alicloud.eipanycast.AnycastEipAddressAttachmentArgs;
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 exampleAnycastEipAddress = new AnycastEipAddress("exampleAnycastEipAddress", AnycastEipAddressArgs.builder()
.serviceLocation("international")
.build());
var exampleAnycastEipAddressAttachment = new AnycastEipAddressAttachment("exampleAnycastEipAddressAttachment", AnycastEipAddressAttachmentArgs.builder()
.anycastId(exampleAnycastEipAddress.id())
.bindInstanceId("lb-j6chlcr8lffy7********")
.bindInstanceRegionId("cn-hongkong")
.bindInstanceType("SlbInstance")
.build());
}
}

Import

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

$ pulumi import alicloud:eipanycast/anycastEipAddressAttachment:AnycastEipAddressAttachment example `anycast_id`:`bind_instance_id`:`bind_instance_region_id`:`bind_instance_type`

Properties

Link copied to clipboard
val anycastId: Output<String>

The ID of Anycast EIP.

Link copied to clipboard
val bindInstanceId: Output<String>

The ID of bound instance.

Link copied to clipboard

The region ID of bound instance.

Link copied to clipboard

The type of bound instance. Valid value: SlbInstance.

Link copied to clipboard
val bindTime: Output<String>

The time of bound instance.

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