Virtual WAN

Overview

The Virtual WAN builder (vwan) is used to create Azure Virtual WAN instances.

  • Virtual WAN (Microsoft.Network/virtualWans)

Builder Keywords

ResourceKeywordPurpose
vwannameSets the name of the virtual wan
vwanstandard_vwanSets the virtual wan type to “standard” instead of the default “basic”
vwanallow_branch_to_branch_trafficSpecifies branch to branch traffic is allowed
vwandisable_vpn_encryptionSpecifies Vpn encryption is disabled
vwanoffice_365_local_breakout_categorySets the office local breakout category

Example

open Farmer
open Farmer.Builders

let myVwan = vwan {
    name "my-vwan"
    disable_vpn_encryption
    allow_branch_to_branch_traffic
    office_365_local_breakout_category Office365LocalBreakoutCategory.None
    standard_vwan
}
let deployment = arm {
    location Location.NorthEurope
    add_resource myVwan
}