NotificationChannels interface
Interface que representa um NotificationChannels.
Métodos
create |
Crie ou substitua um canal de notificação existente. |
delete(string, string, string, Notification |
Exclua o canal de notificação. |
get(string, string, string, Notification |
Obtenha o canal de notificação. |
list(string, string, Notification |
Listar canais de notificação em um determinado laboratório. |
notify(string, string, string, Notify |
Enviar notificação para o canal fornecido. |
update(string, string, string, Notification |
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.
Os parâmetros de opções.
Devoluções
Promise<NotificationChannel>
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.
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.
Os parâmetros de opções.
Devoluções
Promise<NotificationChannel>
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.
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.
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.
Os parâmetros de opções.
Devoluções
Promise<NotificationChannel>