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

Migrate Peering from generation to release-2023-02-07 #20833

Merged
merged 1 commit into from
Feb 2, 2023
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
2 changes: 1 addition & 1 deletion src/Peering/Az.Peering.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/30/2023
# Generated on: 2/2/2023
#

@{
Expand Down
70 changes: 35 additions & 35 deletions src/Peering/Peering.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{F667231F-2E61-4073-A344-089AA1143A4D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{234CDDE4-60B9-4A5F-A37E-3D670454E723}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{C24AD278-46F5-4916-A346-38C2EF274ED0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{B16E67AF-2829-4A77-991E-9E68E3BFFD44}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{752B1E09-D066-414C-A446-4DEF41555B06}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{A7492AB5-BD93-41D1-A087-0491E53F36DF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{E707E9BE-792F-4505-8835-4891A0C24919}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{DB47854A-FB72-49E2-B068-556542330E8F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Peering", "Az.Peering.csproj", "{2792EF2D-6752-4768-BD06-56D8ADE95E98}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Peering", "Az.Peering.csproj", "{41364983-A71F-4585-8A1E-75F5C9BA2DF2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -26,33 +26,33 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F667231F-2E61-4073-A344-089AA1143A4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F667231F-2E61-4073-A344-089AA1143A4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F667231F-2E61-4073-A344-089AA1143A4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F667231F-2E61-4073-A344-089AA1143A4D}.Release|Any CPU.Build.0 = Release|Any CPU
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Release|Any CPU.Build.0 = Release|Any CPU
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Release|Any CPU.Build.0 = Release|Any CPU
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Release|Any CPU.Build.0 = Release|Any CPU
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Release|Any CPU.Build.0 = Release|Any CPU
{E707E9BE-792F-4505-8835-4891A0C24919}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E707E9BE-792F-4505-8835-4891A0C24919}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E707E9BE-792F-4505-8835-4891A0C24919}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E707E9BE-792F-4505-8835-4891A0C24919}.Release|Any CPU.Build.0 = Release|Any CPU
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Release|Any CPU.Build.0 = Release|Any CPU
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Debug|Any CPU.Build.0 = Debug|Any CPU
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Release|Any CPU.ActiveCfg = Release|Any CPU
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Release|Any CPU.Build.0 = Release|Any CPU
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Release|Any CPU.Build.0 = Release|Any CPU
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Release|Any CPU.Build.0 = Release|Any CPU
{752B1E09-D066-414C-A446-4DEF41555B06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{752B1E09-D066-414C-A446-4DEF41555B06}.Debug|Any CPU.Build.0 = Debug|Any CPU
{752B1E09-D066-414C-A446-4DEF41555B06}.Release|Any CPU.ActiveCfg = Release|Any CPU
{752B1E09-D066-414C-A446-4DEF41555B06}.Release|Any CPU.Build.0 = Release|Any CPU
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Release|Any CPU.Build.0 = Release|Any CPU
{DB47854A-FB72-49E2-B068-556542330E8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB47854A-FB72-49E2-B068-556542330E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB47854A-FB72-49E2-B068-556542330E8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DB47854A-FB72-49E2-B068-556542330E8F}.Release|Any CPU.Build.0 = Release|Any CPU
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
5 changes: 3 additions & 2 deletions src/Peering/examples/New-AzPeering.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
### Example 1: Create a new direct peering object
```powershell
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
$directConnections = ,$connection1
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000

New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited
```

Expand Down
6 changes: 4 additions & 2 deletions src/Peering/examples/New-AzPeeringDirectConnectionObject.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
### Example 1: Create a direct connection object
```powershell
$md5Key = "******"

New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -SessionAddressProvider Peer -ConnectionIdentifier c111111111111
```

```output
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps ... [more fields]
--------------- -------------------- --------------- ------------ ------------------- ------------------- -------------------------- ... -------------
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps
--------------- -------------------- --------------- ------------ ------------------- ------------------- --------------------------
10000 c111111111111 PendingApproval 82

```
Expand Down
6 changes: 4 additions & 2 deletions src/Peering/examples/New-AzPeeringExchangeConnectionObject.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
### Example 1: Create an exchange connection object
```powershell
$md5Key = "******"

New-AzPeeringExchangeConnectionObject -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -ConnectionIdentifier c111111111111
```

```output
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId ... [more fields]
-------------------- --------------- ------------ ------------------- ... -------------
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId
-------------------- --------------- ------------ -------------------
c111111111111 82
```

Expand Down
2 changes: 1 addition & 1 deletion src/Peering/examples/Remove-AzPeeringServicePrefix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Remove peering service prefix
```powershell
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG
```

Removes peering service prefix from peering
Expand Down
5 changes: 3 additions & 2 deletions src/Peering/exports/New-AzPeering.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ Creates a new peering or updates an existing peering with the specified name und
.Description
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
.Example
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
$directConnections = ,$connection1
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000

New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited

.Outputs
Expand Down
2 changes: 2 additions & 0 deletions src/Peering/exports/New-AzPeeringDirectConnectionObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Create an in-memory object for DirectConnection.
.Description
Create an in-memory object for DirectConnection.
.Example
$md5Key = "******"

New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -SessionAddressProvider Peer -ConnectionIdentifier c111111111111

.Outputs
Expand Down
2 changes: 2 additions & 0 deletions src/Peering/exports/New-AzPeeringExchangeConnectionObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Create an in-memory object for ExchangeConnection.
.Description
Create an in-memory object for ExchangeConnection.
.Example
$md5Key = "******"

New-AzPeeringExchangeConnectionObject -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -ConnectionIdentifier c111111111111

.Outputs
Expand Down
11 changes: 8 additions & 3 deletions src/Peering/exports/ProxyCmdletDefinitions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4006,8 +4006,9 @@ Creates a new peering or updates an existing peering with the specified name und
.Description
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
.Example
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
$directConnections = ,$connection1
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000

New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited

.Outputs
Expand Down Expand Up @@ -5059,7 +5060,7 @@ Deletes an existing prefix with the specified name under the given subscription,
.Description
Deletes an existing prefix with the specified name under the given subscription, resource group and peering service.
.Example
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG

.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.IPeeringIdentity
Expand Down Expand Up @@ -6857,6 +6858,8 @@ Create an in-memory object for DirectConnection.
.Description
Create an in-memory object for DirectConnection.
.Example
$md5Key = "******"

New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -SessionAddressProvider Peer -ConnectionIdentifier c111111111111

.Outputs
Expand Down Expand Up @@ -7034,6 +7037,8 @@ Create an in-memory object for ExchangeConnection.
.Description
Create an in-memory object for ExchangeConnection.
.Example
$md5Key = "******"

New-AzPeeringExchangeConnectionObject -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -ConnectionIdentifier c111111111111

.Outputs
Expand Down
2 changes: 1 addition & 1 deletion src/Peering/exports/Remove-AzPeeringServicePrefix.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Deletes an existing prefix with the specified name under the given subscription,
.Description
Deletes an existing prefix with the specified name under the given subscription, resource group and peering service.
.Example
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG

.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.IPeeringIdentity
Expand Down
2 changes: 1 addition & 1 deletion src/Peering/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"swagger_commit": "90a294fca4845153be79d926b7415be5375522ac",
"swagger_commit": "1c23efa3fffb2bba8dab4875e6e6639c596b76e3",
"node": "v14.15.5",
"autorest": "`-- (empty)",
"autorest_core": "3.9.4",
Expand Down
5 changes: 3 additions & 2 deletions src/Peering/help/New-AzPeering.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ Creates a new peering or updates an existing peering with the specified name und

### Example 1: Create a new direct peering object
```powershell
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
$directConnections = ,$connection1
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000

New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited
```

Expand Down
6 changes: 4 additions & 2 deletions src/Peering/help/New-AzPeeringDirectConnectionObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ Create an in-memory object for DirectConnection.

### Example 1: Create a direct connection object
```powershell
$md5Key = "******"

New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -SessionAddressProvider Peer -ConnectionIdentifier c111111111111
```

```output
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps ... [more fields]
--------------- -------------------- --------------- ------------ ------------------- ------------------- -------------------------- ... -------------
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps
--------------- -------------------- --------------- ------------ ------------------- ------------------- --------------------------
10000 c111111111111 PendingApproval 82

```
Expand Down
6 changes: 4 additions & 2 deletions src/Peering/help/New-AzPeeringExchangeConnectionObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ Create an in-memory object for ExchangeConnection.

### Example 1: Create an exchange connection object
```powershell
$md5Key = "******"

New-AzPeeringExchangeConnectionObject -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -ConnectionIdentifier c111111111111
```

```output
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId ... [more fields]
-------------------- --------------- ------------ ------------------- ... -------------
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId
-------------------- --------------- ------------ -------------------
c111111111111 82
```

Expand Down
2 changes: 1 addition & 1 deletion src/Peering/help/Remove-AzPeeringServicePrefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Deletes an existing prefix with the specified name under the given subscription,

### Example 1: Remove peering service prefix
```powershell
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG
```

Removes peering service prefix from peering
Expand Down
2 changes: 0 additions & 2 deletions src/Peering/test/Get-AzPeeringRpUnbilledPrefix.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPeeringRpUnbilledPrefix
Describe 'Get-AzPeeringRpUnbilledPrefix' {
It 'List' {
{
$env.SubscriptionId = "f686d426-8d16-42db-81b7-ab578e110ccd"
$env.Tenant = "4445bf11-61c4-436f-a940-60194f8aca57"
$prefixes = Get-AzPeeringRpUnbilledPrefix -PeeringName CdnPeering -ResourceGroupName Seattle
$prefixes.Count | Should -BeGreaterThan 0
} | Should -Not -Throw
Expand Down
Loading