Ipv6Gateway

Provides a VPC Ipv6 Gateway resource. For information about VPC Ipv6 Gateway and how to use it, see What is Ipv6 Gateway.

NOTE: Available in v1.142.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.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Ipv6Gateway;
import com.pulumi.alicloud.vpc.Ipv6GatewayArgs;
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 default_ = new Network("default", NetworkArgs.builder()
.vpcName("example_value")
.enableIpv6("true")
.build());
var example = new Ipv6Gateway("example", Ipv6GatewayArgs.builder()
.ipv6GatewayName("example_value")
.vpcId(default_.id())
.build());
}
}

Import

VPC Ipv6 Gateway can be imported using the id, e.g.

$ pulumi import alicloud:vpc/ipv6Gateway:Ipv6Gateway example <id>

Properties

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

The description of the IPv6 gateway. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

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

The name of the IPv6 gateway. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.

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

The edition of the IPv6 gateway. Valid values: Large, Medium and Small. Small (default): Free Edition. Medium: Enterprise Edition . Large: Enhanced Enterprise Edition. The throughput capacity of an IPv6 gateway varies based on the edition. For more information, see Editions of IPv6 gateways.

Link copied to clipboard
val status: Output<String>

The status of the resource. Valid values: Available, Pending and Deleting.

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

The ID of the virtual private cloud (VPC) for which you want to create the IPv6 gateway.