published on Thursday, May 14, 2026 by Byteplus
published on Thursday, May 14, 2026 by Byteplus
A connection established between TR instances in two different regions enables cross-region communication.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const transitRouterPeerAttachmentDemo = new bytepluscc.transitrouter.PeerAttachment("TransitRouterPeerAttachmentDemo", {
transitRouterId: "tr-mjcxxxx",
transitRouterAttachmentName: "ccapi-test-tf",
description: "tf-test",
peerTransitRouterId: "tr-xxx",
peerTransitRouterRegionId: "cn-xx",
transitRouterBandwidthPackageId: "tbp-13f34rxxxx",
bandwidth: 2,
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_bytepluscc as bytepluscc
transit_router_peer_attachment_demo = bytepluscc.transitrouter.PeerAttachment("TransitRouterPeerAttachmentDemo",
transit_router_id="tr-mjcxxxx",
transit_router_attachment_name="ccapi-test-tf",
description="tf-test",
peer_transit_router_id="tr-xxx",
peer_transit_router_region_id="cn-xx",
transit_router_bandwidth_package_id="tbp-13f34rxxxx",
bandwidth=2,
tags=[{
"key": "env",
"value": "test",
}])
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.NewPeerAttachment(ctx, "TransitRouterPeerAttachmentDemo", &transitrouter.PeerAttachmentArgs{
TransitRouterId: pulumi.String("tr-mjcxxxx"),
TransitRouterAttachmentName: pulumi.String("ccapi-test-tf"),
Description: pulumi.String("tf-test"),
PeerTransitRouterId: pulumi.String("tr-xxx"),
PeerTransitRouterRegionId: pulumi.String("cn-xx"),
TransitRouterBandwidthPackageId: pulumi.String("tbp-13f34rxxxx"),
Bandwidth: pulumi.Int(2),
Tags: transitrouter.PeerAttachmentTagArray{
&transitrouter.PeerAttachmentTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
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 transitRouterPeerAttachmentDemo = new Bytepluscc.Transitrouter.PeerAttachment("TransitRouterPeerAttachmentDemo", new()
{
TransitRouterId = "tr-mjcxxxx",
TransitRouterAttachmentName = "ccapi-test-tf",
Description = "tf-test",
PeerTransitRouterId = "tr-xxx",
PeerTransitRouterRegionId = "cn-xx",
TransitRouterBandwidthPackageId = "tbp-13f34rxxxx",
Bandwidth = 2,
Tags = new[]
{
new Bytepluscc.Transitrouter.Inputs.PeerAttachmentTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.transitrouter.PeerAttachment;
import com.byteplus.bytepluscc.transitrouter.PeerAttachmentArgs;
import com.pulumi.bytepluscc.transitrouter.inputs.PeerAttachmentTagArgs;
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 transitRouterPeerAttachmentDemo = new PeerAttachment("transitRouterPeerAttachmentDemo", PeerAttachmentArgs.builder()
.transitRouterId("tr-mjcxxxx")
.transitRouterAttachmentName("ccapi-test-tf")
.description("tf-test")
.peerTransitRouterId("tr-xxx")
.peerTransitRouterRegionId("cn-xx")
.transitRouterBandwidthPackageId("tbp-13f34rxxxx")
.bandwidth(2)
.tags(PeerAttachmentTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
transitRouterPeerAttachmentDemo:
type: bytepluscc:transitrouter:PeerAttachment
name: TransitRouterPeerAttachmentDemo
properties:
transitRouterId: tr-mjcxxxx
transitRouterAttachmentName: ccapi-test-tf
description: tf-test
peerTransitRouterId: tr-xxx
peerTransitRouterRegionId: cn-xx
transitRouterBandwidthPackageId: tbp-13f34rxxxx
bandwidth: 2
tags:
- key: env
value: test
Example coming soon!
Create PeerAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PeerAttachment(name: string, args: PeerAttachmentArgs, opts?: CustomResourceOptions);@overload
def PeerAttachment(resource_name: str,
args: PeerAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PeerAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
peer_transit_router_id: Optional[str] = None,
peer_transit_router_region_id: Optional[str] = None,
transit_router_id: Optional[str] = None,
bandwidth: Optional[int] = None,
description: Optional[str] = None,
tags: Optional[Sequence[PeerAttachmentTagArgs]] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_bandwidth_package_id: Optional[str] = None)func NewPeerAttachment(ctx *Context, name string, args PeerAttachmentArgs, opts ...ResourceOption) (*PeerAttachment, error)public PeerAttachment(string name, PeerAttachmentArgs args, CustomResourceOptions? opts = null)
public PeerAttachment(String name, PeerAttachmentArgs args)
public PeerAttachment(String name, PeerAttachmentArgs args, CustomResourceOptions options)
type: bytepluscc:transitrouter:PeerAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_transitrouter_peerattachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PeerAttachmentArgs
- 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 PeerAttachmentArgs
- 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 PeerAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeerAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeerAttachmentArgs
- 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 peerAttachmentResource = new Bytepluscc.Transitrouter.PeerAttachment("peerAttachmentResource", new()
{
PeerTransitRouterId = "string",
PeerTransitRouterRegionId = "string",
TransitRouterId = "string",
Bandwidth = 0,
Description = "string",
Tags = new[]
{
new Bytepluscc.Transitrouter.Inputs.PeerAttachmentTagArgs
{
Key = "string",
Value = "string",
},
},
TransitRouterAttachmentName = "string",
TransitRouterBandwidthPackageId = "string",
});
example, err := transitrouter.NewPeerAttachment(ctx, "peerAttachmentResource", &transitrouter.PeerAttachmentArgs{
PeerTransitRouterId: pulumi.String("string"),
PeerTransitRouterRegionId: pulumi.String("string"),
TransitRouterId: pulumi.String("string"),
Bandwidth: pulumi.Int(0),
Description: pulumi.String("string"),
Tags: transitrouter.PeerAttachmentTagArray{
&transitrouter.PeerAttachmentTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TransitRouterAttachmentName: pulumi.String("string"),
TransitRouterBandwidthPackageId: pulumi.String("string"),
})
resource "bytepluscc_transitrouter_peerattachment" "peerAttachmentResource" {
peer_transit_router_id = "string"
peer_transit_router_region_id = "string"
transit_router_id = "string"
bandwidth = 0
description = "string"
tags {
key = "string"
value = "string"
}
transit_router_attachment_name = "string"
transit_router_bandwidth_package_id = "string"
}
var peerAttachmentResource = new PeerAttachment("peerAttachmentResource", PeerAttachmentArgs.builder()
.peerTransitRouterId("string")
.peerTransitRouterRegionId("string")
.transitRouterId("string")
.bandwidth(0)
.description("string")
.tags(PeerAttachmentTagArgs.builder()
.key("string")
.value("string")
.build())
.transitRouterAttachmentName("string")
.transitRouterBandwidthPackageId("string")
.build());
peer_attachment_resource = bytepluscc.transitrouter.PeerAttachment("peerAttachmentResource",
peer_transit_router_id="string",
peer_transit_router_region_id="string",
transit_router_id="string",
bandwidth=0,
description="string",
tags=[{
"key": "string",
"value": "string",
}],
transit_router_attachment_name="string",
transit_router_bandwidth_package_id="string")
const peerAttachmentResource = new bytepluscc.transitrouter.PeerAttachment("peerAttachmentResource", {
peerTransitRouterId: "string",
peerTransitRouterRegionId: "string",
transitRouterId: "string",
bandwidth: 0,
description: "string",
tags: [{
key: "string",
value: "string",
}],
transitRouterAttachmentName: "string",
transitRouterBandwidthPackageId: "string",
});
type: bytepluscc:transitrouter:PeerAttachment
properties:
bandwidth: 0
description: string
peerTransitRouterId: string
peerTransitRouterRegionId: string
tags:
- key: string
value: string
transitRouterAttachmentName: string
transitRouterBandwidthPackageId: string
transitRouterId: string
PeerAttachment 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 PeerAttachment resource accepts the following input properties:
- Peer
Transit stringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- Peer
Transit stringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- Transit
Router stringId - ID of the local transit router instance.
- Bandwidth int
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- Description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
-
List<Byteplus.
Peer Attachment Tag> - Transit
Router stringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Transit
Router stringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- Peer
Transit stringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- Peer
Transit stringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- Transit
Router stringId - ID of the local transit router instance.
- Bandwidth int
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- Description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
-
[]Peer
Attachment Tag Args - Transit
Router stringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Transit
Router stringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- peer_
transit_ stringrouter_ id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer_
transit_ stringrouter_ region_ id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- transit_
router_ stringid - ID of the local transit router instance.
- bandwidth number
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- list(object)
- transit_
router_ stringattachment_ name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit_
router_ stringbandwidth_ package_ id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- peer
Transit StringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer
Transit StringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- transit
Router StringId - ID of the local transit router instance.
- bandwidth Integer
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- description String
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
-
List<Peer
Attachment Tag> - transit
Router StringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit
Router StringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- peer
Transit stringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer
Transit stringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- transit
Router stringId - ID of the local transit router instance.
- bandwidth number
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
-
Peer
Attachment Tag[] - transit
Router stringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit
Router stringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- peer_
transit_ strrouter_ id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer_
transit_ strrouter_ region_ id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- transit_
router_ strid - ID of the local transit router instance.
- bandwidth int
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- description str
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
-
Sequence[Peer
Attachment Tag Args] - transit_
router_ strattachment_ name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit_
router_ strbandwidth_ package_ id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- peer
Transit StringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer
Transit StringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- transit
Router StringId - ID of the local transit router instance.
- bandwidth Number
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- description String
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- List<Property Map>
- transit
Router StringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit
Router StringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
Outputs
All input properties are implicitly available as output properties. Additionally, the PeerAttachment resource produces the following output properties:
- Auto
Publish boolRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- Creation
Time string - Creation time of the cross-region connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Enabled bool
- Enable IPv6. true: Yes. false: No.
- Status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- Transit
Router stringAttachment Id - ID of the cross-region connection.
- Transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- Transit
Router stringRoute Table Id - Associated forwarding route table for the cross-region connection.
- Transit
Router stringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- Transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- Update
Time string - Last operation time of the cross-region connection.
- Auto
Publish boolRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- Creation
Time string - Creation time of the cross-region connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Enabled bool
- Enable IPv6. true: Yes. false: No.
- Status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- Transit
Router stringAttachment Id - ID of the cross-region connection.
- Transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- Transit
Router stringRoute Table Id - Associated forwarding route table for the cross-region connection.
- Transit
Router stringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- Transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- Update
Time string - Last operation time of the cross-region connection.
- auto_
publish_ boolroute_ enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- creation_
time string - Creation time of the cross-region connection.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6_
enabled bool - Enable IPv6. true: Yes. false: No.
- status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- transit_
router_ stringattachment_ id - ID of the cross-region connection.
- transit_
router_ stringforward_ policy_ table_ id - ID of the forwarding policy associated with the cross-region connection.
- transit_
router_ stringroute_ table_ id - Associated forwarding route table for the cross-region connection.
- transit_
router_ stringtraffic_ qos_ marking_ policy_ id - ID of the traffic marking policy associated with the cross-region connection.
- transit_
router_ stringtraffic_ qos_ queue_ policy_ id - ID of the flow queue policy associated with the cross-region connection.
- update_
time string - Last operation time of the cross-region connection.
- auto
Publish BooleanRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- creation
Time String - Creation time of the cross-region connection.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Enabled Boolean
- Enable IPv6. true: Yes. false: No.
- status String
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- transit
Router StringAttachment Id - ID of the cross-region connection.
- transit
Router StringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- transit
Router StringRoute Table Id - Associated forwarding route table for the cross-region connection.
- transit
Router StringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- transit
Router StringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- update
Time String - Last operation time of the cross-region connection.
- auto
Publish booleanRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- creation
Time string - Creation time of the cross-region connection.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Enabled boolean
- Enable IPv6. true: Yes. false: No.
- status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- transit
Router stringAttachment Id - ID of the cross-region connection.
- transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- transit
Router stringRoute Table Id - Associated forwarding route table for the cross-region connection.
- transit
Router stringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- update
Time string - Last operation time of the cross-region connection.
- auto_
publish_ boolroute_ enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- creation_
time str - Creation time of the cross-region connection.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
enabled bool - Enable IPv6. true: Yes. false: No.
- status str
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- transit_
router_ strattachment_ id - ID of the cross-region connection.
- transit_
router_ strforward_ policy_ table_ id - ID of the forwarding policy associated with the cross-region connection.
- transit_
router_ strroute_ table_ id - Associated forwarding route table for the cross-region connection.
- transit_
router_ strtraffic_ qos_ marking_ policy_ id - ID of the traffic marking policy associated with the cross-region connection.
- transit_
router_ strtraffic_ qos_ queue_ policy_ id - ID of the flow queue policy associated with the cross-region connection.
- update_
time str - Last operation time of the cross-region connection.
- auto
Publish BooleanRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- creation
Time String - Creation time of the cross-region connection.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Enabled Boolean
- Enable IPv6. true: Yes. false: No.
- status String
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- transit
Router StringAttachment Id - ID of the cross-region connection.
- transit
Router StringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- transit
Router StringRoute Table Id - Associated forwarding route table for the cross-region connection.
- transit
Router StringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- transit
Router StringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- update
Time String - Last operation time of the cross-region connection.
Look up Existing PeerAttachment Resource
Get an existing PeerAttachment 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?: PeerAttachmentState, opts?: CustomResourceOptions): PeerAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_publish_route_enabled: Optional[bool] = None,
bandwidth: Optional[int] = None,
creation_time: Optional[str] = None,
description: Optional[str] = None,
ipv6_enabled: Optional[bool] = None,
peer_transit_router_id: Optional[str] = None,
peer_transit_router_region_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[PeerAttachmentTagArgs]] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_bandwidth_package_id: Optional[str] = None,
transit_router_forward_policy_table_id: Optional[str] = None,
transit_router_id: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None,
transit_router_traffic_qos_marking_policy_id: Optional[str] = None,
transit_router_traffic_qos_queue_policy_id: Optional[str] = None,
update_time: Optional[str] = None) -> PeerAttachmentfunc GetPeerAttachment(ctx *Context, name string, id IDInput, state *PeerAttachmentState, opts ...ResourceOption) (*PeerAttachment, error)public static PeerAttachment Get(string name, Input<string> id, PeerAttachmentState? state, CustomResourceOptions? opts = null)public static PeerAttachment get(String name, Output<String> id, PeerAttachmentState state, CustomResourceOptions options)resources: _: type: bytepluscc:transitrouter:PeerAttachment get: id: ${id}import {
to = bytepluscc_transitrouter_peerattachment.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 - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- Bandwidth int
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- Creation
Time string - Creation time of the cross-region connection.
- Description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- Ipv6Enabled bool
- Enable IPv6. true: Yes. false: No.
- Peer
Transit stringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- Peer
Transit stringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- Status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
-
List<Byteplus.
Peer Attachment Tag> - Transit
Router stringAttachment Id - ID of the cross-region connection.
- Transit
Router stringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Transit
Router stringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- Transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- Transit
Router stringId - ID of the local transit router instance.
- Transit
Router stringRoute Table Id - Associated forwarding route table for the cross-region connection.
- Transit
Router stringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- Transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- Update
Time string - Last operation time of the cross-region connection.
- Auto
Publish boolRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- Bandwidth int
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- Creation
Time string - Creation time of the cross-region connection.
- Description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- Ipv6Enabled bool
- Enable IPv6. true: Yes. false: No.
- Peer
Transit stringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- Peer
Transit stringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- Status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
-
[]Peer
Attachment Tag Args - Transit
Router stringAttachment Id - ID of the cross-region connection.
- Transit
Router stringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Transit
Router stringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- Transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- Transit
Router stringId - ID of the local transit router instance.
- Transit
Router stringRoute Table Id - Associated forwarding route table for the cross-region connection.
- Transit
Router stringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- Transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- Update
Time string - Last operation time of the cross-region connection.
- auto_
publish_ boolroute_ enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- bandwidth number
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- creation_
time string - Creation time of the cross-region connection.
- description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- ipv6_
enabled bool - Enable IPv6. true: Yes. false: No.
- peer_
transit_ stringrouter_ id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer_
transit_ stringrouter_ region_ id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- list(object)
- transit_
router_ stringattachment_ id - ID of the cross-region connection.
- transit_
router_ stringattachment_ name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit_
router_ stringbandwidth_ package_ id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- transit_
router_ stringforward_ policy_ table_ id - ID of the forwarding policy associated with the cross-region connection.
- transit_
router_ stringid - ID of the local transit router instance.
- transit_
router_ stringroute_ table_ id - Associated forwarding route table for the cross-region connection.
- transit_
router_ stringtraffic_ qos_ marking_ policy_ id - ID of the traffic marking policy associated with the cross-region connection.
- transit_
router_ stringtraffic_ qos_ queue_ policy_ id - ID of the flow queue policy associated with the cross-region connection.
- update_
time string - Last operation time of the cross-region connection.
- auto
Publish BooleanRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- bandwidth Integer
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- creation
Time String - Creation time of the cross-region connection.
- description String
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- ipv6Enabled Boolean
- Enable IPv6. true: Yes. false: No.
- peer
Transit StringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer
Transit StringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- status String
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
-
List<Peer
Attachment Tag> - transit
Router StringAttachment Id - ID of the cross-region connection.
- transit
Router StringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit
Router StringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- transit
Router StringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- transit
Router StringId - ID of the local transit router instance.
- transit
Router StringRoute Table Id - Associated forwarding route table for the cross-region connection.
- transit
Router StringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- transit
Router StringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- update
Time String - Last operation time of the cross-region connection.
- auto
Publish booleanRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- bandwidth number
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- creation
Time string - Creation time of the cross-region connection.
- description string
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- ipv6Enabled boolean
- Enable IPv6. true: Yes. false: No.
- peer
Transit stringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer
Transit stringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- status string
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
-
Peer
Attachment Tag[] - transit
Router stringAttachment Id - ID of the cross-region connection.
- transit
Router stringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit
Router stringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- transit
Router stringId - ID of the local transit router instance.
- transit
Router stringRoute Table Id - Associated forwarding route table for the cross-region connection.
- transit
Router stringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- update
Time string - Last operation time of the cross-region connection.
- auto_
publish_ boolroute_ enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- bandwidth int
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- creation_
time str - Creation time of the cross-region connection.
- description str
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- ipv6_
enabled bool - Enable IPv6. true: Yes. false: No.
- peer_
transit_ strrouter_ id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer_
transit_ strrouter_ region_ id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- status str
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
-
Sequence[Peer
Attachment Tag Args] - transit_
router_ strattachment_ id - ID of the cross-region connection.
- transit_
router_ strattachment_ name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit_
router_ strbandwidth_ package_ id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- transit_
router_ strforward_ policy_ table_ id - ID of the forwarding policy associated with the cross-region connection.
- transit_
router_ strid - ID of the local transit router instance.
- transit_
router_ strroute_ table_ id - Associated forwarding route table for the cross-region connection.
- transit_
router_ strtraffic_ qos_ marking_ policy_ id - ID of the traffic marking policy associated with the cross-region connection.
- transit_
router_ strtraffic_ qos_ queue_ policy_ id - ID of the flow queue policy associated with the cross-region connection.
- update_
time str - Last operation time of the cross-region connection.
- auto
Publish BooleanRoute Enabled - Automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- bandwidth Number
- Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package.
- creation
Time String - Creation time of the cross-region connection.
- description String
- Description of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
- ipv6Enabled Boolean
- Enable IPv6. true: Yes. false: No.
- peer
Transit StringRouter Id - ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID.
- peer
Transit StringRouter Region Id - Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID.
- status String
- Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available.
- List<Property Map>
- transit
Router StringAttachment Id - ID of the cross-region connection.
- transit
Router StringAttachment Name - Name of the cross-region connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- transit
Router StringBandwidth Package Id - ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required.
- transit
Router StringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection.
- transit
Router StringId - ID of the local transit router instance.
- transit
Router StringRoute Table Id - Associated forwarding route table for the cross-region connection.
- transit
Router StringTraffic Qos Marking Policy Id - ID of the traffic marking policy associated with the cross-region connection.
- transit
Router StringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection.
- update
Time String - Last operation time of the cross-region connection.
Supporting Types
PeerAttachmentTag, PeerAttachmentTagArgs
- Key string
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- Value string
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
- Key string
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- Value string
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
- key string
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- value string
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
- key String
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- value String
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
- key string
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- value string
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
- key str
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- value str
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
- key String
- Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
- value String
- Tag value for the cross-region connection user tag. Length limit: 0–255 characters. Case-sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @. Note: If this parameter is provided, Tags.N.Key must be provided first.
Import
$ pulumi import bytepluscc:transitrouter/peerAttachment:PeerAttachment example "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 Thursday, May 14, 2026 by Byteplus
