"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.mountPointsOutput = exports.mountPoints = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of nas mount points
 * ## 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 fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-project1",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-subnet-test-2",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooPermissionGroup = new volcengine.nas.PermissionGroup("fooPermissionGroup", {
 *     permissionGroupName: "acc-test",
 *     description: "acctest",
 *     permissionRules: [
 *         {
 *             cidrIp: "*",
 *             rwMode: "RW",
 *             useMode: "All_squash",
 *         },
 *         {
 *             cidrIp: "192.168.0.0",
 *             rwMode: "RO",
 *             useMode: "All_squash",
 *         },
 *     ],
 * });
 * const fooFileSystem = new volcengine.nas.FileSystem("fooFileSystem", {
 *     fileSystemName: "acc-test-fs",
 *     description: "acc-test",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     capacity: 103,
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooMountPoint = new volcengine.nas.MountPoint("fooMountPoint", {
 *     fileSystemId: fooFileSystem.id,
 *     mountPointName: "acc-test",
 *     permissionGroupId: fooPermissionGroup.id,
 *     subnetId: fooSubnet.id,
 * });
 * const fooMountPoints = volcengine.nas.getMountPointsOutput({
 *     fileSystemId: fooFileSystem.id,
 *     mountPointId: fooMountPoint.mountPointId,
 * });
 * ```
 */
/** @deprecated volcengine.nas.MountPoints has been deprecated in favor of volcengine.nas.getMountPoints */
function mountPoints(args, opts) {
    pulumi.log.warn("mountPoints is deprecated: volcengine.nas.MountPoints has been deprecated in favor of volcengine.nas.getMountPoints");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:nas/mountPoints:MountPoints", {
        "fileSystemId": args.fileSystemId,
        "mountPointId": args.mountPointId,
        "mountPointName": args.mountPointName,
        "outputFile": args.outputFile,
        "vpcId": args.vpcId,
    }, opts);
}
exports.mountPoints = mountPoints;
/**
 * Use this data source to query detailed information of nas mount points
 * ## 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 fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-project1",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-subnet-test-2",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooPermissionGroup = new volcengine.nas.PermissionGroup("fooPermissionGroup", {
 *     permissionGroupName: "acc-test",
 *     description: "acctest",
 *     permissionRules: [
 *         {
 *             cidrIp: "*",
 *             rwMode: "RW",
 *             useMode: "All_squash",
 *         },
 *         {
 *             cidrIp: "192.168.0.0",
 *             rwMode: "RO",
 *             useMode: "All_squash",
 *         },
 *     ],
 * });
 * const fooFileSystem = new volcengine.nas.FileSystem("fooFileSystem", {
 *     fileSystemName: "acc-test-fs",
 *     description: "acc-test",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     capacity: 103,
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooMountPoint = new volcengine.nas.MountPoint("fooMountPoint", {
 *     fileSystemId: fooFileSystem.id,
 *     mountPointName: "acc-test",
 *     permissionGroupId: fooPermissionGroup.id,
 *     subnetId: fooSubnet.id,
 * });
 * const fooMountPoints = volcengine.nas.getMountPointsOutput({
 *     fileSystemId: fooFileSystem.id,
 *     mountPointId: fooMountPoint.mountPointId,
 * });
 * ```
 */
/** @deprecated volcengine.nas.MountPoints has been deprecated in favor of volcengine.nas.getMountPoints */
function mountPointsOutput(args, opts) {
    return pulumi.output(args).apply((a) => mountPoints(a, opts));
}
exports.mountPointsOutput = mountPointsOutput;
//# sourceMappingURL=mountPoints.js.map