Skip to content

Commit f91e06c

Browse files
committed
Merge pull request #1053 from DeepakRajendranMsft/ExpressRouteServiceProvider
add Get ERserviceProvider cmdlet
2 parents 4b8dd40 + 11ad873 commit f91e06c

File tree

15 files changed

+226
-12
lines changed

15 files changed

+226
-12
lines changed

src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</Reference>
7373
<Reference Include="Microsoft.Azure.Management.Network, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7474
<SpecificVersion>False</SpecificVersion>
75-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.12-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
75+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.13-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
7676
</Reference>
7777
<Reference Include="Microsoft.Azure.Management.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7878
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll</HintPath>

src/ResourceManager/Compute/Commands.Compute.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<package id="Microsoft.Azure.Graph.RBAC" version="1.7.0-preview" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
1010
<package id="Microsoft.Azure.Management.Compute" version="8.2.0" targetFramework="net45" />
11-
<package id="Microsoft.Azure.Management.Network" version="2.0.12-preview" targetFramework="net45" />
11+
<package id="Microsoft.Azure.Management.Network" version="2.0.13-preview" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Management.Storage" version="2.4.0-preview" targetFramework="net45" />
1414
<package id="Microsoft.Azure.Test.Framework" version="1.0.5715.36130-prerelease" targetFramework="net45" />

src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
</Reference>
8787
<Reference Include="Microsoft.Azure.Management.Network, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
8888
<SpecificVersion>False</SpecificVersion>
89-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.12-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
89+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.13-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
9090
</Reference>
9191
<Reference Include="Microsoft.Azure.Management.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
9292
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll</HintPath>

src/ResourceManager/Compute/Commands.Compute/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
1111
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Management.Compute" version="8.2.0" targetFramework="net45" />
13-
<package id="Microsoft.Azure.Management.Network" version="2.0.12-preview" targetFramework="net45" />
13+
<package id="Microsoft.Azure.Management.Network" version="2.0.13-preview" targetFramework="net45" />
1414
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
1515
<package id="Microsoft.Azure.Management.Storage" version="2.4.0-preview" targetFramework="net45" />
1616
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />

src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</Reference>
6969
<Reference Include="Microsoft.Azure.Management.Network, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7070
<SpecificVersion>False</SpecificVersion>
71-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.12-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
71+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.13-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
7272
</Reference>
7373
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7474
<SpecificVersion>False</SpecificVersion>
@@ -148,6 +148,7 @@
148148
<Compile Include="Properties\AssemblyInfo.cs" />
149149
<Compile Include="NetworkResourcesController.cs" />
150150
<Compile Include="ScenarioTests\ApplicationGatewayTests.cs" />
151+
<Compile Include="ScenarioTests\ExpressRouteServiceProviderTests.cs" />
151152
<Compile Include="ScenarioTests\NetworkInterfaceTests.cs" />
152153
<Compile Include="ScenarioTests\LoadBalancerTests.cs" />
153154
<Compile Include="ScenarioTests\ExpressRouteCircuitTests.cs" />
@@ -171,6 +172,9 @@
171172
<None Include="ScenarioTests\Common.ps1">
172173
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
173174
</None>
175+
<None Include="ScenarioTests\ExpressRouteServiceProviderTests.ps1">
176+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
177+
</None>
174178
<None Include="ScenarioTests\NetworkInterfaceTests.ps1">
175179
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
176180
</None>
@@ -213,6 +217,9 @@
213217
<None Include="SessionRecords\Commands.Network.Test.ScenarioTests.ExpressRouteCircuitTests\TestExpressRouteCircuitPeeringCRUD.json">
214218
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
215219
</None>
220+
<None Include="SessionRecords\Commands.Network.Test.ScenarioTests.ExpressRouteServiceProviderTests\TestExpressRouteServiceProviderList.json">
221+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
222+
</None>
216223
<None Include="SessionRecords\Commands.Network.Test.ScenarioTests.LoadBalancerTests\TestCreateEmptyLoadBalancer.json">
217224
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
218225
</None>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
16+
using Xunit;
17+
18+
namespace Commands.Network.Test.ScenarioTests
19+
{
20+
public class ExpressRouteServiceProviderTests : Microsoft.WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
21+
{
22+
[Fact]
23+
[Trait(Category.AcceptanceType, Category.CheckIn)]
24+
public void TestExpressRouteServiceProviderList()
25+
{
26+
NetworkResourcesController.NewInstance.RunPsTest("Test-ExpressRouteServiceProviderList");
27+
}
28+
}
29+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# ----------------------------------------------------------------------------------
2+
#
3+
# Copyright Microsoft Corporation
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# ----------------------------------------------------------------------------------
14+
15+
<#
16+
.SYNOPSIS
17+
Tests ExpressRouteServiceProviderList.
18+
#>
19+
function Test-ExpressRouteServiceProviderList
20+
{
21+
$providers = Get-AzureRmExpressRouteServiceProvider
22+
23+
Assert-AreNotEqual 0 @($providers).Count
24+
Assert-AreNotEqual 0 @($providers[0].PeeringLocations).Count
25+
Assert-AreNotEqual 0 @($providers[0].BandwidthsOffered).Count
26+
Assert-NotNull $providers[0].Name
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"Entries": [
3+
{
4+
"RequestUri": "/subscriptions/9532a63e-f2eb-4649-bb23-5ed01077ce80/providers/Microsoft.Network/expressRouteServiceProviders?api-version=2015-05-01-preview",
5+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTUzMmE2M2UtZjJlYi00NjQ5LWJiMjMtNWVkMDEwNzdjZTgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVTZXJ2aWNlUHJvdmlkZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==",
6+
"RequestMethod": "GET",
7+
"RequestBody": "",
8+
"RequestHeaders": {
9+
"User-Agent": [
10+
"Microsoft.Azure.Management.Network.NetworkResourceProviderClient/2.0.0.0"
11+
]
12+
},
13+
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Equinix\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Amsterdam\",\r\n \"Atlanta\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n \"Hong Kong\",\r\n \"London\",\r\n \"Los Angeles\",\r\n \"Melbourne\",\r\n \"New York\",\r\n \"Sao Paulo\",\r\n \"Seattle\",\r\n \"Silicon Valley\",\r\n \"Singapore\",\r\n \"Sydney\",\r\n \"Tokyo\",\r\n \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}",
14+
"ResponseHeaders": {
15+
"Content-Length": [
16+
"1152"
17+
],
18+
"Content-Type": [
19+
"application/json; charset=utf-8"
20+
],
21+
"Expires": [
22+
"-1"
23+
],
24+
"Pragma": [
25+
"no-cache"
26+
],
27+
"x-ms-request-id": [
28+
"db4d59f2-edf8-407a-b58b-483e934d89e7"
29+
],
30+
"Strict-Transport-Security": [
31+
"max-age=31536000; includeSubDomains"
32+
],
33+
"Cache-Control": [
34+
"no-cache"
35+
],
36+
"Server": [
37+
"Microsoft-HTTPAPI/2.0",
38+
"Microsoft-HTTPAPI/2.0"
39+
],
40+
"x-ms-ratelimit-remaining-subscription-reads": [
41+
"14970"
42+
],
43+
"x-ms-correlation-request-id": [
44+
"b9a38c7f-045d-4b51-af24-2a69cf405513"
45+
],
46+
"x-ms-routing-request-id": [
47+
"WESTUS:20151003T000540Z:b9a38c7f-045d-4b51-af24-2a69cf405513"
48+
],
49+
"Date": [
50+
"Sat, 03 Oct 2015 00:05:39 GMT"
51+
]
52+
},
53+
"StatusCode": 200
54+
}
55+
],
56+
"Names": {},
57+
"Variables": {
58+
"SubscriptionId": "9532a63e-f2eb-4649-bb23-5ed01077ce80"
59+
}
60+
}

src/ResourceManager/Network/Commands.Network.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<package id="Microsoft.Azure.Gallery" version="2.6.2-preview" targetFramework="net45" />
88
<package id="Microsoft.Azure.Graph.RBAC" version="1.7.0-preview" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
10-
<package id="Microsoft.Azure.Management.Network" version="2.0.12-preview" targetFramework="net45" />
10+
<package id="Microsoft.Azure.Management.Network" version="2.0.13-preview" targetFramework="net45" />
1111
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Test.Framework" version="1.0.5715.36130-prerelease" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.0.5715.36130-prerelease" targetFramework="net45" />

src/ResourceManager/Network/Commands.Network/Commands.Network.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
</Reference>
7979
<Reference Include="Microsoft.Azure.Management.Network, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
8080
<SpecificVersion>False</SpecificVersion>
81-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.12-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
81+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.13-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
8282
</Reference>
8383
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
8484
<SpecificVersion>False</SpecificVersion>
@@ -234,7 +234,8 @@
234234
<Compile Include="LoadBalancer\InboundNatPool\GetAzureLoadBalancerInboundNatPoolConfigCommand.cs" />
235235
<Compile Include="LoadBalancer\InboundNatPool\NewAzureLoadBalancerInboundNatPoolConfigCommand.cs" />
236236
<Compile Include="LoadBalancer\InboundNatPool\RemoveAzureLoadBalancerInboundNatPoolConfigCommand.cs" />
237-
<Compile Include="LoadBalancer\InboundNatPool\SetAzureLoadBalancerInboundNatPoolConfigCommand.cs" /> <Compile Include="ExpressRouteCircuit\GetAzureExpressRouteCircuitCommand.cs" />
237+
<Compile Include="LoadBalancer\InboundNatPool\SetAzureLoadBalancerInboundNatPoolConfigCommand.cs" />
238+
<Compile Include="ExpressRouteCircuit\GetAzureExpressRouteCircuitCommand.cs" />
238239
<Compile Include="ExpressRouteCircuit\NewAzureExpressRouteCircuitCommand.cs" />
239240
<Compile Include="ExpressRouteCircuit\Peering\AddAzureExpressRouteCircuitPeeringConfigCommand.cs" />
240241
<Compile Include="ExpressRouteCircuit\Peering\AzureExpressRouteCircuitPeeringConfigBase.cs" />
@@ -269,6 +270,7 @@
269270
<Compile Include="Models\PSPeeringStats.cs" />
270271
<Compile Include="Models\PSExpressRouteCircuitAuthorization.cs" />
271272
<Compile Include="Models\PSExpressRouteCircuit.cs" />
273+
<Compile Include="ProviderWideCmdlets\GetAzureExpressRouteServiceProviderCommand.cs" />
272274
<Compile Include="PublicIpAddress\GetAzurePublicIpAddressCommand.cs" />
273275
<Compile Include="PublicIpAddress\NewAzurePublicIpAddressCommand.cs" />
274276
<Compile Include="PublicIpAddress\PublicIpAddressBaseCmdlet.cs" />

src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ protected override void Configure()
210210

211211
// ExpressRouteServiceProvider
212212
// CNM to MNM
213-
Mapper.CreateMap<CNM.PSExpressRouteServiceProvider, MNM.ExpressRouteResourceProvider>();
213+
Mapper.CreateMap<CNM.PSExpressRouteServiceProvider, MNM.ExpressRouteServiceProvider>();
214214
Mapper.CreateMap<CNM.PSExpressRouteServiceProviderBandwidthsOffered, MNM.ExpressRouteServiceProviderBandwidthsOffered>();
215215

216216
// MNM to CNM
217-
Mapper.CreateMap<MNM.ExpressRouteResourceProvider, CNM.PSExpressRouteServiceProvider>();
217+
Mapper.CreateMap<MNM.ExpressRouteServiceProvider, CNM.PSExpressRouteServiceProvider>();
218218
Mapper.CreateMap<MNM.ExpressRouteServiceProviderBandwidthsOffered, CNM.PSExpressRouteServiceProviderBandwidthsOffered>();
219219

220220
// Gateways

src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,5 +1053,43 @@
10531053
</ListEntries>
10541054
</ListControl>
10551055
</View>
1056+
<View>
1057+
<Name>Microsoft.Azure.Commands.Network.Models.PSExpressRouteServiceProvider</Name>
1058+
<ViewSelectedBy>
1059+
<TypeName>Microsoft.Azure.Commands.Network.Models.PSExpressRouteServiceProvider</TypeName>
1060+
</ViewSelectedBy>
1061+
<ListControl>
1062+
<ListEntries>
1063+
<ListEntry>
1064+
<ListItems>
1065+
<ListItem>
1066+
<Label>Name</Label>
1067+
<PropertyName>Name</PropertyName>
1068+
</ListItem>
1069+
<ListItem>
1070+
<Label>Id</Label>
1071+
<PropertyName>Id</PropertyName>
1072+
</ListItem>
1073+
<ListItem>
1074+
<Label>ProvisioningState</Label>
1075+
<PropertyName>ProvisioningState</PropertyName>
1076+
</ListItem>
1077+
<ListItem>
1078+
<Label>Type</Label>
1079+
<PropertyName>Type</PropertyName>
1080+
</ListItem>
1081+
<ListItem>
1082+
<Label>PeeringLocations</Label>
1083+
<PropertyName>PeeringLocationsText</PropertyName>
1084+
</ListItem>
1085+
<ListItem>
1086+
<Label>BandwidthsOffered</Label>
1087+
<PropertyName>BandwidthsOfferedText</PropertyName>
1088+
</ListItem>
1089+
</ListItems>
1090+
</ListEntry>
1091+
</ListEntries>
1092+
</ListControl>
1093+
</View>
10561094
</ViewDefinitions>
10571095
</Configuration>

src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteServiceProvider.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@ public class PSExpressRouteServiceProvider
2323
{
2424
public string Name { get; set; }
2525

26+
public string Id { get; set; }
27+
28+
public string Type { get; set; }
29+
2630
public List<string> PeeringLocations { get; set; }
2731

28-
public PSExpressRouteServiceProviderBandwidthsOffered BandwidthsOffered { get; set; }
32+
public List<PSExpressRouteServiceProviderBandwidthsOffered> BandwidthsOffered { get; set; }
33+
34+
public string ProvisioningState { get; set; }
2935

3036
[JsonIgnore]
3137
public string BandwidthsOfferedText
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System.Collections.Generic;
16+
using System.Management.Automation;
17+
using Microsoft.Azure.Management.Network;
18+
using Microsoft.Azure.Commands.Network.Models;
19+
using MNM = Microsoft.Azure.Management.Network.Models;
20+
21+
namespace Microsoft.Azure.Commands.Network
22+
{
23+
using AutoMapper;
24+
25+
[Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteServiceProvider"), OutputType(typeof(PSExpressRouteServiceProvider))]
26+
public class GetAzureExpressRouteServiceProviderCommand : NetworkBaseCmdlet
27+
{
28+
protected override void ProcessRecord()
29+
{
30+
base.ProcessRecord();
31+
32+
var serviceProviderList = this.NetworkClient.NetworkResourceProviderClient.ExpressRouteServiceProviders.List();
33+
34+
var psProviders = new List<PSExpressRouteServiceProvider>();
35+
36+
foreach (var provider in serviceProviderList.ExpressRouteServiceProviders)
37+
{
38+
var psProvider = Mapper.Map<PSExpressRouteServiceProvider>(provider);
39+
psProviders.Add(psProvider);
40+
}
41+
42+
WriteObject(psProviders, true);
43+
}
44+
}
45+
}

src/ResourceManager/Network/Commands.Network/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<package id="Microsoft.Azure.Graph.RBAC" version="1.7.0-preview" targetFramework="net45" />
1010
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
1111
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
12-
<package id="Microsoft.Azure.Management.Network" version="2.0.12-preview" targetFramework="net45" />
12+
<package id="Microsoft.Azure.Management.Network" version="2.0.13-preview" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
1414
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
1515
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />

0 commit comments

Comments
 (0)