"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.directConnectGatewayAttachmentsOutput = exports.directConnectGatewayAttachments = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of transit router direct connect gateway attachments
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.transit_router.getDirectConnectGatewayAttachments({
 *     transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.DirectConnectGatewayAttachments has been deprecated in favor of volcengine.transit_router.getDirectConnectGatewayAttachments */
function directConnectGatewayAttachments(args, opts) {
    pulumi.log.warn("directConnectGatewayAttachments is deprecated: volcengine.transit_router.DirectConnectGatewayAttachments has been deprecated in favor of volcengine.transit_router.getDirectConnectGatewayAttachments");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:transit_router/directConnectGatewayAttachments:DirectConnectGatewayAttachments", {
        "directConnectGatewayId": args.directConnectGatewayId,
        "outputFile": args.outputFile,
        "tags": args.tags,
        "transitRouterAttachmentIds": args.transitRouterAttachmentIds,
        "transitRouterId": args.transitRouterId,
    }, opts);
}
exports.directConnectGatewayAttachments = directConnectGatewayAttachments;
/**
 * Use this data source to query detailed information of transit router direct connect gateway attachments
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.transit_router.getDirectConnectGatewayAttachments({
 *     transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.DirectConnectGatewayAttachments has been deprecated in favor of volcengine.transit_router.getDirectConnectGatewayAttachments */
function directConnectGatewayAttachmentsOutput(args, opts) {
    return pulumi.output(args).apply((a) => directConnectGatewayAttachments(a, opts));
}
exports.directConnectGatewayAttachmentsOutput = directConnectGatewayAttachmentsOutput;
//# sourceMappingURL=directConnectGatewayAttachments.js.map