NotificationChannels interface
Interfaz que representa notificationChannels.
Métodos
| create |
Cree o reemplace un canal de notificación existente. |
| delete(string, string, string, Notification |
Eliminar canal de notificación. |
| get(string, string, string, Notification |
Obtener el canal de notificación. |
| list(string, string, Notification |
Enumerar canales de notificación en un laboratorio determinado. |
| notify(string, string, string, Notify |
Enviar notificación al canal proporcionado. |
| update(string, string, string, Notification |
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.
Parámetros de opciones.
Devoluciones
Promise<NotificationChannel>
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.
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.
Parámetros de opciones.
Devoluciones
Promise<NotificationChannel>
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.
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.
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.
Parámetros de opciones.
Devoluciones
Promise<NotificationChannel>