Get-AzNotificationHub
Hiermee haalt u informatie op over uw Notification Hubs.
Syntax
Get-AzNotificationHub
[-ResourceGroup] <String>
[-Namespace] <String>
[[-NotificationHub] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
De Cmdlet Get-AzNotificationHub haalt informatie op over de Notification Hubs in een opgegeven naamruimte en toegewezen aan een opgegeven resourcegroep. U kunt bijvoorbeeld informatie ophalen voor alle Notification Hubs in de naamruimte ContosoNamespace en toegewezen aan de resourcegroep ContosoNotificationsGroup. U kunt ook de parameter NotificationHub gebruiken om de geretourneerde gegevens te beperken tot informatie over een specifieke Notification Hub. Notification Hubs worden gebruikt om pushmeldingen naar meerdere clients te verzenden, ongeacht het platform, zoals iOS, Android, Windows Telefoon 8 en Windows Store, dat door deze clients wordt gebruikt. Deze hubs zijn ongeveer gelijk aan afzonderlijke apps en elk van uw apps heeft doorgaans een eigen Notification Hub. Deze cmdlet haalt alleen informatie over de hub zelf op. Andere cmdlets, zoals Get-AzNotificationHubAuthorizationRules, Get-AzNotificationHubListKeys en Get-AzNotificationHubPNSCredentials, zijn nodig om informatie op te halen over de autorisatieregels, verbindingsreeks s en servicereferenties voor platformmeldingen.
Voorbeelden
Voorbeeld 1: Informatie ophalen voor alle Notification Hubs in een specifieke naamruimte
Get-AzNotificationHub -Namespace "ContosoNamespace" -ResourceGroup "ContosoNotificationsGroup"
Met deze opdracht wordt informatie opgehaald voor alle Notification Hubs in de naamruimte ContosoNamespace die is toegewezen aan de resourcegroep ContosoNotificationsGroup.
Voorbeeld 2
Hiermee haalt u informatie op over uw Notification Hubs. (automatisch gegenereerd)
Get-AzNotificationHub -Namespace 'ContosoNamespace' -NotificationHub 'ContosoInternalHub' -ResourceGroup 'ContosoNotificationsGroup'
Parameters
-DefaultProfile
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Namespace
Hiermee geeft u de naamruimte aan waaraan de Notification Hub is toegewezen. Naamruimten bieden een manier om Notification Hubs te groeperen en te categoriseren.
Type: | String |
Position: | 1 |
standaardwaarde: | None |
Vereist: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NotificationHub
Hiermee geeft u de naam op van de Notification Hub die deze cmdlet ophaalt. Notification Hubs worden gebruikt voor het verzenden van pushmeldingen naar meerdere clients, ongeacht het platform dat door deze clients wordt gebruikt.
Type: | String |
Position: | 2 |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroup
Hiermee geeft u de resourcegroep aan waaraan de Notification Hub is toegewezen. Resourcegroepen organiseren items zoals naamruimten, notification hubs en autorisatieregels op manieren die eenvoudig voorraadbeheer en Azure-beheer helpen.
Type: | String |
Position: | 0 |
standaardwaarde: | None |
Vereist: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Invoerwaarden
Uitvoerwaarden
Verwante koppelingen
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor