Volcengine v0.0.27 published on Tuesday, Dec 10, 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
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.transit_router.PeerAttachments({
    ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.transit_router.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.PeerAttachments(ctx, &transit_router.PeerAttachmentsArgs{
			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.PeerAttachments.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.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());
    }
}
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)
public static Output<PeerAttachmentsResult> peerAttachments(PeerAttachmentsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:transit_router:PeerAttachments
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of IDs.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- PeerTransit stringRouter Id 
- The id of peer transit router.
- PeerTransit stringRouter Region Id 
- The region id of peer transit router.
- 
List<PeerAttachments Tag> 
- Tags.
- TransitRouter stringAttachment Name 
- The name of transit router peer attachment.
- TransitRouter stringId 
- The id of local transit router.
- Ids []string
- A list of IDs.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- PeerTransit stringRouter Id 
- The id of peer transit router.
- PeerTransit stringRouter Region Id 
- The region id of peer transit router.
- 
[]PeerAttachments Tag 
- Tags.
- TransitRouter stringAttachment Name 
- The name of transit router peer attachment.
- TransitRouter stringId 
- The id of local transit router.
- ids List<String>
- A list of IDs.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- peerTransit StringRouter Id 
- The id of peer transit router.
- peerTransit StringRouter Region Id 
- The region id of peer transit router.
- 
List<PeerAttachments Tag> 
- Tags.
- transitRouter StringAttachment Name 
- The name of transit router peer attachment.
- transitRouter StringId 
- The id of local transit router.
- ids string[]
- A list of IDs.
- nameRegex string
- A Name Regex of Resource.
- outputFile string
- File name where to save data source results.
- peerTransit stringRouter Id 
- The id of peer transit router.
- peerTransit stringRouter Region Id 
- The region id of peer transit router.
- 
PeerAttachments Tag[] 
- Tags.
- transitRouter stringAttachment Name 
- The name of transit router peer attachment.
- transitRouter 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[PeerAttachments 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.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- peerTransit StringRouter Id 
- The id of peer transit router.
- peerTransit StringRouter Region Id 
- The region id of peer transit router.
- List<Property Map>
- Tags.
- transitRouter StringAttachment Name 
- The name of transit router peer attachment.
- transitRouter 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.
- TotalCount int
- The total count of query.
- TransitRouter List<PeerAttachments Attachments Transit Router Attachment> 
- The collection of query.
- Ids List<string>
- NameRegex string
- OutputFile string
- PeerTransit stringRouter Id 
- The id of the peer transit router.
- PeerTransit stringRouter Region Id 
- The region id of the peer transit router.
- 
List<PeerAttachments Tag> 
- Tags.
- TransitRouter stringAttachment Name 
- The name of the transit router peer attachment.
- TransitRouter stringId 
- The id of the local transit router.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- TransitRouter []PeerAttachments Attachments Transit Router Attachment 
- The collection of query.
- Ids []string
- NameRegex string
- OutputFile string
- PeerTransit stringRouter Id 
- The id of the peer transit router.
- PeerTransit stringRouter Region Id 
- The region id of the peer transit router.
- 
[]PeerAttachments Tag 
- Tags.
- TransitRouter stringAttachment Name 
- The name of the transit router peer attachment.
- TransitRouter stringId 
- The id of the local transit router.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- transitRouter List<PeerAttachments Attachments Transit Router Attachment> 
- The collection of query.
- ids List<String>
- nameRegex String
- outputFile String
- peerTransit StringRouter Id 
- The id of the peer transit router.
- peerTransit StringRouter Region Id 
- The region id of the peer transit router.
- 
List<PeerAttachments Tag> 
- Tags.
- transitRouter StringAttachment Name 
- The name of the transit router peer attachment.
- transitRouter StringId 
- The id of the local transit router.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- transitRouter PeerAttachments Attachments Transit Router Attachment[] 
- The collection of query.
- ids string[]
- nameRegex string
- outputFile string
- peerTransit stringRouter Id 
- The id of the peer transit router.
- peerTransit stringRouter Region Id 
- The region id of the peer transit router.
- 
PeerAttachments Tag[] 
- Tags.
- transitRouter stringAttachment Name 
- The name of the transit router peer attachment.
- transitRouter 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[PeerAttachments 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.
- totalCount Number
- The total count of query.
- transitRouter List<Property Map>Attachments 
- The collection of query.
- ids List<String>
- nameRegex String
- outputFile String
- peerTransit StringRouter Id 
- The id of the peer transit router.
- peerTransit StringRouter Region Id 
- The region id of the peer transit router.
- List<Property Map>
- Tags.
- transitRouter StringAttachment Name 
- The name of the transit router peer attachment.
- transitRouter StringId 
- The id of the local transit router.
Supporting Types
PeerAttachmentsTag  
PeerAttachmentsTransitRouterAttachment    
- Bandwidth int
- The bandwidth of the transit router peer attachment.
- CreationTime 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.
- PeerTransit stringRouter Id 
- The id of peer transit router.
- PeerTransit stringRouter Region Id 
- The region id of peer transit router.
- Status string
- The status of the transit router peer attachment.
- 
List<PeerAttachments Transit Router Attachment Tag> 
- Tags.
- TransitRouter stringAttachment Id 
- The id of the transit router peer attachment.
- TransitRouter stringAttachment Name 
- The name of transit router peer attachment.
- TransitRouter stringBandwidth Package Id 
- The bandwidth package id of the transit router peer attachment.
- TransitRouter stringId 
- The id of local transit router.
- TransitRouter stringRoute Table Id 
- 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.
- CreationTime 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.
- PeerTransit stringRouter Id 
- The id of peer transit router.
- PeerTransit stringRouter Region Id 
- The region id of peer transit router.
- Status string
- The status of the transit router peer attachment.
- 
[]PeerAttachments Transit Router Attachment Tag 
- Tags.
- TransitRouter stringAttachment Id 
- The id of the transit router peer attachment.
- TransitRouter stringAttachment Name 
- The name of transit router peer attachment.
- TransitRouter stringBandwidth Package Id 
- The bandwidth package id of the transit router peer attachment.
- TransitRouter stringId 
- The id of local transit router.
- TransitRouter stringRoute Table Id 
- 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.
- creationTime 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.
- peerTransit StringRouter Id 
- The id of peer transit router.
- peerTransit StringRouter Region Id 
- The region id of peer transit router.
- status String
- The status of the transit router peer attachment.
- 
List<PeerAttachments Transit Router Attachment Tag> 
- Tags.
- transitRouter StringAttachment Id 
- The id of the transit router peer attachment.
- transitRouter StringAttachment Name 
- The name of transit router peer attachment.
- transitRouter StringBandwidth Package Id 
- The bandwidth package id of the transit router peer attachment.
- transitRouter StringId 
- The id of local transit router.
- transitRouter StringRoute Table Id 
- 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.
- creationTime 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.
- peerTransit stringRouter Id 
- The id of peer transit router.
- peerTransit stringRouter Region Id 
- The region id of peer transit router.
- status string
- The status of the transit router peer attachment.
- 
PeerAttachments Transit Router Attachment Tag[] 
- Tags.
- transitRouter stringAttachment Id 
- The id of the transit router peer attachment.
- transitRouter stringAttachment Name 
- The name of transit router peer attachment.
- transitRouter stringBandwidth Package Id 
- The bandwidth package id of the transit router peer attachment.
- transitRouter stringId 
- The id of local transit router.
- transitRouter stringRoute Table Id 
- 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.
- 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[PeerAttachments 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.
- creationTime 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.
- peerTransit StringRouter Id 
- The id of peer transit router.
- peerTransit StringRouter Region Id 
- The region id of peer transit router.
- status String
- The status of the transit router peer attachment.
- List<Property Map>
- Tags.
- transitRouter StringAttachment Id 
- The id of the transit router peer attachment.
- transitRouter StringAttachment Name 
- The name of transit router peer attachment.
- transitRouter StringBandwidth Package Id 
- The bandwidth package id of the transit router peer attachment.
- transitRouter StringId 
- The id of local transit router.
- transitRouter StringRoute Table Id 
- The route table id of the transit router peer attachment.
- updateTime 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.