"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.getAddressesOutput = exports.getAddresses = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of eip addresses
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAddress = new volcengine.eip.Address("fooAddress", {billingType: "PostPaidByTraffic"});
 * const fooAddresses = volcengine.eip.getAddressesOutput({
 *     ids: [fooAddress.id],
 * });
 * ```
 */
function getAddresses(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:eip/getAddresses:getAddresses", {
        "associatedInstanceId": args.associatedInstanceId,
        "associatedInstanceType": args.associatedInstanceType,
        "eipAddresses": args.eipAddresses,
        "ids": args.ids,
        "isp": args.isp,
        "name": args.name,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "status": args.status,
        "tags": args.tags,
    }, opts);
}
exports.getAddresses = getAddresses;
/**
 * Use this data source to query detailed information of eip addresses
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAddress = new volcengine.eip.Address("fooAddress", {billingType: "PostPaidByTraffic"});
 * const fooAddresses = volcengine.eip.getAddressesOutput({
 *     ids: [fooAddress.id],
 * });
 * ```
 */
function getAddressesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getAddresses(a, opts));
}
exports.getAddressesOutput = getAddressesOutput;
//# sourceMappingURL=getAddresses.js.map