Skip to content

Commit

Permalink
Update New-AzApiManagement for issue #18439
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyuezh576 committed Jun 10, 2022
1 parent affd6f8 commit 605149f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ public class NewAzureApiManagement : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "The tier of the Azure API Management service. Valid values are : " +
" - Developer " +
" - Basic " +
" - Standard " +
" - Premium " +
" - Consumption " +
"Default value is Developer.")]
HelpMessage = "The tier of the Azure API Management service. Valid values are " +
" - Developer" +
" - Basic" +
" - Standard" +
" - Premium" +
" - Consumption" +
" Default value is Developer.")]
[ValidateSet("Developer", "Basic", "Standard", "Premium", "Consumption"), PSDefaultValue(Value = "Developer")]
public PsApiManagementSku? Sku { get; set; }

[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "Sku capacity of the Azure API Management service. This parameter is optional.")]
HelpMessage = "Sku capacity of the Azure API Management service. This parameter is optional.")]
public int? Capacity { get; set; }

[Parameter(
Expand Down
3 changes: 1 addition & 2 deletions src/ApiManagement/ApiManagement/help/New-AzApiManagement.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,7 @@ Accept wildcard characters: False
### -Sku
Specifies the tier of the API Management service.
Valid values are:
The tier of the Azure API Management service. Valid values are:
- Developer
- Basic
Expand Down

0 comments on commit 605149f

Please sign in to comment.