BotsOperations interface

Interface representing a Bots operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
create

Create a new Azure Health Bot.

delete
get

Get a HealthBot.

list

Returns all the resources of a particular type belonging to a subscription.

listByResourceGroup

Returns all the resources of a particular type belonging to a resource group

listSecrets

List all secrets of a HealthBot.

regenerateApiJwtSecret

Regenerate the API JWT Secret of a HealthBot.

update

Patch a HealthBot.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<HealthBot>, HealthBot>>

Property Value

(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<HealthBot>, HealthBot>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams) => Promise<HealthBot>

Property Value

(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams) => Promise<HealthBot>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<HealthBot>, HealthBot>>

Property Value

(resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<HealthBot>, HealthBot>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams) => Promise<HealthBot>

Property Value

(resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams) => Promise<HealthBot>

create

Create a new Azure Health Bot.

create: (resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams) => PollerLike<OperationState<HealthBot>, HealthBot>

Property Value

(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams) => PollerLike<OperationState<HealthBot>, HealthBot>

delete

delete: (resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a HealthBot.

get: (resourceGroupName: string, botName: string, options?: BotsGetOptionalParams) => Promise<HealthBot>

Property Value

(resourceGroupName: string, botName: string, options?: BotsGetOptionalParams) => Promise<HealthBot>

list

Returns all the resources of a particular type belonging to a subscription.

list: (options?: BotsListOptionalParams) => PagedAsyncIterableIterator<HealthBot, HealthBot[], PageSettings>

Property Value

(options?: BotsListOptionalParams) => PagedAsyncIterableIterator<HealthBot, HealthBot[], PageSettings>

listByResourceGroup

Returns all the resources of a particular type belonging to a resource group

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

Property Value

(resourceGroupName: string, options?: BotsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<HealthBot, HealthBot[], PageSettings>

listSecrets

List all secrets of a HealthBot.

listSecrets: (resourceGroupName: string, botName: string, options?: BotsListSecretsOptionalParams) => Promise<HealthBotKeysResponse>

Property Value

(resourceGroupName: string, botName: string, options?: BotsListSecretsOptionalParams) => Promise<HealthBotKeysResponse>

regenerateApiJwtSecret

Regenerate the API JWT Secret of a HealthBot.

regenerateApiJwtSecret: (resourceGroupName: string, botName: string, options?: BotsRegenerateApiJwtSecretOptionalParams) => Promise<HealthBotKey>

Property Value

(resourceGroupName: string, botName: string, options?: BotsRegenerateApiJwtSecretOptionalParams) => Promise<HealthBotKey>

update

Patch a HealthBot.

update: (resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams) => PollerLike<OperationState<HealthBot>, HealthBot>

Property Value

(resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams) => PollerLike<OperationState<HealthBot>, HealthBot>