I have an existing Azure Virtual Network Gateway I'm attempting to reconfigure for use for BGP, per https://azure.microsoft.com/en-us/documentation/articles/vpn-gateway-bgp-resource-manager-ps/ .
However, I cannot find how to change the default ASN.
$gateway.BgpSettingsText
currently shows:
{
"Asn": 65515,
"BgpPeeringAddress": "10.231.1.254",
"PeerWeight": 0
}
I see nothing exposed in the latest AzureRm Powershell that will allow me to change this.
Is there a way to change this? Or is the only solution to Remove-AzureRmVirtualNetworkGateway
and start over?