次の方法で共有


BotsClient Interface

public interface BotsClient

An instance of this class provides access to all the operations defined in BotsClient.

Method Summary

Modifier and Type Method and Description
abstract BotInner create(String resourceGroupName, String resourceName, BotInner parameters)

Creates a Bot Service.

abstract Response<BotInner> createWithResponse(String resourceGroupName, String resourceName, BotInner parameters, Context context)

Creates a Bot Service.

abstract void delete(String resourceGroupName, String resourceName)

Deletes a Bot Service from the resource group.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, Context context)

Deletes a Bot Service from the resource group.

abstract BotInner getByResourceGroup(String resourceGroupName, String resourceName)

Returns a BotService specified by the parameters.

abstract Response<BotInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)

Returns a BotService specified by the parameters.

abstract CheckNameAvailabilityResponseBodyInner getCheckNameAvailability(CheckNameAvailabilityRequestBody parameters)

Check whether a bot name is available.

abstract Response<CheckNameAvailabilityResponseBodyInner> getCheckNameAvailabilityWithResponse(CheckNameAvailabilityRequestBody parameters, Context context)

Check whether a bot name is available.

abstract PagedIterable<BotInner> list()

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

abstract PagedIterable<BotInner> list(Context context)

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

abstract PagedIterable<BotInner> listByResourceGroup(String resourceGroupName)

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

abstract PagedIterable<BotInner> listByResourceGroup(String resourceGroupName, Context context)

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

abstract BotInner update(String resourceGroupName, String resourceName, BotInner parameters)

Updates a Bot Service.

abstract Response<BotInner> updateWithResponse(String resourceGroupName, String resourceName, BotInner parameters, Context context)

Updates a Bot Service.

Method Details

create

public abstract BotInner create(String resourceGroupName, String resourceName, BotInner parameters)

Creates a Bot Service. Bot Service is a resource group wide resource type.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
parameters - The parameters to provide for the created bot.

Returns:

bot resource definition.

createWithResponse

public abstract Response<BotInner> createWithResponse(String resourceGroupName, String resourceName, BotInner parameters, Context context)

Creates a Bot Service. Bot Service is a resource group wide resource type.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
parameters - The parameters to provide for the created bot.
context - The context to associate with this operation.

Returns:

bot resource definition along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String resourceName)

Deletes a Bot Service from the resource group.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, Context context)

Deletes a Bot Service from the resource group.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
context - The context to associate with this operation.

Returns:

getByResourceGroup

public abstract BotInner getByResourceGroup(String resourceGroupName, String resourceName)

Returns a BotService specified by the parameters.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.

Returns:

bot resource definition.

getByResourceGroupWithResponse

public abstract Response<BotInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)

Returns a BotService specified by the parameters.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
context - The context to associate with this operation.

Returns:

bot resource definition along with Response<T>.

getCheckNameAvailability

public abstract CheckNameAvailabilityResponseBodyInner getCheckNameAvailability(CheckNameAvailabilityRequestBody parameters)

Check whether a bot name is available.

Parameters:

parameters - The request body parameters to provide for the check name availability request.

Returns:

the response body returned for a request to Bot Service Management to check availability of a bot name.

getCheckNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResponseBodyInner> getCheckNameAvailabilityWithResponse(CheckNameAvailabilityRequestBody parameters, Context context)

Check whether a bot name is available.

Parameters:

parameters - The request body parameters to provide for the check name availability request.
context - The context to associate with this operation.

Returns:

the response body returned for a request to Bot Service Management to check availability of a bot name along with Response<T>.

list

public abstract PagedIterable<BotInner> list()

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

Returns:

the list of bot service operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<BotInner> list(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

the list of bot service operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<BotInner> listByResourceGroup(String resourceGroupName)

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

Parameters:

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

Returns:

the list of bot service operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<BotInner> listByResourceGroup(String resourceGroupName, Context context)

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

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
context - The context to associate with this operation.

Returns:

the list of bot service operation response as paginated response with PagedIterable<T>.

update

public abstract BotInner update(String resourceGroupName, String resourceName, BotInner parameters)

Updates a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
parameters - The parameters to provide for the created bot.

Returns:

bot resource definition.

updateWithResponse

public abstract Response<BotInner> updateWithResponse(String resourceGroupName, String resourceName, BotInner parameters, Context context)

Updates a Bot Service.

Parameters:

resourceGroupName - The name of the Bot resource group in the user subscription.
resourceName - The name of the Bot resource.
parameters - The parameters to provide for the created bot.
context - The context to associate with this operation.

Returns:

bot resource definition along with Response<T>.

Applies to