Skip to content

Commit 3245193

Browse files
committed
Merging changes from Azure release
2 parents 56de02e + 2cc2e63 commit 3245193

File tree

679 files changed

+20379
-19684
lines changed

Some content is hidden

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

679 files changed

+20379
-19684
lines changed

build.proj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<SetupOutputDirectory>$(PublishDirectory)\Setup</SetupOutputDirectory>
3737
<TestOutputDirectory>$(PublishDirectory)\TestResults</TestOutputDirectory>
3838
<BuildInParallel Condition="'$(BuildInParallel)' == ''">true</BuildInParallel>
39+
<NuGetPublishingSource Condition=" '$(NuGetPublishingSource)' != '' ">http://psget/PSGallery/api/v2/</NuGetPublishingSource>
3940
</PropertyGroup>
4041
<ItemGroup>
4142
<AzureResourceManagerSln Include=".\src\ResourceManager.sln" />
@@ -115,6 +116,7 @@
115116
<NuGetCommand>$(MSBuildProjectDirectory)\src\.nuget\NuGet.exe</NuGetCommand>
116117
<NuGetRestoreConfigFile>$(MSBuildProjectDirectory)\restore.config</NuGetRestoreConfigFile>
117118
<NuGetRestoreConfigSwitch>-ConfigFile &quot;$(NuGetRestoreConfigFile)&quot;</NuGetRestoreConfigSwitch>
119+
<PowerShellCommand>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</PowerShellCommand>
118120
</PropertyGroup>
119121

120122
<!--
@@ -285,6 +287,14 @@
285287
<!--If we are testing locally then we copy the binaries and do not submit to the code sign server-->
286288
<Copy SourceFiles="@(InstallersToSign)" DestinationFolder="signed" Condition="$(DelaySign)" />
287289
</Target>
290+
291+
<!-- Publish all packages -->
292+
<Target Name="Publish" DependsOnTargets="Build">
293+
<Error Condition=" '$(NuGetKey)' == '' " Text="You must provide the NuGetKey parameter to the build: /p:NuGetKey=YOUR_PUBLISHING_KEY" />
294+
<Message Importance="high" Text="Publishing Cmdlets..." />
295+
296+
<Exec Command="$(PowerShellCommand) -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\PublishModules.ps1 $(Configuration) $(NuGetKey) \&quot;$(NuGetPublishingSource)\&quot;&quot;"/>
297+
</Target>
288298

289299
<PropertyGroup>
290300
<RunTestLive Condition="'$(RunTestLive)' == ''">false</RunTestLive>

setup-powershellget/Setup/ShortcutStartup.ps1

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,36 @@ Param(
1717
[switch]$Install
1818
)
1919

20-
cd c:\
21-
$welcomeMessage = @"
20+
$error.clear()
21+
try {
22+
if ($Install.IsPresent) {
23+
Write-Output @"
24+
25+
Finalizing installation of Azure PowerShell.
26+
Installing Azure Modules from PowerShell Gallery.
27+
This may take some time...
28+
"@
29+
Import-Module PackageManagement
30+
Get-PackageProvider -Name NuGet -ForceBootstrap
31+
32+
$NuGetPublishingSource = $env:NuGetPublishingSource
33+
if ([string]::IsNullOrWhiteSpace($NuGetPublishingSource)) {
34+
Install-Module AzureRM -Repository $NuGetPublishingSource
35+
} else {
36+
Install-Module AzureRM
37+
}
38+
} else {
39+
cd c:\
40+
$welcomeMessage = @"
2241
For a list of all Azure cmdlets type 'help azure'.
2342
For a list of Azure Pack cmdlets type 'Get-Command *wapack*'.
2443
"@
25-
Write-Output $welcomeMessage
44+
Write-Output $welcomeMessage
2645

27-
$VerbosePreference = "Continue"
46+
$VerbosePreference = "Continue"
47+
}
48+
}
49+
catch { Write-Output $error }
50+
if ($error) {
51+
Read-Host -Prompt "An error occured during installation. Press any key..."
52+
}

setup-powershellget/azurecmd.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<CustomAction Id="SetCustomActionDataValue" Return="check" Property="UpdatePSShortcut"
103103
Value="ShortcutPath=[AzureSdkMenu]Microsoft Azure PowerShell.lnk;DefaultShortcutPath=[ProgramMenuFolder]System Tools\Windows PowerShell.lnk" />
104104
<CustomAction Id="SetExecutionPolicy" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -Command &quot;Set-ExecutionPolicy RemoteSigned -Force&quot;" Execute="deferred" Impersonate="no" Return="check"/>
105-
<CustomAction Id="RunModuleInstallScript" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -Command &quot;\&quot;[PowerShellFolder]\ShortcutStartup.ps1 -Install\&quot;&quot;" Execute="deferred" Impersonate="no" Return="check"/>
105+
<CustomAction Id="RunModuleInstallScript" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -Command &quot;. \&quot;[PowerShellFolder]\ShortcutStartup.ps1\&quot; -Install&quot;" Execute="deferred" Impersonate="no" Return="check"/>
106106

107107
<InstallExecuteSequence>
108108
<Custom Action="SetCustomActionDataValue" After="CreateShortcuts">NOT Installed</Custom>

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
// // Copyright (c) Microsoft. All rights reserved.// // Licensed under the Apache License, Version 2.0 (the "License");// you may not use this file except in compliance with the License.// You may obtain a copy of the License at// http://www.apache.org/licenses/LICENSE-2.0// // Unless required by applicable law or agreed to in writing, software// distributed under the License is distributed on an "AS IS" BASIS,// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.// See the License for the specific language governing permissions and// limitations under the License.namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands{ using System; using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementApiToProduct")] [OutputType(typeof(bool))] public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase { [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] [ValidateNotNullOrEmpty] public PsApiManagementContext Context { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")] [ValidateNotNullOrEmpty] public String ProductId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")] [ValidateNotNullOrEmpty] public String ApiId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] public SwitchParameter PassThru { get; set; } public override void ExecuteApiManagementCmdlet() { Client.ApiAddToProduct(Context, ProductId, ApiId); if (PassThru) { WriteObject(true); } } }}
1+
// // Copyright (c) Microsoft. All rights reserved.// // Licensed under the Apache License, Version 2.0 (the "License");// you may not use this file except in compliance with the License.// You may obtain a copy of the License at// http://www.apache.org/licenses/LICENSE-2.0// // Unless required by applicable law or agreed to in writing, software// distributed under the License is distributed on an "AS IS" BASIS,// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.// See the License for the specific language governing permissions and// limitations under the License.namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands{ using System; using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementApiToProduct")] [OutputType(typeof(bool))] public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase { [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] [ValidateNotNullOrEmpty] public PsApiManagementContext Context { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")] [ValidateNotNullOrEmpty] public String ProductId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")] [ValidateNotNullOrEmpty] public String ApiId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] public SwitchParameter PassThru { get; set; } public override void ExecuteApiManagementCmdlet() { Client.ApiAddToProduct(Context, ProductId, ApiId); if (PassThru) { WriteObject(true); } } }}

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2020

21-
[Cmdlet(VerbsCommon.Add, "AzureRMApiManagementProductToGroup")]
21+
[Cmdlet(VerbsCommon.Add, "AzureRmApiManagementProductToGroup")]
2222
[OutputType(typeof(bool))]
2323
public class AddAzureApiManagementProductToGroup : AzureApiManagementCmdletBase
2424
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2020

21-
[Cmdlet(VerbsCommon.Add, "AzureRMApiManagementUserToGroup")]
21+
[Cmdlet(VerbsCommon.Add, "AzureRmApiManagementUserToGroup")]
2222
[OutputType(typeof(bool))]
2323
public class AddAzureApiManagementUserToGroup : AzureApiManagementCmdletBase
2424
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2222
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2323
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
2424

25-
[Cmdlet(VerbsData.Export, "AzureRMApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)]
25+
[Cmdlet(VerbsData.Export, "AzureRmApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)]
2626
[OutputType(typeof(string))]
2727
public class ExportAzureApiManagementApi : AzureApiManagementCmdletBase
2828
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementApi", DefaultParameterSetName = AllApis)]
22+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementApi", DefaultParameterSetName = AllApis)]
2323
[OutputType(typeof(IList<PsApiManagementApi>))]
2424
public class GetAzureApiManagementApi : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementAuthorizationServer")]
22+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementAuthorizationServer")]
2323
[OutputType(typeof(IList<PsApiManagementOAuth2AuthrozationServer>))]
2424
public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2020
using System.Runtime.InteropServices;
2121
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2222

23-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementCertificate", DefaultParameterSetName = GetAll)]
23+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementCertificate", DefaultParameterSetName = GetAll)]
2424
[OutputType(typeof(IList<PsApiManagementCertificate>))]
2525
public class GetAzureApiManagementCertificate : AzureApiManagementCmdletBase
2626
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2020

21-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementGroup", DefaultParameterSetName = GetAll)]
21+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementGroup", DefaultParameterSetName = GetAll)]
2222
[OutputType(typeof(PsApiManagementGroup))]
2323
public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase
2424
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementOperation", DefaultParameterSetName = AllApiOperations)]
22+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementOperation", DefaultParameterSetName = AllApiOperations)]
2323
[OutputType(typeof(IList<PsApiManagementOperation>))]
2424
public class GetAzureApiManagementOperation : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2222
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2323
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
2424

25-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
25+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
2626
[OutputType(typeof(string))]
2727
public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase
2828
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementProduct", DefaultParameterSetName = GetAllProducts)]
22+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementProduct", DefaultParameterSetName = GetAllProducts)]
2323
[OutputType(typeof(IList<PsApiManagementProduct>))]
2424
public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementSubscription", DefaultParameterSetName = GetAll)]
22+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementSubscription", DefaultParameterSetName = GetAll)]
2323
[OutputType(typeof(IList<PsApiManagementSubscription>))]
2424
public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementUser", DefaultParameterSetName = GetAll)]
22+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUser", DefaultParameterSetName = GetAll)]
2323
[OutputType(typeof(IList<PsApiManagementUser>))]
2424
public class GetAzureApiManagementUser : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2020

21-
[Cmdlet(VerbsCommon.Get, "AzureRMApiManagementUserSsoUrl")]
21+
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUserSsoUrl")]
2222
[OutputType(typeof(string))]
2323
public class GetAzureApiManagementUserSsoUrl : AzureApiManagementCmdletBase
2424
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2020

21-
[Cmdlet(VerbsData.Import, "AzureRMApiManagementApi", DefaultParameterSetName = FromLocalFile)]
21+
[Cmdlet(VerbsData.Import, "AzureRmApiManagementApi", DefaultParameterSetName = FromLocalFile)]
2222
[OutputType(typeof(PsApiManagementApi))]
2323
public class ImportAzureApiManagementApi : AzureApiManagementCmdletBase
2424
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.New, "AzureRMApiManagementApi")]
22+
[Cmdlet(VerbsCommon.New, "AzureRmApiManagementApi")]
2323
[OutputType(typeof(PsApiManagementApi))]
2424
public class NewAzureApiManagementApi : AzureApiManagementCmdletBase
2525
{
@@ -118,7 +118,7 @@ public override void ExecuteApiManagementCmdlet()
118118

119119
if (ProductIds != null && ProductIds.Any())
120120
{
121-
WriteProgress(new ProgressRecord(0, "New-AzureRMApiManagementApi", "New API created. Adding to products..."));
121+
WriteProgress(new ProgressRecord(0, "New-AzureRmApiManagementApi", "New API created. Adding to products..."));
122122

123123
foreach (var productId in ProductIds)
124124
{
@@ -128,7 +128,7 @@ public override void ExecuteApiManagementCmdlet()
128128
WriteProgress(
129129
new ProgressRecord(
130130
0,
131-
"New-AzureRMApiManagementApi",
131+
"New-AzureRmApiManagementApi",
132132
string.Format("... Added to product {0}", productId))
133133
);
134134
}
@@ -137,7 +137,7 @@ public override void ExecuteApiManagementCmdlet()
137137
WriteProgress(
138138
new ProgressRecord(
139139
0,
140-
"New-AzureRMApiManagementApi",
140+
"New-AzureRmApiManagementApi",
141141
string.Format("... Failed to add to product {0} due to: {1}", productId, ex))
142142
);
143143
}

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2121

22-
[Cmdlet(VerbsCommon.New, "AzureRMApiManagementAuthorizationServer")]
22+
[Cmdlet(VerbsCommon.New, "AzureRmApiManagementAuthorizationServer")]
2323
[OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))]
2424
public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
2525
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2020
using System.Security.Cryptography.X509Certificates;
2121
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2222

23-
[Cmdlet(VerbsCommon.New, "AzureRMApiManagementCertificate", DefaultParameterSetName = FromFile)]
23+
[Cmdlet(VerbsCommon.New, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)]
2424
[OutputType(typeof(PsApiManagementCertificate))]
2525
public class NewAzureApiManagementCertificate : AzureApiManagementCmdletBase
2626
{

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
1919
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2020

21-
[Cmdlet(VerbsCommon.New, "AzureRMApiManagementContext"), OutputType(typeof (PsApiManagementContext))]
21+
[Cmdlet(VerbsCommon.New, "AzureRmApiManagementContext"), OutputType(typeof (PsApiManagementContext))]
2222
public class NewAzureApiManagementContext : AzureApiManagementCmdletBase
2323
{
2424
[Parameter(

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
2020

21-
[Cmdlet(VerbsCommon.New, "AzureRMApiManagementGroup")]
21+
[Cmdlet(VerbsCommon.New, "AzureRmApiManagementGroup")]
2222
[OutputType(typeof(PsApiManagementGroup))]
2323
public class NewAzureApiManagementGroup : AzureApiManagementCmdletBase
2424
{

0 commit comments

Comments
 (0)