Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Virtual Wan Network Connection (vHub Network Connection) #737

Closed
adthorn opened this issue Jan 25, 2022 · 3 comments
Closed
Labels
has_pr PR fixes have been made medium_priority Medium priority new_module_issue Request to add a new module

Comments

@adthorn
Copy link

adthorn commented Jan 25, 2022

SUMMARY

Create module to allow Virtual WAN Network Connections to the Virtual WAN Hub.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

azure_rm_virtualwan_connection

ADDITIONAL INFORMATION

Here's how to do it in Powershell
Select-AzSubscription -SubscriptionId "{{azr_remote_subid}}"
$remote = Get-AzVirtualNetwork -Name "{{azr_remote_vnet_name}}" -ResourceGroupName "{{azr_remote_rg_name}}"
Select-AzSubscription -SubscriptionId "{{azr_subid}}"
New-AzVirtualHubVnetConnection -ResourceGroupName "{{azr_rg_name}}" -VirtualHubName "{{azr_vhub_name}}" -Name "con-{{azr_remote_vnet_name}}" -RemoteVirtualNetwork $remote

Ansible:
- name: Create a Virtual Wan Network Connection to a Virtual Hub (Like vNET Peering but different)
azure_rm_vwan_connection:
subscription_id: "{{azr_subid}}"
resource_group: "{{azr_rg_name}}"
virtual_network_name: "{{azr_vnet_name}}"
name: "{azr_vwan_con_name}}"
virtual_wan_name: "{{azr_vwan_name"
remote_network_id: "/subscriptions/{{azr_subid}}/resourceGroups/{{azr_rg_name}}/providers/Microsoft.Network/virtualNetworks/{{azr_remote_vnet_name}}"
#Optional Items
associated_route_table_id:
"/subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable1"
propagated_route_tables_ids:
-
-
"/subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable1"
-
-
"/subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable2"
labels:
- "label1"
- "label2"
route_name: "route1"
next_hop: "70.0.0.2"
address_prefixes:
- "10.80.0.0/16"
- "10.90.0.0/16"

@adthorn adthorn changed the title Feature Request: Virtual Wan Feature Request: Virtual Wan Network Connection (vHub Network Connection) Jan 25, 2022
@Fred-sun Fred-sun added medium_priority Medium priority new_module_issue Request to add a new module work in In trying to solve, or in working with contributors labels Mar 2, 2022
@Fred-sun
Copy link
Collaborator

Fred-sun commented Mar 2, 2022

@adthorn Thank you for your new requirements, we will add them one by one, and welcome more community or contribution. Thank you very much!

@adthorn
Copy link
Author

adthorn commented Jun 8, 2022

Any update on this? Would rather see this as a module instead of using the CLI.

@Fred-sun
Copy link
Collaborator

added by #939

@Fred-sun Fred-sun added has_pr PR fixes have been made and removed work in In trying to solve, or in working with contributors labels Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has_pr PR fixes have been made medium_priority Medium priority new_module_issue Request to add a new module
Projects
None yet
Development

No branches or pull requests

2 participants