Interface AttachedDatabaseConfigurations


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

    • checkNameAvailability

      CheckNameResult checkNameAvailability(String resourceGroupName, String clusterName, AttachedDatabaseConfigurationsCheckNameRequest resourceName)
      Checks that the attached database configuration resource name is valid and is not already in use.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      resourceName - The name of the resource.
      Returns:
      the result returned from a check name availability request.
      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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameResult> checkNameAvailabilityWithResponse(String resourceGroupName, String clusterName, AttachedDatabaseConfigurationsCheckNameRequest resourceName, com.azure.core.util.Context context)
      Checks that the attached database configuration resource name is valid and is not already in use.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      resourceName - The name of the resource.
      context - The context to associate with this operation.
      Returns:
      the result returned from a check name availability request 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.
    • listByCluster

      com.azure.core.http.rest.PagedIterable<AttachedDatabaseConfiguration> listByCluster(String resourceGroupName, String clusterName)
      Returns the list of attached database configurations of the given Kusto cluster.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      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.
    • listByCluster

      com.azure.core.http.rest.PagedIterable<AttachedDatabaseConfiguration> listByCluster(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      Returns the list of attached database configurations of the given Kusto cluster.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      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.
    • get

      AttachedDatabaseConfiguration get(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName)
      Returns an attached database configuration.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<AttachedDatabaseConfiguration> getWithResponse(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, com.azure.core.util.Context context)
      Returns an attached database configuration.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      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.
    • delete

      void delete(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName)
      Deletes the attached database configuration with the given name.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      attachedDatabaseConfigurationName - The name of the 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 resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, com.azure.core.util.Context context)
      Deletes the attached database configuration with the given name.
      Parameters:
      resourceGroupName - The name of the resource group containing the Kusto cluster.
      clusterName - The name of the Kusto cluster.
      attachedDatabaseConfigurationName - The name of the attached database configuration.
      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.