published on Monday, Jun 15, 2026 by Byteplus
published on Monday, Jun 15, 2026 by Byteplus
Forwarding association of the transit router route table.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const transitRouterRouteTableAssociationDemo = new bytepluscc.transitrouter.TransitRouterRouteTableAssociation("TransitRouterRouteTableAssociationDemo", {
transitRouterAttachmentId: "tr-attach-mjoxz9mx5ji85***",
transitRouterRouteTableId: "tr-rtb-mjoxx4ofrt345sm****",
});
import pulumi
import pulumi_bytepluscc as bytepluscc
transit_router_route_table_association_demo = bytepluscc.transitrouter.TransitRouterRouteTableAssociation("TransitRouterRouteTableAssociationDemo",
transit_router_attachment_id="tr-attach-mjoxz9mx5ji85***",
transit_router_route_table_id="tr-rtb-mjoxx4ofrt345sm****")
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/transitrouter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transitrouter.NewTransitRouterRouteTableAssociation(ctx, "TransitRouterRouteTableAssociationDemo", &transitrouter.TransitRouterRouteTableAssociationArgs{
TransitRouterAttachmentId: pulumi.String("tr-attach-mjoxz9mx5ji85***"),
TransitRouterRouteTableId: pulumi.String("tr-rtb-mjoxx4ofrt345sm****"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var transitRouterRouteTableAssociationDemo = new Bytepluscc.Transitrouter.TransitRouterRouteTableAssociation("TransitRouterRouteTableAssociationDemo", new()
{
TransitRouterAttachmentId = "tr-attach-mjoxz9mx5ji85***",
TransitRouterRouteTableId = "tr-rtb-mjoxx4ofrt345sm****",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.transitrouter.TransitRouterRouteTableAssociation;
import com.byteplus.bytepluscc.transitrouter.TransitRouterRouteTableAssociationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var transitRouterRouteTableAssociationDemo = new TransitRouterRouteTableAssociation("transitRouterRouteTableAssociationDemo", TransitRouterRouteTableAssociationArgs.builder()
.transitRouterAttachmentId("tr-attach-mjoxz9mx5ji85***")
.transitRouterRouteTableId("tr-rtb-mjoxx4ofrt345sm****")
.build());
}
}
resources:
transitRouterRouteTableAssociationDemo:
type: bytepluscc:transitrouter:TransitRouterRouteTableAssociation
name: TransitRouterRouteTableAssociationDemo
properties:
transitRouterAttachmentId: tr-attach-mjoxz9mx5ji85***
transitRouterRouteTableId: tr-rtb-mjoxx4ofrt345sm****
Example coming soon!
Create TransitRouterRouteTableAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouterRouteTableAssociation(name: string, args: TransitRouterRouteTableAssociationArgs, opts?: CustomResourceOptions);@overload
def TransitRouterRouteTableAssociation(resource_name: str,
args: TransitRouterRouteTableAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouterRouteTableAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None)func NewTransitRouterRouteTableAssociation(ctx *Context, name string, args TransitRouterRouteTableAssociationArgs, opts ...ResourceOption) (*TransitRouterRouteTableAssociation, error)public TransitRouterRouteTableAssociation(string name, TransitRouterRouteTableAssociationArgs args, CustomResourceOptions? opts = null)
public TransitRouterRouteTableAssociation(String name, TransitRouterRouteTableAssociationArgs args)
public TransitRouterRouteTableAssociation(String name, TransitRouterRouteTableAssociationArgs args, CustomResourceOptions options)
type: bytepluscc:transitrouter:TransitRouterRouteTableAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_transitrouter_transitrouterroutetableassociation" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TransitRouterRouteTableAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TransitRouterRouteTableAssociationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TransitRouterRouteTableAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterRouteTableAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterRouteTableAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var transitRouterRouteTableAssociationResource = new Bytepluscc.Transitrouter.TransitRouterRouteTableAssociation("transitRouterRouteTableAssociationResource", new()
{
TransitRouterAttachmentId = "string",
TransitRouterRouteTableId = "string",
});
example, err := transitrouter.NewTransitRouterRouteTableAssociation(ctx, "transitRouterRouteTableAssociationResource", &transitrouter.TransitRouterRouteTableAssociationArgs{
TransitRouterAttachmentId: pulumi.String("string"),
TransitRouterRouteTableId: pulumi.String("string"),
})
resource "bytepluscc_transitrouter_transitrouterroutetableassociation" "transitRouterRouteTableAssociationResource" {
transit_router_attachment_id = "string"
transit_router_route_table_id = "string"
}
var transitRouterRouteTableAssociationResource = new TransitRouterRouteTableAssociation("transitRouterRouteTableAssociationResource", TransitRouterRouteTableAssociationArgs.builder()
.transitRouterAttachmentId("string")
.transitRouterRouteTableId("string")
.build());
transit_router_route_table_association_resource = bytepluscc.transitrouter.TransitRouterRouteTableAssociation("transitRouterRouteTableAssociationResource",
transit_router_attachment_id="string",
transit_router_route_table_id="string")
const transitRouterRouteTableAssociationResource = new bytepluscc.transitrouter.TransitRouterRouteTableAssociation("transitRouterRouteTableAssociationResource", {
transitRouterAttachmentId: "string",
transitRouterRouteTableId: "string",
});
type: bytepluscc:transitrouter:TransitRouterRouteTableAssociation
properties:
transitRouterAttachmentId: string
transitRouterRouteTableId: string
TransitRouterRouteTableAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TransitRouterRouteTableAssociation resource accepts the following input properties:
- Transit
Router stringAttachment Id - ID of the network instance connection.
- Transit
Router stringRoute Table Id - ID of the route table associated with the transit router instance.
- Transit
Router stringAttachment Id - ID of the network instance connection.
- Transit
Router stringRoute Table Id - ID of the route table associated with the transit router instance.
- transit_
router_ stringattachment_ id - ID of the network instance connection.
- transit_
router_ stringroute_ table_ id - ID of the route table associated with the transit router instance.
- transit
Router StringAttachment Id - ID of the network instance connection.
- transit
Router StringRoute Table Id - ID of the route table associated with the transit router instance.
- transit
Router stringAttachment Id - ID of the network instance connection.
- transit
Router stringRoute Table Id - ID of the route table associated with the transit router instance.
- transit_
router_ strattachment_ id - ID of the network instance connection.
- transit_
router_ strroute_ table_ id - ID of the route table associated with the transit router instance.
- transit
Router StringAttachment Id - ID of the network instance connection.
- transit
Router StringRoute Table Id - ID of the route table associated with the transit router instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterRouteTableAssociation resource produces the following output properties:
Look up Existing TransitRouterRouteTableAssociation Resource
Get an existing TransitRouterRouteTableAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TransitRouterRouteTableAssociationState, opts?: CustomResourceOptions): TransitRouterRouteTableAssociation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
status: Optional[str] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None) -> TransitRouterRouteTableAssociationfunc GetTransitRouterRouteTableAssociation(ctx *Context, name string, id IDInput, state *TransitRouterRouteTableAssociationState, opts ...ResourceOption) (*TransitRouterRouteTableAssociation, error)public static TransitRouterRouteTableAssociation Get(string name, Input<string> id, TransitRouterRouteTableAssociationState? state, CustomResourceOptions? opts = null)public static TransitRouterRouteTableAssociation get(String name, Output<String> id, TransitRouterRouteTableAssociationState state, CustomResourceOptions options)resources: _: type: bytepluscc:transitrouter:TransitRouterRouteTableAssociation get: id: ${id}import {
to = bytepluscc_transitrouter_transitrouterroutetableassociation.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Status string
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- Transit
Router stringAttachment Id - ID of the network instance connection.
- Transit
Router stringRoute Table Id - ID of the route table associated with the transit router instance.
- Status string
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- Transit
Router stringAttachment Id - ID of the network instance connection.
- Transit
Router stringRoute Table Id - ID of the route table associated with the transit router instance.
- status string
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- transit_
router_ stringattachment_ id - ID of the network instance connection.
- transit_
router_ stringroute_ table_ id - ID of the route table associated with the transit router instance.
- status String
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- transit
Router StringAttachment Id - ID of the network instance connection.
- transit
Router StringRoute Table Id - ID of the route table associated with the transit router instance.
- status string
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- transit
Router stringAttachment Id - ID of the network instance connection.
- transit
Router stringRoute Table Id - ID of the route table associated with the transit router instance.
- status str
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- transit_
router_ strattachment_ id - ID of the network instance connection.
- transit_
router_ strroute_ table_ id - ID of the route table associated with the transit router instance.
- status String
- Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
- transit
Router StringAttachment Id - ID of the network instance connection.
- transit
Router StringRoute Table Id - ID of the route table associated with the transit router instance.
Import
$ pulumi import bytepluscc:transitrouter/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation example "transit_router_route_table_id|transit_router_attachment_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Monday, Jun 15, 2026 by Byteplus