public interface KustoPoolDatabases
Modifier and Type | Method and Description |
---|---|
Database |
createOrUpdate(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName,
DatabaseInner parameters)
Creates or updates a database.
|
Database |
createOrUpdate(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName,
DatabaseInner parameters,
com.azure.core.util.Context context)
Creates or updates a database.
|
void |
delete(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName)
Deletes the database with the given name.
|
void |
delete(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName,
com.azure.core.util.Context context)
Deletes the database with the given name.
|
Database |
get(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName)
Returns a database.
|
com.azure.core.http.rest.Response<Database> |
getWithResponse(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName,
com.azure.core.util.Context context)
Returns a database.
|
com.azure.core.http.rest.PagedIterable<Database> |
listByKustoPool(String resourceGroupName,
String workspaceName,
String kustoPoolName)
Returns the list of databases of the given Kusto pool.
|
com.azure.core.http.rest.PagedIterable<Database> |
listByKustoPool(String resourceGroupName,
String workspaceName,
String kustoPoolName,
com.azure.core.util.Context context)
Returns the list of databases of the given Kusto pool.
|
Database |
update(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName,
DatabaseInner parameters)
Updates a database.
|
Database |
update(String resourceGroupName,
String workspaceName,
String kustoPoolName,
String databaseName,
DatabaseInner parameters,
com.azure.core.util.Context context)
Updates a database.
|
com.azure.core.http.rest.PagedIterable<Database> listByKustoPool(String resourceGroupName, String workspaceName, String kustoPoolName)
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.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.com.azure.core.http.rest.PagedIterable<Database> listByKustoPool(String resourceGroupName, String workspaceName, String kustoPoolName, com.azure.core.util.Context context)
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.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.Database get(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName)
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.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.com.azure.core.http.rest.Response<Database> getWithResponse(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, com.azure.core.util.Context context)
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.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.Database createOrUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner 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.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.Database createOrUpdate(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters, com.azure.core.util.Context context)
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.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.Database update(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner 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.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.Database update(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, DatabaseInner parameters, com.azure.core.util.Context context)
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.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.void delete(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName)
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.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.void delete(String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName, com.azure.core.util.Context context)
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.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.