Partager via


NotificationRecipientUser interface

Interface représentant un NotificationRecipientUser.

Méthodes

checkEntityExists(string, string, string, string, NotificationRecipientUserCheckEntityExistsOptionalParams)

Déterminez si l’utilisateur destinataire de la notification est abonné à la notification.

createOrUpdate(string, string, string, string, NotificationRecipientUserCreateOrUpdateOptionalParams)

Ajoute l’utilisateur gestion des API à la liste des destinataires de la notification.

delete(string, string, string, string, NotificationRecipientUserDeleteOptionalParams)

Supprime l’utilisateur Gestion des API de la liste des notifications.

listByNotification(string, string, string, NotificationRecipientUserListByNotificationOptionalParams)

Obtient la liste de l’utilisateur destinataire de notification abonné à la notification.

Détails de la méthode

checkEntityExists(string, string, string, string, NotificationRecipientUserCheckEntityExistsOptionalParams)

Déterminez si l’utilisateur destinataire de la notification est abonné à la notification.

function checkEntityExists(resourceGroupName: string, serviceName: string, notificationName: string, userId: string, options?: NotificationRecipientUserCheckEntityExistsOptionalParams): Promise<NotificationRecipientUserCheckEntityExistsResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

serviceName

string

Nom du service Gestion des API.

notificationName

string

Identificateur de nom de notification.

userId

string

Identificateur de l’utilisateur. Doit être unique dans l’instance actuelle du service Gestion des API.

Retours

createOrUpdate(string, string, string, string, NotificationRecipientUserCreateOrUpdateOptionalParams)

Ajoute l’utilisateur gestion des API à la liste des destinataires de la notification.

function createOrUpdate(resourceGroupName: string, serviceName: string, notificationName: string, userId: string, options?: NotificationRecipientUserCreateOrUpdateOptionalParams): Promise<RecipientUserContract>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

serviceName

string

Nom du service Gestion des API.

notificationName

string

Identificateur de nom de notification.

userId

string

Identificateur de l’utilisateur. Doit être unique dans l’instance actuelle du service Gestion des API.

Retours

delete(string, string, string, string, NotificationRecipientUserDeleteOptionalParams)

Supprime l’utilisateur Gestion des API de la liste des notifications.

function delete(resourceGroupName: string, serviceName: string, notificationName: string, userId: string, options?: NotificationRecipientUserDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

serviceName

string

Nom du service Gestion des API.

notificationName

string

Identificateur de nom de notification.

userId

string

Identificateur de l’utilisateur. Doit être unique dans l’instance actuelle du service Gestion des API.

options
NotificationRecipientUserDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

listByNotification(string, string, string, NotificationRecipientUserListByNotificationOptionalParams)

Obtient la liste de l’utilisateur destinataire de notification abonné à la notification.

function listByNotification(resourceGroupName: string, serviceName: string, notificationName: string, options?: NotificationRecipientUserListByNotificationOptionalParams): Promise<RecipientUserCollection>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

serviceName

string

Nom du service Gestion des API.

notificationName

string

Identificateur de nom de notification.

Retours