1. Packages
  2. Volcengine
  3. API Docs
  4. transit_router
  5. PeerAttachment
Volcengine v0.0.28 published on Thursday, Apr 24, 2025 by Volcengine

volcengine.transit_router.PeerAttachment

Explore with Pulumi AI

Provides a resource to manage transit router peer attachment

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";

const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
    transitRouterBandwidthPackageName: "acc-tf-test",
    description: "acc-test",
    bandwidth: 2,
    period: 1,
    renewType: "Manual",
    renewPeriod: 1,
    remainRenewTimes: -1,
});
const fooTransitRouter = new volcengine.transit_router.TransitRouter("fooTransitRouter", {
    transitRouterName: "acc-test-tf",
    description: "acc-test-tf",
});
const fooPeerAttachment = new volcengine.transit_router.PeerAttachment("fooPeerAttachment", {
    transitRouterId: fooTransitRouter.id,
    transitRouterAttachmentName: "acc-test-tf",
    description: "tf-test",
    peerTransitRouterId: "tr-xxx",
    peerTransitRouterRegionId: "cn-xx",
    transitRouterBandwidthPackageId: fooBandwidthPackage.id,
    bandwidth: 2,
    tags: [{
        key: "k1",
        value: "v1",
    }],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo_bandwidth_package = volcengine.transit_router.BandwidthPackage("fooBandwidthPackage",
    transit_router_bandwidth_package_name="acc-tf-test",
    description="acc-test",
    bandwidth=2,
    period=1,
    renew_type="Manual",
    renew_period=1,
    remain_renew_times=-1)
foo_transit_router = volcengine.transit_router.TransitRouter("fooTransitRouter",
    transit_router_name="acc-test-tf",
    description="acc-test-tf")
foo_peer_attachment = volcengine.transit_router.PeerAttachment("fooPeerAttachment",
    transit_router_id=foo_transit_router.id,
    transit_router_attachment_name="acc-test-tf",
    description="tf-test",
    peer_transit_router_id="tr-xxx",
    peer_transit_router_region_id="cn-xx",
    transit_router_bandwidth_package_id=foo_bandwidth_package.id,
    bandwidth=2,
    tags=[volcengine.transit_router.PeerAttachmentTagArgs(
        key="k1",
        value="v1",
    )])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/transit_router"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooBandwidthPackage, err := transit_router.NewBandwidthPackage(ctx, "fooBandwidthPackage", &transit_router.BandwidthPackageArgs{
			TransitRouterBandwidthPackageName: pulumi.String("acc-tf-test"),
			Description:                       pulumi.String("acc-test"),
			Bandwidth:                         pulumi.Int(2),
			Period:                            pulumi.Int(1),
			RenewType:                         pulumi.String("Manual"),
			RenewPeriod:                       pulumi.Int(1),
			RemainRenewTimes:                  -1,
		})
		if err != nil {
			return err
		}
		fooTransitRouter, err := transit_router.NewTransitRouter(ctx, "fooTransitRouter", &transit_router.TransitRouterArgs{
			TransitRouterName: pulumi.String("acc-test-tf"),
			Description:       pulumi.String("acc-test-tf"),
		})
		if err != nil {
			return err
		}
		_, err = transit_router.NewPeerAttachment(ctx, "fooPeerAttachment", &transit_router.PeerAttachmentArgs{
			TransitRouterId:                 fooTransitRouter.ID(),
			TransitRouterAttachmentName:     pulumi.String("acc-test-tf"),
			Description:                     pulumi.String("tf-test"),
			PeerTransitRouterId:             pulumi.String("tr-xxx"),
			PeerTransitRouterRegionId:       pulumi.String("cn-xx"),
			TransitRouterBandwidthPackageId: fooBandwidthPackage.ID(),
			Bandwidth:                       pulumi.Int(2),
			Tags: transit_router.PeerAttachmentTagArray{
				&transit_router.PeerAttachmentTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var fooBandwidthPackage = new Volcengine.Transit_router.BandwidthPackage("fooBandwidthPackage", new()
    {
        TransitRouterBandwidthPackageName = "acc-tf-test",
        Description = "acc-test",
        Bandwidth = 2,
        Period = 1,
        RenewType = "Manual",
        RenewPeriod = 1,
        RemainRenewTimes = -1,
    });

    var fooTransitRouter = new Volcengine.Transit_router.TransitRouter("fooTransitRouter", new()
    {
        TransitRouterName = "acc-test-tf",
        Description = "acc-test-tf",
    });

    var fooPeerAttachment = new Volcengine.Transit_router.PeerAttachment("fooPeerAttachment", new()
    {
        TransitRouterId = fooTransitRouter.Id,
        TransitRouterAttachmentName = "acc-test-tf",
        Description = "tf-test",
        PeerTransitRouterId = "tr-xxx",
        PeerTransitRouterRegionId = "cn-xx",
        TransitRouterBandwidthPackageId = fooBandwidthPackage.Id,
        Bandwidth = 2,
        Tags = new[]
        {
            new Volcengine.Transit_router.Inputs.PeerAttachmentTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.transit_router.BandwidthPackage;
import com.pulumi.volcengine.transit_router.BandwidthPackageArgs;
import com.pulumi.volcengine.transit_router.TransitRouter;
import com.pulumi.volcengine.transit_router.TransitRouterArgs;
import com.pulumi.volcengine.transit_router.PeerAttachment;
import com.pulumi.volcengine.transit_router.PeerAttachmentArgs;
import com.pulumi.volcengine.transit_router.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 fooBandwidthPackage = new BandwidthPackage("fooBandwidthPackage", BandwidthPackageArgs.builder()        
            .transitRouterBandwidthPackageName("acc-tf-test")
            .description("acc-test")
            .bandwidth(2)
            .period(1)
            .renewType("Manual")
            .renewPeriod(1)
            .remainRenewTimes("TODO: GenUnaryOpExpression")
            .build());

        var fooTransitRouter = new TransitRouter("fooTransitRouter", TransitRouterArgs.builder()        
            .transitRouterName("acc-test-tf")
            .description("acc-test-tf")
            .build());

        var fooPeerAttachment = new PeerAttachment("fooPeerAttachment", PeerAttachmentArgs.builder()        
            .transitRouterId(fooTransitRouter.id())
            .transitRouterAttachmentName("acc-test-tf")
            .description("tf-test")
            .peerTransitRouterId("tr-xxx")
            .peerTransitRouterRegionId("cn-xx")
            .transitRouterBandwidthPackageId(fooBandwidthPackage.id())
            .bandwidth(2)
            .tags(PeerAttachmentTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build());

    }
}
Copy
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: volcengine:transit_router:PeerAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PeerAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. PeerAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PeerAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 Volcengine.Transit_router.PeerAttachment("peerAttachmentResource", new()
{
    PeerTransitRouterId = "string",
    PeerTransitRouterRegionId = "string",
    TransitRouterId = "string",
    Bandwidth = 0,
    Description = "string",
    Tags = new[]
    {
        new Volcengine.Transit_router.Inputs.PeerAttachmentTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    TransitRouterAttachmentName = "string",
    TransitRouterBandwidthPackageId = "string",
});
Copy
example, err := transit_router.NewPeerAttachment(ctx, "peerAttachmentResource", &transit_router.PeerAttachmentArgs{
	PeerTransitRouterId:       pulumi.String("string"),
	PeerTransitRouterRegionId: pulumi.String("string"),
	TransitRouterId:           pulumi.String("string"),
	Bandwidth:                 pulumi.Int(0),
	Description:               pulumi.String("string"),
	Tags: transit_router.PeerAttachmentTagArray{
		&transit_router.PeerAttachmentTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	TransitRouterAttachmentName:     pulumi.String("string"),
	TransitRouterBandwidthPackageId: pulumi.String("string"),
})
Copy
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());
Copy
peer_attachment_resource = volcengine.transit_router.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")
Copy
const peerAttachmentResource = new volcengine.transit_router.PeerAttachment("peerAttachmentResource", {
    peerTransitRouterId: "string",
    peerTransitRouterRegionId: "string",
    transitRouterId: "string",
    bandwidth: 0,
    description: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
    transitRouterAttachmentName: "string",
    transitRouterBandwidthPackageId: "string",
});
Copy
type: volcengine:transit_router:PeerAttachment
properties:
    bandwidth: 0
    description: string
    peerTransitRouterId: string
    peerTransitRouterRegionId: string
    tags:
        - key: string
          value: string
    transitRouterAttachmentName: string
    transitRouterBandwidthPackageId: string
    transitRouterId: string
Copy

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:

PeerTransitRouterId
This property is required.
Changes to this property will trigger replacement.
string
The id of the peer transit router.
PeerTransitRouterRegionId
This property is required.
Changes to this property will trigger replacement.
string
The region id of the peer transit router.
TransitRouterId
This property is required.
Changes to this property will trigger replacement.
string
The id of the local transit router.
Bandwidth int
The bandwidth of the transit router peer attachment. Unit: Mbps.
Description string
The description of the transit router peer attachment.
Tags List<PeerAttachmentTag>
Tags.
TransitRouterAttachmentName string
The name of the transit router peer attachment.
TransitRouterBandwidthPackageId string
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
PeerTransitRouterId
This property is required.
Changes to this property will trigger replacement.
string
The id of the peer transit router.
PeerTransitRouterRegionId
This property is required.
Changes to this property will trigger replacement.
string
The region id of the peer transit router.
TransitRouterId
This property is required.
Changes to this property will trigger replacement.
string
The id of the local transit router.
Bandwidth int
The bandwidth of the transit router peer attachment. Unit: Mbps.
Description string
The description of the transit router peer attachment.
Tags []PeerAttachmentTagArgs
Tags.
TransitRouterAttachmentName string
The name of the transit router peer attachment.
TransitRouterBandwidthPackageId string
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
peerTransitRouterId
This property is required.
Changes to this property will trigger replacement.
String
The id of the peer transit router.
peerTransitRouterRegionId
This property is required.
Changes to this property will trigger replacement.
String
The region id of the peer transit router.
transitRouterId
This property is required.
Changes to this property will trigger replacement.
String
The id of the local transit router.
bandwidth Integer
The bandwidth of the transit router peer attachment. Unit: Mbps.
description String
The description of the transit router peer attachment.
tags List<PeerAttachmentTag>
Tags.
transitRouterAttachmentName String
The name of the transit router peer attachment.
transitRouterBandwidthPackageId String
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
peerTransitRouterId
This property is required.
Changes to this property will trigger replacement.
string
The id of the peer transit router.
peerTransitRouterRegionId
This property is required.
Changes to this property will trigger replacement.
string
The region id of the peer transit router.
transitRouterId
This property is required.
Changes to this property will trigger replacement.
string
The id of the local transit router.
bandwidth number
The bandwidth of the transit router peer attachment. Unit: Mbps.
description string
The description of the transit router peer attachment.
tags PeerAttachmentTag[]
Tags.
transitRouterAttachmentName string
The name of the transit router peer attachment.
transitRouterBandwidthPackageId string
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
peer_transit_router_id
This property is required.
Changes to this property will trigger replacement.
str
The id of the peer transit router.
peer_transit_router_region_id
This property is required.
Changes to this property will trigger replacement.
str
The region id of the peer transit router.
transit_router_id
This property is required.
Changes to this property will trigger replacement.
str
The id of the local transit router.
bandwidth int
The bandwidth of the transit router peer attachment. Unit: Mbps.
description str
The description of the transit router peer attachment.
tags Sequence[PeerAttachmentTagArgs]
Tags.
transit_router_attachment_name str
The name of the transit router peer attachment.
transit_router_bandwidth_package_id str
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
peerTransitRouterId
This property is required.
Changes to this property will trigger replacement.
String
The id of the peer transit router.
peerTransitRouterRegionId
This property is required.
Changes to this property will trigger replacement.
String
The region id of the peer transit router.
transitRouterId
This property is required.
Changes to this property will trigger replacement.
String
The id of the local transit router.
bandwidth Number
The bandwidth of the transit router peer attachment. Unit: Mbps.
description String
The description of the transit router peer attachment.
tags List<Property Map>
Tags.
transitRouterAttachmentName String
The name of the transit router peer attachment.
transitRouterBandwidthPackageId String
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.

Outputs

All input properties are implicitly available as output properties. Additionally, the PeerAttachment resource produces the following output properties:

CreationTime string
The creation time of the transit router peer attachment.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the transit router peer attachment.
TransitRouterRouteTableId string
The route table id of the transit router peer attachment.
UpdateTime string
The update time of the transit router peer attachment.
CreationTime string
The creation time of the transit router peer attachment.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the transit router peer attachment.
TransitRouterRouteTableId string
The route table id of the transit router peer attachment.
UpdateTime string
The update time of the transit router peer attachment.
creationTime String
The creation time of the transit router peer attachment.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the transit router peer attachment.
transitRouterRouteTableId String
The route table id of the transit router peer attachment.
updateTime String
The update time of the transit router peer attachment.
creationTime string
The creation time of the transit router peer attachment.
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the transit router peer attachment.
transitRouterRouteTableId string
The route table id of the transit router peer attachment.
updateTime string
The update time of the transit router peer attachment.
creation_time str
The creation time of the transit router peer attachment.
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the transit router peer attachment.
transit_router_route_table_id str
The route table id of the transit router peer attachment.
update_time str
The update time of the transit router peer attachment.
creationTime String
The creation time of the transit router peer attachment.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the transit router peer attachment.
transitRouterRouteTableId String
The route table id of the transit router peer attachment.
updateTime String
The update time of the transit router peer attachment.

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,
        bandwidth: Optional[int] = None,
        creation_time: Optional[str] = None,
        description: Optional[str] = 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_name: Optional[str] = None,
        transit_router_bandwidth_package_id: Optional[str] = None,
        transit_router_id: Optional[str] = None,
        transit_router_route_table_id: Optional[str] = None,
        update_time: Optional[str] = None) -> PeerAttachment
func 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: volcengine:transit_router:PeerAttachment    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Bandwidth int
The bandwidth of the transit router peer attachment. Unit: Mbps.
CreationTime string
The creation time of the transit router peer attachment.
Description string
The description of the transit router peer attachment.
PeerTransitRouterId Changes to this property will trigger replacement. string
The id of the peer transit router.
PeerTransitRouterRegionId Changes to this property will trigger replacement. string
The region id of the peer transit router.
Status string
The status of the transit router peer attachment.
Tags List<PeerAttachmentTag>
Tags.
TransitRouterAttachmentName string
The name of the transit router peer attachment.
TransitRouterBandwidthPackageId string
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
TransitRouterId Changes to this property will trigger replacement. string
The id of the local transit router.
TransitRouterRouteTableId string
The route table id of the transit router peer attachment.
UpdateTime string
The update time of the transit router peer attachment.
Bandwidth int
The bandwidth of the transit router peer attachment. Unit: Mbps.
CreationTime string
The creation time of the transit router peer attachment.
Description string
The description of the transit router peer attachment.
PeerTransitRouterId Changes to this property will trigger replacement. string
The id of the peer transit router.
PeerTransitRouterRegionId Changes to this property will trigger replacement. string
The region id of the peer transit router.
Status string
The status of the transit router peer attachment.
Tags []PeerAttachmentTagArgs
Tags.
TransitRouterAttachmentName string
The name of the transit router peer attachment.
TransitRouterBandwidthPackageId string
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
TransitRouterId Changes to this property will trigger replacement. string
The id of the local transit router.
TransitRouterRouteTableId string
The route table id of the transit router peer attachment.
UpdateTime string
The update time of the transit router peer attachment.
bandwidth Integer
The bandwidth of the transit router peer attachment. Unit: Mbps.
creationTime String
The creation time of the transit router peer attachment.
description String
The description of the transit router peer attachment.
peerTransitRouterId Changes to this property will trigger replacement. String
The id of the peer transit router.
peerTransitRouterRegionId Changes to this property will trigger replacement. String
The region id of the peer transit router.
status String
The status of the transit router peer attachment.
tags List<PeerAttachmentTag>
Tags.
transitRouterAttachmentName String
The name of the transit router peer attachment.
transitRouterBandwidthPackageId String
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
transitRouterId Changes to this property will trigger replacement. String
The id of the local transit router.
transitRouterRouteTableId String
The route table id of the transit router peer attachment.
updateTime String
The update time of the transit router peer attachment.
bandwidth number
The bandwidth of the transit router peer attachment. Unit: Mbps.
creationTime string
The creation time of the transit router peer attachment.
description string
The description of the transit router peer attachment.
peerTransitRouterId Changes to this property will trigger replacement. string
The id of the peer transit router.
peerTransitRouterRegionId Changes to this property will trigger replacement. string
The region id of the peer transit router.
status string
The status of the transit router peer attachment.
tags PeerAttachmentTag[]
Tags.
transitRouterAttachmentName string
The name of the transit router peer attachment.
transitRouterBandwidthPackageId string
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
transitRouterId Changes to this property will trigger replacement. string
The id of the local transit router.
transitRouterRouteTableId string
The route table id of the transit router peer attachment.
updateTime string
The update time of the transit router peer attachment.
bandwidth int
The bandwidth of the transit router peer attachment. Unit: Mbps.
creation_time str
The creation time of the transit router peer attachment.
description str
The description of the transit router peer attachment.
peer_transit_router_id Changes to this property will trigger replacement. str
The id of the peer transit router.
peer_transit_router_region_id Changes to this property will trigger replacement. str
The region id of the peer transit router.
status str
The status of the transit router peer attachment.
tags Sequence[PeerAttachmentTagArgs]
Tags.
transit_router_attachment_name str
The name of the transit router peer attachment.
transit_router_bandwidth_package_id str
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
transit_router_id Changes to this property will trigger replacement. str
The id of the local transit router.
transit_router_route_table_id str
The route table id of the transit router peer attachment.
update_time str
The update time of the transit router peer attachment.
bandwidth Number
The bandwidth of the transit router peer attachment. Unit: Mbps.
creationTime String
The creation time of the transit router peer attachment.
description String
The description of the transit router peer attachment.
peerTransitRouterId Changes to this property will trigger replacement. String
The id of the peer transit router.
peerTransitRouterRegionId Changes to this property will trigger replacement. String
The region id of the peer transit router.
status String
The status of the transit router peer attachment.
tags List<Property Map>
Tags.
transitRouterAttachmentName String
The name of the transit router peer attachment.
transitRouterBandwidthPackageId String
The bandwidth package id of the transit router peer attachment. When specifying this field, the field bandwidth must also be specified.
transitRouterId Changes to this property will trigger replacement. String
The id of the local transit router.
transitRouterRouteTableId String
The route table id of the transit router peer attachment.
updateTime String
The update time of the transit router peer attachment.

Supporting Types

PeerAttachmentTag
, PeerAttachmentTagArgs

Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.
key This property is required. string
The Key of Tags.
value This property is required. string
The Value of Tags.
key This property is required. str
The Key of Tags.
value This property is required. str
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.

Import

TransitRouterPeerAttachment can be imported using the id, e.g.

$ pulumi import volcengine:transit_router/peerAttachment:PeerAttachment default tr-attach-12be67d0yh2io17q7y1au****
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.