Condividi tramite


WorkspaceNotificationRecipientUser interface

Interfaccia che rappresenta un oggetto WorkspaceNotificationRecipientUser.

Metodi

checkEntityExists(string, string, string, string, string, WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams)

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

createOrUpdate(string, string, string, string, string, WorkspaceNotificationRecipientUserCreateOrUpdateOptionalParams)

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

delete(string, string, string, string, string, WorkspaceNotificationRecipientUserDeleteOptionalParams)

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

listByNotification(string, string, string, string, WorkspaceNotificationRecipientUserListByNotificationOptionalParams)

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

Dettagli metodo

checkEntityExists(string, string, string, string, string, WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams)

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

function checkEntityExists(resourceGroupName: string, serviceName: string, workspaceId: string, notificationName: string, userId: string, options?: WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams): Promise<WorkspaceNotificationRecipientUserCheckEntityExistsResponse>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

workspaceId

string

Identificatore dell'area di lavoro. Deve essere univoco nell'istanza corrente 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, string, WorkspaceNotificationRecipientUserCreateOrUpdateOptionalParams)

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

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

workspaceId

string

Identificatore dell'area di lavoro. Deve essere univoco nell'istanza corrente 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, string, WorkspaceNotificationRecipientUserDeleteOptionalParams)

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

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

workspaceId

string

Identificatore dell'area di lavoro. Deve essere univoco nell'istanza corrente 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

Promise<void>

listByNotification(string, string, string, string, WorkspaceNotificationRecipientUserListByNotificationOptionalParams)

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

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

workspaceId

string

Identificatore dell'area di lavoro. Deve essere univoco nell'istanza corrente del servizio Gestione API.

notificationName

string

Identificatore del nome della notifica.

Restituisce