1. Packages
  2. Packages
  3. Powerscale Provider
  4. API Docs
  5. getNetworkSettings
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 Network Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. PowerScale Network Settings provide the ability to configure external network configuration on the cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as powerscale from "@pulumi/powerscale";
    
    //Copyright (c) 2023-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.
    // PowerScale Network Settings provide the ability to configure external network configuration on the cluster.
    // Returns PowerScale network settings detail
    const example = powerscale.getNetworkSettings({});
    export const powerscaleNetworkSettingsOutput = example;
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    #Copyright (c) 2023-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.
    # PowerScale Network Settings provide the ability to configure external network configuration on the cluster.
    # Returns PowerScale network settings detail
    example = powerscale.get_network_settings()
    pulumi.export("powerscaleNetworkSettingsOutput", example)
    
    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) 2023-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.
    		// PowerScale Network Settings provide the ability to configure external network configuration on the cluster.
    		// Returns PowerScale network settings detail
    		example, err := powerscale.LookupNetworkSettings(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("powerscaleNetworkSettingsOutput", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        //Copyright (c) 2023-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.
        // PowerScale Network Settings provide the ability to configure external network configuration on the cluster.
        // Returns PowerScale network settings detail
        var example = Powerscale.GetNetworkSettings.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["powerscaleNetworkSettingsOutput"] = example,
        };
    });
    
    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) {
            //Copyright (c) 2023-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.
            // PowerScale Network Settings provide the ability to configure external network configuration on the cluster.
            // Returns PowerScale network settings detail
            final var example = PowerscaleFunctions.getNetworkSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
            ctx.export("powerscaleNetworkSettingsOutput", example);
        }
    }
    
    variables:
      # /*
      # Copyright (c) 2023-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.
      # */
    
    
      # PowerScale Network Settings provide the ability to configure external network configuration on the cluster.
    
      # Returns PowerScale network settings detail
      example:
        fn::invoke:
          function: powerscale:getNetworkSettings
          arguments: {}
    outputs:
      # Output value of above block by executing 'terraform output' command
      # The user can use the fetched information by the variable data.powerscale_network_settings.example
      powerscaleNetworkSettingsOutput: ${example}
    

    Using getNetworkSettings

    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 getNetworkSettings(opts?: InvokeOptions): Promise<GetNetworkSettingsResult>
    function getNetworkSettingsOutput(opts?: InvokeOptions): Output<GetNetworkSettingsResult>
    def get_network_settings(opts: Optional[InvokeOptions] = None) -> GetNetworkSettingsResult
    def get_network_settings_output(opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSettingsResult]
    func LookupNetworkSettings(ctx *Context, opts ...InvokeOption) (*LookupNetworkSettingsResult, error)
    func LookupNetworkSettingsOutput(ctx *Context, opts ...InvokeOption) LookupNetworkSettingsResultOutput

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

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

    getNetworkSettings Result

    The following output properties are available:

    DefaultGroupnet string
    Default client-side DNS settings for non-multitenancy aware programs.
    Id string
    Network Settings ID.
    ScRebalanceDelay double
    Delay in seconds for IP rebalance.
    SourceBasedRoutingEnabled bool
    Enable or disable Source Based Routing.
    TcpPorts List<double>
    List of client TCP ports.
    DefaultGroupnet string
    Default client-side DNS settings for non-multitenancy aware programs.
    Id string
    Network Settings ID.
    ScRebalanceDelay float64
    Delay in seconds for IP rebalance.
    SourceBasedRoutingEnabled bool
    Enable or disable Source Based Routing.
    TcpPorts []float64
    List of client TCP ports.
    defaultGroupnet String
    Default client-side DNS settings for non-multitenancy aware programs.
    id String
    Network Settings ID.
    scRebalanceDelay Double
    Delay in seconds for IP rebalance.
    sourceBasedRoutingEnabled Boolean
    Enable or disable Source Based Routing.
    tcpPorts List<Double>
    List of client TCP ports.
    defaultGroupnet string
    Default client-side DNS settings for non-multitenancy aware programs.
    id string
    Network Settings ID.
    scRebalanceDelay number
    Delay in seconds for IP rebalance.
    sourceBasedRoutingEnabled boolean
    Enable or disable Source Based Routing.
    tcpPorts number[]
    List of client TCP ports.
    default_groupnet str
    Default client-side DNS settings for non-multitenancy aware programs.
    id str
    Network Settings ID.
    sc_rebalance_delay float
    Delay in seconds for IP rebalance.
    source_based_routing_enabled bool
    Enable or disable Source Based Routing.
    tcp_ports Sequence[float]
    List of client TCP ports.
    defaultGroupnet String
    Default client-side DNS settings for non-multitenancy aware programs.
    id String
    Network Settings ID.
    scRebalanceDelay Number
    Delay in seconds for IP rebalance.
    sourceBasedRoutingEnabled Boolean
    Enable or disable Source Based Routing.
    tcpPorts List<Number>
    List of client TCP ports.

    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.