From c184553fb47b4e4b97dec638879b583d88530f6c Mon Sep 17 00:00:00 2001 From: Tiago Antunes <11945717+tiantun@users.noreply.github.com> Date: Thu, 27 May 2021 03:03:39 +0100 Subject: [PATCH] Update Set-AzNotificationHubsNamespace.md (#15103) Hi team, Proposing to add the -SkuTier parameter to the examples, since the command fails with "Set-AzNotificationHubsNamespace: The request content was invalid and could not be deserialized: Required property 'name' not found in 'sku'." if it is not provided. --- .../help/Set-AzNotificationHubsNamespace.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NotificationHubs/NotificationHubs/help/Set-AzNotificationHubsNamespace.md b/src/NotificationHubs/NotificationHubs/help/Set-AzNotificationHubsNamespace.md index 7f5d7e39ab36..37b7cd0080f4 100644 --- a/src/NotificationHubs/NotificationHubs/help/Set-AzNotificationHubsNamespace.md +++ b/src/NotificationHubs/NotificationHubs/help/Set-AzNotificationHubsNamespace.md @@ -35,17 +35,17 @@ To remove a critical namespace you must first remove the Critical tag. ### Example 1: Disable a namespace ``` -PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Disabled" +PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Disabled" -SkuTier "Standard" ``` -This command disables the namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group. +This command disables the Standard tier namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group. ### Example 2: Enable a namespace ``` -PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Active" +PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Active" -SkuTier "Standard" ``` -This command enables the namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group. +This command enables the Standard tier namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group. ## PARAMETERS