Unifi v0.1.1 published on Wednesday, Jan 1, 2025 by Pulumiverse
unifi.getNetwork
Explore with Pulumi AI
unifi.Network data source can be used to retrieve settings for a network by name or ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as unifi from "@pulumi/unifi";
//retrieve network data by unifi network name
const lanNetwork = unifi.getNetwork({
    name: "Default",
});
//retrieve network data from user record
const myDevice = unifi.iam.getUser({
    mac: "01:23:45:67:89:ab",
});
const myNetwork = myDevice.then(myDevice => unifi.getNetwork({
    id: myDevice.networkId,
}));
import pulumi
import pulumi_unifi as unifi
#retrieve network data by unifi network name
lan_network = unifi.get_network(name="Default")
#retrieve network data from user record
my_device = unifi.iam.get_user(mac="01:23:45:67:89:ab")
my_network = unifi.get_network(id=my_device.network_id)
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-unifi/sdk/go/unifi"
	"github.com/pulumiverse/pulumi-unifi/sdk/go/unifi/iam"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// retrieve network data by unifi network name
		_, err := unifi.LookupNetwork(ctx, &unifi.LookupNetworkArgs{
			Name: pulumi.StringRef("Default"),
		}, nil)
		if err != nil {
			return err
		}
		// retrieve network data from user record
		myDevice, err := iam.LookupUser(ctx, &iam.LookupUserArgs{
			Mac: "01:23:45:67:89:ab",
		}, nil)
		if err != nil {
			return err
		}
		_, err = unifi.LookupNetwork(ctx, &unifi.LookupNetworkArgs{
			Id: pulumi.StringRef(myDevice.NetworkId),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Unifi = Pulumi.Unifi;
return await Deployment.RunAsync(() => 
{
    //retrieve network data by unifi network name
    var lanNetwork = Unifi.GetNetwork.Invoke(new()
    {
        Name = "Default",
    });
    //retrieve network data from user record
    var myDevice = Unifi.IAM.GetUser.Invoke(new()
    {
        Mac = "01:23:45:67:89:ab",
    });
    var myNetwork = Unifi.GetNetwork.Invoke(new()
    {
        Id = myDevice.Apply(getUserResult => getUserResult.NetworkId),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.unifi.UnifiFunctions;
import com.pulumi.unifi.inputs.GetNetworkArgs;
import com.pulumi.unifi.iam.IamFunctions;
import com.pulumi.unifi.iam.inputs.GetUserArgs;
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) {
        //retrieve network data by unifi network name
        final var lanNetwork = UnifiFunctions.getNetwork(GetNetworkArgs.builder()
            .name("Default")
            .build());
        //retrieve network data from user record
        final var myDevice = IamFunctions.getUser(GetUserArgs.builder()
            .mac("01:23:45:67:89:ab")
            .build());
        final var myNetwork = UnifiFunctions.getNetwork(GetNetworkArgs.builder()
            .id(myDevice.applyValue(getUserResult -> getUserResult.networkId()))
            .build());
    }
}
variables:
  #retrieve network data by unifi network name
  lanNetwork:
    fn::invoke:
      Function: unifi:getNetwork
      Arguments:
        name: Default
  #retrieve network data from user record
  myDevice:
    fn::invoke:
      Function: unifi:iam:getUser
      Arguments:
        mac: 01:23:45:67:89:ab
  myNetwork:
    fn::invoke:
      Function: unifi:getNetwork
      Arguments:
        id: ${myDevice.networkId}
Using getNetwork
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 getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
function getNetworkOutput(args: GetNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkResult>def get_network(id: Optional[str] = None,
                name: Optional[str] = None,
                site: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetNetworkResult
def get_network_output(id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                site: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetNetworkResult]func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)
func LookupNetworkOutput(ctx *Context, args *LookupNetworkOutputArgs, opts ...InvokeOption) LookupNetworkResultOutput> Note: This function is named LookupNetwork in the Go SDK.
public static class GetNetwork 
{
    public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkResult> Invoke(GetNetworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
public static Output<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
fn::invoke:
  function: unifi:index/getNetwork:getNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
getNetwork Result
The following output properties are available:
- DhcpDns List<string>
- IPv4 addresses for the DNS server to be returned from the DHCP server.
- DhcpEnabled bool
- whether DHCP is enabled or not on this network.
- DhcpLease int
- lease time for DHCP addresses.
- DhcpStart string
- The IPv4 address where the DHCP range of addresses starts.
- DhcpStop string
- The IPv4 address where the DHCP range of addresses stops.
- DhcpV6Dns List<string>
- Specifies the IPv6 addresses for the DNS server to be returned from the DHCP server. Used if dhcp_v6_dns_autois set tofalse.
- DhcpV6Dns boolAuto 
- Specifies DNS source to propagate. If set falsethe entries indhcp_v6_dnsare used, the upstream entries otherwise
- DhcpV6Enabled bool
- Enable stateful DHCPv6 for static configuration.
- DhcpV6Lease int
- Specifies the lease time for DHCPv6 addresses.
- DhcpV6Start string
- Start address of the DHCPv6 range. Used in static DHCPv6 configuration.
- DhcpV6Stop string
- End address of the DHCPv6 range. Used in static DHCPv6 configuration.
- DhcpdBoot boolEnabled 
- Toggles on the DHCP boot options. will be set to true if you have dhcpdbootfilename, and dhcpdbootserver set.
- DhcpdBoot stringFilename 
- the file to PXE boot from on the dhcpdbootserver.
- DhcpdBoot stringServer 
- IPv4 address of a TFTP server to network boot from.
- DomainName string
- The domain name of this network.
- Id string
- The ID of the network.
- IgmpSnooping bool
- Specifies whether IGMP snooping is enabled or not.
- Ipv6InterfaceType string
- Specifies which type of IPv6 connection to use. Must be one of either static,pd, ornone.
- Ipv6PdInterface string
- Specifies which WAN interface to use for IPv6 PD. Must be one of either wanorwan2.
- Ipv6PdPrefixid string
- Specifies the IPv6 Prefix ID.
- Ipv6PdStart string
- Start address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- Ipv6PdStop string
- End address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- Ipv6RaEnable bool
- Specifies whether to enable router advertisements or not.
- Ipv6RaPreferred intLifetime 
- Lifetime in which the address can be used. Address becomes deprecated afterwards. Must be lower than or equal to ipv6_ra_valid_lifetime
- Ipv6RaPriority string
- IPv6 router advertisement priority. Must be one of either high,medium, orlow
- Ipv6RaValid intLifetime 
- Total lifetime in which the address can be used. Must be equal to or greater than ipv6_ra_preferred_lifetime.
- Ipv6StaticSubnet string
- Specifies the static IPv6 subnet (when ipv6interfacetype is 'static').
- MulticastDns bool
- Specifies whether Multicast DNS (mDNS) is enabled or not on the network (Controller >=v7).
- Name string
- The name of the network.
- NetworkGroup string
- The group of the network.
- Purpose string
- The purpose of the network. One of corporate,guest,wan, orvlan-only.
- Site string
- The name of the site to associate the network with.
- Subnet string
- The subnet of the network (CIDR address).
- VlanId int
- The VLAN ID of the network.
- WanDhcp intV6Pd Size 
- Specifies the IPv6 prefix size to request from ISP. Must be a number between 48 and 64.
- WanDns List<string>
- DNS servers IPs of the WAN.
- WanEgress intQos 
- Specifies the WAN egress quality of service.
- WanGateway string
- The IPv4 gateway of the WAN.
- WanGateway stringV6 
- The IPv6 gateway of the WAN.
- WanIp string
- The IPv4 address of the WAN.
- WanIpv6 string
- The IPv6 address of the WAN.
- WanNetmask string
- The IPv4 netmask of the WAN.
- WanNetworkgroup string
- Specifies the WAN network group. One of either WAN,WAN2orWAN_LTE_FAILOVER.
- WanPrefixlen int
- The IPv6 prefix length of the WAN. Must be between 1 and 128.
- WanType string
- Specifies the IPV4 WAN connection type. One of either disabled,static,dhcp, orpppoe.
- WanType stringV6 
- Specifies the IPV6 WAN connection type. Must be one of either disabled,static, ordhcpv6.
- WanUsername string
- Specifies the IPV4 WAN username.
- XWanPassword string
- Specifies the IPV4 WAN password.
- DhcpDns []string
- IPv4 addresses for the DNS server to be returned from the DHCP server.
- DhcpEnabled bool
- whether DHCP is enabled or not on this network.
- DhcpLease int
- lease time for DHCP addresses.
- DhcpStart string
- The IPv4 address where the DHCP range of addresses starts.
- DhcpStop string
- The IPv4 address where the DHCP range of addresses stops.
- DhcpV6Dns []string
- Specifies the IPv6 addresses for the DNS server to be returned from the DHCP server. Used if dhcp_v6_dns_autois set tofalse.
- DhcpV6Dns boolAuto 
- Specifies DNS source to propagate. If set falsethe entries indhcp_v6_dnsare used, the upstream entries otherwise
- DhcpV6Enabled bool
- Enable stateful DHCPv6 for static configuration.
- DhcpV6Lease int
- Specifies the lease time for DHCPv6 addresses.
- DhcpV6Start string
- Start address of the DHCPv6 range. Used in static DHCPv6 configuration.
- DhcpV6Stop string
- End address of the DHCPv6 range. Used in static DHCPv6 configuration.
- DhcpdBoot boolEnabled 
- Toggles on the DHCP boot options. will be set to true if you have dhcpdbootfilename, and dhcpdbootserver set.
- DhcpdBoot stringFilename 
- the file to PXE boot from on the dhcpdbootserver.
- DhcpdBoot stringServer 
- IPv4 address of a TFTP server to network boot from.
- DomainName string
- The domain name of this network.
- Id string
- The ID of the network.
- IgmpSnooping bool
- Specifies whether IGMP snooping is enabled or not.
- Ipv6InterfaceType string
- Specifies which type of IPv6 connection to use. Must be one of either static,pd, ornone.
- Ipv6PdInterface string
- Specifies which WAN interface to use for IPv6 PD. Must be one of either wanorwan2.
- Ipv6PdPrefixid string
- Specifies the IPv6 Prefix ID.
- Ipv6PdStart string
- Start address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- Ipv6PdStop string
- End address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- Ipv6RaEnable bool
- Specifies whether to enable router advertisements or not.
- Ipv6RaPreferred intLifetime 
- Lifetime in which the address can be used. Address becomes deprecated afterwards. Must be lower than or equal to ipv6_ra_valid_lifetime
- Ipv6RaPriority string
- IPv6 router advertisement priority. Must be one of either high,medium, orlow
- Ipv6RaValid intLifetime 
- Total lifetime in which the address can be used. Must be equal to or greater than ipv6_ra_preferred_lifetime.
- Ipv6StaticSubnet string
- Specifies the static IPv6 subnet (when ipv6interfacetype is 'static').
- MulticastDns bool
- Specifies whether Multicast DNS (mDNS) is enabled or not on the network (Controller >=v7).
- Name string
- The name of the network.
- NetworkGroup string
- The group of the network.
- Purpose string
- The purpose of the network. One of corporate,guest,wan, orvlan-only.
- Site string
- The name of the site to associate the network with.
- Subnet string
- The subnet of the network (CIDR address).
- VlanId int
- The VLAN ID of the network.
- WanDhcp intV6Pd Size 
- Specifies the IPv6 prefix size to request from ISP. Must be a number between 48 and 64.
- WanDns []string
- DNS servers IPs of the WAN.
- WanEgress intQos 
- Specifies the WAN egress quality of service.
- WanGateway string
- The IPv4 gateway of the WAN.
- WanGateway stringV6 
- The IPv6 gateway of the WAN.
- WanIp string
- The IPv4 address of the WAN.
- WanIpv6 string
- The IPv6 address of the WAN.
- WanNetmask string
- The IPv4 netmask of the WAN.
- WanNetworkgroup string
- Specifies the WAN network group. One of either WAN,WAN2orWAN_LTE_FAILOVER.
- WanPrefixlen int
- The IPv6 prefix length of the WAN. Must be between 1 and 128.
- WanType string
- Specifies the IPV4 WAN connection type. One of either disabled,static,dhcp, orpppoe.
- WanType stringV6 
- Specifies the IPV6 WAN connection type. Must be one of either disabled,static, ordhcpv6.
- WanUsername string
- Specifies the IPV4 WAN username.
- XWanPassword string
- Specifies the IPV4 WAN password.
- dhcpDns List<String>
- IPv4 addresses for the DNS server to be returned from the DHCP server.
- dhcpEnabled Boolean
- whether DHCP is enabled or not on this network.
- dhcpLease Integer
- lease time for DHCP addresses.
- dhcpStart String
- The IPv4 address where the DHCP range of addresses starts.
- dhcpStop String
- The IPv4 address where the DHCP range of addresses stops.
- dhcpV6Dns List<String>
- Specifies the IPv6 addresses for the DNS server to be returned from the DHCP server. Used if dhcp_v6_dns_autois set tofalse.
- dhcpV6Dns BooleanAuto 
- Specifies DNS source to propagate. If set falsethe entries indhcp_v6_dnsare used, the upstream entries otherwise
- dhcpV6Enabled Boolean
- Enable stateful DHCPv6 for static configuration.
- dhcpV6Lease Integer
- Specifies the lease time for DHCPv6 addresses.
- dhcpV6Start String
- Start address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpV6Stop String
- End address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpdBoot BooleanEnabled 
- Toggles on the DHCP boot options. will be set to true if you have dhcpdbootfilename, and dhcpdbootserver set.
- dhcpdBoot StringFilename 
- the file to PXE boot from on the dhcpdbootserver.
- dhcpdBoot StringServer 
- IPv4 address of a TFTP server to network boot from.
- domainName String
- The domain name of this network.
- id String
- The ID of the network.
- igmpSnooping Boolean
- Specifies whether IGMP snooping is enabled or not.
- ipv6InterfaceType String
- Specifies which type of IPv6 connection to use. Must be one of either static,pd, ornone.
- ipv6PdInterface String
- Specifies which WAN interface to use for IPv6 PD. Must be one of either wanorwan2.
- ipv6PdPrefixid String
- Specifies the IPv6 Prefix ID.
- ipv6PdStart String
- Start address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6PdStop String
- End address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6RaEnable Boolean
- Specifies whether to enable router advertisements or not.
- ipv6RaPreferred IntegerLifetime 
- Lifetime in which the address can be used. Address becomes deprecated afterwards. Must be lower than or equal to ipv6_ra_valid_lifetime
- ipv6RaPriority String
- IPv6 router advertisement priority. Must be one of either high,medium, orlow
- ipv6RaValid IntegerLifetime 
- Total lifetime in which the address can be used. Must be equal to or greater than ipv6_ra_preferred_lifetime.
- ipv6StaticSubnet String
- Specifies the static IPv6 subnet (when ipv6interfacetype is 'static').
- multicastDns Boolean
- Specifies whether Multicast DNS (mDNS) is enabled or not on the network (Controller >=v7).
- name String
- The name of the network.
- networkGroup String
- The group of the network.
- purpose String
- The purpose of the network. One of corporate,guest,wan, orvlan-only.
- site String
- The name of the site to associate the network with.
- subnet String
- The subnet of the network (CIDR address).
- vlanId Integer
- The VLAN ID of the network.
- wanDhcp IntegerV6Pd Size 
- Specifies the IPv6 prefix size to request from ISP. Must be a number between 48 and 64.
- wanDns List<String>
- DNS servers IPs of the WAN.
- wanEgress IntegerQos 
- Specifies the WAN egress quality of service.
- wanGateway String
- The IPv4 gateway of the WAN.
- wanGateway StringV6 
- The IPv6 gateway of the WAN.
- wanIp String
- The IPv4 address of the WAN.
- wanIpv6 String
- The IPv6 address of the WAN.
- wanNetmask String
- The IPv4 netmask of the WAN.
- wanNetworkgroup String
- Specifies the WAN network group. One of either WAN,WAN2orWAN_LTE_FAILOVER.
- wanPrefixlen Integer
- The IPv6 prefix length of the WAN. Must be between 1 and 128.
- wanType String
- Specifies the IPV4 WAN connection type. One of either disabled,static,dhcp, orpppoe.
- wanType StringV6 
- Specifies the IPV6 WAN connection type. Must be one of either disabled,static, ordhcpv6.
- wanUsername String
- Specifies the IPV4 WAN username.
- xWan StringPassword 
- Specifies the IPV4 WAN password.
- dhcpDns string[]
- IPv4 addresses for the DNS server to be returned from the DHCP server.
- dhcpEnabled boolean
- whether DHCP is enabled or not on this network.
- dhcpLease number
- lease time for DHCP addresses.
- dhcpStart string
- The IPv4 address where the DHCP range of addresses starts.
- dhcpStop string
- The IPv4 address where the DHCP range of addresses stops.
- dhcpV6Dns string[]
- Specifies the IPv6 addresses for the DNS server to be returned from the DHCP server. Used if dhcp_v6_dns_autois set tofalse.
- dhcpV6Dns booleanAuto 
- Specifies DNS source to propagate. If set falsethe entries indhcp_v6_dnsare used, the upstream entries otherwise
- dhcpV6Enabled boolean
- Enable stateful DHCPv6 for static configuration.
- dhcpV6Lease number
- Specifies the lease time for DHCPv6 addresses.
- dhcpV6Start string
- Start address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpV6Stop string
- End address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpdBoot booleanEnabled 
- Toggles on the DHCP boot options. will be set to true if you have dhcpdbootfilename, and dhcpdbootserver set.
- dhcpdBoot stringFilename 
- the file to PXE boot from on the dhcpdbootserver.
- dhcpdBoot stringServer 
- IPv4 address of a TFTP server to network boot from.
- domainName string
- The domain name of this network.
- id string
- The ID of the network.
- igmpSnooping boolean
- Specifies whether IGMP snooping is enabled or not.
- ipv6InterfaceType string
- Specifies which type of IPv6 connection to use. Must be one of either static,pd, ornone.
- ipv6PdInterface string
- Specifies which WAN interface to use for IPv6 PD. Must be one of either wanorwan2.
- ipv6PdPrefixid string
- Specifies the IPv6 Prefix ID.
- ipv6PdStart string
- Start address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6PdStop string
- End address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6RaEnable boolean
- Specifies whether to enable router advertisements or not.
- ipv6RaPreferred numberLifetime 
- Lifetime in which the address can be used. Address becomes deprecated afterwards. Must be lower than or equal to ipv6_ra_valid_lifetime
- ipv6RaPriority string
- IPv6 router advertisement priority. Must be one of either high,medium, orlow
- ipv6RaValid numberLifetime 
- Total lifetime in which the address can be used. Must be equal to or greater than ipv6_ra_preferred_lifetime.
- ipv6StaticSubnet string
- Specifies the static IPv6 subnet (when ipv6interfacetype is 'static').
- multicastDns boolean
- Specifies whether Multicast DNS (mDNS) is enabled or not on the network (Controller >=v7).
- name string
- The name of the network.
- networkGroup string
- The group of the network.
- purpose string
- The purpose of the network. One of corporate,guest,wan, orvlan-only.
- site string
- The name of the site to associate the network with.
- subnet string
- The subnet of the network (CIDR address).
- vlanId number
- The VLAN ID of the network.
- wanDhcp numberV6Pd Size 
- Specifies the IPv6 prefix size to request from ISP. Must be a number between 48 and 64.
- wanDns string[]
- DNS servers IPs of the WAN.
- wanEgress numberQos 
- Specifies the WAN egress quality of service.
- wanGateway string
- The IPv4 gateway of the WAN.
- wanGateway stringV6 
- The IPv6 gateway of the WAN.
- wanIp string
- The IPv4 address of the WAN.
- wanIpv6 string
- The IPv6 address of the WAN.
- wanNetmask string
- The IPv4 netmask of the WAN.
- wanNetworkgroup string
- Specifies the WAN network group. One of either WAN,WAN2orWAN_LTE_FAILOVER.
- wanPrefixlen number
- The IPv6 prefix length of the WAN. Must be between 1 and 128.
- wanType string
- Specifies the IPV4 WAN connection type. One of either disabled,static,dhcp, orpppoe.
- wanType stringV6 
- Specifies the IPV6 WAN connection type. Must be one of either disabled,static, ordhcpv6.
- wanUsername string
- Specifies the IPV4 WAN username.
- xWan stringPassword 
- Specifies the IPV4 WAN password.
- dhcp_dns Sequence[str]
- IPv4 addresses for the DNS server to be returned from the DHCP server.
- dhcp_enabled bool
- whether DHCP is enabled or not on this network.
- dhcp_lease int
- lease time for DHCP addresses.
- dhcp_start str
- The IPv4 address where the DHCP range of addresses starts.
- dhcp_stop str
- The IPv4 address where the DHCP range of addresses stops.
- dhcp_v6_ Sequence[str]dns 
- Specifies the IPv6 addresses for the DNS server to be returned from the DHCP server. Used if dhcp_v6_dns_autois set tofalse.
- dhcp_v6_ booldns_ auto 
- Specifies DNS source to propagate. If set falsethe entries indhcp_v6_dnsare used, the upstream entries otherwise
- dhcp_v6_ boolenabled 
- Enable stateful DHCPv6 for static configuration.
- dhcp_v6_ intlease 
- Specifies the lease time for DHCPv6 addresses.
- dhcp_v6_ strstart 
- Start address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcp_v6_ strstop 
- End address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpd_boot_ boolenabled 
- Toggles on the DHCP boot options. will be set to true if you have dhcpdbootfilename, and dhcpdbootserver set.
- dhcpd_boot_ strfilename 
- the file to PXE boot from on the dhcpdbootserver.
- dhcpd_boot_ strserver 
- IPv4 address of a TFTP server to network boot from.
- domain_name str
- The domain name of this network.
- id str
- The ID of the network.
- igmp_snooping bool
- Specifies whether IGMP snooping is enabled or not.
- ipv6_interface_ strtype 
- Specifies which type of IPv6 connection to use. Must be one of either static,pd, ornone.
- ipv6_pd_ strinterface 
- Specifies which WAN interface to use for IPv6 PD. Must be one of either wanorwan2.
- ipv6_pd_ strprefixid 
- Specifies the IPv6 Prefix ID.
- ipv6_pd_ strstart 
- Start address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6_pd_ strstop 
- End address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6_ra_ boolenable 
- Specifies whether to enable router advertisements or not.
- ipv6_ra_ intpreferred_ lifetime 
- Lifetime in which the address can be used. Address becomes deprecated afterwards. Must be lower than or equal to ipv6_ra_valid_lifetime
- ipv6_ra_ strpriority 
- IPv6 router advertisement priority. Must be one of either high,medium, orlow
- ipv6_ra_ intvalid_ lifetime 
- Total lifetime in which the address can be used. Must be equal to or greater than ipv6_ra_preferred_lifetime.
- ipv6_static_ strsubnet 
- Specifies the static IPv6 subnet (when ipv6interfacetype is 'static').
- multicast_dns bool
- Specifies whether Multicast DNS (mDNS) is enabled or not on the network (Controller >=v7).
- name str
- The name of the network.
- network_group str
- The group of the network.
- purpose str
- The purpose of the network. One of corporate,guest,wan, orvlan-only.
- site str
- The name of the site to associate the network with.
- subnet str
- The subnet of the network (CIDR address).
- vlan_id int
- The VLAN ID of the network.
- wan_dhcp_ intv6_ pd_ size 
- Specifies the IPv6 prefix size to request from ISP. Must be a number between 48 and 64.
- wan_dns Sequence[str]
- DNS servers IPs of the WAN.
- wan_egress_ intqos 
- Specifies the WAN egress quality of service.
- wan_gateway str
- The IPv4 gateway of the WAN.
- wan_gateway_ strv6 
- The IPv6 gateway of the WAN.
- wan_ip str
- The IPv4 address of the WAN.
- wan_ipv6 str
- The IPv6 address of the WAN.
- wan_netmask str
- The IPv4 netmask of the WAN.
- wan_networkgroup str
- Specifies the WAN network group. One of either WAN,WAN2orWAN_LTE_FAILOVER.
- wan_prefixlen int
- The IPv6 prefix length of the WAN. Must be between 1 and 128.
- wan_type str
- Specifies the IPV4 WAN connection type. One of either disabled,static,dhcp, orpppoe.
- wan_type_ strv6 
- Specifies the IPV6 WAN connection type. Must be one of either disabled,static, ordhcpv6.
- wan_username str
- Specifies the IPV4 WAN username.
- x_wan_ strpassword 
- Specifies the IPV4 WAN password.
- dhcpDns List<String>
- IPv4 addresses for the DNS server to be returned from the DHCP server.
- dhcpEnabled Boolean
- whether DHCP is enabled or not on this network.
- dhcpLease Number
- lease time for DHCP addresses.
- dhcpStart String
- The IPv4 address where the DHCP range of addresses starts.
- dhcpStop String
- The IPv4 address where the DHCP range of addresses stops.
- dhcpV6Dns List<String>
- Specifies the IPv6 addresses for the DNS server to be returned from the DHCP server. Used if dhcp_v6_dns_autois set tofalse.
- dhcpV6Dns BooleanAuto 
- Specifies DNS source to propagate. If set falsethe entries indhcp_v6_dnsare used, the upstream entries otherwise
- dhcpV6Enabled Boolean
- Enable stateful DHCPv6 for static configuration.
- dhcpV6Lease Number
- Specifies the lease time for DHCPv6 addresses.
- dhcpV6Start String
- Start address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpV6Stop String
- End address of the DHCPv6 range. Used in static DHCPv6 configuration.
- dhcpdBoot BooleanEnabled 
- Toggles on the DHCP boot options. will be set to true if you have dhcpdbootfilename, and dhcpdbootserver set.
- dhcpdBoot StringFilename 
- the file to PXE boot from on the dhcpdbootserver.
- dhcpdBoot StringServer 
- IPv4 address of a TFTP server to network boot from.
- domainName String
- The domain name of this network.
- id String
- The ID of the network.
- igmpSnooping Boolean
- Specifies whether IGMP snooping is enabled or not.
- ipv6InterfaceType String
- Specifies which type of IPv6 connection to use. Must be one of either static,pd, ornone.
- ipv6PdInterface String
- Specifies which WAN interface to use for IPv6 PD. Must be one of either wanorwan2.
- ipv6PdPrefixid String
- Specifies the IPv6 Prefix ID.
- ipv6PdStart String
- Start address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6PdStop String
- End address of the DHCPv6 range. Used if ipv6_interface_typeis set topd.
- ipv6RaEnable Boolean
- Specifies whether to enable router advertisements or not.
- ipv6RaPreferred NumberLifetime 
- Lifetime in which the address can be used. Address becomes deprecated afterwards. Must be lower than or equal to ipv6_ra_valid_lifetime
- ipv6RaPriority String
- IPv6 router advertisement priority. Must be one of either high,medium, orlow
- ipv6RaValid NumberLifetime 
- Total lifetime in which the address can be used. Must be equal to or greater than ipv6_ra_preferred_lifetime.
- ipv6StaticSubnet String
- Specifies the static IPv6 subnet (when ipv6interfacetype is 'static').
- multicastDns Boolean
- Specifies whether Multicast DNS (mDNS) is enabled or not on the network (Controller >=v7).
- name String
- The name of the network.
- networkGroup String
- The group of the network.
- purpose String
- The purpose of the network. One of corporate,guest,wan, orvlan-only.
- site String
- The name of the site to associate the network with.
- subnet String
- The subnet of the network (CIDR address).
- vlanId Number
- The VLAN ID of the network.
- wanDhcp NumberV6Pd Size 
- Specifies the IPv6 prefix size to request from ISP. Must be a number between 48 and 64.
- wanDns List<String>
- DNS servers IPs of the WAN.
- wanEgress NumberQos 
- Specifies the WAN egress quality of service.
- wanGateway String
- The IPv4 gateway of the WAN.
- wanGateway StringV6 
- The IPv6 gateway of the WAN.
- wanIp String
- The IPv4 address of the WAN.
- wanIpv6 String
- The IPv6 address of the WAN.
- wanNetmask String
- The IPv4 netmask of the WAN.
- wanNetworkgroup String
- Specifies the WAN network group. One of either WAN,WAN2orWAN_LTE_FAILOVER.
- wanPrefixlen Number
- The IPv6 prefix length of the WAN. Must be between 1 and 128.
- wanType String
- Specifies the IPV4 WAN connection type. One of either disabled,static,dhcp, orpppoe.
- wanType StringV6 
- Specifies the IPV6 WAN connection type. Must be one of either disabled,static, ordhcpv6.
- wanUsername String
- Specifies the IPV4 WAN username.
- xWan StringPassword 
- Specifies the IPV4 WAN password.
Package Details
- Repository
- unifi pulumiverse/pulumi-unifi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the unifiTerraform Provider.