published on Thursday, Apr 9, 2026 by e-breuninger
published on Thursday, Apr 9, 2026 by e-breuninger
A Wireless LAN represents a broadcast wireless network, identified by its SSID and optional authentication settings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const guest = new netbox.WirelessLan("guest", {
ssid: "guest-wifi",
status: "active",
});
import pulumi
import pulumi_netbox as netbox
guest = netbox.WirelessLan("guest",
ssid="guest-wifi",
status="active")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v5/netbox"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netbox.NewWirelessLan(ctx, "guest", &netbox.WirelessLanArgs{
Ssid: pulumi.String("guest-wifi"),
Status: pulumi.String("active"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netbox = Pulumi.Netbox;
return await Deployment.RunAsync(() =>
{
var guest = new Netbox.WirelessLan("guest", new()
{
Ssid = "guest-wifi",
Status = "active",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.WirelessLan;
import com.pulumi.netbox.WirelessLanArgs;
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 guest = new WirelessLan("guest", WirelessLanArgs.builder()
.ssid("guest-wifi")
.status("active")
.build());
}
}
resources:
guest:
type: netbox:WirelessLan
properties:
ssid: guest-wifi
status: active
Create WirelessLan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WirelessLan(name: string, args: WirelessLanArgs, opts?: CustomResourceOptions);@overload
def WirelessLan(resource_name: str,
args: WirelessLanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WirelessLan(resource_name: str,
opts: Optional[ResourceOptions] = None,
ssid: Optional[str] = None,
group_id: Optional[float] = None,
auth_type: Optional[str] = None,
comments: Optional[str] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
auth_cipher: Optional[str] = None,
auth_psk: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[float] = None,
vlan_id: Optional[float] = None,
wireless_lan_id: Optional[str] = None)func NewWirelessLan(ctx *Context, name string, args WirelessLanArgs, opts ...ResourceOption) (*WirelessLan, error)public WirelessLan(string name, WirelessLanArgs args, CustomResourceOptions? opts = null)
public WirelessLan(String name, WirelessLanArgs args)
public WirelessLan(String name, WirelessLanArgs args, CustomResourceOptions options)
type: netbox:WirelessLan
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 WirelessLanArgs
- 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 WirelessLanArgs
- 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 WirelessLanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WirelessLanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WirelessLanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var wirelessLanResource = new Netbox.WirelessLan("wirelessLanResource", new()
{
Ssid = "string",
GroupId = 0,
AuthType = "string",
Comments = "string",
CustomFields =
{
{ "string", "string" },
},
Description = "string",
AuthCipher = "string",
AuthPsk = "string",
Status = "string",
Tags = new[]
{
"string",
},
TenantId = 0,
VlanId = 0,
WirelessLanId = "string",
});
example, err := netbox.NewWirelessLan(ctx, "wirelessLanResource", &netbox.WirelessLanArgs{
Ssid: pulumi.String("string"),
GroupId: pulumi.Float64(0),
AuthType: pulumi.String("string"),
Comments: pulumi.String("string"),
CustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
AuthCipher: pulumi.String("string"),
AuthPsk: pulumi.String("string"),
Status: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TenantId: pulumi.Float64(0),
VlanId: pulumi.Float64(0),
WirelessLanId: pulumi.String("string"),
})
var wirelessLanResource = new WirelessLan("wirelessLanResource", WirelessLanArgs.builder()
.ssid("string")
.groupId(0.0)
.authType("string")
.comments("string")
.customFields(Map.of("string", "string"))
.description("string")
.authCipher("string")
.authPsk("string")
.status("string")
.tags("string")
.tenantId(0.0)
.vlanId(0.0)
.wirelessLanId("string")
.build());
wireless_lan_resource = netbox.WirelessLan("wirelessLanResource",
ssid="string",
group_id=float(0),
auth_type="string",
comments="string",
custom_fields={
"string": "string",
},
description="string",
auth_cipher="string",
auth_psk="string",
status="string",
tags=["string"],
tenant_id=float(0),
vlan_id=float(0),
wireless_lan_id="string")
const wirelessLanResource = new netbox.WirelessLan("wirelessLanResource", {
ssid: "string",
groupId: 0,
authType: "string",
comments: "string",
customFields: {
string: "string",
},
description: "string",
authCipher: "string",
authPsk: "string",
status: "string",
tags: ["string"],
tenantId: 0,
vlanId: 0,
wirelessLanId: "string",
});
type: netbox:WirelessLan
properties:
authCipher: string
authPsk: string
authType: string
comments: string
customFields:
string: string
description: string
groupId: 0
ssid: string
status: string
tags:
- string
tenantId: 0
vlanId: 0
wirelessLanId: string
WirelessLan 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 WirelessLan resource accepts the following input properties:
- Ssid string
- Auth
Cipher string - Valid values are
auto,tkipandaes. - Auth
Psk string - Auth
Type string - Valid values are
open,wep,wpa-personalandwpa-enterprise. - Comments string
- Custom
Fields Dictionary<string, string> - Description string
- Group
Id double - Status string
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - List<string>
- Tenant
Id double - Vlan
Id double - Wireless
Lan stringId - The ID of this resource.
- Ssid string
- Auth
Cipher string - Valid values are
auto,tkipandaes. - Auth
Psk string - Auth
Type string - Valid values are
open,wep,wpa-personalandwpa-enterprise. - Comments string
- Custom
Fields map[string]string - Description string
- Group
Id float64 - Status string
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - []string
- Tenant
Id float64 - Vlan
Id float64 - Wireless
Lan stringId - The ID of this resource.
- ssid String
- auth
Cipher String - Valid values are
auto,tkipandaes. - auth
Psk String - auth
Type String - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments String
- custom
Fields Map<String,String> - description String
- group
Id Double - status String
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - List<String>
- tenant
Id Double - vlan
Id Double - wireless
Lan StringId - The ID of this resource.
- ssid string
- auth
Cipher string - Valid values are
auto,tkipandaes. - auth
Psk string - auth
Type string - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments string
- custom
Fields {[key: string]: string} - description string
- group
Id number - status string
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - string[]
- tenant
Id number - vlan
Id number - wireless
Lan stringId - The ID of this resource.
- ssid str
- auth_
cipher str - Valid values are
auto,tkipandaes. - auth_
psk str - auth_
type str - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments str
- custom_
fields Mapping[str, str] - description str
- group_
id float - status str
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - Sequence[str]
- tenant_
id float - vlan_
id float - wireless_
lan_ strid - The ID of this resource.
- ssid String
- auth
Cipher String - Valid values are
auto,tkipandaes. - auth
Psk String - auth
Type String - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments String
- custom
Fields Map<String> - description String
- group
Id Number - status String
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - List<String>
- tenant
Id Number - vlan
Id Number - wireless
Lan StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WirelessLan resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- []string
- id String
- The provider-assigned unique ID for this managed resource.
- List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- string[]
- id str
- The provider-assigned unique ID for this managed resource.
- Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- List<String>
Look up Existing WirelessLan Resource
Get an existing WirelessLan 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?: WirelessLanState, opts?: CustomResourceOptions): WirelessLan@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_cipher: Optional[str] = None,
auth_psk: Optional[str] = None,
auth_type: Optional[str] = None,
comments: Optional[str] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
group_id: Optional[float] = None,
ssid: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tags_alls: Optional[Sequence[str]] = None,
tenant_id: Optional[float] = None,
vlan_id: Optional[float] = None,
wireless_lan_id: Optional[str] = None) -> WirelessLanfunc GetWirelessLan(ctx *Context, name string, id IDInput, state *WirelessLanState, opts ...ResourceOption) (*WirelessLan, error)public static WirelessLan Get(string name, Input<string> id, WirelessLanState? state, CustomResourceOptions? opts = null)public static WirelessLan get(String name, Output<String> id, WirelessLanState state, CustomResourceOptions options)resources: _: type: netbox:WirelessLan 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.
- Auth
Cipher string - Valid values are
auto,tkipandaes. - Auth
Psk string - Auth
Type string - Valid values are
open,wep,wpa-personalandwpa-enterprise. - Comments string
- Custom
Fields Dictionary<string, string> - Description string
- Group
Id double - Ssid string
- Status string
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - List<string>
- List<string>
- Tenant
Id double - Vlan
Id double - Wireless
Lan stringId - The ID of this resource.
- Auth
Cipher string - Valid values are
auto,tkipandaes. - Auth
Psk string - Auth
Type string - Valid values are
open,wep,wpa-personalandwpa-enterprise. - Comments string
- Custom
Fields map[string]string - Description string
- Group
Id float64 - Ssid string
- Status string
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - []string
- []string
- Tenant
Id float64 - Vlan
Id float64 - Wireless
Lan stringId - The ID of this resource.
- auth
Cipher String - Valid values are
auto,tkipandaes. - auth
Psk String - auth
Type String - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments String
- custom
Fields Map<String,String> - description String
- group
Id Double - ssid String
- status String
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - List<String>
- List<String>
- tenant
Id Double - vlan
Id Double - wireless
Lan StringId - The ID of this resource.
- auth
Cipher string - Valid values are
auto,tkipandaes. - auth
Psk string - auth
Type string - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments string
- custom
Fields {[key: string]: string} - description string
- group
Id number - ssid string
- status string
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - string[]
- string[]
- tenant
Id number - vlan
Id number - wireless
Lan stringId - The ID of this resource.
- auth_
cipher str - Valid values are
auto,tkipandaes. - auth_
psk str - auth_
type str - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments str
- custom_
fields Mapping[str, str] - description str
- group_
id float - ssid str
- status str
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - Sequence[str]
- Sequence[str]
- tenant_
id float - vlan_
id float - wireless_
lan_ strid - The ID of this resource.
- auth
Cipher String - Valid values are
auto,tkipandaes. - auth
Psk String - auth
Type String - Valid values are
open,wep,wpa-personalandwpa-enterprise. - comments String
- custom
Fields Map<String> - description String
- group
Id Number - ssid String
- status String
- Valid values are
active,reserved,disabledanddeprecated. Defaults toactive. - List<String>
- List<String>
- tenant
Id Number - vlan
Id Number - wireless
Lan StringId - The ID of this resource.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Thursday, Apr 9, 2026 by e-breuninger
