TransitRouteTableAggregation

class TransitRouteTableAggregation : KotlinCustomResource

Provides a Cloud Enterprise Network (CEN) Transit Route Table Aggregation resource. For information about Cloud Enterprise Network (CEN) Transit Route Table Aggregation and how to use it, see What is Transit Route Table Aggregation.

NOTE: Available since v1.202.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.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.TransitRouter;
import com.pulumi.alicloud.cen.TransitRouterArgs;
import com.pulumi.alicloud.cen.TransitRouterRouteTable;
import com.pulumi.alicloud.cen.TransitRouterRouteTableArgs;
import com.pulumi.alicloud.cen.TransitRouteTableAggregation;
import com.pulumi.alicloud.cen.TransitRouteTableAggregationArgs;
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 exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()
.cenInstanceName("tf_example")
.description("an example for cen")
.build());
var exampleTransitRouter = new TransitRouter("exampleTransitRouter", TransitRouterArgs.builder()
.transitRouterName("tf_example")
.cenId(exampleInstance.id())
.build());
var exampleTransitRouterRouteTable = new TransitRouterRouteTable("exampleTransitRouterRouteTable", TransitRouterRouteTableArgs.builder()
.transitRouterId(exampleTransitRouter.transitRouterId())
.build());
var exampleTransitRouteTableAggregation = new TransitRouteTableAggregation("exampleTransitRouteTableAggregation", TransitRouteTableAggregationArgs.builder()
.transitRouteTableId(exampleTransitRouterRouteTable.transitRouterRouteTableId())
.transitRouteTableAggregationCidr("10.0.0.0/8")
.transitRouteTableAggregationScope("VPC")
.transitRouteTableAggregationName("tf_example")
.transitRouteTableAggregationDescription("tf_example")
.build());
}
}

Import

Cloud Enterprise Network (CEN) Transit Route Table Aggregation can be imported using the id, e.g.

$ pulumi import alicloud:cen/transitRouteTableAggregation:TransitRouteTableAggregation example <transit_route_table_id>:<transit_route_table_aggregation_cidr>

Properties

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

The status of the Transit Route Table Aggregation.

Link copied to clipboard

The destination CIDR block of the aggregate route. CIDR blocks that start with 0 or 100.64. Multicast CIDR blocks, including 224.0.0.1 to 239.255.255.254.

Link copied to clipboard

The description of the aggregate route.

Link copied to clipboard

The name of the aggregate route.

Link copied to clipboard

The scope of networks that you want to advertise the aggregate route. Valid Value: VPC.

Link copied to clipboard

The ID of the route table of the Enterprise Edition transit router.

Link copied to clipboard
val urn: Output<String>