一根Express Route同时支持ARM和ASM的VNET
ARM模式的Azure管理模式在China Azure上已经正式落地了。今后在China Azure上应该主要以ARM的模式创建VM了。
并且目前Express Route也已经可以在ARM模式下创建,并支持ARM的VNET了。
如果客户有需求,要求Express Route的服务既支持ARM模式,又支持ASM模式,这时就需要在ARM模式的Express Route下开启ARM的Express Route支持Class VNET的功能。
具体的命令如下:
$ckt = Get-AzureRmExpressRouteCircuit $ckt.AllowClassicOperations = $true Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $ckt Name : hwarmer01 ResourceGroupName : hwarm01 Location : chinaeast Id : /subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/expressRoute Circuits/hwarmer01 Etag : W/"xxxx" ProvisioningState : Succeeded Sku : { "Name": "Standard_MeteredData", "Tier": "Standard", "Family": "MeteredData" } CircuitProvisioningState : Enabled ServiceProviderProvisioningState : NotProvisioned ServiceProviderNotes : ServiceProviderProperties : { "ServiceProviderName": "Shanghai Telecom Ethernet", "PeeringLocation": "Shanghai", "BandwidthInMbps": 50 } ServiceKey : xxx Peerings : [ { "Name": "AzurePublicPeering", "Etag": "W/\"xxxx\"", "Id": "/subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/e xpressRouteCircuits/hwarmer01/peerings/AzurePublicPeering", "PeeringType": "AzurePublicPeering", "State": "Enabled", "AzureASN": 12076, "PeerASN": 65525, "PrimaryPeerAddressPrefix": "192.168.201.0/30", "SecondaryPeerAddressPrefix": "192.168.201.4/30", "PrimaryAzurePort": "STEXP-SHA03-06GMR-CIS-1-PRI-A", "SecondaryAzurePort": "STEXP-SHA03-06GMR-CIS-2-SEC-A", "VlanId": 667, "ProvisioningState": "Succeeded" }, { "Name": "AzurePrivatePeering", "Etag": "W/\"xxxx\"", "Id": "/subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/e xpressRouteCircuits/hwarmer01/peerings/AzurePrivatePeering", "PeeringType": "AzurePrivatePeering", "State": "Enabled", "AzureASN": 12076, "PeerASN": 65525, "PrimaryPeerAddressPrefix": "192.168.200.0/30", "SecondaryPeerAddressPrefix": "192.168.200.4/30", "PrimaryAzurePort": "STEXP-SHA03-06GMR-CIS-1-PRI-A", "SecondaryAzurePort": "STEXP-SHA03-06GMR-CIS-2-SEC-A", "VlanId": 666, "ProvisioningState": "Succeeded" } ] Authorizations : [ { "Name": "hwerau", "Etag": "W/\"xxxx\"", "Id": "/subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/e xpressRouteCircuits/hwarmer01/authorizations/hwerau", "AuthorizationKey": "xxxx", "AuthorizationUseStatus": "Available", "ProvisioningState": "Succeeded" } ] AllowClassicOperations : True