"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.vpnAttachmentsOutput = exports.vpnAttachments = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of transit router vpn attachments
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.transit_router.getVpnAttachments({
 *     ids: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
 *     transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.VpnAttachments has been deprecated in favor of volcengine.transit_router.getVpnAttachments */
function vpnAttachments(args, opts) {
    pulumi.log.warn("vpnAttachments is deprecated: volcengine.transit_router.VpnAttachments has been deprecated in favor of volcengine.transit_router.getVpnAttachments");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:transit_router/vpnAttachments:VpnAttachments", {
        "ids": args.ids,
        "outputFile": args.outputFile,
        "tags": args.tags,
        "transitRouterId": args.transitRouterId,
        "vpnConnectionId": args.vpnConnectionId,
    }, opts);
}
exports.vpnAttachments = vpnAttachments;
/**
 * Use this data source to query detailed information of transit router vpn attachments
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.transit_router.getVpnAttachments({
 *     ids: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
 *     transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.VpnAttachments has been deprecated in favor of volcengine.transit_router.getVpnAttachments */
function vpnAttachmentsOutput(args, opts) {
    return pulumi.output(args).apply((a) => vpnAttachments(a, opts));
}
exports.vpnAttachmentsOutput = vpnAttachmentsOutput;
//# sourceMappingURL=vpnAttachments.js.map