published on Thursday, Apr 9, 2026 by e-breuninger
published on Thursday, Apr 9, 2026 by e-breuninger
A Wireless LAN Group is used to organize wireless LANs into a recursive hierarchy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const parent = new netbox.WirelessLanGroup("parent", {name: "campus"});
const child = new netbox.WirelessLanGroup("child", {
name: "building-a",
parentId: parent.wirelessLanGroupId,
});
import pulumi
import pulumi_netbox as netbox
parent = netbox.WirelessLanGroup("parent", name="campus")
child = netbox.WirelessLanGroup("child",
name="building-a",
parent_id=parent.wireless_lan_group_id)
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 {
parent, err := netbox.NewWirelessLanGroup(ctx, "parent", &netbox.WirelessLanGroupArgs{
Name: pulumi.String("campus"),
})
if err != nil {
return err
}
_, err = netbox.NewWirelessLanGroup(ctx, "child", &netbox.WirelessLanGroupArgs{
Name: pulumi.String("building-a"),
ParentId: parent.WirelessLanGroupId,
})
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 parent = new Netbox.WirelessLanGroup("parent", new()
{
Name = "campus",
});
var child = new Netbox.WirelessLanGroup("child", new()
{
Name = "building-a",
ParentId = parent.WirelessLanGroupId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.WirelessLanGroup;
import com.pulumi.netbox.WirelessLanGroupArgs;
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 parent = new WirelessLanGroup("parent", WirelessLanGroupArgs.builder()
.name("campus")
.build());
var child = new WirelessLanGroup("child", WirelessLanGroupArgs.builder()
.name("building-a")
.parentId(parent.wirelessLanGroupId())
.build());
}
}
resources:
parent:
type: netbox:WirelessLanGroup
properties:
name: campus
child:
type: netbox:WirelessLanGroup
properties:
name: building-a
parentId: ${parent.wirelessLanGroupId}
Create WirelessLanGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WirelessLanGroup(name: string, args?: WirelessLanGroupArgs, opts?: CustomResourceOptions);@overload
def WirelessLanGroup(resource_name: str,
args: Optional[WirelessLanGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def WirelessLanGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
parent_id: Optional[float] = None,
slug: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
wireless_lan_group_id: Optional[str] = None)func NewWirelessLanGroup(ctx *Context, name string, args *WirelessLanGroupArgs, opts ...ResourceOption) (*WirelessLanGroup, error)public WirelessLanGroup(string name, WirelessLanGroupArgs? args = null, CustomResourceOptions? opts = null)
public WirelessLanGroup(String name, WirelessLanGroupArgs args)
public WirelessLanGroup(String name, WirelessLanGroupArgs args, CustomResourceOptions options)
type: netbox:WirelessLanGroup
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 WirelessLanGroupArgs
- 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 WirelessLanGroupArgs
- 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 WirelessLanGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WirelessLanGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WirelessLanGroupArgs
- 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 wirelessLanGroupResource = new Netbox.WirelessLanGroup("wirelessLanGroupResource", new()
{
CustomFields =
{
{ "string", "string" },
},
Description = "string",
Name = "string",
ParentId = 0,
Slug = "string",
Tags = new[]
{
"string",
},
WirelessLanGroupId = "string",
});
example, err := netbox.NewWirelessLanGroup(ctx, "wirelessLanGroupResource", &netbox.WirelessLanGroupArgs{
CustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
ParentId: pulumi.Float64(0),
Slug: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
WirelessLanGroupId: pulumi.String("string"),
})
var wirelessLanGroupResource = new WirelessLanGroup("wirelessLanGroupResource", WirelessLanGroupArgs.builder()
.customFields(Map.of("string", "string"))
.description("string")
.name("string")
.parentId(0.0)
.slug("string")
.tags("string")
.wirelessLanGroupId("string")
.build());
wireless_lan_group_resource = netbox.WirelessLanGroup("wirelessLanGroupResource",
custom_fields={
"string": "string",
},
description="string",
name="string",
parent_id=float(0),
slug="string",
tags=["string"],
wireless_lan_group_id="string")
const wirelessLanGroupResource = new netbox.WirelessLanGroup("wirelessLanGroupResource", {
customFields: {
string: "string",
},
description: "string",
name: "string",
parentId: 0,
slug: "string",
tags: ["string"],
wirelessLanGroupId: "string",
});
type: netbox:WirelessLanGroup
properties:
customFields:
string: string
description: string
name: string
parentId: 0
slug: string
tags:
- string
wirelessLanGroupId: string
WirelessLanGroup 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 WirelessLanGroup resource accepts the following input properties:
- Custom
Fields Dictionary<string, string> - Description string
- Name string
- Parent
Id double - Slug string
- List<string>
- Wireless
Lan stringGroup Id - The ID of this resource.
- Custom
Fields map[string]string - Description string
- Name string
- Parent
Id float64 - Slug string
- []string
- Wireless
Lan stringGroup Id - The ID of this resource.
- custom
Fields Map<String,String> - description String
- name String
- parent
Id Double - slug String
- List<String>
- wireless
Lan StringGroup Id - The ID of this resource.
- custom
Fields {[key: string]: string} - description string
- name string
- parent
Id number - slug string
- string[]
- wireless
Lan stringGroup Id - The ID of this resource.
- custom_
fields Mapping[str, str] - description str
- name str
- parent_
id float - slug str
- Sequence[str]
- wireless_
lan_ strgroup_ id - The ID of this resource.
- custom
Fields Map<String> - description String
- name String
- parent
Id Number - slug String
- List<String>
- wireless
Lan StringGroup Id - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WirelessLanGroup 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 WirelessLanGroup Resource
Get an existing WirelessLanGroup 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?: WirelessLanGroupState, opts?: CustomResourceOptions): WirelessLanGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
parent_id: Optional[float] = None,
slug: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tags_alls: Optional[Sequence[str]] = None,
wireless_lan_group_id: Optional[str] = None) -> WirelessLanGroupfunc GetWirelessLanGroup(ctx *Context, name string, id IDInput, state *WirelessLanGroupState, opts ...ResourceOption) (*WirelessLanGroup, error)public static WirelessLanGroup Get(string name, Input<string> id, WirelessLanGroupState? state, CustomResourceOptions? opts = null)public static WirelessLanGroup get(String name, Output<String> id, WirelessLanGroupState state, CustomResourceOptions options)resources: _: type: netbox:WirelessLanGroup 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.
- Custom
Fields Dictionary<string, string> - Description string
- Name string
- Parent
Id double - Slug string
- List<string>
- List<string>
- Wireless
Lan stringGroup Id - The ID of this resource.
- Custom
Fields map[string]string - Description string
- Name string
- Parent
Id float64 - Slug string
- []string
- []string
- Wireless
Lan stringGroup Id - The ID of this resource.
- custom
Fields Map<String,String> - description String
- name String
- parent
Id Double - slug String
- List<String>
- List<String>
- wireless
Lan StringGroup Id - The ID of this resource.
- custom
Fields {[key: string]: string} - description string
- name string
- parent
Id number - slug string
- string[]
- string[]
- wireless
Lan stringGroup Id - The ID of this resource.
- custom_
fields Mapping[str, str] - description str
- name str
- parent_
id float - slug str
- Sequence[str]
- Sequence[str]
- wireless_
lan_ strgroup_ id - The ID of this resource.
- custom
Fields Map<String> - description String
- name String
- parent
Id Number - slug String
- List<String>
- List<String>
- wireless
Lan StringGroup Id - 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
