Channels interface
チャネルを表すインターフェイス。
メソッド
create(string, string, Channel |
Bot Serviceのチャネル登録を作成します |
delete(string, string, string, Channels |
Bot Serviceからチャネル登録を削除します |
get(string, string, string, Channels |
パラメーターで指定された BotService チャネル登録を返します。 |
list |
特定の BotService リソースのすべてのチャネル登録を返します |
list |
シークレットを含むBot Serviceのチャネル登録を一覧表示します |
update(string, string, Channel |
Bot Serviceのチャネル登録を更新する |
メソッドの詳細
create(string, string, ChannelName, BotChannel, ChannelsCreateOptionalParams)
Bot Serviceのチャネル登録を作成します
function create(resourceGroupName: string, resourceName: string, channelName: ChannelName, parameters: BotChannel, options?: ChannelsCreateOptionalParams): Promise<BotChannel>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
Bot リソースの名前。
- channelName
- ChannelName
チャネル リソースの名前。
- parameters
- BotChannel
作成されたボットに提供するパラメーター。
- options
- ChannelsCreateOptionalParams
options パラメーター。
戻り値
Promise<BotChannel>
delete(string, string, string, ChannelsDeleteOptionalParams)
Bot Serviceからチャネル登録を削除します
function delete(resourceGroupName: string, resourceName: string, channelName: string, options?: ChannelsDeleteOptionalParams): Promise<void>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
Bot リソースの名前。
- channelName
-
string
Bot リソースの名前。
- options
- ChannelsDeleteOptionalParams
options パラメーター。
戻り値
Promise<void>
get(string, string, string, ChannelsGetOptionalParams)
パラメーターで指定された BotService チャネル登録を返します。
function get(resourceGroupName: string, resourceName: string, channelName: string, options?: ChannelsGetOptionalParams): Promise<BotChannel>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
Bot リソースの名前。
- channelName
-
string
Bot リソースの名前。
- options
- ChannelsGetOptionalParams
options パラメーター。
戻り値
Promise<BotChannel>
listByResourceGroup(string, string, ChannelsListByResourceGroupOptionalParams)
特定の BotService リソースのすべてのチャネル登録を返します
function listByResourceGroup(resourceGroupName: string, resourceName: string, options?: ChannelsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<BotChannel, BotChannel[], PageSettings>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
Bot リソースの名前。
options パラメーター。
戻り値
listWithKeys(string, string, ChannelName, ChannelsListWithKeysOptionalParams)
シークレットを含むBot Serviceのチャネル登録を一覧表示します
function listWithKeys(resourceGroupName: string, resourceName: string, channelName: ChannelName, options?: ChannelsListWithKeysOptionalParams): Promise<ListChannelWithKeysResponse>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
Bot リソースの名前。
- channelName
- ChannelName
チャネル リソースの名前。
options パラメーター。
戻り値
Promise<ListChannelWithKeysResponse>
update(string, string, ChannelName, ChannelsUpdateOptionalParams)
Bot Serviceのチャネル登録を更新する
function update(resourceGroupName: string, resourceName: string, channelName: ChannelName, options?: ChannelsUpdateOptionalParams): Promise<BotChannel>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
Bot リソースの名前。
- channelName
- ChannelName
チャネル リソースの名前。
- options
- ChannelsUpdateOptionalParams
options パラメーター。
戻り値
Promise<BotChannel>