Skip to content

Commit

Permalink
{Network} Fix #17681: Add samples for retrieving Private Link IP Conf… (
Browse files Browse the repository at this point in the history
#20448)

* {Network} Fix #17681: Add samples for retrieving Private Link IP Configuration using 'New-AzApplicationGatewayPrivateLinkIpConfiguration'

Fixes #17681

* Update ChangeLog.md

* Update ChangeLog.md

Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>
  • Loading branch information
RakeshMohanMSFT and msJinLei authored Dec 26, 2022
1 parent 8109c12 commit d4b025c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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
* Added samples for retrieving Private Link IP Configuration using 'New-AzApplicationGatewayPrivateLinkIpConfiguration' with fix [#20440]
* Added `DdosProtectionPlan` property in `AzPublicIpAddress`
* Updated mapping in `AzPublicIpAddress` to always show/create DdosSettings
* Fixed a bug that added Ddos related properties when viewing PublicIpAddress and DdosProtectionPlan objects
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ One private link configuration can atmost be associated to only one frontend ip

### Example 1: Create an Private Link Configuration with single Ip Configuration
```powershell
$PrivateLinkIpConfiguration1 = New-AzApplicationGatewayPrivateLinkIpConfiguration -Name "ipConfig01" -Subnet $subnet -Primary
$PrivateLinkConfiguration = New-AzApplicationGatewayPrivateLinkConfiguration -Name "privateLinkConfig01" -IpConfiguration $privateLinkIpConfiguration1
```

This command creates an PrivateLink configuration named 'privateLinkConfig01' and stores the result in the variable named $PrivateLinkConfiguration.

### Example 2: Create an Private Link Configuration with multiple Ip Configurations
```powershell
$PrivateLinkIpConfiguration1 = New-AzApplicationGatewayPrivateLinkIpConfiguration -Name "ipConfig01" -Subnet $subnet -Primary
$PrivateLinkIpConfiguration2 = New-AzApplicationGatewayPrivateLinkIpConfiguration -Name "ipConfig02" -Subnet $subnet
$PrivateLinkConfiguration = New-AzApplicationGatewayPrivateLinkConfiguration -Name "privateLinkConfig01" -IpConfiguration $privateLinkIpConfiguration1, $privateLinkIpConfiguration2
```

Expand Down

0 comments on commit d4b025c

Please sign in to comment.