Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Network/Network/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
--->

## Upcoming Release
* [Breaking Change] Removed parameter `HostedSubnet` and add `Subnet` instead
* Added new cmdlets for Virtual Router Peer Routes
- `Get-AzVirtualRouterPeerLearnedRoute`
- `Get-AzVirtualRouterPeerAdvertisedRoute`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Microsoft.Azure.Commands.Network.Models
public partial class PSHubIpConfiguration : PSChildResource
{
[Ps1Xml(Target = ViewControl.Table)]
public string HostedSubnet { get; set; }
public PSSubnet Subnet { get; set; }
[Ps1Xml(Target = ViewControl.Table)]
public string ProvisioningState { get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network/Generated/Models/PSVirtualRouter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public PSVirtualRouter(PSVirtualHub virtualHub)
this.ResourceGuid = virtualHub.ResourceGuid;
this.Type = virtualHub.Type;
var ipconfig = virtualHub.IpConfigurations.FirstOrDefault<PSHubIpConfiguration>();
this.HostedSubnet = ipconfig.Id;
this.HostedSubnet = ipconfig.Subnet.Id;
this.VirtualRouterAsn = virtualHub.VirtualRouterAsn;
this.VirtualRouterIps = virtualHub.VirtualRouterIps;
this.ProvisioningState = virtualHub.ProvisioningState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,3 +585,4 @@
"Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureVirtualRouterCommand","Remove-AzVirtualRouter","0","3010","The property 'HostedGateway' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualRouter' has been removed.","Add the property 'HostedGateway' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualRouter'."
"Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureVirtualRouterCommand","Remove-AzVirtualRouter","0","3010","The property 'HostedGatewayText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualRouter' has been removed.","Add the property 'HostedGatewayText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualRouter'."
"Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.GetAzureRmVirtualRouterPeer","Get-AzVirtualRouterPeer","0","3010","The property 'Type' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualRouterPeer' has been removed.","Add the property 'Type' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualRouterPeer'."
"Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.NewAzureRmExpressRouteGatewayCommand","New-AzExpressRouteGateway","0","3010","The property 'HostedSubnet' of type 'Microsoft.Azure.Commands.Network.Models.PSHubIpConfiguration' has been removed.","Add the property 'HostedSubnet' back to type 'Microsoft.Azure.Commands.Network.Models.PSHubIpConfiguration'."