Skip to content

Commit b2aa6b2

Browse files
committed
Rename NetworkResourceProvider project to Network
1 parent c43c840 commit b2aa6b2

File tree

148 files changed

+282
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+282
-285
lines changed

src/AzurePowershell.sln

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RemoteApp", "Servi
173173
EndProject
174174
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RemoteApp.Test", "ServiceManagement\RemoteApp\Commands.RemoteApp.Test\Commands.RemoteApp.Test.csproj", "{CA82D500-1940-4068-A076-D7A8AD459FB0}"
175175
EndProject
176-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.NetworkResourceProvider", "ResourceManager\Network\Commands.NetworkResourceProvider\Commands.NetworkResourceProvider.csproj", "{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}"
177-
EndProject
178-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.NetworkResourceProvider.Test", "ResourceManager\Network\Commands.NetworkResourceProvider.Test\Commands.NetworkResourceProvider.Test.csproj", "{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}"
179-
EndProject
180176
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Compute", "ResourceManager\Compute\Commands.Compute\Commands.Compute.csproj", "{52643BD5-6378-49BD-9F6E-DAC9DD8A867B}"
181177
ProjectSection(ProjectDependencies) = postProject
182178
{E1F5201D-6067-430E-B303-4E367652991B} = {E1F5201D-6067-430E-B303-4E367652991B}
@@ -189,6 +185,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Compute.Test", "Re
189185
{4C2FE49A-09E1-4979-AD46-CD64FD04C8F7} = {4C2FE49A-09E1-4979-AD46-CD64FD04C8F7}
190186
EndProjectSection
191187
EndProject
188+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Network.Test", "ResourceManager\Network\Commands.Network.Test\Commands.Network.Test.csproj", "{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}"
189+
ProjectSection(ProjectDependencies) = postProject
190+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981} = {98CFD96B-A6BC-4F15-AE2C-603FC2B58981}
191+
EndProjectSection
192+
EndProject
193+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Network", "ResourceManager\Network\Commands.Network\Commands.Network.csproj", "{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}"
194+
EndProject
192195
Global
193196
GlobalSection(SolutionConfigurationPlatforms) = preSolution
194197
Debug|Any CPU = Debug|Any CPU
@@ -439,14 +442,6 @@ Global
439442
{CA82D500-1940-4068-A076-D7A8AD459FB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
440443
{CA82D500-1940-4068-A076-D7A8AD459FB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
441444
{CA82D500-1940-4068-A076-D7A8AD459FB0}.Release|Any CPU.Build.0 = Release|Any CPU
442-
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
443-
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|Any CPU.Build.0 = Debug|Any CPU
444-
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|Any CPU.ActiveCfg = Release|Any CPU
445-
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|Any CPU.Build.0 = Release|Any CPU
446-
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
447-
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Debug|Any CPU.Build.0 = Debug|Any CPU
448-
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Release|Any CPU.ActiveCfg = Release|Any CPU
449-
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Release|Any CPU.Build.0 = Release|Any CPU
450445
{52643BD5-6378-49BD-9F6E-DAC9DD8A867B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
451446
{52643BD5-6378-49BD-9F6E-DAC9DD8A867B}.Debug|Any CPU.Build.0 = Debug|Any CPU
452447
{52643BD5-6378-49BD-9F6E-DAC9DD8A867B}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -455,6 +450,14 @@ Global
455450
{37C44181-3F1B-4ABD-8089-26DFAB4B6BA8}.Debug|Any CPU.Build.0 = Debug|Any CPU
456451
{37C44181-3F1B-4ABD-8089-26DFAB4B6BA8}.Release|Any CPU.ActiveCfg = Release|Any CPU
457452
{37C44181-3F1B-4ABD-8089-26DFAB4B6BA8}.Release|Any CPU.Build.0 = Release|Any CPU
453+
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
454+
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Debug|Any CPU.Build.0 = Debug|Any CPU
455+
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Release|Any CPU.ActiveCfg = Release|Any CPU
456+
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}.Release|Any CPU.Build.0 = Release|Any CPU
457+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
458+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|Any CPU.Build.0 = Debug|Any CPU
459+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|Any CPU.ActiveCfg = Release|Any CPU
460+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|Any CPU.Build.0 = Release|Any CPU
458461
EndGlobalSection
459462
GlobalSection(SolutionProperties) = preSolution
460463
HideSolutionNode = FALSE
@@ -491,7 +494,7 @@ Global
491494
{469F20E0-9D40-41AD-94C3-B47AD15A4C00} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
492495
{13E031E4-8A43-4B87-9D72-D70180C31C11} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
493496
{CA82D500-1940-4068-A076-D7A8AD459FB0} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
494-
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
495497
{37C44181-3F1B-4ABD-8089-26DFAB4B6BA8} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
498+
{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
496499
EndGlobalSection
497500
EndGlobal

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@
7070
</Reference>
7171
<Reference Include="Microsoft.Azure.Management.Storage">
7272
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Storage.2.1.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll</HintPath>
73-
</Reference> <Reference Include="Microsoft.Azure.Management.Network">
73+
</Reference>
74+
<Reference Include="Microsoft.Azure.Management.Network">
7475
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.1.0.8-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
75-
</Reference> <Reference Include="Microsoft.Azure.ResourceManager">
76+
</Reference>
77+
<Reference Include="Microsoft.Azure.ResourceManager">
7678
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll</HintPath>
7779
</Reference>
7880
<Reference Include="Microsoft.Azure.Test.Framework">
@@ -157,10 +159,6 @@
157159
<Project>{c1bda476-a5cc-4394-914d-48b0ec31a710}</Project>
158160
<Name>Commands.ScenarioTests.Common</Name>
159161
</ProjectReference>
160-
<ProjectReference Include="..\..\Network\Commands.NetworkResourceProvider\Commands.NetworkResourceProvider.csproj">
161-
<Project>{98cfd96b-a6bc-4f15-ae2c-603fc2b58981}</Project>
162-
<Name>Commands.NetworkResourceProvider</Name>
163-
</ProjectReference>
164162
<ProjectReference Include="..\..\Resources\Commands.Resources\Commands.Resources.csproj">
165163
<Project>{e1f5201d-6067-430e-b303-4e367652991b}</Project>
166164
<Name>Commands.Resources</Name>
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<ProjectGuid>{A2DF4FE5-46EE-43E2-B246-E5CDDD47B752}</ProjectGuid>
99
<OutputType>Library</OutputType>
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>Microsoft.Azure.Commands.NetworkResourceProvider.Test</RootNamespace>
12-
<AssemblyName>Microsoft.Azure.Commands.NetworkResourceProvider.Test</AssemblyName>
11+
<RootNamespace>Microsoft.Azure.Commands.Network.Test</RootNamespace>
12+
<AssemblyName>Microsoft.Azure.Commands.Network.Test</AssemblyName>
1313
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<TargetFrameworkProfile />
@@ -253,10 +253,6 @@
253253
<Project>{e1f5201d-6067-430e-b303-4e367652991b}</Project>
254254
<Name>Commands.Resources</Name>
255255
</ProjectReference>
256-
<ProjectReference Include="..\Commands.NetworkResourceProvider\Commands.NetworkResourceProvider.csproj">
257-
<Project>{98cfd96b-a6bc-4f15-ae2c-603fc2b58981}</Project>
258-
<Name>Commands.NetworkResourceProvider</Name>
259-
</ProjectReference>
260256
</ItemGroup>
261257
<ItemGroup>
262258
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
using Microsoft.Azure.Test;
2525
using Microsoft.Azure.Common.Authentication;
2626

27-
namespace Commands.NetworkResourceProvider.Test
27+
namespace Commands.Network.Test
2828
{
2929
public sealed class NetworkResourcesController
3030
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
// General Information about an assembly is controlled through the following
1919
// set of attributes. Change these attribute values to modify the information
2020
// associated with an assembly.
21-
[assembly: AssemblyTitle("Microsoft.Azure.Commands.NetworkResourceProvider.Test")]
21+
[assembly: AssemblyTitle("Microsoft.Azure.Commands.Network.Test")]
2222
[assembly: AssemblyDescription("")]
2323
[assembly: AssemblyConfiguration("")]
2424
[assembly: AssemblyCompany("")]
25-
[assembly: AssemblyProduct("Microsoft.Azure.Commands.NetworkResourceProvider.Test")]
25+
[assembly: AssemblyProduct("Microsoft.Azure.Commands.Network.Test")]
2626
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
2727
[assembly: AssemblyTrademark("")]
2828
[assembly: AssemblyCulture("")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1616
using Xunit;
1717

18-
namespace Commands.NetworkResourceProvider.Test.ScenarioTests
18+
namespace Commands.Network.Test.ScenarioTests
1919
{
2020
public class LoadBalancerTests
2121
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1616
using Xunit;
1717

18-
namespace Commands.NetworkResourceProvider.Test.ScenarioTests
18+
namespace Commands.Network.Test.ScenarioTests
1919
{
2020
public class NetworkInterfaceTests
2121
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1616
using Xunit;
1717

18-
namespace Commands.NetworkResourceProvider.Test.ScenarioTests
18+
namespace Commands.Network.Test.ScenarioTests
1919
{
2020
public class NetworkSecurityGroupTests
2121
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1616
using Xunit;
1717

18-
namespace Commands.NetworkResourceProvider.Test.ScenarioTests
18+
namespace Commands.Network.Test.ScenarioTests
1919
{
2020
public class PublicIpAddressTests
2121
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1616
using Xunit;
1717

18-
namespace Commands.NetworkResourceProvider.Test.ScenarioTests
18+
namespace Commands.Network.Test.ScenarioTests
1919
{
2020
public class VirtualNetworkTests
2121
{
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>Microsoft.Azure.Commands.NetworkResourceProvider</RootNamespace>
11-
<AssemblyName>Microsoft.Azure.Commands.NetworkResourceProvider</AssemblyName>
10+
<RootNamespace>Microsoft.Azure.Commands.Network</RootNamespace>
11+
<AssemblyName>Microsoft.Azure.Commands.Network</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
@@ -20,7 +20,7 @@
2020
<DebugSymbols>true</DebugSymbols>
2121
<DebugType>full</DebugType>
2222
<Optimize>false</Optimize>
23-
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\NetworkResourceProvider</OutputPath>
23+
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Network\</OutputPath>
2424
<DefineConstants>DEBUG;TRACE</DefineConstants>
2525
<ErrorReport>prompt</ErrorReport>
2626
<WarningLevel>4</WarningLevel>
@@ -246,7 +246,7 @@
246246
</ItemGroup>
247247
<ItemGroup />
248248
<ItemGroup>
249-
<None Include="Microsoft.Azure.Commands.NetworkResourceProvider.format.ps1xml">
249+
<None Include="Microsoft.Azure.Commands.Network.format.ps1xml">
250250
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
251251
</None>
252252
<None Include="MSSharedLibKey.snk" />
@@ -262,7 +262,7 @@
262262
</EmbeddedResource>
263263
</ItemGroup>
264264
<ItemGroup>
265-
<Content Include="Microsoft.Azure.Commands.NetworkResourceProvider.dll-Help.xml">
265+
<Content Include="Microsoft.Azure.Commands.Network.dll-Help.xml">
266266
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
267267
</Content>
268268
</ItemGroup>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System;
1616
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1717

18-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
18+
namespace Microsoft.Azure.Commands.Network
1919
{
2020
public abstract class NetworkBaseCmdlet : AzurePSCmdlet
2121
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using Microsoft.Azure.Common.Authentication.Models;
1818
using Microsoft.Azure.Common.Authentication;
1919

20-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
20+
namespace Microsoft.Azure.Commands.Network
2121
{
2222
public partial class NetworkClient
2323
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
15+
namespace Microsoft.Azure.Commands.Network
1616
{
1717
using System;
1818
using System.Collections;
1919
using System.Collections.Generic;
2020
using AutoMapper;
21-
using CNM = Microsoft.Azure.Commands.NetworkResourceProvider.Models;
21+
using CNM = Microsoft.Azure.Commands.Network.Models;
2222
using MNM = Microsoft.Azure.Management.Network.Models;
2323

2424
public static class NetworkManagementMapperExtension
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
using System.Collections.Generic;
1717
using System.Linq;
1818
using System.Management.Automation;
19-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
19+
using Microsoft.Azure.Commands.Network.Models;
2020

21-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
21+
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Add, "AzureLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))]
2424
public class AddAzureLoadBalancerBackendAddressPoolConfigCommand : AzureLoadBalancerBackendAddressPoolConfigBase
@@ -62,7 +62,7 @@ public override void ExecuteCmdlet()
6262
this.NetworkClient.NetworkResourceProviderClient.Credentials.SubscriptionId,
6363
this.LoadBalancer.ResourceGroupName,
6464
this.LoadBalancer.Name,
65-
Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.LoadBalancerBackendAddressPoolName,
65+
Microsoft.Azure.Commands.Network.Properties.Resources.LoadBalancerBackendAddressPoolName,
6666
this.Name);
6767

6868
this.LoadBalancer.BackendAddressPools.Add(backendAddressPool);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
using System.Collections.Generic;
1616
using System.Management.Automation;
17-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
17+
using Microsoft.Azure.Commands.Network.Models;
1818

19-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
19+
namespace Microsoft.Azure.Commands.Network
2020
{
2121
public class AzureLoadBalancerBackendAddressPoolConfigBase : NetworkBaseCmdlet
2222
{
@@ -41,7 +41,7 @@ public override void ExecuteCmdlet()
4141
{
4242
base.ExecuteCmdlet();
4343

44-
if (string.Equals(ParameterSetName, Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.SetByResource))
44+
if (string.Equals(ParameterSetName, Microsoft.Azure.Commands.Network.Properties.Resources.SetByResource))
4545
{
4646
this.BackendIpConfigurationId = new List<string>();
4747

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
using System.Linq;
1616
using System.Management.Automation;
17-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
17+
using Microsoft.Azure.Commands.Network.Models;
1818

19-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
19+
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Get, "AzureLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSBackendAddressPool))]
2222
public class GetAzureLoadBalancerBackendAddressPoolConfigCommand : NetworkBaseCmdlet
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
using System.Collections.Generic;
1616
using System.Management.Automation;
17-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
17+
using Microsoft.Azure.Commands.Network.Models;
1818

19-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
19+
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.New, "AzureLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSBackendAddressPool))]
2222
public class NewAzureLoadBalancerBackendAddressPoolConfigCommand : AzureLoadBalancerBackendAddressPoolConfigBase
@@ -48,7 +48,7 @@ public override void ExecuteCmdlet()
4848
backendAddressPool.Id =
4949
ChildResourceHelper.GetResourceNotSetId(
5050
this.NetworkClient.NetworkResourceProviderClient.Credentials.SubscriptionId,
51-
Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.LoadBalancerBackendAddressPoolName,
51+
Microsoft.Azure.Commands.Network.Properties.Resources.LoadBalancerBackendAddressPoolName,
5252
this.Name);
5353

5454
WriteObject(backendAddressPool);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
using System.Linq;
1616
using System.Management.Automation;
17-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
17+
using Microsoft.Azure.Commands.Network.Models;
1818

19-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
19+
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))]
2222
public class RemoveAzureLoadBalancerBackendAddressPoolConfigCommand : NetworkBaseCmdlet
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
using System.Collections.Generic;
1717
using System.Linq;
1818
using System.Management.Automation;
19-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
19+
using Microsoft.Azure.Commands.Network.Models;
2020

21-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
21+
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))]
2424
public class SetAzureLoadBalancerBackendAddressPoolConfigCommand : AzureLoadBalancerBackendAddressPoolConfigBase
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using System;
16-
using Microsoft.Azure.Commands.NetworkResourceProvider.Models;
16+
using Microsoft.Azure.Commands.Network.Models;
1717
using MNM = Microsoft.Azure.Management.Network.Models;
1818

19-
namespace Microsoft.Azure.Commands.NetworkResourceProvider
19+
namespace Microsoft.Azure.Commands.Network
2020
{
2121
public static class ChildResourceHelper
2222
{
2323
public static string GetResourceId(string subscriptionId, string resourceGroupName, string loadBalancerName,
2424
string resource, string resourceName)
2525
{
26-
return string.Format(Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.LoadBalancerChildResourceId, subscriptionId, resourceGroupName,
26+
return string.Format(Microsoft.Azure.Commands.Network.Properties.Resources.LoadBalancerChildResourceId, subscriptionId, resourceGroupName,
2727
loadBalancerName, resource, resourceName);
2828
}
2929

3030
public static string GetResourceNotSetId(string subscriptionId, string resource, string resourceName)
3131
{
32-
return string.Format(Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.LoadBalancerChildResourceId, subscriptionId, Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.ResourceGroupNotSet,
33-
Microsoft.Azure.Commands.NetworkResourceProvider.Properties.Resources.LoadBalancerNameNotSet, resource, resourceName);
32+
return string.Format(Microsoft.Azure.Commands.Network.Properties.Resources.LoadBalancerChildResourceId, subscriptionId, Microsoft.Azure.Commands.Network.Properties.Resources.ResourceGroupNotSet,
33+
Microsoft.Azure.Commands.Network.Properties.Resources.LoadBalancerNameNotSet, resource, resourceName);
3434
}
3535

3636
private static string NormalizeLoadBalancerChildResourceIds(string id, string resourceGroupName, string loadBalancerName)

0 commit comments

Comments
 (0)