Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Bots

Package version

Class representing a Bots.

Hierarchy

  • Bots

Index

Constructors

constructor

Methods

create

  • create(resourceGroupName: string, resourceName: string, parameters: Bot, options?: msRest.RequestOptionsBase): Promise<Models.BotsCreateResponse>
  • create(resourceGroupName: string, resourceName: string, parameters: Bot, callback: msRest.ServiceCallback<Bot>): void
  • create(resourceGroupName: string, resourceName: string, parameters: Bot, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Bot>): void
  • Creates a Bot Service. Bot Service is a resource group wide resource type.

    Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • parameters: Bot

      The parameters to provide for the created bot.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BotsCreateResponse>

    Promise<Models.BotsCreateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • parameters: Bot

      The parameters to provide for the created bot.

    • callback: msRest.ServiceCallback<Bot>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • parameters: Bot

      The parameters to provide for the created bot.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Bot>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes a Bot Service from the resource group.

    Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsGetResponse>
  • get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Bot>): void
  • get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Bot>): void
  • Returns a BotService specified by the parameters.

    Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BotsGetResponse>

    Promise<Models.BotsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • callback: msRest.ServiceCallback<Bot>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Bot>

      The callback

    Returns void

getCheckNameAvailability

list

  • list(options?: msRest.RequestOptionsBase): Promise<Models.BotsListResponse>
  • list(callback: msRest.ServiceCallback<BotResponseList>): void
  • list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BotResponseList>): void
  • Returns all the resources of a particular type belonging to a subscription.

    Parameters

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BotsListResponse>

    Promise<Models.BotsListResponse>

  • Parameters

    Returns void

  • Parameters

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<BotResponseList>): void
  • listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BotResponseList>): void
  • Returns all the resources of a particular type belonging to a resource group

    Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BotsListByResourceGroupResponse>

    Promise<Models.BotsListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<BotResponseList>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BotResponseList>): void
  • Returns all the resources of a particular type belonging to a resource group

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BotsListByResourceGroupNextResponse>

    Promise<Models.BotsListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BotsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<BotResponseList>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BotResponseList>): void
  • Returns all the resources of a particular type belonging to a subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.BotsListNextResponse>

    Promise<Models.BotsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<BotResponseList>

      The callback

    Returns void

update

  • update(resourceGroupName: string, resourceName: string, options?: Models.BotsUpdateOptionalParams): Promise<Models.BotsUpdateResponse>
  • update(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Bot>): void
  • update(resourceGroupName: string, resourceName: string, options: BotsUpdateOptionalParams, callback: msRest.ServiceCallback<Bot>): void
  • Updates a Bot Service

    Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • Optional options: Models.BotsUpdateOptionalParams

    Returns Promise<Models.BotsUpdateResponse>

    Promise<Models.BotsUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • callback: msRest.ServiceCallback<Bot>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Bot resource group in the user subscription.

    • resourceName: string

      The name of the Bot resource.

    • options: BotsUpdateOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Bot>

      The callback

    Returns void

Generated using TypeDoc