Interface KustoPoolDatabasesClient


public interface KustoPoolDatabasesClient
An instance of this class provides access to all the operations defined in KustoPoolDatabasesClient.
  • Method Details

    • listByKustoPool

      com.azure.core.http.rest.PagedIterable<DatabaseInner> listByKustoPool(String resourceGroupName, String workspaceName, String kustoPoolName)
      Returns the list of databases of the given Kusto pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      Returns:
      the list Kusto databases 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.
    • listByKustoPool

      com.azure.core.http.rest.PagedIterable<DatabaseInner> listByKustoPool(String resourceGroupName, String workspaceName, String kustoPoolName, com.azure.core.util.Context context)
      Returns the list of databases of the given Kusto pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      context - The context to associate with this operation.
      Returns:
      the list Kusto databases 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.
    • getWithResponse

      com.azure.core.http.rest.Response<DatabaseInner> getWithResponse(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, com.azure.core.util.Context context)
      Returns a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      context - The context to associate with this operation.
      Returns:
      class representing a Kusto database 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.
    • get

      DatabaseInner get(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName)
      Returns a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      Returns:
      class representing a Kusto database.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseInner>,DatabaseInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters)
      Creates or updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the CreateOrUpdate operation.
      Returns:
      the SyncPoller for polling of class representing a Kusto database.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseInner>,DatabaseInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters, com.azure.core.util.Context context)
      Creates or updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the CreateOrUpdate operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of class representing a Kusto database.
      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.
    • createOrUpdate

      DatabaseInner createOrUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters)
      Creates or updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the CreateOrUpdate operation.
      Returns:
      class representing a Kusto database.
      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.
    • createOrUpdate

      DatabaseInner createOrUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters, com.azure.core.util.Context context)
      Creates or updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the CreateOrUpdate operation.
      context - The context to associate with this operation.
      Returns:
      class representing a Kusto database.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseInner>,DatabaseInner> beginUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters)
      Updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the Update operation.
      Returns:
      the SyncPoller for polling of class representing a Kusto database.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseInner>,DatabaseInner> beginUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters, com.azure.core.util.Context context)
      Updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the Update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of class representing a Kusto database.
      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.
    • update

      DatabaseInner update(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters)
      Updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the Update operation.
      Returns:
      class representing a Kusto database.
      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.
    • update

      DatabaseInner update(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters, com.azure.core.util.Context context)
      Updates a database.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      parameters - The database parameters supplied to the Update operation.
      context - The context to associate with this operation.
      Returns:
      class representing a Kusto database.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName)
      Deletes the database with the given name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, com.azure.core.util.Context context)
      Deletes the database with the given name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName)
      Deletes the database with the given name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      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 workspaceName, String kustoPoolName, String databaseName, com.azure.core.util.Context context)
      Deletes the database with the given name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      databaseName - The name of the database in the Kusto pool.
      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.