Bots Interface
public interface Bots
Resource collection API of Bots.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Bot resource. |
| abstract void |
deleteById(String id)
Deletes a Bot Service from the resource group. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Deletes a Bot Service from the resource group. |
| abstract void |
deleteByResourceGroup(String resourceGroupName, String resourceName)
Deletes a Bot Service from the resource group. |
| abstract Response<Void> |
deleteByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Deletes a Bot Service from the resource group. |
| abstract Bot |
getById(String id)
Returns a Bot |
| abstract Response<Bot> |
getByIdWithResponse(String id, Context context)
Returns a Bot |
| abstract Bot |
getByResourceGroup(String resourceGroupName, String resourceName)
Returns a Bot |
| abstract Response<Bot> |
getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Returns a Bot |
|
abstract
Check |
getCheckNameAvailability(CheckNameAvailabilityRequestBody parameters)
Check whether a bot name is available. |
|
abstract
Response<Check |
getCheckNameAvailabilityWithResponse(CheckNameAvailabilityRequestBody parameters, Context context)
Check whether a bot name is available. |
|
abstract
Paged |
list()
Returns all the resources of a particular type belonging to a subscription. |
|
abstract
Paged |
list(Context context)
Returns all the resources of a particular type belonging to a subscription. |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName)
Returns all the resources of a particular type belonging to a resource group. |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName, Context context)
Returns all the resources of a particular type belonging to a resource group. |
Method Details
define
public abstract Bot.DefinitionStages.Blank define(String name)
Begins definition for a new Bot resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Deletes a Bot Service from the resource group.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Deletes a Bot Service from the resource group.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String resourceName)
Deletes a Bot Service from the resource group.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Deletes a Bot Service from the resource group.
Parameters:
Returns:
getById
public abstract Bot getById(String id)
Returns a BotService specified by the parameters.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<Bot> getByIdWithResponse(String id, Context context)
Returns a BotService specified by the parameters.
Parameters:
Returns:
getByResourceGroup
public abstract Bot getByResourceGroup(String resourceGroupName, String resourceName)
Returns a BotService specified by the parameters.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<Bot> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Returns a BotService specified by the parameters.
Parameters:
Returns:
getCheckNameAvailability
public abstract CheckNameAvailabilityResponseBody getCheckNameAvailability(CheckNameAvailabilityRequestBody parameters)
Check whether a bot name is available.
Parameters:
Returns:
getCheckNameAvailabilityWithResponse
public abstract Response<CheckNameAvailabilityResponseBody> getCheckNameAvailabilityWithResponse(CheckNameAvailabilityRequestBody parameters, Context context)
Check whether a bot name is available.
Parameters:
Returns:
list
public abstract PagedIterable<Bot> list()
Returns all the resources of a particular type belonging to a subscription.
Returns:
list
public abstract PagedIterable<Bot> list(Context context)
Returns all the resources of a particular type belonging to a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Bot> listByResourceGroup(String resourceGroupName)
Returns all the resources of a particular type belonging to a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Bot> listByResourceGroup(String resourceGroupName, Context context)
Returns all the resources of a particular type belonging to a resource group.
Parameters:
Returns: