Interface ManagedDatabaseSchemasClient
public interface ManagedDatabaseSchemasClient
An instance of this class provides access to all the operations defined in ManagedDatabaseSchemasClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet managed database schema.getAsync(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName) Get managed database schema.com.azure.core.http.rest.Response<DatabaseSchemaInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName, com.azure.core.util.Context context) Get managed database schema.Mono<com.azure.core.http.rest.Response<DatabaseSchemaInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName) Get managed database schema.com.azure.core.http.rest.PagedIterable<DatabaseSchemaInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName) List managed database schemas.com.azure.core.http.rest.PagedIterable<DatabaseSchemaInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, String filter, com.azure.core.util.Context context) List managed database schemas.com.azure.core.http.rest.PagedFlux<DatabaseSchemaInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName) List managed database schemas.com.azure.core.http.rest.PagedFlux<DatabaseSchemaInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String filter) List managed database schemas.
-
Method Details
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<DatabaseSchemaInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String filter) List managed database schemas.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.filter- An OData filter expression that filters elements in the collection.- Returns:
- a list of database schemas as paginated response with
PagedFlux. - 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.
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<DatabaseSchemaInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName) List managed database schemas.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.- Returns:
- a list of database schemas as paginated response with
PagedFlux. - 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseSchemaInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName) List managed database schemas.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.- Returns:
- a list of database schemas 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseSchemaInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, String filter, com.azure.core.util.Context context) List managed database schemas.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.filter- An OData filter expression that filters elements in the collection.context- The context to associate with this operation.- Returns:
- a list of database schemas 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<DatabaseSchemaInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName) Get managed database schema.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.schemaName- The name of the schema.- Returns:
- managed database schema along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<DatabaseSchemaInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName) Get managed database schema.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.schemaName- The name of the schema.- Returns:
- managed database schema on successful completion of
Mono. - 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<DatabaseSchemaInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName, com.azure.core.util.Context context) Get managed database schema.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.schemaName- The name of the schema.context- The context to associate with this operation.- Returns:
- managed database schema 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
DatabaseSchemaInner get(String resourceGroupName, String managedInstanceName, String databaseName, String schemaName) Get managed database schema.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.databaseName- The name of the database.schemaName- The name of the schema.- Returns:
- managed database schema.
- 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.
-