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.DirectConnectGatewayAttachments has been deprecated in favor of volcengine.transit_router.getDirectConnectGatewayAttachments
Use this data source to query detailed information of transit router direct connect gateway attachments
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.transit_router.getDirectConnectGatewayAttachments({
transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.transit_router.get_direct_connect_gateway_attachments(transit_router_id="tr-2bzy39x27qtxc2dx0eg5qaj05")
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.GetDirectConnectGatewayAttachments(ctx, &transit_router.GetDirectConnectGatewayAttachmentsArgs{
TransitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
}, 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.GetDirectConnectGatewayAttachments.Invoke(new()
{
TransitRouterId = "tr-2bzy39x27qtxc2dx0eg5qaj05",
});
});
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.GetDirectConnectGatewayAttachmentsArgs;
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.getDirectConnectGatewayAttachments(GetDirectConnectGatewayAttachmentsArgs.builder()
.transitRouterId("tr-2bzy39x27qtxc2dx0eg5qaj05")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:transit_router:getDirectConnectGatewayAttachments
Arguments:
transitRouterId: tr-2bzy39x27qtxc2dx0eg5qaj05
Using DirectConnectGatewayAttachments
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 directConnectGatewayAttachments(args: DirectConnectGatewayAttachmentsArgs, opts?: InvokeOptions): Promise<DirectConnectGatewayAttachmentsResult>
function directConnectGatewayAttachmentsOutput(args: DirectConnectGatewayAttachmentsOutputArgs, opts?: InvokeOptions): Output<DirectConnectGatewayAttachmentsResult>def direct_connect_gateway_attachments(direct_connect_gateway_id: Optional[str] = None,
output_file: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayAttachmentsTag]] = None,
transit_router_attachment_ids: Optional[Sequence[str]] = None,
transit_router_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> DirectConnectGatewayAttachmentsResult
def direct_connect_gateway_attachments_output(direct_connect_gateway_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[DirectConnectGatewayAttachmentsTagArgs]]]] = None,
transit_router_attachment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
transit_router_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[DirectConnectGatewayAttachmentsResult]func DirectConnectGatewayAttachments(ctx *Context, args *DirectConnectGatewayAttachmentsArgs, opts ...InvokeOption) (*DirectConnectGatewayAttachmentsResult, error)
func DirectConnectGatewayAttachmentsOutput(ctx *Context, args *DirectConnectGatewayAttachmentsOutputArgs, opts ...InvokeOption) DirectConnectGatewayAttachmentsResultOutputpublic static class DirectConnectGatewayAttachments
{
public static Task<DirectConnectGatewayAttachmentsResult> InvokeAsync(DirectConnectGatewayAttachmentsArgs args, InvokeOptions? opts = null)
public static Output<DirectConnectGatewayAttachmentsResult> Invoke(DirectConnectGatewayAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<DirectConnectGatewayAttachmentsResult> directConnectGatewayAttachments(DirectConnectGatewayAttachmentsArgs args, InvokeOptions options)
public static Output<DirectConnectGatewayAttachmentsResult> directConnectGatewayAttachments(DirectConnectGatewayAttachmentsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:transit_router:DirectConnectGatewayAttachments
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Router stringId - The id of the transit router.
- Direct
Connect stringGateway Id - ID of the direct connection gateway.
- Output
File string - File name where to save data source results.
-
List<Direct
Connect Gateway Attachments Tag> - Tags.
- Transit
Router List<string>Attachment Ids - ID of the network instance connection.
- Transit
Router stringId - The id of the transit router.
- Direct
Connect stringGateway Id - ID of the direct connection gateway.
- Output
File string - File name where to save data source results.
-
[]Direct
Connect Gateway Attachments Tag - Tags.
- Transit
Router []stringAttachment Ids - ID of the network instance connection.
- transit
Router StringId - The id of the transit router.
- direct
Connect StringGateway Id - ID of the direct connection gateway.
- output
File String - File name where to save data source results.
-
List<Direct
Connect Gateway Attachments Tag> - Tags.
- transit
Router List<String>Attachment Ids - ID of the network instance connection.
- transit
Router stringId - The id of the transit router.
- direct
Connect stringGateway Id - ID of the direct connection gateway.
- output
File string - File name where to save data source results.
-
Direct
Connect Gateway Attachments Tag[] - Tags.
- transit
Router string[]Attachment Ids - ID of the network instance connection.
- transit_
router_ strid - The id of the transit router.
- direct_
connect_ strgateway_ id - ID of the direct connection gateway.
- output_
file str - File name where to save data source results.
-
Sequence[Direct
Connect Gateway Attachments Tag] - Tags.
- transit_
router_ Sequence[str]attachment_ ids - ID of the network instance connection.
- transit
Router StringId - The id of the transit router.
- direct
Connect StringGateway Id - ID of the direct connection gateway.
- output
File String - File name where to save data source results.
- List<Property Map>
- Tags.
- transit
Router List<String>Attachment Ids - ID of the network instance connection.
DirectConnectGatewayAttachments Result
The following output properties are available:
- Attachments
List<Direct
Connect Gateway 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.
- Direct
Connect stringGateway Id - The direct connect gateway id.
- Output
File string -
List<Direct
Connect Gateway Attachments Tag> - Tags.
- Transit
Router List<string>Attachment Ids
- Attachments
[]Direct
Connect Gateway 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.
- Direct
Connect stringGateway Id - The direct connect gateway id.
- Output
File string -
[]Direct
Connect Gateway Attachments Tag - Tags.
- Transit
Router []stringAttachment Ids
- attachments
List<Direct
Connect Gateway 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.
- direct
Connect StringGateway Id - The direct connect gateway id.
- output
File String -
List<Direct
Connect Gateway Attachments Tag> - Tags.
- transit
Router List<String>Attachment Ids
- attachments
Direct
Connect Gateway 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.
- direct
Connect stringGateway Id - The direct connect gateway id.
- output
File string -
Direct
Connect Gateway Attachments Tag[] - Tags.
- transit
Router string[]Attachment Ids
- attachments
Sequence[Direct
Connect Gateway 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.
- direct_
connect_ strgateway_ id - The direct connect gateway id.
- output_
file str -
Sequence[Direct
Connect Gateway Attachments Tag] - Tags.
- transit_
router_ Sequence[str]attachment_ ids
- 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.
- direct
Connect StringGateway Id - The direct connect gateway id.
- output
File String - List<Property Map>
- Tags.
- transit
Router List<String>Attachment Ids
Supporting Types
DirectConnectGatewayAttachmentsAttachment
- Account
Id string - The account id.
- Creation
Time string - The create time.
- Description string
- The description info.
- Direct
Connect stringGateway Id - ID of the direct connection gateway.
- Status string
- The status of the network instance connection.
-
List<Direct
Connect Gateway 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 the transit router.
- Update
Time string - The update time.
- Account
Id string - The account id.
- Creation
Time string - The create time.
- Description string
- The description info.
- Direct
Connect stringGateway Id - ID of the direct connection gateway.
- Status string
- The status of the network instance connection.
-
[]Direct
Connect Gateway 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 the transit router.
- Update
Time string - The update time.
- account
Id String - The account id.
- creation
Time String - The create time.
- description String
- The description info.
- direct
Connect StringGateway Id - ID of the direct connection gateway.
- status String
- The status of the network instance connection.
-
List<Direct
Connect Gateway 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 the transit router.
- update
Time String - The update time.
- account
Id string - The account id.
- creation
Time string - The create time.
- description string
- The description info.
- direct
Connect stringGateway Id - ID of the direct connection gateway.
- status string
- The status of the network instance connection.
-
Direct
Connect Gateway 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 the transit router.
- update
Time string - The update time.
- account_
id str - The account id.
- creation_
time str - The create time.
- description str
- The description info.
- direct_
connect_ strgateway_ id - ID of the direct connection gateway.
- status str
- The status of the network instance connection.
-
Sequence[Direct
Connect Gateway 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 the transit router.
- update_
time str - The update time.
- account
Id String - The account id.
- creation
Time String - The create time.
- description String
- The description info.
- direct
Connect StringGateway Id - ID of the direct connection gateway.
- status String
- The status of the network instance connection.
- 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 the transit router.
- update
Time String - The update time.
DirectConnectGatewayAttachmentsAttachmentTag
DirectConnectGatewayAttachmentsTag
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
