< Back
Get-AzureRmNotificationHubsNamespace
Post
NAME Get-AzureRmNotificationHubsNamespace
SYNOPSIS
Gets information about a notification hub namespace.
SYNTAX
Get-AzureRmNotificationHubsNamespace [[-ResourceGroup] <String>] [[-Namespace] <String>] [-DefaultProfile <IAzureContextContainer>]
[<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.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Namespace <String>
Specifies a unique name for the namespace.
Namespaces provide a way to group and categorize notification hubs.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroup <String>
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.
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
System.Collections.Generic.List`1[Microsoft.Azure.Commands.NotificationHubs.Models.NamespaceAttributes]
NOTES
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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... snamespace
Get-AzureRmNotificationHubsNamespaceAuthorizationRules
New-AzureRmNotificationHubsNamespace
Remove-AzureRmNotificationHubsNamespace
Set-AzureRmNotificationHubsNamespace
SYNOPSIS
Gets information about a notification hub namespace.
SYNTAX
Get-AzureRmNotificationHubsNamespace [[-ResourceGroup] <String>] [[-Namespace] <String>] [-DefaultProfile <IAzureContextContainer>]
[<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.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Namespace <String>
Specifies a unique name for the namespace.
Namespaces provide a way to group and categorize notification hubs.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroup <String>
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.
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
System.Collections.Generic.List`1[Microsoft.Azure.Commands.NotificationHubs.Models.NamespaceAttributes]
NOTES
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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... snamespace
Get-AzureRmNotificationHubsNamespaceAuthorizationRules
New-AzureRmNotificationHubsNamespace
Remove-AzureRmNotificationHubsNamespace
Set-AzureRmNotificationHubsNamespace