1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getSubnet
powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell

powerscale.getSubnet

Explore with Pulumi AI

powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell

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

Using getSubnet

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 getSubnet(args: GetSubnetArgs, opts?: InvokeOptions): Promise<GetSubnetResult>
function getSubnetOutput(args: GetSubnetOutputArgs, opts?: InvokeOptions): Output<GetSubnetResult>
Copy
def get_subnet(filter: Optional[GetSubnetFilter] = None,
               opts: Optional[InvokeOptions] = None) -> GetSubnetResult
def get_subnet_output(filter: Optional[pulumi.Input[GetSubnetFilterArgs]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetSubnetResult]
Copy
func LookupSubnet(ctx *Context, args *LookupSubnetArgs, opts ...InvokeOption) (*LookupSubnetResult, error)
func LookupSubnetOutput(ctx *Context, args *LookupSubnetOutputArgs, opts ...InvokeOption) LookupSubnetResultOutput
Copy

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

public static class GetSubnet 
{
    public static Task<GetSubnetResult> InvokeAsync(GetSubnetArgs args, InvokeOptions? opts = null)
    public static Output<GetSubnetResult> Invoke(GetSubnetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSubnetResult> getSubnet(GetSubnetArgs args, InvokeOptions options)
public static Output<GetSubnetResult> getSubnet(GetSubnetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: powerscale:index/getSubnet:getSubnet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getSubnet Result

The following output properties are available:

Id string
Unique identifier
Subnets List<GetSubnetSubnet>
List of subnets
Filter GetSubnetFilter
Id string
Unique identifier
Subnets []GetSubnetSubnet
List of subnets
Filter GetSubnetFilter
id String
Unique identifier
subnets List<GetSubnetSubnet>
List of subnets
filter GetSubnetFilter
id string
Unique identifier
subnets GetSubnetSubnet[]
List of subnets
filter GetSubnetFilter
id str
Unique identifier
subnets Sequence[GetSubnetSubnet]
List of subnets
filter GetSubnetFilter
id String
Unique identifier
subnets List<Property Map>
List of subnets
filter Property Map

Supporting Types

GetSubnetFilter

GroupnetName string
Specifies which groupnet to query.
Names List<string>
List of subnet name.
GroupnetName string
Specifies which groupnet to query.
Names []string
List of subnet name.
groupnetName String
Specifies which groupnet to query.
names List<String>
List of subnet name.
groupnetName string
Specifies which groupnet to query.
names string[]
List of subnet name.
groupnet_name str
Specifies which groupnet to query.
names Sequence[str]
List of subnet name.
groupnetName String
Specifies which groupnet to query.
names List<String>
List of subnet name.

GetSubnetSubnet

AddrFamily This property is required. string
IP address format.
BaseAddr This property is required. string
The base IP address.
Description This property is required. string
A description of the subnet.
DsrAddrs This property is required. List<string>
List of Direct Server Return addresses.
Gateway This property is required. string
Gateway IP address.
GatewayPriority This property is required. double
Gateway priority.
Groupnet This property is required. string
Name of the groupnet this subnet belongs to.
Id This property is required. string
Unique Subnet ID.
Mtu This property is required. double
MTU of the subnet.
Name This property is required. string
The name of the subnet.
Pools This property is required. List<string>
Name of the pools in the subnet.
Prefixlen This property is required. double
Subnet Prefix Length.
ScServiceAddrs This property is required. List<GetSubnetSubnetScServiceAddr>
List of IP addresses that SmartConnect listens for DNS requests.
ScServiceName This property is required. string
Domain Name corresponding to the SmartConnect Service Address.
VlanEnabled This property is required. bool
VLAN tagging enabled or disabled.
VlanId This property is required. double
VLAN ID for all interfaces in the subnet.
AddrFamily This property is required. string
IP address format.
BaseAddr This property is required. string
The base IP address.
Description This property is required. string
A description of the subnet.
DsrAddrs This property is required. []string
List of Direct Server Return addresses.
Gateway This property is required. string
Gateway IP address.
GatewayPriority This property is required. float64
Gateway priority.
Groupnet This property is required. string
Name of the groupnet this subnet belongs to.
Id This property is required. string
Unique Subnet ID.
Mtu This property is required. float64
MTU of the subnet.
Name This property is required. string
The name of the subnet.
Pools This property is required. []string
Name of the pools in the subnet.
Prefixlen This property is required. float64
Subnet Prefix Length.
ScServiceAddrs This property is required. []GetSubnetSubnetScServiceAddr
List of IP addresses that SmartConnect listens for DNS requests.
ScServiceName This property is required. string
Domain Name corresponding to the SmartConnect Service Address.
VlanEnabled This property is required. bool
VLAN tagging enabled or disabled.
VlanId This property is required. float64
VLAN ID for all interfaces in the subnet.
addrFamily This property is required. String
IP address format.
baseAddr This property is required. String
The base IP address.
description This property is required. String
A description of the subnet.
dsrAddrs This property is required. List<String>
List of Direct Server Return addresses.
gateway This property is required. String
Gateway IP address.
gatewayPriority This property is required. Double
Gateway priority.
groupnet This property is required. String
Name of the groupnet this subnet belongs to.
id This property is required. String
Unique Subnet ID.
mtu This property is required. Double
MTU of the subnet.
name This property is required. String
The name of the subnet.
pools This property is required. List<String>
Name of the pools in the subnet.
prefixlen This property is required. Double
Subnet Prefix Length.
scServiceAddrs This property is required. List<GetSubnetSubnetScServiceAddr>
List of IP addresses that SmartConnect listens for DNS requests.
scServiceName This property is required. String
Domain Name corresponding to the SmartConnect Service Address.
vlanEnabled This property is required. Boolean
VLAN tagging enabled or disabled.
vlanId This property is required. Double
VLAN ID for all interfaces in the subnet.
addrFamily This property is required. string
IP address format.
baseAddr This property is required. string
The base IP address.
description This property is required. string
A description of the subnet.
dsrAddrs This property is required. string[]
List of Direct Server Return addresses.
gateway This property is required. string
Gateway IP address.
gatewayPriority This property is required. number
Gateway priority.
groupnet This property is required. string
Name of the groupnet this subnet belongs to.
id This property is required. string
Unique Subnet ID.
mtu This property is required. number
MTU of the subnet.
name This property is required. string
The name of the subnet.
pools This property is required. string[]
Name of the pools in the subnet.
prefixlen This property is required. number
Subnet Prefix Length.
scServiceAddrs This property is required. GetSubnetSubnetScServiceAddr[]
List of IP addresses that SmartConnect listens for DNS requests.
scServiceName This property is required. string
Domain Name corresponding to the SmartConnect Service Address.
vlanEnabled This property is required. boolean
VLAN tagging enabled or disabled.
vlanId This property is required. number
VLAN ID for all interfaces in the subnet.
addr_family This property is required. str
IP address format.
base_addr This property is required. str
The base IP address.
description This property is required. str
A description of the subnet.
dsr_addrs This property is required. Sequence[str]
List of Direct Server Return addresses.
gateway This property is required. str
Gateway IP address.
gateway_priority This property is required. float
Gateway priority.
groupnet This property is required. str
Name of the groupnet this subnet belongs to.
id This property is required. str
Unique Subnet ID.
mtu This property is required. float
MTU of the subnet.
name This property is required. str
The name of the subnet.
pools This property is required. Sequence[str]
Name of the pools in the subnet.
prefixlen This property is required. float
Subnet Prefix Length.
sc_service_addrs This property is required. Sequence[GetSubnetSubnetScServiceAddr]
List of IP addresses that SmartConnect listens for DNS requests.
sc_service_name This property is required. str
Domain Name corresponding to the SmartConnect Service Address.
vlan_enabled This property is required. bool
VLAN tagging enabled or disabled.
vlan_id This property is required. float
VLAN ID for all interfaces in the subnet.
addrFamily This property is required. String
IP address format.
baseAddr This property is required. String
The base IP address.
description This property is required. String
A description of the subnet.
dsrAddrs This property is required. List<String>
List of Direct Server Return addresses.
gateway This property is required. String
Gateway IP address.
gatewayPriority This property is required. Number
Gateway priority.
groupnet This property is required. String
Name of the groupnet this subnet belongs to.
id This property is required. String
Unique Subnet ID.
mtu This property is required. Number
MTU of the subnet.
name This property is required. String
The name of the subnet.
pools This property is required. List<String>
Name of the pools in the subnet.
prefixlen This property is required. Number
Subnet Prefix Length.
scServiceAddrs This property is required. List<Property Map>
List of IP addresses that SmartConnect listens for DNS requests.
scServiceName This property is required. String
Domain Name corresponding to the SmartConnect Service Address.
vlanEnabled This property is required. Boolean
VLAN tagging enabled or disabled.
vlanId This property is required. Number
VLAN ID for all interfaces in the subnet.

GetSubnetSubnetScServiceAddr

High This property is required. string
High IP
Low This property is required. string
Low IP
High This property is required. string
High IP
Low This property is required. string
Low IP
high This property is required. String
High IP
low This property is required. String
Low IP
high This property is required. string
High IP
low This property is required. string
Low IP
high This property is required. str
High IP
low This property is required. str
Low IP
high This property is required. String
High IP
low This property is required. String
Low IP

Package Details

Repository
powerscale dell/terraform-provider-powerscale
License
Notes
This Pulumi package is based on the powerscale Terraform Provider.
powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell