"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.haVipsOutput = exports.haVips = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of ha vips
 * ## 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 fooHaVip = new volcengine.vpc.HaVip("fooHaVip", {
 *     haVipName: "acc-test-ha-vip",
 *     description: "acc-test",
 *     subnetId: fooSubnet.id,
 * });
 * //  ip_address = "172.16.0.5"
 * const fooHaVips = volcengine.vpc.getHaVipsOutput({
 *     ids: [fooHaVip.id],
 * });
 * ```
 */
/** @deprecated volcengine.vpc.HaVips has been deprecated in favor of volcengine.vpc.getHaVips */
function haVips(args, opts) {
    pulumi.log.warn("haVips is deprecated: volcengine.vpc.HaVips has been deprecated in favor of volcengine.vpc.getHaVips");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vpc/haVips:HaVips", {
        "haVipName": args.haVipName,
        "ids": args.ids,
        "ipAddress": args.ipAddress,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "status": args.status,
        "subnetId": args.subnetId,
        "tags": args.tags,
        "vpcId": args.vpcId,
    }, opts);
}
exports.haVips = haVips;
/**
 * Use this data source to query detailed information of ha vips
 * ## 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 fooHaVip = new volcengine.vpc.HaVip("fooHaVip", {
 *     haVipName: "acc-test-ha-vip",
 *     description: "acc-test",
 *     subnetId: fooSubnet.id,
 * });
 * //  ip_address = "172.16.0.5"
 * const fooHaVips = volcengine.vpc.getHaVipsOutput({
 *     ids: [fooHaVip.id],
 * });
 * ```
 */
/** @deprecated volcengine.vpc.HaVips has been deprecated in favor of volcengine.vpc.getHaVips */
function haVipsOutput(args, opts) {
    return pulumi.output(args).apply((a) => haVips(a, opts));
}
exports.haVipsOutput = haVipsOutput;
//# sourceMappingURL=haVips.js.map