Skip to content

Commit

Permalink
Merge pull request Azure#11246 from bowen0106/bowen/20200310
Browse files Browse the repository at this point in the history
BugFix for PrivateLinkServiceConnectionState
  • Loading branch information
dingmeng-xue authored Mar 5, 2020
2 parents 2cfa27d + 215815c commit f5bbda2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/Network/Network/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
--->

## Upcoming Release
* Added PublicNetworkAccess to New-AzSqlServer and Set-AzSqlServer
* Fixed a naming-difference issue in PrivateLinkServiceConnectionState class.
- Mapping the field ActionsRequired to ActionRequired.
* Added PublicNetworkAccess to `New-AzSqlServer` and `Set-AzSqlServer`

## Version 2.3.1
* Added one extra parameter note for parameter `-EnableProxyProtocol` for `New-AzPrivateLinkService` cmdlet.
Expand Down Expand Up @@ -53,8 +55,8 @@
## Version 2.1.0
* Change `Start-AzVirtualNetworkGatewayConnectionPacketCapture.md` and `Start-AzVirtualnetworkGatewayPacketCapture.md` FilterData option examples.
* Add `PrivateRange` parameter to `AzureFirewall`
- Updated cmdlet:
- New-AzFirewall
- Updated cmdlet:
- New-AzFirewall

## Version 2.0.0
* Change all cmdlets for PrivateEndpointConnection to support generic service provider.
Expand Down
10 changes: 8 additions & 2 deletions src/Network/Network/Common/NetworkResourceManagerProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1268,8 +1268,14 @@ private static void Initialize()
cfg.CreateMap<CNM.PSPrivateLinkServiceConnection, MNM.PrivateLinkServiceConnection>();
cfg.CreateMap<MNM.PrivateLinkServiceConnection, CNM.PSPrivateLinkServiceConnection>();
cfg.CreateMap<CNM.PSPrivateLinkServiceConnectionState, MNM.PrivateLinkServiceConnectionState>();
cfg.CreateMap<MNM.PrivateLinkServiceConnectionState, CNM.PSPrivateLinkServiceConnectionState>();
cfg.CreateMap<CNM.PSPrivateLinkServiceConnectionState, MNM.PrivateLinkServiceConnectionState>().AfterMap((src, dest) =>
{
dest.ActionsRequired = src.ActionRequired;
});
cfg.CreateMap<MNM.PrivateLinkServiceConnectionState, CNM.PSPrivateLinkServiceConnectionState>().AfterMap((src, dest) =>
{
dest.ActionRequired = src.ActionsRequired;
});
cfg.CreateMap<CNM.PSPrivateLinkService, MNM.PrivateLinkService>();
cfg.CreateMap<MNM.PrivateLinkService, CNM.PSPrivateLinkService>();
Expand Down

0 comments on commit f5bbda2

Please sign in to comment.