"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.bgpPeersOutput = exports.bgpPeers = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of direct connect bgp peers
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getBgpPeers({
 *     ids: ["bgp-171w6pn39ruo04d1w33iq****"],
 * });
 * ```
 */
/** @deprecated volcengine.direct_connect.BgpPeers has been deprecated in favor of volcengine.direct_connect.getBgpPeers */
function bgpPeers(args, opts) {
    pulumi.log.warn("bgpPeers is deprecated: volcengine.direct_connect.BgpPeers has been deprecated in favor of volcengine.direct_connect.getBgpPeers");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:direct_connect/bgpPeers:BgpPeers", {
        "bgpPeerName": args.bgpPeerName,
        "directConnectGatewayId": args.directConnectGatewayId,
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "remoteAsn": args.remoteAsn,
        "virtualInterfaceId": args.virtualInterfaceId,
    }, opts);
}
exports.bgpPeers = bgpPeers;
/**
 * Use this data source to query detailed information of direct connect bgp peers
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getBgpPeers({
 *     ids: ["bgp-171w6pn39ruo04d1w33iq****"],
 * });
 * ```
 */
/** @deprecated volcengine.direct_connect.BgpPeers has been deprecated in favor of volcengine.direct_connect.getBgpPeers */
function bgpPeersOutput(args, opts) {
    return pulumi.output(args).apply((a) => bgpPeers(a, opts));
}
exports.bgpPeersOutput = bgpPeersOutput;
//# sourceMappingURL=bgpPeers.js.map