public interface Bots
Resource collection API of Bots.
  • Method Details

    • getByResourceGroup

      HealthBot 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<HealthBot> getByResourceGroupWithResponse(String resourceGroupName, String botName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByResourceGroup

      void deleteByResourceGroup(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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String botName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<HealthBot> 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<HealthBot> listByResourceGroup(String resourceGroupName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<HealthBot> 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.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<HealthBot> list(com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      HealthBot getById(String id)
      Get a HealthBot.
      Parameters:
      id - the resource ID.
      Returns:
      a HealthBot along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<HealthBot> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a HealthBot.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a HealthBot along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String id)
      Delete a HealthBot.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a HealthBot.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • define

      Begins definition for a new HealthBot resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new HealthBot definition.