The Virtual WAN builder (vhub
) is used to create Azure Virtual Hub instances.
Microsoft.Network/virtualHubs
)Resource | Keyword | Purpose |
---|---|---|
vhub | name | Sets the name of the virtual hub |
vhub | sku | Sets the sku of the virtual hub |
vhub | address_prefix | Sets the address prefix of the virtual hub |
vhub | link_to_vwan | Sets the virtual wan deployed by Farmer to which the virtual hub belongs |
vhub | link_to_unmanaged_vwan | Sets the existing virtual wan to which the virtual hub belongs |
open Farmer
open Farmer.Builders
let vhub = vhub {
name "my-vhub"
address_prefix (IPAddressCidr.parse "10.0.0.0/24")
}
let deployment = arm {
location Location.NorthEurope
add_resource vhub
}