"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.fileSystemsOutput = exports.fileSystems = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of nas file systems
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.nas.getZones({});
 * const fooFileSystem: volcengine.nas.FileSystem[] = [];
 * for (const range = {value: 0}; range.value < 3; range.value++) {
 *     fooFileSystem.push(new volcengine.nas.FileSystem(`fooFileSystem-${range.value}`, {
 *         fileSystemName: `acc-test-fs-${range.value}`,
 *         description: "acc-test",
 *         zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *         capacity: 103,
 *         projectName: "default",
 *         tags: [{
 *             key: "k1",
 *             value: "v1",
 *         }],
 *     }));
 * }
 * const fooFileSystems = volcengine.nas.getFileSystemsOutput({
 *     ids: fooFileSystem.map(__item => __item.id),
 * });
 * ```
 */
/** @deprecated volcengine.nas.FileSystems has been deprecated in favor of volcengine.nas.getFileSystems */
function fileSystems(args, opts) {
    pulumi.log.warn("fileSystems is deprecated: volcengine.nas.FileSystems has been deprecated in favor of volcengine.nas.getFileSystems");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:nas/fileSystems:FileSystems", {
        "chargeType": args.chargeType,
        "fileSystemName": args.fileSystemName,
        "ids": args.ids,
        "mountPointId": args.mountPointId,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "permissionGroupId": args.permissionGroupId,
        "projectName": args.projectName,
        "protocolType": args.protocolType,
        "statuses": args.statuses,
        "storageType": args.storageType,
        "tags": args.tags,
        "zoneId": args.zoneId,
    }, opts);
}
exports.fileSystems = fileSystems;
/**
 * Use this data source to query detailed information of nas file systems
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.nas.getZones({});
 * const fooFileSystem: volcengine.nas.FileSystem[] = [];
 * for (const range = {value: 0}; range.value < 3; range.value++) {
 *     fooFileSystem.push(new volcengine.nas.FileSystem(`fooFileSystem-${range.value}`, {
 *         fileSystemName: `acc-test-fs-${range.value}`,
 *         description: "acc-test",
 *         zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *         capacity: 103,
 *         projectName: "default",
 *         tags: [{
 *             key: "k1",
 *             value: "v1",
 *         }],
 *     }));
 * }
 * const fooFileSystems = volcengine.nas.getFileSystemsOutput({
 *     ids: fooFileSystem.map(__item => __item.id),
 * });
 * ```
 */
/** @deprecated volcengine.nas.FileSystems has been deprecated in favor of volcengine.nas.getFileSystems */
function fileSystemsOutput(args, opts) {
    return pulumi.output(args).apply((a) => fileSystems(a, opts));
}
exports.fileSystemsOutput = fileSystemsOutput;
//# sourceMappingURL=fileSystems.js.map