"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.filesetsOutput = exports.filesets = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vepfs filesets
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * 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: "cn-beijing-a",
 *     vpcId: fooVpc.id,
 * });
 * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
 *     fileSystemName: "acc-test-file-system",
 *     subnetId: fooSubnet.id,
 *     storeType: "Advance_100",
 *     description: "tf-test",
 *     capacity: 12,
 *     project: "default",
 *     enableRestripe: false,
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooFileset = new volcengine.vepfs.Fileset("fooFileset", {
 *     fileSystemId: fooFileSystem.id,
 *     filesetName: "acc-test-fileset",
 *     filesetPath: "/tf-test/",
 *     maxIops: 100,
 *     maxBandwidth: 10,
 *     fileLimit: 20,
 *     capacityLimit: 30,
 * });
 * const fooFilesets = volcengine.vepfs.getFilesetsOutput({
 *     fileSystemId: fooFileSystem.id,
 *     filesetId: fooFileset.id,
 * });
 * ```
 */
/** @deprecated volcengine.vepfs.Filesets has been deprecated in favor of volcengine.vepfs.getFilesets */
function filesets(args, opts) {
    pulumi.log.warn("filesets is deprecated: volcengine.vepfs.Filesets has been deprecated in favor of volcengine.vepfs.getFilesets");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vepfs/filesets:Filesets", {
        "fileSystemId": args.fileSystemId,
        "filesetId": args.filesetId,
        "filesetName": args.filesetName,
        "filesetPath": args.filesetPath,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "statuses": args.statuses,
    }, opts);
}
exports.filesets = filesets;
/**
 * Use this data source to query detailed information of vepfs filesets
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * 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: "cn-beijing-a",
 *     vpcId: fooVpc.id,
 * });
 * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
 *     fileSystemName: "acc-test-file-system",
 *     subnetId: fooSubnet.id,
 *     storeType: "Advance_100",
 *     description: "tf-test",
 *     capacity: 12,
 *     project: "default",
 *     enableRestripe: false,
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooFileset = new volcengine.vepfs.Fileset("fooFileset", {
 *     fileSystemId: fooFileSystem.id,
 *     filesetName: "acc-test-fileset",
 *     filesetPath: "/tf-test/",
 *     maxIops: 100,
 *     maxBandwidth: 10,
 *     fileLimit: 20,
 *     capacityLimit: 30,
 * });
 * const fooFilesets = volcengine.vepfs.getFilesetsOutput({
 *     fileSystemId: fooFileSystem.id,
 *     filesetId: fooFileset.id,
 * });
 * ```
 */
/** @deprecated volcengine.vepfs.Filesets has been deprecated in favor of volcengine.vepfs.getFilesets */
function filesetsOutput(args, opts) {
    return pulumi.output(args).apply((a) => filesets(a, opts));
}
exports.filesetsOutput = filesetsOutput;
//# sourceMappingURL=filesets.js.map