File tree Expand file tree Collapse file tree 5 files changed +35
-1
lines changed Expand file tree Collapse file tree 5 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 30
30
- ` Get-AzVirtualRouterPeer `
31
31
- ` Remove-AzVirtualRouterPeer `
32
32
* Added RemoteBgpCommunities property to the VirtualNetwork Peering Resource
33
+ * Modified the warning message for ` New-AzLoadBalancerFrontendIpConfig ` , ` New-AzPublicIpAddress ` and ` New-AzPublicIpPrefix ` .
34
+ * Added VpnGatewayIpConfigurations to ` Get-AzVpnGateway ` output
33
35
34
36
## Version 3.3.0
35
37
* Added support for AddressPrefixType parameter to ` Remove-AzExpressRouteCircuitConnectionConfig `
Original file line number Diff line number Diff line change @@ -1088,6 +1088,7 @@ private static void Initialize()
1088
1088
cfg . CreateMap < CNM . PSVirtualHubRouteTable , MNM . VirtualHubRouteTableV2 > ( ) ;
1089
1089
cfg . CreateMap < CNM . PSVirtualHubRoute , MNM . VirtualHubRouteV2 > ( ) ;
1090
1090
cfg . CreateMap < CNM . PSVpnGateway , MNM . VpnGateway > ( ) ;
1091
+ cfg . CreateMap < CNM . PSVpnGatewayIpConfiguration , MNM . VpnGatewayIpConfiguration > ( ) ;
1091
1092
cfg . CreateMap < CNM . PSVpnSiteLinkConnection , MNM . VpnSiteLinkConnection > ( ) ;
1092
1093
cfg . CreateMap < CNM . PSVpnSiteLink , MNM . VpnSiteLink > ( ) ;
1093
1094
cfg . CreateMap < CNM . PSVpnLinkProviderProperties , MNM . VpnLinkProviderProperties > ( ) ;
@@ -1121,6 +1122,7 @@ private static void Initialize()
1121
1122
cfg . CreateMap < MNM . VirtualHubRouteTableV2 , CNM . PSVirtualHubRouteTable > ( ) ;
1122
1123
cfg . CreateMap < MNM . VirtualHubRouteV2 , CNM . PSVirtualHubRoute > ( ) ;
1123
1124
cfg . CreateMap < MNM . VpnGateway , CNM . PSVpnGateway > ( ) ;
1125
+ cfg . CreateMap < MNM . VpnGatewayIpConfiguration , CNM . PSVpnGatewayIpConfiguration > ( ) ;
1124
1126
cfg . CreateMap < MNM . VpnConnection , CNM . PSVpnConnection > ( ) ;
1125
1127
cfg . CreateMap < MNM . VpnSite , CNM . PSVpnSite > ( ) . AfterMap ( ( src , dest ) =>
1126
1128
{
Original file line number Diff line number Diff line change @@ -31,5 +31,7 @@ public class PSVpnGateway : PSTopLevelResource
31
31
32
32
[ Ps1Xml ( Label = "Provisioning State" , Target = ViewControl . Table ) ]
33
33
public string ProvisioningState { get ; set ; }
34
+
35
+ public List < PSVpnGatewayIpConfiguration > IpConfigurations { get ; set ; }
34
36
}
35
- }
37
+ }
Original file line number Diff line number Diff line change
1
+ // ----------------------------------------------------------------------------------
2
+ //
3
+ // Copyright Microsoft Corporation
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ // ----------------------------------------------------------------------------------
14
+
15
+ namespace Microsoft . Azure . Commands . Network . Models
16
+ {
17
+ public class PSVpnGatewayIpConfiguration
18
+ {
19
+ public string Id { get ; set ; }
20
+
21
+ public string PublicIpAddress { get ; set ; }
22
+
23
+ public string PrivateIpAddress { get ; set ; }
24
+ }
25
+ }
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ Location : West US
44
44
VpnGatewayScaleUnit : 2
45
45
VirtualHub : /subscriptions/{subscriptionId}/resourceGroups/Ali_pS_Test/providers/Microsoft.Network/virtualHubs/westushub
46
46
BgpSettings : {}
47
+ IpConfigurations : {Instance0, Instance1}
47
48
Type : Microsoft.Network/vpnGateways
48
49
ProvisioningState : Succeeded
49
50
```
@@ -65,6 +66,7 @@ Location : West US
65
66
VpnGatewayScaleUnit : 2
66
67
VirtualHub : /subscriptions/{subscriptionId}/resourceGroups/Ali_pS_Test/providers/Microsoft.Network/virtualHubs/westushub
67
68
BgpSettings : {}
69
+ IpConfigurations : {Instance0, Instance1}
68
70
Type : Microsoft.Network/vpnGateways
69
71
ProvisioningState : Succeeded
70
72
@@ -75,6 +77,7 @@ Location : West US
75
77
VpnGatewayScaleUnit : 2
76
78
VirtualHub : /subscriptions/{subscriptionId}/resourceGroups/Ali_pS_Test/providers/Microsoft.Network/virtualHubs/westushub
77
79
BgpSettings : {}
80
+ IpConfigurations : {Instance0, Instance1}
78
81
Type : Microsoft.Network/vpnGateways
79
82
ProvisioningState : Succeeded
80
83
```
You can’t perform that action at this time.
0 commit comments