Skip to content

Commit

Permalink
fix for issue #18439
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainFanZzz committed Jun 9, 2022
1 parent 4fc53c7 commit affd6f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ public class NewAzureApiManagement : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "The tier of the Azure API Management service. Valid values are Developer, Consumption, Basic, Standard and Premium . 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; }

Expand Down
5 changes: 4 additions & 1 deletion src/ApiManagement/ApiManagement/help/New-AzApiManagement.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,12 @@ Specifies the tier of the API Management service.
Valid values are:
- Developer
- Basic
- Standard
- Premium
The default is Developer.
- Consumption
Default value is Developer.
```yaml
Type: System.Nullable`1[Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSku]
Expand Down

0 comments on commit affd6f8

Please sign in to comment.