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