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

powerscale.getSubnet

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 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>
    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<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 string
    IP address format.
    BaseAddr string
    The base IP address.
    Description string
    A description of the subnet.
    DsrAddrs List<string>
    List of Direct Server Return addresses.
    Gateway string
    Gateway IP address.
    GatewayPriority 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.
    ScServiceAddrs List<GetSubnetSubnetScServiceAddr>
    List of IP addresses that SmartConnect listens for DNS requests.
    ScServiceName string
    Domain Name corresponding to the SmartConnect Service Address.
    VlanEnabled bool
    VLAN tagging enabled or disabled.
    VlanId double
    VLAN ID for all interfaces in the subnet.
    AddrFamily string
    IP address format.
    BaseAddr string
    The base IP address.
    Description string
    A description of the subnet.
    DsrAddrs []string
    List of Direct Server Return addresses.
    Gateway string
    Gateway IP address.
    GatewayPriority 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.
    ScServiceAddrs []GetSubnetSubnetScServiceAddr
    List of IP addresses that SmartConnect listens for DNS requests.
    ScServiceName string
    Domain Name corresponding to the SmartConnect Service Address.
    VlanEnabled bool
    VLAN tagging enabled or disabled.
    VlanId float64
    VLAN ID for all interfaces in the subnet.
    addrFamily String
    IP address format.
    baseAddr String
    The base IP address.
    description String
    A description of the subnet.
    dsrAddrs List<String>
    List of Direct Server Return addresses.
    gateway String
    Gateway IP address.
    gatewayPriority 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.
    scServiceAddrs List<GetSubnetSubnetScServiceAddr>
    List of IP addresses that SmartConnect listens for DNS requests.
    scServiceName String
    Domain Name corresponding to the SmartConnect Service Address.
    vlanEnabled Boolean
    VLAN tagging enabled or disabled.
    vlanId Double
    VLAN ID for all interfaces in the subnet.
    addrFamily string
    IP address format.
    baseAddr string
    The base IP address.
    description string
    A description of the subnet.
    dsrAddrs string[]
    List of Direct Server Return addresses.
    gateway string
    Gateway IP address.
    gatewayPriority 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.
    scServiceAddrs GetSubnetSubnetScServiceAddr[]
    List of IP addresses that SmartConnect listens for DNS requests.
    scServiceName string
    Domain Name corresponding to the SmartConnect Service Address.
    vlanEnabled boolean
    VLAN tagging enabled or disabled.
    vlanId 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_addrs Sequence[GetSubnetSubnetScServiceAddr]
    List of IP addresses that SmartConnect listens for DNS requests.
    sc_service_name str
    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.
    addrFamily String
    IP address format.
    baseAddr String
    The base IP address.
    description String
    A description of the subnet.
    dsrAddrs List<String>
    List of Direct Server Return addresses.
    gateway String
    Gateway IP address.
    gatewayPriority 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.
    scServiceAddrs List<Property Map>
    List of IP addresses that SmartConnect listens for DNS requests.
    scServiceName String
    Domain Name corresponding to the SmartConnect Service Address.
    vlanEnabled Boolean
    VLAN tagging enabled or disabled.
    vlanId Number
    VLAN ID for all interfaces in the subnet.

    GetSubnetSubnetScServiceAddr

    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

    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