Skip to content

Commit 1bbc260

Browse files
author
maddieclayton
authored
Merge branch 'preview' into fourth
2 parents ffbd833 + 83a91b2 commit 1bbc260

File tree

317 files changed

+74107
-1545
lines changed

Some content is hidden

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

317 files changed

+74107
-1545
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
*.cs text eol=crlf
66
*.csproj text eol=crlf
77
*.ps1 text eol=crlf
8+
*.psd1 text eol=crlf
9+
*.psm1 text eol=crlf
10+
*.ps1xml text eol=crlf
811
build.proj text eol=crlf

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ This repository contains a set of PowerShell cmdlets for developers and administ
88
* For comprehensive documentation on the developer cmdlets see the [overview of Azure PowerShell](https://aka.ms/azpsdocs).
99
* For suggesting improvements, join our improvement discussion ([Issue #3692](https://github.com/Azure/azure-powershell/issues/3692)).
1010

11+
## Modules
12+
13+
Below is a table containing the various Azure PowerShell rollup modules found in this repository. For a full list of modules found in this repository, please see the [Azure PowerShell Modules](documentation/azure-powershell-modules.md) page.
14+
15+
| Description | Module Name | PowerShell Gallery Link |
16+
| --------------------------------------------------------------- | ----------------- | ----------------------- |
17+
| Rollup Module for ARM Cmdlets | `AzureRM` | [![AzureRM](https://img.shields.io/powershellgallery/v/AzureRM.svg?style=flat-square&label=AzureRM)](https://www.powershellgallery.com/packages/AzureRM/) |
18+
| Rollup Module for .NET Core Cmdlets | `AzureRM.Netcore` | [![AzureRM.Netcore](https://img.shields.io/powershellgallery/v/AzureRM.Netcore.svg?style=flat-square&label=AzureRM.Netcore)](https://www.powershellgallery.com/packages/AzureRM.Netcore/) |
19+
| Rollup Module for Administrative Modules in Azure Stack | `AzureStack` | [![AzureStack](https://img.shields.io/powershellgallery/v/AzureStack.svg?style=flat-square&label=AzureStack)](https://www.powershellgallery.com/packages/AzureStack/) |
20+
| Rolledup Module for Service Management Cmdlets | `Azure` | [![Azure](https://img.shields.io/powershellgallery/v/Azure.svg?style=flat-square&label=Azure)](https://www.powershellgallery.com/packages/Azure/) |
21+
1122
## Features
1223

1324
* Account management

documentation/azure-powershell-modules.md

Lines changed: 110 additions & 0 deletions
Large diffs are not rendered by default.

setup/azurecmd.wxs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<Icon Id="icon.ico" SourceFile="media\WAIcon.ico"/>
2525
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
2626
<Property Id="ALLUSERS" Value="1" />
27+
<Property Id="ISVSINSTALL" Secure="yes"/>
2728
<!-- per machine install-->
2829
<Property Id="PSCOMPATIBLEVERSION">
2930
<RegistrySearch Id="PSCOMPATIBLEVERSION" Root="HKLM" Key="SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine" Name="PSCompatibleVersion" Type="raw" />
@@ -51,7 +52,7 @@
5152
<Condition Message="This setup requires the .NET Framework 4.5.2 or higher to be installed.">
5253
<!-- NETFRAMEWORK45 contains a DWORD with installed version key to versions is here: -->
5354
<!-- https://msdn.microsoft.com/en-us/library/ee942965(v=vs.110).aspx#detect_net -->
54-
<![CDATA[Installed or (NETFRAMEWORK45 >= "#379893")]]>
55+
<![CDATA[Installed or (NETFRAMEWORK45 >= "#379893") or ISVSINSTALL]]>
5556
</Condition>
5657

5758
<Directory Id="TARGETDIR" Name="SourceDir">

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/SetAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AnalysisServices
2828
public class SetAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
private const string ParamSetDefault = "Default";
31-
private const string ParamSetDisableBackup = "Disable Backup";
31+
private const string ParamSetDisableBackup = "DisableBackup";
3232

3333
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,
3434
HelpMessage = "Name of the server.")]

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Set-AzureRmAnalysisServicesServer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Set-AzureRmAnalysisServicesServer [-Name] <String> [[-ResourceGroupName] <String
1919
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2020
```
2121

22-
### Disable Backup
22+
### DisableBackup
2323
```
2424
Set-AzureRmAnalysisServicesServer [-Name] <String> [[-ResourceGroupName] <String>] [[-Sku] <String>]
2525
[[-Tag] <Hashtable>] [[-Administrator] <String>] [-PassThru] [-DisableBackup]
@@ -93,7 +93,7 @@ To re-enable the backup blob container, please provide the backup blob container
9393
9494
```yaml
9595
Type: SwitchParameter
96-
Parameter Sets: Disable Backup
96+
Parameter Sets: DisableBackup
9797
Aliases:
9898

9999
Required: True

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2727
[OutputType(typeof(string))]
2828
public class ExportAzureApiManagementApi : AzureApiManagementCmdletBase
2929
{
30-
private const string ExportContentToPipeline = "Export to pipeline";
31-
private const string ExportToFile = "Export to File";
30+
private const string ExportContentToPipeline = "ExportToPipeline";
31+
private const string ExportToFile = "ExportToFile";
3232

3333
[Parameter(
3434
ValueFromPipelineByPropertyName = true,

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementApi), ParameterSetName = new[] { FindById })]
2525
public class GetAzureApiManagementApi : AzureApiManagementCmdletBase
2626
{
27-
private const string FindByProductId = "Find by product ID";
28-
private const string FindByName = "Find by Name";
29-
private const string FindById = "Find by ID";
30-
private const string AllApis = "All APIs";
27+
private const string FindByProductId = "GetByProductId";
28+
private const string FindByName = "GetByName";
29+
private const string FindById = "GetByApiId";
30+
private const string AllApis = "GetAllApis";
3131

3232
[Parameter(
3333
ValueFromPipelineByPropertyName = true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementOAuth2AuthrozationServer), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all authorization server";
28-
private const string GetById = "Get by Id";
27+
private const string GetAll = "GetAllAuthorizationServers";
28+
private const string GetById = "GetByServerId";
2929

3030
[Parameter(
3131
ValueFromPipelineByPropertyName = true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementBackend), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementBackend : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all backends";
28-
private const string GetById = "Get by backend ID";
27+
private const string GetAll = "GetAllBackends";
28+
private const string GetById = "GetByBackendId";
2929

3030
[Parameter(
3131
ValueFromPipelineByPropertyName = true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2525
[OutputType(typeof(PsApiManagementCertificate), ParameterSetName = new[] { GetById })]
2626
public class GetAzureApiManagementCertificate : AzureApiManagementCmdletBase
2727
{
28-
private const string GetAll = "Get all certificates";
29-
private const string GetById = "Get certificate by ID";
28+
private const string GetAll = "GetAllCertificates";
29+
private const string GetById = "GetByCertificateId";
3030

3131
[Parameter(
3232
ValueFromPipelineByPropertyName = true,

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementGroup), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all groups";
28-
private const string GetById = "Get by group ID";
29-
private const string FindByUser = "Find groups by user";
30-
private const string FindByProduct = "Find groups by product";
27+
private const string GetAll = "GetAllGroups";
28+
private const string GetById = "GetByGroupId";
29+
private const string FindByUser = "GetByUserId";
30+
private const string FindByProduct = "GetByProductId";
3131

3232
[Parameter(
3333
ValueFromPipelineByPropertyName = true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementLogger), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementLogger : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all loggers";
28-
private const string GetById = "Get by logger ID";
27+
private const string GetAll = "GetAllLoggers";
28+
private const string GetById = "GetByLoggerId";
2929

3030
[Parameter(
3131
ValueFromPipelineByPropertyName = true,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementOpenIdConnectProvider), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all OpenID Connect Providers";
28-
private const string GetById = "Get by OpenID Connect Provider ID";
29-
private const string FindByName = "Find by OpenID Connect Provider friendly Name";
27+
private const string GetAll = "GetAllOpenIdConnectProviders";
28+
private const string GetById = "GetByOpenIdConnectProviderId";
29+
private const string FindByName = "GetByName";
3030

3131
[Parameter(
3232
ValueFromPipelineByPropertyName = true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementOperation), ParameterSetName = new[] { FindById })]
2525
public class GetAzureApiManagementOperation : AzureApiManagementCmdletBase
2626
{
27-
private const string FindById = "Find by ID";
28-
private const string AllApiOperations = "All API Operations";
27+
private const string FindById = "GetById";
28+
private const string AllApiOperations = "GetAllApiOperations";
2929

3030
[Parameter(
3131
ValueFromPipelineByPropertyName = true,

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2828
public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase
2929
{
3030
private const string DefaultFormat = "application/vnd.ms-azure-apim.policy+xml";
31-
private const string TenantLevel = "Tenant level";
32-
private const string ProductLevel = "Product level";
33-
private const string ApiLevel = "API level";
34-
private const string OperationLevel = "Operation level";
31+
private const string TenantLevel = "GetTenantLevel";
32+
private const string ProductLevel = "GetProductLevel";
33+
private const string ApiLevel = "GetApiLevel";
34+
private const string OperationLevel = "GetOperationLevel";
3535

3636
[Parameter(
3737
ValueFromPipelineByPropertyName = true,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementProduct), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAllProducts = "Get all producst";
28-
private const string GetById = "Get by Id";
29-
private const string GetByTitle = "Get by Title";
27+
private const string GetAllProducts = "GetAllProducts";
28+
private const string GetById = "GetByProductId";
29+
private const string GetByTitle = "GetByTitle";
3030

3131
[Parameter(
3232
ValueFromPipelineByPropertyName = true,

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementProperty), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementProperty : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all properties";
28-
private const string GetById = "Get by property ID";
29-
private const string FindByName = "Find properties containing Name";
30-
private const string FindByTag = "Find properties by Tag";
27+
private const string GetAll = "GetAllProperties";
28+
private const string GetById = "GetByPropertyId";
29+
private const string FindByName = "GetByName";
30+
private const string FindByTag = "GetByTag";
3131

3232
[Parameter(
3333
ValueFromPipelineByPropertyName = true,

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementSubscription), ParameterSetName = new[] { GetBySubscriptionId })]
2525
public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all subscriptions";
28-
private const string GetBySubscriptionId = "Get by subsctiption ID";
29-
private const string GetByUserId = "Get by user ID";
30-
private const string GetByProductId = "Get by product ID";
27+
private const string GetAll = "GetAllSubscriptions";
28+
private const string GetBySubscriptionId = "GetBySubscriptionId";
29+
private const string GetByUserId = "GetByUserId";
30+
private const string GetByProductId = "GetByProductId";
3131

3232
[Parameter(
3333
ValueFromPipelineByPropertyName = true,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementUser), ParameterSetName = new[] { GetById })]
2525
public class GetAzureApiManagementUser : AzureApiManagementCmdletBase
2626
{
27-
private const string GetAll = "Get all users";
28-
private const string GetById = "Get user by ID";
29-
private const string FindBy = "Find users";
27+
private const string GetAll = "GeAllUsers";
28+
private const string GetById = "GetByUserId";
29+
private const string FindBy = "GetByUser";
3030

3131
[Parameter(
3232
ValueFromPipelineByPropertyName = true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2222
[OutputType(typeof(PsApiManagementApi))]
2323
public class ImportAzureApiManagementApi : AzureApiManagementCmdletBase
2424
{
25-
private const string FromLocalFile = "From Local File";
26-
private const string FromUrl = "From URL";
25+
private const string FromLocalFile = "ImportFromLocalFile";
26+
private const string FromUrl = "ImportFromUrl";
2727

2828
[Parameter(
2929
ValueFromPipelineByPropertyName = true,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementCertificate))]
2525
public class NewAzureApiManagementCertificate : AzureApiManagementCmdletBase
2626
{
27-
private const string FromFile = "Load from file";
27+
private const string FromFile = "LoadFromFile";
2828
private const string Raw = "Raw";
2929

3030
[Parameter(

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2525
[OutputType(typeof(bool))]
2626
public class RemoveAzureApiManagementPolicy : AzureApiManagementCmdletBase
2727
{
28-
private const string TenantLevel = "Tenant level";
29-
private const string ProductLevel = "Product level";
30-
private const string ApiLevel = "API level";
31-
private const string OperationLevel = "Operation level";
28+
private const string TenantLevel = "RemoveTenantLevel";
29+
private const string ProductLevel = "RemoveProductLevel";
30+
private const string ApiLevel = "RemoveApiLevel";
31+
private const string OperationLevel = "RemoveOperationLevel";
3232

3333
[Parameter(
3434
ValueFromPipelineByPropertyName = true,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2424
[OutputType(typeof(PsApiManagementCertificate))]
2525
public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase
2626
{
27-
private const string FromFile = "Load from file";
27+
private const string FromFile = "LoadFromFile";
2828
private const string Raw = "Raw";
2929

3030
[Parameter(

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ public class SetAzureApiManagementPolicy : AzureApiManagementCmdletBase
2626
{
2727
private const string DefaultFormat = "application/vnd.ms-azure-apim.policy+xml";
2828

29-
private const string TenantLevel = "Tenant level";
30-
private const string ProductLevel = "Product level";
31-
private const string ApiLevel = "API level";
32-
private const string OperationLevel = "Operation level";
29+
private const string TenantLevel = "SetTenantLevel";
30+
private const string ProductLevel = "SetProductLevel";
31+
private const string ApiLevel = "SetApiLevel";
32+
private const string OperationLevel = "SetOperationLevel";
3333

3434
[Parameter(
3535
ValueFromPipelineByPropertyName = true,

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApiManagement", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(List<PsApiManagement>))]
2323
public class GetAzureApiManagement : AzureApiManagementCmdletBase
2424
{
25-
internal const string BaseParameterSetName = "All In Subscription";
26-
internal const string ResourceGroupParameterSetName = "All In Resource Group";
27-
internal const string ApiManagementParameterSetName = "Specific API Management Service";
25+
internal const string BaseParameterSetName = "GetBySubscription";
26+
internal const string ResourceGroupParameterSetName = "GetByResourceGroup";
27+
internal const string ApiManagementParameterSetName = "GetByResource";
2828

2929
[Parameter(
3030
ParameterSetName = ResourceGroupParameterSetName,

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
2121
[Cmdlet(VerbsCommon.Set, "AzureRmApiManagementHostnames", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))]
2222
public class SetAzureApiManagementHostnames : AzureApiManagementCmdletBase
2323
{
24-
internal const string FromPsApiManagementInstanceSetName = "Set from provided PsApiManagement instance";
25-
internal const string DefaultParameterSetName = "Specific API Management service";
24+
internal const string FromPsApiManagementInstanceSetName = "SetFromPsApiManagementInstance";
25+
internal const string DefaultParameterSetName = "SetSpecificService";
2626

2727
[Parameter(
2828
ParameterSetName = FromPsApiManagementInstanceSetName,

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
2323
[Cmdlet(VerbsData.Update, "AzureRmApiManagementDeployment", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))]
2424
public class UpdateAzureApiManagementDeployment : AzureApiManagementCmdletBase
2525
{
26-
internal const string FromPsApiManagementInstanceSetName = "Update from PsApiManagement instance";
27-
internal const string DefaultParameterSetName = "Specific API Management service";
26+
internal const string FromPsApiManagementInstanceSetName = "UpdateFromPsApiManagementInstance";
27+
internal const string DefaultParameterSetName = "UpdateSpecificService";
2828

2929
[Parameter(
3030
ParameterSetName = FromPsApiManagementInstanceSetName,

0 commit comments

Comments
 (0)