"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.getConnectionsOutput = exports.getConnections = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of direct connect connections
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getConnections({
 *     directConnectConnectionName: "tf_test",
 * });
 * ```
 */
function getConnections(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:direct_connect/getConnections:getConnections", {
        "connectionType": args.connectionType,
        "directConnectAccessPointId": args.directConnectAccessPointId,
        "directConnectConnectionName": args.directConnectConnectionName,
        "ids": args.ids,
        "lineOperator": args.lineOperator,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "peerLocation": args.peerLocation,
        "tagFilters": args.tagFilters,
    }, opts);
}
exports.getConnections = getConnections;
/**
 * Use this data source to query detailed information of direct connect connections
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getConnections({
 *     directConnectConnectionName: "tf_test",
 * });
 * ```
 */
function getConnectionsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getConnections(a, opts));
}
exports.getConnectionsOutput = getConnectionsOutput;
//# sourceMappingURL=getConnections.js.map