Bots interface

ボットを表すインターフェイス。

メソッド

create(string, string, Bot, BotsCreateOptionalParams)

Bot Service を作成します。 Bot Service は、リソース グループ全体のリソースの種類です。

delete(string, string, BotsDeleteOptionalParams)

リソース グループから Bot Service を削除します。

get(string, string, BotsGetOptionalParams)

パラメーターで指定された BotService を返します。

getCheckNameAvailability(CheckNameAvailabilityRequestBody, BotsGetCheckNameAvailabilityOptionalParams)

ボット名が使用可能かどうかを確認します。

list(BotsListOptionalParams)

サブスクリプションに属する特定の種類のすべてのリソースを返します。

listByResourceGroup(string, BotsListByResourceGroupOptionalParams)

リソース グループに属する特定の種類のすべてのリソースを返します。

update(string, string, BotsUpdateOptionalParams)

Bot Service を更新する

メソッドの詳細

create(string, string, Bot, BotsCreateOptionalParams)

Bot Service を作成します。 Bot Service は、リソース グループ全体のリソースの種類です。

function create(resourceGroupName: string, resourceName: string, parameters: Bot, options?: BotsCreateOptionalParams): Promise<Bot>

パラメーター

resourceGroupName

string

ユーザー サブスクリプション内の Bot リソース グループの名前。

resourceName

string

ボット リソースの名前。

parameters
Bot

作成されたボットに提供するパラメーター。

options
BotsCreateOptionalParams

オプション パラメーター。

戻り値

Promise<Bot>

delete(string, string, BotsDeleteOptionalParams)

リソース グループから Bot Service を削除します。

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

パラメーター

resourceGroupName

string

ユーザー サブスクリプション内の Bot リソース グループの名前。

resourceName

string

ボット リソースの名前。

options
BotsDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<void>

get(string, string, BotsGetOptionalParams)

パラメーターで指定された BotService を返します。

function get(resourceGroupName: string, resourceName: string, options?: BotsGetOptionalParams): Promise<Bot>

パラメーター

resourceGroupName

string

ユーザー サブスクリプション内の Bot リソース グループの名前。

resourceName

string

ボット リソースの名前。

options
BotsGetOptionalParams

オプション パラメーター。

戻り値

Promise<Bot>

getCheckNameAvailability(CheckNameAvailabilityRequestBody, BotsGetCheckNameAvailabilityOptionalParams)

ボット名が使用可能かどうかを確認します。

function getCheckNameAvailability(parameters: CheckNameAvailabilityRequestBody, options?: BotsGetCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponseBody>

パラメーター

parameters
CheckNameAvailabilityRequestBody

check name availability request に指定する要求本文パラメーター

options
BotsGetCheckNameAvailabilityOptionalParams

オプション パラメーター。

戻り値

list(BotsListOptionalParams)

サブスクリプションに属する特定の種類のすべてのリソースを返します。

function list(options?: BotsListOptionalParams): PagedAsyncIterableIterator<Bot, Bot[], PageSettings>

パラメーター

options
BotsListOptionalParams

オプション パラメーター。

戻り値

listByResourceGroup(string, BotsListByResourceGroupOptionalParams)

リソース グループに属する特定の種類のすべてのリソースを返します。

function listByResourceGroup(resourceGroupName: string, options?: BotsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Bot, Bot[], PageSettings>

パラメーター

resourceGroupName

string

ユーザー サブスクリプション内の Bot リソース グループの名前。

options
BotsListByResourceGroupOptionalParams

オプション パラメーター。

戻り値

update(string, string, BotsUpdateOptionalParams)

Bot Service を更新する

function update(resourceGroupName: string, resourceName: string, options?: BotsUpdateOptionalParams): Promise<Bot>

パラメーター

resourceGroupName

string

ユーザー サブスクリプション内の Bot リソース グループの名前。

resourceName

string

ボット リソースの名前。

options
BotsUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<Bot>