Condividi tramite


NotificationRecipientUser interface

Interfaccia che rappresenta un oggetto NotificationRecipientUser.

Metodi

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

Determinare se l'utente del destinatario di notifica è sottoscritto alla notifica.

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

Aggiunge l'utente di Gestione API all'elenco dei destinatari per la notifica.

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

Rimuove l'utente di Gestione API dall'elenco di notifica.

listByNotification(string, string, string, NotificationRecipientUserListByNotificationOptionalParams)

Ottiene l'elenco dell'utente destinatario della notifica sottoscritta.

Dettagli metodo

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

Determinare se l'utente del destinatario di notifica è sottoscritto alla notifica.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

notificationName

string

Identificatore del nome della notifica.

userId

string

Identificatore utente. Deve essere univoco nell'istanza corrente del servizio Gestione API.

Restituisce

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

Aggiunge l'utente di Gestione API all'elenco dei destinatari per la notifica.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

notificationName

string

Identificatore del nome della notifica.

userId

string

Identificatore utente. Deve essere univoco nell'istanza corrente del servizio Gestione API.

Restituisce

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

Rimuove l'utente di Gestione API dall'elenco di notifica.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

notificationName

string

Identificatore del nome della notifica.

userId

string

Identificatore utente. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
NotificationRecipientUserDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

listByNotification(string, string, string, NotificationRecipientUserListByNotificationOptionalParams)

Ottiene l'elenco dell'utente destinatario della notifica sottoscritta.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

notificationName

string

Identificatore del nome della notifica.

Restituisce