From 605149f506e909ca47348812ea57d481547b2d13 Mon Sep 17 00:00:00 2001 From: Ziyue Zheng Date: Fri, 10 Jun 2022 14:12:34 +0800 Subject: [PATCH] Update New-AzApiManagement for issue #18439 --- .../Commands/NewAzureApiManagement.cs | 16 ++++++++-------- .../ApiManagement/help/New-AzApiManagement.md | 3 +-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/ApiManagement/ApiManagement/Commands/NewAzureApiManagement.cs b/src/ApiManagement/ApiManagement/Commands/NewAzureApiManagement.cs index 4ffe7bca5f9b..00511c4e3410 100644 --- a/src/ApiManagement/ApiManagement/Commands/NewAzureApiManagement.cs +++ b/src/ApiManagement/ApiManagement/Commands/NewAzureApiManagement.cs @@ -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( diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagement.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagement.md index 2fdf656ce61b..d1113cf207f4 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagement.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagement.md @@ -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