Viewing docs for openwrt 0.0.20
published on Friday, Mar 7, 2025 by joneshf
published on Friday, Mar 7, 2025 by joneshf
Viewing docs for openwrt 0.0.20
published on Friday, Mar 7, 2025 by joneshf
published on Friday, Mar 7, 2025 by joneshf
The physical radio device.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openwrt from "@pulumi/openwrt";
const testing = openwrt.getWirelessWifiDevice({
id: "testing",
});
import pulumi
import pulumi_openwrt as openwrt
testing = openwrt.get_wireless_wifi_device(id="testing")
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.LookupWirelessWifiDevice(ctx, &openwrt.LookupWirelessWifiDeviceArgs{
Id: "testing",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Openwrt = Pulumi.Openwrt;
return await Deployment.RunAsync(() =>
{
var testing = Openwrt.GetWirelessWifiDevice.Invoke(new()
{
Id = "testing",
});
});
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.GetWirelessWifiDeviceArgs;
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.getWirelessWifiDevice(GetWirelessWifiDeviceArgs.builder()
.id("testing")
.build());
}
}
variables:
testing:
fn::invoke:
function: openwrt:getWirelessWifiDevice
arguments:
id: testing
Using getWirelessWifiDevice
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 getWirelessWifiDevice(args: GetWirelessWifiDeviceArgs, opts?: InvokeOptions): Promise<GetWirelessWifiDeviceResult>
function getWirelessWifiDeviceOutput(args: GetWirelessWifiDeviceOutputArgs, opts?: InvokeOptions): Output<GetWirelessWifiDeviceResult>def get_wireless_wifi_device(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWirelessWifiDeviceResult
def get_wireless_wifi_device_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWirelessWifiDeviceResult]func LookupWirelessWifiDevice(ctx *Context, args *LookupWirelessWifiDeviceArgs, opts ...InvokeOption) (*LookupWirelessWifiDeviceResult, error)
func LookupWirelessWifiDeviceOutput(ctx *Context, args *LookupWirelessWifiDeviceOutputArgs, opts ...InvokeOption) LookupWirelessWifiDeviceResultOutput> Note: This function is named LookupWirelessWifiDevice in the Go SDK.
public static class GetWirelessWifiDevice
{
public static Task<GetWirelessWifiDeviceResult> InvokeAsync(GetWirelessWifiDeviceArgs args, InvokeOptions? opts = null)
public static Output<GetWirelessWifiDeviceResult> Invoke(GetWirelessWifiDeviceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWirelessWifiDeviceResult> getWirelessWifiDevice(GetWirelessWifiDeviceArgs args, InvokeOptions options)
public static Output<GetWirelessWifiDeviceResult> getWirelessWifiDevice(GetWirelessWifiDeviceArgs args, InvokeOptions options)
fn::invoke:
function: openwrt:index/getWirelessWifiDevice:getWirelessWifiDevice
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- id string
- Name of the section. This name is only used when interacting with UCI directly.
- id str
- Name of the section. This name is only used when interacting with UCI directly.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
getWirelessWifiDevice Result
The following output properties are available:
- Band string
- Channel width. Must be one of: "2g", "5g", "6g".
- Cell
Density double - Configures data rates based on the coverage cell density. Must be one of 0, 1, 2, 3.
- Channel string
- The wireless channel. Currently, only "auto" is supported.
- Country string
- Two-digit country code. E.g. "US".
- Htmode string
- Channel width. Must be one of: "HE20", "HE40", "HE80", "HE160", "HT20", "HT40", "HT40-", "HT40+", "NONE", "VHT20", "VHT40", "VHT80", "VHT160".
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Path string
- Path of the device in
/sys/devices. - Type string
- The type of device. Currently only "mac80211" is supported.
- Band string
- Channel width. Must be one of: "2g", "5g", "6g".
- Cell
Density float64 - Configures data rates based on the coverage cell density. Must be one of 0, 1, 2, 3.
- Channel string
- The wireless channel. Currently, only "auto" is supported.
- Country string
- Two-digit country code. E.g. "US".
- Htmode string
- Channel width. Must be one of: "HE20", "HE40", "HE80", "HE160", "HT20", "HT40", "HT40-", "HT40+", "NONE", "VHT20", "VHT40", "VHT80", "VHT160".
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Path string
- Path of the device in
/sys/devices. - Type string
- The type of device. Currently only "mac80211" is supported.
- band String
- Channel width. Must be one of: "2g", "5g", "6g".
- cell
Density Double - Configures data rates based on the coverage cell density. Must be one of 0, 1, 2, 3.
- channel String
- The wireless channel. Currently, only "auto" is supported.
- country String
- Two-digit country code. E.g. "US".
- htmode String
- Channel width. Must be one of: "HE20", "HE40", "HE80", "HE160", "HT20", "HT40", "HT40-", "HT40+", "NONE", "VHT20", "VHT40", "VHT80", "VHT160".
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- path String
- Path of the device in
/sys/devices. - type String
- The type of device. Currently only "mac80211" is supported.
- band string
- Channel width. Must be one of: "2g", "5g", "6g".
- cell
Density number - Configures data rates based on the coverage cell density. Must be one of 0, 1, 2, 3.
- channel string
- The wireless channel. Currently, only "auto" is supported.
- country string
- Two-digit country code. E.g. "US".
- htmode string
- Channel width. Must be one of: "HE20", "HE40", "HE80", "HE160", "HT20", "HT40", "HT40-", "HT40+", "NONE", "VHT20", "VHT40", "VHT80", "VHT160".
- id string
- Name of the section. This name is only used when interacting with UCI directly.
- path string
- Path of the device in
/sys/devices. - type string
- The type of device. Currently only "mac80211" is supported.
- band str
- Channel width. Must be one of: "2g", "5g", "6g".
- cell_
density float - Configures data rates based on the coverage cell density. Must be one of 0, 1, 2, 3.
- channel str
- The wireless channel. Currently, only "auto" is supported.
- country str
- Two-digit country code. E.g. "US".
- htmode str
- Channel width. Must be one of: "HE20", "HE40", "HE80", "HE160", "HT20", "HT40", "HT40-", "HT40+", "NONE", "VHT20", "VHT40", "VHT80", "VHT160".
- id str
- Name of the section. This name is only used when interacting with UCI directly.
- path str
- Path of the device in
/sys/devices. - type str
- The type of device. Currently only "mac80211" is supported.
- band String
- Channel width. Must be one of: "2g", "5g", "6g".
- cell
Density Number - Configures data rates based on the coverage cell density. Must be one of 0, 1, 2, 3.
- channel String
- The wireless channel. Currently, only "auto" is supported.
- country String
- Two-digit country code. E.g. "US".
- htmode String
- Channel width. Must be one of: "HE20", "HE40", "HE80", "HE160", "HT20", "HT40", "HT40-", "HT40+", "NONE", "VHT20", "VHT40", "VHT80", "VHT160".
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- path String
- Path of the device in
/sys/devices. - type String
- The type of device. Currently only "mac80211" is supported.
Package Details
- Repository
- openwrt joneshf/terraform-provider-openwrt
- License
- Notes
- This Pulumi package is based on the
openwrtTerraform Provider.
Viewing docs for openwrt 0.0.20
published on Friday, Mar 7, 2025 by joneshf
published on Friday, Mar 7, 2025 by joneshf
