Skip to content

Commit e77f9f2

Browse files
committed
Fix help
1 parent 15a557a commit e77f9f2

File tree

3 files changed

+26
-86
lines changed

3 files changed

+26
-86
lines changed

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<OutputPath>..\..\..\Package\Debug\ServiceManagement\Azure\ExpressRoute\</OutputPath>
2222
<DefineConstants>DEBUG;TRACE</DefineConstants>
2323
<ErrorReport>prompt</ErrorReport>
24-
<WarningLevel>0</WarningLevel>
24+
<WarningLevel>4</WarningLevel>
2525
<RunCodeAnalysis>true</RunCodeAnalysis>
2626
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2727
<Prefer32Bit>false</Prefer32Bit>
@@ -87,8 +87,7 @@
8787
<SpecificVersion>False</SpecificVersion>
8888
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.4.1.1\lib\net40\Microsoft.WindowsAzure.Management.dll</HintPath>
8989
</Reference>
90-
<Reference Include="Microsoft.WindowsAzure.Management.ExpressRoute, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
91-
<SpecificVersion>False</SpecificVersion>
90+
<Reference Include="Microsoft.WindowsAzure.Management.ExpressRoute">
9291
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.23.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll</HintPath>
9392
<Private>True</Private>
9493
</Reference>
@@ -195,4 +194,4 @@
195194
</ItemGroup>
196195
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
197196
<Import Project="..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
198-
</Project>
197+
</Project>

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.xml

Lines changed: 21 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,33 +1000,26 @@
10001000
<command:parameterValue required="true" variableLength="false">UInt32</command:parameterValue>
10011001
</command:parameter>
10021002
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
1003-
<maml:name>PrimaryPeerSubnet</maml:name>
1003+
<maml:name>PeerAddressType</maml:name>
10041004
<maml:description>
1005-
<maml:para>Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
1005+
<maml:para>Specifies the address family (IPv4 or IPv6) to create the peering.</maml:para>
10061006
</maml:description>
1007-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
1007+
<command:parameterValue required="true" variableLength="false">PeerAddressTypeValues</command:parameterValue>
10081008
</command:parameter>
10091009
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
1010-
<maml:name>PrimaryPeerSubnetIpv6</maml:name>
1010+
<maml:name>PrimaryPeerSubnet</maml:name>
10111011
<maml:description>
1012-
<maml:para>Specifies one of the Ipv6 peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
1012+
<maml:para>Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
10131013
</maml:description>
10141014
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
10151015
</command:parameter>
1016-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
1016+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
10171017
<maml:name>SecondaryPeerSubnet</maml:name>
10181018
<maml:description>
10191019
<maml:para>Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
10201020
</maml:description>
10211021
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
10221022
</command:parameter>
1023-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
1024-
<maml:name>SecondaryPeerSubnetIpv6</maml:name>
1025-
<maml:description>
1026-
<maml:para>Specifies the second peering subnets for Ipv6 in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
1027-
</maml:description>
1028-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
1029-
</command:parameter>
10301023
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
10311024
<maml:name>SharedKey</maml:name>
10321025
<maml:description>
@@ -1097,19 +1090,6 @@
10971090
<dev:defaultValue>
10981091
</dev:defaultValue>
10991092
</command:parameter>
1100-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
1101-
<maml:name>PrimaryPeerSubnetIpv6</maml:name>
1102-
<maml:description>
1103-
<maml:para>Specifies one of the Ipv6 peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
1104-
</maml:description>
1105-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
1106-
<dev:type>
1107-
<maml:name>String</maml:name>
1108-
<maml:uri />
1109-
</dev:type>
1110-
<dev:defaultValue>
1111-
</dev:defaultValue>
1112-
</command:parameter>
11131093
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
11141094
<maml:name>SecondaryPeerSubnet</maml:name>
11151095
<maml:description>
@@ -1123,19 +1103,6 @@
11231103
<dev:defaultValue>
11241104
</dev:defaultValue>
11251105
</command:parameter>
1126-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
1127-
<maml:name>SecondaryPeerSubnetIpv6</maml:name>
1128-
<maml:description>
1129-
<maml:para>Specifies the second peering Ipv6 subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
1130-
</maml:description>
1131-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
1132-
<dev:type>
1133-
<maml:name>String</maml:name>
1134-
<maml:uri />
1135-
</dev:type>
1136-
<dev:defaultValue>
1137-
</dev:defaultValue>
1138-
</command:parameter>
11391106
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
11401107
<maml:name>SharedKey</maml:name>
11411108
<maml:description>
@@ -1239,7 +1206,7 @@
12391206
<maml:para>
12401207
</maml:para>
12411208
</maml:introduction>
1242-
<dev:code>PS C:\&gt; C:\PS&gt;New-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" -PrimaryPeerSubnetIpv6 "fc00::/126" -SecondaryPeerSubnet "fc01::/126" -LegacyMode True</dev:code>
1209+
<dev:code>PS C:\&gt; C:\PS&gt;New-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" -PeerAddressType IPv4 -LegacyMode True</dev:code>
12431210
<dev:remarks>
12441211
<maml:para>Creates a new BGP session for an ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". The BGP session for Ipv4 and Ipv6 protocols with AS number 65014 is established on VLAN ID 100 which advertised all routes for microsoft peering.</maml:para>
12451212
</dev:remarks>
@@ -2086,6 +2053,13 @@
20862053
</maml:description>
20872054
<command:parameterValue required="true" variableLength="false">BgpPeeringAccessType</command:parameterValue>
20882055
</command:parameter>
2056+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
2057+
<maml:name>PeerAddressType</maml:name>
2058+
<maml:description>
2059+
<maml:para>Specifies the address family (IPv4, IPv6, All) to delete the peering for.</maml:para>
2060+
</maml:description>
2061+
<command:parameterValue required="true" variableLength="false">BgpPeerAddressType</command:parameterValue>
2062+
</command:parameter>
20892063
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
20902064
<maml:name>Force</maml:name>
20912065
<maml:description>
@@ -2206,7 +2180,7 @@
22062180
<maml:para>
22072181
</maml:para>
22082182
</maml:introduction>
2209-
<dev:code>PS C:\&gt; C:\PS&gt;Remove-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab"</dev:code>
2183+
<dev:code>PS C:\&gt; C:\PS&gt;Remove-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab -PeerAddressType IPv4"</dev:code>
22102184
<dev:remarks>
22112185
<maml:para>This command removes the routing configuration for the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab".</maml:para>
22122186
</dev:remarks>
@@ -3052,16 +3026,16 @@
30523026
<command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue>
30533027
</command:parameter>
30543028
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
3055-
<maml:name>PrimaryPeerSubnet</maml:name>
3029+
<maml:name>PeerAddressType</maml:name>
30563030
<maml:description>
3057-
<maml:para>Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
3031+
<maml:para>Specifies the address family (IPv4 or IPv6) to update the peering.</maml:para>
30583032
</maml:description>
3059-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
3033+
<command:parameterValue required="true" variableLength="false">PeerAddressTypeValues</command:parameterValue>
30603034
</command:parameter>
30613035
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
3062-
<maml:name>PrimaryPeerSubnetIpv6</maml:name>
3036+
<maml:name>PrimaryPeerSubnet</maml:name>
30633037
<maml:description>
3064-
<maml:para>Specifies one of the Ipv6 peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
3038+
<maml:para>Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
30653039
</maml:description>
30663040
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
30673041
</command:parameter>
@@ -3072,13 +3046,6 @@
30723046
</maml:description>
30733047
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
30743048
</command:parameter>
3075-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
3076-
<maml:name>SecondaryPeerSubnetIpv6</maml:name>
3077-
<maml:description>
3078-
<maml:para>Specifies the second peering Ipv6 subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
3079-
</maml:description>
3080-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
3081-
</command:parameter>
30823049
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
30833050
<maml:name>SharedKey</maml:name>
30843051
<maml:description>
@@ -3142,19 +3109,6 @@
31423109
<dev:defaultValue>
31433110
</dev:defaultValue>
31443111
</command:parameter>
3145-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
3146-
<maml:name>PrimaryPeerSubnetIpv6</maml:name>
3147-
<maml:description>
3148-
<maml:para>Specifies one of the Ipv6 peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
3149-
</maml:description>
3150-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
3151-
<dev:type>
3152-
<maml:name>String</maml:name>
3153-
<maml:uri />
3154-
</dev:type>
3155-
<dev:defaultValue>
3156-
</dev:defaultValue>
3157-
</command:parameter>
31583112
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
31593113
<maml:name>SecondaryPeerSubnet</maml:name>
31603114
<maml:description>
@@ -3168,19 +3122,6 @@
31683122
<dev:defaultValue>
31693123
</dev:defaultValue>
31703124
</command:parameter>
3171-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
3172-
<maml:name>SecondaryPeerSubnetIpv6</maml:name>
3173-
<maml:description>
3174-
<maml:para>Specifies the second peering Ipv6 subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet fc00::/126 is specified, the customer uses fc00::1 for their VRF and Azure will select fc00::2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure.</maml:para>
3175-
</maml:description>
3176-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
3177-
<dev:type>
3178-
<maml:name>String</maml:name>
3179-
<maml:uri />
3180-
</dev:type>
3181-
<dev:defaultValue>
3182-
</dev:defaultValue>
3183-
</command:parameter>
31843125
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
31853126
<maml:name>SharedKey</maml:name>
31863127
<maml:description>
@@ -3271,7 +3212,7 @@
32713212
<maml:para>
32723213
</maml:para>
32733214
</maml:introduction>
3274-
<dev:code>PS C:\&gt; C:\PS&gt;Set-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" -PrimaryPeerSubnetIpv6 "fc00::/126" -SecondaryPeerSubnetIpv6 "fc01::/126"</dev:code>
3215+
<dev:code>PS C:\&gt; C:\PS&gt;Set-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" -PeerAddressType IPv4"</dev:code>
32753216
<dev:remarks>
32763217
<maml:para>Updates the BGP session for an ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". The BGP session for Ipv4 and Ipv6 protocols with AS number 65014 is established on VLAN ID 100.</maml:para>
32773218
</dev:remarks>

src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net45" />
1313
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="2.2.9-preview" targetFramework="net45" />
1414
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />
15-
<package id="Microsoft.WindowsAzure.Management.ExpressRoute" version="0.23.0-preview" targetFramework="net452" />
15+
<package id="Microsoft.WindowsAzure.Management.ExpressRoute" version="0.23.0-preview" targetFramework="net45" />
1616
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
1717
<package id="xunit.runner.visualstudio" version="2.3.0-beta2-build1317" targetFramework="net452" developmentDependency="true" />
18-
</packages>
18+
</packages>

0 commit comments

Comments
 (0)