NotificationRecipientUser interface
Interfaccia che rappresenta un oggetto NotificationRecipientUser.
Metodi
| check |
Determinare se l'utente del destinatario di notifica è sottoscritto alla notifica. |
| create |
Aggiunge l'utente di Gestione API all'elenco dei destinatari per la notifica. |
| delete(string, string, string, string, Notification |
Rimuove l'utente di Gestione API dall'elenco di notifica. |
| list |
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.
Parametri delle opzioni.
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.
Parametri delle opzioni.
Restituisce
Promise<RecipientUserContract>
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.
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.
Parametri delle opzioni.
Restituisce
Promise<RecipientUserCollection>