Partager via


NotificationHubs interface

Interface représentant un NotificationHubs.

Méthodes

checkNotificationHubAvailability(string, string, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams)

Vérifie la disponibilité du notificationHub donné dans un espace de noms.

createOrUpdate(string, string, string, NotificationHubCreateOrUpdateParameters, NotificationHubsCreateOrUpdateOptionalParams)

Crée/met à jour un NotificationHub dans un espace de noms.

createOrUpdateAuthorizationRule(string, string, string, string, SharedAccessAuthorizationRuleCreateOrUpdateParameters, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams)

Crée/met à jour une règle d’autorisation pour un NotificationHub

debugSend(string, string, string, NotificationHubsDebugSendOptionalParams)

tester l’envoi d’une notification Push

delete(string, string, string, NotificationHubsDeleteOptionalParams)

Supprime un hub de notification associé à un espace de noms.

deleteAuthorizationRule(string, string, string, string, NotificationHubsDeleteAuthorizationRuleOptionalParams)

Supprime une règle d’autorisation notificationHub

get(string, string, string, NotificationHubsGetOptionalParams)

Répertorie les hubs de notification associés à un espace de noms.

getAuthorizationRule(string, string, string, string, NotificationHubsGetAuthorizationRuleOptionalParams)

Obtient une règle d’autorisation pour un NotificationHub par nom.

getPnsCredentials(string, string, string, NotificationHubsGetPnsCredentialsOptionalParams)

Répertorie les informations d’identification PNS associées à un hub de notification.

list(string, string, NotificationHubsListOptionalParams)

Répertorie les hubs de notification associés à un espace de noms.

listAuthorizationRules(string, string, string, NotificationHubsListAuthorizationRulesOptionalParams)

Obtient les règles d’autorisation d’un NotificationHub.

listKeys(string, string, string, string, NotificationHubsListKeysOptionalParams)

Obtient les chaînes de connexion primaire et secondaire à NotificationHub

patch(string, string, string, NotificationHubsPatchOptionalParams)

Corriger un NotificationHub dans un espace de noms.

regenerateKeys(string, string, string, string, PolicykeyResource, NotificationHubsRegenerateKeysOptionalParams)

Régénère les clés primaires/secondaires dans la règle d’autorisation NotificationHub

Détails de la méthode

checkNotificationHubAvailability(string, string, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams)

Vérifie la disponibilité du notificationHub donné dans un espace de noms.

function checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: CheckAvailabilityParameters, options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams): Promise<CheckAvailabilityResult>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

parameters
CheckAvailabilityParameters

Nom de notificationHub.

Retours

createOrUpdate(string, string, string, NotificationHubCreateOrUpdateParameters, NotificationHubsCreateOrUpdateOptionalParams)

Crée/met à jour un NotificationHub dans un espace de noms.

function createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubCreateOrUpdateParameters, options?: NotificationHubsCreateOrUpdateOptionalParams): Promise<NotificationHubResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

parameters
NotificationHubCreateOrUpdateParameters

Paramètres fournis pour créer/mettre à jour une ressource NotificationHub.

options
NotificationHubsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

createOrUpdateAuthorizationRule(string, string, string, string, SharedAccessAuthorizationRuleCreateOrUpdateParameters, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams)

Crée/met à jour une règle d’autorisation pour un NotificationHub

function createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<SharedAccessAuthorizationRuleResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

authorizationRuleName

string

Nom de la règle d’autorisation.

parameters
SharedAccessAuthorizationRuleCreateOrUpdateParameters

Règle d’autorisation d’accès partagé.

Retours

debugSend(string, string, string, NotificationHubsDebugSendOptionalParams)

tester l’envoi d’une notification Push

function debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDebugSendOptionalParams): Promise<DebugSendResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

options
NotificationHubsDebugSendOptionalParams

Paramètres d’options.

Retours

delete(string, string, string, NotificationHubsDeleteOptionalParams)

Supprime un hub de notification associé à un espace de noms.

function delete(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

options
NotificationHubsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

deleteAuthorizationRule(string, string, string, string, NotificationHubsDeleteAuthorizationRuleOptionalParams)

Supprime une règle d’autorisation notificationHub

function deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsDeleteAuthorizationRuleOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

authorizationRuleName

string

Nom de la règle d’autorisation.

Retours

Promise<void>

get(string, string, string, NotificationHubsGetOptionalParams)

Répertorie les hubs de notification associés à un espace de noms.

function get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetOptionalParams): Promise<NotificationHubResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

options
NotificationHubsGetOptionalParams

Paramètres d’options.

Retours

getAuthorizationRule(string, string, string, string, NotificationHubsGetAuthorizationRuleOptionalParams)

Obtient une règle d’autorisation pour un NotificationHub par nom.

function getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsGetAuthorizationRuleOptionalParams): Promise<SharedAccessAuthorizationRuleResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms

notificationHubName

string

Nom du hub de notification.

authorizationRuleName

string

nom de la règle d’autorisation.

options
NotificationHubsGetAuthorizationRuleOptionalParams

Paramètres d’options.

Retours

getPnsCredentials(string, string, string, NotificationHubsGetPnsCredentialsOptionalParams)

Répertorie les informations d’identification PNS associées à un hub de notification.

function getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetPnsCredentialsOptionalParams): Promise<PnsCredentialsResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

options
NotificationHubsGetPnsCredentialsOptionalParams

Paramètres d’options.

Retours

list(string, string, NotificationHubsListOptionalParams)

Répertorie les hubs de notification associés à un espace de noms.

function list(resourceGroupName: string, namespaceName: string, options?: NotificationHubsListOptionalParams): PagedAsyncIterableIterator<NotificationHubResource, NotificationHubResource[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

options
NotificationHubsListOptionalParams

Paramètres d’options.

Retours

listAuthorizationRules(string, string, string, NotificationHubsListAuthorizationRulesOptionalParams)

Obtient les règles d’autorisation d’un NotificationHub.

function listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource, SharedAccessAuthorizationRuleResource[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms

notificationHubName

string

Nom du hub de notification.

options
NotificationHubsListAuthorizationRulesOptionalParams

Paramètres d’options.

Retours

listKeys(string, string, string, string, NotificationHubsListKeysOptionalParams)

Obtient les chaînes de connexion primaire et secondaire à NotificationHub

function listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsListKeysOptionalParams): Promise<ResourceListKeys>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

authorizationRuleName

string

Chaîne de connexion de NotificationHub pour l’autorisationRule spécifiée.

options
NotificationHubsListKeysOptionalParams

Paramètres d’options.

Retours

Promise<ResourceListKeys>

patch(string, string, string, NotificationHubsPatchOptionalParams)

Corriger un NotificationHub dans un espace de noms.

function patch(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsPatchOptionalParams): Promise<NotificationHubResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

options
NotificationHubsPatchOptionalParams

Paramètres d’options.

Retours

regenerateKeys(string, string, string, string, PolicykeyResource, NotificationHubsRegenerateKeysOptionalParams)

Régénère les clés primaires/secondaires dans la règle d’autorisation NotificationHub

function regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: PolicykeyResource, options?: NotificationHubsRegenerateKeysOptionalParams): Promise<ResourceListKeys>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

namespaceName

string

Nom de l’espace de noms.

notificationHubName

string

Nom du hub de notification.

authorizationRuleName

string

Chaîne de connexion de NotificationHub pour l’autorisationRule spécifiée.

parameters
PolicykeyResource

Paramètres fournis pour régénérer la clé de règle d’autorisation NotificationHub.

options
NotificationHubsRegenerateKeysOptionalParams

Paramètres d’options.

Retours

Promise<ResourceListKeys>