Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.cen.getRouteMaps
Explore with Pulumi AI
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:
- Cen
Id string - The ID of the CEN instance.
- Cen
Region stringId - The ID of the region to which the CEN instance belongs.
- Description
Regex 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>
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the route map, including
Creating
,Active
andDeleting
. - Transmit
Direction string - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- Cen
Id string - The ID of the CEN instance.
- Cen
Region stringId - The ID of the region to which the CEN instance belongs.
- Description
Regex 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>
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the route map, including
Creating
,Active
andDeleting
. - Transmit
Direction string - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- cen
Id String - The ID of the CEN instance.
- cen
Region StringId - The ID of the region to which the CEN instance belongs.
- description
Regex 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>
. - output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the route map, including
Creating
,Active
andDeleting
. - transmit
Direction String - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- cen
Id string - The ID of the CEN instance.
- cen
Region stringId - The ID of the region to which the CEN instance belongs.
- description
Regex 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>
. - output
File string - File name where to save data source results (after running
pulumi preview
). - status string
- The status of the route map, including
Creating
,Active
andDeleting
. - transmit
Direction string - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- cen_
id str - The ID of the CEN instance.
- cen_
region_ strid - 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
andDeleting
. - transmit_
direction str - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- cen
Id String - The ID of the CEN instance.
- cen
Region StringId - The ID of the region to which the CEN instance belongs.
- description
Regex 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>
. - output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the route map, including
Creating
,Active
andDeleting
. - transmit
Direction String - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
getRouteMaps Result
The following output properties are available:
- Cen
Id 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 isroute_map_id
. - Maps
List<Pulumi.
Ali Cloud. Cen. Outputs. Get Route Maps Map> - A list of CEN instances. Each element contains the following attributes:
- Cen
Region stringId - The ID of the region to which the CEN instance belongs.
- Description
Regex string - Output
File string - Status string
- The status of the route map.
- Transmit
Direction string - The direction in which the route map is applied.
- Cen
Id 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 isroute_map_id
. - Maps
[]Get
Route Maps Map - A list of CEN instances. Each element contains the following attributes:
- Cen
Region stringId - The ID of the region to which the CEN instance belongs.
- Description
Regex string - Output
File string - Status string
- The status of the route map.
- Transmit
Direction string - The direction in which the route map is applied.
- cen
Id 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 isroute_map_id
. - maps
List<Get
Route Maps Map> - A list of CEN instances. Each element contains the following attributes:
- cen
Region StringId - The ID of the region to which the CEN instance belongs.
- description
Regex String - output
File String - status String
- The status of the route map.
- transmit
Direction String - The direction in which the route map is applied.
- cen
Id 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 isroute_map_id
. - maps
Get
Route Maps Map[] - A list of CEN instances. Each element contains the following attributes:
- cen
Region stringId - The ID of the region to which the CEN instance belongs.
- description
Regex string - output
File string - status string
- The status of the route map.
- transmit
Direction 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 isroute_map_id
. - maps
Sequence[Get
Route Maps Map] - A list of CEN instances. Each element contains the following attributes:
- cen_
region_ strid - 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.
- cen
Id 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 isroute_map_id
. - maps List<Property Map>
- A list of CEN instances. Each element contains the following attributes:
- cen
Region StringId - The ID of the region to which the CEN instance belongs.
- description
Regex String - output
File String - status String
- The status of the route map.
- transmit
Direction String - The direction in which the route map is applied.
Supporting Types
GetRouteMapsMap
- As
Path stringMatch Mode - A match statement. It indicates the mode in which the as-path attribute is matched.
- Cen
Id string - The ID of the CEN instance.
- Cen
Region stringId - The ID of the region to which the CEN instance belongs.
- Cidr
Match stringMode - A match statement. It indicates the mode in which the prefix attribute is matched.
- Community
Match stringMode - A match statement. It indicates the mode in which the community attribute is matched.
- Community
Operate stringMode - An action statement. It indicates the mode in which the community attribute is operated.
- Description string
- The description of the route map.
- Destination
Child List<string>Instance Types - A match statement that indicates the list of IDs of the destination instances.
- Destination
Cidr List<string>Blocks - A match statement that indicates the prefix list.
- Destination
Instance List<string>Ids - A match statement that indicates the list of IDs of the destination instances.
- Destination
Instance boolIds Reverse Match - Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
- Destination
Route List<string>Table Ids - 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 isroute_map_id
. - Map
Result string - The action that is performed to a route if the route meets all the match conditions.
- Match
Asns List<string> - A match statement that indicates the As path list.
- Match
Community List<string>Sets - 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 List<string>Sets - An action statement that operates the community attribute.
- Preference int
- An action statement that modifies the preference of the route.
- Prepend
As List<string>Paths - Indicates AS Path prepending when a regional gateway receives or publishes a route.
- Priority int
- The priority of the route map.
- Route
Map stringId - The ID of the route map.
- Route
Types List<string> - A match statement that indicates the list of route types.
- Source
Child List<string>Instance Types - A match statement that indicates the list of IDs of the source instances.
- Source
Instance List<string>Ids - A match statement that indicates the list of IDs of the source instances.
- Source
Instance boolIds Reverse Match - Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
- Source
Region List<string>Ids - A match statement that indicates the list of IDs of the source regions.
- Source
Route List<string>Table Ids - 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
andDeleting
. - Transmit
Direction string - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- As
Path stringMatch Mode - A match statement. It indicates the mode in which the as-path attribute is matched.
- Cen
Id string - The ID of the CEN instance.
- Cen
Region stringId - The ID of the region to which the CEN instance belongs.
- Cidr
Match stringMode - A match statement. It indicates the mode in which the prefix attribute is matched.
- Community
Match stringMode - A match statement. It indicates the mode in which the community attribute is matched.
- Community
Operate stringMode - An action statement. It indicates the mode in which the community attribute is operated.
- Description string
- The description of the route map.
- Destination
Child []stringInstance Types - A match statement that indicates the list of IDs of the destination instances.
- Destination
Cidr []stringBlocks - A match statement that indicates the prefix list.
- Destination
Instance []stringIds - A match statement that indicates the list of IDs of the destination instances.
- Destination
Instance boolIds Reverse Match - Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
- Destination
Route []stringTable Ids - 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 isroute_map_id
. - Map
Result string - The action that is performed to a route if the route meets all the match conditions.
- Match
Asns []string - A match statement that indicates the As path list.
- Match
Community []stringSets - 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 []stringSets - An action statement that operates the community attribute.
- Preference int
- An action statement that modifies the preference of the route.
- Prepend
As []stringPaths - Indicates AS Path prepending when a regional gateway receives or publishes a route.
- Priority int
- The priority of the route map.
- Route
Map stringId - The ID of the route map.
- Route
Types []string - A match statement that indicates the list of route types.
- Source
Child []stringInstance Types - A match statement that indicates the list of IDs of the source instances.
- Source
Instance []stringIds - A match statement that indicates the list of IDs of the source instances.
- Source
Instance boolIds Reverse Match - Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
- Source
Region []stringIds - A match statement that indicates the list of IDs of the source regions.
- Source
Route []stringTable Ids - 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
andDeleting
. - Transmit
Direction string - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- as
Path StringMatch Mode - A match statement. It indicates the mode in which the as-path attribute is matched.
- cen
Id String - The ID of the CEN instance.
- cen
Region StringId - The ID of the region to which the CEN instance belongs.
- cidr
Match StringMode - A match statement. It indicates the mode in which the prefix attribute is matched.
- community
Match StringMode - A match statement. It indicates the mode in which the community attribute is matched.
- community
Operate StringMode - An action statement. It indicates the mode in which the community attribute is operated.
- description String
- The description of the route map.
- destination
Child List<String>Instance Types - A match statement that indicates the list of IDs of the destination instances.
- destination
Cidr List<String>Blocks - A match statement that indicates the prefix list.
- destination
Instance List<String>Ids - A match statement that indicates the list of IDs of the destination instances.
- destination
Instance BooleanIds Reverse Match - Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
- destination
Route List<String>Table Ids - 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 isroute_map_id
. - map
Result String - The action that is performed to a route if the route meets all the match conditions.
- match
Asns List<String> - A match statement that indicates the As path list.
- match
Community List<String>Sets - A match statement that indicates the community set.
- next
Priority Integer - The priority of the next route map that is associated with the current route map.
- operate
Community List<String>Sets - An action statement that operates the community attribute.
- preference Integer
- An action statement that modifies the preference of the route.
- prepend
As List<String>Paths - Indicates AS Path prepending when a regional gateway receives or publishes a route.
- priority Integer
- The priority of the route map.
- route
Map StringId - The ID of the route map.
- route
Types List<String> - A match statement that indicates the list of route types.
- source
Child List<String>Instance Types - A match statement that indicates the list of IDs of the source instances.
- source
Instance List<String>Ids - A match statement that indicates the list of IDs of the source instances.
- source
Instance BooleanIds Reverse Match - Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
- source
Region List<String>Ids - A match statement that indicates the list of IDs of the source regions.
- source
Route List<String>Table Ids - 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
andDeleting
. - transmit
Direction String - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- as
Path stringMatch Mode - A match statement. It indicates the mode in which the as-path attribute is matched.
- cen
Id string - The ID of the CEN instance.
- cen
Region stringId - The ID of the region to which the CEN instance belongs.
- cidr
Match stringMode - A match statement. It indicates the mode in which the prefix attribute is matched.
- community
Match stringMode - A match statement. It indicates the mode in which the community attribute is matched.
- community
Operate stringMode - An action statement. It indicates the mode in which the community attribute is operated.
- description string
- The description of the route map.
- destination
Child string[]Instance Types - A match statement that indicates the list of IDs of the destination instances.
- destination
Cidr string[]Blocks - A match statement that indicates the prefix list.
- destination
Instance string[]Ids - A match statement that indicates the list of IDs of the destination instances.
- destination
Instance booleanIds Reverse Match - Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
- destination
Route string[]Table Ids - 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 isroute_map_id
. - map
Result string - The action that is performed to a route if the route meets all the match conditions.
- match
Asns string[] - A match statement that indicates the As path list.
- match
Community string[]Sets - A match statement that indicates the community set.
- next
Priority number - The priority of the next route map that is associated with the current route map.
- operate
Community string[]Sets - An action statement that operates the community attribute.
- preference number
- An action statement that modifies the preference of the route.
- prepend
As string[]Paths - Indicates AS Path prepending when a regional gateway receives or publishes a route.
- priority number
- The priority of the route map.
- route
Map stringId - The ID of the route map.
- route
Types string[] - A match statement that indicates the list of route types.
- source
Child string[]Instance Types - A match statement that indicates the list of IDs of the source instances.
- source
Instance string[]Ids - A match statement that indicates the list of IDs of the source instances.
- source
Instance booleanIds Reverse Match - Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
- source
Region string[]Ids - A match statement that indicates the list of IDs of the source regions.
- source
Route string[]Table Ids - 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
andDeleting
. - transmit
Direction string - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- as_
path_ strmatch_ mode - 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_ strid - The ID of the region to which the CEN instance belongs.
- cidr_
match_ strmode - A match statement. It indicates the mode in which the prefix attribute is matched.
- community_
match_ strmode - A match statement. It indicates the mode in which the community attribute is matched.
- community_
operate_ strmode - An action statement. It indicates the mode in which the community attribute is operated.
- description str
- The description of the route map.
- destination_
child_ Sequence[str]instance_ types - A match statement that indicates the list of IDs of the destination instances.
- destination_
cidr_ Sequence[str]blocks - A match statement that indicates the prefix list.
- destination_
instance_ Sequence[str]ids - A match statement that indicates the list of IDs of the destination instances.
- destination_
instance_ boolids_ reverse_ match - Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
- destination_
route_ Sequence[str]table_ ids - 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 isroute_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_ Sequence[str]sets - 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_ Sequence[str]sets - An action statement that operates the community attribute.
- preference int
- An action statement that modifies the preference of the route.
- prepend_
as_ Sequence[str]paths - Indicates AS Path prepending when a regional gateway receives or publishes a route.
- priority int
- The priority of the route map.
- route_
map_ strid - The ID of the route map.
- route_
types Sequence[str] - A match statement that indicates the list of route types.
- source_
child_ Sequence[str]instance_ types - A match statement that indicates the list of IDs of the source instances.
- source_
instance_ Sequence[str]ids - A match statement that indicates the list of IDs of the source instances.
- source_
instance_ boolids_ reverse_ match - Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
- source_
region_ Sequence[str]ids - A match statement that indicates the list of IDs of the source regions.
- source_
route_ Sequence[str]table_ ids - 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
andDeleting
. - transmit_
direction str - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
- as
Path StringMatch Mode - A match statement. It indicates the mode in which the as-path attribute is matched.
- cen
Id String - The ID of the CEN instance.
- cen
Region StringId - The ID of the region to which the CEN instance belongs.
- cidr
Match StringMode - A match statement. It indicates the mode in which the prefix attribute is matched.
- community
Match StringMode - A match statement. It indicates the mode in which the community attribute is matched.
- community
Operate StringMode - An action statement. It indicates the mode in which the community attribute is operated.
- description String
- The description of the route map.
- destination
Child List<String>Instance Types - A match statement that indicates the list of IDs of the destination instances.
- destination
Cidr List<String>Blocks - A match statement that indicates the prefix list.
- destination
Instance List<String>Ids - A match statement that indicates the list of IDs of the destination instances.
- destination
Instance BooleanIds Reverse Match - Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
- destination
Route List<String>Table Ids - 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 isroute_map_id
. - map
Result String - The action that is performed to a route if the route meets all the match conditions.
- match
Asns List<String> - A match statement that indicates the As path list.
- match
Community List<String>Sets - A match statement that indicates the community set.
- next
Priority Number - The priority of the next route map that is associated with the current route map.
- operate
Community List<String>Sets - An action statement that operates the community attribute.
- preference Number
- An action statement that modifies the preference of the route.
- prepend
As List<String>Paths - Indicates AS Path prepending when a regional gateway receives or publishes a route.
- priority Number
- The priority of the route map.
- route
Map StringId - The ID of the route map.
- route
Types List<String> - A match statement that indicates the list of route types.
- source
Child List<String>Instance Types - A match statement that indicates the list of IDs of the source instances.
- source
Instance List<String>Ids - A match statement that indicates the list of IDs of the source instances.
- source
Instance BooleanIds Reverse Match - Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
- source
Region List<String>Ids - A match statement that indicates the list of IDs of the source regions.
- source
Route List<String>Table Ids - 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
andDeleting
. - transmit
Direction String - The direction in which the route map is applied, including
RegionIn
andRegionOut
.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.