1. Packages
  2. Openwrt Provider
  3. API Docs
  4. getWirelessWifiIface
openwrt 0.0.20 published on Friday, Mar 7, 2025 by joneshf

openwrt.getWirelessWifiIface

Explore with Pulumi AI

A wireless network.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as openwrt from "@pulumi/openwrt";

const testing = openwrt.getWirelessWifiIface({
    id: "testing",
});
Copy
import pulumi
import pulumi_openwrt as openwrt

testing = openwrt.get_wireless_wifi_iface(id="testing")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/openwrt/openwrt"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openwrt.LookupWirelessWifiIface(ctx, &openwrt.LookupWirelessWifiIfaceArgs{
			Id: "testing",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Openwrt = Pulumi.Openwrt;

return await Deployment.RunAsync(() => 
{
    var testing = Openwrt.GetWirelessWifiIface.Invoke(new()
    {
        Id = "testing",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openwrt.OpenwrtFunctions;
import com.pulumi.openwrt.inputs.GetWirelessWifiIfaceArgs;
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) {
        final var testing = OpenwrtFunctions.getWirelessWifiIface(GetWirelessWifiIfaceArgs.builder()
            .id("testing")
            .build());

    }
}
Copy
variables:
  testing:
    fn::invoke:
      function: openwrt:getWirelessWifiIface
      arguments:
        id: testing
Copy

Using getWirelessWifiIface

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 getWirelessWifiIface(args: GetWirelessWifiIfaceArgs, opts?: InvokeOptions): Promise<GetWirelessWifiIfaceResult>
function getWirelessWifiIfaceOutput(args: GetWirelessWifiIfaceOutputArgs, opts?: InvokeOptions): Output<GetWirelessWifiIfaceResult>
Copy
def get_wireless_wifi_iface(id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetWirelessWifiIfaceResult
def get_wireless_wifi_iface_output(id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetWirelessWifiIfaceResult]
Copy
func LookupWirelessWifiIface(ctx *Context, args *LookupWirelessWifiIfaceArgs, opts ...InvokeOption) (*LookupWirelessWifiIfaceResult, error)
func LookupWirelessWifiIfaceOutput(ctx *Context, args *LookupWirelessWifiIfaceOutputArgs, opts ...InvokeOption) LookupWirelessWifiIfaceResultOutput
Copy

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

public static class GetWirelessWifiIface 
{
    public static Task<GetWirelessWifiIfaceResult> InvokeAsync(GetWirelessWifiIfaceArgs args, InvokeOptions? opts = null)
    public static Output<GetWirelessWifiIfaceResult> Invoke(GetWirelessWifiIfaceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWirelessWifiIfaceResult> getWirelessWifiIface(GetWirelessWifiIfaceArgs args, InvokeOptions options)
public static Output<GetWirelessWifiIfaceResult> getWirelessWifiIface(GetWirelessWifiIfaceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: openwrt:index/getWirelessWifiIface:getWirelessWifiIface
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
Name of the section. This name is only used when interacting with UCI directly.
Id This property is required. string
Name of the section. This name is only used when interacting with UCI directly.
id This property is required. String
Name of the section. This name is only used when interacting with UCI directly.
id This property is required. string
Name of the section. This name is only used when interacting with UCI directly.
id This property is required. str
Name of the section. This name is only used when interacting with UCI directly.
id This property is required. String
Name of the section. This name is only used when interacting with UCI directly.

getWirelessWifiIface Result

The following output properties are available:

Device string
Encryption string
Encryption method. Currently, only PSK encryption methods are supported. Must be one of: "none", "psk", "psk2", "psk2+aes", "psk2+ccmp", "psk2+tkip", "psk2+tkip+aes", "psk2+tkip+ccmp", "psk+aes", "psk+ccmp", "psk-mixed", "psk-mixed+aes", "psk-mixed+ccmp", "psk-mixed+tkip", "psk-mixed+tkip+aes", "psk-mixed+tkip+ccmp", "psk+tkip", "psk+tkip+aes", "psk+tkip+ccmp", "sae", "sae-mixed".
Id string
Name of the section. This name is only used when interacting with UCI directly.
Isolate bool
Isolate wireless clients from each other.
Key string
The pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long.
Mode string
The operation mode of the wireless network interface controller.. Currently only "ap" is supported.
Network string
Ssid string
The broadcasted SSID of the wireless network. This is what actual clients will see the network as.
WpaDisableEapolKeyRetries bool
Enable WPA key reinstallation attack (KRACK) workaround. This should be true to enable KRACK workaround (you almost surely want this enabled).
Device string
Encryption string
Encryption method. Currently, only PSK encryption methods are supported. Must be one of: "none", "psk", "psk2", "psk2+aes", "psk2+ccmp", "psk2+tkip", "psk2+tkip+aes", "psk2+tkip+ccmp", "psk+aes", "psk+ccmp", "psk-mixed", "psk-mixed+aes", "psk-mixed+ccmp", "psk-mixed+tkip", "psk-mixed+tkip+aes", "psk-mixed+tkip+ccmp", "psk+tkip", "psk+tkip+aes", "psk+tkip+ccmp", "sae", "sae-mixed".
Id string
Name of the section. This name is only used when interacting with UCI directly.
Isolate bool
Isolate wireless clients from each other.
Key string
The pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long.
Mode string
The operation mode of the wireless network interface controller.. Currently only "ap" is supported.
Network string
Ssid string
The broadcasted SSID of the wireless network. This is what actual clients will see the network as.
WpaDisableEapolKeyRetries bool
Enable WPA key reinstallation attack (KRACK) workaround. This should be true to enable KRACK workaround (you almost surely want this enabled).
device String
encryption String
Encryption method. Currently, only PSK encryption methods are supported. Must be one of: "none", "psk", "psk2", "psk2+aes", "psk2+ccmp", "psk2+tkip", "psk2+tkip+aes", "psk2+tkip+ccmp", "psk+aes", "psk+ccmp", "psk-mixed", "psk-mixed+aes", "psk-mixed+ccmp", "psk-mixed+tkip", "psk-mixed+tkip+aes", "psk-mixed+tkip+ccmp", "psk+tkip", "psk+tkip+aes", "psk+tkip+ccmp", "sae", "sae-mixed".
id String
Name of the section. This name is only used when interacting with UCI directly.
isolate Boolean
Isolate wireless clients from each other.
key String
The pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long.
mode String
The operation mode of the wireless network interface controller.. Currently only "ap" is supported.
network String
ssid String
The broadcasted SSID of the wireless network. This is what actual clients will see the network as.
wpaDisableEapolKeyRetries Boolean
Enable WPA key reinstallation attack (KRACK) workaround. This should be true to enable KRACK workaround (you almost surely want this enabled).
device string
encryption string
Encryption method. Currently, only PSK encryption methods are supported. Must be one of: "none", "psk", "psk2", "psk2+aes", "psk2+ccmp", "psk2+tkip", "psk2+tkip+aes", "psk2+tkip+ccmp", "psk+aes", "psk+ccmp", "psk-mixed", "psk-mixed+aes", "psk-mixed+ccmp", "psk-mixed+tkip", "psk-mixed+tkip+aes", "psk-mixed+tkip+ccmp", "psk+tkip", "psk+tkip+aes", "psk+tkip+ccmp", "sae", "sae-mixed".
id string
Name of the section. This name is only used when interacting with UCI directly.
isolate boolean
Isolate wireless clients from each other.
key string
The pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long.
mode string
The operation mode of the wireless network interface controller.. Currently only "ap" is supported.
network string
ssid string
The broadcasted SSID of the wireless network. This is what actual clients will see the network as.
wpaDisableEapolKeyRetries boolean
Enable WPA key reinstallation attack (KRACK) workaround. This should be true to enable KRACK workaround (you almost surely want this enabled).
device str
encryption str
Encryption method. Currently, only PSK encryption methods are supported. Must be one of: "none", "psk", "psk2", "psk2+aes", "psk2+ccmp", "psk2+tkip", "psk2+tkip+aes", "psk2+tkip+ccmp", "psk+aes", "psk+ccmp", "psk-mixed", "psk-mixed+aes", "psk-mixed+ccmp", "psk-mixed+tkip", "psk-mixed+tkip+aes", "psk-mixed+tkip+ccmp", "psk+tkip", "psk+tkip+aes", "psk+tkip+ccmp", "sae", "sae-mixed".
id str
Name of the section. This name is only used when interacting with UCI directly.
isolate bool
Isolate wireless clients from each other.
key str
The pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long.
mode str
The operation mode of the wireless network interface controller.. Currently only "ap" is supported.
network str
ssid str
The broadcasted SSID of the wireless network. This is what actual clients will see the network as.
wpa_disable_eapol_key_retries bool
Enable WPA key reinstallation attack (KRACK) workaround. This should be true to enable KRACK workaround (you almost surely want this enabled).
device String
encryption String
Encryption method. Currently, only PSK encryption methods are supported. Must be one of: "none", "psk", "psk2", "psk2+aes", "psk2+ccmp", "psk2+tkip", "psk2+tkip+aes", "psk2+tkip+ccmp", "psk+aes", "psk+ccmp", "psk-mixed", "psk-mixed+aes", "psk-mixed+ccmp", "psk-mixed+tkip", "psk-mixed+tkip+aes", "psk-mixed+tkip+ccmp", "psk+tkip", "psk+tkip+aes", "psk+tkip+ccmp", "sae", "sae-mixed".
id String
Name of the section. This name is only used when interacting with UCI directly.
isolate Boolean
Isolate wireless clients from each other.
key String
The pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long.
mode String
The operation mode of the wireless network interface controller.. Currently only "ap" is supported.
network String
ssid String
The broadcasted SSID of the wireless network. This is what actual clients will see the network as.
wpaDisableEapolKeyRetries Boolean
Enable WPA key reinstallation attack (KRACK) workaround. This should be true to enable KRACK workaround (you almost surely want this enabled).

Package Details

Repository
openwrt joneshf/terraform-provider-openwrt
License
Notes
This Pulumi package is based on the openwrt Terraform Provider.