Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update New-AzApiManagement for issue #18439 #18451

Merged
merged 3 commits into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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