Compartir a través de


NotificationChannels interface

Interfaz que representa notificationChannels.

Métodos

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

Cree o reemplace un canal de notificación existente.

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Eliminar canal de notificación.

get(string, string, string, NotificationChannelsGetOptionalParams)

Obtener el canal de notificación.

list(string, string, NotificationChannelsListOptionalParams)

Enumerar canales de notificación en un laboratorio determinado.

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

Enviar notificación al canal proporcionado.

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

Permite modificar etiquetas de canales de notificación. Se omitirán todas las demás propiedades.

Detalles del método

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

Cree o reemplace un canal de notificación existente.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

labName

string

Nombre del laboratorio.

name

string

Nombre del canal de notificación.

notificationChannel
NotificationChannel

Una notificación.

options
NotificationChannelsCreateOrUpdateOptionalParams

Parámetros de opciones.

Devoluciones

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Eliminar canal de notificación.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

labName

string

Nombre del laboratorio.

name

string

Nombre del canal de notificación.

options
NotificationChannelsDeleteOptionalParams

Parámetros de opciones.

Devoluciones

Promise<void>

get(string, string, string, NotificationChannelsGetOptionalParams)

Obtener el canal de notificación.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

labName

string

Nombre del laboratorio.

name

string

Nombre del canal de notificación.

options
NotificationChannelsGetOptionalParams

Parámetros de opciones.

Devoluciones

list(string, string, NotificationChannelsListOptionalParams)

Enumerar canales de notificación en un laboratorio determinado.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

labName

string

Nombre del laboratorio.

options
NotificationChannelsListOptionalParams

Parámetros de opciones.

Devoluciones

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

Enviar notificación al canal proporcionado.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

labName

string

Nombre del laboratorio.

name

string

Nombre del canal de notificación.

notifyParameters
NotifyParameters

Propiedades para generar una notificación.

options
NotificationChannelsNotifyOptionalParams

Parámetros de opciones.

Devoluciones

Promise<void>

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

Permite modificar etiquetas de canales de notificación. Se omitirán todas las demás propiedades.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

labName

string

Nombre del laboratorio.

name

string

Nombre del canal de notificación.

notificationChannel
NotificationChannelFragment

Una notificación.

options
NotificationChannelsUpdateOptionalParams

Parámetros de opciones.

Devoluciones