@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class DbManagementAsyncClient extends BaseAsyncClient implements DbManagementAsync
Async client implementation for DbManagement service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, like getObject Api in object storage service,
developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
DbManagementAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for DbManagement.
|
Constructor and Description |
---|
DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DbManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
DbManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
DbManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for DbManagement.
public final String clientCommonLibraryVersion
@Deprecated public DbManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public DbManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public DbManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public DbManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DbManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static DbManagementAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
DbManagementAsync
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
setRegion
in interface DbManagementAsync
region
- The region of the service.public void setRegion(String regionId)
DbManagementAsync
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
setRegion
in interface DbManagementAsync
regionId
- The public region ID.public Future<AddDataFilesResponse> addDataFiles(AddDataFilesRequest request, AsyncHandler<AddDataFilesRequest,AddDataFilesResponse> handler)
DbManagementAsync
Adds data files or temp files to the tablespace.
addDataFiles
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddManagedDatabaseToManagedDatabaseGroupResponse> addManagedDatabaseToManagedDatabaseGroup(AddManagedDatabaseToManagedDatabaseGroupRequest request, AsyncHandler<AddManagedDatabaseToManagedDatabaseGroupRequest,AddManagedDatabaseToManagedDatabaseGroupResponse> handler)
DbManagementAsync
Adds a Managed Database to a specific Managed Database Group. After the database is added, it will be included in the management activities performed on the Managed Database Group.
addManagedDatabaseToManagedDatabaseGroup
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddmTasksResponse> addmTasks(AddmTasksRequest request, AsyncHandler<AddmTasksRequest,AddmTasksResponse> handler)
DbManagementAsync
Lists the metadata for each ADDM task who’s end snapshot time falls within the provided start and end time. Details include the name of the ADDM task, description, user, status and creation date time.
addmTasks
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDatabaseParametersResponse> changeDatabaseParameters(ChangeDatabaseParametersRequest request, AsyncHandler<ChangeDatabaseParametersRequest,ChangeDatabaseParametersResponse> handler)
DbManagementAsync
Changes database parameter values. There are two kinds of database parameters:
- Dynamic parameters: They can be changed for the current Oracle Database instance. The changes take effect immediately. - Static parameters: They cannot be changed for the current instance. You must change these parameters and then restart the database before changes take effect.
*Note:** If the instance is started using a text initialization parameter file, the parameter changes are applicable only for the current instance. You must update them manually to be passed to a future instance.
changeDatabaseParameters
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDbManagementPrivateEndpointCompartmentResponse> changeDbManagementPrivateEndpointCompartment(ChangeDbManagementPrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDbManagementPrivateEndpointCompartmentRequest,ChangeDbManagementPrivateEndpointCompartmentResponse> handler)
DbManagementAsync
Moves the Database Management private endpoint and its dependent resources to the specified compartment.
changeDbManagementPrivateEndpointCompartment
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeExternalDbSystemCompartmentResponse> changeExternalDbSystemCompartment(ChangeExternalDbSystemCompartmentRequest request, AsyncHandler<ChangeExternalDbSystemCompartmentRequest,ChangeExternalDbSystemCompartmentResponse> handler)
DbManagementAsync
Moves the external DB system and its related resources (excluding databases) to the specified compartment.
changeExternalDbSystemCompartment
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeExternalExadataInfrastructureCompartmentResponse> changeExternalExadataInfrastructureCompartment(ChangeExternalExadataInfrastructureCompartmentRequest request, AsyncHandler<ChangeExternalExadataInfrastructureCompartmentRequest,ChangeExternalExadataInfrastructureCompartmentResponse> handler)
DbManagementAsync
Moves the Exadata infrastructure and its related resources (Exadata storage server, Exadata storage server connectors and Exadata storage server grid) to the specified compartment.
changeExternalExadataInfrastructureCompartment
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeJobCompartmentResponse> changeJobCompartment(ChangeJobCompartmentRequest request, AsyncHandler<ChangeJobCompartmentRequest,ChangeJobCompartmentResponse> handler)
DbManagementAsync
Moves a job.
changeJobCompartment
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeManagedDatabaseGroupCompartmentResponse> changeManagedDatabaseGroupCompartment(ChangeManagedDatabaseGroupCompartmentRequest request, AsyncHandler<ChangeManagedDatabaseGroupCompartmentRequest,ChangeManagedDatabaseGroupCompartmentResponse> handler)
DbManagementAsync
Moves a Managed Database Group to a different compartment. The destination compartment must not have a Managed Database Group with the same name.
changeManagedDatabaseGroupCompartment
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeNamedCredentialCompartmentResponse> changeNamedCredentialCompartment(ChangeNamedCredentialCompartmentRequest request, AsyncHandler<ChangeNamedCredentialCompartmentRequest,ChangeNamedCredentialCompartmentResponse> handler)
DbManagementAsync
Moves a named credential to a different compartment. The destination compartment must not have a named credential with the same name.
changeNamedCredentialCompartment
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangePlanRetentionResponse> changePlanRetention(ChangePlanRetentionRequest request, AsyncHandler<ChangePlanRetentionRequest,ChangePlanRetentionResponse> handler)
DbManagementAsync
Changes the retention period of unused plans. The period can range between 5 and 523 weeks.
The database purges plans that have not been used for longer than the plan retention period.
changePlanRetention
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSpaceBudgetResponse> changeSpaceBudget(ChangeSpaceBudgetRequest request, AsyncHandler<ChangeSpaceBudgetRequest,ChangeSpaceBudgetResponse> handler)
DbManagementAsync
Changes the disk space limit for the SQL Management Base. The allowable range for this limit is between 1% and 50%.
changeSpaceBudget
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSqlPlanBaselinesAttributesResponse> changeSqlPlanBaselinesAttributes(ChangeSqlPlanBaselinesAttributesRequest request, AsyncHandler<ChangeSqlPlanBaselinesAttributesRequest,ChangeSqlPlanBaselinesAttributesResponse> handler)
DbManagementAsync
Changes one or more attributes of a single plan or all plans associated with a SQL statement.
changeSqlPlanBaselinesAttributes
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CheckExternalDbSystemConnectorConnectionStatusResponse> checkExternalDbSystemConnectorConnectionStatus(CheckExternalDbSystemConnectorConnectionStatusRequest request, AsyncHandler<CheckExternalDbSystemConnectorConnectionStatusRequest,CheckExternalDbSystemConnectorConnectionStatusResponse> handler)
DbManagementAsync
Checks the status of the external DB system component connection specified in this connector. This operation will refresh the connectionStatus and timeConnectionStatusLastUpdated fields.
checkExternalDbSystemConnectorConnectionStatus
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CheckExternalExadataStorageConnectorResponse> checkExternalExadataStorageConnector(CheckExternalExadataStorageConnectorRequest request, AsyncHandler<CheckExternalExadataStorageConnectorRequest,CheckExternalExadataStorageConnectorResponse> handler)
DbManagementAsync
Checks the status of the Exadata storage server connection specified by exadataStorageConnectorId.
checkExternalExadataStorageConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ConfigureAutomaticCaptureFiltersResponse> configureAutomaticCaptureFilters(ConfigureAutomaticCaptureFiltersRequest request, AsyncHandler<ConfigureAutomaticCaptureFiltersRequest,ConfigureAutomaticCaptureFiltersResponse> handler)
DbManagementAsync
Configures automatic capture filters to capture only those statements that match the filter criteria.
configureAutomaticCaptureFilters
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ConfigureAutomaticSpmEvolveAdvisorTaskResponse> configureAutomaticSpmEvolveAdvisorTask(ConfigureAutomaticSpmEvolveAdvisorTaskRequest request, AsyncHandler<ConfigureAutomaticSpmEvolveAdvisorTaskRequest,ConfigureAutomaticSpmEvolveAdvisorTaskResponse> handler)
DbManagementAsync
Configures the Automatic SPM Evolve Advisor task SYS_AUTO_SPM_EVOLVE_TASK
by specifying
task parameters. As the task is owned by SYS
, only SYS
can set task parameters.
configureAutomaticSpmEvolveAdvisorTask
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDbManagementPrivateEndpointResponse> createDbManagementPrivateEndpoint(CreateDbManagementPrivateEndpointRequest request, AsyncHandler<CreateDbManagementPrivateEndpointRequest,CreateDbManagementPrivateEndpointResponse> handler)
DbManagementAsync
Creates a new Database Management private endpoint.
createDbManagementPrivateEndpoint
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateExternalDbSystemResponse> createExternalDbSystem(CreateExternalDbSystemRequest request, AsyncHandler<CreateExternalDbSystemRequest,CreateExternalDbSystemResponse> handler)
DbManagementAsync
Creates an external DB system and its related resources.
createExternalDbSystem
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateExternalDbSystemConnectorResponse> createExternalDbSystemConnector(CreateExternalDbSystemConnectorRequest request, AsyncHandler<CreateExternalDbSystemConnectorRequest,CreateExternalDbSystemConnectorResponse> handler)
DbManagementAsync
Creates a new external connector.
createExternalDbSystemConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateExternalDbSystemDiscoveryResponse> createExternalDbSystemDiscovery(CreateExternalDbSystemDiscoveryRequest request, AsyncHandler<CreateExternalDbSystemDiscoveryRequest,CreateExternalDbSystemDiscoveryResponse> handler)
DbManagementAsync
Creates an external DB system discovery resource and initiates the discovery process.
createExternalDbSystemDiscovery
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateExternalExadataInfrastructureResponse> createExternalExadataInfrastructure(CreateExternalExadataInfrastructureRequest request, AsyncHandler<CreateExternalExadataInfrastructureRequest,CreateExternalExadataInfrastructureResponse> handler)
DbManagementAsync
Creates an OCI resource for the Exadata infrastructure and enables the Monitoring service for the Exadata infrastructure. The following resource/subresources are created: Infrastructure Storage server connectors Storage servers Storage grids
createExternalExadataInfrastructure
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateExternalExadataStorageConnectorResponse> createExternalExadataStorageConnector(CreateExternalExadataStorageConnectorRequest request, AsyncHandler<CreateExternalExadataStorageConnectorRequest,CreateExternalExadataStorageConnectorResponse> handler)
DbManagementAsync
Creates the Exadata storage server connector after validating the connection information.
createExternalExadataStorageConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateJobResponse> createJob(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResponse> handler)
DbManagementAsync
Creates a job to be executed on a Managed Database or Managed Database Group. Only one of the parameters, managedDatabaseId or managedDatabaseGroupId should be provided as input in CreateJobDetails resource in request body.
createJob
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateManagedDatabaseGroupResponse> createManagedDatabaseGroup(CreateManagedDatabaseGroupRequest request, AsyncHandler<CreateManagedDatabaseGroupRequest,CreateManagedDatabaseGroupResponse> handler)
DbManagementAsync
Creates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.
createManagedDatabaseGroup
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateNamedCredentialResponse> createNamedCredential(CreateNamedCredentialRequest request, AsyncHandler<CreateNamedCredentialRequest,CreateNamedCredentialResponse> handler)
DbManagementAsync
Creates a named credential.
createNamedCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTablespaceResponse> createTablespace(CreateTablespaceRequest request, AsyncHandler<CreateTablespaceRequest,CreateTablespaceResponse> handler)
DbManagementAsync
Creates a tablespace within the Managed Database specified by managedDatabaseId.
createTablespace
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDbManagementPrivateEndpointResponse> deleteDbManagementPrivateEndpoint(DeleteDbManagementPrivateEndpointRequest request, AsyncHandler<DeleteDbManagementPrivateEndpointRequest,DeleteDbManagementPrivateEndpointResponse> handler)
DbManagementAsync
Deletes a specific Database Management private endpoint.
deleteDbManagementPrivateEndpoint
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteExternalDbSystemResponse> deleteExternalDbSystem(DeleteExternalDbSystemRequest request, AsyncHandler<DeleteExternalDbSystemRequest,DeleteExternalDbSystemResponse> handler)
DbManagementAsync
Deletes the external DB system specified by externalDbSystemId
.
deleteExternalDbSystem
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteExternalDbSystemConnectorResponse> deleteExternalDbSystemConnector(DeleteExternalDbSystemConnectorRequest request, AsyncHandler<DeleteExternalDbSystemConnectorRequest,DeleteExternalDbSystemConnectorResponse> handler)
DbManagementAsync
Deletes the external connector specified by externalDbSystemConnectorId
.
deleteExternalDbSystemConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteExternalDbSystemDiscoveryResponse> deleteExternalDbSystemDiscovery(DeleteExternalDbSystemDiscoveryRequest request, AsyncHandler<DeleteExternalDbSystemDiscoveryRequest,DeleteExternalDbSystemDiscoveryResponse> handler)
DbManagementAsync
Deletes the external DB system discovery resource specified by externalDbSystemDiscoveryId
.
deleteExternalDbSystemDiscovery
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteExternalExadataInfrastructureResponse> deleteExternalExadataInfrastructure(DeleteExternalExadataInfrastructureRequest request, AsyncHandler<DeleteExternalExadataInfrastructureRequest,DeleteExternalExadataInfrastructureResponse> handler)
DbManagementAsync
Deletes the Exadata infrastructure specified by externalExadataInfrastructureId.
deleteExternalExadataInfrastructure
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteExternalExadataStorageConnectorResponse> deleteExternalExadataStorageConnector(DeleteExternalExadataStorageConnectorRequest request, AsyncHandler<DeleteExternalExadataStorageConnectorRequest,DeleteExternalExadataStorageConnectorResponse> handler)
DbManagementAsync
Deletes the Exadata storage server connector specified by exadataStorageConnectorId.
deleteExternalExadataStorageConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteJobResponse> deleteJob(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
DbManagementAsync
Deletes the job specified by jobId.
deleteJob
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteManagedDatabaseGroupResponse> deleteManagedDatabaseGroup(DeleteManagedDatabaseGroupRequest request, AsyncHandler<DeleteManagedDatabaseGroupRequest,DeleteManagedDatabaseGroupResponse> handler)
DbManagementAsync
Deletes the Managed Database Group specified by managedDatabaseGroupId. If the group contains Managed Databases, then it cannot be deleted.
deleteManagedDatabaseGroup
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteNamedCredentialResponse> deleteNamedCredential(DeleteNamedCredentialRequest request, AsyncHandler<DeleteNamedCredentialRequest,DeleteNamedCredentialResponse> handler)
DbManagementAsync
Deletes the named credential specified by namedCredentialId.
deleteNamedCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeletePreferredCredentialResponse> deletePreferredCredential(DeletePreferredCredentialRequest request, AsyncHandler<DeletePreferredCredentialRequest,DeletePreferredCredentialResponse> handler)
DbManagementAsync
Deletes the preferred credential based on the credentialName.
deletePreferredCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableAutomaticInitialPlanCaptureResponse> disableAutomaticInitialPlanCapture(DisableAutomaticInitialPlanCaptureRequest request, AsyncHandler<DisableAutomaticInitialPlanCaptureRequest,DisableAutomaticInitialPlanCaptureResponse> handler)
DbManagementAsync
Disables automatic initial plan capture.
disableAutomaticInitialPlanCapture
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableAutomaticSpmEvolveAdvisorTaskResponse> disableAutomaticSpmEvolveAdvisorTask(DisableAutomaticSpmEvolveAdvisorTaskRequest request, AsyncHandler<DisableAutomaticSpmEvolveAdvisorTaskRequest,DisableAutomaticSpmEvolveAdvisorTaskResponse> handler)
DbManagementAsync
Disables the Automatic SPM Evolve Advisor task.
One client controls both Automatic SQL Tuning Advisor and Automatic SPM Evolve Advisor. Thus, the same task enables or disables both.
disableAutomaticSpmEvolveAdvisorTask
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableAutonomousDatabaseManagementFeatureResponse> disableAutonomousDatabaseManagementFeature(DisableAutonomousDatabaseManagementFeatureRequest request, AsyncHandler<DisableAutonomousDatabaseManagementFeatureRequest,DisableAutonomousDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Disables a Database Management feature for the specified Autonomous Database.
disableAutonomousDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableDatabaseManagementFeatureResponse> disableDatabaseManagementFeature(DisableDatabaseManagementFeatureRequest request, AsyncHandler<DisableDatabaseManagementFeatureRequest,DisableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Disables a Database Management feature for the specified Oracle cloud database.
disableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableExternalContainerDatabaseManagementFeatureResponse> disableExternalContainerDatabaseManagementFeature(DisableExternalContainerDatabaseManagementFeatureRequest request, AsyncHandler<DisableExternalContainerDatabaseManagementFeatureRequest,DisableExternalContainerDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Disables a Database Management feature for the specified external container database.
disableExternalContainerDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableExternalDbSystemDatabaseManagementResponse> disableExternalDbSystemDatabaseManagement(DisableExternalDbSystemDatabaseManagementRequest request, AsyncHandler<DisableExternalDbSystemDatabaseManagementRequest,DisableExternalDbSystemDatabaseManagementResponse> handler)
DbManagementAsync
Disables Database Management service for all the components of the specified external DB system (except databases).
disableExternalDbSystemDatabaseManagement
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableExternalDbSystemStackMonitoringResponse> disableExternalDbSystemStackMonitoring(DisableExternalDbSystemStackMonitoringRequest request, AsyncHandler<DisableExternalDbSystemStackMonitoringRequest,DisableExternalDbSystemStackMonitoringResponse> handler)
DbManagementAsync
Disables Stack Monitoring for all the components of the specified external DB system (except databases).
disableExternalDbSystemStackMonitoring
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableExternalExadataInfrastructureManagementResponse> disableExternalExadataInfrastructureManagement(DisableExternalExadataInfrastructureManagementRequest request, AsyncHandler<DisableExternalExadataInfrastructureManagementRequest,DisableExternalExadataInfrastructureManagementResponse> handler)
DbManagementAsync
Disables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId. It covers the following components:
- Exadata infrastructure - Exadata storage grid - Exadata storage server
Note that Database Management will not be disabled for the DB systems within the Exadata infrastructure and should be disabled explicitly, if required.
disableExternalExadataInfrastructureManagement
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableExternalNonContainerDatabaseManagementFeatureResponse> disableExternalNonContainerDatabaseManagementFeature(DisableExternalNonContainerDatabaseManagementFeatureRequest request, AsyncHandler<DisableExternalNonContainerDatabaseManagementFeatureRequest,DisableExternalNonContainerDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Disables a Database Management feature for the specified external non-container database.
disableExternalNonContainerDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableExternalPluggableDatabaseManagementFeatureResponse> disableExternalPluggableDatabaseManagementFeature(DisableExternalPluggableDatabaseManagementFeatureRequest request, AsyncHandler<DisableExternalPluggableDatabaseManagementFeatureRequest,DisableExternalPluggableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Disables a Database Management feature for the specified external pluggable database.
disableExternalPluggableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskResponse> disableHighFrequencyAutomaticSpmEvolveAdvisorTask(DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest request, AsyncHandler<DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest,DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskResponse> handler)
DbManagementAsync
Disables the high-frequency Automatic SPM Evolve Advisor task.
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
disableHighFrequencyAutomaticSpmEvolveAdvisorTask
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisablePluggableDatabaseManagementFeatureResponse> disablePluggableDatabaseManagementFeature(DisablePluggableDatabaseManagementFeatureRequest request, AsyncHandler<DisablePluggableDatabaseManagementFeatureRequest,DisablePluggableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Disables a Database Management feature for the specified Oracle cloud pluggable database.
disablePluggableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableSqlPlanBaselinesUsageResponse> disableSqlPlanBaselinesUsage(DisableSqlPlanBaselinesUsageRequest request, AsyncHandler<DisableSqlPlanBaselinesUsageRequest,DisableSqlPlanBaselinesUsageResponse> handler)
DbManagementAsync
Disables the use of SQL plan baselines stored in SQL Management Base.
When disabled, the optimizer does not use any SQL plan baselines.
disableSqlPlanBaselinesUsage
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DiscoverExternalExadataInfrastructureResponse> discoverExternalExadataInfrastructure(DiscoverExternalExadataInfrastructureRequest request, AsyncHandler<DiscoverExternalExadataInfrastructureRequest,DiscoverExternalExadataInfrastructureResponse> handler)
DbManagementAsync
Completes the Exadata system prechecking on the following:
- Verifies if the DB systems are valid RAC DB systems or return 400 status code with NON_RAC_DATABASE_SYSTEM error code. - Verifies if the ASM connector defined for each DB system or return 400 status code with CONNECTOR_NOT_DEFINED error code. - Verifies if the agents associated with ASM are valid and could be used for the Exadata storage servers or return 400 status code with INVALID_AGENT error code. - Verifies if it is an Exadata system or return 400 status code with INVALID_EXADATA_SYSTEM error code.
Starts the discovery process for the Exadata system infrastructure. The following resources/components are discovered
- Exadata storage servers from each DB systems - Exadata storage grid for all Exadata storage servers - Exadata infrastructure
The same API covers both new discovery and rediscovery cases. For the new discovery case, new managed resources/sub-resources are created or the existing ones are overridden. For rediscovery case, the existing managed resources/sub-resources are checked to find out which ones should be added or which ones should be removed based on the unique key defined for each resource/sub-resource.
discoverExternalExadataInfrastructure
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DropSqlPlanBaselinesResponse> dropSqlPlanBaselines(DropSqlPlanBaselinesRequest request, AsyncHandler<DropSqlPlanBaselinesRequest,DropSqlPlanBaselinesResponse> handler)
DbManagementAsync
Drops a single plan or all plans associated with a SQL statement.
dropSqlPlanBaselines
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DropTablespaceResponse> dropTablespace(DropTablespaceRequest request, AsyncHandler<DropTablespaceRequest,DropTablespaceResponse> handler)
DbManagementAsync
Drops the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
dropTablespace
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableAutomaticInitialPlanCaptureResponse> enableAutomaticInitialPlanCapture(EnableAutomaticInitialPlanCaptureRequest request, AsyncHandler<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureResponse> handler)
DbManagementAsync
Enables automatic initial plan capture. When enabled, the database checks whether executed SQL statements are eligible for automatic capture. It creates initial plan baselines for eligible statements.
By default, the database creates a SQL plan baseline for every eligible repeatable statement, including all recursive SQL and monitoring SQL. Thus, automatic capture may result in the creation of an extremely large number of plan baselines. To limit the statements that are eligible for plan baselines, configure filters.
enableAutomaticInitialPlanCapture
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableAutomaticSpmEvolveAdvisorTaskResponse> enableAutomaticSpmEvolveAdvisorTask(EnableAutomaticSpmEvolveAdvisorTaskRequest request, AsyncHandler<EnableAutomaticSpmEvolveAdvisorTaskRequest,EnableAutomaticSpmEvolveAdvisorTaskResponse> handler)
DbManagementAsync
Enables the Automatic SPM Evolve Advisor task. By default, the automatic task
SYS_AUTO_SPM_EVOLVE_TASK
runs every day in the scheduled maintenance window.
The SPM Evolve Advisor performs the following tasks:
- Checks AWR for top SQL - Looks for alternative plans in all available sources - Adds unaccepted plans to the plan history - Tests the execution of as many plans as possible during the maintenance window - Adds the alternative plan to the baseline if it performs better than the current plan
One client controls both Automatic SQL Tuning Advisor and Automatic SPM Evolve Advisor. Thus, the same task enables or disables both.
enableAutomaticSpmEvolveAdvisorTask
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableAutonomousDatabaseManagementFeatureResponse> enableAutonomousDatabaseManagementFeature(EnableAutonomousDatabaseManagementFeatureRequest request, AsyncHandler<EnableAutonomousDatabaseManagementFeatureRequest,EnableAutonomousDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Enables a Database Management feature for the specified Autonomous Database.
enableAutonomousDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableDatabaseManagementFeatureResponse> enableDatabaseManagementFeature(EnableDatabaseManagementFeatureRequest request, AsyncHandler<EnableDatabaseManagementFeatureRequest,EnableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Enables a Database Management feature for the specified cloud database.
enableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableExternalContainerDatabaseManagementFeatureResponse> enableExternalContainerDatabaseManagementFeature(EnableExternalContainerDatabaseManagementFeatureRequest request, AsyncHandler<EnableExternalContainerDatabaseManagementFeatureRequest,EnableExternalContainerDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Enables a Database Management feature for the specified external container database.
enableExternalContainerDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableExternalDbSystemDatabaseManagementResponse> enableExternalDbSystemDatabaseManagement(EnableExternalDbSystemDatabaseManagementRequest request, AsyncHandler<EnableExternalDbSystemDatabaseManagementRequest,EnableExternalDbSystemDatabaseManagementResponse> handler)
DbManagementAsync
Enables Database Management service for all the components of the specified external DB system (except databases).
enableExternalDbSystemDatabaseManagement
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableExternalDbSystemStackMonitoringResponse> enableExternalDbSystemStackMonitoring(EnableExternalDbSystemStackMonitoringRequest request, AsyncHandler<EnableExternalDbSystemStackMonitoringRequest,EnableExternalDbSystemStackMonitoringResponse> handler)
DbManagementAsync
Enables Stack Monitoring for all the components of the specified external DB system (except databases).
enableExternalDbSystemStackMonitoring
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableExternalExadataInfrastructureManagementResponse> enableExternalExadataInfrastructureManagement(EnableExternalExadataInfrastructureManagementRequest request, AsyncHandler<EnableExternalExadataInfrastructureManagementRequest,EnableExternalExadataInfrastructureManagementResponse> handler)
DbManagementAsync
Enables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId. It covers the following components:
- Exadata infrastructure - Exadata storage grid - Exadata storage server
enableExternalExadataInfrastructureManagement
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableExternalNonContainerDatabaseManagementFeatureResponse> enableExternalNonContainerDatabaseManagementFeature(EnableExternalNonContainerDatabaseManagementFeatureRequest request, AsyncHandler<EnableExternalNonContainerDatabaseManagementFeatureRequest,EnableExternalNonContainerDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Enables Database Management feature for the specified external non-container database.
enableExternalNonContainerDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableExternalPluggableDatabaseManagementFeatureResponse> enableExternalPluggableDatabaseManagementFeature(EnableExternalPluggableDatabaseManagementFeatureRequest request, AsyncHandler<EnableExternalPluggableDatabaseManagementFeatureRequest,EnableExternalPluggableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Enables a Database Management feature for the specified external pluggable database.
enableExternalPluggableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskResponse> enableHighFrequencyAutomaticSpmEvolveAdvisorTask(EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest request, AsyncHandler<EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest,EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskResponse> handler)
DbManagementAsync
Enables the high-frequency Automatic SPM Evolve Advisor task. The high-frequency task runs every hour and runs for no longer than 30 minutes. These settings are not configurable.
The high-frequency task complements the standard Automatic SPM Evolve Advisor task. They are independent and are scheduled through two different frameworks.
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
enableHighFrequencyAutomaticSpmEvolveAdvisorTask
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnablePluggableDatabaseManagementFeatureResponse> enablePluggableDatabaseManagementFeature(EnablePluggableDatabaseManagementFeatureRequest request, AsyncHandler<EnablePluggableDatabaseManagementFeatureRequest,EnablePluggableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Enables a Database Management feature for the specified Oracle cloud pluggable database.
enablePluggableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableSqlPlanBaselinesUsageResponse> enableSqlPlanBaselinesUsage(EnableSqlPlanBaselinesUsageRequest request, AsyncHandler<EnableSqlPlanBaselinesUsageRequest,EnableSqlPlanBaselinesUsageResponse> handler)
DbManagementAsync
Enables the use of SQL plan baselines stored in SQL Management Base.
When enabled, the optimizer uses SQL plan baselines to select plans to avoid potential performance regressions.
enableSqlPlanBaselinesUsage
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateAwrSnapshotResponse> generateAwrSnapshot(GenerateAwrSnapshotRequest request, AsyncHandler<GenerateAwrSnapshotRequest,GenerateAwrSnapshotResponse> handler)
DbManagementAsync
Creates an AWR snapshot for the target database.
generateAwrSnapshot
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAwrDbReportResponse> getAwrDbReport(GetAwrDbReportRequest request, AsyncHandler<GetAwrDbReportRequest,GetAwrDbReportResponse> handler)
DbManagementAsync
Gets the AWR report for the specific database.
getAwrDbReport
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAwrDbSqlReportResponse> getAwrDbSqlReport(GetAwrDbSqlReportRequest request, AsyncHandler<GetAwrDbSqlReportRequest,GetAwrDbSqlReportResponse> handler)
DbManagementAsync
Gets the SQL health check report for one SQL of the specific database.
getAwrDbSqlReport
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetClusterCacheMetricResponse> getClusterCacheMetric(GetClusterCacheMetricRequest request, AsyncHandler<GetClusterCacheMetricRequest,GetClusterCacheMetricResponse> handler)
DbManagementAsync
Gets the metrics related to cluster cache for the Oracle Real Application Clusters (Oracle RAC) database specified by managedDatabaseId.
getClusterCacheMetric
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDatabaseFleetHealthMetricsResponse> getDatabaseFleetHealthMetrics(GetDatabaseFleetHealthMetricsRequest request, AsyncHandler<GetDatabaseFleetHealthMetricsRequest,GetDatabaseFleetHealthMetricsResponse> handler)
DbManagementAsync
Gets the health metrics for a fleet of databases in a compartment or in a Managed Database Group. Either the CompartmentId or the ManagedDatabaseGroupId query parameters must be provided to retrieve the health metrics.
getDatabaseFleetHealthMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDatabaseHomeMetricsResponse> getDatabaseHomeMetrics(GetDatabaseHomeMetricsRequest request, AsyncHandler<GetDatabaseHomeMetricsRequest,GetDatabaseHomeMetricsResponse> handler)
DbManagementAsync
Gets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.
getDatabaseHomeMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataguardPerformanceMetricsResponse> getDataguardPerformanceMetrics(GetDataguardPerformanceMetricsRequest request, AsyncHandler<GetDataguardPerformanceMetricsRequest,GetDataguardPerformanceMetricsResponse> handler)
DbManagementAsync
Gets a historical summary of the Database Guard performance metrics for Managed Databases. If the peerDatabaseCompartmentId is specified, then the metrics are only retrieved from the specified compartment. If the peerDatabaseCompartmentId is not specified, then the metrics are retrieved from the compartment of the Managed Database specified by the ManagedDatabaseId.
getDataguardPerformanceMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDbManagementPrivateEndpointResponse> getDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointRequest request, AsyncHandler<GetDbManagementPrivateEndpointRequest,GetDbManagementPrivateEndpointResponse> handler)
DbManagementAsync
Gets the details of a specific Database Management private endpoint.
getDbManagementPrivateEndpoint
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalAsmResponse> getExternalAsm(GetExternalAsmRequest request, AsyncHandler<GetExternalAsmRequest,GetExternalAsmResponse> handler)
DbManagementAsync
Gets the details for the external ASM specified by externalAsmId
.
getExternalAsm
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalAsmConfigurationResponse> getExternalAsmConfiguration(GetExternalAsmConfigurationRequest request, AsyncHandler<GetExternalAsmConfigurationRequest,GetExternalAsmConfigurationResponse> handler)
DbManagementAsync
Gets configuration details including disk groups for the external ASM specified by
externalAsmId
.
getExternalAsmConfiguration
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalAsmInstanceResponse> getExternalAsmInstance(GetExternalAsmInstanceRequest request, AsyncHandler<GetExternalAsmInstanceRequest,GetExternalAsmInstanceResponse> handler)
DbManagementAsync
Gets the details for the external ASM instance specified by externalAsmInstanceId
.
getExternalAsmInstance
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalClusterResponse> getExternalCluster(GetExternalClusterRequest request, AsyncHandler<GetExternalClusterRequest,GetExternalClusterResponse> handler)
DbManagementAsync
Gets the details for the external cluster specified by externalClusterId
.
getExternalCluster
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalClusterInstanceResponse> getExternalClusterInstance(GetExternalClusterInstanceRequest request, AsyncHandler<GetExternalClusterInstanceRequest,GetExternalClusterInstanceResponse> handler)
DbManagementAsync
Gets the details for the external cluster instance specified by externalClusterInstanceId
.
getExternalClusterInstance
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalDbHomeResponse> getExternalDbHome(GetExternalDbHomeRequest request, AsyncHandler<GetExternalDbHomeRequest,GetExternalDbHomeResponse> handler)
DbManagementAsync
Gets the details for the external DB home specified by externalDbHomeId
.
getExternalDbHome
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalDbNodeResponse> getExternalDbNode(GetExternalDbNodeRequest request, AsyncHandler<GetExternalDbNodeRequest,GetExternalDbNodeResponse> handler)
DbManagementAsync
Gets the details for the external DB node specified by externalDbNodeId
.
getExternalDbNode
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalDbSystemResponse> getExternalDbSystem(GetExternalDbSystemRequest request, AsyncHandler<GetExternalDbSystemRequest,GetExternalDbSystemResponse> handler)
DbManagementAsync
Gets the details for the external DB system specified by externalDbSystemId
.
getExternalDbSystem
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalDbSystemConnectorResponse> getExternalDbSystemConnector(GetExternalDbSystemConnectorRequest request, AsyncHandler<GetExternalDbSystemConnectorRequest,GetExternalDbSystemConnectorResponse> handler)
DbManagementAsync
Gets the details for the external connector specified by externalDbSystemConnectorId
.
getExternalDbSystemConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalDbSystemDiscoveryResponse> getExternalDbSystemDiscovery(GetExternalDbSystemDiscoveryRequest request, AsyncHandler<GetExternalDbSystemDiscoveryRequest,GetExternalDbSystemDiscoveryResponse> handler)
DbManagementAsync
Gets the details for the external DB system discovery resource specified by
externalDbSystemDiscoveryId
.
getExternalDbSystemDiscovery
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalExadataInfrastructureResponse> getExternalExadataInfrastructure(GetExternalExadataInfrastructureRequest request, AsyncHandler<GetExternalExadataInfrastructureRequest,GetExternalExadataInfrastructureResponse> handler)
DbManagementAsync
Gets the details for the Exadata infrastructure specified by externalExadataInfrastructureId. It includes the DB systems and storage grid within the Exadata infrastructure.
getExternalExadataInfrastructure
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalExadataStorageConnectorResponse> getExternalExadataStorageConnector(GetExternalExadataStorageConnectorRequest request, AsyncHandler<GetExternalExadataStorageConnectorRequest,GetExternalExadataStorageConnectorResponse> handler)
DbManagementAsync
Gets the details for the Exadata storage server connector specified by exadataStorageConnectorId.
getExternalExadataStorageConnector
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalExadataStorageGridResponse> getExternalExadataStorageGrid(GetExternalExadataStorageGridRequest request, AsyncHandler<GetExternalExadataStorageGridRequest,GetExternalExadataStorageGridResponse> handler)
DbManagementAsync
Gets the details for the Exadata storage server grid specified by exadataStorageGridId.
getExternalExadataStorageGrid
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalExadataStorageServerResponse> getExternalExadataStorageServer(GetExternalExadataStorageServerRequest request, AsyncHandler<GetExternalExadataStorageServerRequest,GetExternalExadataStorageServerResponse> handler)
DbManagementAsync
Gets the summary for the Exadata storage server specified by exadataStorageServerId.
getExternalExadataStorageServer
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetExternalListenerResponse> getExternalListener(GetExternalListenerRequest request, AsyncHandler<GetExternalListenerRequest,GetExternalListenerResponse> handler)
DbManagementAsync
Gets the details for the external listener specified by externalListenerId
.
getExternalListener
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetIormPlanResponse> getIormPlan(GetIormPlanRequest request, AsyncHandler<GetIormPlanRequest,GetIormPlanResponse> handler)
DbManagementAsync
Get the IORM plan from the specific Exadata storage server.
getIormPlan
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetJobResponse> getJob(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResponse> handler)
DbManagementAsync
Gets the details for the job specified by jobId.
getJob
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetJobExecutionResponse> getJobExecution(GetJobExecutionRequest request, AsyncHandler<GetJobExecutionRequest,GetJobExecutionResponse> handler)
DbManagementAsync
Gets the details for the job execution specified by jobExecutionId.
getJobExecution
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetJobRunResponse> getJobRun(GetJobRunRequest request, AsyncHandler<GetJobRunRequest,GetJobRunResponse> handler)
DbManagementAsync
Gets the details for the job run specified by jobRunId.
getJobRun
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetManagedDatabaseResponse> getManagedDatabase(GetManagedDatabaseRequest request, AsyncHandler<GetManagedDatabaseRequest,GetManagedDatabaseResponse> handler)
DbManagementAsync
Gets the details for the Managed Database specified by managedDatabaseId.
getManagedDatabase
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetManagedDatabaseGroupResponse> getManagedDatabaseGroup(GetManagedDatabaseGroupRequest request, AsyncHandler<GetManagedDatabaseGroupRequest,GetManagedDatabaseGroupResponse> handler)
DbManagementAsync
Gets the details for the Managed Database Group specified by managedDatabaseGroupId.
getManagedDatabaseGroup
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNamedCredentialResponse> getNamedCredential(GetNamedCredentialRequest request, AsyncHandler<GetNamedCredentialRequest,GetNamedCredentialResponse> handler)
DbManagementAsync
Gets the details for the named credential specified by namedCredentialId.
getNamedCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetOpenAlertHistoryResponse> getOpenAlertHistory(GetOpenAlertHistoryRequest request, AsyncHandler<GetOpenAlertHistoryRequest,GetOpenAlertHistoryResponse> handler)
DbManagementAsync
Gets the open alerts from the specified Exadata storage server.
getOpenAlertHistory
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetOptimizerStatisticsAdvisorExecutionResponse> getOptimizerStatisticsAdvisorExecution(GetOptimizerStatisticsAdvisorExecutionRequest request, AsyncHandler<GetOptimizerStatisticsAdvisorExecutionRequest,GetOptimizerStatisticsAdvisorExecutionResponse> handler)
DbManagementAsync
Gets a comprehensive report of the Optimizer Statistics Advisor execution, which includes details of the Managed Database, findings, recommendations, rationale, and examples.
getOptimizerStatisticsAdvisorExecution
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetOptimizerStatisticsAdvisorExecutionScriptResponse> getOptimizerStatisticsAdvisorExecutionScript(GetOptimizerStatisticsAdvisorExecutionScriptRequest request, AsyncHandler<GetOptimizerStatisticsAdvisorExecutionScriptRequest,GetOptimizerStatisticsAdvisorExecutionScriptResponse> handler)
DbManagementAsync
Gets the Oracle system-generated script for the specified Optimizer Statistics Advisor execution.
getOptimizerStatisticsAdvisorExecutionScript
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetOptimizerStatisticsCollectionOperationResponse> getOptimizerStatisticsCollectionOperation(GetOptimizerStatisticsCollectionOperationRequest request, AsyncHandler<GetOptimizerStatisticsCollectionOperationRequest,GetOptimizerStatisticsCollectionOperationResponse> handler)
DbManagementAsync
Gets a detailed report of the Optimizer Statistics Collection operation for the specified Managed Database.
getOptimizerStatisticsCollectionOperation
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPdbMetricsResponse> getPdbMetrics(GetPdbMetricsRequest request, AsyncHandler<GetPdbMetricsRequest,GetPdbMetricsResponse> handler)
DbManagementAsync
Gets a summary of the resource usage metrics such as CPU, User I/O, and Storage for each PDB within a specific CDB. If comparmentId is specified, then the metrics for each PDB (within the CDB) in the specified compartment are retrieved. If compartmentId is not specified, then the metrics for all the PDBs within the CDB are retrieved.
getPdbMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPeerDatabaseMetricsResponse> getPeerDatabaseMetrics(GetPeerDatabaseMetricsRequest request, AsyncHandler<GetPeerDatabaseMetricsRequest,GetPeerDatabaseMetricsResponse> handler)
DbManagementAsync
Gets a comparative summary of the baseline and target values of the Data Guard performance metrics for Managed Databases. If the peerDatabaseCompartmentId is specified, then the metrics are only retrieved from the specified compartment. If the peerDatabaseCompartmentId is not specified, then the metrics are retrieved from the compartment of the Managed Database specified by the ManagedDatabaseId.
getPeerDatabaseMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPreferredCredentialResponse> getPreferredCredential(GetPreferredCredentialRequest request, AsyncHandler<GetPreferredCredentialRequest,GetPreferredCredentialResponse> handler)
DbManagementAsync
Gets the preferred credential details for a Managed Database based on credentialName.
getPreferredCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSqlPlanBaselineResponse> getSqlPlanBaseline(GetSqlPlanBaselineRequest request, AsyncHandler<GetSqlPlanBaselineRequest,GetSqlPlanBaselineResponse> handler)
DbManagementAsync
Gets the SQL plan baseline details for the specified planName.
getSqlPlanBaseline
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSqlPlanBaselineConfigurationResponse> getSqlPlanBaselineConfiguration(GetSqlPlanBaselineConfigurationRequest request, AsyncHandler<GetSqlPlanBaselineConfigurationRequest,GetSqlPlanBaselineConfigurationResponse> handler)
DbManagementAsync
Gets the configuration details of SQL plan baselines for the specified Managed Database. The details include the settings for the capture and use of SQL plan baselines, SPM Evolve Advisor task, and SQL Management Base.
getSqlPlanBaselineConfiguration
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTablespaceResponse> getTablespace(GetTablespaceRequest request, AsyncHandler<GetTablespaceRequest,GetTablespaceResponse> handler)
DbManagementAsync
Gets the details of the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
getTablespace
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTopSqlCpuActivityResponse> getTopSqlCpuActivity(GetTopSqlCpuActivityRequest request, AsyncHandler<GetTopSqlCpuActivityRequest,GetTopSqlCpuActivityResponse> handler)
DbManagementAsync
Gets the SQL IDs with the top CPU activity from the Exadata storage server.
getTopSqlCpuActivity
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetUserResponse> getUser(GetUserRequest request, AsyncHandler<GetUserRequest,GetUserResponse> handler)
DbManagementAsync
Gets the details of the user specified by managedDatabaseId and userName.
getUser
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
DbManagementAsync
Gets the status of the work request with the given Work Request ID
getWorkRequest
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ImplementOptimizerStatisticsAdvisorRecommendationsResponse> implementOptimizerStatisticsAdvisorRecommendations(ImplementOptimizerStatisticsAdvisorRecommendationsRequest request, AsyncHandler<ImplementOptimizerStatisticsAdvisorRecommendationsRequest,ImplementOptimizerStatisticsAdvisorRecommendationsResponse> handler)
DbManagementAsync
Asynchronously implements the findings and recommendations of the Optimizer Statistics Advisor execution.
implementOptimizerStatisticsAdvisorRecommendations
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAsmPropertiesResponse> listAsmProperties(ListAsmPropertiesRequest request, AsyncHandler<ListAsmPropertiesRequest,ListAsmPropertiesResponse> handler)
DbManagementAsync
Gets the list of ASM properties for the specified managedDatabaseId.
listAsmProperties
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAssociatedDatabasesResponse> listAssociatedDatabases(ListAssociatedDatabasesRequest request, AsyncHandler<ListAssociatedDatabasesRequest,ListAssociatedDatabasesResponse> handler)
DbManagementAsync
Gets the list of databases using a specific Database Management private endpoint.
listAssociatedDatabases
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAwrDbSnapshotsResponse> listAwrDbSnapshots(ListAwrDbSnapshotsRequest request, AsyncHandler<ListAwrDbSnapshotsRequest,ListAwrDbSnapshotsResponse> handler)
DbManagementAsync
Lists AWR snapshots for the specified database in the AWR.
listAwrDbSnapshots
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAwrDbsResponse> listAwrDbs(ListAwrDbsRequest request, AsyncHandler<ListAwrDbsRequest,ListAwrDbsResponse> handler)
DbManagementAsync
Gets the list of databases and their snapshot summary details available in the AWR of the specified Managed Database.
listAwrDbs
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListConsumerGroupPrivilegesResponse> listConsumerGroupPrivileges(ListConsumerGroupPrivilegesRequest request, AsyncHandler<ListConsumerGroupPrivilegesRequest,ListConsumerGroupPrivilegesResponse> handler)
DbManagementAsync
Gets the list of consumer group privileges granted to a specific user.
listConsumerGroupPrivileges
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCursorCacheStatementsResponse> listCursorCacheStatements(ListCursorCacheStatementsRequest request, AsyncHandler<ListCursorCacheStatementsRequest,ListCursorCacheStatementsResponse> handler)
DbManagementAsync
Lists the SQL statements from shared SQL area, also called the cursor cache.
listCursorCacheStatements
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataAccessContainersResponse> listDataAccessContainers(ListDataAccessContainersRequest request, AsyncHandler<ListDataAccessContainersRequest,ListDataAccessContainersResponse> handler)
DbManagementAsync
Gets the list of containers for a specific user. This is only applicable if ALL_CONTAINERS !=‘Y’.
listDataAccessContainers
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDatabaseParametersResponse> listDatabaseParameters(ListDatabaseParametersRequest request, AsyncHandler<ListDatabaseParametersRequest,ListDatabaseParametersResponse> handler)
DbManagementAsync
Gets the list of database parameters for the specified Managed Database. The parameters are listed in alphabetical order, along with their current values.
listDatabaseParameters
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDbManagementPrivateEndpointsResponse> listDbManagementPrivateEndpoints(ListDbManagementPrivateEndpointsRequest request, AsyncHandler<ListDbManagementPrivateEndpointsRequest,ListDbManagementPrivateEndpointsResponse> handler)
DbManagementAsync
Gets a list of Database Management private endpoints.
listDbManagementPrivateEndpoints
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalAsmDiskGroupsResponse> listExternalAsmDiskGroups(ListExternalAsmDiskGroupsRequest request, AsyncHandler<ListExternalAsmDiskGroupsRequest,ListExternalAsmDiskGroupsResponse> handler)
DbManagementAsync
Lists ASM disk groups for the external ASM specified by externalAsmId
.
listExternalAsmDiskGroups
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalAsmInstancesResponse> listExternalAsmInstances(ListExternalAsmInstancesRequest request, AsyncHandler<ListExternalAsmInstancesRequest,ListExternalAsmInstancesResponse> handler)
DbManagementAsync
Lists the ASM instances in the specified external ASM.
listExternalAsmInstances
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalAsmUsersResponse> listExternalAsmUsers(ListExternalAsmUsersRequest request, AsyncHandler<ListExternalAsmUsersRequest,ListExternalAsmUsersResponse> handler)
DbManagementAsync
Lists ASM users for the external ASM specified by externalAsmId
.
listExternalAsmUsers
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalAsmsResponse> listExternalAsms(ListExternalAsmsRequest request, AsyncHandler<ListExternalAsmsRequest,ListExternalAsmsResponse> handler)
DbManagementAsync
Lists the ASMs in the specified external DB system.
listExternalAsms
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalClusterInstancesResponse> listExternalClusterInstances(ListExternalClusterInstancesRequest request, AsyncHandler<ListExternalClusterInstancesRequest,ListExternalClusterInstancesResponse> handler)
DbManagementAsync
Lists the cluster instances in the specified external cluster.
listExternalClusterInstances
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalClustersResponse> listExternalClusters(ListExternalClustersRequest request, AsyncHandler<ListExternalClustersRequest,ListExternalClustersResponse> handler)
DbManagementAsync
Lists the clusters in the specified external DB system.
listExternalClusters
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalDatabasesResponse> listExternalDatabases(ListExternalDatabasesRequest request, AsyncHandler<ListExternalDatabasesRequest,ListExternalDatabasesResponse> handler)
DbManagementAsync
Lists the external databases in the specified compartment or in the specified DB system.
listExternalDatabases
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalDbHomesResponse> listExternalDbHomes(ListExternalDbHomesRequest request, AsyncHandler<ListExternalDbHomesRequest,ListExternalDbHomesResponse> handler)
DbManagementAsync
Lists the DB homes in the specified external DB system.
listExternalDbHomes
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalDbNodesResponse> listExternalDbNodes(ListExternalDbNodesRequest request, AsyncHandler<ListExternalDbNodesRequest,ListExternalDbNodesResponse> handler)
DbManagementAsync
Lists the external DB nodes in the specified external DB system.
listExternalDbNodes
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalDbSystemConnectorsResponse> listExternalDbSystemConnectors(ListExternalDbSystemConnectorsRequest request, AsyncHandler<ListExternalDbSystemConnectorsRequest,ListExternalDbSystemConnectorsResponse> handler)
DbManagementAsync
Lists the external connectors in the specified external DB system.
listExternalDbSystemConnectors
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalDbSystemDiscoveriesResponse> listExternalDbSystemDiscoveries(ListExternalDbSystemDiscoveriesRequest request, AsyncHandler<ListExternalDbSystemDiscoveriesRequest,ListExternalDbSystemDiscoveriesResponse> handler)
DbManagementAsync
Lists the external DB system discovery resources in the specified compartment.
listExternalDbSystemDiscoveries
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalDbSystemsResponse> listExternalDbSystems(ListExternalDbSystemsRequest request, AsyncHandler<ListExternalDbSystemsRequest,ListExternalDbSystemsResponse> handler)
DbManagementAsync
Lists the external DB systems in the specified compartment.
listExternalDbSystems
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalExadataInfrastructuresResponse> listExternalExadataInfrastructures(ListExternalExadataInfrastructuresRequest request, AsyncHandler<ListExternalExadataInfrastructuresRequest,ListExternalExadataInfrastructuresResponse> handler)
DbManagementAsync
Lists the Exadata infrastructure resources in the specified compartment.
listExternalExadataInfrastructures
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalExadataStorageConnectorsResponse> listExternalExadataStorageConnectors(ListExternalExadataStorageConnectorsRequest request, AsyncHandler<ListExternalExadataStorageConnectorsRequest,ListExternalExadataStorageConnectorsResponse> handler)
DbManagementAsync
Lists the Exadata storage server connectors for the specified Exadata infrastructure.
listExternalExadataStorageConnectors
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalExadataStorageServersResponse> listExternalExadataStorageServers(ListExternalExadataStorageServersRequest request, AsyncHandler<ListExternalExadataStorageServersRequest,ListExternalExadataStorageServersResponse> handler)
DbManagementAsync
Lists the Exadata storage servers for the specified Exadata infrastructure.
listExternalExadataStorageServers
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalListenerServicesResponse> listExternalListenerServices(ListExternalListenerServicesRequest request, AsyncHandler<ListExternalListenerServicesRequest,ListExternalListenerServicesResponse> handler)
DbManagementAsync
Lists the database services registered with the specified external listener for the specified Managed Database.
listExternalListenerServices
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListExternalListenersResponse> listExternalListeners(ListExternalListenersRequest request, AsyncHandler<ListExternalListenersRequest,ListExternalListenersResponse> handler)
DbManagementAsync
Lists the listeners in the specified external DB system.
listExternalListeners
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListJobExecutionsResponse> listJobExecutions(ListJobExecutionsRequest request, AsyncHandler<ListJobExecutionsRequest,ListJobExecutionsResponse> handler)
DbManagementAsync
Gets the job execution for a specific ID or the list of job executions for a job, job run, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, jobRunId, managedDatabaseId or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered based on the name and status parameters.
listJobExecutions
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListJobRunsResponse> listJobRuns(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResponse> handler)
DbManagementAsync
Gets the job run for a specific ID or the list of job runs for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job runs in the compartment are listed. Job runs can also be filtered based on name and runStatus parameters.
listJobRuns
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListJobsResponse> listJobs(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
DbManagementAsync
Gets the job for a specific ID or the list of jobs for a Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, managedDatabaseId or managedDatabaseGroupId, should be provided. If none of these parameters is provided, all the jobs in the compartment are listed. Jobs can also be filtered based on the name and lifecycleState parameters.
listJobs
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedDatabaseGroupsResponse> listManagedDatabaseGroups(ListManagedDatabaseGroupsRequest request, AsyncHandler<ListManagedDatabaseGroupsRequest,ListManagedDatabaseGroupsResponse> handler)
DbManagementAsync
Gets the Managed Database Group for a specific ID or the list of Managed Database Groups in a specific compartment. Managed Database Groups can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Database Groups in the compartment are listed.
listManagedDatabaseGroups
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedDatabasesResponse> listManagedDatabases(ListManagedDatabasesRequest request, AsyncHandler<ListManagedDatabasesRequest,ListManagedDatabasesResponse> handler)
DbManagementAsync
Gets the Managed Database for a specific ID or the list of Managed Databases in a specific
compartment. Managed Databases can be filtered based on the name parameter. Only one of the
parameters, ID or name should be provided. If neither of these parameters is provided, all
the Managed Databases in the compartment are listed. Managed Databases can also be filtered
based on the deployment type and management option. If the deployment type is not specified
or if it is ONPREMISE
, then the management option is not considered and Managed Databases
with ADVANCED
management option are listed.
listManagedDatabases
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNamedCredentialsResponse> listNamedCredentials(ListNamedCredentialsRequest request, AsyncHandler<ListNamedCredentialsRequest,ListNamedCredentialsResponse> handler)
DbManagementAsync
Gets a single named credential specified by the name or all the named credentials in a specific compartment.
listNamedCredentials
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListObjectPrivilegesResponse> listObjectPrivileges(ListObjectPrivilegesRequest request, AsyncHandler<ListObjectPrivilegesRequest,ListObjectPrivilegesResponse> handler)
DbManagementAsync
Gets the list of object privileges granted to a specific user.
listObjectPrivileges
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListOptimizerStatisticsAdvisorExecutionsResponse> listOptimizerStatisticsAdvisorExecutions(ListOptimizerStatisticsAdvisorExecutionsRequest request, AsyncHandler<ListOptimizerStatisticsAdvisorExecutionsRequest,ListOptimizerStatisticsAdvisorExecutionsResponse> handler)
DbManagementAsync
Lists the details of the Optimizer Statistics Advisor task executions, such as their duration, and the number of findings, if any. Optionally, you can specify a date-time range (of seven days) to obtain the list of executions that fall within the specified time range. If the date-time range is not specified, then the executions in the last seven days are listed.
listOptimizerStatisticsAdvisorExecutions
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListOptimizerStatisticsCollectionAggregationsResponse> listOptimizerStatisticsCollectionAggregations(ListOptimizerStatisticsCollectionAggregationsRequest request, AsyncHandler<ListOptimizerStatisticsCollectionAggregationsRequest,ListOptimizerStatisticsCollectionAggregationsResponse> handler)
DbManagementAsync
Gets a list of the optimizer statistics collection operations per hour, grouped by task or object status for the specified Managed Database. You must specify a value for GroupByQueryParam to determine whether the data should be grouped by task status or task object status. Optionally, you can specify a date-time range (of seven days) to obtain collection aggregations within the specified time range. If the date-time range is not specified, then the operations in the last seven days are listed. You can further filter the results by providing the optional type of TaskTypeQueryParam. If the task type not provided, then both Auto and Manual tasks are considered for aggregation.
listOptimizerStatisticsCollectionAggregations
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListOptimizerStatisticsCollectionOperationsResponse> listOptimizerStatisticsCollectionOperations(ListOptimizerStatisticsCollectionOperationsRequest request, AsyncHandler<ListOptimizerStatisticsCollectionOperationsRequest,ListOptimizerStatisticsCollectionOperationsResponse> handler)
DbManagementAsync
Lists the Optimizer Statistics Collection (Auto and Manual) task operation summary for the specified Managed Database. The summary includes the details of each operation and the number of tasks grouped by status: Completed, In Progress, Failed, and so on. Optionally, you can specify a date-time range (of seven days) to obtain the list of operations that fall within the specified time range. If the date-time range is not specified, then the operations in the last seven days are listed. This API also enables the pagination of results and the opc-next-page response header indicates whether there is a next page. If you use the same header value in a consecutive request, the next page records are returned. To obtain the required results, you can apply the different types of filters supported by this API.
listOptimizerStatisticsCollectionOperations
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPreferredCredentialsResponse> listPreferredCredentials(ListPreferredCredentialsRequest request, AsyncHandler<ListPreferredCredentialsRequest,ListPreferredCredentialsResponse> handler)
DbManagementAsync
Gets the list of preferred credentials for a given Managed Database.
listPreferredCredentials
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProxiedForUsersResponse> listProxiedForUsers(ListProxiedForUsersRequest request, AsyncHandler<ListProxiedForUsersRequest,ListProxiedForUsersResponse> handler)
DbManagementAsync
Gets the list of users on whose behalf the current user acts as proxy.
listProxiedForUsers
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProxyUsersResponse> listProxyUsers(ListProxyUsersRequest request, AsyncHandler<ListProxyUsersRequest,ListProxyUsersResponse> handler)
DbManagementAsync
Gets the list of proxy users for the current user.
listProxyUsers
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRolesResponse> listRoles(ListRolesRequest request, AsyncHandler<ListRolesRequest,ListRolesResponse> handler)
DbManagementAsync
Gets the list of roles granted to a specific user.
listRoles
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlPlanBaselineJobsResponse> listSqlPlanBaselineJobs(ListSqlPlanBaselineJobsRequest request, AsyncHandler<ListSqlPlanBaselineJobsRequest,ListSqlPlanBaselineJobsResponse> handler)
DbManagementAsync
Lists the database jobs used for loading SQL plan baselines in the specified Managed Database.
listSqlPlanBaselineJobs
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlPlanBaselinesResponse> listSqlPlanBaselines(ListSqlPlanBaselinesRequest request, AsyncHandler<ListSqlPlanBaselinesRequest,ListSqlPlanBaselinesResponse> handler)
DbManagementAsync
Lists the SQL plan baselines for the specified Managed Database.
listSqlPlanBaselines
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSystemPrivilegesResponse> listSystemPrivileges(ListSystemPrivilegesRequest request, AsyncHandler<ListSystemPrivilegesRequest,ListSystemPrivilegesResponse> handler)
DbManagementAsync
Gets the list of system privileges granted to a specific user.
listSystemPrivileges
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTableStatisticsResponse> listTableStatistics(ListTableStatisticsRequest request, AsyncHandler<ListTableStatisticsRequest,ListTableStatisticsResponse> handler)
DbManagementAsync
Lists the database table statistics grouped by different statuses such as Not Stale Stats, Stale Stats, and No Stats. This also includes the percentage of each status.
listTableStatistics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTablespacesResponse> listTablespaces(ListTablespacesRequest request, AsyncHandler<ListTablespacesRequest,ListTablespacesResponse> handler)
DbManagementAsync
Gets the list of tablespaces for the specified managedDatabaseId.
listTablespaces
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUsersResponse> listUsers(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResponse> handler)
DbManagementAsync
Gets the list of users for the specified managedDatabaseId.
listUsers
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
DbManagementAsync
Returns a paginated list of errors for a given work request.
listWorkRequestErrors
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
DbManagementAsync
Returns a paginated list of logs for a given work request.
listWorkRequestLogs
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
DbManagementAsync
The list of work requests in a specific compartment was retrieved successfully.
listWorkRequests
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<LoadSqlPlanBaselinesFromAwrResponse> loadSqlPlanBaselinesFromAwr(LoadSqlPlanBaselinesFromAwrRequest request, AsyncHandler<LoadSqlPlanBaselinesFromAwrRequest,LoadSqlPlanBaselinesFromAwrResponse> handler)
DbManagementAsync
Loads plans from Automatic Workload Repository (AWR) snapshots. You must specify the beginning and ending of the snapshot range. Optionally, you can apply a filter to load only plans that meet specified criteria. By default, the optimizer uses the loaded plans the next time that the database executes the SQL statements.
loadSqlPlanBaselinesFromAwr
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<LoadSqlPlanBaselinesFromCursorCacheResponse> loadSqlPlanBaselinesFromCursorCache(LoadSqlPlanBaselinesFromCursorCacheRequest request, AsyncHandler<LoadSqlPlanBaselinesFromCursorCacheRequest,LoadSqlPlanBaselinesFromCursorCacheResponse> handler)
DbManagementAsync
Loads plans for statements directly from the shared SQL area, also called the cursor cache. By applying a filter on the module name, the schema, or the SQL ID you identify the SQL statement or set of SQL statements to load.
loadSqlPlanBaselinesFromCursorCache
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ModifyAutonomousDatabaseManagementFeatureResponse> modifyAutonomousDatabaseManagementFeature(ModifyAutonomousDatabaseManagementFeatureRequest request, AsyncHandler<ModifyAutonomousDatabaseManagementFeatureRequest,ModifyAutonomousDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Modifies the Database Management feature for the specified Autonomous Database.
modifyAutonomousDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ModifyDatabaseManagementFeatureResponse> modifyDatabaseManagementFeature(ModifyDatabaseManagementFeatureRequest request, AsyncHandler<ModifyDatabaseManagementFeatureRequest,ModifyDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Modifies a Database Management feature for the specified Oracle cloud database.
modifyDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ModifyPluggableDatabaseManagementFeatureResponse> modifyPluggableDatabaseManagementFeature(ModifyPluggableDatabaseManagementFeatureRequest request, AsyncHandler<ModifyPluggableDatabaseManagementFeatureRequest,ModifyPluggableDatabaseManagementFeatureResponse> handler)
DbManagementAsync
Modifies the Database Management feature for the specified Oracle cloud pluggable database.
modifyPluggableDatabaseManagementFeature
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchExternalDbSystemDiscoveryResponse> patchExternalDbSystemDiscovery(PatchExternalDbSystemDiscoveryRequest request, AsyncHandler<PatchExternalDbSystemDiscoveryRequest,PatchExternalDbSystemDiscoveryResponse> handler)
DbManagementAsync
Patches the external DB system discovery specified by externalDbSystemDiscoveryId
.
patchExternalDbSystemDiscovery
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveDataFileResponse> removeDataFile(RemoveDataFileRequest request, AsyncHandler<RemoveDataFileRequest,RemoveDataFileResponse> handler)
DbManagementAsync
Removes a data file or temp file from the tablespace.
removeDataFile
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveManagedDatabaseFromManagedDatabaseGroupResponse> removeManagedDatabaseFromManagedDatabaseGroup(RemoveManagedDatabaseFromManagedDatabaseGroupRequest request, AsyncHandler<RemoveManagedDatabaseFromManagedDatabaseGroupRequest,RemoveManagedDatabaseFromManagedDatabaseGroupResponse> handler)
DbManagementAsync
Removes a Managed Database from a Managed Database Group. Any management activities that are currently running on this database will continue to run to completion. However, any activities scheduled to run in the future will not be performed on this database.
removeManagedDatabaseFromManagedDatabaseGroup
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResetDatabaseParametersResponse> resetDatabaseParameters(ResetDatabaseParametersRequest request, AsyncHandler<ResetDatabaseParametersRequest,ResetDatabaseParametersResponse> handler)
DbManagementAsync
Resets database parameter values to their default or startup values.
resetDatabaseParameters
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResizeDataFileResponse> resizeDataFile(ResizeDataFileRequest request, AsyncHandler<ResizeDataFileRequest,ResizeDataFileResponse> handler)
DbManagementAsync
Resizes a data file or temp file within the tablespace.
resizeDataFile
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RunHistoricAddmResponse> runHistoricAddm(RunHistoricAddmRequest request, AsyncHandler<RunHistoricAddmRequest,RunHistoricAddmResponse> handler)
DbManagementAsync
Creates and executes a historic ADDM task using the specified AWR snapshot IDs. If an existing ADDM task uses the provided awr snapshot IDs, the existing task will be returned.
runHistoricAddm
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbCpuUsagesResponse> summarizeAwrDbCpuUsages(SummarizeAwrDbCpuUsagesRequest request, AsyncHandler<SummarizeAwrDbCpuUsagesRequest,SummarizeAwrDbCpuUsagesResponse> handler)
DbManagementAsync
Summarizes the AWR CPU resource limits and metrics for the specified database in AWR.
summarizeAwrDbCpuUsages
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbMetricsResponse> summarizeAwrDbMetrics(SummarizeAwrDbMetricsRequest request, AsyncHandler<SummarizeAwrDbMetricsRequest,SummarizeAwrDbMetricsResponse> handler)
DbManagementAsync
Summarizes the metric samples for the specified database in the AWR. The metric samples are summarized based on the Time dimension for each metric.
summarizeAwrDbMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbParameterChangesResponse> summarizeAwrDbParameterChanges(SummarizeAwrDbParameterChangesRequest request, AsyncHandler<SummarizeAwrDbParameterChangesRequest,SummarizeAwrDbParameterChangesResponse> handler)
DbManagementAsync
Summarizes the database parameter change history for one database parameter of the specified database in AWR. One change history record contains the previous value, the changed value, and the corresponding time range. If the database parameter value was changed multiple times within the time range, then multiple change history records are created for the same parameter. Note that this API only returns information on change history details for one database parameter. To get a list of all the database parameters whose values were changed during a specified time range, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameters
summarizeAwrDbParameterChanges
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbParametersResponse> summarizeAwrDbParameters(SummarizeAwrDbParametersRequest request, AsyncHandler<SummarizeAwrDbParametersRequest,SummarizeAwrDbParametersResponse> handler)
DbManagementAsync
Summarizes the database parameter history for the specified database in AWR. This includes the list of database parameters, with information on whether the parameter values were modified within the query time range. Note that each database parameter is only listed once. Depending on the optional query parameters, the returned summary gets all the database parameters, which include:
- Each parameter whose value was changed during the time range: (valueChanged =\"Y\") - Each parameter whose value was unchanged during the time range: (valueChanged =\"N\") - Each parameter whose value was changed at the system level during the time range: (valueChanged =\"Y\" and valueModified = \"SYSTEM_MOD\") - Each parameter whose value was unchanged during the time range, however, the value is not the default value: (valueChanged =\"N\" and valueDefault = \"FALSE\")
Note that this API does not return information on the number of times each database parameter has been changed within the time range. To get the database parameter value change history for a specific parameter, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameterChanges
summarizeAwrDbParameters
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbSnapshotRangesResponse> summarizeAwrDbSnapshotRanges(SummarizeAwrDbSnapshotRangesRequest request, AsyncHandler<SummarizeAwrDbSnapshotRangesRequest,SummarizeAwrDbSnapshotRangesResponse> handler)
DbManagementAsync
Summarizes the AWR snapshot ranges that contain continuous snapshots, for the specified Managed Database.
summarizeAwrDbSnapshotRanges
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbSysstatsResponse> summarizeAwrDbSysstats(SummarizeAwrDbSysstatsRequest request, AsyncHandler<SummarizeAwrDbSysstatsRequest,SummarizeAwrDbSysstatsResponse> handler)
DbManagementAsync
Summarizes the AWR SYSSTAT sample data for the specified database in AWR. The statistical data is summarized based on the Time dimension for each statistic.
summarizeAwrDbSysstats
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbTopWaitEventsResponse> summarizeAwrDbTopWaitEvents(SummarizeAwrDbTopWaitEventsRequest request, AsyncHandler<SummarizeAwrDbTopWaitEventsRequest,SummarizeAwrDbTopWaitEventsResponse> handler)
DbManagementAsync
Summarizes the AWR top wait events.
summarizeAwrDbTopWaitEvents
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbWaitEventBucketsResponse> summarizeAwrDbWaitEventBuckets(SummarizeAwrDbWaitEventBucketsRequest request, AsyncHandler<SummarizeAwrDbWaitEventBucketsRequest,SummarizeAwrDbWaitEventBucketsResponse> handler)
DbManagementAsync
Summarizes AWR wait event data into value buckets and frequency, for the specified database in the AWR.
summarizeAwrDbWaitEventBuckets
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeAwrDbWaitEventsResponse> summarizeAwrDbWaitEvents(SummarizeAwrDbWaitEventsRequest request, AsyncHandler<SummarizeAwrDbWaitEventsRequest,SummarizeAwrDbWaitEventsResponse> handler)
DbManagementAsync
Summarizes the AWR wait event sample data for the specified database in the AWR. The event data is summarized based on the Time dimension for each event.
summarizeAwrDbWaitEvents
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeExternalAsmMetricsResponse> summarizeExternalAsmMetrics(SummarizeExternalAsmMetricsRequest request, AsyncHandler<SummarizeExternalAsmMetricsRequest,SummarizeExternalAsmMetricsResponse> handler)
DbManagementAsync
Gets metrics for the external ASM specified by externalAsmId
.
summarizeExternalAsmMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeExternalClusterMetricsResponse> summarizeExternalClusterMetrics(SummarizeExternalClusterMetricsRequest request, AsyncHandler<SummarizeExternalClusterMetricsRequest,SummarizeExternalClusterMetricsResponse> handler)
DbManagementAsync
Gets metrics for the external cluster specified by externalClusterId
.
summarizeExternalClusterMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeExternalDbNodeMetricsResponse> summarizeExternalDbNodeMetrics(SummarizeExternalDbNodeMetricsRequest request, AsyncHandler<SummarizeExternalDbNodeMetricsRequest,SummarizeExternalDbNodeMetricsResponse> handler)
DbManagementAsync
Gets metrics for the external DB node specified by externalDbNodeId
.
summarizeExternalDbNodeMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeExternalDbSystemAvailabilityMetricsResponse> summarizeExternalDbSystemAvailabilityMetrics(SummarizeExternalDbSystemAvailabilityMetricsRequest request, AsyncHandler<SummarizeExternalDbSystemAvailabilityMetricsRequest,SummarizeExternalDbSystemAvailabilityMetricsResponse> handler)
DbManagementAsync
Gets availability metrics for the components present in the external DB system specified by
externalDbSystemId
.
summarizeExternalDbSystemAvailabilityMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeExternalListenerMetricsResponse> summarizeExternalListenerMetrics(SummarizeExternalListenerMetricsRequest request, AsyncHandler<SummarizeExternalListenerMetricsRequest,SummarizeExternalListenerMetricsResponse> handler)
DbManagementAsync
Gets metrics for the external listener specified by externalListenerId
.
summarizeExternalListenerMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeJobExecutionsStatusesResponse> summarizeJobExecutionsStatuses(SummarizeJobExecutionsStatusesRequest request, AsyncHandler<SummarizeJobExecutionsStatusesRequest,SummarizeJobExecutionsStatusesResponse> handler)
DbManagementAsync
Gets the number of job executions grouped by status for a job, Managed Database, or Database Group in a specific compartment. Only one of the parameters, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided.
summarizeJobExecutionsStatuses
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeManagedDatabaseAvailabilityMetricsResponse> summarizeManagedDatabaseAvailabilityMetrics(SummarizeManagedDatabaseAvailabilityMetricsRequest request, AsyncHandler<SummarizeManagedDatabaseAvailabilityMetricsRequest,SummarizeManagedDatabaseAvailabilityMetricsResponse> handler)
DbManagementAsync
Gets the availability metrics related to managed database for the Oracle database specified by managedDatabaseId.
summarizeManagedDatabaseAvailabilityMetrics
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeSqlPlanBaselinesResponse> summarizeSqlPlanBaselines(SummarizeSqlPlanBaselinesRequest request, AsyncHandler<SummarizeSqlPlanBaselinesRequest,SummarizeSqlPlanBaselinesResponse> handler)
DbManagementAsync
Gets the number of SQL plan baselines aggregated by their attributes.
summarizeSqlPlanBaselines
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SummarizeSqlPlanBaselinesByLastExecutionResponse> summarizeSqlPlanBaselinesByLastExecution(SummarizeSqlPlanBaselinesByLastExecutionRequest request, AsyncHandler<SummarizeSqlPlanBaselinesByLastExecutionRequest,SummarizeSqlPlanBaselinesByLastExecutionResponse> handler)
DbManagementAsync
Gets the number of SQL plan baselines aggregated by the age of their last execution in weeks.
summarizeSqlPlanBaselinesByLastExecution
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<TestNamedCredentialResponse> testNamedCredential(TestNamedCredentialRequest request, AsyncHandler<TestNamedCredentialRequest,TestNamedCredentialResponse> handler)
DbManagementAsync
Tests the named credential.
testNamedCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<TestPreferredCredentialResponse> testPreferredCredential(TestPreferredCredentialRequest request, AsyncHandler<TestPreferredCredentialRequest,TestPreferredCredentialResponse> handler)
DbManagementAsync
Tests the preferred credential.
testPreferredCredential
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDbManagementPrivateEndpointResponse> updateDbManagementPrivateEndpoint(UpdateDbManagementPrivateEndpointRequest request, AsyncHandler<UpdateDbManagementPrivateEndpointRequest,UpdateDbManagementPrivateEndpointResponse> handler)
DbManagementAsync
Updates one or more attributes of a specific Database Management private endpoint.
updateDbManagementPrivateEndpoint
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateExternalAsmResponse> updateExternalAsm(UpdateExternalAsmRequest request, AsyncHandler<UpdateExternalAsmRequest,UpdateExternalAsmResponse> handler)
DbManagementAsync
Updates the external ASM specified by externalAsmId
.
updateExternalAsm
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateExternalAsmInstanceResponse> updateExternalAsmInstance(UpdateExternalAsmInstanceRequest request, AsyncHandler<UpdateExternalAsmInstanceRequest,UpdateExternalAsmInstanceResponse> handler)
DbManagementAsync
Updates the external ASM instance specified by externalAsmInstanceId
.
updateExternalAsmInstance
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateExternalClusterResponse> updateExternalCluster(UpdateExternalClusterRequest request, AsyncHandler<UpdateExternalClusterRequest,UpdateExternalClusterResponse> handler)
DbManagementAsync
Updates the external cluster specified by externalClusterId
.
updateExternalCluster
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateExternalClusterInstanceResponse> updateExternalClusterInstance(UpdateExternalClusterInstanceRequest request, AsyncHandler<UpdateExternalClusterInstanceRequest,UpdateExternalClusterInstanceResponse> handler)
DbManagementAsync
Updates the external cluster instance specified by externalClusterInstanceId
.
updateExternalClusterInstance
in interface DbManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateExternalDbHomeResponse> updateExternalDbHome(UpdateExternalDbHomeRequest request, AsyncHandler<UpdateExternalDbHomeRequest,