共用方式為


Bots interface

表示 Bot 的介面。

方法

create(string, string, Bot, BotsCreateOptionalParams)

建立Bot Service。 Bot Service是整個資源群組的資源群組類型。

delete(string, string, BotsDeleteOptionalParams)

從資源群組中刪除Bot Service。

get(string, string, BotsGetOptionalParams)

傳回參數所指定的 BotService。

getCheckNameAvailability(CheckNameAvailabilityRequestBody, BotsGetCheckNameAvailabilityOptionalParams)

檢查 Bot 名稱是否可用。

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

Bot 資源的名稱。

parameters
Bot

要提供給所建立 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

Bot 資源的名稱。

options
BotsDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, BotsGetOptionalParams)

傳回參數所指定的 BotService。

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

參數

resourceGroupName

string

使用者訂用帳戶中的 Bot 資源群組名稱。

resourceName

string

Bot 資源的名稱。

options
BotsGetOptionalParams

選項參數。

傳回

Promise<Bot>

getCheckNameAvailability(CheckNameAvailabilityRequestBody, BotsGetCheckNameAvailabilityOptionalParams)

檢查 Bot 名稱是否可用。

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

參數

parameters
CheckNameAvailabilityRequestBody

要針對檢查名稱可用性要求提供的要求本文參數

傳回

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

Bot 資源的名稱。

options
BotsUpdateOptionalParams

選項參數。

傳回

Promise<Bot>