Skip to content

Az CLI support for BgpConnection in VirtualHub #19316

@AndriiKalinichenko

Description

@AndriiKalinichenko

Resource Provider

NRP (Microsoft.Network)

Description of Feature or Work Requested

We are adding support for a new child resource HubBgpConnection of parent VirtualHub. HubBgpConnection (or just BgpConnection) has following properties:

  • PeerIp (IP address of the BGP peer)
  • PeerAsn (ASN of the BGP peer)
  • VirtualHubVnetConnection (VirtualHubVnetConnection references by the BgpConnection)

For this resource we would need following CLI commands:

  • az network vhub bgpconnection create
  • az network vhub bgpconnection update
  • az network vhub bgpconnection delete
  • az network vhub bgpconnection get/show
  • az network vhub bgpconnection list

Design doc: BGP Endpoint in Virtual Hub, most useful section is "JSON resource samples".

There are CLI commands for Route Server which are very similar (except for VirtualHubVnetConnection reference): https://docs.microsoft.com/en-us/cli/azure/network/routeserver/peering?view=azure-cli-latest

Minimum API Version Required

02-01-2021

Swagger Link

Swagger PR: Azure/azure-rest-api-specs#14800

VirtualWan resource: https://github.com/Azure/azure-rest-api-specs/blob/network-march-branch/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/virtualWan.json#L5877

Target Date

9/30/2021

Metadata

Metadata

Labels

Networkaz network vnet/lb/nic/dns/etc...feature-requestp1_e1priority=1 emergency=1

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions