powerscale 1.7.0 published on Monday, Apr 14, 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 This property is required. string - IP address format.
- Base
Addr This property is required. string - The base IP address.
- Description
This property is required. string - A description of the subnet.
- Dsr
Addrs This property is required. List<string> - List of Direct Server Return addresses.
- Gateway
This property is required. string - Gateway IP address.
- Gateway
Priority 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.
- Sc
Service Addrs This property is required. List<GetSubnet Subnet Sc Service Addr> - List of IP addresses that SmartConnect listens for DNS requests.
- Sc
Service Name This property is required. string - 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. double - VLAN ID for all interfaces in the subnet.
- Addr
Family This property is required. string - IP address format.
- Base
Addr This property is required. string - The base IP address.
- Description
This property is required. string - A description of the subnet.
- Dsr
Addrs This property is required. []string - List of Direct Server Return addresses.
- Gateway
This property is required. string - Gateway IP address.
- Gateway
Priority 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.
- Sc
Service Addrs This property is required. []GetSubnet Subnet Sc Service Addr - List of IP addresses that SmartConnect listens for DNS requests.
- Sc
Service Name This property is required. string - 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. float64 - VLAN ID for all interfaces in the subnet.
- addr
Family This property is required. String - IP address format.
- base
Addr This property is required. String - The base IP address.
- description
This property is required. String - A description of the subnet.
- dsr
Addrs This property is required. List<String> - List of Direct Server Return addresses.
- gateway
This property is required. String - Gateway IP address.
- gateway
Priority 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.
- sc
Service Addrs This property is required. List<GetSubnet Subnet Sc Service Addr> - List of IP addresses that SmartConnect listens for DNS requests.
- sc
Service Name This property is required. String - Domain Name corresponding to the SmartConnect Service Address.
- vlan
Enabled This property is required. Boolean - VLAN tagging enabled or disabled.
- vlan
Id This property is required. Double - VLAN ID for all interfaces in the subnet.
- addr
Family This property is required. string - IP address format.
- base
Addr This property is required. string - The base IP address.
- description
This property is required. string - A description of the subnet.
- dsr
Addrs This property is required. string[] - List of Direct Server Return addresses.
- gateway
This property is required. string - Gateway IP address.
- gateway
Priority 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.
- sc
Service Addrs This property is required. GetSubnet Subnet Sc Service Addr[] - List of IP addresses that SmartConnect listens for DNS requests.
- sc
Service Name This property is required. string - Domain Name corresponding to the SmartConnect Service Address.
- vlan
Enabled This property is required. boolean - VLAN tagging enabled or disabled.
- vlan
Id 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[GetSubnet Subnet Sc Service Addr] - 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.
- addr
Family This property is required. String - IP address format.
- base
Addr This property is required. String - The base IP address.
- description
This property is required. String - A description of the subnet.
- dsr
Addrs This property is required. List<String> - List of Direct Server Return addresses.
- gateway
This property is required. String - Gateway IP address.
- gateway
Priority 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.
- sc
Service Addrs This property is required. List<Property Map> - List of IP addresses that SmartConnect listens for DNS requests.
- sc
Service Name This property is required. String - Domain Name corresponding to the SmartConnect Service Address.
- vlan
Enabled This property is required. Boolean - VLAN tagging enabled or disabled.
- vlan
Id This property is required. 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.