From ebd594440406709d791bd064c8643e65d52c4889 Mon Sep 17 00:00:00 2001 From: Tiago Antunes <11945717+tiantun@users.noreply.github.com> Date: Tue, 25 May 2021 12:52:09 +0100 Subject: [PATCH] Update Set-AzNotificationHubsNamespace.md 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