Interface LoggingManagement
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
LoggingManagementClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public interface LoggingManagement extends AutoCloseableUse the Logging Management API to create, read, list, update, move and delete log groups, log objects, log saved searches, and agent configurations.For more information, see [Logging Overview](https://docs.oracle.com/iaas/Content/Logging/Concepts/loggingoverview.htm).
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeLogGroupCompartmentResponsechangeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)Moves a log group into a different compartment within the same tenancy.ChangeLogLogGroupResponsechangeLogLogGroup(ChangeLogLogGroupRequest request)Moves a log into a different log group within the same tenancy.ChangeLogSavedSearchCompartmentResponsechangeLogSavedSearchCompartment(ChangeLogSavedSearchCompartmentRequest request)Moves a saved search into a different compartment within the same tenancy.ChangeUnifiedAgentConfigurationCompartmentResponsechangeUnifiedAgentConfigurationCompartment(ChangeUnifiedAgentConfigurationCompartmentRequest request)Moves the unified agent configuration into a different compartment within the same tenancy.CreateLogResponsecreateLog(CreateLogRequest request)Creates a log within the specified log group.CreateLogGroupResponsecreateLogGroup(CreateLogGroupRequest request)Create a new log group with a unique display name.CreateLogSavedSearchResponsecreateLogSavedSearch(CreateLogSavedSearchRequest request)Creates a new LogSavedSearch.CreateUnifiedAgentConfigurationResponsecreateUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)Create unified agent configuration registration.DeleteLogResponsedeleteLog(DeleteLogRequest request)Deletes the log object in a log group.DeleteLogGroupResponsedeleteLogGroup(DeleteLogGroupRequest request)Deletes the specified log group.DeleteLogSavedSearchResponsedeleteLogSavedSearch(DeleteLogSavedSearchRequest request)Deletes the specified LogSavedSearch.DeleteUnifiedAgentConfigurationResponsedeleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)Delete unified agent configuration.DeleteWorkRequestResponsedeleteWorkRequest(DeleteWorkRequestRequest request)Cancel a work request that has not started yet.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)GetLogResponsegetLog(GetLogRequest request)Gets the log object configuration for the log object OCID.GetLogGroupResponsegetLogGroup(GetLogGroupRequest request)Get the specified log group’s information.GetLogSavedSearchResponsegetLogSavedSearch(GetLogSavedSearchRequest request)Retrieves a LogSavedSearch.LoggingManagementPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetUnifiedAgentConfigurationResponsegetUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)Get the unified agent configuration for an ID.LoggingManagementWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the details of the work request with the given ID.ListLogGroupsResponselistLogGroups(ListLogGroupsRequest request)Lists all log groups for the specified compartment or tenancy.ListLogsResponselistLogs(ListLogsRequest request)Lists the specified log group’s log objects.ListLogSavedSearchesResponselistLogSavedSearches(ListLogSavedSearchesRequest request)Lists LogSavedSearches for this compartment.ListServicesResponselistServices(ListServicesRequest request)Lists all services that support logging.ListUnifiedAgentConfigurationsResponselistUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)Lists all unified agent configurations in the specified compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidrefreshClient()Rebuilds the client from scratch.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateLogResponseupdateLog(UpdateLogRequest request)Updates the existing log object with the associated configuration.UpdateLogGroupResponseupdateLogGroup(UpdateLogGroupRequest request)Updates the existing log group with the associated configuration.UpdateLogSavedSearchResponseupdateLogSavedSearch(UpdateLogSavedSearchRequest request)Updates an existing LogSavedSearch.UpdateUnifiedAgentConfigurationResponseupdateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)Update an existing unified agent configuration.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
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
setEndpointafter 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 callsetEndpoint.- 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
-
changeLogGroupCompartment
ChangeLogGroupCompartmentResponse changeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)
Moves a log group into a different compartment within the same tenancy.When provided, the If-Match is checked against the resource ETag values. For information about moving resources between compartments, see Moving Resources Between Compartments.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ChangeLogGroupCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeLogGroupCompartment API.
-
changeLogLogGroup
ChangeLogLogGroupResponse changeLogLogGroup(ChangeLogLogGroupRequest request)
Moves a log into a different log group within the same tenancy.When provided, the If-Match is checked against the ETag values of the resource.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ChangeLogLogGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeLogLogGroup API.
-
changeLogSavedSearchCompartment
ChangeLogSavedSearchCompartmentResponse changeLogSavedSearchCompartment(ChangeLogSavedSearchCompartmentRequest request)
Moves a saved search into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ChangeLogSavedSearchCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeLogSavedSearchCompartment API.
-
changeUnifiedAgentConfigurationCompartment
ChangeUnifiedAgentConfigurationCompartmentResponse changeUnifiedAgentConfigurationCompartment(ChangeUnifiedAgentConfigurationCompartmentRequest request)
Moves the unified agent configuration into a different compartment within the same tenancy.When provided, the If-Match is checked against the ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ChangeUnifiedAgentConfigurationCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeUnifiedAgentConfigurationCompartment API.
-
createLog
CreateLogResponse createLog(CreateLogRequest request)
Creates a log within the specified log group.This call fails if a log group has already been created with the same displayName or (service, resource, category) triplet.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/CreateLogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateLog API.
-
createLogGroup
CreateLogGroupResponse createLogGroup(CreateLogGroupRequest request)
Create a new log group with a unique display name.This call fails if the log group is already created with the same displayName in the 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/CreateLogGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateLogGroup API.
-
createLogSavedSearch
CreateLogSavedSearchResponse createLogSavedSearch(CreateLogSavedSearchRequest request)
Creates a new LogSavedSearch.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/CreateLogSavedSearchExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateLogSavedSearch API.
-
createUnifiedAgentConfiguration
CreateUnifiedAgentConfigurationResponse createUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)
Create unified agent configuration registration.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/CreateUnifiedAgentConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateUnifiedAgentConfiguration API.
-
deleteLog
DeleteLogResponse deleteLog(DeleteLogRequest request)
Deletes the log object in a log group.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/DeleteLogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteLog API.
-
deleteLogGroup
DeleteLogGroupResponse deleteLogGroup(DeleteLogGroupRequest request)
Deletes the specified log group.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/DeleteLogGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteLogGroup API.
-
deleteLogSavedSearch
DeleteLogSavedSearchResponse deleteLogSavedSearch(DeleteLogSavedSearchRequest request)
Deletes the specified LogSavedSearch.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/DeleteLogSavedSearchExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteLogSavedSearch API.
-
deleteUnifiedAgentConfiguration
DeleteUnifiedAgentConfigurationResponse deleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)
Delete unified agent configuration.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/DeleteUnifiedAgentConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteUnifiedAgentConfiguration API.
-
deleteWorkRequest
DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started yet.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/DeleteWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteWorkRequest API.
-
getLog
GetLogResponse getLog(GetLogRequest request)
Gets the log object configuration for the log object 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/GetLogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetLog API.
-
getLogGroup
GetLogGroupResponse getLogGroup(GetLogGroupRequest request)
Get the specified log group’s information.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/GetLogGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetLogGroup API.
-
getLogSavedSearch
GetLogSavedSearchResponse getLogSavedSearch(GetLogSavedSearchRequest request)
Retrieves a LogSavedSearch.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/GetLogSavedSearchExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetLogSavedSearch API.
-
getUnifiedAgentConfiguration
GetUnifiedAgentConfigurationResponse getUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)
Get the unified agent configuration for an ID.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/GetUnifiedAgentConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetUnifiedAgentConfiguration API.
-
getWorkRequest
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the details of the work request with the given ID.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.
-
listLogGroups
ListLogGroupsResponse listLogGroups(ListLogGroupsRequest request)
Lists all log groups for the specified compartment or tenancy.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListLogGroupsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListLogGroups API.
-
listLogSavedSearches
ListLogSavedSearchesResponse listLogSavedSearches(ListLogSavedSearchesRequest request)
Lists LogSavedSearches for this 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListLogSavedSearchesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListLogSavedSearches API.
-
listLogs
ListLogsResponse listLogs(ListLogsRequest request)
Lists the specified log group’s log objects.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListLogs API.
-
listServices
ListServicesResponse listServices(ListServicesRequest request)
Lists all services that support logging.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListServicesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListServices API.
-
listUnifiedAgentConfigurations
ListUnifiedAgentConfigurationsResponse listUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)
Lists all unified agent configurations 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListUnifiedAgentConfigurationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListUnifiedAgentConfigurations API.
-
listWorkRequestErrors
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a list of errors for a given work request.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.
-
listWorkRequestLogs
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a list of logs for a given work request.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.
-
listWorkRequests
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.
-
updateLog
UpdateLogResponse updateLog(UpdateLogRequest request)
Updates the existing log object with the associated configuration.This call fails if the log object does not exist.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/UpdateLogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateLog API.
-
updateLogGroup
UpdateLogGroupResponse updateLogGroup(UpdateLogGroupRequest request)
Updates the existing log group with the associated configuration.This call fails if the log group does not exist.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/UpdateLogGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateLogGroup API.
-
updateLogSavedSearch
UpdateLogSavedSearchResponse updateLogSavedSearch(UpdateLogSavedSearchRequest request)
Updates an existing LogSavedSearch.- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/UpdateLogSavedSearchExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateLogSavedSearch API.
-
updateUnifiedAgentConfiguration
UpdateUnifiedAgentConfigurationResponse updateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)
Update an existing unified agent configuration.This call fails if the log group does not exist.
- 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/logging/UpdateUnifiedAgentConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateUnifiedAgentConfiguration API.
-
getWaiters
LoggingManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
LoggingManagementPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface 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.
-
-