Partilhar via


NotificationRecipientUser interface

Interface que representa um NotificationRecipientUser.

Métodos

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

Determine se o Usuário Destinatário da Notificação está inscrito na notificação.

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

Adiciona o Usuário de Gerenciamento de API à lista de Destinatários da Notificação.

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

Remove o usuário de Gerenciamento de API da lista de Notificação.

listByNotification(string, string, string, NotificationRecipientUserListByNotificationOptionalParams)

Obtém a lista do Usuário Destinatário da Notificação inscrito na notificação.

Detalhes de Método

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

Determine se o Usuário Destinatário da Notificação está inscrito na notificação.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

serviceName

string

O nome do serviço de Gerenciamento de API.

notificationName

string

Identificador de nome de notificação.

userId

string

Identificador do utilizador. Deve ser exclusivo na instância de serviço de Gerenciamento de API atual.

options
NotificationRecipientUserCheckEntityExistsOptionalParams

Os parâmetros de opções.

Devoluções

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

Adiciona o Usuário de Gerenciamento de API à lista de Destinatários da Notificação.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

serviceName

string

O nome do serviço de Gerenciamento de API.

notificationName

string

Identificador de nome de notificação.

userId

string

Identificador do utilizador. Deve ser exclusivo na instância de serviço de Gerenciamento de API atual.

options
NotificationRecipientUserCreateOrUpdateOptionalParams

Os parâmetros de opções.

Devoluções

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

Remove o usuário de Gerenciamento de API da lista de Notificação.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

serviceName

string

O nome do serviço de Gerenciamento de API.

notificationName

string

Identificador de nome de notificação.

userId

string

Identificador do utilizador. Deve ser exclusivo na instância de serviço de Gerenciamento de API atual.

options
NotificationRecipientUserDeleteOptionalParams

Os parâmetros de opções.

Devoluções

Promise<void>

listByNotification(string, string, string, NotificationRecipientUserListByNotificationOptionalParams)

Obtém a lista do Usuário Destinatário da Notificação inscrito na notificação.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

serviceName

string

O nome do serviço de Gerenciamento de API.

notificationName

string

Identificador de nome de notificação.

options
NotificationRecipientUserListByNotificationOptionalParams

Os parâmetros de opções.

Devoluções