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
ボット リソースの名前。
- channelName
- ChannelName
チャネル リソースの名前。
- parameters
- BotChannel
作成されたボットに提供するパラメーター。
- options
- ChannelsCreateOptionalParams
オプション パラメーター。
戻り値
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
ボット リソースの名前。
- channelName
-
string
ボット リソースの名前。
- options
- ChannelsDeleteOptionalParams
オプション パラメーター。
戻り値
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
ボット リソースの名前。
- channelName
-
string
ボット リソースの名前。
- options
- ChannelsGetOptionalParams
オプション パラメーター。
戻り値
Promise<BotChannel>
listByResourceGroup(string, string, ChannelsListByResourceGroupOptionalParams)
特定の BotService リソースのすべてのチャネル登録を返します。
function listByResourceGroup(resourceGroupName: string, resourceName: string, options?: ChannelsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<BotChannel, BotChannel[], PageSettings>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
ボット リソースの名前。
オプション パラメーター。
戻り値
listWithKeys(string, string, ChannelName, ChannelsListWithKeysOptionalParams)
シークレットを含む Bot Service のチャネル登録を一覧表示します
function listWithKeys(resourceGroupName: string, resourceName: string, channelName: ChannelName, options?: ChannelsListWithKeysOptionalParams): Promise<ListChannelWithKeysResponse>
パラメーター
- resourceGroupName
-
string
ユーザー サブスクリプション内の Bot リソース グループの名前。
- resourceName
-
string
ボット リソースの名前。
- channelName
- ChannelName
チャネル リソースの名前。
オプション パラメーター。
戻り値
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
ボット リソースの名前。
- channelName
- ChannelName
チャネル リソースの名前。
- options
- ChannelsUpdateOptionalParams
オプション パラメーター。
戻り値
Promise<BotChannel>