Interface Baseinfra

  • All Superinterfaces:
    AutoCloseable
    All Known Implementing Classes:
    BaseinfraClient

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20251101")
    public interface Baseinfra
    extends AutoCloseable
    API for Database Infrastructure Cloud@Customer Service.

    Use this API to manage Database Infrastructure VM clusters, Application VMs, and related resources.

    This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.

    • Method Detail

      • refreshClient

        void refreshClient()
        Rebuilds the client from scratch.

        Useful to refresh certificates.

      • setEndpoint

        void setEndpoint​(String endpoint)
        Sets the endpoint to call (ex, https://www.example.com).
        Parameters:
        endpoint - The endpoint of the service.
      • getEndpoint

        String getEndpoint()
        Gets the set endpoint for REST call (ex, https://www.example.com)
      • setRegion

        void setRegion​(Region region)
        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.

        Parameters:
        region - The region of the service.
      • setRegion

        void setRegion​(String regionId)
        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.

        Parameters:
        regionId - The public region ID.
      • useRealmSpecificEndpointTemplate

        void useRealmSpecificEndpointTemplate​(boolean realmSpecificEndpointTemplateEnabled)
        Determines whether realm specific endpoint should be used or not.

        Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”

        Parameters:
        realmSpecificEndpointTemplateEnabled - flag to enable the use of realm specific endpoint template
      • activateInfrastructure

        ActivateInfrastructureResponse activateInfrastructure​(ActivateInfrastructureRequest request)
        Activate an Database Infrastructure using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ActivateInfrastructureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ActivateInfrastructure API.

      • changeInfrastructureCompartment

        ChangeInfrastructureCompartmentResponse changeInfrastructureCompartment​(ChangeInfrastructureCompartmentRequest request)
        Change the Database Infrastructure Cloud@Customer Compartment to the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ChangeInfrastructureCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeInfrastructureCompartment API.

      • changeVmClusterNetworkCompartment

        ChangeVmClusterNetworkCompartmentResponse changeVmClusterNetworkCompartment​(ChangeVmClusterNetworkCompartmentRequest request)
        Change the VM cluster network Compartment to the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ChangeVmClusterNetworkCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeVmClusterNetworkCompartment API.

      • changeVmInstanceCompartment

        ChangeVmInstanceCompartmentResponse changeVmInstanceCompartment​(ChangeVmInstanceCompartmentRequest request)
        Change the VM instance on Database Infrastructure Compartment to the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ChangeVmInstanceCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeVmInstanceCompartment API.

      • createInfrastructure

        CreateInfrastructureResponse createInfrastructure​(CreateInfrastructureRequest request)
        Create a Database Infrastructure using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/CreateInfrastructureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateInfrastructure API.

      • createVmClusterNetwork

        CreateVmClusterNetworkResponse createVmClusterNetwork​(CreateVmClusterNetworkRequest request)
        Create an VM cluster on Database Infrastructure network using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/CreateVmClusterNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateVmClusterNetwork API.

      • createVmInstance

        CreateVmInstanceResponse createVmInstance​(CreateVmInstanceRequest request)
        Create an VM instance on Database Infrastructure using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/CreateVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateVmInstance API.

      • deleteInfrastructure

        DeleteInfrastructureResponse deleteInfrastructure​(DeleteInfrastructureRequest request)
        Delete the Database Infrastructure that has the specified OCID.

        It must be called once the resource usage is complete.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/DeleteInfrastructureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteInfrastructure API.

      • deleteVmClusterNetwork

        DeleteVmClusterNetworkResponse deleteVmClusterNetwork​(DeleteVmClusterNetworkRequest request)
        Delete the VM cluster network on Database Infrastructure that has the specified OCID.

        It must be called once the resource usage is complete.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/DeleteVmClusterNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteVmClusterNetwork API.

      • deleteVmInstance

        DeleteVmInstanceResponse deleteVmInstance​(DeleteVmInstanceRequest request)
        Delete the VM instance on Database Infrastructure that has the specified OCID.

        It must be called once the resource usage is complete.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/DeleteVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteVmInstance API.

      • downloadInfrastructureConfigFile

        DownloadInfrastructureConfigFileResponse downloadInfrastructureConfigFile​(DownloadInfrastructureConfigFileRequest request)
        Downloads the configuration file for the specified Database Infrastructure Cloud@Customer.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/DownloadInfrastructureConfigFileExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DownloadInfrastructureConfigFile API.

      • downloadInfrastructureValidationScript

        DownloadInfrastructureValidationScriptResponse downloadInfrastructureValidationScript​(DownloadInfrastructureValidationScriptRequest request)
        Downloads the validation script for the specified Database Infrastructure Cloud@Customer.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/DownloadInfrastructureValidationScriptExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DownloadInfrastructureValidationScript API.

      • generateRecommendedVmClusterNetwork

        GenerateRecommendedVmClusterNetworkResponse generateRecommendedVmClusterNetwork​(GenerateRecommendedVmClusterNetworkRequest request)
        Generates an VM cluster network configuration using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GenerateRecommendedVmClusterNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GenerateRecommendedVmClusterNetwork API.

      • getInfrastructure

        GetInfrastructureResponse getInfrastructure​(GetInfrastructureRequest request)
        Obtain the Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetInfrastructureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetInfrastructure API.

      • getInfrastructureScaleOption

        GetInfrastructureScaleOptionResponse getInfrastructureScaleOption​(GetInfrastructureScaleOptionRequest request)
        Get the available scale options for the infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetInfrastructureScaleOptionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetInfrastructureScaleOption API.

      • getMaintenanceExecution

        GetMaintenanceExecutionResponse getMaintenanceExecution​(GetMaintenanceExecutionRequest request)
        Gets information about the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetMaintenanceExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetMaintenanceExecution API.

      • getMaintenanceRun

        GetMaintenanceRunResponse getMaintenanceRun​(GetMaintenanceRunRequest request)
        Gets information about the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetMaintenanceRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetMaintenanceRun API.

      • getVmClusterNetwork

        GetVmClusterNetworkResponse getVmClusterNetwork​(GetVmClusterNetworkRequest request)
        Obtain the VM cluster network on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetVmClusterNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetVmClusterNetwork API.

      • getVmInstance

        GetVmInstanceResponse getVmInstance​(GetVmInstanceRequest request)
        Obtain the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetVmInstance API.

      • getWorkRequest

        GetWorkRequestResponse getWorkRequest​(GetWorkRequestRequest request)
        Get the status of the work request having the specified work request OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.

      • listInfrastructures

        ListInfrastructuresResponse listInfrastructures​(ListInfrastructuresRequest request)
        Obtain a list of Database Infrastructures.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListInfrastructuresExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListInfrastructures API.

      • listMaintenanceExecutions

        ListMaintenanceExecutionsResponse listMaintenanceExecutions​(ListMaintenanceExecutionsRequest request)
        Gets a list of the maintenance executions in the specified compartment.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListMaintenanceExecutionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMaintenanceExecutions API.

      • listMaintenanceRuns

        ListMaintenanceRunsResponse listMaintenanceRuns​(ListMaintenanceRunsRequest request)
        Gets a list of the maintenance runs in the specified compartment.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListMaintenanceRunsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMaintenanceRuns API.

      • listVmClusterNetworks

        ListVmClusterNetworksResponse listVmClusterNetworks​(ListVmClusterNetworksRequest request)
        Obtain a list of VM cluster networks on Database Infrastructure.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListVmClusterNetworksExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVmClusterNetworks API.

      • listVmInstances

        ListVmInstancesResponse listVmInstances​(ListVmInstancesRequest request)
        Obtain a list of VM instances.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListVmInstancesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVmInstances API.

      • listWorkRequestErrors

        ListWorkRequestErrorsResponse listWorkRequestErrors​(ListWorkRequestErrorsRequest request)
        View the list of errors for the work request that have the specified work request OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.

      • listWorkRequestLogs

        ListWorkRequestLogsResponse listWorkRequestLogs​(ListWorkRequestLogsRequest request)
        View the log entries for the work request that have the specified work request OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.

      • listWorkRequests

        ListWorkRequestsResponse listWorkRequests​(ListWorkRequestsRequest request)
        View a list of work request details in the specified compartment.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.

      • migrateVmInstance

        MigrateVmInstanceResponse migrateVmInstance​(MigrateVmInstanceRequest request)
        Migrate the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/MigrateVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use MigrateVmInstance API.

      • rescheduleMaintenanceRun

        RescheduleMaintenanceRunResponse rescheduleMaintenanceRun​(RescheduleMaintenanceRunRequest request)
        Reschedules the specified maintenance run by providing a new timeScheduled value.

        Only maintenance runs in eligible states may be rescheduled.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/RescheduleMaintenanceRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RescheduleMaintenanceRun API.

      • restartVmInstance

        RestartVmInstanceResponse restartVmInstance​(RestartVmInstanceRequest request)
        Restart the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/RestartVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RestartVmInstance API.

      • scaleInfrastructureStorage

        ScaleInfrastructureStorageResponse scaleInfrastructureStorage​(ScaleInfrastructureStorageRequest request)
        Scale storage for the specified infrastructure using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ScaleInfrastructureStorageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScaleInfrastructureStorage API.

      • scaleVmInstance

        ScaleVmInstanceResponse scaleVmInstance​(ScaleVmInstanceRequest request)
        Scale the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ScaleVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScaleVmInstance API.

      • startVmInstance

        StartVmInstanceResponse startVmInstance​(StartVmInstanceRequest request)
        Start the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/StartVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StartVmInstance API.

      • stopVmInstance

        StopVmInstanceResponse stopVmInstance​(StopVmInstanceRequest request)
        Stop the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/StopVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StopVmInstance API.

      • updateInfrastructure

        UpdateInfrastructureResponse updateInfrastructure​(UpdateInfrastructureRequest request)
        Update the Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/UpdateInfrastructureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateInfrastructure API.

      • updateMaintenanceRun

        UpdateMaintenanceRunResponse updateMaintenanceRun​(UpdateMaintenanceRunRequest request)
        Update maintenance run attributes.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/UpdateMaintenanceRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateMaintenanceRun API.

      • updateVmClusterNetwork

        UpdateVmClusterNetworkResponse updateVmClusterNetwork​(UpdateVmClusterNetworkRequest request)
        Update the VM cluster network on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/UpdateVmClusterNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateVmClusterNetwork API.

      • updateVmInstance

        UpdateVmInstanceResponse updateVmInstance​(UpdateVmInstanceRequest request)
        Update the VM instance on Database Infrastructure that has the specified OCID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/UpdateVmInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateVmInstance API.

      • validateInfrastructure

        ValidateInfrastructureResponse validateInfrastructure​(ValidateInfrastructureRequest request)
        Validate an Database Infrastructure using the specified details.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ValidateInfrastructureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ValidateInfrastructure API.

      • validateVmClusterNetwork

        ValidateVmClusterNetworkResponse validateVmClusterNetwork​(ValidateVmClusterNetworkRequest request)
        Validates an VM cluster network on Database Infrastructure.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ValidateVmClusterNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ValidateVmClusterNetwork API.

      • getWaiters

        BaseinfraWaiters getWaiters()
        Gets the pre-configured waiters available for resources for this service.
        Returns:
        The service waiters.
      • getPaginators

        BaseinfraPaginators getPaginators()
        Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.

        These paginators provide an Iterable interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.

        Returns:
        The service paginators.