Skip to content

Commit c184553

Browse files
authored
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.
1 parent 8949ee5 commit c184553

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/NotificationHubs/NotificationHubs/help/Set-AzNotificationHubsNamespace.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ To remove a critical namespace you must first remove the Critical tag.
3535

3636
### Example 1: Disable a namespace
3737
```
38-
PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Disabled"
38+
PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Disabled" -SkuTier "Standard"
3939
```
4040

41-
This command disables the namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group.
41+
This command disables the Standard tier namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group.
4242

4343
### Example 2: Enable a namespace
4444
```
45-
PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Active"
45+
PS C:\>Set-AzNotificationHubsNamespace -Namespace "ContosoPartners" -Location "West US" -ResourceGroup "ContosoNotificationsGroup" -State "Active" -SkuTier "Standard"
4646
```
4747

48-
This command enables the namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group.
48+
This command enables the Standard tier namespace named ContosoPartners located in the West US datacenter and assigned to the ContosoNotificationsGroup resource group.
4949

5050
## PARAMETERS
5151

0 commit comments

Comments
 (0)