Partager via


NotificationChannels interface

Interface représentant un NotificationChannels.

Méthodes

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

Créez ou remplacez un canal de notification existant.

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Supprimer le canal de notification.

get(string, string, string, NotificationChannelsGetOptionalParams)

Obtenir le canal de notification.

list(string, string, NotificationChannelsListOptionalParams)

Répertoriez les canaux de notification dans un laboratoire donné.

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

Envoyer une notification au canal fourni.

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

Permet de modifier les balises des canaux de notification. Toutes les autres propriétés seront ignorées.

Détails de la méthode

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

Créez ou remplacez un canal de notification existant.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom du canal de notification.

notificationChannel
NotificationChannel

Notification.

options
NotificationChannelsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

delete(string, string, string, NotificationChannelsDeleteOptionalParams)

Supprimer le canal de notification.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom du canal de notification.

options
NotificationChannelsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, NotificationChannelsGetOptionalParams)

Obtenir le canal de notification.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom du canal de notification.

options
NotificationChannelsGetOptionalParams

Paramètres d’options.

Retours

list(string, string, NotificationChannelsListOptionalParams)

Répertoriez les canaux de notification dans un laboratoire donné.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

options
NotificationChannelsListOptionalParams

Paramètres d’options.

Retours

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

Envoyer une notification au canal fourni.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom du canal de notification.

notifyParameters
NotifyParameters

Propriétés de génération d’une notification.

options
NotificationChannelsNotifyOptionalParams

Paramètres d’options.

Retours

Promise<void>

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

Permet de modifier les balises des canaux de notification. Toutes les autres propriétés seront ignorées.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom du canal de notification.

notificationChannel
NotificationChannelFragment

Notification.

options
NotificationChannelsUpdateOptionalParams

Paramètres d’options.

Retours