Skip to content

Commit

Permalink
Update New-AzApiManagement for issue #18439 (#18451)
Browse files Browse the repository at this point in the history
* fix for issue #18439

* change code in one line

* format
  • Loading branch information
CaptainFanZzz authored Jun 22, 2022
1 parent 3ee5e30 commit 6ff7d97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ 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 and Consumption. The default value is Developer. ")]
[ValidateSet("Developer", "Basic", "Standard", "Premium", "Consumption"), PSDefaultValue(Value = "Developer")]
public PsApiManagementSku? Sku { get; set; }

Expand Down
10 changes: 3 additions & 7 deletions src/ApiManagement/ApiManagement/help/New-AzApiManagement.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,9 @@ Accept wildcard characters: False
### -Sku
Specifies the tier of the API Management service.
Valid values are:
- Developer
- Standard
- Premium
The default is Developer.
The tier of the Azure API Management service.
Valid values are Developer, Basic, Standard, Premium and Consumption.
The default value is Developer.
```yaml
Type: System.Nullable`1[Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSku]
Expand Down

0 comments on commit 6ff7d97

Please sign in to comment.