"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.connectionsOutput = exports.connections = 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",
 * });
 * ```
 */
/** @deprecated volcengine.direct_connect.Connections has been deprecated in favor of volcengine.direct_connect.getConnections */
function connections(args, opts) {
    pulumi.log.warn("connections is deprecated: volcengine.direct_connect.Connections has been deprecated in favor of volcengine.direct_connect.getConnections");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:direct_connect/connections:Connections", {
        "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.connections = connections;
/**
 * 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",
 * });
 * ```
 */
/** @deprecated volcengine.direct_connect.Connections has been deprecated in favor of volcengine.direct_connect.getConnections */
function connectionsOutput(args, opts) {
    return pulumi.output(args).apply((a) => connections(a, opts));
}
exports.connectionsOutput = connectionsOutput;
//# sourceMappingURL=connections.js.map