Skip to content

Commit 91f7908

Browse files
Shadi M. El Hajj SleimanShadi M. El Hajj Sleiman
authored andcommitted
Address PR feedback
1 parent 196672b commit 91f7908

File tree

63 files changed

+237
-128
lines changed

Some content is hidden

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

63 files changed

+237
-128
lines changed

src/AzurePowershell.sln

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager2.Te
204204
EndProject
205205
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManagement.Automation.Test", "ResourceManager\Automation\Commands.Automation.Test\Commands.ResourceManagement.Automation.Test.csproj", "{59D1B5DC-9175-43EC-90C6-CBA601B3565F}"
206206
EndProject
207-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "ResourceManager\ResourceManager\Commands.ResourceManager\Common\Commands.ResourceManager.Common.csproj", "{1CBD2F22-4430-4A27-81BA-E20838D3D929}"
208-
EndProject
209-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Data", "ResourceManager\ResourceManager\Commands.ResourceManager\Data\Commands.ResourceManager.Data.csproj", "{3E446A46-1F52-4CB7-AE63-62973C3F9718}"
210-
EndProject
211-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Clients", "ResourceManager\ResourceManager\Commands.ResourceManager\Clients\Commands.ResourceManager.Clients.csproj", "{1CFE6234-2FC0-4FD0-87F8-103E06CE4133}"
212-
EndProject
213207
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Cmdlets", "ResourceManager\ResourceManager\Commands.ResourceManager\Cmdlets\Commands.ResourceManager.Cmdlets.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
214208
EndProject
215209
Global
@@ -502,18 +496,6 @@ Global
502496
{59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Debug|Any CPU.Build.0 = Debug|Any CPU
503497
{59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Release|Any CPU.ActiveCfg = Release|Any CPU
504498
{59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Release|Any CPU.Build.0 = Release|Any CPU
505-
{1CBD2F22-4430-4A27-81BA-E20838D3D929}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
506-
{1CBD2F22-4430-4A27-81BA-E20838D3D929}.Debug|Any CPU.Build.0 = Debug|Any CPU
507-
{1CBD2F22-4430-4A27-81BA-E20838D3D929}.Release|Any CPU.ActiveCfg = Release|Any CPU
508-
{1CBD2F22-4430-4A27-81BA-E20838D3D929}.Release|Any CPU.Build.0 = Release|Any CPU
509-
{3E446A46-1F52-4CB7-AE63-62973C3F9718}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
510-
{3E446A46-1F52-4CB7-AE63-62973C3F9718}.Debug|Any CPU.Build.0 = Debug|Any CPU
511-
{3E446A46-1F52-4CB7-AE63-62973C3F9718}.Release|Any CPU.ActiveCfg = Release|Any CPU
512-
{3E446A46-1F52-4CB7-AE63-62973C3F9718}.Release|Any CPU.Build.0 = Release|Any CPU
513-
{1CFE6234-2FC0-4FD0-87F8-103E06CE4133}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
514-
{1CFE6234-2FC0-4FD0-87F8-103E06CE4133}.Debug|Any CPU.Build.0 = Debug|Any CPU
515-
{1CFE6234-2FC0-4FD0-87F8-103E06CE4133}.Release|Any CPU.ActiveCfg = Release|Any CPU
516-
{1CFE6234-2FC0-4FD0-87F8-103E06CE4133}.Release|Any CPU.Build.0 = Release|Any CPU
517499
{8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
518500
{8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.Build.0 = Debug|Any CPU
519501
{8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.ActiveCfg = Release|Any CPU
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Common.Collections
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Collections
1616
{
1717
using System;
1818
using System.Collections.Generic;
19-
using Microsoft.Azure.Commands.ResourceManager.Common.Json;
19+
using Cmdlets.Json;
2020

2121
/// <summary>
2222
/// The insensitive version of dictionary.

src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Commands.ResourceManager.Cmdlets.csproj

Lines changed: 58 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,43 +47,87 @@
4747
</PropertyGroup>
4848
<ItemGroup>
4949
<Reference Include="Hyak.Common">
50+
<SpecificVersion>False</SpecificVersion>
5051
<HintPath>..\..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll</HintPath>
5152
</Reference>
5253
<Reference Include="Microsoft.Azure.Common">
54+
<SpecificVersion>False</SpecificVersion>
5355
<HintPath>..\..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll</HintPath>
5456
</Reference>
5557
<Reference Include="Microsoft.Azure.Common.Authentication">
58+
<SpecificVersion>False</SpecificVersion>
5659
<HintPath>..\..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.21-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
5760
</Reference>
58-
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
61+
<Reference Include="Microsoft.Azure.ResourceManager">
5962
<SpecificVersion>False</SpecificVersion>
6063
<HintPath>..\..\..\..\packages\Microsoft.Azure.Management.Resources.2.14.1-preview\lib\net40\Microsoft.Azure.ResourceManager.dll</HintPath>
6164
</Reference>
6265
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory">
66+
<SpecificVersion>False</SpecificVersion>
6367
<HintPath>..\..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.16.204221202\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath>
6468
<Private>True</Private>
6569
</Reference>
6670
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms">
71+
<SpecificVersion>False</SpecificVersion>
6772
<HintPath>..\..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.16.204221202\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll</HintPath>
6873
<Private>True</Private>
6974
</Reference>
70-
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
75+
<Reference Include="Newtonsoft.Json">
7176
<SpecificVersion>False</SpecificVersion>
7277
<HintPath>..\..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
7378
</Reference>
7479
<Reference Include="System" />
7580
<Reference Include="System.Core" />
76-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
81+
<Reference Include="System.Management.Automation">
7782
<Private>True</Private>
7883
<HintPath>..\..\..\..\packages\System.Management.Automation_PowerShell_3.0.6.3.9600.17400\lib\net40\System.Management.Automation.dll</HintPath>
7984
</Reference>
8085
<Reference Include="System.Net" />
8186
<Reference Include="System.Net.Http" />
87+
<Reference Include="System.Net.Http.Formatting" />
8288
<Reference Include="System.Runtime.Caching" />
89+
<Reference Include="System.Xml" />
8390
</ItemGroup>
8491
<ItemGroup>
92+
<Compile Include="Collections\InsensitiveDictionary.cs" />
93+
<Compile Include="Components\Constants.cs" />
94+
<Compile Include="Components\HttpClientHelper.cs" />
95+
<Compile Include="Components\HttpClientHelperFactory.cs" />
96+
<Compile Include="Components\HttpMethodExt.cs" />
97+
<Compile Include="Components\HttpStatusCodeExt.cs" />
98+
<Compile Include="Components\OperationResult.cs" />
99+
<Compile Include="Components\PaginatedResponseHelper.cs" />
100+
<Compile Include="Components\QueryFilterBuilder.cs" />
101+
<Compile Include="Components\ResourceIdUtility.cs" />
85102
<Compile Include="Components\ResourceManagerClientHelper.cs" />
103+
<Compile Include="Components\ResponseWithContinuation.cs" />
86104
<Compile Include="Components\TagsHelper.cs" />
105+
<Compile Include="Entities\Authorization\Permission.cs" />
106+
<Compile Include="Entities\ErrorResponses\ErrorResponseMessage.cs" />
107+
<Compile Include="Entities\ErrorResponses\ErrorResponseMessageException.cs" />
108+
<Compile Include="Entities\ErrorResponses\ExtendedErrorInfo.cs" />
109+
<Compile Include="Entities\Locks\Lock.cs" />
110+
<Compile Include="Entities\Locks\LockLevel.cs" />
111+
<Compile Include="Entities\Locks\LockProperties.cs" />
112+
<Compile Include="Entities\Operations\AzureAsyncOperationResource.cs" />
113+
<Compile Include="Entities\Providers\ResourceProviderDefinition.cs" />
114+
<Compile Include="Entities\Providers\ResourceTypeDefinition.cs" />
115+
<Compile Include="Entities\ResourceGroup\ResourceBatchMoveParameters.cs" />
116+
<Compile Include="Entities\Resources\Resource.cs" />
117+
<Compile Include="Entities\Resources\ResourcePlan.cs" />
118+
<Compile Include="Entities\Resources\TerminalProvisioningStates.cs" />
119+
<Compile Include="Extensions\AsyncExtensions.cs" />
120+
<Compile Include="Extensions\ExceptionExtensions.cs" />
121+
<Compile Include="Extensions\HttpHeadersExtensions.cs" />
122+
<Compile Include="Extensions\HttpMessageExtensions.cs" />
123+
<Compile Include="Extensions\IEnumerableExtensions.cs" />
124+
<Compile Include="Extensions\JsonExtensions.cs" />
125+
<Compile Include="Extensions\ObjectExtensions.cs" />
126+
<Compile Include="Extensions\StringExtensions.cs" />
127+
<Compile Include="Handlers\AuthenticationHandler.cs" />
128+
<Compile Include="Handlers\RetryHandler.cs" />
129+
<Compile Include="Handlers\TracingHandler.cs" />
130+
<Compile Include="Handlers\UserAgentHandler.cs" />
87131
<Compile Include="Implementation\GetAzureResourceGroupDeploymentOperationCmdlet.cs" />
88132
<Compile Include="Implementation\GetAzureResourceLockCmdlet.cs" />
89133
<Compile Include="Implementation\InvokeAzureResourceActionCmdlet.cs" />
@@ -103,8 +147,14 @@
103147
<Compile Include="Extensions\JTokenExtensions.cs" />
104148
<Compile Include="Implementation\ResourceManagerCmdletBase.cs" />
105149
<Compile Include="Implementation\SetAzureResourceLockCmdlet.cs" />
150+
<Compile Include="Json\CamelCasePropertyNamesWithOverridesContractResolver.cs" />
151+
<Compile Include="Json\JsonPreserveCaseDictionaryAttribute.cs" />
152+
<Compile Include="Json\TimeSpanConverter.cs" />
106153
<Compile Include="Properties\AssemblyInfo.cs" />
107154
<Compile Include="Implementation\GetAzureResourceCmdlet.cs" />
155+
<Compile Include="RestClients\ResourceManagerRestClientBase.cs" />
156+
<Compile Include="RestClients\ResourceManagerRestRestClient.cs" />
157+
<Compile Include="Utilities\HttpUtility.cs" />
108158
</ItemGroup>
109159
<ItemGroup />
110160
<ItemGroup>
@@ -116,18 +166,6 @@
116166
<Project>{5ee72c53-1720-4309-b54b-5fb79703195f}</Project>
117167
<Name>Commands.Common</Name>
118168
</ProjectReference>
119-
<ProjectReference Include="..\Common\Commands.ResourceManager.Common.csproj">
120-
<Project>{1CBD2F22-4430-4A27-81BA-E20838D3D929}</Project>
121-
<Name>Commands.ResourceManager.Common</Name>
122-
</ProjectReference>
123-
<ProjectReference Include="..\Clients\Commands.ResourceManager.Clients.csproj">
124-
<Project>{1cfe6234-2fc0-4fd0-87f8-103e06ce4133}</Project>
125-
<Name>Commands.ResourceManager.Clients</Name>
126-
</ProjectReference>
127-
<ProjectReference Include="..\Data\Commands.ResourceManager.Data.csproj">
128-
<Project>{3e446a46-1f52-4cb7-ae63-62973c3f9718}</Project>
129-
<Name>Commands.ResourceManager.Data</Name>
130-
</ProjectReference>
131169
</ItemGroup>
132170
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
133171
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
@@ -138,4 +176,9 @@
138176
</PropertyGroup>
139177
<Error Condition="!Exists('..\..\..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
140178
</Target>
179+
<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')" />
180+
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
181+
<Error Condition="!Exists('..\..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
182+
<Error Condition="Exists('..\..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
183+
</Target>
141184
</Project>

src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/ApiVersionHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components
2121
using System.Threading;
2222
using System.Threading.Tasks;
2323
using Microsoft.Azure.Commands.ResourceManager.Clients.Components;
24-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
25-
using Microsoft.Azure.Commands.ResourceManager.Data.Entities.Providers;
24+
using Cmdlets.Extensions;
25+
using Cmdlets.Entities.Providers;
2626
using Microsoft.Azure.Common.Authentication;
2727
using Microsoft.Azure.Common.Authentication.Models;
2828
using Microsoft.Azure.Management.Resources;

src/ResourceManager/ResourceManager/Commands.ResourceManager/Clients/Components/HttpClientHelper.cs renamed to src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/HttpClientHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Clients.Components
1919
using System.Net.Http;
2020
using System.Net.Http.Headers;
2121
using Microsoft.Azure.Commands.ResourceManager.Clients.Handlers;
22-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
22+
using Cmdlets.Extensions;
2323

2424
/// <summary>
2525
/// Factory class for creating <see cref="HttpClient"/> objects with custom headers.

src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/LongRunningOperationHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components
2121
using System.Threading.Tasks;
2222
using Clients.Components;
2323
using Microsoft.Azure.Commands.ResourceManager.Client.Components;
24-
using Microsoft.Azure.Commands.ResourceManager.Common.Collections;
25-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
26-
using Microsoft.Azure.Commands.ResourceManager.Common.Utilities;
27-
using Microsoft.Azure.Commands.ResourceManager.Data.Entities.Resources;
24+
using Cmdlets.Collections;
25+
using Cmdlets.Extensions;
26+
using Cmdlets.Utilities;
27+
using Cmdlets.Entities.Resources;
2828
using Newtonsoft.Json.Linq;
2929
using ResourceManager.Clients.RestClients;
3030

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace Microsoft.Azure.Commands.ResourceManager.Clients.Components
1818
using System.Collections.Generic;
1919
using System.Threading;
2020
using System.Threading.Tasks;
21-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
22-
using Microsoft.Azure.Commands.ResourceManager.Data.Components;
21+
using Cmdlets.Extensions;
22+
using Cmdlets.Components;
2323

2424
/// <summary>
2525
/// A helper class for iterating through paginated responses.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Clients.Components
1717
using System;
1818
using System.Linq;
1919
using System.Text;
20-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
20+
using Cmdlets.Extensions;
2121

2222
/// <summary>
2323
/// A class that builds query filters.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Clients.Components
1717
using System;
1818
using System.Linq;
1919
using System.Text;
20-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
20+
using Cmdlets.Extensions;
2121

2222
/// <summary>
2323
/// Class for building and parsing resource Ids.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Components
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components
1616
{
1717
using System.Collections;
1818
using Newtonsoft.Json;

src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/TagsHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components
1818
using System.Collections;
1919
using System.Collections.Generic;
2020
using System.Linq;
21-
using Microsoft.Azure.Commands.ResourceManager.Common.Collections;
22-
using Microsoft.Azure.Commands.ResourceManager.Common.Extensions;
21+
using Cmdlets.Collections;
22+
using Cmdlets.Extensions;
2323

2424
/// <summary>
2525
/// Helper class for tags.

src/ResourceManager/ResourceManager/Commands.ResourceManager/Data/Entities/Authorization/Permission.cs renamed to src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Entities/Authorization/Permission.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Authorization
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Authorization
1616
{
1717
using Newtonsoft.Json;
1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.ErrorResponses
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses
1616
{
1717
using Newtonsoft.Json;
1818

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.ErrorResponses
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses
1616
{
1717
using System;
1818
using System.Net;
19-
using Microsoft.Azure.Commands.ResourceManager.Common.Utilities;
19+
using Cmdlets.Utilities;
2020

2121
/// <summary>
2222
/// The error response message exception.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.ErrorResponses
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses
1616
{
1717
using Newtonsoft.Json;
1818

src/ResourceManager/ResourceManager/Commands.ResourceManager/Data/Entities/Locks/Lock.cs renamed to src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Entities/Locks/Lock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Locks
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Locks
1616
{
1717
using Newtonsoft.Json;
1818

src/ResourceManager/ResourceManager/Commands.ResourceManager/Data/Entities/Locks/LockLevel.cs renamed to src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Entities/Locks/LockLevel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Locks
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Locks
1616
{
1717
/// <summary>
1818
/// The lock level allowed.

src/ResourceManager/ResourceManager/Commands.ResourceManager/Data/Entities/Locks/LockProperties.cs renamed to src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Entities/Locks/LockProperties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using Newtonsoft.Json;
1616

17-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Locks
17+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Locks
1818
{
1919
/// <summary>
2020
/// The lock properties.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Operations
15+
using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses;
16+
17+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Operations
1618
{
17-
using Microsoft.Azure.Commands.ResourceManager.Data.Entities.ErrorResponses;
19+
using Cmdlets.Entities.ErrorResponses;
1820
using Newtonsoft.Json;
1921

2022
/// <summary>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Providers
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Providers
1616
{
1717
using Newtonsoft.Json;
1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Providers
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Providers
1616
{
1717
using Newtonsoft.Json;
1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.ResourceGroups
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ResourceGroups
1616
{
1717
using Newtonsoft.Json;
1818

src/ResourceManager/ResourceManager/Commands.ResourceManager/Data/Entities/Resources/Resource.cs renamed to src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Entities/Resources/Resource.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Data.Entities.Resources
15+
namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Resources
1616
{
1717
using System;
18-
using Microsoft.Azure.Commands.ResourceManager.Common.Collections;
18+
using Cmdlets.Collections;
1919
using Newtonsoft.Json;
2020

2121
/// <summary>

0 commit comments

Comments
 (0)