Interface AttachedDatabaseConfigurationsClient
public interface AttachedDatabaseConfigurationsClient
An instance of this class provides access to all the operations defined in AttachedDatabaseConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttachedDatabaseConfigurationInner>,
AttachedDatabaseConfigurationInner> beginCreateOrUpdate
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters) Creates or updates an attached database configuration.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttachedDatabaseConfigurationInner>,
AttachedDatabaseConfigurationInner> beginCreateOrUpdate
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates an attached database configuration.beginDelete
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName) Deletes the attached database configuration with the given name.beginDelete
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, com.azure.core.util.Context context) Deletes the attached database configuration with the given name.checkNameAvailability
(String resourceGroupName, String clusterName, AttachedDatabaseConfigurationsCheckNameRequest resourceName) Checks that the attached database configuration resource name is valid and is not already in use.com.azure.core.http.rest.Response<CheckNameResultInner>
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.createOrUpdate
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters) Creates or updates an attached database configuration.createOrUpdate
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates an attached database configuration.void
Deletes the attached database configuration with the given name.void
delete
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, com.azure.core.util.Context context) Deletes the attached database configuration with the given name.Returns an attached database configuration.com.azure.core.http.rest.Response<AttachedDatabaseConfigurationInner>
getWithResponse
(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, com.azure.core.util.Context context) Returns an attached database configuration.com.azure.core.http.rest.PagedIterable<AttachedDatabaseConfigurationInner>
listByCluster
(String resourceGroupName, String clusterName) Returns the list of attached database configurations of the given Kusto cluster.com.azure.core.http.rest.PagedIterable<AttachedDatabaseConfigurationInner>
listByCluster
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Returns the list of attached database configurations of the given Kusto cluster.
-
Method Details
-
checkNameAvailability
CheckNameResultInner 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<CheckNameResultInner> 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<AttachedDatabaseConfigurationInner> 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<AttachedDatabaseConfigurationInner> 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
AttachedDatabaseConfigurationInner 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<AttachedDatabaseConfigurationInner> 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttachedDatabaseConfigurationInner>,AttachedDatabaseConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters) Creates or updates 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.parameters
- The database parameters supplied to the CreateOrUpdate operation.- Returns:
- the
SyncPoller
for polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttachedDatabaseConfigurationInner>,AttachedDatabaseConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates 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.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 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.
-
createOrUpdate
AttachedDatabaseConfigurationInner createOrUpdate(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters) Creates or updates 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.parameters
- The database parameters supplied to the CreateOrUpdate operation.- 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.
-
createOrUpdate
AttachedDatabaseConfigurationInner createOrUpdate(String resourceGroupName, String clusterName, String attachedDatabaseConfigurationName, AttachedDatabaseConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates 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.parameters
- The database parameters supplied to the CreateOrUpdate operation.context
- The context to associate with this operation.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- 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 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.- 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
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.
-