"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.zonesOutput = exports.zones = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kafka zones
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.kafka.getZones({
 *     regionId: "cn-beijing",
 * });
 * ```
 */
/** @deprecated volcengine.kafka.Zones has been deprecated in favor of volcengine.kafka.getZones */
function zones(args, opts) {
    pulumi.log.warn("zones is deprecated: volcengine.kafka.Zones has been deprecated in favor of volcengine.kafka.getZones");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kafka/zones:Zones", {
        "outputFile": args.outputFile,
        "regionId": args.regionId,
    }, opts);
}
exports.zones = zones;
/**
 * Use this data source to query detailed information of kafka zones
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.kafka.getZones({
 *     regionId: "cn-beijing",
 * });
 * ```
 */
/** @deprecated volcengine.kafka.Zones has been deprecated in favor of volcengine.kafka.getZones */
function zonesOutput(args, opts) {
    return pulumi.output(args).apply((a) => zones(a, opts));
}
exports.zonesOutput = zonesOutput;
//# sourceMappingURL=zones.js.map