1. Packages
  2. Alicloud Provider
  3. API Docs
  4. cen
  5. getRouteMaps
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.cen.getRouteMaps

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    This data source provides CEN Route Maps available to the user.

    NOTE: Available in v1.87.0+.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const this = alicloud.cen.getRouteMaps({
        cenId: "cen-ihdlgo87ai********",
        ids: ["cen-ihdlgo87ai:cenrmap-bnh97kb3mn********"],
        descriptionRegex: "datasource_test",
        cenRegionId: "cn-hangzhou",
        transmitDirection: "RegionIn",
        status: "Active",
    });
    export const firstCenRouteMapId = _this.then(_this => _this.maps?.[0]?.routeMapId);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    this = alicloud.cen.get_route_maps(cen_id="cen-ihdlgo87ai********",
        ids=["cen-ihdlgo87ai:cenrmap-bnh97kb3mn********"],
        description_regex="datasource_test",
        cen_region_id="cn-hangzhou",
        transmit_direction="RegionIn",
        status="Active")
    pulumi.export("firstCenRouteMapId", this.maps[0].route_map_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		this, err := cen.GetRouteMaps(ctx, &cen.GetRouteMapsArgs{
    			CenId: "cen-ihdlgo87ai********",
    			Ids: []string{
    				"cen-ihdlgo87ai:cenrmap-bnh97kb3mn********",
    			},
    			DescriptionRegex:  pulumi.StringRef("datasource_test"),
    			CenRegionId:       pulumi.StringRef("cn-hangzhou"),
    			TransmitDirection: pulumi.StringRef("RegionIn"),
    			Status:            pulumi.StringRef("Active"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("firstCenRouteMapId", this.Maps[0].RouteMapId)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = AliCloud.Cen.GetRouteMaps.Invoke(new()
        {
            CenId = "cen-ihdlgo87ai********",
            Ids = new[]
            {
                "cen-ihdlgo87ai:cenrmap-bnh97kb3mn********",
            },
            DescriptionRegex = "datasource_test",
            CenRegionId = "cn-hangzhou",
            TransmitDirection = "RegionIn",
            Status = "Active",
        });
    
        return new Dictionary<string, object?>
        {
            ["firstCenRouteMapId"] = @this.Apply(@this => @this.Apply(getRouteMapsResult => getRouteMapsResult.Maps[0]?.RouteMapId)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cen.CenFunctions;
    import com.pulumi.alicloud.cen.inputs.GetRouteMapsArgs;
    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 this = CenFunctions.getRouteMaps(GetRouteMapsArgs.builder()
                .cenId("cen-ihdlgo87ai********")
                .ids("cen-ihdlgo87ai:cenrmap-bnh97kb3mn********")
                .descriptionRegex("datasource_test")
                .cenRegionId("cn-hangzhou")
                .transmitDirection("RegionIn")
                .status("Active")
                .build());
    
            ctx.export("firstCenRouteMapId", this_.maps()[0].routeMapId());
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: alicloud:cen:getRouteMaps
          Arguments:
            cenId: cen-ihdlgo87ai********
            ids:
              - cen-ihdlgo87ai:cenrmap-bnh97kb3mn********
            descriptionRegex: datasource_test
            cenRegionId: cn-hangzhou
            transmitDirection: RegionIn
            status: Active
    outputs:
      firstCenRouteMapId: ${this.maps[0].routeMapId}
    

    Using getRouteMaps

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRouteMaps(args: GetRouteMapsArgs, opts?: InvokeOptions): Promise<GetRouteMapsResult>
    function getRouteMapsOutput(args: GetRouteMapsOutputArgs, opts?: InvokeOptions): Output<GetRouteMapsResult>
    def get_route_maps(cen_id: Optional[str] = None,
                       cen_region_id: Optional[str] = None,
                       description_regex: Optional[str] = None,
                       ids: Optional[Sequence[str]] = None,
                       output_file: Optional[str] = None,
                       status: Optional[str] = None,
                       transmit_direction: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetRouteMapsResult
    def get_route_maps_output(cen_id: Optional[pulumi.Input[str]] = None,
                       cen_region_id: Optional[pulumi.Input[str]] = None,
                       description_regex: Optional[pulumi.Input[str]] = None,
                       ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       output_file: Optional[pulumi.Input[str]] = None,
                       status: Optional[pulumi.Input[str]] = None,
                       transmit_direction: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetRouteMapsResult]
    func GetRouteMaps(ctx *Context, args *GetRouteMapsArgs, opts ...InvokeOption) (*GetRouteMapsResult, error)
    func GetRouteMapsOutput(ctx *Context, args *GetRouteMapsOutputArgs, opts ...InvokeOption) GetRouteMapsResultOutput

    > Note: This function is named GetRouteMaps in the Go SDK.

    public static class GetRouteMaps 
    {
        public static Task<GetRouteMapsResult> InvokeAsync(GetRouteMapsArgs args, InvokeOptions? opts = null)
        public static Output<GetRouteMapsResult> Invoke(GetRouteMapsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRouteMapsResult> getRouteMaps(GetRouteMapsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:cen/getRouteMaps:getRouteMaps
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    DescriptionRegex string
    A regex string to filter CEN route map by description.
    Ids List<string>
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    The status of the route map, including Creating, Active and Deleting.
    TransmitDirection string
    The direction in which the route map is applied, including RegionIn and RegionOut.
    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    DescriptionRegex string
    A regex string to filter CEN route map by description.
    Ids []string
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    The status of the route map, including Creating, Active and Deleting.
    TransmitDirection string
    The direction in which the route map is applied, including RegionIn and RegionOut.
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    descriptionRegex String
    A regex string to filter CEN route map by description.
    ids List<String>
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    The status of the route map, including Creating, Active and Deleting.
    transmitDirection String
    The direction in which the route map is applied, including RegionIn and RegionOut.
    cenId string
    The ID of the CEN instance.
    cenRegionId string
    The ID of the region to which the CEN instance belongs.
    descriptionRegex string
    A regex string to filter CEN route map by description.
    ids string[]
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    status string
    The status of the route map, including Creating, Active and Deleting.
    transmitDirection string
    The direction in which the route map is applied, including RegionIn and RegionOut.
    cen_id str
    The ID of the CEN instance.
    cen_region_id str
    The ID of the region to which the CEN instance belongs.
    description_regex str
    A regex string to filter CEN route map by description.
    ids Sequence[str]
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
    output_file str
    File name where to save data source results (after running pulumi preview).
    status str
    The status of the route map, including Creating, Active and Deleting.
    transmit_direction str
    The direction in which the route map is applied, including RegionIn and RegionOut.
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    descriptionRegex String
    A regex string to filter CEN route map by description.
    ids List<String>
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    The status of the route map, including Creating, Active and Deleting.
    transmitDirection String
    The direction in which the route map is applied, including RegionIn and RegionOut.

    getRouteMaps Result

    The following output properties are available:

    CenId string
    The ID of the CEN instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
    Maps List<Pulumi.AliCloud.Cen.Outputs.GetRouteMapsMap>
    A list of CEN instances. Each element contains the following attributes:
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    DescriptionRegex string
    OutputFile string
    Status string
    The status of the route map.
    TransmitDirection string
    The direction in which the route map is applied.
    CenId string
    The ID of the CEN instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
    Maps []GetRouteMapsMap
    A list of CEN instances. Each element contains the following attributes:
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    DescriptionRegex string
    OutputFile string
    Status string
    The status of the route map.
    TransmitDirection string
    The direction in which the route map is applied.
    cenId String
    The ID of the CEN instance.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
    maps List<GetRouteMapsMap>
    A list of CEN instances. Each element contains the following attributes:
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    descriptionRegex String
    outputFile String
    status String
    The status of the route map.
    transmitDirection String
    The direction in which the route map is applied.
    cenId string
    The ID of the CEN instance.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
    maps GetRouteMapsMap[]
    A list of CEN instances. Each element contains the following attributes:
    cenRegionId string
    The ID of the region to which the CEN instance belongs.
    descriptionRegex string
    outputFile string
    status string
    The status of the route map.
    transmitDirection string
    The direction in which the route map is applied.
    cen_id str
    The ID of the CEN instance.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
    maps Sequence[GetRouteMapsMap]
    A list of CEN instances. Each element contains the following attributes:
    cen_region_id str
    The ID of the region to which the CEN instance belongs.
    description_regex str
    output_file str
    status str
    The status of the route map.
    transmit_direction str
    The direction in which the route map is applied.
    cenId String
    The ID of the CEN instance.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of CEN route map IDs. Each item formats as <cen_id>:<route_map_id>. Before 1.161.0, its element is route_map_id.
    maps List<Property Map>
    A list of CEN instances. Each element contains the following attributes:
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    descriptionRegex String
    outputFile String
    status String
    The status of the route map.
    transmitDirection String
    The direction in which the route map is applied.

    Supporting Types

    GetRouteMapsMap

    AsPathMatchMode string
    A match statement. It indicates the mode in which the as-path attribute is matched.
    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    CidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched.
    CommunityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched.
    CommunityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated.
    Description string
    The description of the route map.
    DestinationChildInstanceTypes List<string>
    A match statement that indicates the list of IDs of the destination instances.
    DestinationCidrBlocks List<string>
    A match statement that indicates the prefix list.
    DestinationInstanceIds List<string>
    A match statement that indicates the list of IDs of the destination instances.
    DestinationInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
    DestinationRouteTableIds List<string>
    A match statement that indicates the list of IDs of the destination route tables.
    Id string
    The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
    MapResult string
    The action that is performed to a route if the route meets all the match conditions.
    MatchAsns List<string>
    A match statement that indicates the As path list.
    MatchCommunitySets List<string>
    A match statement that indicates the community set.
    NextPriority int
    The priority of the next route map that is associated with the current route map.
    OperateCommunitySets List<string>
    An action statement that operates the community attribute.
    Preference int
    An action statement that modifies the preference of the route.
    PrependAsPaths List<string>
    Indicates AS Path prepending when a regional gateway receives or publishes a route.
    Priority int
    The priority of the route map.
    RouteMapId string
    The ID of the route map.
    RouteTypes List<string>
    A match statement that indicates the list of route types.
    SourceChildInstanceTypes List<string>
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIds List<string>
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
    SourceRegionIds List<string>
    A match statement that indicates the list of IDs of the source regions.
    SourceRouteTableIds List<string>
    A match statement that indicates the list of IDs of the source route tables.
    Status string
    The status of the route map, including Creating, Active and Deleting.
    TransmitDirection string
    The direction in which the route map is applied, including RegionIn and RegionOut.
    AsPathMatchMode string
    A match statement. It indicates the mode in which the as-path attribute is matched.
    CenId string
    The ID of the CEN instance.
    CenRegionId string
    The ID of the region to which the CEN instance belongs.
    CidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched.
    CommunityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched.
    CommunityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated.
    Description string
    The description of the route map.
    DestinationChildInstanceTypes []string
    A match statement that indicates the list of IDs of the destination instances.
    DestinationCidrBlocks []string
    A match statement that indicates the prefix list.
    DestinationInstanceIds []string
    A match statement that indicates the list of IDs of the destination instances.
    DestinationInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
    DestinationRouteTableIds []string
    A match statement that indicates the list of IDs of the destination route tables.
    Id string
    The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
    MapResult string
    The action that is performed to a route if the route meets all the match conditions.
    MatchAsns []string
    A match statement that indicates the As path list.
    MatchCommunitySets []string
    A match statement that indicates the community set.
    NextPriority int
    The priority of the next route map that is associated with the current route map.
    OperateCommunitySets []string
    An action statement that operates the community attribute.
    Preference int
    An action statement that modifies the preference of the route.
    PrependAsPaths []string
    Indicates AS Path prepending when a regional gateway receives or publishes a route.
    Priority int
    The priority of the route map.
    RouteMapId string
    The ID of the route map.
    RouteTypes []string
    A match statement that indicates the list of route types.
    SourceChildInstanceTypes []string
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIds []string
    A match statement that indicates the list of IDs of the source instances.
    SourceInstanceIdsReverseMatch bool
    Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
    SourceRegionIds []string
    A match statement that indicates the list of IDs of the source regions.
    SourceRouteTableIds []string
    A match statement that indicates the list of IDs of the source route tables.
    Status string
    The status of the route map, including Creating, Active and Deleting.
    TransmitDirection string
    The direction in which the route map is applied, including RegionIn and RegionOut.
    asPathMatchMode String
    A match statement. It indicates the mode in which the as-path attribute is matched.
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    cidrMatchMode String
    A match statement. It indicates the mode in which the prefix attribute is matched.
    communityMatchMode String
    A match statement. It indicates the mode in which the community attribute is matched.
    communityOperateMode String
    An action statement. It indicates the mode in which the community attribute is operated.
    description String
    The description of the route map.
    destinationChildInstanceTypes List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationCidrBlocks List<String>
    A match statement that indicates the prefix list.
    destinationInstanceIds List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
    destinationRouteTableIds List<String>
    A match statement that indicates the list of IDs of the destination route tables.
    id String
    The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
    mapResult String
    The action that is performed to a route if the route meets all the match conditions.
    matchAsns List<String>
    A match statement that indicates the As path list.
    matchCommunitySets List<String>
    A match statement that indicates the community set.
    nextPriority Integer
    The priority of the next route map that is associated with the current route map.
    operateCommunitySets List<String>
    An action statement that operates the community attribute.
    preference Integer
    An action statement that modifies the preference of the route.
    prependAsPaths List<String>
    Indicates AS Path prepending when a regional gateway receives or publishes a route.
    priority Integer
    The priority of the route map.
    routeMapId String
    The ID of the route map.
    routeTypes List<String>
    A match statement that indicates the list of route types.
    sourceChildInstanceTypes List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIds List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
    sourceRegionIds List<String>
    A match statement that indicates the list of IDs of the source regions.
    sourceRouteTableIds List<String>
    A match statement that indicates the list of IDs of the source route tables.
    status String
    The status of the route map, including Creating, Active and Deleting.
    transmitDirection String
    The direction in which the route map is applied, including RegionIn and RegionOut.
    asPathMatchMode string
    A match statement. It indicates the mode in which the as-path attribute is matched.
    cenId string
    The ID of the CEN instance.
    cenRegionId string
    The ID of the region to which the CEN instance belongs.
    cidrMatchMode string
    A match statement. It indicates the mode in which the prefix attribute is matched.
    communityMatchMode string
    A match statement. It indicates the mode in which the community attribute is matched.
    communityOperateMode string
    An action statement. It indicates the mode in which the community attribute is operated.
    description string
    The description of the route map.
    destinationChildInstanceTypes string[]
    A match statement that indicates the list of IDs of the destination instances.
    destinationCidrBlocks string[]
    A match statement that indicates the prefix list.
    destinationInstanceIds string[]
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch boolean
    Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
    destinationRouteTableIds string[]
    A match statement that indicates the list of IDs of the destination route tables.
    id string
    The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
    mapResult string
    The action that is performed to a route if the route meets all the match conditions.
    matchAsns string[]
    A match statement that indicates the As path list.
    matchCommunitySets string[]
    A match statement that indicates the community set.
    nextPriority number
    The priority of the next route map that is associated with the current route map.
    operateCommunitySets string[]
    An action statement that operates the community attribute.
    preference number
    An action statement that modifies the preference of the route.
    prependAsPaths string[]
    Indicates AS Path prepending when a regional gateway receives or publishes a route.
    priority number
    The priority of the route map.
    routeMapId string
    The ID of the route map.
    routeTypes string[]
    A match statement that indicates the list of route types.
    sourceChildInstanceTypes string[]
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIds string[]
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch boolean
    Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
    sourceRegionIds string[]
    A match statement that indicates the list of IDs of the source regions.
    sourceRouteTableIds string[]
    A match statement that indicates the list of IDs of the source route tables.
    status string
    The status of the route map, including Creating, Active and Deleting.
    transmitDirection string
    The direction in which the route map is applied, including RegionIn and RegionOut.
    as_path_match_mode str
    A match statement. It indicates the mode in which the as-path attribute is matched.
    cen_id str
    The ID of the CEN instance.
    cen_region_id str
    The ID of the region to which the CEN instance belongs.
    cidr_match_mode str
    A match statement. It indicates the mode in which the prefix attribute is matched.
    community_match_mode str
    A match statement. It indicates the mode in which the community attribute is matched.
    community_operate_mode str
    An action statement. It indicates the mode in which the community attribute is operated.
    description str
    The description of the route map.
    destination_child_instance_types Sequence[str]
    A match statement that indicates the list of IDs of the destination instances.
    destination_cidr_blocks Sequence[str]
    A match statement that indicates the prefix list.
    destination_instance_ids Sequence[str]
    A match statement that indicates the list of IDs of the destination instances.
    destination_instance_ids_reverse_match bool
    Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
    destination_route_table_ids Sequence[str]
    A match statement that indicates the list of IDs of the destination route tables.
    id str
    The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
    map_result str
    The action that is performed to a route if the route meets all the match conditions.
    match_asns Sequence[str]
    A match statement that indicates the As path list.
    match_community_sets Sequence[str]
    A match statement that indicates the community set.
    next_priority int
    The priority of the next route map that is associated with the current route map.
    operate_community_sets Sequence[str]
    An action statement that operates the community attribute.
    preference int
    An action statement that modifies the preference of the route.
    prepend_as_paths Sequence[str]
    Indicates AS Path prepending when a regional gateway receives or publishes a route.
    priority int
    The priority of the route map.
    route_map_id str
    The ID of the route map.
    route_types Sequence[str]
    A match statement that indicates the list of route types.
    source_child_instance_types Sequence[str]
    A match statement that indicates the list of IDs of the source instances.
    source_instance_ids Sequence[str]
    A match statement that indicates the list of IDs of the source instances.
    source_instance_ids_reverse_match bool
    Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
    source_region_ids Sequence[str]
    A match statement that indicates the list of IDs of the source regions.
    source_route_table_ids Sequence[str]
    A match statement that indicates the list of IDs of the source route tables.
    status str
    The status of the route map, including Creating, Active and Deleting.
    transmit_direction str
    The direction in which the route map is applied, including RegionIn and RegionOut.
    asPathMatchMode String
    A match statement. It indicates the mode in which the as-path attribute is matched.
    cenId String
    The ID of the CEN instance.
    cenRegionId String
    The ID of the region to which the CEN instance belongs.
    cidrMatchMode String
    A match statement. It indicates the mode in which the prefix attribute is matched.
    communityMatchMode String
    A match statement. It indicates the mode in which the community attribute is matched.
    communityOperateMode String
    An action statement. It indicates the mode in which the community attribute is operated.
    description String
    The description of the route map.
    destinationChildInstanceTypes List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationCidrBlocks List<String>
    A match statement that indicates the prefix list.
    destinationInstanceIds List<String>
    A match statement that indicates the list of IDs of the destination instances.
    destinationInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
    destinationRouteTableIds List<String>
    A match statement that indicates the list of IDs of the destination route tables.
    id String
    The ID of the route map. It formats as <cen_id>:<route_map_id>. Before 1.161.0, it is route_map_id.
    mapResult String
    The action that is performed to a route if the route meets all the match conditions.
    matchAsns List<String>
    A match statement that indicates the As path list.
    matchCommunitySets List<String>
    A match statement that indicates the community set.
    nextPriority Number
    The priority of the next route map that is associated with the current route map.
    operateCommunitySets List<String>
    An action statement that operates the community attribute.
    preference Number
    An action statement that modifies the preference of the route.
    prependAsPaths List<String>
    Indicates AS Path prepending when a regional gateway receives or publishes a route.
    priority Number
    The priority of the route map.
    routeMapId String
    The ID of the route map.
    routeTypes List<String>
    A match statement that indicates the list of route types.
    sourceChildInstanceTypes List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIds List<String>
    A match statement that indicates the list of IDs of the source instances.
    sourceInstanceIdsReverseMatch Boolean
    Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
    sourceRegionIds List<String>
    A match statement that indicates the list of IDs of the source regions.
    sourceRouteTableIds List<String>
    A match statement that indicates the list of IDs of the source route tables.
    status String
    The status of the route map, including Creating, Active and Deleting.
    transmitDirection String
    The direction in which the route map is applied, including RegionIn and RegionOut.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi