1. Packages
  2. Volcengine
  3. API Docs
  4. transit_router
  5. PeerAttachments
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.transit_router.PeerAttachments

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.PeerAttachments({
    ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.transit_router.peer_attachments(ids=["tr-attach-12be67d0yh2io17q7y1au****"])
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 {
		_, err := transit_router.PeerAttachments(ctx, &transit_router.PeerAttachmentsArgs{
			Ids: []string{
				"tr-attach-12be67d0yh2io17q7y1au****",
			},
		}, nil)
		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 foo = Volcengine.Transit_router.PeerAttachments.Invoke(new()
    {
        Ids = new[]
        {
            "tr-attach-12be67d0yh2io17q7y1au****",
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:transit_router:PeerAttachments
      Arguments:
        ids:
          - tr-attach-12be67d0yh2io17q7y1au****
Copy

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>
Copy
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]
Copy
func PeerAttachments(ctx *Context, args *PeerAttachmentsArgs, opts ...InvokeOption) (*PeerAttachmentsResult, error)
func PeerAttachmentsOutput(ctx *Context, args *PeerAttachmentsOutputArgs, opts ...InvokeOption) PeerAttachmentsResultOutput
Copy
public static class PeerAttachments 
{
    public static Task<PeerAttachmentsResult> InvokeAsync(PeerAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<PeerAttachmentsResult> Invoke(PeerAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<PeerAttachmentsResult> peerAttachments(PeerAttachmentsArgs args, InvokeOptions options)
public static Output<PeerAttachmentsResult> peerAttachments(PeerAttachmentsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:transit_router:PeerAttachments
  arguments:
    # arguments dictionary
Copy

The 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.
PeerTransitRouterId string
The id of peer transit router.
PeerTransitRouterRegionId string
The region id of peer transit router.
Tags List<PeerAttachmentsTag>
Tags.
TransitRouterAttachmentName string
The name of transit router peer attachment.
TransitRouterId string
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.
PeerTransitRouterId string
The id of peer transit router.
PeerTransitRouterRegionId string
The region id of peer transit router.
Tags []PeerAttachmentsTag
Tags.
TransitRouterAttachmentName string
The name of transit router peer attachment.
TransitRouterId string
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.
peerTransitRouterId String
The id of peer transit router.
peerTransitRouterRegionId String
The region id of peer transit router.
tags List<PeerAttachmentsTag>
Tags.
transitRouterAttachmentName String
The name of transit router peer attachment.
transitRouterId String
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.
peerTransitRouterId string
The id of peer transit router.
peerTransitRouterRegionId string
The region id of peer transit router.
tags PeerAttachmentsTag[]
Tags.
transitRouterAttachmentName string
The name of transit router peer attachment.
transitRouterId string
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_router_id str
The id of peer transit router.
peer_transit_router_region_id str
The region id of peer transit router.
tags Sequence[PeerAttachmentsTag]
Tags.
transit_router_attachment_name str
The name of transit router peer attachment.
transit_router_id str
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.
peerTransitRouterId String
The id of peer transit router.
peerTransitRouterRegionId String
The region id of peer transit router.
tags List<Property Map>
Tags.
transitRouterAttachmentName String
The name of transit router peer attachment.
transitRouterId String
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.
TransitRouterAttachments List<PeerAttachmentsTransitRouterAttachment>
The collection of query.
Ids List<string>
NameRegex string
OutputFile string
PeerTransitRouterId string
The id of the peer transit router.
PeerTransitRouterRegionId string
The region id of the peer transit router.
Tags List<PeerAttachmentsTag>
Tags.
TransitRouterAttachmentName string
The name of the transit router peer attachment.
TransitRouterId string
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.
TransitRouterAttachments []PeerAttachmentsTransitRouterAttachment
The collection of query.
Ids []string
NameRegex string
OutputFile string
PeerTransitRouterId string
The id of the peer transit router.
PeerTransitRouterRegionId string
The region id of the peer transit router.
Tags []PeerAttachmentsTag
Tags.
TransitRouterAttachmentName string
The name of the transit router peer attachment.
TransitRouterId string
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.
transitRouterAttachments List<PeerAttachmentsTransitRouterAttachment>
The collection of query.
ids List<String>
nameRegex String
outputFile String
peerTransitRouterId String
The id of the peer transit router.
peerTransitRouterRegionId String
The region id of the peer transit router.
tags List<PeerAttachmentsTag>
Tags.
transitRouterAttachmentName String
The name of the transit router peer attachment.
transitRouterId String
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.
transitRouterAttachments PeerAttachmentsTransitRouterAttachment[]
The collection of query.
ids string[]
nameRegex string
outputFile string
peerTransitRouterId string
The id of the peer transit router.
peerTransitRouterRegionId string
The region id of the peer transit router.
tags PeerAttachmentsTag[]
Tags.
transitRouterAttachmentName string
The name of the transit router peer attachment.
transitRouterId string
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_attachments Sequence[PeerAttachmentsTransitRouterAttachment]
The collection of query.
ids Sequence[str]
name_regex str
output_file str
peer_transit_router_id str
The id of the peer transit router.
peer_transit_router_region_id str
The region id of the peer transit router.
tags Sequence[PeerAttachmentsTag]
Tags.
transit_router_attachment_name str
The name of the transit router peer attachment.
transit_router_id str
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.
transitRouterAttachments List<Property Map>
The collection of query.
ids List<String>
nameRegex String
outputFile String
peerTransitRouterId String
The id of the peer transit router.
peerTransitRouterRegionId String
The region id of the peer transit router.
tags List<Property Map>
Tags.
transitRouterAttachmentName String
The name of the transit router peer attachment.
transitRouterId String
The id of the local transit router.

Supporting Types

PeerAttachmentsTag

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.

PeerAttachmentsTransitRouterAttachment

Bandwidth This property is required. int
The bandwidth of the transit router peer attachment.
CreationTime This property is required. string
The creation time of the transit router peer attachment.
Description This property is required. string
The description of the transit router peer attachment.
Id This property is required. string
The id of the transit router peer attachment.
PeerTransitRouterId This property is required. string
The id of peer transit router.
PeerTransitRouterRegionId This property is required. string
The region id of peer transit router.
Status This property is required. string
The status of the transit router peer attachment.
Tags This property is required. List<PeerAttachmentsTransitRouterAttachmentTag>
Tags.
TransitRouterAttachmentId This property is required. string
The id of the transit router peer attachment.
TransitRouterAttachmentName This property is required. string
The name of transit router peer attachment.
TransitRouterBandwidthPackageId This property is required. string
The bandwidth package id of the transit router peer attachment.
TransitRouterId This property is required. string
The id of local transit router.
TransitRouterRouteTableId This property is required. string
The route table id of the transit router peer attachment.
UpdateTime This property is required. string
The update time of the transit router peer attachment.
Bandwidth This property is required. int
The bandwidth of the transit router peer attachment.
CreationTime This property is required. string
The creation time of the transit router peer attachment.
Description This property is required. string
The description of the transit router peer attachment.
Id This property is required. string
The id of the transit router peer attachment.
PeerTransitRouterId This property is required. string
The id of peer transit router.
PeerTransitRouterRegionId This property is required. string
The region id of peer transit router.
Status This property is required. string
The status of the transit router peer attachment.
Tags This property is required. []PeerAttachmentsTransitRouterAttachmentTag
Tags.
TransitRouterAttachmentId This property is required. string
The id of the transit router peer attachment.
TransitRouterAttachmentName This property is required. string
The name of transit router peer attachment.
TransitRouterBandwidthPackageId This property is required. string
The bandwidth package id of the transit router peer attachment.
TransitRouterId This property is required. string
The id of local transit router.
TransitRouterRouteTableId This property is required. string
The route table id of the transit router peer attachment.
UpdateTime This property is required. string
The update time of the transit router peer attachment.
bandwidth This property is required. Integer
The bandwidth of the transit router peer attachment.
creationTime This property is required. String
The creation time of the transit router peer attachment.
description This property is required. String
The description of the transit router peer attachment.
id This property is required. String
The id of the transit router peer attachment.
peerTransitRouterId This property is required. String
The id of peer transit router.
peerTransitRouterRegionId This property is required. String
The region id of peer transit router.
status This property is required. String
The status of the transit router peer attachment.
tags This property is required. List<PeerAttachmentsTransitRouterAttachmentTag>
Tags.
transitRouterAttachmentId This property is required. String
The id of the transit router peer attachment.
transitRouterAttachmentName This property is required. String
The name of transit router peer attachment.
transitRouterBandwidthPackageId This property is required. String
The bandwidth package id of the transit router peer attachment.
transitRouterId This property is required. String
The id of local transit router.
transitRouterRouteTableId This property is required. String
The route table id of the transit router peer attachment.
updateTime This property is required. String
The update time of the transit router peer attachment.
bandwidth This property is required. number
The bandwidth of the transit router peer attachment.
creationTime This property is required. string
The creation time of the transit router peer attachment.
description This property is required. string
The description of the transit router peer attachment.
id This property is required. string
The id of the transit router peer attachment.
peerTransitRouterId This property is required. string
The id of peer transit router.
peerTransitRouterRegionId This property is required. string
The region id of peer transit router.
status This property is required. string
The status of the transit router peer attachment.
tags This property is required. PeerAttachmentsTransitRouterAttachmentTag[]
Tags.
transitRouterAttachmentId This property is required. string
The id of the transit router peer attachment.
transitRouterAttachmentName This property is required. string
The name of transit router peer attachment.
transitRouterBandwidthPackageId This property is required. string
The bandwidth package id of the transit router peer attachment.
transitRouterId This property is required. string
The id of local transit router.
transitRouterRouteTableId This property is required. string
The route table id of the transit router peer attachment.
updateTime This property is required. string
The update time of the transit router peer attachment.
bandwidth This property is required. int
The bandwidth of the transit router peer attachment.
creation_time This property is required. str
The creation time of the transit router peer attachment.
description This property is required. str
The description of the transit router peer attachment.
id This property is required. str
The id of the transit router peer attachment.
peer_transit_router_id This property is required. str
The id of peer transit router.
peer_transit_router_region_id This property is required. str
The region id of peer transit router.
status This property is required. str
The status of the transit router peer attachment.
tags This property is required. Sequence[PeerAttachmentsTransitRouterAttachmentTag]
Tags.
transit_router_attachment_id This property is required. str
The id of the transit router peer attachment.
transit_router_attachment_name This property is required. str
The name of transit router peer attachment.
transit_router_bandwidth_package_id This property is required. str
The bandwidth package id of the transit router peer attachment.
transit_router_id This property is required. str
The id of local transit router.
transit_router_route_table_id This property is required. str
The route table id of the transit router peer attachment.
update_time This property is required. str
The update time of the transit router peer attachment.
bandwidth This property is required. Number
The bandwidth of the transit router peer attachment.
creationTime This property is required. String
The creation time of the transit router peer attachment.
description This property is required. String
The description of the transit router peer attachment.
id This property is required. String
The id of the transit router peer attachment.
peerTransitRouterId This property is required. String
The id of peer transit router.
peerTransitRouterRegionId This property is required. String
The region id of peer transit router.
status This property is required. String
The status of the transit router peer attachment.
tags This property is required. List<Property Map>
Tags.
transitRouterAttachmentId This property is required. String
The id of the transit router peer attachment.
transitRouterAttachmentName This property is required. String
The name of transit router peer attachment.
transitRouterBandwidthPackageId This property is required. String
The bandwidth package id of the transit router peer attachment.
transitRouterId This property is required. String
The id of local transit router.
transitRouterRouteTableId This property is required. String
The route table id of the transit router peer attachment.
updateTime This property is required. String
The update time of the transit router peer attachment.

PeerAttachmentsTransitRouterAttachmentTag

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.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine