1. Packages
  2. Packages
  3. Powerscale Provider
  4. API Docs
  5. getNfsZoneSettings
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell

    This datasource is used to query the NFS Zone 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";
    
    //Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
    //
    //Licensed under the Mozilla Public License Version 2.0 (the "License");
    //you may not use this file except in compliance with the License.
    //You may obtain a copy of the License at
    //
    //    http://mozilla.org/MPL/2.0/
    //
    //
    //Unless required by applicable law or agreed to in writing, software
    //distributed under the License is distributed on an "AS IS" BASIS,
    //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    //See the License for the specific language governing permissions and
    //limitations under the License.
    // Returns PowerScale NFS Zone Settings based on filter
    const test = powerscale.getNfsZoneSettings({
        filter: {
            zone: "System",
        },
    });
    export const powerscaleNfsZoneSettingsTest = test;
    // Returns NFS Zone Settings
    const all = powerscale.getNfsZoneSettings({});
    export const powerscaleNfsZoneSettingsAll = all;
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    #Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
    #
    #Licensed under the Mozilla Public License Version 2.0 (the "License");
    #you may not use this file except in compliance with the License.
    #You may obtain a copy of the License at
    #
    #    http://mozilla.org/MPL/2.0/
    #
    #
    #Unless required by applicable law or agreed to in writing, software
    #distributed under the License is distributed on an "AS IS" BASIS,
    #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    #See the License for the specific language governing permissions and
    #limitations under the License.
    # Returns PowerScale NFS Zone Settings based on filter
    test = powerscale.get_nfs_zone_settings(filter={
        "zone": "System",
    })
    pulumi.export("powerscaleNfsZoneSettingsTest", test)
    # Returns NFS Zone Settings
    all = powerscale.get_nfs_zone_settings()
    pulumi.export("powerscaleNfsZoneSettingsAll", all)
    
    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 {
    		// Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
    		//
    		// Licensed under the Mozilla Public License Version 2.0 (the "License");
    		// you may not use this file except in compliance with the License.
    		// You may obtain a copy of the License at
    		//
    		//	http://mozilla.org/MPL/2.0/
    		//
    		// Unless required by applicable law or agreed to in writing, software
    		// distributed under the License is distributed on an "AS IS" BASIS,
    		// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    		// See the License for the specific language governing permissions and
    		// limitations under the License.
    		// Returns PowerScale NFS Zone Settings based on filter
    		test, err := powerscale.LookupNfsZoneSettings(ctx, &powerscale.LookupNfsZoneSettingsArgs{
    			Filter: powerscale.GetNfsZoneSettingsFilter{
    				Zone: pulumi.StringRef("System"),
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("powerscaleNfsZoneSettingsTest", test)
    		// Returns NFS Zone Settings
    		all, err := powerscale.LookupNfsZoneSettings(ctx, &powerscale.LookupNfsZoneSettingsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("powerscaleNfsZoneSettingsAll", all)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        //Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
        //
        //Licensed under the Mozilla Public License Version 2.0 (the "License");
        //you may not use this file except in compliance with the License.
        //You may obtain a copy of the License at
        //
        //    http://mozilla.org/MPL/2.0/
        //
        //
        //Unless required by applicable law or agreed to in writing, software
        //distributed under the License is distributed on an "AS IS" BASIS,
        //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        //See the License for the specific language governing permissions and
        //limitations under the License.
        // Returns PowerScale NFS Zone Settings based on filter
        var test = Powerscale.GetNfsZoneSettings.Invoke(new()
        {
            Filter = new Powerscale.Inputs.GetNfsZoneSettingsFilterInputArgs
            {
                Zone = "System",
            },
        });
    
        // Returns NFS Zone Settings
        var all = Powerscale.GetNfsZoneSettings.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["powerscaleNfsZoneSettingsTest"] = test,
            ["powerscaleNfsZoneSettingsAll"] = all,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.powerscale.PowerscaleFunctions;
    import com.pulumi.powerscale.inputs.GetNfsZoneSettingsArgs;
    import com.pulumi.powerscale.inputs.GetNfsZoneSettingsFilterArgs;
    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) {
            //Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
            //
            //Licensed under the Mozilla Public License Version 2.0 (the "License");
            //you may not use this file except in compliance with the License.
            //You may obtain a copy of the License at
            //
            //    http://mozilla.org/MPL/2.0/
            //
            //
            //Unless required by applicable law or agreed to in writing, software
            //distributed under the License is distributed on an "AS IS" BASIS,
            //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
            //See the License for the specific language governing permissions and
            //limitations under the License.
            // Returns PowerScale NFS Zone Settings based on filter
            final var test = PowerscaleFunctions.getNfsZoneSettings(GetNfsZoneSettingsArgs.builder()
                .filter(GetNfsZoneSettingsFilterArgs.builder()
                    .zone("System")
                    .build())
                .build());
    
            ctx.export("powerscaleNfsZoneSettingsTest", test);
            // Returns NFS Zone Settings
            final var all = PowerscaleFunctions.getNfsZoneSettings(GetNfsZoneSettingsArgs.builder()
                .build());
    
            ctx.export("powerscaleNfsZoneSettingsAll", all);
        }
    }
    
    variables:
      # /*
      # Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
    
      # Licensed under the Mozilla Public License Version 2.0 (the "License");
      # you may not use this file except in compliance with the License.
      # You may obtain a copy of the License at
    
      #     http://mozilla.org/MPL/2.0/
    
    
      # Unless required by applicable law or agreed to in writing, software
      # distributed under the License is distributed on an "AS IS" BASIS,
      # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      # See the License for the specific language governing permissions and
      # limitations under the License.
      # */
    
    
      # Returns PowerScale NFS Zone Settings based on filter
      test:
        fn::invoke:
          function: powerscale:getNfsZoneSettings
          arguments:
            filter:
              zone: System
      # Returns NFS Zone Settings
      all:
        fn::invoke:
          function: powerscale:getNfsZoneSettings
          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_zone_settings.test
      powerscaleNfsZoneSettingsTest: ${test}
      # Output value of above block by executing 'terraform output' command
      # The user can use the fetched information by the variable data.powerscale_nfs_zone_settings.all
      powerscaleNfsZoneSettingsAll: ${all}
    

    Using getNfsZoneSettings

    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 getNfsZoneSettings(args: GetNfsZoneSettingsArgs, opts?: InvokeOptions): Promise<GetNfsZoneSettingsResult>
    function getNfsZoneSettingsOutput(args: GetNfsZoneSettingsOutputArgs, opts?: InvokeOptions): Output<GetNfsZoneSettingsResult>
    def get_nfs_zone_settings(filter: Optional[GetNfsZoneSettingsFilter] = None,
                              opts: Optional[InvokeOptions] = None) -> GetNfsZoneSettingsResult
    def get_nfs_zone_settings_output(filter: pulumi.Input[Optional[GetNfsZoneSettingsFilterArgs]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetNfsZoneSettingsResult]
    func LookupNfsZoneSettings(ctx *Context, args *LookupNfsZoneSettingsArgs, opts ...InvokeOption) (*LookupNfsZoneSettingsResult, error)
    func LookupNfsZoneSettingsOutput(ctx *Context, args *LookupNfsZoneSettingsOutputArgs, opts ...InvokeOption) LookupNfsZoneSettingsResultOutput

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

    public static class GetNfsZoneSettings 
    {
        public static Task<GetNfsZoneSettingsResult> InvokeAsync(GetNfsZoneSettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetNfsZoneSettingsResult> Invoke(GetNfsZoneSettingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNfsZoneSettingsResult> getNfsZoneSettings(GetNfsZoneSettingsArgs args, InvokeOptions options)
    public static Output<GetNfsZoneSettingsResult> getNfsZoneSettings(GetNfsZoneSettingsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: powerscale:index/getNfsZoneSettings:getNfsZoneSettings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getNfsZoneSettings Result

    The following output properties are available:

    Id string
    ID of NFS Zone Settings. Value of ID will be same as the access zone.
    NfsZoneSettings GetNfsZoneSettingsNfsZoneSettings
    NFS Zone Settings
    Filter GetNfsZoneSettingsFilter
    Id string
    ID of NFS Zone Settings. Value of ID will be same as the access zone.
    NfsZoneSettings GetNfsZoneSettingsNfsZoneSettings
    NFS Zone Settings
    Filter GetNfsZoneSettingsFilter
    id String
    ID of NFS Zone Settings. Value of ID will be same as the access zone.
    nfsZoneSettings GetNfsZoneSettingsNfsZoneSettings
    NFS Zone Settings
    filter GetNfsZoneSettingsFilter
    id string
    ID of NFS Zone Settings. Value of ID will be same as the access zone.
    nfsZoneSettings GetNfsZoneSettingsNfsZoneSettings
    NFS Zone Settings
    filter GetNfsZoneSettingsFilter
    id str
    ID of NFS Zone Settings. Value of ID will be same as the access zone.
    nfs_zone_settings GetNfsZoneSettingsNfsZoneSettings
    NFS Zone Settings
    filter GetNfsZoneSettingsFilter
    id String
    ID of NFS Zone Settings. Value of ID will be same as the access zone.
    nfsZoneSettings Property Map
    NFS Zone Settings
    filter Property Map

    Supporting Types

    GetNfsZoneSettingsFilter

    Zone string
    Access zone
    Zone string
    Access zone
    zone String
    Access zone
    zone string
    Access zone
    zone str
    Access zone
    zone String
    Access zone

    GetNfsZoneSettingsNfsZoneSettings

    Nfsv4AllowNumericIds bool
    If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
    Nfsv4Domain string
    Specifies the domain or realm through which users and groups are associated.
    Nfsv4NoDomain bool
    If true, sends owners and groups without a domain name.
    Nfsv4NoDomainUids bool
    If true, sends UIDs and GIDs without a domain name.
    Nfsv4NoNames bool
    If true, sends owners and groups as UIDs and GIDs.
    Nfsv4ReplaceDomain bool
    If true, replaces the owner or group domain with an NFS domain name.
    Zone string
    Specifies the access zones in which these settings apply.
    Nfsv4AllowNumericIds bool
    If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
    Nfsv4Domain string
    Specifies the domain or realm through which users and groups are associated.
    Nfsv4NoDomain bool
    If true, sends owners and groups without a domain name.
    Nfsv4NoDomainUids bool
    If true, sends UIDs and GIDs without a domain name.
    Nfsv4NoNames bool
    If true, sends owners and groups as UIDs and GIDs.
    Nfsv4ReplaceDomain bool
    If true, replaces the owner or group domain with an NFS domain name.
    Zone string
    Specifies the access zones in which these settings apply.
    nfsv4AllowNumericIds Boolean
    If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
    nfsv4Domain String
    Specifies the domain or realm through which users and groups are associated.
    nfsv4NoDomain Boolean
    If true, sends owners and groups without a domain name.
    nfsv4NoDomainUids Boolean
    If true, sends UIDs and GIDs without a domain name.
    nfsv4NoNames Boolean
    If true, sends owners and groups as UIDs and GIDs.
    nfsv4ReplaceDomain Boolean
    If true, replaces the owner or group domain with an NFS domain name.
    zone String
    Specifies the access zones in which these settings apply.
    nfsv4AllowNumericIds boolean
    If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
    nfsv4Domain string
    Specifies the domain or realm through which users and groups are associated.
    nfsv4NoDomain boolean
    If true, sends owners and groups without a domain name.
    nfsv4NoDomainUids boolean
    If true, sends UIDs and GIDs without a domain name.
    nfsv4NoNames boolean
    If true, sends owners and groups as UIDs and GIDs.
    nfsv4ReplaceDomain boolean
    If true, replaces the owner or group domain with an NFS domain name.
    zone string
    Specifies the access zones in which these settings apply.
    nfsv4_allow_numeric_ids bool
    If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
    nfsv4_domain str
    Specifies the domain or realm through which users and groups are associated.
    nfsv4_no_domain bool
    If true, sends owners and groups without a domain name.
    nfsv4_no_domain_uids bool
    If true, sends UIDs and GIDs without a domain name.
    nfsv4_no_names bool
    If true, sends owners and groups as UIDs and GIDs.
    nfsv4_replace_domain bool
    If true, replaces the owner or group domain with an NFS domain name.
    zone str
    Specifies the access zones in which these settings apply.
    nfsv4AllowNumericIds Boolean
    If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
    nfsv4Domain String
    Specifies the domain or realm through which users and groups are associated.
    nfsv4NoDomain Boolean
    If true, sends owners and groups without a domain name.
    nfsv4NoDomainUids Boolean
    If true, sends UIDs and GIDs without a domain name.
    nfsv4NoNames Boolean
    If true, sends owners and groups as UIDs and GIDs.
    nfsv4ReplaceDomain Boolean
    If true, replaces the owner or group domain with an NFS domain name.
    zone String
    Specifies the access zones in which these settings apply.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    Viewing docs for powerscale 1.8.1
    published on Wednesday, Apr 1, 2026 by dell
      Try Pulumi Cloud free. Your team will thank you.