azurerm_route_serverNivis Nix constructor for the azurerm_route_server resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
public_ip_address_id,
resource_group_name,
sku,
subnet_id,
branch_to_branch_traffic_enabled ? null,
hub_routing_preference ? null,
id ? null,
cfg_name ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationpublic_ip_address_idresource_group_nameskusubnet_id
Optional arguments
branch_to_branch_traffic_enabled(defaults tonull)hub_routing_preference(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
routing_statevirtual_router_asnvirtual_router_ips
Example
azurerm_route_server {
name = "route_server";
location = …; # required
public_ip_address_id = …; # required
resource_group_name = …; # required
sku = …; # required
subnet_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.