Interface KustoPoolAttachedDatabaseConfigurations


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

    • listByKustoPool

      com.azure.core.http.rest.PagedIterable<AttachedDatabaseConfiguration> listByKustoPool(String workspaceName, String kustoPoolName, String resourceGroupName)
      Returns the list of attached database configurations of the given Kusto Pool.
      Parameters:
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the list attached database configurations 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<AttachedDatabaseConfiguration> listByKustoPool(String workspaceName, String kustoPoolName, String resourceGroupName, com.azure.core.util.Context context)
      Returns the list of attached database configurations of the given Kusto Pool.
      Parameters:
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the list attached database configurations 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<AttachedDatabaseConfiguration> getWithResponse(String workspaceName, String kustoPoolName, String attachedDatabaseConfigurationName, String resourceGroupName, com.azure.core.util.Context context)
      Returns an attached database configuration.
      Parameters:
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      class representing an attached database configuration 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

      AttachedDatabaseConfiguration get(String workspaceName, String kustoPoolName, String attachedDatabaseConfigurationName, String resourceGroupName)
      Returns an attached database configuration.
      Parameters:
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      class representing an attached database configuration.
      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 workspaceName, String kustoPoolName, String attachedDatabaseConfigurationName, String resourceGroupName)
      Deletes the attached database configuration with the given name.
      Parameters:
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      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 workspaceName, String kustoPoolName, String attachedDatabaseConfigurationName, String resourceGroupName, com.azure.core.util.Context context)
      Deletes the attached database configuration with the given name.
      Parameters:
      workspaceName - The name of the workspace.
      kustoPoolName - The name of the Kusto pool.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      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.
    • getById

      Returns an attached database configuration.
      Parameters:
      id - the resource ID.
      Returns:
      class representing an attached database configuration 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<AttachedDatabaseConfiguration> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns an attached database configuration.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      class representing an attached database configuration 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)
      Deletes the attached database configuration with the given name.
      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)
      Deletes the attached database configuration with the given name.
      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 AttachedDatabaseConfiguration resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AttachedDatabaseConfiguration definition.