Interface LoggingManagement
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
LoggingManagementClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public interface LoggingManagement extends AutoCloseable
Use 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 ChangeLogGroupCompartmentResponse
changeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)
Moves a log group into a different compartment within the same tenancy.ChangeLogLogGroupResponse
changeLogLogGroup(ChangeLogLogGroupRequest request)
Moves a log into a different log group within the same tenancy.ChangeLogSavedSearchCompartmentResponse
changeLogSavedSearchCompartment(ChangeLogSavedSearchCompartmentRequest request)
Moves a saved search into a different compartment within the same tenancy.ChangeUnifiedAgentConfigurationCompartmentResponse
changeUnifiedAgentConfigurationCompartment(ChangeUnifiedAgentConfigurationCompartmentRequest request)
Moves the unified agent configuration into a different compartment within the same tenancy.CreateLogResponse
createLog(CreateLogRequest request)
Creates a log within the specified log group.CreateLogGroupResponse
createLogGroup(CreateLogGroupRequest request)
Create a new log group with a unique display name.CreateLogSavedSearchResponse
createLogSavedSearch(CreateLogSavedSearchRequest request)
Creates a new LogSavedSearch.CreateUnifiedAgentConfigurationResponse
createUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)
Create unified agent configuration registration.DeleteLogResponse
deleteLog(DeleteLogRequest request)
Deletes the log object in a log group.DeleteLogGroupResponse
deleteLogGroup(DeleteLogGroupRequest request)
Deletes the specified log group.DeleteLogSavedSearchResponse
deleteLogSavedSearch(DeleteLogSavedSearchRequest request)
Deletes the specified LogSavedSearch.DeleteUnifiedAgentConfigurationResponse
deleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)
Delete unified agent configuration.DeleteWorkRequestResponse
deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started yet.String
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)GetLogResponse
getLog(GetLogRequest request)
Gets the log object configuration for the log object OCID.GetLogGroupResponse
getLogGroup(GetLogGroupRequest request)
Get the specified log group’s information.GetLogSavedSearchResponse
getLogSavedSearch(GetLogSavedSearchRequest request)
Retrieves a LogSavedSearch.LoggingManagementPaginators
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetUnifiedAgentConfigurationResponse
getUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)
Get the unified agent configuration for an ID.LoggingManagementWaiters
getWaiters()
Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponse
getWorkRequest(GetWorkRequestRequest request)
Gets the details of the work request with the given ID.ListLogGroupsResponse
listLogGroups(ListLogGroupsRequest request)
Lists all log groups for the specified compartment or tenancy.ListLogsResponse
listLogs(ListLogsRequest request)
Lists the specified log group’s log objects.ListLogSavedSearchesResponse
listLogSavedSearches(ListLogSavedSearchesRequest request)
Lists LogSavedSearches for this compartment.ListServicesResponse
listServices(ListServicesRequest request)
Lists all services that support logging.ListUnifiedAgentConfigurationsResponse
listUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)
Lists all unified agent configurations in the specified compartment.ListWorkRequestErrorsResponse
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a list of errors for a given work request.ListWorkRequestLogsResponse
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a list of logs for a given work request.ListWorkRequestsResponse
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.void
refreshClient()
Rebuilds the client from scratch.void
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).void
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).void
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).UpdateLogResponse
updateLog(UpdateLogRequest request)
Updates the existing log object with the associated configuration.UpdateLogGroupResponse
updateLogGroup(UpdateLogGroupRequest request)
Updates the existing log group with the associated configuration.UpdateLogSavedSearchResponse
updateLogSavedSearch(UpdateLogSavedSearchRequest request)
Updates an existing LogSavedSearch.UpdateUnifiedAgentConfigurationResponse
updateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)
Update an existing unified agent configuration.void
useRealmSpecificEndpointTemplate(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
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 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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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/3.63.0/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
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.
-
-