published on Sunday, May 10, 2026 by Pulumi
published on Sunday, May 10, 2026 by Pulumi
Provides a Cloud Enterprise Network (CEN) Transit Router Vbr Attachment resource.
For information about Cloud Enterprise Network (CEN) Transit Router Vbr Attachment and how to use it, see What is Transit Router Vbr Attachment.
NOTE: Available since v1.126.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const nameRegex = alicloud.expressconnect.getPhysicalConnections({
nameRegex: "^preserved-NODELETING",
});
const _default = new alicloud.cen.Instance("default", {
cenInstanceName: name,
protectionLevel: "REDUCED",
});
const defaultTransitRouter = new alicloud.cen.TransitRouter("default", {cenId: _default.id});
const defaultVirtualBorderRouter = new alicloud.expressconnect.VirtualBorderRouter("default", {
localGatewayIp: "10.0.0.1",
peerGatewayIp: "10.0.0.2",
peeringSubnetMask: "255.255.255.252",
physicalConnectionId: nameRegex.then(nameRegex => nameRegex.connections?.[0]?.id),
virtualBorderRouterName: name,
vlanId: 2420,
minRxInterval: 1000,
minTxInterval: 1000,
detectMultiplier: 10,
});
const defaultTransitRouterVbrAttachment = new alicloud.cen.TransitRouterVbrAttachment("default", {
cenId: _default.id,
vbrId: defaultVirtualBorderRouter.id,
transitRouterId: defaultTransitRouter.transitRouterId,
transitRouterAttachmentName: name,
transitRouterAttachmentDescription: name,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
name_regex = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
default = alicloud.cen.Instance("default",
cen_instance_name=name,
protection_level="REDUCED")
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default.id)
default_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("default",
local_gateway_ip="10.0.0.1",
peer_gateway_ip="10.0.0.2",
peering_subnet_mask="255.255.255.252",
physical_connection_id=name_regex.connections[0].id,
virtual_border_router_name=name,
vlan_id=2420,
min_rx_interval=1000,
min_tx_interval=1000,
detect_multiplier=10)
default_transit_router_vbr_attachment = alicloud.cen.TransitRouterVbrAttachment("default",
cen_id=default.id,
vbr_id=default_virtual_border_router.id,
transit_router_id=default_transit_router.transit_router_id,
transit_router_attachment_name=name,
transit_router_attachment_description=name)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
nameRegex, err := expressconnect.GetPhysicalConnections(ctx, &expressconnect.GetPhysicalConnectionsArgs{
NameRegex: pulumi.StringRef("^preserved-NODELETING"),
}, nil)
if err != nil {
return err
}
_default, err := cen.NewInstance(ctx, "default", &cen.InstanceArgs{
CenInstanceName: pulumi.String(pulumi.String(name)),
ProtectionLevel: pulumi.String("REDUCED"),
})
if err != nil {
return err
}
defaultTransitRouter, err := cen.NewTransitRouter(ctx, "default", &cen.TransitRouterArgs{
CenId: _default.ID(),
})
if err != nil {
return err
}
defaultVirtualBorderRouter, err := expressconnect.NewVirtualBorderRouter(ctx, "default", &expressconnect.VirtualBorderRouterArgs{
LocalGatewayIp: pulumi.String("10.0.0.1"),
PeerGatewayIp: pulumi.String("10.0.0.2"),
PeeringSubnetMask: pulumi.String("255.255.255.252"),
PhysicalConnectionId: pulumi.String(pulumi.String(nameRegex.Connections[0].Id)),
VirtualBorderRouterName: pulumi.String(pulumi.String(name)),
VlanId: pulumi.Int(2420),
MinRxInterval: pulumi.Int(1000),
MinTxInterval: pulumi.Int(1000),
DetectMultiplier: pulumi.Int(10),
})
if err != nil {
return err
}
_, err = cen.NewTransitRouterVbrAttachment(ctx, "default", &cen.TransitRouterVbrAttachmentArgs{
CenId: _default.ID(),
VbrId: defaultVirtualBorderRouter.ID(),
TransitRouterId: defaultTransitRouter.TransitRouterId,
TransitRouterAttachmentName: pulumi.String(pulumi.String(name)),
TransitRouterAttachmentDescription: pulumi.String(pulumi.String(name)),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var nameRegex = AliCloud.ExpressConnect.GetPhysicalConnections.Invoke(new()
{
NameRegex = "^preserved-NODELETING",
});
var @default = new AliCloud.Cen.Instance("default", new()
{
CenInstanceName = name,
ProtectionLevel = "REDUCED",
});
var defaultTransitRouter = new AliCloud.Cen.TransitRouter("default", new()
{
CenId = @default.Id,
});
var defaultVirtualBorderRouter = new AliCloud.ExpressConnect.VirtualBorderRouter("default", new()
{
LocalGatewayIp = "10.0.0.1",
PeerGatewayIp = "10.0.0.2",
PeeringSubnetMask = "255.255.255.252",
PhysicalConnectionId = nameRegex.Apply(getPhysicalConnectionsResult => getPhysicalConnectionsResult.Connections[0]?.Id),
VirtualBorderRouterName = name,
VlanId = 2420,
MinRxInterval = 1000,
MinTxInterval = 1000,
DetectMultiplier = 10,
});
var defaultTransitRouterVbrAttachment = new AliCloud.Cen.TransitRouterVbrAttachment("default", new()
{
CenId = @default.Id,
VbrId = defaultVirtualBorderRouter.Id,
TransitRouterId = defaultTransitRouter.TransitRouterId,
TransitRouterAttachmentName = name,
TransitRouterAttachmentDescription = name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
import com.pulumi.alicloud.expressconnect.inputs.GetPhysicalConnectionsArgs;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.TransitRouter;
import com.pulumi.alicloud.cen.TransitRouterArgs;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouter;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
import com.pulumi.alicloud.cen.TransitRouterVbrAttachment;
import com.pulumi.alicloud.cen.TransitRouterVbrAttachmentArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var nameRegex = ExpressconnectFunctions.getPhysicalConnections(GetPhysicalConnectionsArgs.builder()
.nameRegex("^preserved-NODELETING")
.build());
var default_ = new Instance("default", InstanceArgs.builder()
.cenInstanceName(name)
.protectionLevel("REDUCED")
.build());
var defaultTransitRouter = new TransitRouter("defaultTransitRouter", TransitRouterArgs.builder()
.cenId(default_.id())
.build());
var defaultVirtualBorderRouter = new VirtualBorderRouter("defaultVirtualBorderRouter", VirtualBorderRouterArgs.builder()
.localGatewayIp("10.0.0.1")
.peerGatewayIp("10.0.0.2")
.peeringSubnetMask("255.255.255.252")
.physicalConnectionId(nameRegex.connections()[0].id())
.virtualBorderRouterName(name)
.vlanId(2420)
.minRxInterval(1000)
.minTxInterval(1000)
.detectMultiplier(10)
.build());
var defaultTransitRouterVbrAttachment = new TransitRouterVbrAttachment("defaultTransitRouterVbrAttachment", TransitRouterVbrAttachmentArgs.builder()
.cenId(default_.id())
.vbrId(defaultVirtualBorderRouter.id())
.transitRouterId(defaultTransitRouter.transitRouterId())
.transitRouterAttachmentName(name)
.transitRouterAttachmentDescription(name)
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:cen:Instance
properties:
cenInstanceName: ${name}
protectionLevel: REDUCED
defaultTransitRouter:
type: alicloud:cen:TransitRouter
name: default
properties:
cenId: ${default.id}
defaultVirtualBorderRouter:
type: alicloud:expressconnect:VirtualBorderRouter
name: default
properties:
localGatewayIp: 10.0.0.1
peerGatewayIp: 10.0.0.2
peeringSubnetMask: 255.255.255.252
physicalConnectionId: ${nameRegex.connections[0].id}
virtualBorderRouterName: ${name}
vlanId: 2420
minRxInterval: 1000
minTxInterval: 1000
detectMultiplier: 10
defaultTransitRouterVbrAttachment:
type: alicloud:cen:TransitRouterVbrAttachment
name: default
properties:
cenId: ${default.id}
vbrId: ${defaultVirtualBorderRouter.id}
transitRouterId: ${defaultTransitRouter.transitRouterId}
transitRouterAttachmentName: ${name}
transitRouterAttachmentDescription: ${name}
variables:
nameRegex:
fn::invoke:
function: alicloud:expressconnect:getPhysicalConnections
arguments:
nameRegex: ^preserved-NODELETING
Example coming soon!
📚 Need more examples? VIEW MORE EXAMPLES
Create TransitRouterVbrAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouterVbrAttachment(name: string, args: TransitRouterVbrAttachmentArgs, opts?: CustomResourceOptions);@overload
def TransitRouterVbrAttachment(resource_name: str,
args: TransitRouterVbrAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouterVbrAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
vbr_id: Optional[str] = None,
route_table_propagation_enabled: Optional[bool] = None,
dry_run: Optional[bool] = None,
order_type: Optional[str] = None,
resource_type: Optional[str] = None,
route_table_association_enabled: Optional[bool] = None,
auto_publish_route_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
transit_router_attachment_description: Optional[str] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_id: Optional[str] = None,
cen_id: Optional[str] = None,
vbr_owner_id: Optional[str] = None)func NewTransitRouterVbrAttachment(ctx *Context, name string, args TransitRouterVbrAttachmentArgs, opts ...ResourceOption) (*TransitRouterVbrAttachment, error)public TransitRouterVbrAttachment(string name, TransitRouterVbrAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitRouterVbrAttachment(String name, TransitRouterVbrAttachmentArgs args)
public TransitRouterVbrAttachment(String name, TransitRouterVbrAttachmentArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterVbrAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_cen_transitroutervbrattachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TransitRouterVbrAttachmentArgs
- 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 TransitRouterVbrAttachmentArgs
- 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 TransitRouterVbrAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterVbrAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterVbrAttachmentArgs
- 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 transitRouterVbrAttachmentResource = new AliCloud.Cen.TransitRouterVbrAttachment("transitRouterVbrAttachmentResource", new()
{
VbrId = "string",
DryRun = false,
OrderType = "string",
ResourceType = "string",
AutoPublishRouteEnabled = false,
Tags =
{
{ "string", "string" },
},
TransitRouterAttachmentDescription = "string",
TransitRouterAttachmentName = "string",
TransitRouterId = "string",
CenId = "string",
VbrOwnerId = "string",
});
example, err := cen.NewTransitRouterVbrAttachment(ctx, "transitRouterVbrAttachmentResource", &cen.TransitRouterVbrAttachmentArgs{
VbrId: pulumi.String("string"),
DryRun: pulumi.Bool(false),
OrderType: pulumi.String("string"),
ResourceType: pulumi.String("string"),
AutoPublishRouteEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TransitRouterAttachmentDescription: pulumi.String("string"),
TransitRouterAttachmentName: pulumi.String("string"),
TransitRouterId: pulumi.String("string"),
CenId: pulumi.String("string"),
VbrOwnerId: pulumi.String("string"),
})
resource "alicloud_cen_transitroutervbrattachment" "transitRouterVbrAttachmentResource" {
vbr_id = "string"
dry_run = false
order_type = "string"
resource_type = "string"
auto_publish_route_enabled = false
tags = {
"string" = "string"
}
transit_router_attachment_description = "string"
transit_router_attachment_name = "string"
transit_router_id = "string"
cen_id = "string"
vbr_owner_id = "string"
}
var transitRouterVbrAttachmentResource = new TransitRouterVbrAttachment("transitRouterVbrAttachmentResource", TransitRouterVbrAttachmentArgs.builder()
.vbrId("string")
.dryRun(false)
.orderType("string")
.resourceType("string")
.autoPublishRouteEnabled(false)
.tags(Map.of("string", "string"))
.transitRouterAttachmentDescription("string")
.transitRouterAttachmentName("string")
.transitRouterId("string")
.cenId("string")
.vbrOwnerId("string")
.build());
transit_router_vbr_attachment_resource = alicloud.cen.TransitRouterVbrAttachment("transitRouterVbrAttachmentResource",
vbr_id="string",
dry_run=False,
order_type="string",
resource_type="string",
auto_publish_route_enabled=False,
tags={
"string": "string",
},
transit_router_attachment_description="string",
transit_router_attachment_name="string",
transit_router_id="string",
cen_id="string",
vbr_owner_id="string")
const transitRouterVbrAttachmentResource = new alicloud.cen.TransitRouterVbrAttachment("transitRouterVbrAttachmentResource", {
vbrId: "string",
dryRun: false,
orderType: "string",
resourceType: "string",
autoPublishRouteEnabled: false,
tags: {
string: "string",
},
transitRouterAttachmentDescription: "string",
transitRouterAttachmentName: "string",
transitRouterId: "string",
cenId: "string",
vbrOwnerId: "string",
});
type: alicloud:cen:TransitRouterVbrAttachment
properties:
autoPublishRouteEnabled: false
cenId: string
dryRun: false
orderType: string
resourceType: string
tags:
string: string
transitRouterAttachmentDescription: string
transitRouterAttachmentName: string
transitRouterId: string
vbrId: string
vbrOwnerId: string
TransitRouterVbrAttachment 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 TransitRouterVbrAttachment resource accepts the following input properties:
- Vbr
Id string - VbrId
- Auto
Publish boolRoute Enabled - AutoPublishRouteEnabled
- Cen
Id string - CenId
- Dry
Run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - Order
Type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- Resource
Type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - Route
Table boolAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - Route
Table boolPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - Dictionary<string, string>
- The tag of the resource
- Transit
Router stringAttachment Description - TransitRouterAttachmentDescription
- Transit
Router stringAttachment Name - TransitRouterAttachmentName
- Transit
Router stringId - TransitRouterId
- Vbr
Owner stringId - VbrOwnerId
- Vbr
Id string - VbrId
- Auto
Publish boolRoute Enabled - AutoPublishRouteEnabled
- Cen
Id string - CenId
- Dry
Run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - Order
Type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- Resource
Type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - Route
Table boolAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - Route
Table boolPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - map[string]string
- The tag of the resource
- Transit
Router stringAttachment Description - TransitRouterAttachmentDescription
- Transit
Router stringAttachment Name - TransitRouterAttachmentName
- Transit
Router stringId - TransitRouterId
- Vbr
Owner stringId - VbrOwnerId
- vbr_
id string - VbrId
- auto_
publish_ boolroute_ enabled - AutoPublishRouteEnabled
- cen_
id string - CenId
- dry_
run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order_
type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- resource_
type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route_
table_ boolassociation_ enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route_
table_ boolpropagation_ enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - map(string)
- The tag of the resource
- transit_
router_ stringattachment_ description - TransitRouterAttachmentDescription
- transit_
router_ stringattachment_ name - TransitRouterAttachmentName
- transit_
router_ stringid - TransitRouterId
- vbr_
owner_ stringid - VbrOwnerId
- vbr
Id String - VbrId
- auto
Publish BooleanRoute Enabled - AutoPublishRouteEnabled
- cen
Id String - CenId
- dry
Run Boolean - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order
Type String - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- resource
Type String - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route
Table BooleanAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route
Table BooleanPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - Map<String,String>
- The tag of the resource
- transit
Router StringAttachment Description - TransitRouterAttachmentDescription
- transit
Router StringAttachment Name - TransitRouterAttachmentName
- transit
Router StringId - TransitRouterId
- vbr
Owner StringId - VbrOwnerId
- vbr
Id string - VbrId
- auto
Publish booleanRoute Enabled - AutoPublishRouteEnabled
- cen
Id string - CenId
- dry
Run boolean - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order
Type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- resource
Type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route
Table booleanAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route
Table booleanPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - {[key: string]: string}
- The tag of the resource
- transit
Router stringAttachment Description - TransitRouterAttachmentDescription
- transit
Router stringAttachment Name - TransitRouterAttachmentName
- transit
Router stringId - TransitRouterId
- vbr
Owner stringId - VbrOwnerId
- vbr_
id str - VbrId
- auto_
publish_ boolroute_ enabled - AutoPublishRouteEnabled
- cen_
id str - CenId
- dry_
run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order_
type str - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- resource_
type str - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route_
table_ boolassociation_ enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route_
table_ boolpropagation_ enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - Mapping[str, str]
- The tag of the resource
- transit_
router_ strattachment_ description - TransitRouterAttachmentDescription
- transit_
router_ strattachment_ name - TransitRouterAttachmentName
- transit_
router_ strid - TransitRouterId
- vbr_
owner_ strid - VbrOwnerId
- vbr
Id String - VbrId
- auto
Publish BooleanRoute Enabled - AutoPublishRouteEnabled
- cen
Id String - CenId
- dry
Run Boolean - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order
Type String - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- resource
Type String - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route
Table BooleanAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route
Table BooleanPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - Map<String>
- The tag of the resource
- transit
Router StringAttachment Description - TransitRouterAttachmentDescription
- transit
Router StringAttachment Name - TransitRouterAttachmentName
- transit
Router StringId - TransitRouterId
- vbr
Owner StringId - VbrOwnerId
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterVbrAttachment resource produces the following output properties:
- Create
Time string - The creation time of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - RegionId.
- Status string
- The status of the resource.
- Transit
Router stringAttachment Id - The first ID of the resource.
- Create
Time string - The creation time of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - RegionId.
- Status string
- The status of the resource.
- Transit
Router stringAttachment Id - The first ID of the resource.
- create_
time string - The creation time of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- region_
id string - RegionId.
- status string
- The status of the resource.
- transit_
router_ stringattachment_ id - The first ID of the resource.
- create
Time String - The creation time of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - RegionId.
- status String
- The status of the resource.
- transit
Router StringAttachment Id - The first ID of the resource.
- create
Time string - The creation time of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id string - RegionId.
- status string
- The status of the resource.
- transit
Router stringAttachment Id - The first ID of the resource.
- create_
time str - The creation time of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - RegionId.
- status str
- The status of the resource.
- transit_
router_ strattachment_ id - The first ID of the resource.
- create
Time String - The creation time of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - RegionId.
- status String
- The status of the resource.
- transit
Router StringAttachment Id - The first ID of the resource.
Look up Existing TransitRouterVbrAttachment Resource
Get an existing TransitRouterVbrAttachment 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?: TransitRouterVbrAttachmentState, opts?: CustomResourceOptions): TransitRouterVbrAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_publish_route_enabled: Optional[bool] = None,
cen_id: Optional[str] = None,
create_time: Optional[str] = None,
dry_run: Optional[bool] = None,
order_type: Optional[str] = None,
region_id: Optional[str] = None,
resource_type: Optional[str] = None,
route_table_association_enabled: Optional[bool] = None,
route_table_propagation_enabled: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
transit_router_attachment_description: Optional[str] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_id: Optional[str] = None,
vbr_id: Optional[str] = None,
vbr_owner_id: Optional[str] = None) -> TransitRouterVbrAttachmentfunc GetTransitRouterVbrAttachment(ctx *Context, name string, id IDInput, state *TransitRouterVbrAttachmentState, opts ...ResourceOption) (*TransitRouterVbrAttachment, error)public static TransitRouterVbrAttachment Get(string name, Input<string> id, TransitRouterVbrAttachmentState? state, CustomResourceOptions? opts = null)public static TransitRouterVbrAttachment get(String name, Output<String> id, TransitRouterVbrAttachmentState state, CustomResourceOptions options)resources: _: type: alicloud:cen:TransitRouterVbrAttachment get: id: ${id}import {
to = alicloud_cen_transitroutervbrattachment.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.
- Auto
Publish boolRoute Enabled - AutoPublishRouteEnabled
- Cen
Id string - CenId
- Create
Time string - The creation time of the resource.
- Dry
Run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - Order
Type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- Region
Id string - RegionId.
- Resource
Type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - Route
Table boolAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - Route
Table boolPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - Status string
- The status of the resource.
- Dictionary<string, string>
- The tag of the resource
- Transit
Router stringAttachment Description - TransitRouterAttachmentDescription
- Transit
Router stringAttachment Id - The first ID of the resource.
- Transit
Router stringAttachment Name - TransitRouterAttachmentName
- Transit
Router stringId - TransitRouterId
- Vbr
Id string - VbrId
- Vbr
Owner stringId - VbrOwnerId
- Auto
Publish boolRoute Enabled - AutoPublishRouteEnabled
- Cen
Id string - CenId
- Create
Time string - The creation time of the resource.
- Dry
Run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - Order
Type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- Region
Id string - RegionId.
- Resource
Type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - Route
Table boolAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - Route
Table boolPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - Status string
- The status of the resource.
- map[string]string
- The tag of the resource
- Transit
Router stringAttachment Description - TransitRouterAttachmentDescription
- Transit
Router stringAttachment Id - The first ID of the resource.
- Transit
Router stringAttachment Name - TransitRouterAttachmentName
- Transit
Router stringId - TransitRouterId
- Vbr
Id string - VbrId
- Vbr
Owner stringId - VbrOwnerId
- auto_
publish_ boolroute_ enabled - AutoPublishRouteEnabled
- cen_
id string - CenId
- create_
time string - The creation time of the resource.
- dry_
run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order_
type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- region_
id string - RegionId.
- resource_
type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route_
table_ boolassociation_ enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route_
table_ boolpropagation_ enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - status string
- The status of the resource.
- map(string)
- The tag of the resource
- transit_
router_ stringattachment_ description - TransitRouterAttachmentDescription
- transit_
router_ stringattachment_ id - The first ID of the resource.
- transit_
router_ stringattachment_ name - TransitRouterAttachmentName
- transit_
router_ stringid - TransitRouterId
- vbr_
id string - VbrId
- vbr_
owner_ stringid - VbrOwnerId
- auto
Publish BooleanRoute Enabled - AutoPublishRouteEnabled
- cen
Id String - CenId
- create
Time String - The creation time of the resource.
- dry
Run Boolean - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order
Type String - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- region
Id String - RegionId.
- resource
Type String - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route
Table BooleanAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route
Table BooleanPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - status String
- The status of the resource.
- Map<String,String>
- The tag of the resource
- transit
Router StringAttachment Description - TransitRouterAttachmentDescription
- transit
Router StringAttachment Id - The first ID of the resource.
- transit
Router StringAttachment Name - TransitRouterAttachmentName
- transit
Router StringId - TransitRouterId
- vbr
Id String - VbrId
- vbr
Owner StringId - VbrOwnerId
- auto
Publish booleanRoute Enabled - AutoPublishRouteEnabled
- cen
Id string - CenId
- create
Time string - The creation time of the resource.
- dry
Run boolean - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order
Type string - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- region
Id string - RegionId.
- resource
Type string - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route
Table booleanAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route
Table booleanPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - status string
- The status of the resource.
- {[key: string]: string}
- The tag of the resource
- transit
Router stringAttachment Description - TransitRouterAttachmentDescription
- transit
Router stringAttachment Id - The first ID of the resource.
- transit
Router stringAttachment Name - TransitRouterAttachmentName
- transit
Router stringId - TransitRouterId
- vbr
Id string - VbrId
- vbr
Owner stringId - VbrOwnerId
- auto_
publish_ boolroute_ enabled - AutoPublishRouteEnabled
- cen_
id str - CenId
- create_
time str - The creation time of the resource.
- dry_
run bool - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order_
type str - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- region_
id str - RegionId.
- resource_
type str - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route_
table_ boolassociation_ enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route_
table_ boolpropagation_ enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - status str
- The status of the resource.
- Mapping[str, str]
- The tag of the resource
- transit_
router_ strattachment_ description - TransitRouterAttachmentDescription
- transit_
router_ strattachment_ id - The first ID of the resource.
- transit_
router_ strattachment_ name - TransitRouterAttachmentName
- transit_
router_ strid - TransitRouterId
- vbr_
id str - VbrId
- vbr_
owner_ strid - VbrOwnerId
- auto
Publish BooleanRoute Enabled - AutoPublishRouteEnabled
- cen
Id String - CenId
- create
Time String - The creation time of the resource.
- dry
Run Boolean - Specifies whether to perform a dry run. Default value:
false. Valid values:true,false. - order
Type String - The entity that pays the fees of the network instance. Valid values:
PayByCenOwner: the Alibaba Cloud account that owns the CEN instance.PayByResourceOwner: the Alibaba Cloud account that owns the network instance.
- region
Id String - RegionId.
- resource
Type String - The resource type of the transit router vbr attachment. Default value:
VBR. Valid values:VBR. - route
Table BooleanAssociation Enabled - Whether to enabled route table association. NOTE: "Field
routeTableAssociationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTableAssociationinstead, how to use alicloud_cen_transit_router_route_table_association." - route
Table BooleanPropagation Enabled - Whether to enabled route table propagation. NOTE: "Field
routeTablePropagationEnabledhas been deprecated from provider version 1.233.1. Please use the resourcealicloud.cen.TransitRouterRouteTablePropagationinstead, how to use alicloud_cen_transit_router_route_table_propagation." - status String
- The status of the resource.
- Map<String>
- The tag of the resource
- transit
Router StringAttachment Description - TransitRouterAttachmentDescription
- transit
Router StringAttachment Id - The first ID of the resource.
- transit
Router StringAttachment Name - TransitRouterAttachmentName
- transit
Router StringId - TransitRouterId
- vbr
Id String - VbrId
- vbr
Owner StringId - VbrOwnerId
Import
Cloud Enterprise Network (CEN) Transit Router Vbr Attachment can be imported using the id, e.g.
$ pulumi import alicloud:cen/transitRouterVbrAttachment:TransitRouterVbrAttachment example <cen_id>:<transit_router_attachment_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Sunday, May 10, 2026 by Pulumi
