// *** 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! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Chdfs
{
    public static class GetMountPoints
    {
        /// <summary>
        /// Use this data source to query detailed information of chdfs mount_points
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var mountPoints = Output.Create(Tencentcloud.Chdfs.GetMountPoints.InvokeAsync(new Tencentcloud.Chdfs.GetMountPointsArgs
        ///         {
        ///             FileSystemId = "f14mpfy5lh4e",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetMountPointsResult> InvokeAsync(GetMountPointsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetMountPointsResult>("tencentcloud:Chdfs/getMountPoints:getMountPoints", args ?? new GetMountPointsArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of chdfs mount_points
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var mountPoints = Output.Create(Tencentcloud.Chdfs.GetMountPoints.InvokeAsync(new Tencentcloud.Chdfs.GetMountPointsArgs
        ///         {
        ///             FileSystemId = "f14mpfy5lh4e",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetMountPointsResult> Invoke(GetMountPointsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetMountPointsResult>("tencentcloud:Chdfs/getMountPoints:getMountPoints", args ?? new GetMountPointsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetMountPointsArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// get mount points belongs to access group id, only can use one of the AccessGroupId,FileSystemId,OwnerUin parameters.
        /// </summary>
        [Input("accessGroupId")]
        public string? AccessGroupId { get; set; }

        /// <summary>
        /// get mount points belongs to file system id, only can use one of the AccessGroupId,FileSystemId,OwnerUin parameters.
        /// </summary>
        [Input("fileSystemId")]
        public string? FileSystemId { get; set; }

        /// <summary>
        /// get mount points belongs to owner uin, only can use one of the AccessGroupId,FileSystemId,OwnerUin parameters.
        /// </summary>
        [Input("ownerUin")]
        public int? OwnerUin { get; set; }

        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public GetMountPointsArgs()
        {
        }
    }

    public sealed class GetMountPointsInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// get mount points belongs to access group id, only can use one of the AccessGroupId,FileSystemId,OwnerUin parameters.
        /// </summary>
        [Input("accessGroupId")]
        public Input<string>? AccessGroupId { get; set; }

        /// <summary>
        /// get mount points belongs to file system id, only can use one of the AccessGroupId,FileSystemId,OwnerUin parameters.
        /// </summary>
        [Input("fileSystemId")]
        public Input<string>? FileSystemId { get; set; }

        /// <summary>
        /// get mount points belongs to owner uin, only can use one of the AccessGroupId,FileSystemId,OwnerUin parameters.
        /// </summary>
        [Input("ownerUin")]
        public Input<int>? OwnerUin { get; set; }

        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public GetMountPointsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetMountPointsResult
    {
        public readonly string? AccessGroupId;
        /// <summary>
        /// mounted file system id.
        /// </summary>
        public readonly string? FileSystemId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// mount point list.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetMountPointsMountPointResult> ChdfsMountPoints;
        public readonly int? OwnerUin;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private GetMountPointsResult(
            string? accessGroupId,

            string? fileSystemId,

            string id,

            ImmutableArray<Outputs.GetMountPointsMountPointResult> mountPoints,

            int? ownerUin,

            string? resultOutputFile)
        {
            AccessGroupId = accessGroupId;
            FileSystemId = fileSystemId;
            Id = id;
            ChdfsMountPoints = mountPoints;
            OwnerUin = ownerUin;
            ResultOutputFile = resultOutputFile;
        }
    }
}
