Partager via


Channels interface

Interface représentant un canal.

Méthodes

create(string, string, ChannelName, BotChannel, ChannelsCreateOptionalParams)

Crée une inscription de canal pour un service bot

delete(string, string, string, ChannelsDeleteOptionalParams)

Supprime une inscription de canal d’un service bot

get(string, string, string, ChannelsGetOptionalParams)

Retourne une inscription de canal BotService spécifiée par les paramètres.

listByResourceGroup(string, string, ChannelsListByResourceGroupOptionalParams)

Retourne toutes les inscriptions de canal d’une ressource BotService particulière

listWithKeys(string, string, ChannelName, ChannelsListWithKeysOptionalParams)

Répertorie une inscription de canal pour un service bot, y compris les secrets

update(string, string, ChannelName, ChannelsUpdateOptionalParams)

Met à jour une inscription de canal pour un service bot

Détails de la méthode

create(string, string, ChannelName, BotChannel, ChannelsCreateOptionalParams)

Crée une inscription de canal pour un service bot

function create(resourceGroupName: string, resourceName: string, channelName: ChannelName, parameters: BotChannel, options?: ChannelsCreateOptionalParams): Promise<BotChannel>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

resourceName

string

Nom de la ressource bot.

channelName
ChannelName

Nom de la ressource Channel.

parameters
BotChannel

Paramètres à fournir pour le bot créé.

options
ChannelsCreateOptionalParams

Paramètres d’options.

Retours

Promise<BotChannel>

delete(string, string, string, ChannelsDeleteOptionalParams)

Supprime une inscription de canal d’un service bot

function delete(resourceGroupName: string, resourceName: string, channelName: string, options?: ChannelsDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

resourceName

string

Nom de la ressource bot.

channelName

string

Nom de la ressource bot.

options
ChannelsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, ChannelsGetOptionalParams)

Retourne une inscription de canal BotService spécifiée par les paramètres.

function get(resourceGroupName: string, resourceName: string, channelName: string, options?: ChannelsGetOptionalParams): Promise<BotChannel>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

resourceName

string

Nom de la ressource bot.

channelName

string

Nom de la ressource bot.

options
ChannelsGetOptionalParams

Paramètres d’options.

Retours

Promise<BotChannel>

listByResourceGroup(string, string, ChannelsListByResourceGroupOptionalParams)

Retourne toutes les inscriptions de canal d’une ressource BotService particulière

function listByResourceGroup(resourceGroupName: string, resourceName: string, options?: ChannelsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<BotChannel, BotChannel[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

resourceName

string

Nom de la ressource bot.

options
ChannelsListByResourceGroupOptionalParams

Paramètres d’options.

Retours

listWithKeys(string, string, ChannelName, ChannelsListWithKeysOptionalParams)

Répertorie une inscription de canal pour un service bot, y compris les secrets

function listWithKeys(resourceGroupName: string, resourceName: string, channelName: ChannelName, options?: ChannelsListWithKeysOptionalParams): Promise<ListChannelWithKeysResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

resourceName

string

Nom de la ressource bot.

channelName
ChannelName

Nom de la ressource Channel.

options
ChannelsListWithKeysOptionalParams

Paramètres d’options.

Retours

update(string, string, ChannelName, ChannelsUpdateOptionalParams)

Met à jour une inscription de canal pour un service bot

function update(resourceGroupName: string, resourceName: string, channelName: ChannelName, options?: ChannelsUpdateOptionalParams): Promise<BotChannel>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

resourceName

string

Nom de la ressource bot.

channelName
ChannelName

Nom de la ressource Channel.

options
ChannelsUpdateOptionalParams

Paramètres d’options.

Retours

Promise<BotChannel>