Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix for PrivateLinkServiceConnectionState #11246

Merged
merged 3 commits into from
Mar 5, 2020
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
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