Compartir a través de


Channels interface

Interfaz que representa un canal.

Métodos

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

Crea un registro de canal para un Bot Service

delete(string, string, string, ChannelsDeleteOptionalParams)

Elimina un registro de canal de un Bot Service

get(string, string, string, ChannelsGetOptionalParams)

Devuelve un registro de canal de BotService especificado por los parámetros.

listByResourceGroup(string, string, ChannelsListByResourceGroupOptionalParams)

Devuelve todos los registros de canal de un recurso BotService determinado.

listWithKeys(string, string, ChannelName, ChannelsListWithKeysOptionalParams)

Enumera un registro de canal para un Bot Service, incluidos los secretos

update(string, string, ChannelName, ChannelsUpdateOptionalParams)

Novedades un registro de canal para un Bot Service

Detalles del método

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

Crea un registro de canal para un Bot Service

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos bot en la suscripción de usuario.

resourceName

string

Nombre del recurso bot.

channelName
ChannelName

Nombre del recurso Channel.

parameters
BotChannel

Parámetros que se van a proporcionar para el bot creado.

options
ChannelsCreateOptionalParams

Parámetros de opciones.

Devoluciones

Promise<BotChannel>

delete(string, string, string, ChannelsDeleteOptionalParams)

Elimina un registro de canal de un Bot Service

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos bot en la suscripción de usuario.

resourceName

string

Nombre del recurso bot.

channelName

string

Nombre del recurso bot.

options
ChannelsDeleteOptionalParams

Parámetros de opciones.

Devoluciones

Promise<void>

get(string, string, string, ChannelsGetOptionalParams)

Devuelve un registro de canal de BotService especificado por los parámetros.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos bot en la suscripción de usuario.

resourceName

string

Nombre del recurso bot.

channelName

string

Nombre del recurso bot.

options
ChannelsGetOptionalParams

Parámetros de opciones.

Devoluciones

Promise<BotChannel>

listByResourceGroup(string, string, ChannelsListByResourceGroupOptionalParams)

Devuelve todos los registros de canal de un recurso BotService determinado.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos bot en la suscripción de usuario.

resourceName

string

Nombre del recurso bot.

options
ChannelsListByResourceGroupOptionalParams

Parámetros de opciones.

Devoluciones

listWithKeys(string, string, ChannelName, ChannelsListWithKeysOptionalParams)

Enumera un registro de canal para un Bot Service, incluidos los secretos

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos bot en la suscripción de usuario.

resourceName

string

Nombre del recurso bot.

channelName
ChannelName

Nombre del recurso Channel.

options
ChannelsListWithKeysOptionalParams

Parámetros de opciones.

Devoluciones

update(string, string, ChannelName, ChannelsUpdateOptionalParams)

Novedades un registro de canal para un Bot Service

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos bot en la suscripción de usuario.

resourceName

string

Nombre del recurso bot.

channelName
ChannelName

Nombre del recurso Channel.

options
ChannelsUpdateOptionalParams

Parámetros de opciones.

Devoluciones

Promise<BotChannel>