Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.cen.getTransitRouteTableAggregations
This data source provides the Cen Transit Route Table Aggregations of the current Alibaba Cloud user.
NOTE: Available in v1.202.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.cen.getTransitRouteTableAggregations({
ids: ["example_id"],
transitRouteTableId: "your_transit_route_table_id",
});
export const cenTransitRouterMulticastDomainId0 = ids.then(ids => ids.transitRouteTableAggregations?.[0]?.id);
const nameRegex = alicloud.cen.getTransitRouteTableAggregations({
nameRegex: "^my-name",
transitRouteTableId: "your_transit_route_table_id",
});
export const cenTransitRouterMulticastDomainId1 = nameRegex.then(nameRegex => nameRegex.transitRouteTableAggregations?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.cen.get_transit_route_table_aggregations(ids=["example_id"],
transit_route_table_id="your_transit_route_table_id")
pulumi.export("cenTransitRouterMulticastDomainId0", ids.transit_route_table_aggregations[0].id)
name_regex = alicloud.cen.get_transit_route_table_aggregations(name_regex="^my-name",
transit_route_table_id="your_transit_route_table_id")
pulumi.export("cenTransitRouterMulticastDomainId1", name_regex.transit_route_table_aggregations[0].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 {
ids, err := cen.GetTransitRouteTableAggregations(ctx, &cen.GetTransitRouteTableAggregationsArgs{
Ids: []string{
"example_id",
},
TransitRouteTableId: "your_transit_route_table_id",
}, nil)
if err != nil {
return err
}
ctx.Export("cenTransitRouterMulticastDomainId0", ids.TransitRouteTableAggregations[0].Id)
nameRegex, err := cen.GetTransitRouteTableAggregations(ctx, &cen.GetTransitRouteTableAggregationsArgs{
NameRegex: pulumi.StringRef("^my-name"),
TransitRouteTableId: "your_transit_route_table_id",
}, nil)
if err != nil {
return err
}
ctx.Export("cenTransitRouterMulticastDomainId1", nameRegex.TransitRouteTableAggregations[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Cen.GetTransitRouteTableAggregations.Invoke(new()
{
Ids = new[]
{
"example_id",
},
TransitRouteTableId = "your_transit_route_table_id",
});
var nameRegex = AliCloud.Cen.GetTransitRouteTableAggregations.Invoke(new()
{
NameRegex = "^my-name",
TransitRouteTableId = "your_transit_route_table_id",
});
return new Dictionary<string, object?>
{
["cenTransitRouterMulticastDomainId0"] = ids.Apply(getTransitRouteTableAggregationsResult => getTransitRouteTableAggregationsResult.TransitRouteTableAggregations[0]?.Id),
["cenTransitRouterMulticastDomainId1"] = nameRegex.Apply(getTransitRouteTableAggregationsResult => getTransitRouteTableAggregationsResult.TransitRouteTableAggregations[0]?.Id),
};
});
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.GetTransitRouteTableAggregationsArgs;
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 ids = CenFunctions.getTransitRouteTableAggregations(GetTransitRouteTableAggregationsArgs.builder()
.ids("example_id")
.transitRouteTableId("your_transit_route_table_id")
.build());
ctx.export("cenTransitRouterMulticastDomainId0", ids.transitRouteTableAggregations()[0].id());
final var nameRegex = CenFunctions.getTransitRouteTableAggregations(GetTransitRouteTableAggregationsArgs.builder()
.nameRegex("^my-name")
.transitRouteTableId("your_transit_route_table_id")
.build());
ctx.export("cenTransitRouterMulticastDomainId1", nameRegex.transitRouteTableAggregations()[0].id());
}
}
variables:
ids:
fn::invoke:
function: alicloud:cen:getTransitRouteTableAggregations
arguments:
ids:
- example_id
transitRouteTableId: your_transit_route_table_id
nameRegex:
fn::invoke:
function: alicloud:cen:getTransitRouteTableAggregations
arguments:
nameRegex: ^my-name
transitRouteTableId: your_transit_route_table_id
outputs:
cenTransitRouterMulticastDomainId0: ${ids.transitRouteTableAggregations[0].id}
cenTransitRouterMulticastDomainId1: ${nameRegex.transitRouteTableAggregations[0].id}
Using getTransitRouteTableAggregations
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 getTransitRouteTableAggregations(args: GetTransitRouteTableAggregationsArgs, opts?: InvokeOptions): Promise<GetTransitRouteTableAggregationsResult>
function getTransitRouteTableAggregationsOutput(args: GetTransitRouteTableAggregationsOutputArgs, opts?: InvokeOptions): Output<GetTransitRouteTableAggregationsResult>def get_transit_route_table_aggregations(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
transit_route_table_aggregation_cidr: Optional[str] = None,
transit_route_table_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTransitRouteTableAggregationsResult
def get_transit_route_table_aggregations_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
transit_route_table_aggregation_cidr: Optional[pulumi.Input[str]] = None,
transit_route_table_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTransitRouteTableAggregationsResult]func GetTransitRouteTableAggregations(ctx *Context, args *GetTransitRouteTableAggregationsArgs, opts ...InvokeOption) (*GetTransitRouteTableAggregationsResult, error)
func GetTransitRouteTableAggregationsOutput(ctx *Context, args *GetTransitRouteTableAggregationsOutputArgs, opts ...InvokeOption) GetTransitRouteTableAggregationsResultOutput> Note: This function is named GetTransitRouteTableAggregations in the Go SDK.
public static class GetTransitRouteTableAggregations
{
public static Task<GetTransitRouteTableAggregationsResult> InvokeAsync(GetTransitRouteTableAggregationsArgs args, InvokeOptions? opts = null)
public static Output<GetTransitRouteTableAggregationsResult> Invoke(GetTransitRouteTableAggregationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTransitRouteTableAggregationsResult> getTransitRouteTableAggregations(GetTransitRouteTableAggregationsArgs args, InvokeOptions options)
public static Output<GetTransitRouteTableAggregationsResult> getTransitRouteTableAggregations(GetTransitRouteTableAggregationsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cen/getTransitRouteTableAggregations:getTransitRouteTableAggregations
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- Ids List<string>
- A list of Transit Route Table Aggregation IDs.
- Name
Regex string - A regex string to filter results by Transit Route Table Aggregation name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - Transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- Transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- Ids []string
- A list of Transit Route Table Aggregation IDs.
- Name
Regex string - A regex string to filter results by Transit Route Table Aggregation name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - Transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- transit
Route StringTable Id - The ID of the route table of the Enterprise Edition transit router.
- ids List<String>
- A list of Transit Route Table Aggregation IDs.
- name
Regex String - A regex string to filter results by Transit Route Table Aggregation name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit
Route StringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- ids string[]
- A list of Transit Route Table Aggregation IDs.
- name
Regex string - A regex string to filter results by Transit Route Table Aggregation name.
- output
File string - File name where to save data source results (after running
pulumi preview). - status string
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- transit_
route_ strtable_ id - The ID of the route table of the Enterprise Edition transit router.
- ids Sequence[str]
- A list of Transit Route Table Aggregation IDs.
- name_
regex str - A regex string to filter results by Transit Route Table Aggregation name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - status str
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit_
route_ strtable_ aggregation_ cidr - The destination CIDR block of the aggregate route.
- transit
Route StringTable Id - The ID of the route table of the Enterprise Edition transit router.
- ids List<String>
- A list of Transit Route Table Aggregation IDs.
- name
Regex String - A regex string to filter results by Transit Route Table Aggregation name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit
Route StringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
getTransitRouteTableAggregations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- A list of Transit Route Table Aggregation names.
- Transit
Route List<Pulumi.Table Aggregations Ali Cloud. Cen. Outputs. Get Transit Route Table Aggregations Transit Route Table Aggregation> - A list of Cen Transit Route Table Aggregations. Each element contains the following attributes:
- Transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- Name
Regex string - Output
File string - Status string
- The status of the Transit Route Table Aggregation.
- Transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- A list of Transit Route Table Aggregation names.
- Transit
Route []GetTable Aggregations Transit Route Table Aggregations Transit Route Table Aggregation - A list of Cen Transit Route Table Aggregations. Each element contains the following attributes:
- Transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- Name
Regex string - Output
File string - Status string
- The status of the Transit Route Table Aggregation.
- Transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Transit Route Table Aggregation names.
- transit
Route List<GetTable Aggregations Transit Route Table Aggregations Transit Route Table Aggregation> - A list of Cen Transit Route Table Aggregations. Each element contains the following attributes:
- transit
Route StringTable Id - The ID of the route table of the Enterprise Edition transit router.
- name
Regex String - output
File String - status String
- The status of the Transit Route Table Aggregation.
- transit
Route StringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- A list of Transit Route Table Aggregation names.
- transit
Route GetTable Aggregations Transit Route Table Aggregations Transit Route Table Aggregation[] - A list of Cen Transit Route Table Aggregations. Each element contains the following attributes:
- transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- name
Regex string - output
File string - status string
- The status of the Transit Route Table Aggregation.
- transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- A list of Transit Route Table Aggregation names.
- transit_
route_ Sequence[Gettable_ aggregations Transit Route Table Aggregations Transit Route Table Aggregation] - A list of Cen Transit Route Table Aggregations. Each element contains the following attributes:
- transit_
route_ strtable_ id - The ID of the route table of the Enterprise Edition transit router.
- name_
regex str - output_
file str - status str
- The status of the Transit Route Table Aggregation.
- transit_
route_ strtable_ aggregation_ cidr - The destination CIDR block of the aggregate route.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Transit Route Table Aggregation names.
- transit
Route List<Property Map>Table Aggregations - A list of Cen Transit Route Table Aggregations. Each element contains the following attributes:
- transit
Route StringTable Id - The ID of the route table of the Enterprise Edition transit router.
- name
Regex String - output
File String - status String
- The status of the Transit Route Table Aggregation.
- transit
Route StringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
Supporting Types
GetTransitRouteTableAggregationsTransitRouteTableAggregation
- Id string
- The ID of the Transit Route Table Aggregation. It formats as
<transit_route_table_id>:<transit_route_table_aggregation_cidr>. - Route
Type string - The route type of the aggregate route.
- Status string
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - Transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- Transit
Route stringTable Aggregation Description - The description of the aggregate route.
- Transit
Route stringTable Aggregation Name - The name of the aggregate route.
- Transit
Route stringTable Aggregation Scope - The scope of networks that you want to advertise the aggregate route.
- Transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- Id string
- The ID of the Transit Route Table Aggregation. It formats as
<transit_route_table_id>:<transit_route_table_aggregation_cidr>. - Route
Type string - The route type of the aggregate route.
- Status string
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - Transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- Transit
Route stringTable Aggregation Description - The description of the aggregate route.
- Transit
Route stringTable Aggregation Name - The name of the aggregate route.
- Transit
Route stringTable Aggregation Scope - The scope of networks that you want to advertise the aggregate route.
- Transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- id String
- The ID of the Transit Route Table Aggregation. It formats as
<transit_route_table_id>:<transit_route_table_aggregation_cidr>. - route
Type String - The route type of the aggregate route.
- status String
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit
Route StringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- transit
Route StringTable Aggregation Description - The description of the aggregate route.
- transit
Route StringTable Aggregation Name - The name of the aggregate route.
- transit
Route StringTable Aggregation Scope - The scope of networks that you want to advertise the aggregate route.
- transit
Route StringTable Id - The ID of the route table of the Enterprise Edition transit router.
- id string
- The ID of the Transit Route Table Aggregation. It formats as
<transit_route_table_id>:<transit_route_table_aggregation_cidr>. - route
Type string - The route type of the aggregate route.
- status string
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit
Route stringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- transit
Route stringTable Aggregation Description - The description of the aggregate route.
- transit
Route stringTable Aggregation Name - The name of the aggregate route.
- transit
Route stringTable Aggregation Scope - The scope of networks that you want to advertise the aggregate route.
- transit
Route stringTable Id - The ID of the route table of the Enterprise Edition transit router.
- id str
- The ID of the Transit Route Table Aggregation. It formats as
<transit_route_table_id>:<transit_route_table_aggregation_cidr>. - route_
type str - The route type of the aggregate route.
- status str
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit_
route_ strtable_ aggregation_ cidr - The destination CIDR block of the aggregate route.
- transit_
route_ strtable_ aggregation_ description - The description of the aggregate route.
- transit_
route_ strtable_ aggregation_ name - The name of the aggregate route.
- transit_
route_ strtable_ aggregation_ scope - The scope of networks that you want to advertise the aggregate route.
- transit_
route_ strtable_ id - The ID of the route table of the Enterprise Edition transit router.
- id String
- The ID of the Transit Route Table Aggregation. It formats as
<transit_route_table_id>:<transit_route_table_aggregation_cidr>. - route
Type String - The route type of the aggregate route.
- status String
- The status of Transit Route Table Aggregation. Valid Values:
AllConfigured,Configuring,ConfigFailed,PartialConfigured,Deleting. - transit
Route StringTable Aggregation Cidr - The destination CIDR block of the aggregate route.
- transit
Route StringTable Aggregation Description - The description of the aggregate route.
- transit
Route StringTable Aggregation Name - The name of the aggregate route.
- transit
Route StringTable Aggregation Scope - The scope of networks that you want to advertise the aggregate route.
- transit
Route StringTable Id - The ID of the route table of the Enterprise Edition transit router.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
