"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.ipsOutput = exports.ips = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of nat ips
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
 *     vpcId: fooVpc.id,
 *     subnetId: fooSubnet.id,
 *     natGatewayName: "acc-test-intranet_ng",
 *     description: "acc-test",
 *     networkType: "intranet",
 *     billingType: "PostPaidByUsage",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooIp = new volcengine.nat.Ip("fooIp", {
 *     natGatewayId: intranetNatGateway.id,
 *     natIpName: "acc-test-nat-ip",
 *     natIpDescription: "acc-test",
 *     natIp: "172.16.0.3",
 * });
 * const fooIps = volcengine.nat.getIpsOutput({
 *     natGatewayId: intranetNatGateway.id,
 * });
 * ```
 */
/** @deprecated volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps */
function ips(args, opts) {
    pulumi.log.warn("ips is deprecated: volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:nat/ips:Ips", {
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "natGatewayId": args.natGatewayId,
        "natIpName": args.natIpName,
        "outputFile": args.outputFile,
    }, opts);
}
exports.ips = ips;
/**
 * Use this data source to query detailed information of nat ips
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
 *     vpcId: fooVpc.id,
 *     subnetId: fooSubnet.id,
 *     natGatewayName: "acc-test-intranet_ng",
 *     description: "acc-test",
 *     networkType: "intranet",
 *     billingType: "PostPaidByUsage",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooIp = new volcengine.nat.Ip("fooIp", {
 *     natGatewayId: intranetNatGateway.id,
 *     natIpName: "acc-test-nat-ip",
 *     natIpDescription: "acc-test",
 *     natIp: "172.16.0.3",
 * });
 * const fooIps = volcengine.nat.getIpsOutput({
 *     natGatewayId: intranetNatGateway.id,
 * });
 * ```
 */
/** @deprecated volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps */
function ipsOutput(args, opts) {
    return pulumi.output(args).apply((a) => ips(a, opts));
}
exports.ipsOutput = ipsOutput;
//# sourceMappingURL=ips.js.map