Skip to content

Commit 5ea822f

Browse files
authored
Merge pull request Azure#4884 from cormacpayne/fix-parameter-sets
Fix parameter set names containing spaces
2 parents 77dd550 + b910807 commit 5ea822f

File tree

243 files changed

+1941
-1646
lines changed

Some content is hidden

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

243 files changed

+1941
-1646
lines changed

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,

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Export-AzureRmApiManagementApi.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
external help file: Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-Help.xml
3+
Module Name: AzureRM.ApiManagement
34
ms.assetid: 2BA76B02-B786-4A77-86E0-E7D4191120B5
45
online version:
56
schema: 2.0.0
@@ -12,14 +13,14 @@ Exports an API to a file.
1213

1314
## SYNTAX
1415

15-
### Export to pipeline (Default)
16+
### ExportToPipeline (Default)
1617
```
1718
Export-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String>
1819
-SpecificationFormat <PsApiManagementApiFormat> [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
1920
[-Confirm] [<CommonParameters>]
2021
```
2122

22-
### Export to File
23+
### ExportToFile
2324
```
2425
Export-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String>
2526
-SpecificationFormat <PsApiManagementApiFormat> -SaveAs <String> [-Force] [-PassThru]
@@ -91,7 +92,7 @@ Indicates that this operation overwrites the file of the same name if it already
9192
9293
```yaml
9394
Type: SwitchParameter
94-
Parameter Sets: Export to File
95+
Parameter Sets: ExportToFile
9596
Aliases:
9697

9798
Required: False
@@ -106,7 +107,7 @@ Indicates that this operation returns $True if the API is exported successfully,
106107
107108
```yaml
108109
Type: SwitchParameter
109-
Parameter Sets: Export to File
110+
Parameter Sets: ExportToFile
110111
Aliases:
111112

112113
Required: False
@@ -121,7 +122,7 @@ Specifies the file path to which to save the exported API.
121122
122123
```yaml
123124
Type: String
124-
Parameter Sets: Export to File
125+
Parameter Sets: ExportToFile
125126
Aliases:
126127

127128
Required: True

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagement.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
external help file: Microsoft.Azure.Commands.ApiManagement.dll-Help.xml
3+
Module Name: AzureRM.ApiManagement
34
ms.assetid: DBA7AD5F-CC13-417A-B753-F998942530BB
45
online version:
56
schema: 2.0.0
@@ -12,18 +13,18 @@ Gets a list or a particular API Management Service description.
1213

1314
## SYNTAX
1415

15-
### All In Subscription (Default)
16+
### GetBySubscription (Default)
1617
```
1718
Get-AzureRmApiManagement [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1819
```
1920

20-
### All In Resource Group
21+
### GetByResourceGroup
2122
```
2223
Get-AzureRmApiManagement -ResourceGroupName <String> [-DefaultProfile <IAzureContextContainer>]
2324
[<CommonParameters>]
2425
```
2526

26-
### Specific API Management Service
27+
### GetByResource
2728
```
2829
Get-AzureRmApiManagement -ResourceGroupName <String> -Name <String> [-DefaultProfile <IAzureContextContainer>]
2930
[<CommonParameters>]
@@ -70,7 +71,7 @@ Specifies the name of API Management service.
7071
7172
```yaml
7273
Type: String
73-
Parameter Sets: Specific API Management Service
74+
Parameter Sets: GetByResource
7475
Aliases:
7576

7677
Required: True
@@ -85,7 +86,7 @@ Specifies the name of the resource group under in which this cmdlet gets the API
8586
8687
```yaml
8788
Type: String
88-
Parameter Sets: All In Resource Group, Specific API Management Service
89+
Parameter Sets: GetByResourceGroup, GetByResource
8990
Aliases:
9091

9192
Required: True

0 commit comments

Comments
 (0)