powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getNfsGlobalSettings
Explore with Pulumi AI
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.
- Nfsv3Rdma
Enabled bool - True if the RDMA is enabled for NFSv3.
- Nfsv4Enabled bool
- True if NFSv4 is enabled.
- Rpc
Maxthreads double - Specifies the maximum number of threads in the nfsd thread pool.
- Rpc
Minthreads double - 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 bool
- True if NFSv3 is enabled.
- Nfsv3Rdma
Enabled bool - True if the RDMA is enabled for NFSv3.
- Nfsv4Enabled bool
- True if NFSv4 is enabled.
- Rpc
Maxthreads float64 - Specifies the maximum number of threads in the nfsd thread pool.
- Rpc
Minthreads float64 - 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.
- nfsv3Rdma
Enabled Boolean - True if the RDMA is enabled for NFSv3.
- nfsv4Enabled Boolean
- True if NFSv4 is enabled.
- rpc
Maxthreads Double - Specifies the maximum number of threads in the nfsd thread pool.
- rpc
Minthreads Double - Specifies the minimum number of threads in the nfsd thread pool.
- rquota
Enabled 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.
- nfsv3Rdma
Enabled boolean - True if the RDMA is enabled for NFSv3.
- nfsv4Enabled boolean
- True if NFSv4 is enabled.
- rpc
Maxthreads number - Specifies the maximum number of threads in the nfsd thread pool.
- rpc
Minthreads number - Specifies the minimum number of threads in the nfsd thread pool.
- rquota
Enabled 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_ boolenabled - 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.
- nfsv3Rdma
Enabled Boolean - True if the RDMA is enabled for NFSv3.
- nfsv4Enabled Boolean
- True if NFSv4 is enabled.
- rpc
Maxthreads Number - Specifies the maximum number of threads in the nfsd thread pool.
- rpc
Minthreads Number - Specifies the minimum number of threads in the nfsd thread pool.
- rquota
Enabled 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.