Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of transit router peer attachments
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.transit_router.getPeerAttachments({
ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.transit_router.get_peer_attachments(ids=["tr-attach-12be67d0yh2io17q7y1au****"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/transit_router"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transit_router.GetPeerAttachments(ctx, &transit_router.GetPeerAttachmentsArgs{
Ids: []string{
"tr-attach-12be67d0yh2io17q7y1au****",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Transit_router.GetPeerAttachments.Invoke(new()
{
Ids = new[]
{
"tr-attach-12be67d0yh2io17q7y1au****",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.transit_router.Transit_routerFunctions;
import com.pulumi.volcengine.transit_router.inputs.GetPeerAttachmentsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = Transit_routerFunctions.getPeerAttachments(GetPeerAttachmentsArgs.builder()
.ids("tr-attach-12be67d0yh2io17q7y1au****")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:transit_router:getPeerAttachments
Arguments:
ids:
- tr-attach-12be67d0yh2io17q7y1au****
Using getPeerAttachments
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPeerAttachments(args: GetPeerAttachmentsArgs, opts?: InvokeOptions): Promise<GetPeerAttachmentsResult>
function getPeerAttachmentsOutput(args: GetPeerAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetPeerAttachmentsResult>def get_peer_attachments(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
peer_transit_router_id: Optional[str] = None,
peer_transit_router_region_id: Optional[str] = None,
tags: Optional[Sequence[GetPeerAttachmentsTag]] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPeerAttachmentsResult
def get_peer_attachments_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
peer_transit_router_id: Optional[pulumi.Input[str]] = None,
peer_transit_router_region_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetPeerAttachmentsTagArgs]]]] = None,
transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
transit_router_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPeerAttachmentsResult]func GetPeerAttachments(ctx *Context, args *GetPeerAttachmentsArgs, opts ...InvokeOption) (*GetPeerAttachmentsResult, error)
func GetPeerAttachmentsOutput(ctx *Context, args *GetPeerAttachmentsOutputArgs, opts ...InvokeOption) GetPeerAttachmentsResultOutput> Note: This function is named GetPeerAttachments in the Go SDK.
public static class GetPeerAttachments
{
public static Task<GetPeerAttachmentsResult> InvokeAsync(GetPeerAttachmentsArgs args, InvokeOptions? opts = null)
public static Output<GetPeerAttachmentsResult> Invoke(GetPeerAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPeerAttachmentsResult> getPeerAttachments(GetPeerAttachmentsArgs args, InvokeOptions options)
public static Output<GetPeerAttachmentsResult> getPeerAttachments(GetPeerAttachmentsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:transit_router/getPeerAttachments:getPeerAttachments
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of IDs.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Peer
Transit stringRouter Id - The id of peer transit router.
- Peer
Transit stringRouter Region Id - The region id of peer transit router.
-
List<Get
Peer Attachments Tag> - Tags.
- Transit
Router stringAttachment Name - The name of transit router peer attachment.
- Transit
Router stringId - The id of local transit router.
- Ids []string
- A list of IDs.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Peer
Transit stringRouter Id - The id of peer transit router.
- Peer
Transit stringRouter Region Id - The region id of peer transit router.
-
[]Get
Peer Attachments Tag - Tags.
- Transit
Router stringAttachment Name - The name of transit router peer attachment.
- Transit
Router stringId - The id of local transit router.
- ids List<String>
- A list of IDs.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- peer
Transit StringRouter Id - The id of peer transit router.
- peer
Transit StringRouter Region Id - The region id of peer transit router.
-
List<Get
Peer Attachments Tag> - Tags.
- transit
Router StringAttachment Name - The name of transit router peer attachment.
- transit
Router StringId - The id of local transit router.
- ids string[]
- A list of IDs.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- peer
Transit stringRouter Id - The id of peer transit router.
- peer
Transit stringRouter Region Id - The region id of peer transit router.
-
Get
Peer Attachments Tag[] - Tags.
- transit
Router stringAttachment Name - The name of transit router peer attachment.
- transit
Router stringId - The id of local transit router.
- ids Sequence[str]
- A list of IDs.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- peer_
transit_ strrouter_ id - The id of peer transit router.
- peer_
transit_ strrouter_ region_ id - The region id of peer transit router.
-
Sequence[Get
Peer Attachments Tag] - Tags.
- transit_
router_ strattachment_ name - The name of transit router peer attachment.
- transit_
router_ strid - The id of local transit router.
- ids List<String>
- A list of IDs.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- peer
Transit StringRouter Id - The id of peer transit router.
- peer
Transit StringRouter Region Id - The region id of peer transit router.
- List<Property Map>
- Tags.
- transit
Router StringAttachment Name - The name of transit router peer attachment.
- transit
Router StringId - The id of local transit router.
getPeerAttachments Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Transit
Router List<GetAttachments Peer Attachments Transit Router Attachment> - The collection of query.
- Ids List<string>
- Name
Regex string - Output
File string - Peer
Transit stringRouter Id - The id of the peer transit router.
- Peer
Transit stringRouter Region Id - The region id of the peer transit router.
-
List<Get
Peer Attachments Tag> - Tags.
- Transit
Router stringAttachment Name - The name of the transit router peer attachment.
- Transit
Router stringId - The id of the local transit router.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Transit
Router []GetAttachments Peer Attachments Transit Router Attachment - The collection of query.
- Ids []string
- Name
Regex string - Output
File string - Peer
Transit stringRouter Id - The id of the peer transit router.
- Peer
Transit stringRouter Region Id - The region id of the peer transit router.
-
[]Get
Peer Attachments Tag - Tags.
- Transit
Router stringAttachment Name - The name of the transit router peer attachment.
- Transit
Router stringId - The id of the local transit router.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- transit
Router List<GetAttachments Peer Attachments Transit Router Attachment> - The collection of query.
- ids List<String>
- name
Regex String - output
File String - peer
Transit StringRouter Id - The id of the peer transit router.
- peer
Transit StringRouter Region Id - The region id of the peer transit router.
-
List<Get
Peer Attachments Tag> - Tags.
- transit
Router StringAttachment Name - The name of the transit router peer attachment.
- transit
Router StringId - The id of the local transit router.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- transit
Router GetAttachments Peer Attachments Transit Router Attachment[] - The collection of query.
- ids string[]
- name
Regex string - output
File string - peer
Transit stringRouter Id - The id of the peer transit router.
- peer
Transit stringRouter Region Id - The region id of the peer transit router.
-
Get
Peer Attachments Tag[] - Tags.
- transit
Router stringAttachment Name - The name of the transit router peer attachment.
- transit
Router stringId - The id of the local transit router.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- transit_
router_ Sequence[Getattachments Peer Attachments Transit Router Attachment] - The collection of query.
- ids Sequence[str]
- name_
regex str - output_
file str - peer_
transit_ strrouter_ id - The id of the peer transit router.
- peer_
transit_ strrouter_ region_ id - The region id of the peer transit router.
-
Sequence[Get
Peer Attachments Tag] - Tags.
- transit_
router_ strattachment_ name - The name of the transit router peer attachment.
- transit_
router_ strid - The id of the local transit router.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- transit
Router List<Property Map>Attachments - The collection of query.
- ids List<String>
- name
Regex String - output
File String - peer
Transit StringRouter Id - The id of the peer transit router.
- peer
Transit StringRouter Region Id - The region id of the peer transit router.
- List<Property Map>
- Tags.
- transit
Router StringAttachment Name - The name of the transit router peer attachment.
- transit
Router StringId - The id of the local transit router.
Supporting Types
GetPeerAttachmentsTag
GetPeerAttachmentsTransitRouterAttachment
- Bandwidth int
- The bandwidth of the transit router peer attachment.
- Creation
Time string - The creation time of the transit router peer attachment.
- Description string
- The description of the transit router peer attachment.
- Id string
- The id of the transit router peer attachment.
- Peer
Transit stringRouter Id - The id of peer transit router.
- Peer
Transit stringRouter Region Id - The region id of peer transit router.
- Status string
- The status of the transit router peer attachment.
-
List<Get
Peer Attachments Transit Router Attachment Tag> - Tags.
- Transit
Router stringAttachment Id - The id of the transit router peer attachment.
- Transit
Router stringAttachment Name - The name of transit router peer attachment.
- Transit
Router stringBandwidth Package Id - The bandwidth package id of the transit router peer attachment.
- Transit
Router stringId - The id of local transit router.
- Transit
Router stringRoute Table Id - The route table id of the transit router peer attachment.
- Update
Time string - The update time of the transit router peer attachment.
- Bandwidth int
- The bandwidth of the transit router peer attachment.
- Creation
Time string - The creation time of the transit router peer attachment.
- Description string
- The description of the transit router peer attachment.
- Id string
- The id of the transit router peer attachment.
- Peer
Transit stringRouter Id - The id of peer transit router.
- Peer
Transit stringRouter Region Id - The region id of peer transit router.
- Status string
- The status of the transit router peer attachment.
-
[]Get
Peer Attachments Transit Router Attachment Tag - Tags.
- Transit
Router stringAttachment Id - The id of the transit router peer attachment.
- Transit
Router stringAttachment Name - The name of transit router peer attachment.
- Transit
Router stringBandwidth Package Id - The bandwidth package id of the transit router peer attachment.
- Transit
Router stringId - The id of local transit router.
- Transit
Router stringRoute Table Id - The route table id of the transit router peer attachment.
- Update
Time string - The update time of the transit router peer attachment.
- bandwidth Integer
- The bandwidth of the transit router peer attachment.
- creation
Time String - The creation time of the transit router peer attachment.
- description String
- The description of the transit router peer attachment.
- id String
- The id of the transit router peer attachment.
- peer
Transit StringRouter Id - The id of peer transit router.
- peer
Transit StringRouter Region Id - The region id of peer transit router.
- status String
- The status of the transit router peer attachment.
-
List<Get
Peer Attachments Transit Router Attachment Tag> - Tags.
- transit
Router StringAttachment Id - The id of the transit router peer attachment.
- transit
Router StringAttachment Name - The name of transit router peer attachment.
- transit
Router StringBandwidth Package Id - The bandwidth package id of the transit router peer attachment.
- transit
Router StringId - The id of local transit router.
- transit
Router StringRoute Table Id - The route table id of the transit router peer attachment.
- update
Time String - The update time of the transit router peer attachment.
- bandwidth number
- The bandwidth of the transit router peer attachment.
- creation
Time string - The creation time of the transit router peer attachment.
- description string
- The description of the transit router peer attachment.
- id string
- The id of the transit router peer attachment.
- peer
Transit stringRouter Id - The id of peer transit router.
- peer
Transit stringRouter Region Id - The region id of peer transit router.
- status string
- The status of the transit router peer attachment.
-
Get
Peer Attachments Transit Router Attachment Tag[] - Tags.
- transit
Router stringAttachment Id - The id of the transit router peer attachment.
- transit
Router stringAttachment Name - The name of transit router peer attachment.
- transit
Router stringBandwidth Package Id - The bandwidth package id of the transit router peer attachment.
- transit
Router stringId - The id of local transit router.
- transit
Router stringRoute Table Id - The route table id of the transit router peer attachment.
- update
Time string - The update time of the transit router peer attachment.
- bandwidth int
- The bandwidth of the transit router peer attachment.
- creation_
time str - The creation time of the transit router peer attachment.
- description str
- The description of the transit router peer attachment.
- id str
- The id of the transit router peer attachment.
- peer_
transit_ strrouter_ id - The id of peer transit router.
- peer_
transit_ strrouter_ region_ id - The region id of peer transit router.
- status str
- The status of the transit router peer attachment.
-
Sequence[Get
Peer Attachments Transit Router Attachment Tag] - Tags.
- transit_
router_ strattachment_ id - The id of the transit router peer attachment.
- transit_
router_ strattachment_ name - The name of transit router peer attachment.
- transit_
router_ strbandwidth_ package_ id - The bandwidth package id of the transit router peer attachment.
- transit_
router_ strid - The id of local transit router.
- transit_
router_ strroute_ table_ id - 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.
- creation
Time String - The creation time of the transit router peer attachment.
- description String
- The description of the transit router peer attachment.
- id String
- The id of the transit router peer attachment.
- peer
Transit StringRouter Id - The id of peer transit router.
- peer
Transit StringRouter Region Id - The region id of peer transit router.
- status String
- The status of the transit router peer attachment.
- List<Property Map>
- Tags.
- transit
Router StringAttachment Id - The id of the transit router peer attachment.
- transit
Router StringAttachment Name - The name of transit router peer attachment.
- transit
Router StringBandwidth Package Id - The bandwidth package id of the transit router peer attachment.
- transit
Router StringId - The id of local transit router.
- transit
Router StringRoute Table Id - The route table id of the transit router peer attachment.
- update
Time String - The update time of the transit router peer attachment.
GetPeerAttachmentsTransitRouterAttachmentTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
