Partilhar 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)

Exclua o canal de notificação.

get(string, string, string, NotificationChannelsGetOptionalParams)

Obtenha 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 tags de canais de notificação. Todas as outras propriedades serão ignoradas.

Detalhes de 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.

Devoluções

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Exclua o 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.

Devoluções

Promise<void>

get(string, string, string, NotificationChannelsGetOptionalParams)

Obtenha 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.

Devoluções

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.

Devoluções

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.

Devoluções

Promise<void>

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

Permite modificar tags 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.

Devoluções