MagicTransitSiteLanArgs

data class MagicTransitSiteLanArgs(val accountId: Output<String>? = null, val haLink: Output<Boolean>? = null, val name: Output<String>? = null, val nat: Output<MagicTransitSiteLanNatArgs>? = null, val physport: Output<Int>? = null, val routedSubnets: Output<List<MagicTransitSiteLanRoutedSubnetArgs>>? = null, val siteId: Output<String>? = null, val staticAddressing: Output<MagicTransitSiteLanStaticAddressingArgs>? = null, val vlanTag: Output<Int>? = null) : ConvertibleToJava<MagicTransitSiteLanArgs>

Example Usage

resources:
exampleMagicTransitSiteLan:
type: cloudflare:MagicTransitSiteLan
name: example_magic_transit_site_lan
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
siteId: 023e105f4ecef8ad9ca31a8372d0c353
physport: 1
haLink: true
name: name
nat:
static_prefix: 192.0.2.0/24
routedSubnets:
- next_hop: 192.0.2.1
prefix: 192.0.2.0/24
nat:
staticPrefix: 192.0.2.0/24
staticAddressing:
address: 192.0.2.0/24
dhcp_relay:
serverAddresses:
- 192.0.2.1
dhcp_server:
dhcpPoolEnd: 192.0.2.1
dhcpPoolStart: 192.0.2.1
dnsServer: 192.0.2.1
dnsServers:
- 192.0.2.1
reservations:
00:11:22:33:44:55: 192.0.2.100
AA:BB:CC:DD:EE:FF: 192.168.1.101
secondary_address: 192.0.2.0/24
virtual_address: 192.0.2.0/24
vlanTag: 42

Import

$ pulumi import cloudflare:index/magicTransitSiteLan:MagicTransitSiteLan example '<account_id>/<site_id>/<lan_id>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, haLink: Output<Boolean>? = null, name: Output<String>? = null, nat: Output<MagicTransitSiteLanNatArgs>? = null, physport: Output<Int>? = null, routedSubnets: Output<List<MagicTransitSiteLanRoutedSubnetArgs>>? = null, siteId: Output<String>? = null, staticAddressing: Output<MagicTransitSiteLanStaticAddressingArgs>? = null, vlanTag: Output<Int>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Identifier

Link copied to clipboard
val haLink: Output<Boolean>? = null

mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link.

Link copied to clipboard
val name: Output<String>? = null
Link copied to clipboard
val nat: Output<MagicTransitSiteLanNatArgs>? = null
Link copied to clipboard
val physport: Output<Int>? = null
Link copied to clipboard
Link copied to clipboard
val siteId: Output<String>? = null

Identifier

Link copied to clipboard

If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static*address is required along with secondary and virtual address.

Link copied to clipboard
val vlanTag: Output<Int>? = null

VLAN ID. Use zero for untagged.

Functions

Link copied to clipboard
open override fun toJava(): MagicTransitSiteLanArgs