Interface StackMonitoringAsync

    • 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 serice.
      • 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
      • applyMonitoringTemplate

        Future<ApplyMonitoringTemplateResponse> applyMonitoringTemplate​(ApplyMonitoringTemplateRequest request,
                                                                        AsyncHandler<ApplyMonitoringTemplateRequest,​ApplyMonitoringTemplateResponse> handler)
        Apply the Monitoring Template identified by the id
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • associateMonitoredResources

        Future<AssociateMonitoredResourcesResponse> associateMonitoredResources​(AssociateMonitoredResourcesRequest request,
                                                                                AsyncHandler<AssociateMonitoredResourcesRequest,​AssociateMonitoredResourcesResponse> handler)
        Create an association between two monitored resources.

        Associations can be created between resources from different compartments as long they are in same tenancy. User should have required access in both the compartments.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • changeConfigCompartment

        Future<ChangeConfigCompartmentResponse> changeConfigCompartment​(ChangeConfigCompartmentRequest request,
                                                                        AsyncHandler<ChangeConfigCompartmentRequest,​ChangeConfigCompartmentResponse> handler)
        Moves the configuration item to another compartment.

        Basically, this will disable any configuration for this configuration type in thie compartment, and will enable it in the new one.

        For example, if for a HOST resource type, the configuration with AUTO_PROMOTE in the configuration type and TRUE as value is moved, automatic discovery will not take place in this compartment any more, but in the new one.

        So this operation will have the same effect as deleting the configuration item in the old compartment and recreating it in another compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • changeProcessSetCompartment

        Future<ChangeProcessSetCompartmentResponse> changeProcessSetCompartment​(ChangeProcessSetCompartmentRequest request,
                                                                                AsyncHandler<ChangeProcessSetCompartmentRequest,​ChangeProcessSetCompartmentResponse> handler)
        Moves a ProcessSet resource from one compartment identifier to another.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createAlarmCondition

        Future<CreateAlarmConditionResponse> createAlarmCondition​(CreateAlarmConditionRequest request,
                                                                  AsyncHandler<CreateAlarmConditionRequest,​CreateAlarmConditionResponse> handler)
        Create a new alarm condition in same monitoringTemplate compartment.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createConfig

        Future<CreateConfigResponse> createConfig​(CreateConfigRequest request,
                                                  AsyncHandler<CreateConfigRequest,​CreateConfigResponse> handler)
        Creates a configuration item, for example to define whether resources of a specific type should be discovered automatically.

        For example, when a new Management Agent gets registered in a certain compartment, this Management Agent can potentially get promoted to a HOST resource. The configuration item will determine if HOST resources in the selected compartment will be discovered automatically.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createDiscoveryJob

        Future<CreateDiscoveryJobResponse> createDiscoveryJob​(CreateDiscoveryJobRequest request,
                                                              AsyncHandler<CreateDiscoveryJobRequest,​CreateDiscoveryJobResponse> handler)
        API to create discovery Job and submit discovery Details to agent.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createMaintenanceWindow

        Future<CreateMaintenanceWindowResponse> createMaintenanceWindow​(CreateMaintenanceWindowRequest request,
                                                                        AsyncHandler<CreateMaintenanceWindowRequest,​CreateMaintenanceWindowResponse> handler)
        Creates a new Maintenance Window for the given resources.

        It will create also the Alarms Suppression for each alarm that the resource migth trigger.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createMetricExtension

        Future<CreateMetricExtensionResponse> createMetricExtension​(CreateMetricExtensionRequest request,
                                                                    AsyncHandler<CreateMetricExtensionRequest,​CreateMetricExtensionResponse> handler)
        Creates a new metric extension resource for a given compartment
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createMonitoredResource

        Future<CreateMonitoredResourceResponse> createMonitoredResource​(CreateMonitoredResourceRequest request,
                                                                        AsyncHandler<CreateMonitoredResourceRequest,​CreateMonitoredResourceResponse> handler)
        Creates a new monitored resource for the given resource type with the details and submits a work request for promoting the resource to agent.

        Once the resource is successfully added to agent, resource state will be marked active.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createMonitoringTemplate

        Future<CreateMonitoringTemplateResponse> createMonitoringTemplate​(CreateMonitoringTemplateRequest request,
                                                                          AsyncHandler<CreateMonitoringTemplateRequest,​CreateMonitoringTemplateResponse> handler)
        Creates a new monitoring template for a given compartment.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createProcessSet

        Future<CreateProcessSetResponse> createProcessSet​(CreateProcessSetRequest request,
                                                          AsyncHandler<CreateProcessSetRequest,​CreateProcessSetResponse> handler)
        API to create Process Set.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteAlarmCondition

        Future<DeleteAlarmConditionResponse> deleteAlarmCondition​(DeleteAlarmConditionRequest request,
                                                                  AsyncHandler<DeleteAlarmConditionRequest,​DeleteAlarmConditionResponse> handler)
        Deletes the alarm conditions by identifier
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteConfig

        Future<DeleteConfigResponse> deleteConfig​(DeleteConfigRequest request,
                                                  AsyncHandler<DeleteConfigRequest,​DeleteConfigResponse> handler)
        Deletes a configuration identified by the id.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteDiscoveryJob

        Future<DeleteDiscoveryJobResponse> deleteDiscoveryJob​(DeleteDiscoveryJobRequest request,
                                                              AsyncHandler<DeleteDiscoveryJobRequest,​DeleteDiscoveryJobResponse> handler)
        Deletes a DiscoveryJob by identifier
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteMetricExtension

        Future<DeleteMetricExtensionResponse> deleteMetricExtension​(DeleteMetricExtensionRequest request,
                                                                    AsyncHandler<DeleteMetricExtensionRequest,​DeleteMetricExtensionResponse> handler)
        Deletes a metric extension by identifier
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteMonitoredResource

        Future<DeleteMonitoredResourceResponse> deleteMonitoredResource​(DeleteMonitoredResourceRequest request,
                                                                        AsyncHandler<DeleteMonitoredResourceRequest,​DeleteMonitoredResourceResponse> handler)
        Delete monitored resource by the given identifier OCID.

        By default, only the specified resource is deleted. If the parameter ‘isDeleteMembers’ is set to true, then the member resources will be deleted too. If the operation fails partially, the deleted entries will not be rolled back.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteProcessSet

        Future<DeleteProcessSetResponse> deleteProcessSet​(DeleteProcessSetRequest request,
                                                          AsyncHandler<DeleteProcessSetRequest,​DeleteProcessSetResponse> handler)
        Deletes a Process Set
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • disableExternalDatabase

        Future<DisableExternalDatabaseResponse> disableExternalDatabase​(DisableExternalDatabaseRequest request,
                                                                        AsyncHandler<DisableExternalDatabaseRequest,​DisableExternalDatabaseResponse> handler)
        Disable external database resource monitoring.

        All the references in DBaaS, DBM and resource service will be deleted as part of this operation.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • disableMetricExtension

        Future<DisableMetricExtensionResponse> disableMetricExtension​(DisableMetricExtensionRequest request,
                                                                      AsyncHandler<DisableMetricExtensionRequest,​DisableMetricExtensionResponse> handler)
        Submits a request to disable matching metric extension Id for the given Resource IDs
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • enableMetricExtension

        Future<EnableMetricExtensionResponse> enableMetricExtension​(EnableMetricExtensionRequest request,
                                                                    AsyncHandler<EnableMetricExtensionRequest,​EnableMetricExtensionResponse> handler)
        Submits a request to enable matching metric extension Id for the given Resource IDs
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • exportMetricExtension

        Future<ExportMetricExtensionResponse> exportMetricExtension​(ExportMetricExtensionRequest request,
                                                                    AsyncHandler<ExportMetricExtensionRequest,​ExportMetricExtensionResponse> handler)
        Export generates a template used to create new metric extension resources similar to matching metric extension id.

        Response is a file that contains metric extension definition with placeholders for fields to be changed.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getAlarmCondition

        Future<GetAlarmConditionResponse> getAlarmCondition​(GetAlarmConditionRequest request,
                                                            AsyncHandler<GetAlarmConditionRequest,​GetAlarmConditionResponse> handler)
        Gets a Alarm Condition by identifier.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getBaselineableMetric

        Future<GetBaselineableMetricResponse> getBaselineableMetric​(GetBaselineableMetricRequest request,
                                                                    AsyncHandler<GetBaselineableMetricRequest,​GetBaselineableMetricResponse> handler)
        Get the Baseline-able metric for the given id
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getConfig

        Future<GetConfigResponse> getConfig​(GetConfigRequest request,
                                            AsyncHandler<GetConfigRequest,​GetConfigResponse> handler)
        Gets the details of a configuration.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getDiscoveryJob

        Future<GetDiscoveryJobResponse> getDiscoveryJob​(GetDiscoveryJobRequest request,
                                                        AsyncHandler<GetDiscoveryJobRequest,​GetDiscoveryJobResponse> handler)
        API to get the details of discovery Job by identifier.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getMaintenanceWindow

        Future<GetMaintenanceWindowResponse> getMaintenanceWindow​(GetMaintenanceWindowRequest request,
                                                                  AsyncHandler<GetMaintenanceWindowRequest,​GetMaintenanceWindowResponse> handler)
        Get maintenance window for the given identifier OCID.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getMetricExtension

        Future<GetMetricExtensionResponse> getMetricExtension​(GetMetricExtensionRequest request,
                                                              AsyncHandler<GetMetricExtensionRequest,​GetMetricExtensionResponse> handler)
        Gets a Metric Extension by identifier
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getMonitoredResource

        Future<GetMonitoredResourceResponse> getMonitoredResource​(GetMonitoredResourceRequest request,
                                                                  AsyncHandler<GetMonitoredResourceRequest,​GetMonitoredResourceResponse> handler)
        Get monitored resource for the given identifier OCID.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getMonitoringTemplate

        Future<GetMonitoringTemplateResponse> getMonitoringTemplate​(GetMonitoringTemplateRequest request,
                                                                    AsyncHandler<GetMonitoringTemplateRequest,​GetMonitoringTemplateResponse> handler)
        Gets a Monitoring Template by identifier
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getProcessSet

        Future<GetProcessSetResponse> getProcessSet​(GetProcessSetRequest request,
                                                    AsyncHandler<GetProcessSetRequest,​GetProcessSetResponse> handler)
        API to get the details of a Process Set by identifier.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getWorkRequest

        Future<GetWorkRequestResponse> getWorkRequest​(GetWorkRequestRequest request,
                                                      AsyncHandler<GetWorkRequestRequest,​GetWorkRequestResponse> handler)
        Gets the status of the work request with the given ID.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listAlarmConditions

        Future<ListAlarmConditionsResponse> listAlarmConditions​(ListAlarmConditionsRequest request,
                                                                AsyncHandler<ListAlarmConditionsRequest,​ListAlarmConditionsResponse> handler)
        Returns a list of Alarm Conditions.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listBaselineableMetrics

        Future<ListBaselineableMetricsResponse> listBaselineableMetrics​(ListBaselineableMetricsRequest request,
                                                                        AsyncHandler<ListBaselineableMetricsRequest,​ListBaselineableMetricsResponse> handler)
        List of summary of baseline-able metrics for a given resource group if specified.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listConfigs

        Future<ListConfigsResponse> listConfigs​(ListConfigsRequest request,
                                                AsyncHandler<ListConfigsRequest,​ListConfigsResponse> handler)
        Get a list of configurations in a compartment.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listDiscoveryJobLogs

        Future<ListDiscoveryJobLogsResponse> listDiscoveryJobLogs​(ListDiscoveryJobLogsRequest request,
                                                                  AsyncHandler<ListDiscoveryJobLogsRequest,​ListDiscoveryJobLogsResponse> handler)
        API to get all the logs of a Discovery Job.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listDiscoveryJobs

        Future<ListDiscoveryJobsResponse> listDiscoveryJobs​(ListDiscoveryJobsRequest request,
                                                            AsyncHandler<ListDiscoveryJobsRequest,​ListDiscoveryJobsResponse> handler)
        API to get the details of all Discovery Jobs.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listMaintenanceWindows

        Future<ListMaintenanceWindowsResponse> listMaintenanceWindows​(ListMaintenanceWindowsRequest request,
                                                                      AsyncHandler<ListMaintenanceWindowsRequest,​ListMaintenanceWindowsResponse> handler)
        Returns a list of maintenance windows.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listMetricExtensions

        Future<ListMetricExtensionsResponse> listMetricExtensions​(ListMetricExtensionsRequest request,
                                                                  AsyncHandler<ListMetricExtensionsRequest,​ListMetricExtensionsResponse> handler)
        Returns a list of metric extensions
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listMonitoredResourceTypes

        Future<ListMonitoredResourceTypesResponse> listMonitoredResourceTypes​(ListMonitoredResourceTypesRequest request,
                                                                              AsyncHandler<ListMonitoredResourceTypesRequest,​ListMonitoredResourceTypesResponse> handler)
        Returns list of resource types accessible to the customer.

        There are two types of resource types - System resource types and User resource types. System resource types are available out of the box in the stack monitoring resource service and are accessible to all the tenant users. User resource types are created in the context of a tenancy and are visible only for the tenancy. By default, both System resource types and User resource types are returned.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listMonitoredResources

        Future<ListMonitoredResourcesResponse> listMonitoredResources​(ListMonitoredResourcesRequest request,
                                                                      AsyncHandler<ListMonitoredResourcesRequest,​ListMonitoredResourcesResponse> handler)
        Returns a list of monitored resources.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listProcessSets

        Future<ListProcessSetsResponse> listProcessSets​(ListProcessSetsRequest request,
                                                        AsyncHandler<ListProcessSetsRequest,​ListProcessSetsResponse> handler)
        API to get the details of all Process Sets.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listWorkRequestErrors

        Future<ListWorkRequestErrorsResponse> listWorkRequestErrors​(ListWorkRequestErrorsRequest request,
                                                                    AsyncHandler<ListWorkRequestErrorsRequest,​ListWorkRequestErrorsResponse> handler)
        Return a (paginated) list of errors for a given work request.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listWorkRequestLogs

        Future<ListWorkRequestLogsResponse> listWorkRequestLogs​(ListWorkRequestLogsRequest request,
                                                                AsyncHandler<ListWorkRequestLogsRequest,​ListWorkRequestLogsResponse> handler)
        Return a (paginated) list of logs for a given work request.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listWorkRequests

        Future<ListWorkRequestsResponse> listWorkRequests​(ListWorkRequestsRequest request,
                                                          AsyncHandler<ListWorkRequestsRequest,​ListWorkRequestsResponse> handler)
        Lists the work requests in a compartment.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • manageLicense

        Future<ManageLicenseResponse> manageLicense​(ManageLicenseRequest request,
                                                    AsyncHandler<ManageLicenseRequest,​ManageLicenseResponse> handler)
        Each resource is assigned a license based on which features are enabled for it.

        User is charged differently based on license. Specify the license type to be updated for the parent resource in the topology. The license type value is propagated to the member resources as well. Member resource is a resource which has "contains" association with the resource.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • publishMetricExtension

        Future<PublishMetricExtensionResponse> publishMetricExtension​(PublishMetricExtensionRequest request,
                                                                      AsyncHandler<PublishMetricExtensionRequest,​PublishMetricExtensionResponse> handler)
        Publish the Metric Extension identified by the id
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • searchAssociatedResources

        Future<SearchAssociatedResourcesResponse> searchAssociatedResources​(SearchAssociatedResourcesRequest request,
                                                                            AsyncHandler<SearchAssociatedResourcesRequest,​SearchAssociatedResourcesResponse> handler)
        List all associated resources recursively up-to a specified level, for the monitored resources of type specified.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • searchMonitoredResources

        Future<SearchMonitoredResourcesResponse> searchMonitoredResources​(SearchMonitoredResourcesRequest request,
                                                                          AsyncHandler<SearchMonitoredResourcesRequest,​SearchMonitoredResourcesResponse> handler)
        Gets a list of all monitored resources in a compartment for the given search criteria.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • stopMaintenanceWindow

        Future<StopMaintenanceWindowResponse> stopMaintenanceWindow​(StopMaintenanceWindowRequest request,
                                                                    AsyncHandler<StopMaintenanceWindowRequest,​StopMaintenanceWindowResponse> handler)
        Stop a maintenance window before the end time is reached.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • testMetricExtension

        Future<TestMetricExtensionResponse> testMetricExtension​(TestMetricExtensionRequest request,
                                                                AsyncHandler<TestMetricExtensionRequest,​TestMetricExtensionResponse> handler)
        Performs test of Metric Extension on a specific resource Id
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateAlarmCondition

        Future<UpdateAlarmConditionResponse> updateAlarmCondition​(UpdateAlarmConditionRequest request,
                                                                  AsyncHandler<UpdateAlarmConditionRequest,​UpdateAlarmConditionResponse> handler)
        Update a Alarm Condition by identifier
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateAndPropagateTags

        Future<UpdateAndPropagateTagsResponse> updateAndPropagateTags​(UpdateAndPropagateTagsRequest request,
                                                                      AsyncHandler<UpdateAndPropagateTagsRequest,​UpdateAndPropagateTagsResponse> handler)
        Provided tags will be added or updated in the existing list of tags for the affected resources.

        Resources to be updated are identified based on association types specified. If association types not specified, then tags will be updated only for the resource identified by the given monitored resource identifier OCID.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateConfig

        Future<UpdateConfigResponse> updateConfig​(UpdateConfigRequest request,
                                                  AsyncHandler<UpdateConfigRequest,​UpdateConfigResponse> handler)
        Updates the configuration identified by the id given.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateMetricExtension

        Future<UpdateMetricExtensionResponse> updateMetricExtension​(UpdateMetricExtensionRequest request,
                                                                    AsyncHandler<UpdateMetricExtensionRequest,​UpdateMetricExtensionResponse> handler)
        Updates the Metric Extension
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateMonitoredResource

        Future<UpdateMonitoredResourceResponse> updateMonitoredResource​(UpdateMonitoredResourceRequest request,
                                                                        AsyncHandler<UpdateMonitoredResourceRequest,​UpdateMonitoredResourceResponse> handler)
        Update monitored resource by the given identifier OCID.

        Note that "properties" object, if specified, will entirely replace the existing object, as part this operation.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateProcessSet

        Future<UpdateProcessSetResponse> updateProcessSet​(UpdateProcessSetRequest request,
                                                          AsyncHandler<UpdateProcessSetRequest,​UpdateProcessSetResponse> handler)
        API to update a Process Set identified by a given ocid.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.