Skip to content

Commit bc78f20

Browse files
Move Peering to release-2023-02-07 (#20833)
1 parent 31d2506 commit bc78f20

18 files changed

+79
-62
lines changed

src/Peering/Az.Peering.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 1/30/2023
6+
# Generated on: 2/2/2023
77
#
88

99
@{

src/Peering/Peering.sln

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{F667231F-2E61-4073-A344-089AA1143A4D}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{234CDDE4-60B9-4A5F-A37E-3D670454E723}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{C24AD278-46F5-4916-A346-38C2EF274ED0}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{B16E67AF-2829-4A77-991E-9E68E3BFFD44}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{752B1E09-D066-414C-A446-4DEF41555B06}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{A7492AB5-BD93-41D1-A087-0491E53F36DF}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{E707E9BE-792F-4505-8835-4891A0C24919}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{DB47854A-FB72-49E2-B068-556542330E8F}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Peering", "Az.Peering.csproj", "{2792EF2D-6752-4768-BD06-56D8ADE95E98}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Peering", "Az.Peering.csproj", "{41364983-A71F-4585-8A1E-75F5C9BA2DF2}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{F667231F-2E61-4073-A344-089AA1143A4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{F667231F-2E61-4073-A344-089AA1143A4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{F667231F-2E61-4073-A344-089AA1143A4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{F667231F-2E61-4073-A344-089AA1143A4D}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{2561C9D5-C26A-445A-BEF5-6C3D14AAB943}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{4D83F5AB-8C90-44BB-8472-9BB102AC1FDD}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{B16E67AF-2829-4A77-991E-9E68E3BFFD44}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{A7492AB5-BD93-41D1-A087-0491E53F36DF}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{E707E9BE-792F-4505-8835-4891A0C24919}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{E707E9BE-792F-4505-8835-4891A0C24919}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{E707E9BE-792F-4505-8835-4891A0C24919}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{E707E9BE-792F-4505-8835-4891A0C24919}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{2792EF2D-6752-4768-BD06-56D8ADE95E98}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{234CDDE4-60B9-4A5F-A37E-3D670454E723}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{E8E341D2-14F1-4619-ADF2-05CDA4BC429D}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{C24AD278-46F5-4916-A346-38C2EF274ED0}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{752B1E09-D066-414C-A446-4DEF41555B06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{752B1E09-D066-414C-A446-4DEF41555B06}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{752B1E09-D066-414C-A446-4DEF41555B06}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{752B1E09-D066-414C-A446-4DEF41555B06}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{AF72F3C8-43FF-4F0D-B77E-663FDC1528A1}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{DB47854A-FB72-49E2-B068-556542330E8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{DB47854A-FB72-49E2-B068-556542330E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{DB47854A-FB72-49E2-B068-556542330E8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{DB47854A-FB72-49E2-B068-556542330E8F}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{41364983-A71F-4585-8A1E-75F5C9BA2DF2}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/Peering/examples/New-AzPeering.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
### Example 1: Create a new direct peering object
22
```powershell
3-
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
4-
$directConnections = ,$connection1
3+
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
4+
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000
5+
56
New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited
67
```
78

src/Peering/examples/New-AzPeeringDirectConnectionObject.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
### Example 1: Create a direct connection object
22
```powershell
3+
$md5Key = "******"
4+
35
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
46
```
57

68
```output
7-
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps ... [more fields]
8-
--------------- -------------------- --------------- ------------ ------------------- ------------------- -------------------------- ... -------------
9+
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps
10+
--------------- -------------------- --------------- ------------ ------------------- ------------------- --------------------------
911
10000 c111111111111 PendingApproval 82
1012
1113
```

src/Peering/examples/New-AzPeeringExchangeConnectionObject.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
### Example 1: Create an exchange connection object
22
```powershell
3+
$md5Key = "******"
4+
35
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
46
```
57

68
```output
7-
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId ... [more fields]
8-
-------------------- --------------- ------------ ------------------- ... -------------
9+
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId
10+
-------------------- --------------- ------------ -------------------
911
c111111111111 82
1012
```
1113

src/Peering/examples/Remove-AzPeeringServicePrefix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Example 1: Remove peering service prefix
22
```powershell
3-
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
3+
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG
44
```
55

66
Removes peering service prefix from peering

src/Peering/exports/New-AzPeering.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ Creates a new peering or updates an existing peering with the specified name und
2020
.Description
2121
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
2222
.Example
23-
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
24-
$directConnections = ,$connection1
23+
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
24+
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000
25+
2526
New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited
2627
2728
.Outputs

src/Peering/exports/New-AzPeeringDirectConnectionObject.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Create an in-memory object for DirectConnection.
2020
.Description
2121
Create an in-memory object for DirectConnection.
2222
.Example
23+
$md5Key = "******"
24+
2325
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
2426
2527
.Outputs

src/Peering/exports/New-AzPeeringExchangeConnectionObject.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Create an in-memory object for ExchangeConnection.
2020
.Description
2121
Create an in-memory object for ExchangeConnection.
2222
.Example
23+
$md5Key = "******"
24+
2325
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
2426
2527
.Outputs

src/Peering/exports/ProxyCmdletDefinitions.ps1

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4006,8 +4006,9 @@ Creates a new peering or updates an existing peering with the specified name und
40064006
.Description
40074007
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
40084008
.Example
4009-
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
4010-
$directConnections = ,$connection1
4009+
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
4010+
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000
4011+
40114012
New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited
40124013
40134014
.Outputs
@@ -5059,7 +5060,7 @@ Deletes an existing prefix with the specified name under the given subscription,
50595060
.Description
50605061
Deletes an existing prefix with the specified name under the given subscription, resource group and peering service.
50615062
.Example
5062-
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
5063+
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG
50635064
50645065
.Inputs
50655066
Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.IPeeringIdentity
@@ -6857,6 +6858,8 @@ Create an in-memory object for DirectConnection.
68576858
.Description
68586859
Create an in-memory object for DirectConnection.
68596860
.Example
6861+
$md5Key = "******"
6862+
68606863
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
68616864
68626865
.Outputs
@@ -7034,6 +7037,8 @@ Create an in-memory object for ExchangeConnection.
70347037
.Description
70357038
Create an in-memory object for ExchangeConnection.
70367039
.Example
7040+
$md5Key = "******"
7041+
70377042
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
70387043
70397044
.Outputs

src/Peering/exports/Remove-AzPeeringServicePrefix.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Deletes an existing prefix with the specified name under the given subscription,
2020
.Description
2121
Deletes an existing prefix with the specified name under the given subscription, resource group and peering service.
2222
.Example
23-
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
23+
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG
2424
2525
.Inputs
2626
Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.IPeeringIdentity

src/Peering/generate-info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"swagger_commit": "90a294fca4845153be79d926b7415be5375522ac",
2+
"swagger_commit": "1c23efa3fffb2bba8dab4875e6e6639c596b76e3",
33
"node": "v14.15.5",
44
"autorest": "`-- (empty)",
55
"autorest_core": "3.9.4",

src/Peering/help/New-AzPeering.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ Creates a new peering or updates an existing peering with the specified name und
2727

2828
### Example 1: Create a new direct peering object
2929
```powershell
30-
$connection1 = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 ...
31-
$directConnections = ,$connection1
30+
$peerAsnId = "/subscriptions/{subId}/providers/Microsoft.Peering/peerAsns/ContosoEdgeTest"
31+
$directConnections = New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000
32+
3233
New-AzPeering -Name TestPeeringPs -ResourceGroupName DemoRG -Kind Direct -Location "South Central US" -DirectConnection $directConnections -DirectPeeringType Cdn -DirectPeerAsnId $peerAsnId -PeeringLocation Dallas -Sku Premium_Direct_Unlimited
3334
```
3435

src/Peering/help/New-AzPeeringDirectConnectionObject.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ Create an in-memory object for DirectConnection.
2929

3030
### Example 1: Create a direct connection object
3131
```powershell
32+
$md5Key = "******"
33+
3234
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
3335
```
3436

3537
```output
36-
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps ... [more fields]
37-
--------------- -------------------- --------------- ------------ ------------------- ------------------- -------------------------- ... -------------
38+
BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps
39+
--------------- -------------------- --------------- ------------ ------------------- ------------------- --------------------------
3840
10000 c111111111111 PendingApproval 82
3941
4042
```

src/Peering/help/New-AzPeeringExchangeConnectionObject.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ Create an in-memory object for ExchangeConnection.
2828

2929
### Example 1: Create an exchange connection object
3030
```powershell
31+
$md5Key = "******"
32+
3133
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
3234
```
3335

3436
```output
35-
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId ... [more fields]
36-
-------------------- --------------- ------------ ------------------- ... -------------
37+
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId
38+
-------------------- --------------- ------------ -------------------
3739
c111111111111 82
3840
```
3941

src/Peering/help/Remove-AzPeeringServicePrefix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Deletes an existing prefix with the specified name under the given subscription,
3131

3232
### Example 1: Remove peering service prefix
3333
```powershell
34-
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroup DemoRG
34+
Remove-AzPeeringServicePrefix -Name TestPrefix -PeeringServiceName TestDRInterCloudZurich -ResourceGroupName DemoRG
3535
```
3636

3737
Removes peering service prefix from peering

src/Peering/test/Get-AzPeeringRpUnbilledPrefix.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPeeringRpUnbilledPrefix
1717
Describe 'Get-AzPeeringRpUnbilledPrefix' {
1818
It 'List' {
1919
{
20-
$env.SubscriptionId = "f686d426-8d16-42db-81b7-ab578e110ccd"
21-
$env.Tenant = "4445bf11-61c4-436f-a940-60194f8aca57"
2220
$prefixes = Get-AzPeeringRpUnbilledPrefix -PeeringName CdnPeering -ResourceGroupName Seattle
2321
$prefixes.Count | Should -BeGreaterThan 0
2422
} | Should -Not -Throw

0 commit comments

Comments
 (0)