UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

52 lines 1.85 kB
"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.getBgpPeersOutput = exports.getBgpPeers = 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****"], * }); * ``` */ function getBgpPeers(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:direct_connect/getBgpPeers:getBgpPeers", { "bgpPeerName": args.bgpPeerName, "directConnectGatewayId": args.directConnectGatewayId, "ids": args.ids, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "remoteAsn": args.remoteAsn, "virtualInterfaceId": args.virtualInterfaceId, }, opts); } exports.getBgpPeers = getBgpPeers; /** * 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****"], * }); * ``` */ function getBgpPeersOutput(args, opts) { return pulumi.output(args).apply((a) => getBgpPeers(a, opts)); } exports.getBgpPeersOutput = getBgpPeersOutput; //# sourceMappingURL=getBgpPeers.js.map