Compartilhar via


NotificationChannels interface

Interface que representa um NotificationChannels.

Métodos

createOrUpdate(string, string, string, NotificationChannel, NotificationChannelsCreateOrUpdateOptionalParams)

Crie ou substitua um canal de notificação existente.

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Excluir canal de notificação.

get(string, string, string, NotificationChannelsGetOptionalParams)

Obter o canal de notificação.

list(string, string, NotificationChannelsListOptionalParams)

Listar canais de notificação em um determinado laboratório.

notify(string, string, string, NotifyParameters, NotificationChannelsNotifyOptionalParams)

Enviar notificação para o canal fornecido.

update(string, string, string, NotificationChannelFragment, NotificationChannelsUpdateOptionalParams)

Permite modificar marcas de canais de notificação. Todas as outras propriedades serão ignoradas.

Detalhes do método

createOrUpdate(string, string, string, NotificationChannel, NotificationChannelsCreateOrUpdateOptionalParams)

Crie ou substitua um canal de notificação existente.

function createOrUpdate(resourceGroupName: string, labName: string, name: string, notificationChannel: NotificationChannel, options?: NotificationChannelsCreateOrUpdateOptionalParams): Promise<NotificationChannel>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

labName

string

O nome do laboratório.

name

string

O nome do canal de notificação.

notificationChannel
NotificationChannel

Uma notificação.

options
NotificationChannelsCreateOrUpdateOptionalParams

Os parâmetros de opções.

Retornos

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Excluir canal de notificação.

function delete(resourceGroupName: string, labName: string, name: string, options?: NotificationChannelsDeleteOptionalParams): Promise<void>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

labName

string

O nome do laboratório.

name

string

O nome do canal de notificação.

options
NotificationChannelsDeleteOptionalParams

Os parâmetros de opções.

Retornos

Promise<void>

get(string, string, string, NotificationChannelsGetOptionalParams)

Obter o canal de notificação.

function get(resourceGroupName: string, labName: string, name: string, options?: NotificationChannelsGetOptionalParams): Promise<NotificationChannel>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

labName

string

O nome do laboratório.

name

string

O nome do canal de notificação.

options
NotificationChannelsGetOptionalParams

Os parâmetros de opções.

Retornos

list(string, string, NotificationChannelsListOptionalParams)

Listar canais de notificação em um determinado laboratório.

function list(resourceGroupName: string, labName: string, options?: NotificationChannelsListOptionalParams): PagedAsyncIterableIterator<NotificationChannel, NotificationChannel[], PageSettings>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

labName

string

O nome do laboratório.

options
NotificationChannelsListOptionalParams

Os parâmetros de opções.

Retornos

notify(string, string, string, NotifyParameters, NotificationChannelsNotifyOptionalParams)

Enviar notificação para o canal fornecido.

function notify(resourceGroupName: string, labName: string, name: string, notifyParameters: NotifyParameters, options?: NotificationChannelsNotifyOptionalParams): Promise<void>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

labName

string

O nome do laboratório.

name

string

O nome do canal de notificação.

notifyParameters
NotifyParameters

Propriedades para gerar uma notificação.

options
NotificationChannelsNotifyOptionalParams

Os parâmetros de opções.

Retornos

Promise<void>

update(string, string, string, NotificationChannelFragment, NotificationChannelsUpdateOptionalParams)

Permite modificar marcas de canais de notificação. Todas as outras propriedades serão ignoradas.

function update(resourceGroupName: string, labName: string, name: string, notificationChannel: NotificationChannelFragment, options?: NotificationChannelsUpdateOptionalParams): Promise<NotificationChannel>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

labName

string

O nome do laboratório.

name

string

O nome do canal de notificação.

notificationChannel
NotificationChannelFragment

Uma notificação.

options
NotificationChannelsUpdateOptionalParams

Os parâmetros de opções.

Retornos