powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getSubnet
Explore with Pulumi AI
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>
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]
func LookupSubnet(ctx *Context, args *LookupSubnetArgs, opts ...InvokeOption) (*LookupSubnetResult, error)
func LookupSubnetOutput(ctx *Context, args *LookupSubnetOutputArgs, opts ...InvokeOption) LookupSubnetResultOutput
> 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)
}
public static CompletableFuture<GetSubnetResult> getSubnet(GetSubnetArgs args, InvokeOptions options)
public static Output<GetSubnetResult> getSubnet(GetSubnetArgs args, InvokeOptions options)
fn::invoke:
function: powerscale:index/getSubnet:getSubnet
arguments:
# arguments dictionary
The following arguments are supported:
getSubnet Result
The following output properties are available:
- Id string
- Unique identifier
- Subnets
List<Get
Subnet Subnet> - List of subnets
- Filter
Get
Subnet Filter
- Id string
- Unique identifier
- Subnets
[]Get
Subnet Subnet - List of subnets
- Filter
Get
Subnet Filter
- id String
- Unique identifier
- subnets
List<Get
Subnet Subnet> - List of subnets
- filter
Get
Subnet Filter
- id string
- Unique identifier
- subnets
Get
Subnet Subnet[] - List of subnets
- filter
Get
Subnet Filter
- id str
- Unique identifier
- subnets
Sequence[Get
Subnet Subnet] - List of subnets
- filter
Get
Subnet Filter
- id String
- Unique identifier
- subnets List<Property Map>
- List of subnets
- filter Property Map
Supporting Types
GetSubnetFilter
- Groupnet
Name string - Specifies which groupnet to query.
- Names List<string>
- List of subnet name.
- Groupnet
Name string - Specifies which groupnet to query.
- Names []string
- List of subnet name.
- groupnet
Name String - Specifies which groupnet to query.
- names List<String>
- List of subnet name.
- groupnet
Name 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.
- groupnet
Name String - Specifies which groupnet to query.
- names List<String>
- List of subnet name.
GetSubnetSubnet
- Addr
Family string - IP address format.
- Base
Addr string - The base IP address.
- Description string
- A description of the subnet.
- Dsr
Addrs List<string> - List of Direct Server Return addresses.
- Gateway string
- Gateway IP address.
- Gateway
Priority double - Gateway priority.
- Groupnet string
- Name of the groupnet this subnet belongs to.
- Id string
- Unique Subnet ID.
- Mtu double
- MTU of the subnet.
- Name string
- The name of the subnet.
- Pools List<string>
- Name of the pools in the subnet.
- Prefixlen double
- Subnet Prefix Length.
- Sc
Service List<GetAddrs Subnet Subnet Sc Service Addr> - List of IP addresses that SmartConnect listens for DNS requests.
- Sc
Service stringName - Domain Name corresponding to the SmartConnect Service Address.
- Vlan
Enabled bool - VLAN tagging enabled or disabled.
- Vlan
Id double - VLAN ID for all interfaces in the subnet.
- Addr
Family string - IP address format.
- Base
Addr string - The base IP address.
- Description string
- A description of the subnet.
- Dsr
Addrs []string - List of Direct Server Return addresses.
- Gateway string
- Gateway IP address.
- Gateway
Priority float64 - Gateway priority.
- Groupnet string
- Name of the groupnet this subnet belongs to.
- Id string
- Unique Subnet ID.
- Mtu float64
- MTU of the subnet.
- Name string
- The name of the subnet.
- Pools []string
- Name of the pools in the subnet.
- Prefixlen float64
- Subnet Prefix Length.
- Sc
Service []GetAddrs Subnet Subnet Sc Service Addr - List of IP addresses that SmartConnect listens for DNS requests.
- Sc
Service stringName - Domain Name corresponding to the SmartConnect Service Address.
- Vlan
Enabled bool - VLAN tagging enabled or disabled.
- Vlan
Id float64 - VLAN ID for all interfaces in the subnet.
- addr
Family String - IP address format.
- base
Addr String - The base IP address.
- description String
- A description of the subnet.
- dsr
Addrs List<String> - List of Direct Server Return addresses.
- gateway String
- Gateway IP address.
- gateway
Priority Double - Gateway priority.
- groupnet String
- Name of the groupnet this subnet belongs to.
- id String
- Unique Subnet ID.
- mtu Double
- MTU of the subnet.
- name String
- The name of the subnet.
- pools List<String>
- Name of the pools in the subnet.
- prefixlen Double
- Subnet Prefix Length.
- sc
Service List<GetAddrs Subnet Subnet Sc Service Addr> - List of IP addresses that SmartConnect listens for DNS requests.
- sc
Service StringName - Domain Name corresponding to the SmartConnect Service Address.
- vlan
Enabled Boolean - VLAN tagging enabled or disabled.
- vlan
Id Double - VLAN ID for all interfaces in the subnet.
- addr
Family string - IP address format.
- base
Addr string - The base IP address.
- description string
- A description of the subnet.
- dsr
Addrs string[] - List of Direct Server Return addresses.
- gateway string
- Gateway IP address.
- gateway
Priority number - Gateway priority.
- groupnet string
- Name of the groupnet this subnet belongs to.
- id string
- Unique Subnet ID.
- mtu number
- MTU of the subnet.
- name string
- The name of the subnet.
- pools string[]
- Name of the pools in the subnet.
- prefixlen number
- Subnet Prefix Length.
- sc
Service GetAddrs Subnet Subnet Sc Service Addr[] - List of IP addresses that SmartConnect listens for DNS requests.
- sc
Service stringName - Domain Name corresponding to the SmartConnect Service Address.
- vlan
Enabled boolean - VLAN tagging enabled or disabled.
- vlan
Id number - VLAN ID for all interfaces in the subnet.
- addr_
family str - IP address format.
- base_
addr str - The base IP address.
- description str
- A description of the subnet.
- dsr_
addrs Sequence[str] - List of Direct Server Return addresses.
- gateway str
- Gateway IP address.
- gateway_
priority float - Gateway priority.
- groupnet str
- Name of the groupnet this subnet belongs to.
- id str
- Unique Subnet ID.
- mtu float
- MTU of the subnet.
- name str
- The name of the subnet.
- pools Sequence[str]
- Name of the pools in the subnet.
- prefixlen float
- Subnet Prefix Length.
- sc_
service_ Sequence[Getaddrs Subnet Subnet Sc Service Addr] - List of IP addresses that SmartConnect listens for DNS requests.
- sc_
service_ strname - Domain Name corresponding to the SmartConnect Service Address.
- vlan_
enabled bool - VLAN tagging enabled or disabled.
- vlan_
id float - VLAN ID for all interfaces in the subnet.
- addr
Family String - IP address format.
- base
Addr String - The base IP address.
- description String
- A description of the subnet.
- dsr
Addrs List<String> - List of Direct Server Return addresses.
- gateway String
- Gateway IP address.
- gateway
Priority Number - Gateway priority.
- groupnet String
- Name of the groupnet this subnet belongs to.
- id String
- Unique Subnet ID.
- mtu Number
- MTU of the subnet.
- name String
- The name of the subnet.
- pools List<String>
- Name of the pools in the subnet.
- prefixlen Number
- Subnet Prefix Length.
- sc
Service List<Property Map>Addrs - List of IP addresses that SmartConnect listens for DNS requests.
- sc
Service StringName - Domain Name corresponding to the SmartConnect Service Address.
- vlan
Enabled Boolean - VLAN tagging enabled or disabled.
- vlan
Id Number - VLAN ID for all interfaces in the subnet.
GetSubnetSubnetScServiceAddr
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.