Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.transit_router.PeerAttachments
Explore with Pulumi AI
Use this data source to query detailed information of transit router peer attachments
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Transit_router.PeerAttachments.Invoke(new()
    {
        Ids = new[]
        {
            "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.PeerAttachments(ctx, &transit_router.PeerAttachmentsArgs{
			Ids: []string{
				"tr-attach-12be67d0yh2io17q7y1au****",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.PeerAttachmentsArgs;
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.PeerAttachments(PeerAttachmentsArgs.builder()
            .ids("tr-attach-12be67d0yh2io17q7y1au****")
            .build());
    }
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.transit_router.peer_attachments(ids=["tr-attach-12be67d0yh2io17q7y1au****"])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.transit_router.PeerAttachments({
    ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
});
variables:
  foo:
    fn::invoke:
      Function: volcengine:transit_router:PeerAttachments
      Arguments:
        ids:
          - tr-attach-12be67d0yh2io17q7y1au****
Using PeerAttachments
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 peerAttachments(args: PeerAttachmentsArgs, opts?: InvokeOptions): Promise<PeerAttachmentsResult>
function peerAttachmentsOutput(args: PeerAttachmentsOutputArgs, opts?: InvokeOptions): Output<PeerAttachmentsResult>def 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[PeerAttachmentsTag]] = None,
                     transit_router_attachment_name: Optional[str] = None,
                     transit_router_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> PeerAttachmentsResult
def 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[PeerAttachmentsTagArgs]]]] = None,
                     transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
                     transit_router_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[PeerAttachmentsResult]func PeerAttachments(ctx *Context, args *PeerAttachmentsArgs, opts ...InvokeOption) (*PeerAttachmentsResult, error)
func PeerAttachmentsOutput(ctx *Context, args *PeerAttachmentsOutputArgs, opts ...InvokeOption) PeerAttachmentsResultOutputpublic static class PeerAttachments 
{
    public static Task<PeerAttachmentsResult> InvokeAsync(PeerAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<PeerAttachmentsResult> Invoke(PeerAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<PeerAttachmentsResult> peerAttachments(PeerAttachmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: volcengine:transit_router:PeerAttachments
  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<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.
 - 
[]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<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.
 - 
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[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.
 
PeerAttachments 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<PeerAttachments 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<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 []PeerAttachments 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.
 - 
[]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<PeerAttachments 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<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 PeerAttachments 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.
 - 
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[Peerattachments 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[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
PeerAttachmentsTag  
PeerAttachmentsTransitRouterAttachment    
- 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<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.
 - 
[]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<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.
 - 
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[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.
 
PeerAttachmentsTransitRouterAttachmentTag     
Package Details
- Repository
 - volcengine volcengine/pulumi-volcengine
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
volcengineTerraform Provider.