1. Packages
  2. Routeros Provider
  3. API Docs
  4. WifiConfiguration
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.WifiConfiguration

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    # routeros.WifiConfiguration (Resource)

    This resource requires a minimum version of RouterOS 7.13.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const aaa1 = new routeros.WifiAaa("aaa1", {
        calledFormat: "S",
        passwordFormat: "",
        usernameFormat: "AA:AA:AA:AA:AA:AA",
    });
    const channel1 = new routeros.WifiChannel("channel1", {
        band: "2ghz-n",
        frequencies: ["2412"],
        secondaryFrequencies: ["disabled"],
        skipDfsChannels: "disabled",
        width: "20mhz",
    });
    const datapath1 = new routeros.WifiDatapath("datapath1", {
        bridge: "bridge1",
        clientIsolation: false,
    });
    const security1 = new routeros.WifiSecurity("security1", {
        authenticationTypes: [
            "wpa2-psk",
            "wpa3-psk",
        ],
        ft: true,
        ftPreserveVlanid: true,
        passphrase: "password",
    });
    const configuration1 = new routeros.WifiConfiguration("configuration1", {
        country: "Netherlands",
        manager: "capsman",
        mode: "ap",
        ssid: "my-network",
        aaa: {
            config: aaa1.name,
        },
        channel: {
            config: channel1.name,
        },
        datapath: {
            config: datapath1.name,
        },
        security: {
            config: security1.name,
        },
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    aaa1 = routeros.WifiAaa("aaa1",
        called_format="S",
        password_format="",
        username_format="AA:AA:AA:AA:AA:AA")
    channel1 = routeros.WifiChannel("channel1",
        band="2ghz-n",
        frequencies=["2412"],
        secondary_frequencies=["disabled"],
        skip_dfs_channels="disabled",
        width="20mhz")
    datapath1 = routeros.WifiDatapath("datapath1",
        bridge="bridge1",
        client_isolation=False)
    security1 = routeros.WifiSecurity("security1",
        authentication_types=[
            "wpa2-psk",
            "wpa3-psk",
        ],
        ft=True,
        ft_preserve_vlanid=True,
        passphrase="password")
    configuration1 = routeros.WifiConfiguration("configuration1",
        country="Netherlands",
        manager="capsman",
        mode="ap",
        ssid="my-network",
        aaa={
            "config": aaa1.name,
        },
        channel={
            "config": channel1.name,
        },
        datapath={
            "config": datapath1.name,
        },
        security={
            "config": security1.name,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		aaa1, err := routeros.NewWifiAaa(ctx, "aaa1", &routeros.WifiAaaArgs{
    			CalledFormat:   pulumi.String("S"),
    			PasswordFormat: pulumi.String(""),
    			UsernameFormat: pulumi.String("AA:AA:AA:AA:AA:AA"),
    		})
    		if err != nil {
    			return err
    		}
    		channel1, err := routeros.NewWifiChannel(ctx, "channel1", &routeros.WifiChannelArgs{
    			Band: pulumi.String("2ghz-n"),
    			Frequencies: pulumi.StringArray{
    				pulumi.String("2412"),
    			},
    			SecondaryFrequencies: pulumi.StringArray{
    				pulumi.String("disabled"),
    			},
    			SkipDfsChannels: pulumi.String("disabled"),
    			Width:           pulumi.String("20mhz"),
    		})
    		if err != nil {
    			return err
    		}
    		datapath1, err := routeros.NewWifiDatapath(ctx, "datapath1", &routeros.WifiDatapathArgs{
    			Bridge:          pulumi.String("bridge1"),
    			ClientIsolation: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		security1, err := routeros.NewWifiSecurity(ctx, "security1", &routeros.WifiSecurityArgs{
    			AuthenticationTypes: pulumi.StringArray{
    				pulumi.String("wpa2-psk"),
    				pulumi.String("wpa3-psk"),
    			},
    			Ft:               pulumi.Bool(true),
    			FtPreserveVlanid: pulumi.Bool(true),
    			Passphrase:       pulumi.String("password"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = routeros.NewWifiConfiguration(ctx, "configuration1", &routeros.WifiConfigurationArgs{
    			Country: pulumi.String("Netherlands"),
    			Manager: pulumi.String("capsman"),
    			Mode:    pulumi.String("ap"),
    			Ssid:    pulumi.String("my-network"),
    			Aaa: pulumi.StringMap{
    				"config": aaa1.Name,
    			},
    			Channel: pulumi.StringMap{
    				"config": channel1.Name,
    			},
    			Datapath: pulumi.StringMap{
    				"config": datapath1.Name,
    			},
    			Security: pulumi.StringMap{
    				"config": security1.Name,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var aaa1 = new Routeros.WifiAaa("aaa1", new()
        {
            CalledFormat = "S",
            PasswordFormat = "",
            UsernameFormat = "AA:AA:AA:AA:AA:AA",
        });
    
        var channel1 = new Routeros.WifiChannel("channel1", new()
        {
            Band = "2ghz-n",
            Frequencies = new[]
            {
                "2412",
            },
            SecondaryFrequencies = new[]
            {
                "disabled",
            },
            SkipDfsChannels = "disabled",
            Width = "20mhz",
        });
    
        var datapath1 = new Routeros.WifiDatapath("datapath1", new()
        {
            Bridge = "bridge1",
            ClientIsolation = false,
        });
    
        var security1 = new Routeros.WifiSecurity("security1", new()
        {
            AuthenticationTypes = new[]
            {
                "wpa2-psk",
                "wpa3-psk",
            },
            Ft = true,
            FtPreserveVlanid = true,
            Passphrase = "password",
        });
    
        var configuration1 = new Routeros.WifiConfiguration("configuration1", new()
        {
            Country = "Netherlands",
            Manager = "capsman",
            Mode = "ap",
            Ssid = "my-network",
            Aaa = 
            {
                { "config", aaa1.Name },
            },
            Channel = 
            {
                { "config", channel1.Name },
            },
            Datapath = 
            {
                { "config", datapath1.Name },
            },
            Security = 
            {
                { "config", security1.Name },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.WifiAaa;
    import com.pulumi.routeros.WifiAaaArgs;
    import com.pulumi.routeros.WifiChannel;
    import com.pulumi.routeros.WifiChannelArgs;
    import com.pulumi.routeros.WifiDatapath;
    import com.pulumi.routeros.WifiDatapathArgs;
    import com.pulumi.routeros.WifiSecurity;
    import com.pulumi.routeros.WifiSecurityArgs;
    import com.pulumi.routeros.WifiConfiguration;
    import com.pulumi.routeros.WifiConfigurationArgs;
    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) {
            var aaa1 = new WifiAaa("aaa1", WifiAaaArgs.builder()
                .calledFormat("S")
                .passwordFormat("")
                .usernameFormat("AA:AA:AA:AA:AA:AA")
                .build());
    
            var channel1 = new WifiChannel("channel1", WifiChannelArgs.builder()
                .band("2ghz-n")
                .frequencies(2412)
                .secondaryFrequencies("disabled")
                .skipDfsChannels("disabled")
                .width("20mhz")
                .build());
    
            var datapath1 = new WifiDatapath("datapath1", WifiDatapathArgs.builder()
                .bridge("bridge1")
                .clientIsolation(false)
                .build());
    
            var security1 = new WifiSecurity("security1", WifiSecurityArgs.builder()
                .authenticationTypes(            
                    "wpa2-psk",
                    "wpa3-psk")
                .ft(true)
                .ftPreserveVlanid(true)
                .passphrase("password")
                .build());
    
            var configuration1 = new WifiConfiguration("configuration1", WifiConfigurationArgs.builder()
                .country("Netherlands")
                .manager("capsman")
                .mode("ap")
                .ssid("my-network")
                .aaa(Map.of("config", aaa1.name()))
                .channel(Map.of("config", channel1.name()))
                .datapath(Map.of("config", datapath1.name()))
                .security(Map.of("config", security1.name()))
                .build());
    
        }
    }
    
    resources:
      aaa1:
        type: routeros:WifiAaa
        properties:
          calledFormat: S
          passwordFormat: ""
          usernameFormat: AA:AA:AA:AA:AA:AA
      channel1:
        type: routeros:WifiChannel
        properties:
          band: 2ghz-n
          frequencies:
            - 2412
          secondaryFrequencies:
            - disabled
          skipDfsChannels: disabled
          width: 20mhz
      datapath1:
        type: routeros:WifiDatapath
        properties:
          bridge: bridge1
          clientIsolation: false
      security1:
        type: routeros:WifiSecurity
        properties:
          authenticationTypes:
            - wpa2-psk
            - wpa3-psk
          ft: true
          ftPreserveVlanid: true
          passphrase: password
      configuration1:
        type: routeros:WifiConfiguration
        properties:
          country: Netherlands
          manager: capsman
          mode: ap
          ssid: my-network
          aaa:
            config: ${aaa1.name}
          channel:
            config: ${channel1.name}
          datapath:
            config: ${datapath1.name}
          security:
            config: ${security1.name}
    

    Create WifiConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WifiConfiguration(name: string, args?: WifiConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def WifiConfiguration(resource_name: str,
                          args: Optional[WifiConfigurationArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def WifiConfiguration(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          ___id_: Optional[float] = None,
                          ___path_: Optional[str] = None,
                          ___ts_: Optional[str] = None,
                          aaa: Optional[Mapping[str, str]] = None,
                          antenna_gain: Optional[float] = None,
                          beacon_interval: Optional[str] = None,
                          chains: Optional[Sequence[float]] = None,
                          channel: Optional[Mapping[str, str]] = None,
                          comment: Optional[str] = None,
                          country: Optional[str] = None,
                          datapath: Optional[Mapping[str, str]] = None,
                          disabled: Optional[bool] = None,
                          dtim_period: Optional[float] = None,
                          hide_ssid: Optional[bool] = None,
                          interworking: Optional[Mapping[str, str]] = None,
                          manager: Optional[str] = None,
                          mode: Optional[str] = None,
                          multicast_enhance: Optional[str] = None,
                          name: Optional[str] = None,
                          qos_classifier: Optional[str] = None,
                          security: Optional[Mapping[str, str]] = None,
                          ssid: Optional[str] = None,
                          steering: Optional[Mapping[str, str]] = None,
                          tx_chains: Optional[Sequence[float]] = None,
                          tx_power: Optional[float] = None,
                          wifi_configuration_id: Optional[str] = None)
    func NewWifiConfiguration(ctx *Context, name string, args *WifiConfigurationArgs, opts ...ResourceOption) (*WifiConfiguration, error)
    public WifiConfiguration(string name, WifiConfigurationArgs? args = null, CustomResourceOptions? opts = null)
    public WifiConfiguration(String name, WifiConfigurationArgs args)
    public WifiConfiguration(String name, WifiConfigurationArgs args, CustomResourceOptions options)
    
    type: routeros:WifiConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WifiConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WifiConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WifiConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WifiConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WifiConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WifiConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WifiConfiguration resource accepts the following input properties:

    Aaa Dictionary<string, string>
    AAA inline settings.
    AntennaGain double
    An option overrides the default antenna gain.
    BeaconInterval string
    Time interval between beacon frames.
    Chains List<double>
    Radio chains to use for receiving signals.
    Channel Dictionary<string, string>
    Channel inline settings.
    Comment string
    Country string
    An option determines which regulatory domain restrictions are applied to an interface.
    Datapath Dictionary<string, string>
    Datapath inline settings.
    Disabled bool
    DtimPeriod double
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    HideSsid bool
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    Interworking Dictionary<string, string>
    Interworking inline settings.
    Manager string
    An option to specify the remote CAP mode.
    Mode string
    An option to specify the access point operational mode.
    MulticastEnhance string
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    Name string
    Name of the configuration.
    QosClassifier string
    An option to specify the QoS classifier.
    Security Dictionary<string, string>
    Security inline settings.
    Ssid string
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    Steering Dictionary<string, string>
    Steering inline settings.
    TxChains List<double>
    Radio chains to use for transmitting signals.
    TxPower double
    A limit on the transmit power (in dBm) of the interface.
    WifiConfigurationId string
    The ID of this resource.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    Aaa map[string]string
    AAA inline settings.
    AntennaGain float64
    An option overrides the default antenna gain.
    BeaconInterval string
    Time interval between beacon frames.
    Chains []float64
    Radio chains to use for receiving signals.
    Channel map[string]string
    Channel inline settings.
    Comment string
    Country string
    An option determines which regulatory domain restrictions are applied to an interface.
    Datapath map[string]string
    Datapath inline settings.
    Disabled bool
    DtimPeriod float64
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    HideSsid bool
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    Interworking map[string]string
    Interworking inline settings.
    Manager string
    An option to specify the remote CAP mode.
    Mode string
    An option to specify the access point operational mode.
    MulticastEnhance string
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    Name string
    Name of the configuration.
    QosClassifier string
    An option to specify the QoS classifier.
    Security map[string]string
    Security inline settings.
    Ssid string
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    Steering map[string]string
    Steering inline settings.
    TxChains []float64
    Radio chains to use for transmitting signals.
    TxPower float64
    A limit on the transmit power (in dBm) of the interface.
    WifiConfigurationId string
    The ID of this resource.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa Map<String,String>
    AAA inline settings.
    antennaGain Double
    An option overrides the default antenna gain.
    beaconInterval String
    Time interval between beacon frames.
    chains List<Double>
    Radio chains to use for receiving signals.
    channel Map<String,String>
    Channel inline settings.
    comment String
    country String
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath Map<String,String>
    Datapath inline settings.
    disabled Boolean
    dtimPeriod Double
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hideSsid Boolean
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking Map<String,String>
    Interworking inline settings.
    manager String
    An option to specify the remote CAP mode.
    mode String
    An option to specify the access point operational mode.
    multicastEnhance String
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name String
    Name of the configuration.
    qosClassifier String
    An option to specify the QoS classifier.
    security Map<String,String>
    Security inline settings.
    ssid String
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering Map<String,String>
    Steering inline settings.
    txChains List<Double>
    Radio chains to use for transmitting signals.
    txPower Double
    A limit on the transmit power (in dBm) of the interface.
    wifiConfigurationId String
    The ID of this resource.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa {[key: string]: string}
    AAA inline settings.
    antennaGain number
    An option overrides the default antenna gain.
    beaconInterval string
    Time interval between beacon frames.
    chains number[]
    Radio chains to use for receiving signals.
    channel {[key: string]: string}
    Channel inline settings.
    comment string
    country string
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath {[key: string]: string}
    Datapath inline settings.
    disabled boolean
    dtimPeriod number
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hideSsid boolean
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking {[key: string]: string}
    Interworking inline settings.
    manager string
    An option to specify the remote CAP mode.
    mode string
    An option to specify the access point operational mode.
    multicastEnhance string
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name string
    Name of the configuration.
    qosClassifier string
    An option to specify the QoS classifier.
    security {[key: string]: string}
    Security inline settings.
    ssid string
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering {[key: string]: string}
    Steering inline settings.
    txChains number[]
    Radio chains to use for transmitting signals.
    txPower number
    A limit on the transmit power (in dBm) of the interface.
    wifiConfigurationId string
    The ID of this resource.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ str
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa Mapping[str, str]
    AAA inline settings.
    antenna_gain float
    An option overrides the default antenna gain.
    beacon_interval str
    Time interval between beacon frames.
    chains Sequence[float]
    Radio chains to use for receiving signals.
    channel Mapping[str, str]
    Channel inline settings.
    comment str
    country str
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath Mapping[str, str]
    Datapath inline settings.
    disabled bool
    dtim_period float
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hide_ssid bool
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking Mapping[str, str]
    Interworking inline settings.
    manager str
    An option to specify the remote CAP mode.
    mode str
    An option to specify the access point operational mode.
    multicast_enhance str
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name str
    Name of the configuration.
    qos_classifier str
    An option to specify the QoS classifier.
    security Mapping[str, str]
    Security inline settings.
    ssid str
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering Mapping[str, str]
    Steering inline settings.
    tx_chains Sequence[float]
    Radio chains to use for transmitting signals.
    tx_power float
    A limit on the transmit power (in dBm) of the interface.
    wifi_configuration_id str
    The ID of this resource.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa Map<String>
    AAA inline settings.
    antennaGain Number
    An option overrides the default antenna gain.
    beaconInterval String
    Time interval between beacon frames.
    chains List<Number>
    Radio chains to use for receiving signals.
    channel Map<String>
    Channel inline settings.
    comment String
    country String
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath Map<String>
    Datapath inline settings.
    disabled Boolean
    dtimPeriod Number
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hideSsid Boolean
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking Map<String>
    Interworking inline settings.
    manager String
    An option to specify the remote CAP mode.
    mode String
    An option to specify the access point operational mode.
    multicastEnhance String
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name String
    Name of the configuration.
    qosClassifier String
    An option to specify the QoS classifier.
    security Map<String>
    Security inline settings.
    ssid String
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering Map<String>
    Steering inline settings.
    txChains List<Number>
    Radio chains to use for transmitting signals.
    txPower Number
    A limit on the transmit power (in dBm) of the interface.
    wifiConfigurationId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WifiConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WifiConfiguration Resource

    Get an existing WifiConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WifiConfigurationState, opts?: CustomResourceOptions): WifiConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            ___ts_: Optional[str] = None,
            aaa: Optional[Mapping[str, str]] = None,
            antenna_gain: Optional[float] = None,
            beacon_interval: Optional[str] = None,
            chains: Optional[Sequence[float]] = None,
            channel: Optional[Mapping[str, str]] = None,
            comment: Optional[str] = None,
            country: Optional[str] = None,
            datapath: Optional[Mapping[str, str]] = None,
            disabled: Optional[bool] = None,
            dtim_period: Optional[float] = None,
            hide_ssid: Optional[bool] = None,
            interworking: Optional[Mapping[str, str]] = None,
            manager: Optional[str] = None,
            mode: Optional[str] = None,
            multicast_enhance: Optional[str] = None,
            name: Optional[str] = None,
            qos_classifier: Optional[str] = None,
            security: Optional[Mapping[str, str]] = None,
            ssid: Optional[str] = None,
            steering: Optional[Mapping[str, str]] = None,
            tx_chains: Optional[Sequence[float]] = None,
            tx_power: Optional[float] = None,
            wifi_configuration_id: Optional[str] = None) -> WifiConfiguration
    func GetWifiConfiguration(ctx *Context, name string, id IDInput, state *WifiConfigurationState, opts ...ResourceOption) (*WifiConfiguration, error)
    public static WifiConfiguration Get(string name, Input<string> id, WifiConfigurationState? state, CustomResourceOptions? opts = null)
    public static WifiConfiguration get(String name, Output<String> id, WifiConfigurationState state, CustomResourceOptions options)
    resources:  _:    type: routeros:WifiConfiguration    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Aaa Dictionary<string, string>
    AAA inline settings.
    AntennaGain double
    An option overrides the default antenna gain.
    BeaconInterval string
    Time interval between beacon frames.
    Chains List<double>
    Radio chains to use for receiving signals.
    Channel Dictionary<string, string>
    Channel inline settings.
    Comment string
    Country string
    An option determines which regulatory domain restrictions are applied to an interface.
    Datapath Dictionary<string, string>
    Datapath inline settings.
    Disabled bool
    DtimPeriod double
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    HideSsid bool
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    Interworking Dictionary<string, string>
    Interworking inline settings.
    Manager string
    An option to specify the remote CAP mode.
    Mode string
    An option to specify the access point operational mode.
    MulticastEnhance string
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    Name string
    Name of the configuration.
    QosClassifier string
    An option to specify the QoS classifier.
    Security Dictionary<string, string>
    Security inline settings.
    Ssid string
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    Steering Dictionary<string, string>
    Steering inline settings.
    TxChains List<double>
    Radio chains to use for transmitting signals.
    TxPower double
    A limit on the transmit power (in dBm) of the interface.
    WifiConfigurationId string
    The ID of this resource.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    Aaa map[string]string
    AAA inline settings.
    AntennaGain float64
    An option overrides the default antenna gain.
    BeaconInterval string
    Time interval between beacon frames.
    Chains []float64
    Radio chains to use for receiving signals.
    Channel map[string]string
    Channel inline settings.
    Comment string
    Country string
    An option determines which regulatory domain restrictions are applied to an interface.
    Datapath map[string]string
    Datapath inline settings.
    Disabled bool
    DtimPeriod float64
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    HideSsid bool
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    Interworking map[string]string
    Interworking inline settings.
    Manager string
    An option to specify the remote CAP mode.
    Mode string
    An option to specify the access point operational mode.
    MulticastEnhance string
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    Name string
    Name of the configuration.
    QosClassifier string
    An option to specify the QoS classifier.
    Security map[string]string
    Security inline settings.
    Ssid string
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    Steering map[string]string
    Steering inline settings.
    TxChains []float64
    Radio chains to use for transmitting signals.
    TxPower float64
    A limit on the transmit power (in dBm) of the interface.
    WifiConfigurationId string
    The ID of this resource.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa Map<String,String>
    AAA inline settings.
    antennaGain Double
    An option overrides the default antenna gain.
    beaconInterval String
    Time interval between beacon frames.
    chains List<Double>
    Radio chains to use for receiving signals.
    channel Map<String,String>
    Channel inline settings.
    comment String
    country String
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath Map<String,String>
    Datapath inline settings.
    disabled Boolean
    dtimPeriod Double
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hideSsid Boolean
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking Map<String,String>
    Interworking inline settings.
    manager String
    An option to specify the remote CAP mode.
    mode String
    An option to specify the access point operational mode.
    multicastEnhance String
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name String
    Name of the configuration.
    qosClassifier String
    An option to specify the QoS classifier.
    security Map<String,String>
    Security inline settings.
    ssid String
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering Map<String,String>
    Steering inline settings.
    txChains List<Double>
    Radio chains to use for transmitting signals.
    txPower Double
    A limit on the transmit power (in dBm) of the interface.
    wifiConfigurationId String
    The ID of this resource.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa {[key: string]: string}
    AAA inline settings.
    antennaGain number
    An option overrides the default antenna gain.
    beaconInterval string
    Time interval between beacon frames.
    chains number[]
    Radio chains to use for receiving signals.
    channel {[key: string]: string}
    Channel inline settings.
    comment string
    country string
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath {[key: string]: string}
    Datapath inline settings.
    disabled boolean
    dtimPeriod number
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hideSsid boolean
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking {[key: string]: string}
    Interworking inline settings.
    manager string
    An option to specify the remote CAP mode.
    mode string
    An option to specify the access point operational mode.
    multicastEnhance string
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name string
    Name of the configuration.
    qosClassifier string
    An option to specify the QoS classifier.
    security {[key: string]: string}
    Security inline settings.
    ssid string
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering {[key: string]: string}
    Steering inline settings.
    txChains number[]
    Radio chains to use for transmitting signals.
    txPower number
    A limit on the transmit power (in dBm) of the interface.
    wifiConfigurationId string
    The ID of this resource.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ str
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa Mapping[str, str]
    AAA inline settings.
    antenna_gain float
    An option overrides the default antenna gain.
    beacon_interval str
    Time interval between beacon frames.
    chains Sequence[float]
    Radio chains to use for receiving signals.
    channel Mapping[str, str]
    Channel inline settings.
    comment str
    country str
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath Mapping[str, str]
    Datapath inline settings.
    disabled bool
    dtim_period float
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hide_ssid bool
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking Mapping[str, str]
    Interworking inline settings.
    manager str
    An option to specify the remote CAP mode.
    mode str
    An option to specify the access point operational mode.
    multicast_enhance str
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name str
    Name of the configuration.
    qos_classifier str
    An option to specify the QoS classifier.
    security Mapping[str, str]
    Security inline settings.
    ssid str
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering Mapping[str, str]
    Steering inline settings.
    tx_chains Sequence[float]
    Radio chains to use for transmitting signals.
    tx_power float
    A limit on the transmit power (in dBm) of the interface.
    wifi_configuration_id str
    The ID of this resource.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___ts_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    aaa Map<String>
    AAA inline settings.
    antennaGain Number
    An option overrides the default antenna gain.
    beaconInterval String
    Time interval between beacon frames.
    chains List<Number>
    Radio chains to use for receiving signals.
    channel Map<String>
    Channel inline settings.
    comment String
    country String
    An option determines which regulatory domain restrictions are applied to an interface.
    datapath Map<String>
    Datapath inline settings.
    disabled Boolean
    dtimPeriod Number
    A period at which to transmit multicast traffic, when there are client devices in power save mode connected to the AP.
    hideSsid Boolean
    This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
    interworking Map<String>
    Interworking inline settings.
    manager String
    An option to specify the remote CAP mode.
    mode String
    An option to specify the access point operational mode.
    multicastEnhance String
    An option to enable converting every multicast-address IP or IPv6 packet into multiple unicast-addresses frames for each connected station.
    name String
    Name of the configuration.
    qosClassifier String
    An option to specify the QoS classifier.
    security Map<String>
    Security inline settings.
    ssid String
    SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
    steering Map<String>
    Steering inline settings.
    txChains List<Number>
    Radio chains to use for transmitting signals.
    txPower Number
    A limit on the transmit power (in dBm) of the interface.
    wifiConfigurationId String
    The ID of this resource.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/interface/wifi/configuration get [print show-ids]]

    $ pulumi import routeros:index/wifiConfiguration:WifiConfiguration configuration1 '*1'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros