1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getNfsGlobalSettings
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.getNfsGlobalSettings

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    This datasource is used to query the NFS Global Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as powerscale from "@pulumi/powerscale";
    
    const test = powerscale.getNfsGlobalSettings({});
    export const powerscaleNfsGlobalSettings = test;
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    test = powerscale.get_nfs_global_settings()
    pulumi.export("powerscaleNfsGlobalSettings", test)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := powerscale.LookupNfsGlobalSettings(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("powerscaleNfsGlobalSettings", test)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Powerscale.GetNfsGlobalSettings.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["powerscaleNfsGlobalSettings"] = test,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.powerscale.PowerscaleFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var test = PowerscaleFunctions.getNfsGlobalSettings();
    
            ctx.export("powerscaleNfsGlobalSettings", test.applyValue(getNfsGlobalSettingsResult -> getNfsGlobalSettingsResult));
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: powerscale:getNfsGlobalSettings
          arguments: {}
    outputs:
      # Output value of above block by executing 'terraform output' command
      # The user can use the fetched information by the variable data.powerscale_nfs_global_settings.test
      powerscaleNfsGlobalSettings: ${test}
    

    Using getNfsGlobalSettings

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNfsGlobalSettings(opts?: InvokeOptions): Promise<GetNfsGlobalSettingsResult>
    function getNfsGlobalSettingsOutput(opts?: InvokeOptions): Output<GetNfsGlobalSettingsResult>
    def get_nfs_global_settings(opts: Optional[InvokeOptions] = None) -> GetNfsGlobalSettingsResult
    def get_nfs_global_settings_output(opts: Optional[InvokeOptions] = None) -> Output[GetNfsGlobalSettingsResult]
    func LookupNfsGlobalSettings(ctx *Context, opts ...InvokeOption) (*LookupNfsGlobalSettingsResult, error)
    func LookupNfsGlobalSettingsOutput(ctx *Context, opts ...InvokeOption) LookupNfsGlobalSettingsResultOutput

    > Note: This function is named LookupNfsGlobalSettings in the Go SDK.

    public static class GetNfsGlobalSettings 
    {
        public static Task<GetNfsGlobalSettingsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetNfsGlobalSettingsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNfsGlobalSettingsResult> getNfsGlobalSettings(InvokeOptions options)
    public static Output<GetNfsGlobalSettingsResult> getNfsGlobalSettings(InvokeOptions options)
    
    fn::invoke:
      function: powerscale:index/getNfsGlobalSettings:getNfsGlobalSettings
      arguments:
        # arguments dictionary

    getNfsGlobalSettings Result

    The following output properties are available:

    Id string
    Id of NFS Global settings. Readonly.
    Nfsv3Enabled bool
    True if NFSv3 is enabled.
    Nfsv3RdmaEnabled bool
    True if the RDMA is enabled for NFSv3.
    Nfsv4Enabled bool
    True if NFSv4 is enabled.
    RpcMaxthreads double
    Specifies the maximum number of threads in the nfsd thread pool.
    RpcMinthreads double
    Specifies the minimum number of threads in the nfsd thread pool.
    RquotaEnabled bool
    True if the rquota protocol is enabled.
    Service bool
    True if the NFS service is enabled. When set to false, the NFS service is disabled.
    Id string
    Id of NFS Global settings. Readonly.
    Nfsv3Enabled bool
    True if NFSv3 is enabled.
    Nfsv3RdmaEnabled bool
    True if the RDMA is enabled for NFSv3.
    Nfsv4Enabled bool
    True if NFSv4 is enabled.
    RpcMaxthreads float64
    Specifies the maximum number of threads in the nfsd thread pool.
    RpcMinthreads float64
    Specifies the minimum number of threads in the nfsd thread pool.
    RquotaEnabled bool
    True if the rquota protocol is enabled.
    Service bool
    True if the NFS service is enabled. When set to false, the NFS service is disabled.
    id String
    Id of NFS Global settings. Readonly.
    nfsv3Enabled Boolean
    True if NFSv3 is enabled.
    nfsv3RdmaEnabled Boolean
    True if the RDMA is enabled for NFSv3.
    nfsv4Enabled Boolean
    True if NFSv4 is enabled.
    rpcMaxthreads Double
    Specifies the maximum number of threads in the nfsd thread pool.
    rpcMinthreads Double
    Specifies the minimum number of threads in the nfsd thread pool.
    rquotaEnabled Boolean
    True if the rquota protocol is enabled.
    service Boolean
    True if the NFS service is enabled. When set to false, the NFS service is disabled.
    id string
    Id of NFS Global settings. Readonly.
    nfsv3Enabled boolean
    True if NFSv3 is enabled.
    nfsv3RdmaEnabled boolean
    True if the RDMA is enabled for NFSv3.
    nfsv4Enabled boolean
    True if NFSv4 is enabled.
    rpcMaxthreads number
    Specifies the maximum number of threads in the nfsd thread pool.
    rpcMinthreads number
    Specifies the minimum number of threads in the nfsd thread pool.
    rquotaEnabled boolean
    True if the rquota protocol is enabled.
    service boolean
    True if the NFS service is enabled. When set to false, the NFS service is disabled.
    id str
    Id of NFS Global settings. Readonly.
    nfsv3_enabled bool
    True if NFSv3 is enabled.
    nfsv3_rdma_enabled bool
    True if the RDMA is enabled for NFSv3.
    nfsv4_enabled bool
    True if NFSv4 is enabled.
    rpc_maxthreads float
    Specifies the maximum number of threads in the nfsd thread pool.
    rpc_minthreads float
    Specifies the minimum number of threads in the nfsd thread pool.
    rquota_enabled bool
    True if the rquota protocol is enabled.
    service bool
    True if the NFS service is enabled. When set to false, the NFS service is disabled.
    id String
    Id of NFS Global settings. Readonly.
    nfsv3Enabled Boolean
    True if NFSv3 is enabled.
    nfsv3RdmaEnabled Boolean
    True if the RDMA is enabled for NFSv3.
    nfsv4Enabled Boolean
    True if NFSv4 is enabled.
    rpcMaxthreads Number
    Specifies the maximum number of threads in the nfsd thread pool.
    rpcMinthreads Number
    Specifies the minimum number of threads in the nfsd thread pool.
    rquotaEnabled Boolean
    True if the rquota protocol is enabled.
    service Boolean
    True if the NFS service is enabled. When set to false, the NFS service is disabled.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell