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 SyncPoller<PollResult<HealthBotInner>,HealthBotInner> beginCreate(String resourceGroupName, String botName, HealthBotInner parameters)

Create a new HealthBot.

abstract SyncPoller<PollResult<HealthBotInner>,HealthBotInner> beginCreate(String resourceGroupName, String botName, HealthBotInner parameters, Context context)

Create a new HealthBot.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String botName)

Delete a HealthBot.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String botName, Context context)

Delete a HealthBot.

abstract HealthBotInner create(String resourceGroupName, String botName, HealthBotInner parameters)

Create a new HealthBot.

abstract HealthBotInner create(String resourceGroupName, String botName, HealthBotInner parameters, Context context)

Create a new HealthBot.

abstract void delete(String resourceGroupName, String botName)

Delete a HealthBot.

abstract void delete(String resourceGroupName, String botName, Context context)

Delete a HealthBot.

abstract HealthBotInner getByResourceGroup(String resourceGroupName, String botName)

Get a HealthBot.

abstract Response<HealthBotInner> getByResourceGroupWithResponse(String resourceGroupName, String botName, Context context)

Get a HealthBot.

abstract PagedIterable<HealthBotInner> list()

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

abstract PagedIterable<HealthBotInner> list(Context context)

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

abstract PagedIterable<HealthBotInner> listByResourceGroup(String resourceGroupName)

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

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

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

abstract HealthBotInner update(String resourceGroupName, String botName, HealthBotUpdateParameters parameters)

Patch a HealthBot.

abstract Response<HealthBotInner> updateWithResponse(String resourceGroupName, String botName, HealthBotUpdateParameters parameters, Context context)

Patch a HealthBot.

Method Details

beginCreate

public abstract SyncPoller,HealthBotInner> beginCreate(String resourceGroupName, String botName, HealthBotInner parameters)

Create a new HealthBot.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of healthBot resource definition.

beginCreate

public abstract SyncPoller,HealthBotInner> beginCreate(String resourceGroupName, String botName, HealthBotInner parameters, Context context)

Create a new HealthBot.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of healthBot resource definition.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String botName)

Delete a HealthBot.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String botName, Context context)

Delete a HealthBot.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

create

public abstract HealthBotInner create(String resourceGroupName, String botName, HealthBotInner parameters)

Create a new HealthBot.

Parameters:

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

Returns:

healthBot resource definition.

create

public abstract HealthBotInner create(String resourceGroupName, String botName, HealthBotInner parameters, Context context)

Create a new HealthBot.

Parameters:

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

Returns:

healthBot resource definition.

delete

public abstract void delete(String resourceGroupName, String botName)

Delete a HealthBot.

Parameters:

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

delete

public abstract void delete(String resourceGroupName, String botName, Context context)

Delete a HealthBot.

Parameters:

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

getByResourceGroup

public abstract HealthBotInner getByResourceGroup(String resourceGroupName, String botName)

Get a HealthBot.

Parameters:

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

Returns:

a HealthBot.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String botName, Context context)

Get a HealthBot.

Parameters:

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

Returns:

a HealthBot along with Response<T>.

list

public abstract PagedIterable list()

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

Returns:

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

list

public abstract PagedIterable 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 Healthbot operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable 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 Healthbot operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable 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 Healthbot operation response as paginated response with PagedIterable<T>.

update

public abstract HealthBotInner update(String resourceGroupName, String botName, HealthBotUpdateParameters parameters)

Patch a HealthBot.

Parameters:

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

Returns:

healthBot resource definition.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String botName, HealthBotUpdateParameters parameters, Context context)

Patch a HealthBot.

Parameters:

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

Returns:

healthBot resource definition along with Response<T>.

Applies to

Azure SDK for Java

Preview