Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.transit_router.VpcAttachments has been deprecated in favor of volcengine.transit_router.getVpcAttachments
Use this data source to query detailed information of transit router vpc attachments
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.transit_router.getVpcAttachments({
transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.transit_router.get_vpc_attachments(transit_router_attachment_ids=["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
transit_router_id="tr-2d6fr7f39unsw58ozfe1ow21x")
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.GetVpcAttachments(ctx, &transit_router.GetVpcAttachmentsArgs{
TransitRouterAttachmentIds: []string{
"tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt",
},
TransitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
}, 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 @default = Volcengine.Transit_router.GetVpcAttachments.Invoke(new()
{
TransitRouterAttachmentIds = new[]
{
"tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt",
},
TransitRouterId = "tr-2d6fr7f39unsw58ozfe1ow21x",
});
});
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.GetVpcAttachmentsArgs;
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 default = Transit_routerFunctions.getVpcAttachments(GetVpcAttachmentsArgs.builder()
.transitRouterAttachmentIds("tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt")
.transitRouterId("tr-2d6fr7f39unsw58ozfe1ow21x")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:transit_router:getVpcAttachments
Arguments:
transitRouterAttachmentIds:
- tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt
transitRouterId: tr-2d6fr7f39unsw58ozfe1ow21x
Using VpcAttachments
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 vpcAttachments(args: VpcAttachmentsArgs, opts?: InvokeOptions): Promise<VpcAttachmentsResult>
function vpcAttachmentsOutput(args: VpcAttachmentsOutputArgs, opts?: InvokeOptions): Output<VpcAttachmentsResult>def vpc_attachments(output_file: Optional[str] = None,
tags: Optional[Sequence[VpcAttachmentsTag]] = None,
transit_router_attachment_ids: Optional[Sequence[str]] = None,
transit_router_id: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> VpcAttachmentsResult
def vpc_attachments_output(output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[VpcAttachmentsTagArgs]]]] = None,
transit_router_attachment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
transit_router_id: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[VpcAttachmentsResult]func VpcAttachments(ctx *Context, args *VpcAttachmentsArgs, opts ...InvokeOption) (*VpcAttachmentsResult, error)
func VpcAttachmentsOutput(ctx *Context, args *VpcAttachmentsOutputArgs, opts ...InvokeOption) VpcAttachmentsResultOutputpublic static class VpcAttachments
{
public static Task<VpcAttachmentsResult> InvokeAsync(VpcAttachmentsArgs args, InvokeOptions? opts = null)
public static Output<VpcAttachmentsResult> Invoke(VpcAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<VpcAttachmentsResult> vpcAttachments(VpcAttachmentsArgs args, InvokeOptions options)
public static Output<VpcAttachmentsResult> vpcAttachments(VpcAttachmentsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:transit_router:VpcAttachments
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Router stringId - The id of transit router.
- Output
File string - File name where to save data source results.
-
List<Vpc
Attachments Tag> - Tags.
- Transit
Router List<string>Attachment Ids - A list of Transit Router Attachment ids.
- Vpc
Id string - The id of vpc.
- Transit
Router stringId - The id of transit router.
- Output
File string - File name where to save data source results.
-
[]Vpc
Attachments Tag - Tags.
- Transit
Router []stringAttachment Ids - A list of Transit Router Attachment ids.
- Vpc
Id string - The id of vpc.
- transit
Router StringId - The id of transit router.
- output
File String - File name where to save data source results.
-
List<Vpc
Attachments Tag> - Tags.
- transit
Router List<String>Attachment Ids - A list of Transit Router Attachment ids.
- vpc
Id String - The id of vpc.
- transit
Router stringId - The id of transit router.
- output
File string - File name where to save data source results.
-
Vpc
Attachments Tag[] - Tags.
- transit
Router string[]Attachment Ids - A list of Transit Router Attachment ids.
- vpc
Id string - The id of vpc.
- transit_
router_ strid - The id of transit router.
- output_
file str - File name where to save data source results.
-
Sequence[Vpc
Attachments Tag] - Tags.
- transit_
router_ Sequence[str]attachment_ ids - A list of Transit Router Attachment ids.
- vpc_
id str - The id of vpc.
- transit
Router StringId - The id of transit router.
- output
File String - File name where to save data source results.
- List<Property Map>
- Tags.
- transit
Router List<String>Attachment Ids - A list of Transit Router Attachment ids.
- vpc
Id String - The id of vpc.
VpcAttachments Result
The following output properties are available:
- Attachments
List<Vpc
Attachments Attachment> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Transit
Router stringId - The id of the transit router.
- Output
File string -
List<Vpc
Attachments Tag> - Tags.
- Transit
Router List<string>Attachment Ids - Vpc
Id string - The ID of vpc.
- Attachments
[]Vpc
Attachments Attachment - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Transit
Router stringId - The id of the transit router.
- Output
File string -
[]Vpc
Attachments Tag - Tags.
- Transit
Router []stringAttachment Ids - Vpc
Id string - The ID of vpc.
- attachments
List<Vpc
Attachments Attachment> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- transit
Router StringId - The id of the transit router.
- output
File String -
List<Vpc
Attachments Tag> - Tags.
- transit
Router List<String>Attachment Ids - vpc
Id String - The ID of vpc.
- attachments
Vpc
Attachments Attachment[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- transit
Router stringId - The id of the transit router.
- output
File string -
Vpc
Attachments Tag[] - Tags.
- transit
Router string[]Attachment Ids - vpc
Id string - The ID of vpc.
- attachments
Sequence[Vpc
Attachments Attachment] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- transit_
router_ strid - The id of the transit router.
- output_
file str -
Sequence[Vpc
Attachments Tag] - Tags.
- transit_
router_ Sequence[str]attachment_ ids - vpc_
id str - The ID of vpc.
- attachments List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- transit
Router StringId - The id of the transit router.
- output
File String - List<Property Map>
- Tags.
- transit
Router List<String>Attachment Ids - vpc
Id String - The ID of vpc.
Supporting Types
VpcAttachmentsAttachment
- Attach
Points List<VpcAttachments Attachment Attach Point> - The collection of attach points.
- Auto
Publish boolRoute Enabled - Whether to auto publish route of the transit router to vpc instance.
- Creation
Time string - The create time.
- Description string
- The description info.
- Status string
- The status of the transit router.
-
List<Vpc
Attachments Attachment Tag> - Tags.
- Transit
Router stringAttachment Id - The id of the transit router attachment.
- Transit
Router stringAttachment Name - The name of the transit router attachment.
- Transit
Router stringId - The id of transit router.
- Update
Time string - The update time.
- Vpc
Id string - The id of vpc.
- Attach
Points []VpcAttachments Attachment Attach Point - The collection of attach points.
- Auto
Publish boolRoute Enabled - Whether to auto publish route of the transit router to vpc instance.
- Creation
Time string - The create time.
- Description string
- The description info.
- Status string
- The status of the transit router.
-
[]Vpc
Attachments Attachment Tag - Tags.
- Transit
Router stringAttachment Id - The id of the transit router attachment.
- Transit
Router stringAttachment Name - The name of the transit router attachment.
- Transit
Router stringId - The id of transit router.
- Update
Time string - The update time.
- Vpc
Id string - The id of vpc.
- attach
Points List<VpcAttachments Attachment Attach Point> - The collection of attach points.
- auto
Publish BooleanRoute Enabled - Whether to auto publish route of the transit router to vpc instance.
- creation
Time String - The create time.
- description String
- The description info.
- status String
- The status of the transit router.
-
List<Vpc
Attachments Attachment Tag> - Tags.
- transit
Router StringAttachment Id - The id of the transit router attachment.
- transit
Router StringAttachment Name - The name of the transit router attachment.
- transit
Router StringId - The id of transit router.
- update
Time String - The update time.
- vpc
Id String - The id of vpc.
- attach
Points VpcAttachments Attachment Attach Point[] - The collection of attach points.
- auto
Publish booleanRoute Enabled - Whether to auto publish route of the transit router to vpc instance.
- creation
Time string - The create time.
- description string
- The description info.
- status string
- The status of the transit router.
-
Vpc
Attachments Attachment Tag[] - Tags.
- transit
Router stringAttachment Id - The id of the transit router attachment.
- transit
Router stringAttachment Name - The name of the transit router attachment.
- transit
Router stringId - The id of transit router.
- update
Time string - The update time.
- vpc
Id string - The id of vpc.
- attach_
points Sequence[VpcAttachments Attachment Attach Point] - The collection of attach points.
- auto_
publish_ boolroute_ enabled - Whether to auto publish route of the transit router to vpc instance.
- creation_
time str - The create time.
- description str
- The description info.
- status str
- The status of the transit router.
-
Sequence[Vpc
Attachments Attachment Tag] - Tags.
- transit_
router_ strattachment_ id - The id of the transit router attachment.
- transit_
router_ strattachment_ name - The name of the transit router attachment.
- transit_
router_ strid - The id of transit router.
- update_
time str - The update time.
- vpc_
id str - The id of vpc.
- attach
Points List<Property Map> - The collection of attach points.
- auto
Publish BooleanRoute Enabled - Whether to auto publish route of the transit router to vpc instance.
- creation
Time String - The create time.
- description String
- The description info.
- status String
- The status of the transit router.
- List<Property Map>
- Tags.
- transit
Router StringAttachment Id - The id of the transit router attachment.
- transit
Router StringAttachment Name - The name of the transit router attachment.
- transit
Router StringId - The id of transit router.
- update
Time String - The update time.
- vpc
Id String - The id of vpc.
VpcAttachmentsAttachmentAttachPoint
- Network
Interface stringId - The ID of network interface.
- Subnet
Id string - The ID of subnet.
- Zone
Id string - The ID of zone.
- Network
Interface stringId - The ID of network interface.
- Subnet
Id string - The ID of subnet.
- Zone
Id string - The ID of zone.
- network
Interface StringId - The ID of network interface.
- subnet
Id String - The ID of subnet.
- zone
Id String - The ID of zone.
- network
Interface stringId - The ID of network interface.
- subnet
Id string - The ID of subnet.
- zone
Id string - The ID of zone.
- network_
interface_ strid - The ID of network interface.
- subnet_
id str - The ID of subnet.
- zone_
id str - The ID of zone.
- network
Interface StringId - The ID of network interface.
- subnet
Id String - The ID of subnet.
- zone
Id String - The ID of zone.
VpcAttachmentsAttachmentTag
VpcAttachmentsTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
