Get-​Azure​Rm​Notification​Hubs​Namespace

Gets information about a notification hub namespace.

Syntax

Get-AzureRmNotificationHubsNamespace
   [[-ResourceGroup] <String>]
   [[-Namespace] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmNotificationHubsNamespace cmdlet gets information about notification hub namespaces. This cmdlet provides you the option of getting information for all your namespaces, information about the namespaces assigned to a specified resource group; or for returning information about a specific namespace.

Namespaces are logical containers that help you organize and manage your notification hubs. You must have at least one notification hub namespace: all notification hubs must be assigned to a namespace. A single namespace can house multiple hubs which means that you might only need one namespace in your organization. However, you can also have multiple namespaces to better organize your hubs, or to give specific individuals permission to manage a selected subset of hubs.

The Get-AzureRmNotificationHubsNamespace cmdlet returns basic information about the namespace itself. To get information about the authorization rules associated with a namespace use Get-AzureRmNotificationHubsNamespaceAuthorizationRules.

Examples

Example 1: Get information for all notification hub namespaces

PS C:\>Get-AzureRmNotificationHubsNamespace

This command returns information for all your notification hub namespaces.

Example 2: Get information for a single notification hub namespace

PS C:\>Get-AzureRmNotificationHubsNamespace -Namespace "ContosoNamespace"

This command gets information for a single notification hub namespace: ContosoNamespace.

Example 3: Get information for all notification hubs assigned to a specific namespace

PS C:\>Get-AzureRmNotificationHubsNamespace -ResourceGroup "ContosoNotificationsGroup"

This command gets information for all notification hub namespaces assigned to the resource group ContosoNotificationsGroup.

Optional Parameters

-Namespace

Specifies a unique name for the namespace.Namespaces provide a way to group and categorize notification hubs.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroup

Specifies the resource group to which the namespace is assigned.Resource groups organize items such as namespaces, notification hubs, and authorization rules in ways that help simply inventory management and Azure administration.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False