@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public interface LoggingManagement extends AutoCloseable
Use the Logging Management API to create, read, list, update, and delete log groups, log objects, and agent configurations.
| Modifier and Type | Method and 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 log saved search.
|
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.
|
GetLogIncludedSearchResponse |
getLogIncludedSearch(GetLogIncludedSearchRequest request)
Retrieves a LogIncludedSearch.
|
GetLogSavedSearchResponse |
getLogSavedSearch(GetLogSavedSearchRequest request)
Retrieves a log saved search.
|
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.
|
ListLogIncludedSearchesResponse |
listLogIncludedSearches(ListLogIncludedSearchesRequest request)
Lists Logging Included Searches for this compartment.
|
ListLogsResponse |
listLogs(ListLogsRequest request)
Lists the specified log group’s log objects.
|
ListLogSavedSearchesResponse |
listLogSavedSearches(ListLogSavedSearchesRequest request)
Lists Logging Saved Searches 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 |
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 log saved search.
|
UpdateUnifiedAgentConfigurationResponse |
updateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)
Update an existing unified agent configuration.
|
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
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.
region - The region of the service.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.
regionId - The public region ID.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.
request - The request object containing the details to sendBmcException - when an error occurs.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.
request - The request object containing the details to sendBmcException - when an error occurs.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.
request - The request object containing the details to sendBmcException - when an error occurs.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.
request - The request object containing the details to sendBmcException - when an error occurs.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.
request - The request object containing the details to sendBmcException - when an error occurs.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.
request - The request object containing the details to sendBmcException - when an error occurs.CreateLogSavedSearchResponse createLogSavedSearch(CreateLogSavedSearchRequest request)
Creates a new LogSavedSearch.
request - The request object containing the details to sendBmcException - when an error occurs.CreateUnifiedAgentConfigurationResponse createUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)
Create unified agent configuration registration.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteLogResponse deleteLog(DeleteLogRequest request)
Deletes the log object in a log group.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteLogGroupResponse deleteLogGroup(DeleteLogGroupRequest request)
Deletes the specified log group.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteLogSavedSearchResponse deleteLogSavedSearch(DeleteLogSavedSearchRequest request)
Deletes the specified log saved search.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteUnifiedAgentConfigurationResponse deleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)
Delete unified agent configuration.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started yet.
request - The request object containing the details to sendBmcException - when an error occurs.GetLogResponse getLog(GetLogRequest request)
Gets the log object configuration for the log object OCID.
request - The request object containing the details to sendBmcException - when an error occurs.GetLogGroupResponse getLogGroup(GetLogGroupRequest request)
Get the specified log group’s information.
request - The request object containing the details to sendBmcException - when an error occurs.GetLogIncludedSearchResponse getLogIncludedSearch(GetLogIncludedSearchRequest request)
Retrieves a LogIncludedSearch.
request - The request object containing the details to sendBmcException - when an error occurs.GetLogSavedSearchResponse getLogSavedSearch(GetLogSavedSearchRequest request)
Retrieves a log saved search.
request - The request object containing the details to sendBmcException - when an error occurs.GetUnifiedAgentConfigurationResponse getUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)
Get the unified agent configuration for an ID.
request - The request object containing the details to sendBmcException - when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the details of the work request with the given ID.
request - The request object containing the details to sendBmcException - when an error occurs.ListLogGroupsResponse listLogGroups(ListLogGroupsRequest request)
Lists all log groups for the specified compartment or tenancy.
request - The request object containing the details to sendBmcException - when an error occurs.ListLogIncludedSearchesResponse listLogIncludedSearches(ListLogIncludedSearchesRequest request)
Lists Logging Included Searches for this compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ListLogSavedSearchesResponse listLogSavedSearches(ListLogSavedSearchesRequest request)
Lists Logging Saved Searches for this compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ListLogsResponse listLogs(ListLogsRequest request)
Lists the specified log group’s log objects.
request - The request object containing the details to sendBmcException - when an error occurs.ListServicesResponse listServices(ListServicesRequest request)
Lists all services that support logging.
request - The request object containing the details to sendBmcException - when an error occurs.ListUnifiedAgentConfigurationsResponse listUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)
Lists all unified agent configurations in the specified compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a list of errors for a given work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a list of logs for a given work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateLogResponse updateLog(UpdateLogRequest request)
Updates the existing log object with the associated configuration. This call fails if the log object does not exist.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateLogGroupResponse updateLogGroup(UpdateLogGroupRequest request)
Updates the existing log group with the associated configuration. This call fails if the log group does not exist.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateLogSavedSearchResponse updateLogSavedSearch(UpdateLogSavedSearchRequest request)
Updates an existing log saved search.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateUnifiedAgentConfigurationResponse updateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)
Update an existing unified agent configuration. This call fails if the log group does not exist.
request - The request object containing the details to sendBmcException - when an error occurs.LoggingManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
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.
Copyright © 2016–2020. All rights reserved.