Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of transit router route table associations
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.transit_router.getRouteTableAssociations({
transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq",
transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.transit_router.get_route_table_associations(transit_router_attachment_id="tr-attach-im73ng3n5kao8gbssz2ddpuq",
transit_router_route_table_id="tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/transit_router"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transit_router.GetRouteTableAssociations(ctx, &transit_router.GetRouteTableAssociationsArgs{
TransitRouterAttachmentId: pulumi.StringRef("tr-attach-im73ng3n5kao8gbssz2ddpuq"),
TransitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Transit_router.GetRouteTableAssociations.Invoke(new()
{
TransitRouterAttachmentId = "tr-attach-im73ng3n5kao8gbssz2ddpuq",
TransitRouterRouteTableId = "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.transit_router.Transit_routerFunctions;
import com.pulumi.volcengine.transit_router.inputs.GetRouteTableAssociationsArgs;
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 default = Transit_routerFunctions.getRouteTableAssociations(GetRouteTableAssociationsArgs.builder()
.transitRouterAttachmentId("tr-attach-im73ng3n5kao8gbssz2ddpuq")
.transitRouterRouteTableId("tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:transit_router:getRouteTableAssociations
Arguments:
transitRouterAttachmentId: tr-attach-im73ng3n5kao8gbssz2ddpuq
transitRouterRouteTableId: tr-rtb-12b7qd3fmzf2817q7y2jkbd55
Using getRouteTableAssociations
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 getRouteTableAssociations(args: GetRouteTableAssociationsArgs, opts?: InvokeOptions): Promise<GetRouteTableAssociationsResult>
function getRouteTableAssociationsOutput(args: GetRouteTableAssociationsOutputArgs, opts?: InvokeOptions): Output<GetRouteTableAssociationsResult>def get_route_table_associations(output_file: Optional[str] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteTableAssociationsResult
def get_route_table_associations_output(output_file: Optional[pulumi.Input[str]] = None,
transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
transit_router_route_table_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteTableAssociationsResult]func GetRouteTableAssociations(ctx *Context, args *GetRouteTableAssociationsArgs, opts ...InvokeOption) (*GetRouteTableAssociationsResult, error)
func GetRouteTableAssociationsOutput(ctx *Context, args *GetRouteTableAssociationsOutputArgs, opts ...InvokeOption) GetRouteTableAssociationsResultOutput> Note: This function is named GetRouteTableAssociations in the Go SDK.
public static class GetRouteTableAssociations
{
public static Task<GetRouteTableAssociationsResult> InvokeAsync(GetRouteTableAssociationsArgs args, InvokeOptions? opts = null)
public static Output<GetRouteTableAssociationsResult> Invoke(GetRouteTableAssociationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRouteTableAssociationsResult> getRouteTableAssociations(GetRouteTableAssociationsArgs args, InvokeOptions options)
public static Output<GetRouteTableAssociationsResult> getRouteTableAssociations(GetRouteTableAssociationsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:transit_router/getRouteTableAssociations:getRouteTableAssociations
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- Output
File string - File name where to save data source results.
- Transit
Router stringAttachment Id - The ID of the network instance connection.
- Transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- Output
File string - File name where to save data source results.
- Transit
Router stringAttachment Id - The ID of the network instance connection.
- transit
Router StringRoute Table Id - The ID of the routing table associated with the transit router instance.
- output
File String - File name where to save data source results.
- transit
Router StringAttachment Id - The ID of the network instance connection.
- transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- output
File string - File name where to save data source results.
- transit
Router stringAttachment Id - The ID of the network instance connection.
- transit_
router_ strroute_ table_ id - The ID of the routing table associated with the transit router instance.
- output_
file str - File name where to save data source results.
- transit_
router_ strattachment_ id - The ID of the network instance connection.
- transit
Router StringRoute Table Id - The ID of the routing table associated with the transit router instance.
- output
File String - File name where to save data source results.
- transit
Router StringAttachment Id - The ID of the network instance connection.
getRouteTableAssociations Result
The following output properties are available:
- Associations
List<Get
Route Table Associations Association> - The list of route table associations.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of data query.
- Transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- Output
File string - Transit
Router stringAttachment Id - The ID of the network instance connection.
- Associations
[]Get
Route Table Associations Association - The list of route table associations.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of data query.
- Transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- Output
File string - Transit
Router stringAttachment Id - The ID of the network instance connection.
- associations
List<Get
Route Table Associations Association> - The list of route table associations.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of data query.
- transit
Router StringRoute Table Id - The ID of the routing table associated with the transit router instance.
- output
File String - transit
Router StringAttachment Id - The ID of the network instance connection.
- associations
Get
Route Table Associations Association[] - The list of route table associations.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of data query.
- transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- output
File string - transit
Router stringAttachment Id - The ID of the network instance connection.
- associations
Sequence[Get
Route Table Associations Association] - The list of route table associations.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of data query.
- transit_
router_ strroute_ table_ id - The ID of the routing table associated with the transit router instance.
- output_
file str - transit_
router_ strattachment_ id - The ID of the network instance connection.
- associations List<Property Map>
- The list of route table associations.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of data query.
- transit
Router StringRoute Table Id - The ID of the routing table associated with the transit router instance.
- output
File String - transit
Router StringAttachment Id - The ID of the network instance connection.
Supporting Types
GetRouteTableAssociationsAssociation
- Status string
- The status of the route table.
- Transit
Router stringAttachment Id - The ID of the network instance connection.
- Transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- Status string
- The status of the route table.
- Transit
Router stringAttachment Id - The ID of the network instance connection.
- Transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- status String
- The status of the route table.
- transit
Router StringAttachment Id - The ID of the network instance connection.
- transit
Router StringRoute Table Id - The ID of the routing table associated with the transit router instance.
- status string
- The status of the route table.
- transit
Router stringAttachment Id - The ID of the network instance connection.
- transit
Router stringRoute Table Id - The ID of the routing table associated with the transit router instance.
- status str
- The status of the route table.
- transit_
router_ strattachment_ id - The ID of the network instance connection.
- transit_
router_ strroute_ table_ id - The ID of the routing table associated with the transit router instance.
- status String
- The status of the route table.
- transit
Router StringAttachment Id - The ID of the network instance connection.
- transit
Router StringRoute Table Id - The ID of the routing table associated with the transit router instance.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
