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

powerscale.Networkpool

Explore with Pulumi AI

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

    This resource is used to manage the network pool entity of PowerScale Array. We can Create, Update and Delete the network pool using this resource. We can also import an existing network pool from PowerScale array.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as powerscale from "@pulumi/powerscale";
    
    // PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
    const poolTest = new powerscale.Networkpool("poolTest", {
        groupnet: "groupnet0",
        subnet: "subnet0",
    });
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    # PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
    pool_test = powerscale.Networkpool("poolTest",
        groupnet="groupnet0",
        subnet="subnet0")
    
    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 {
    		// PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
    		_, err := powerscale.NewNetworkpool(ctx, "poolTest", &powerscale.NetworkpoolArgs{
    			Groupnet: pulumi.String("groupnet0"),
    			Subnet:   pulumi.String("subnet0"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        // PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
        var poolTest = new Powerscale.Networkpool("poolTest", new()
        {
            Groupnet = "groupnet0",
            Subnet = "subnet0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.powerscale.Networkpool;
    import com.pulumi.powerscale.NetworkpoolArgs;
    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) {
            // PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
            var poolTest = new Networkpool("poolTest", NetworkpoolArgs.builder()
                .groupnet("groupnet0")
                .subnet("subnet0")
                .build());
    
        }
    }
    
    resources:
      # PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
      poolTest:
        type: powerscale:Networkpool
        properties:
          groupnet: groupnet0
          subnet: subnet0
    

    Create Networkpool Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Networkpool(name: string, args: NetworkpoolArgs, opts?: CustomResourceOptions);
    @overload
    def Networkpool(resource_name: str,
                    args: NetworkpoolArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Networkpool(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    groupnet: Optional[str] = None,
                    subnet: Optional[str] = None,
                    ranges: Optional[Sequence[NetworkpoolRangeArgs]] = None,
                    sc_connect_policy: Optional[str] = None,
                    alloc_method: Optional[str] = None,
                    ifaces: Optional[Sequence[NetworkpoolIfaceArgs]] = None,
                    name: Optional[str] = None,
                    nfsv3_rroce_only: Optional[bool] = None,
                    access_zone: Optional[str] = None,
                    rebalance_policy: Optional[str] = None,
                    sc_auto_unsuspend_delay: Optional[float] = None,
                    description: Optional[str] = None,
                    sc_dns_zone: Optional[str] = None,
                    sc_dns_zone_aliases: Optional[Sequence[str]] = None,
                    sc_failover_policy: Optional[str] = None,
                    sc_subnet: Optional[str] = None,
                    sc_ttl: Optional[float] = None,
                    static_routes: Optional[Sequence[NetworkpoolStaticRouteArgs]] = None,
                    aggregation_mode: Optional[str] = None)
    func NewNetworkpool(ctx *Context, name string, args NetworkpoolArgs, opts ...ResourceOption) (*Networkpool, error)
    public Networkpool(string name, NetworkpoolArgs args, CustomResourceOptions? opts = null)
    public Networkpool(String name, NetworkpoolArgs args)
    public Networkpool(String name, NetworkpoolArgs args, CustomResourceOptions options)
    
    type: powerscale:Networkpool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NetworkpoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkpoolArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkpoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkpoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkpoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkpoolResource = new Powerscale.Networkpool("networkpoolResource", new()
    {
        Groupnet = "string",
        Subnet = "string",
        Ranges = new[]
        {
            new Powerscale.Inputs.NetworkpoolRangeArgs
            {
                High = "string",
                Low = "string",
            },
        },
        ScConnectPolicy = "string",
        AllocMethod = "string",
        Ifaces = new[]
        {
            new Powerscale.Inputs.NetworkpoolIfaceArgs
            {
                Iface = "string",
                Lnn = 0,
            },
        },
        Name = "string",
        Nfsv3RroceOnly = false,
        AccessZone = "string",
        RebalancePolicy = "string",
        ScAutoUnsuspendDelay = 0,
        Description = "string",
        ScDnsZone = "string",
        ScDnsZoneAliases = new[]
        {
            "string",
        },
        ScFailoverPolicy = "string",
        ScSubnet = "string",
        ScTtl = 0,
        StaticRoutes = new[]
        {
            new Powerscale.Inputs.NetworkpoolStaticRouteArgs
            {
                Gateway = "string",
                Prefixlen = 0,
                Subnet = "string",
            },
        },
        AggregationMode = "string",
    });
    
    example, err := powerscale.NewNetworkpool(ctx, "networkpoolResource", &powerscale.NetworkpoolArgs{
    	Groupnet: pulumi.String("string"),
    	Subnet:   pulumi.String("string"),
    	Ranges: powerscale.NetworkpoolRangeArray{
    		&powerscale.NetworkpoolRangeArgs{
    			High: pulumi.String("string"),
    			Low:  pulumi.String("string"),
    		},
    	},
    	ScConnectPolicy: pulumi.String("string"),
    	AllocMethod:     pulumi.String("string"),
    	Ifaces: powerscale.NetworkpoolIfaceArray{
    		&powerscale.NetworkpoolIfaceArgs{
    			Iface: pulumi.String("string"),
    			Lnn:   pulumi.Float64(0),
    		},
    	},
    	Name:                 pulumi.String("string"),
    	Nfsv3RroceOnly:       pulumi.Bool(false),
    	AccessZone:           pulumi.String("string"),
    	RebalancePolicy:      pulumi.String("string"),
    	ScAutoUnsuspendDelay: pulumi.Float64(0),
    	Description:          pulumi.String("string"),
    	ScDnsZone:            pulumi.String("string"),
    	ScDnsZoneAliases: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScFailoverPolicy: pulumi.String("string"),
    	ScSubnet:         pulumi.String("string"),
    	ScTtl:            pulumi.Float64(0),
    	StaticRoutes: powerscale.NetworkpoolStaticRouteArray{
    		&powerscale.NetworkpoolStaticRouteArgs{
    			Gateway:   pulumi.String("string"),
    			Prefixlen: pulumi.Float64(0),
    			Subnet:    pulumi.String("string"),
    		},
    	},
    	AggregationMode: pulumi.String("string"),
    })
    
    var networkpoolResource = new Networkpool("networkpoolResource", NetworkpoolArgs.builder()
        .groupnet("string")
        .subnet("string")
        .ranges(NetworkpoolRangeArgs.builder()
            .high("string")
            .low("string")
            .build())
        .scConnectPolicy("string")
        .allocMethod("string")
        .ifaces(NetworkpoolIfaceArgs.builder()
            .iface("string")
            .lnn(0)
            .build())
        .name("string")
        .nfsv3RroceOnly(false)
        .accessZone("string")
        .rebalancePolicy("string")
        .scAutoUnsuspendDelay(0)
        .description("string")
        .scDnsZone("string")
        .scDnsZoneAliases("string")
        .scFailoverPolicy("string")
        .scSubnet("string")
        .scTtl(0)
        .staticRoutes(NetworkpoolStaticRouteArgs.builder()
            .gateway("string")
            .prefixlen(0)
            .subnet("string")
            .build())
        .aggregationMode("string")
        .build());
    
    networkpool_resource = powerscale.Networkpool("networkpoolResource",
        groupnet="string",
        subnet="string",
        ranges=[{
            "high": "string",
            "low": "string",
        }],
        sc_connect_policy="string",
        alloc_method="string",
        ifaces=[{
            "iface": "string",
            "lnn": 0,
        }],
        name="string",
        nfsv3_rroce_only=False,
        access_zone="string",
        rebalance_policy="string",
        sc_auto_unsuspend_delay=0,
        description="string",
        sc_dns_zone="string",
        sc_dns_zone_aliases=["string"],
        sc_failover_policy="string",
        sc_subnet="string",
        sc_ttl=0,
        static_routes=[{
            "gateway": "string",
            "prefixlen": 0,
            "subnet": "string",
        }],
        aggregation_mode="string")
    
    const networkpoolResource = new powerscale.Networkpool("networkpoolResource", {
        groupnet: "string",
        subnet: "string",
        ranges: [{
            high: "string",
            low: "string",
        }],
        scConnectPolicy: "string",
        allocMethod: "string",
        ifaces: [{
            iface: "string",
            lnn: 0,
        }],
        name: "string",
        nfsv3RroceOnly: false,
        accessZone: "string",
        rebalancePolicy: "string",
        scAutoUnsuspendDelay: 0,
        description: "string",
        scDnsZone: "string",
        scDnsZoneAliases: ["string"],
        scFailoverPolicy: "string",
        scSubnet: "string",
        scTtl: 0,
        staticRoutes: [{
            gateway: "string",
            prefixlen: 0,
            subnet: "string",
        }],
        aggregationMode: "string",
    });
    
    type: powerscale:Networkpool
    properties:
        accessZone: string
        aggregationMode: string
        allocMethod: string
        description: string
        groupnet: string
        ifaces:
            - iface: string
              lnn: 0
        name: string
        nfsv3RroceOnly: false
        ranges:
            - high: string
              low: string
        rebalancePolicy: string
        scAutoUnsuspendDelay: 0
        scConnectPolicy: string
        scDnsZone: string
        scDnsZoneAliases:
            - string
        scFailoverPolicy: string
        scSubnet: string
        scTtl: 0
        staticRoutes:
            - gateway: string
              prefixlen: 0
              subnet: string
        subnet: string
    

    Networkpool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Networkpool resource accepts the following input properties:

    Groupnet string
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    Subnet string
    The name of the subnet. Cannot be modified once designated
    AccessZone string
    Name of a valid access zone to map IP address pool to the zone.
    AggregationMode string
    OneFS supports the following NIC aggregation modes.
    AllocMethod string
    Specifies how IP address allocation is done among pool members.
    Description string
    A description of the pool.
    Ifaces List<NetworkpoolIface>
    List of interface members in this pool.
    Name string
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    Nfsv3RroceOnly bool
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    Ranges List<NetworkpoolRange>
    List of IP address ranges in this pool.
    RebalancePolicy string
    Rebalance policy..
    ScAutoUnsuspendDelay double
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    ScConnectPolicy string
    SmartConnect client connection balancing policy.
    ScDnsZone string
    SmartConnect zone name for the pool.
    ScDnsZoneAliases List<string>
    List of SmartConnect zone aliases (DNS names) to the pool.
    ScFailoverPolicy string
    SmartConnect IP failover policy.
    ScSubnet string
    Name of SmartConnect service subnet for this pool.
    ScTtl double
    Time to live value for SmartConnect DNS query responses in seconds.
    StaticRoutes List<NetworkpoolStaticRoute>
    List of interface members in this pool.
    Groupnet string
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    Subnet string
    The name of the subnet. Cannot be modified once designated
    AccessZone string
    Name of a valid access zone to map IP address pool to the zone.
    AggregationMode string
    OneFS supports the following NIC aggregation modes.
    AllocMethod string
    Specifies how IP address allocation is done among pool members.
    Description string
    A description of the pool.
    Ifaces []NetworkpoolIfaceArgs
    List of interface members in this pool.
    Name string
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    Nfsv3RroceOnly bool
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    Ranges []NetworkpoolRangeArgs
    List of IP address ranges in this pool.
    RebalancePolicy string
    Rebalance policy..
    ScAutoUnsuspendDelay float64
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    ScConnectPolicy string
    SmartConnect client connection balancing policy.
    ScDnsZone string
    SmartConnect zone name for the pool.
    ScDnsZoneAliases []string
    List of SmartConnect zone aliases (DNS names) to the pool.
    ScFailoverPolicy string
    SmartConnect IP failover policy.
    ScSubnet string
    Name of SmartConnect service subnet for this pool.
    ScTtl float64
    Time to live value for SmartConnect DNS query responses in seconds.
    StaticRoutes []NetworkpoolStaticRouteArgs
    List of interface members in this pool.
    groupnet String
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    subnet String
    The name of the subnet. Cannot be modified once designated
    accessZone String
    Name of a valid access zone to map IP address pool to the zone.
    aggregationMode String
    OneFS supports the following NIC aggregation modes.
    allocMethod String
    Specifies how IP address allocation is done among pool members.
    description String
    A description of the pool.
    ifaces List<NetworkpoolIface>
    List of interface members in this pool.
    name String
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3RroceOnly Boolean
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges List<NetworkpoolRange>
    List of IP address ranges in this pool.
    rebalancePolicy String
    Rebalance policy..
    scAutoUnsuspendDelay Double
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    scConnectPolicy String
    SmartConnect client connection balancing policy.
    scDnsZone String
    SmartConnect zone name for the pool.
    scDnsZoneAliases List<String>
    List of SmartConnect zone aliases (DNS names) to the pool.
    scFailoverPolicy String
    SmartConnect IP failover policy.
    scSubnet String
    Name of SmartConnect service subnet for this pool.
    scTtl Double
    Time to live value for SmartConnect DNS query responses in seconds.
    staticRoutes List<NetworkpoolStaticRoute>
    List of interface members in this pool.
    groupnet string
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    subnet string
    The name of the subnet. Cannot be modified once designated
    accessZone string
    Name of a valid access zone to map IP address pool to the zone.
    aggregationMode string
    OneFS supports the following NIC aggregation modes.
    allocMethod string
    Specifies how IP address allocation is done among pool members.
    description string
    A description of the pool.
    ifaces NetworkpoolIface[]
    List of interface members in this pool.
    name string
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3RroceOnly boolean
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges NetworkpoolRange[]
    List of IP address ranges in this pool.
    rebalancePolicy string
    Rebalance policy..
    scAutoUnsuspendDelay number
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    scConnectPolicy string
    SmartConnect client connection balancing policy.
    scDnsZone string
    SmartConnect zone name for the pool.
    scDnsZoneAliases string[]
    List of SmartConnect zone aliases (DNS names) to the pool.
    scFailoverPolicy string
    SmartConnect IP failover policy.
    scSubnet string
    Name of SmartConnect service subnet for this pool.
    scTtl number
    Time to live value for SmartConnect DNS query responses in seconds.
    staticRoutes NetworkpoolStaticRoute[]
    List of interface members in this pool.
    groupnet str
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    subnet str
    The name of the subnet. Cannot be modified once designated
    access_zone str
    Name of a valid access zone to map IP address pool to the zone.
    aggregation_mode str
    OneFS supports the following NIC aggregation modes.
    alloc_method str
    Specifies how IP address allocation is done among pool members.
    description str
    A description of the pool.
    ifaces Sequence[NetworkpoolIfaceArgs]
    List of interface members in this pool.
    name str
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3_rroce_only bool
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges Sequence[NetworkpoolRangeArgs]
    List of IP address ranges in this pool.
    rebalance_policy str
    Rebalance policy..
    sc_auto_unsuspend_delay float
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    sc_connect_policy str
    SmartConnect client connection balancing policy.
    sc_dns_zone str
    SmartConnect zone name for the pool.
    sc_dns_zone_aliases Sequence[str]
    List of SmartConnect zone aliases (DNS names) to the pool.
    sc_failover_policy str
    SmartConnect IP failover policy.
    sc_subnet str
    Name of SmartConnect service subnet for this pool.
    sc_ttl float
    Time to live value for SmartConnect DNS query responses in seconds.
    static_routes Sequence[NetworkpoolStaticRouteArgs]
    List of interface members in this pool.
    groupnet String
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    subnet String
    The name of the subnet. Cannot be modified once designated
    accessZone String
    Name of a valid access zone to map IP address pool to the zone.
    aggregationMode String
    OneFS supports the following NIC aggregation modes.
    allocMethod String
    Specifies how IP address allocation is done among pool members.
    description String
    A description of the pool.
    ifaces List<Property Map>
    List of interface members in this pool.
    name String
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3RroceOnly Boolean
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges List<Property Map>
    List of IP address ranges in this pool.
    rebalancePolicy String
    Rebalance policy..
    scAutoUnsuspendDelay Number
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    scConnectPolicy String
    SmartConnect client connection balancing policy.
    scDnsZone String
    SmartConnect zone name for the pool.
    scDnsZoneAliases List<String>
    List of SmartConnect zone aliases (DNS names) to the pool.
    scFailoverPolicy String
    SmartConnect IP failover policy.
    scSubnet String
    Name of SmartConnect service subnet for this pool.
    scTtl Number
    Time to live value for SmartConnect DNS query responses in seconds.
    staticRoutes List<Property Map>
    List of interface members in this pool.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Networkpool resource produces the following output properties:

    AddrFamily string
    IP address format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Rules List<string>
    Names of the rules in this pool.
    ScSuspendedNodes List<double>
    List of LNNs showing currently suspended nodes in SmartConnect.
    AddrFamily string
    IP address format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Rules []string
    Names of the rules in this pool.
    ScSuspendedNodes []float64
    List of LNNs showing currently suspended nodes in SmartConnect.
    addrFamily String
    IP address format.
    id String
    The provider-assigned unique ID for this managed resource.
    rules List<String>
    Names of the rules in this pool.
    scSuspendedNodes List<Double>
    List of LNNs showing currently suspended nodes in SmartConnect.
    addrFamily string
    IP address format.
    id string
    The provider-assigned unique ID for this managed resource.
    rules string[]
    Names of the rules in this pool.
    scSuspendedNodes number[]
    List of LNNs showing currently suspended nodes in SmartConnect.
    addr_family str
    IP address format.
    id str
    The provider-assigned unique ID for this managed resource.
    rules Sequence[str]
    Names of the rules in this pool.
    sc_suspended_nodes Sequence[float]
    List of LNNs showing currently suspended nodes in SmartConnect.
    addrFamily String
    IP address format.
    id String
    The provider-assigned unique ID for this managed resource.
    rules List<String>
    Names of the rules in this pool.
    scSuspendedNodes List<Number>
    List of LNNs showing currently suspended nodes in SmartConnect.

    Look up Existing Networkpool Resource

    Get an existing Networkpool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NetworkpoolState, opts?: CustomResourceOptions): Networkpool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_zone: Optional[str] = None,
            addr_family: Optional[str] = None,
            aggregation_mode: Optional[str] = None,
            alloc_method: Optional[str] = None,
            description: Optional[str] = None,
            groupnet: Optional[str] = None,
            ifaces: Optional[Sequence[NetworkpoolIfaceArgs]] = None,
            name: Optional[str] = None,
            nfsv3_rroce_only: Optional[bool] = None,
            ranges: Optional[Sequence[NetworkpoolRangeArgs]] = None,
            rebalance_policy: Optional[str] = None,
            rules: Optional[Sequence[str]] = None,
            sc_auto_unsuspend_delay: Optional[float] = None,
            sc_connect_policy: Optional[str] = None,
            sc_dns_zone: Optional[str] = None,
            sc_dns_zone_aliases: Optional[Sequence[str]] = None,
            sc_failover_policy: Optional[str] = None,
            sc_subnet: Optional[str] = None,
            sc_suspended_nodes: Optional[Sequence[float]] = None,
            sc_ttl: Optional[float] = None,
            static_routes: Optional[Sequence[NetworkpoolStaticRouteArgs]] = None,
            subnet: Optional[str] = None) -> Networkpool
    func GetNetworkpool(ctx *Context, name string, id IDInput, state *NetworkpoolState, opts ...ResourceOption) (*Networkpool, error)
    public static Networkpool Get(string name, Input<string> id, NetworkpoolState? state, CustomResourceOptions? opts = null)
    public static Networkpool get(String name, Output<String> id, NetworkpoolState state, CustomResourceOptions options)
    resources:  _:    type: powerscale:Networkpool    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessZone string
    Name of a valid access zone to map IP address pool to the zone.
    AddrFamily string
    IP address format.
    AggregationMode string
    OneFS supports the following NIC aggregation modes.
    AllocMethod string
    Specifies how IP address allocation is done among pool members.
    Description string
    A description of the pool.
    Groupnet string
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    Ifaces List<NetworkpoolIface>
    List of interface members in this pool.
    Name string
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    Nfsv3RroceOnly bool
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    Ranges List<NetworkpoolRange>
    List of IP address ranges in this pool.
    RebalancePolicy string
    Rebalance policy..
    Rules List<string>
    Names of the rules in this pool.
    ScAutoUnsuspendDelay double
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    ScConnectPolicy string
    SmartConnect client connection balancing policy.
    ScDnsZone string
    SmartConnect zone name for the pool.
    ScDnsZoneAliases List<string>
    List of SmartConnect zone aliases (DNS names) to the pool.
    ScFailoverPolicy string
    SmartConnect IP failover policy.
    ScSubnet string
    Name of SmartConnect service subnet for this pool.
    ScSuspendedNodes List<double>
    List of LNNs showing currently suspended nodes in SmartConnect.
    ScTtl double
    Time to live value for SmartConnect DNS query responses in seconds.
    StaticRoutes List<NetworkpoolStaticRoute>
    List of interface members in this pool.
    Subnet string
    The name of the subnet. Cannot be modified once designated
    AccessZone string
    Name of a valid access zone to map IP address pool to the zone.
    AddrFamily string
    IP address format.
    AggregationMode string
    OneFS supports the following NIC aggregation modes.
    AllocMethod string
    Specifies how IP address allocation is done among pool members.
    Description string
    A description of the pool.
    Groupnet string
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    Ifaces []NetworkpoolIfaceArgs
    List of interface members in this pool.
    Name string
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    Nfsv3RroceOnly bool
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    Ranges []NetworkpoolRangeArgs
    List of IP address ranges in this pool.
    RebalancePolicy string
    Rebalance policy..
    Rules []string
    Names of the rules in this pool.
    ScAutoUnsuspendDelay float64
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    ScConnectPolicy string
    SmartConnect client connection balancing policy.
    ScDnsZone string
    SmartConnect zone name for the pool.
    ScDnsZoneAliases []string
    List of SmartConnect zone aliases (DNS names) to the pool.
    ScFailoverPolicy string
    SmartConnect IP failover policy.
    ScSubnet string
    Name of SmartConnect service subnet for this pool.
    ScSuspendedNodes []float64
    List of LNNs showing currently suspended nodes in SmartConnect.
    ScTtl float64
    Time to live value for SmartConnect DNS query responses in seconds.
    StaticRoutes []NetworkpoolStaticRouteArgs
    List of interface members in this pool.
    Subnet string
    The name of the subnet. Cannot be modified once designated
    accessZone String
    Name of a valid access zone to map IP address pool to the zone.
    addrFamily String
    IP address format.
    aggregationMode String
    OneFS supports the following NIC aggregation modes.
    allocMethod String
    Specifies how IP address allocation is done among pool members.
    description String
    A description of the pool.
    groupnet String
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    ifaces List<NetworkpoolIface>
    List of interface members in this pool.
    name String
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3RroceOnly Boolean
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges List<NetworkpoolRange>
    List of IP address ranges in this pool.
    rebalancePolicy String
    Rebalance policy..
    rules List<String>
    Names of the rules in this pool.
    scAutoUnsuspendDelay Double
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    scConnectPolicy String
    SmartConnect client connection balancing policy.
    scDnsZone String
    SmartConnect zone name for the pool.
    scDnsZoneAliases List<String>
    List of SmartConnect zone aliases (DNS names) to the pool.
    scFailoverPolicy String
    SmartConnect IP failover policy.
    scSubnet String
    Name of SmartConnect service subnet for this pool.
    scSuspendedNodes List<Double>
    List of LNNs showing currently suspended nodes in SmartConnect.
    scTtl Double
    Time to live value for SmartConnect DNS query responses in seconds.
    staticRoutes List<NetworkpoolStaticRoute>
    List of interface members in this pool.
    subnet String
    The name of the subnet. Cannot be modified once designated
    accessZone string
    Name of a valid access zone to map IP address pool to the zone.
    addrFamily string
    IP address format.
    aggregationMode string
    OneFS supports the following NIC aggregation modes.
    allocMethod string
    Specifies how IP address allocation is done among pool members.
    description string
    A description of the pool.
    groupnet string
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    ifaces NetworkpoolIface[]
    List of interface members in this pool.
    name string
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3RroceOnly boolean
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges NetworkpoolRange[]
    List of IP address ranges in this pool.
    rebalancePolicy string
    Rebalance policy..
    rules string[]
    Names of the rules in this pool.
    scAutoUnsuspendDelay number
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    scConnectPolicy string
    SmartConnect client connection balancing policy.
    scDnsZone string
    SmartConnect zone name for the pool.
    scDnsZoneAliases string[]
    List of SmartConnect zone aliases (DNS names) to the pool.
    scFailoverPolicy string
    SmartConnect IP failover policy.
    scSubnet string
    Name of SmartConnect service subnet for this pool.
    scSuspendedNodes number[]
    List of LNNs showing currently suspended nodes in SmartConnect.
    scTtl number
    Time to live value for SmartConnect DNS query responses in seconds.
    staticRoutes NetworkpoolStaticRoute[]
    List of interface members in this pool.
    subnet string
    The name of the subnet. Cannot be modified once designated
    access_zone str
    Name of a valid access zone to map IP address pool to the zone.
    addr_family str
    IP address format.
    aggregation_mode str
    OneFS supports the following NIC aggregation modes.
    alloc_method str
    Specifies how IP address allocation is done among pool members.
    description str
    A description of the pool.
    groupnet str
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    ifaces Sequence[NetworkpoolIfaceArgs]
    List of interface members in this pool.
    name str
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3_rroce_only bool
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges Sequence[NetworkpoolRangeArgs]
    List of IP address ranges in this pool.
    rebalance_policy str
    Rebalance policy..
    rules Sequence[str]
    Names of the rules in this pool.
    sc_auto_unsuspend_delay float
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    sc_connect_policy str
    SmartConnect client connection balancing policy.
    sc_dns_zone str
    SmartConnect zone name for the pool.
    sc_dns_zone_aliases Sequence[str]
    List of SmartConnect zone aliases (DNS names) to the pool.
    sc_failover_policy str
    SmartConnect IP failover policy.
    sc_subnet str
    Name of SmartConnect service subnet for this pool.
    sc_suspended_nodes Sequence[float]
    List of LNNs showing currently suspended nodes in SmartConnect.
    sc_ttl float
    Time to live value for SmartConnect DNS query responses in seconds.
    static_routes Sequence[NetworkpoolStaticRouteArgs]
    List of interface members in this pool.
    subnet str
    The name of the subnet. Cannot be modified once designated
    accessZone String
    Name of a valid access zone to map IP address pool to the zone.
    addrFamily String
    IP address format.
    aggregationMode String
    OneFS supports the following NIC aggregation modes.
    allocMethod String
    Specifies how IP address allocation is done among pool members.
    description String
    A description of the pool.
    groupnet String
    Name of the groupnet this pool belongs to. Cannot be modified once designated
    ifaces List<Property Map>
    List of interface members in this pool.
    name String
    The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    nfsv3RroceOnly Boolean
    Indicates that pool contains only RDMA RRoCE capable interfaces.
    ranges List<Property Map>
    List of IP address ranges in this pool.
    rebalancePolicy String
    Rebalance policy..
    rules List<String>
    Names of the rules in this pool.
    scAutoUnsuspendDelay Number
    Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
    scConnectPolicy String
    SmartConnect client connection balancing policy.
    scDnsZone String
    SmartConnect zone name for the pool.
    scDnsZoneAliases List<String>
    List of SmartConnect zone aliases (DNS names) to the pool.
    scFailoverPolicy String
    SmartConnect IP failover policy.
    scSubnet String
    Name of SmartConnect service subnet for this pool.
    scSuspendedNodes List<Number>
    List of LNNs showing currently suspended nodes in SmartConnect.
    scTtl Number
    Time to live value for SmartConnect DNS query responses in seconds.
    staticRoutes List<Property Map>
    List of interface members in this pool.
    subnet String
    The name of the subnet. Cannot be modified once designated

    Supporting Types

    NetworkpoolIface, NetworkpoolIfaceArgs

    Iface string
    A string that defines an interface name.
    Lnn double
    Logical Node Number (LNN) of a node.
    Iface string
    A string that defines an interface name.
    Lnn float64
    Logical Node Number (LNN) of a node.
    iface String
    A string that defines an interface name.
    lnn Double
    Logical Node Number (LNN) of a node.
    iface string
    A string that defines an interface name.
    lnn number
    Logical Node Number (LNN) of a node.
    iface str
    A string that defines an interface name.
    lnn float
    Logical Node Number (LNN) of a node.
    iface String
    A string that defines an interface name.
    lnn Number
    Logical Node Number (LNN) of a node.

    NetworkpoolRange, NetworkpoolRangeArgs

    High string
    High IP
    Low string
    Low IP
    High string
    High IP
    Low string
    Low IP
    high String
    High IP
    low String
    Low IP
    high string
    High IP
    low string
    Low IP
    high str
    High IP
    low str
    Low IP
    high String
    High IP
    low String
    Low IP

    NetworkpoolStaticRoute, NetworkpoolStaticRouteArgs

    Gateway string
    Address of the gateway in the format: yyy.yyy.yyy.yyy
    Prefixlen double
    Prefix length in the format: nn.
    Subnet string
    Network address in the format: xxx.xxx.xxx.xxx
    Gateway string
    Address of the gateway in the format: yyy.yyy.yyy.yyy
    Prefixlen float64
    Prefix length in the format: nn.
    Subnet string
    Network address in the format: xxx.xxx.xxx.xxx
    gateway String
    Address of the gateway in the format: yyy.yyy.yyy.yyy
    prefixlen Double
    Prefix length in the format: nn.
    subnet String
    Network address in the format: xxx.xxx.xxx.xxx
    gateway string
    Address of the gateway in the format: yyy.yyy.yyy.yyy
    prefixlen number
    Prefix length in the format: nn.
    subnet string
    Network address in the format: xxx.xxx.xxx.xxx
    gateway str
    Address of the gateway in the format: yyy.yyy.yyy.yyy
    prefixlen float
    Prefix length in the format: nn.
    subnet str
    Network address in the format: xxx.xxx.xxx.xxx
    gateway String
    Address of the gateway in the format: yyy.yyy.yyy.yyy
    prefixlen Number
    Prefix length in the format: nn.
    subnet String
    Network address in the format: xxx.xxx.xxx.xxx

    Import

    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.

    The command is

    $ pulumi import powerscale:index/networkpool:Networkpool pool_test groupnet_name.subnet_name.pool_name
    

    Example:

    $ pulumi import powerscale:index/networkpool:Networkpool pool_test groupnet0.subnet0.pool_test
    

    after running this command, populate the name field and other required parameters in the config file to start managing this resource.

    Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.

    To learn more about importing existing cloud resources, see Importing resources.

    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