@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public class LogAnalyticsAsyncClient extends BaseAsyncClient implements LogAnalyticsAsync
Async client implementation for LogAnalytics service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, like getObject Api in object storage service,
developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
LogAnalyticsAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for LogAnalytics.
|
Constructor and Description |
---|
LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for LogAnalytics.
public final String clientCommonLibraryVersion
@Deprecated public LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static LogAnalyticsAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
LogAnalyticsAsync
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.
setRegion
in interface LogAnalyticsAsync
region
- The region of the service.public void setRegion(String regionId)
LogAnalyticsAsync
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
.
setRegion
in interface LogAnalyticsAsync
regionId
- The public region ID.public Future<AddEntityAssociationResponse> addEntityAssociation(AddEntityAssociationRequest request, AsyncHandler<AddEntityAssociationRequest,AddEntityAssociationResponse> handler)
LogAnalyticsAsync
Adds association between input source log analytics entity and one or more existing destination entities.
addEntityAssociation
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddSourceEventTypesResponse> addSourceEventTypes(AddSourceEventTypesRequest request, AsyncHandler<AddSourceEventTypesRequest,AddSourceEventTypesResponse> handler)
LogAnalyticsAsync
Add one or more event types to a source. An event type and version can be enabled only on one source.
addSourceEventTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AppendLookupDataResponse> appendLookupData(AppendLookupDataRequest request, AsyncHandler<AppendLookupDataRequest,AppendLookupDataResponse> handler)
LogAnalyticsAsync
Appends data to the lookup content. The csv file containing the content to be appended is passed in as binary data in the request.
appendLookupData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AssignEncryptionKeyResponse> assignEncryptionKey(AssignEncryptionKeyRequest request, AsyncHandler<AssignEncryptionKeyRequest,AssignEncryptionKeyResponse> handler)
LogAnalyticsAsync
This API submits a work request to assign customer encryption key.
assignEncryptionKey
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BatchGetBasicInfoResponse> batchGetBasicInfo(BatchGetBasicInfoRequest request, AsyncHandler<BatchGetBasicInfoRequest,BatchGetBasicInfoResponse> handler)
LogAnalyticsAsync
Lists basic information about a specified set of labels in batch.
batchGetBasicInfo
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelQueryWorkRequestResponse> cancelQueryWorkRequest(CancelQueryWorkRequestRequest request, AsyncHandler<CancelQueryWorkRequestRequest,CancelQueryWorkRequestResponse> handler)
LogAnalyticsAsync
Cancel/Remove query job work request.
cancelQueryWorkRequest
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeIngestTimeRuleCompartmentResponse> changeIngestTimeRuleCompartment(ChangeIngestTimeRuleCompartmentRequest request, AsyncHandler<ChangeIngestTimeRuleCompartmentRequest,ChangeIngestTimeRuleCompartmentResponse> handler)
LogAnalyticsAsync
Moves the specified ingest time rule to a different compartment.
changeIngestTimeRuleCompartment
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeLogAnalyticsEmBridgeCompartmentResponse> changeLogAnalyticsEmBridgeCompartment(ChangeLogAnalyticsEmBridgeCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsEmBridgeCompartmentRequest,ChangeLogAnalyticsEmBridgeCompartmentResponse> handler)
LogAnalyticsAsync
Update the compartment of the log analytics enterprise manager bridge with the given id.
changeLogAnalyticsEmBridgeCompartment
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeLogAnalyticsEntityCompartmentResponse> changeLogAnalyticsEntityCompartment(ChangeLogAnalyticsEntityCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsEntityCompartmentRequest,ChangeLogAnalyticsEntityCompartmentResponse> handler)
LogAnalyticsAsync
Update the compartment of the log analytics entity with the given id.
changeLogAnalyticsEntityCompartment
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeLogAnalyticsLogGroupCompartmentResponse> changeLogAnalyticsLogGroupCompartment(ChangeLogAnalyticsLogGroupCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsLogGroupCompartmentRequest,ChangeLogAnalyticsLogGroupCompartmentResponse> handler)
LogAnalyticsAsync
Moves the specified log group to a different compartment.
changeLogAnalyticsLogGroupCompartment
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse> changeLogAnalyticsObjectCollectionRuleCompartment(ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest,ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse> handler)
LogAnalyticsAsync
Move the rule from it’s current compartment to the given compartment.
changeLogAnalyticsObjectCollectionRuleCompartment
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeScheduledTaskCompartmentResponse> changeScheduledTaskCompartment(ChangeScheduledTaskCompartmentRequest request, AsyncHandler<ChangeScheduledTaskCompartmentRequest,ChangeScheduledTaskCompartmentResponse> handler)
LogAnalyticsAsync
Move the scheduled task into a different compartment within the same tenancy.
changeScheduledTaskCompartment
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CleanResponse> clean(CleanRequest request, AsyncHandler<CleanRequest,CleanResponse> handler)
LogAnalyticsAsync
Clean accumulated acceleration data stored for the accelerated saved search. The ScheduledTask taskType must be ACCELERATION.
clean
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CompareContentResponse> compareContent(CompareContentRequest request, AsyncHandler<CompareContentRequest,CompareContentResponse> handler)
LogAnalyticsAsync
Returns the difference between the two input payloads, including intraline differences.
compareContent
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateIngestTimeRuleResponse> createIngestTimeRule(CreateIngestTimeRuleRequest request, AsyncHandler<CreateIngestTimeRuleRequest,CreateIngestTimeRuleResponse> handler)
LogAnalyticsAsync
Creates a new ingest time rule in the specified compartment. You may also specify optional information such as description, defined tags, and free-form tags.
createIngestTimeRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateLogAnalyticsEmBridgeResponse> createLogAnalyticsEmBridge(CreateLogAnalyticsEmBridgeRequest request, AsyncHandler<CreateLogAnalyticsEmBridgeRequest,CreateLogAnalyticsEmBridgeResponse> handler)
LogAnalyticsAsync
Add configuration for enterprise manager bridge. Enterprise manager bridge is used to automatically add selected entities from enterprise manager cloud control. A corresponding OCI bridge configuration is required in enterprise manager.
createLogAnalyticsEmBridge
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateLogAnalyticsEntityResponse> createLogAnalyticsEntity(CreateLogAnalyticsEntityRequest request, AsyncHandler<CreateLogAnalyticsEntityRequest,CreateLogAnalyticsEntityResponse> handler)
LogAnalyticsAsync
Create a new log analytics entity.
createLogAnalyticsEntity
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateLogAnalyticsEntityTypeResponse> createLogAnalyticsEntityType(CreateLogAnalyticsEntityTypeRequest request, AsyncHandler<CreateLogAnalyticsEntityTypeRequest,CreateLogAnalyticsEntityTypeResponse> handler)
LogAnalyticsAsync
Add custom log analytics entity type.
createLogAnalyticsEntityType
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateLogAnalyticsLogGroupResponse> createLogAnalyticsLogGroup(CreateLogAnalyticsLogGroupRequest request, AsyncHandler<CreateLogAnalyticsLogGroupRequest,CreateLogAnalyticsLogGroupResponse> handler)
LogAnalyticsAsync
Creates a new log group in the specified compartment with the input display name. You may also specify optional information such as description, defined tags, and free-form tags.
createLogAnalyticsLogGroup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateLogAnalyticsObjectCollectionRuleResponse> createLogAnalyticsObjectCollectionRule(CreateLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<CreateLogAnalyticsObjectCollectionRuleRequest,CreateLogAnalyticsObjectCollectionRuleResponse> handler)
LogAnalyticsAsync
Creates a rule to collect logs from an object storage bucket.
createLogAnalyticsObjectCollectionRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateScheduledTaskResponse> createScheduledTask(CreateScheduledTaskRequest request, AsyncHandler<CreateScheduledTaskRequest,CreateScheduledTaskResponse> handler)
LogAnalyticsAsync
Schedule a task as specified and return task info.
createScheduledTask
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAssociationsResponse> deleteAssociations(DeleteAssociationsRequest request, AsyncHandler<DeleteAssociationsRequest,DeleteAssociationsResponse> handler)
LogAnalyticsAsync
Deletes the associations between the sources and entities specified.
deleteAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFieldResponse> deleteField(DeleteFieldRequest request, AsyncHandler<DeleteFieldRequest,DeleteFieldResponse> handler)
LogAnalyticsAsync
Deletes field with the specified name.
deleteField
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteIngestTimeRuleResponse> deleteIngestTimeRule(DeleteIngestTimeRuleRequest request, AsyncHandler<DeleteIngestTimeRuleRequest,DeleteIngestTimeRuleResponse> handler)
LogAnalyticsAsync
Deletes the specified ingest time rule.
deleteIngestTimeRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLabelResponse> deleteLabel(DeleteLabelRequest request, AsyncHandler<DeleteLabelRequest,DeleteLabelResponse> handler)
LogAnalyticsAsync
Deletes label with the specified name.
deleteLabel
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLogAnalyticsEmBridgeResponse> deleteLogAnalyticsEmBridge(DeleteLogAnalyticsEmBridgeRequest request, AsyncHandler<DeleteLogAnalyticsEmBridgeRequest,DeleteLogAnalyticsEmBridgeResponse> handler)
LogAnalyticsAsync
Delete log analytics enterprise manager bridge with the given id.
deleteLogAnalyticsEmBridge
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLogAnalyticsEntityResponse> deleteLogAnalyticsEntity(DeleteLogAnalyticsEntityRequest request, AsyncHandler<DeleteLogAnalyticsEntityRequest,DeleteLogAnalyticsEntityResponse> handler)
LogAnalyticsAsync
Delete log analytics entity with the given id.
deleteLogAnalyticsEntity
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLogAnalyticsEntityTypeResponse> deleteLogAnalyticsEntityType(DeleteLogAnalyticsEntityTypeRequest request, AsyncHandler<DeleteLogAnalyticsEntityTypeRequest,DeleteLogAnalyticsEntityTypeResponse> handler)
LogAnalyticsAsync
Delete log analytics entity type with the given name.
deleteLogAnalyticsEntityType
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLogAnalyticsLogGroupResponse> deleteLogAnalyticsLogGroup(DeleteLogAnalyticsLogGroupRequest request, AsyncHandler<DeleteLogAnalyticsLogGroupRequest,DeleteLogAnalyticsLogGroupResponse> handler)
LogAnalyticsAsync
Deletes the specified log group. The log group cannot be part of an active association or have an active upload.
deleteLogAnalyticsLogGroup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLogAnalyticsObjectCollectionRuleResponse> deleteLogAnalyticsObjectCollectionRule(DeleteLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<DeleteLogAnalyticsObjectCollectionRuleRequest,DeleteLogAnalyticsObjectCollectionRuleResponse> handler)
LogAnalyticsAsync
Deletes the configured object storage bucket based collection rule and stop the log collection. It will not delete the existing processed data associated with this bucket from logging analytics storage.
deleteLogAnalyticsObjectCollectionRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLookupResponse> deleteLookup(DeleteLookupRequest request, AsyncHandler<DeleteLookupRequest,DeleteLookupResponse> handler)
LogAnalyticsAsync
Deletes lookup with the specified name.
deleteLookup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteParserResponse> deleteParser(DeleteParserRequest request, AsyncHandler<DeleteParserRequest,DeleteParserResponse> handler)
LogAnalyticsAsync
Deletes parser with the specified name.
deleteParser
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteScheduledTaskResponse> deleteScheduledTask(DeleteScheduledTaskRequest request, AsyncHandler<DeleteScheduledTaskRequest,DeleteScheduledTaskResponse> handler)
LogAnalyticsAsync
Delete the scheduled task.
deleteScheduledTask
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSourceResponse> deleteSource(DeleteSourceRequest request, AsyncHandler<DeleteSourceRequest,DeleteSourceResponse> handler)
LogAnalyticsAsync
Deletes source with the specified name.
deleteSource
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteUploadResponse> deleteUpload(DeleteUploadRequest request, AsyncHandler<DeleteUploadRequest,DeleteUploadResponse> handler)
LogAnalyticsAsync
Deletes an Upload by its reference. It deletes all the logs in storage asscoiated with the upload and the corresponding upload metadata.
deleteUpload
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteUploadFileResponse> deleteUploadFile(DeleteUploadFileRequest request, AsyncHandler<DeleteUploadFileRequest,DeleteUploadFileResponse> handler)
LogAnalyticsAsync
Deletes a specific log file inside an upload by upload file reference. It deletes all the logs from storage associated with the file and the corresponding metadata.
deleteUploadFile
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteUploadWarningResponse> deleteUploadWarning(DeleteUploadWarningRequest request, AsyncHandler<DeleteUploadWarningRequest,DeleteUploadWarningResponse> handler)
LogAnalyticsAsync
Suppresses a specific warning inside an upload.
deleteUploadWarning
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableArchivingResponse> disableArchiving(DisableArchivingRequest request, AsyncHandler<DisableArchivingRequest,DisableArchivingResponse> handler)
LogAnalyticsAsync
This API disables archiving.
disableArchiving
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableAutoAssociationResponse> disableAutoAssociation(DisableAutoAssociationRequest request, AsyncHandler<DisableAutoAssociationRequest,DisableAutoAssociationResponse> handler)
LogAnalyticsAsync
Disables auto association for a log source. In the future, this log source would not be automatically associated with any entity that becomes eligible for association. In addition, you may also optionally remove all existing associations for this log source.
disableAutoAssociation
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableIngestTimeRuleResponse> disableIngestTimeRule(DisableIngestTimeRuleRequest request, AsyncHandler<DisableIngestTimeRuleRequest,DisableIngestTimeRuleResponse> handler)
LogAnalyticsAsync
Disables the specified ingest time rule.
disableIngestTimeRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableSourceEventTypesResponse> disableSourceEventTypes(DisableSourceEventTypesRequest request, AsyncHandler<DisableSourceEventTypesRequest,DisableSourceEventTypesResponse> handler)
LogAnalyticsAsync
Disable one or more event types in a source.
disableSourceEventTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableArchivingResponse> enableArchiving(EnableArchivingRequest request, AsyncHandler<EnableArchivingRequest,EnableArchivingResponse> handler)
LogAnalyticsAsync
THis API enables archiving.
enableArchiving
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableAutoAssociationResponse> enableAutoAssociation(EnableAutoAssociationRequest request, AsyncHandler<EnableAutoAssociationRequest,EnableAutoAssociationResponse> handler)
LogAnalyticsAsync
Enables auto association for a log source. This would initiate immediate association of the source to any eligible entities it is not already associated with, and would also ensure the log source gets associated with entities that are added or become eligible in the future.
enableAutoAssociation
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableIngestTimeRuleResponse> enableIngestTimeRule(EnableIngestTimeRuleRequest request, AsyncHandler<EnableIngestTimeRuleRequest,EnableIngestTimeRuleResponse> handler)
LogAnalyticsAsync
Enables the specified ingest time rule.
enableIngestTimeRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableSourceEventTypesResponse> enableSourceEventTypes(EnableSourceEventTypesRequest request, AsyncHandler<EnableSourceEventTypesRequest,EnableSourceEventTypesResponse> handler)
LogAnalyticsAsync
Enable one or more event types in a source. An event type and version can be enabled only in one source.
enableSourceEventTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EstimatePurgeDataSizeResponse> estimatePurgeDataSize(EstimatePurgeDataSizeRequest request, AsyncHandler<EstimatePurgeDataSizeRequest,EstimatePurgeDataSizeResponse> handler)
LogAnalyticsAsync
This API estimates the size of data to be purged based based on time interval, purge query etc.
estimatePurgeDataSize
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EstimateRecallDataSizeResponse> estimateRecallDataSize(EstimateRecallDataSizeRequest request, AsyncHandler<EstimateRecallDataSizeRequest,EstimateRecallDataSizeResponse> handler)
LogAnalyticsAsync
This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.
estimateRecallDataSize
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EstimateReleaseDataSizeResponse> estimateReleaseDataSize(EstimateReleaseDataSizeRequest request, AsyncHandler<EstimateReleaseDataSizeRequest,EstimateReleaseDataSizeResponse> handler)
LogAnalyticsAsync
This API gives an active storage usage estimate for recalled data to be released and the time range of such data.
estimateReleaseDataSize
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExportCustomContentResponse> exportCustomContent(ExportCustomContentRequest request, AsyncHandler<ExportCustomContentRequest,ExportCustomContentResponse> handler)
LogAnalyticsAsync
Exports all custom details of the specified sources, parsers, fields and labels, in zip format.
exportCustomContent
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExportQueryResultResponse> exportQueryResult(ExportQueryResultRequest request, AsyncHandler<ExportQueryResultRequest,ExportQueryResultResponse> handler)
LogAnalyticsAsync
Export data based on query. Endpoint returns a stream of data. Endpoint is synchronous. Queries must deliver first result within 60 seconds or calls are subject to timeout.
exportQueryResult
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExtractStructuredLogFieldPathsResponse> extractStructuredLogFieldPaths(ExtractStructuredLogFieldPathsRequest request, AsyncHandler<ExtractStructuredLogFieldPathsRequest,ExtractStructuredLogFieldPathsResponse> handler)
LogAnalyticsAsync
Extracts the field paths from the example json or xml content.
extractStructuredLogFieldPaths
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExtractStructuredLogHeaderPathsResponse> extractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request, AsyncHandler<ExtractStructuredLogHeaderPathsRequest,ExtractStructuredLogHeaderPathsResponse> handler)
LogAnalyticsAsync
Extracts the header paths from the example json or xml content.
extractStructuredLogHeaderPaths
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<FilterResponse> filter(FilterRequest request, AsyncHandler<FilterRequest,FilterResponse> handler)
LogAnalyticsAsync
Each filter specifies an operator, a field and one or more values to be inserted into the provided query as criteria.
filter
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAssociationSummaryResponse> getAssociationSummary(GetAssociationSummaryRequest request, AsyncHandler<GetAssociationSummaryRequest,GetAssociationSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of source associations for entities in the specified compartment.
getAssociationSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCategoryResponse> getCategory(GetCategoryRequest request, AsyncHandler<GetCategoryRequest,GetCategoryResponse> handler)
LogAnalyticsAsync
Gets detailed information about the category with the specified name.
getCategory
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetColumnNamesResponse> getColumnNames(GetColumnNamesRequest request, AsyncHandler<GetColumnNamesRequest,GetColumnNamesResponse> handler)
LogAnalyticsAsync
Extracts column names from the input SQL query.
getColumnNames
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetConfigWorkRequestResponse> getConfigWorkRequest(GetConfigWorkRequestRequest request, AsyncHandler<GetConfigWorkRequestRequest,GetConfigWorkRequestResponse> handler)
LogAnalyticsAsync
Returns detailed information about the configuration work request with the specified id.
getConfigWorkRequest
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFieldResponse> getField(GetFieldRequest request, AsyncHandler<GetFieldRequest,GetFieldResponse> handler)
LogAnalyticsAsync
Gets detailed information about the field with the specified name.
getField
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFieldsSummaryResponse> getFieldsSummary(GetFieldsSummaryRequest request, AsyncHandler<GetFieldsSummaryRequest,GetFieldsSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of fields. You may optionally specify isShowDetail=true to view a summary of each field data type.
getFieldsSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetIngestTimeRuleResponse> getIngestTimeRule(GetIngestTimeRuleRequest request, AsyncHandler<GetIngestTimeRuleRequest,GetIngestTimeRuleResponse> handler)
LogAnalyticsAsync
Gets detailed information about the specified ingest time rule such as description, defined tags, and free-form tags.
getIngestTimeRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLabelResponse> getLabel(GetLabelRequest request, AsyncHandler<GetLabelRequest,GetLabelResponse> handler)
LogAnalyticsAsync
Gets detailed information about the label with the specified name.
getLabel
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLabelSummaryResponse> getLabelSummary(GetLabelSummaryRequest request, AsyncHandler<GetLabelSummaryRequest,GetLabelSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of labels.
getLabelSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsEmBridgeResponse> getLogAnalyticsEmBridge(GetLogAnalyticsEmBridgeRequest request, AsyncHandler<GetLogAnalyticsEmBridgeRequest,GetLogAnalyticsEmBridgeResponse> handler)
LogAnalyticsAsync
Retrieve the log analytics enterprise manager bridge with the given id.
getLogAnalyticsEmBridge
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsEmBridgeSummaryResponse> getLogAnalyticsEmBridgeSummary(GetLogAnalyticsEmBridgeSummaryRequest request, AsyncHandler<GetLogAnalyticsEmBridgeSummaryRequest,GetLogAnalyticsEmBridgeSummaryResponse> handler)
LogAnalyticsAsync
Returns log analytics enterprise manager bridges summary report.
getLogAnalyticsEmBridgeSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsEntitiesSummaryResponse> getLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryRequest request, AsyncHandler<GetLogAnalyticsEntitiesSummaryRequest,GetLogAnalyticsEntitiesSummaryResponse> handler)
LogAnalyticsAsync
Returns log analytics entities count summary report.
getLogAnalyticsEntitiesSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsEntityResponse> getLogAnalyticsEntity(GetLogAnalyticsEntityRequest request, AsyncHandler<GetLogAnalyticsEntityRequest,GetLogAnalyticsEntityResponse> handler)
LogAnalyticsAsync
Retrieve the log analytics entity with the given id.
getLogAnalyticsEntity
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsEntityTypeResponse> getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeRequest request, AsyncHandler<GetLogAnalyticsEntityTypeRequest,GetLogAnalyticsEntityTypeResponse> handler)
LogAnalyticsAsync
Retrieve the log analytics entity type with the given name.
getLogAnalyticsEntityType
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsLogGroupResponse> getLogAnalyticsLogGroup(GetLogAnalyticsLogGroupRequest request, AsyncHandler<GetLogAnalyticsLogGroupRequest,GetLogAnalyticsLogGroupResponse> handler)
LogAnalyticsAsync
Gets detailed information about the specified log group such as display name, description, defined tags, and free-form tags.
getLogAnalyticsLogGroup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsLogGroupsSummaryResponse> getLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request, AsyncHandler<GetLogAnalyticsLogGroupsSummaryRequest,GetLogAnalyticsLogGroupsSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of log groups in a compartment.
getLogAnalyticsLogGroupsSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogAnalyticsObjectCollectionRuleResponse> getLogAnalyticsObjectCollectionRule(GetLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<GetLogAnalyticsObjectCollectionRuleRequest,GetLogAnalyticsObjectCollectionRuleResponse> handler)
LogAnalyticsAsync
Gets a configured object storage based collection rule by given id
getLogAnalyticsObjectCollectionRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLogSetsCountResponse> getLogSetsCount(GetLogSetsCountRequest request, AsyncHandler<GetLogSetsCountRequest,GetLogSetsCountResponse> handler)
LogAnalyticsAsync
This API returns the count of distinct log sets.
getLogSetsCount
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLookupResponse> getLookup(GetLookupRequest request, AsyncHandler<GetLookupRequest,GetLookupResponse> handler)
LogAnalyticsAsync
Gets detailed information about the lookup with the specified name.
getLookup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLookupSummaryResponse> getLookupSummary(GetLookupSummaryRequest request, AsyncHandler<GetLookupSummaryRequest,GetLookupSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of user created and oracle defined lookups.
getLookupSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNamespaceResponse> getNamespace(GetNamespaceRequest request, AsyncHandler<GetNamespaceRequest,GetNamespaceResponse> handler)
LogAnalyticsAsync
This API gets the namespace details of a tenancy already onboarded in Logging Analytics Application
getNamespace
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetParserResponse> getParser(GetParserRequest request, AsyncHandler<GetParserRequest,GetParserResponse> handler)
LogAnalyticsAsync
Gets detailed information about the parser with the specified name.
getParser
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetParserSummaryResponse> getParserSummary(GetParserSummaryRequest request, AsyncHandler<GetParserSummaryRequest,GetParserSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of parsers.
getParserSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPreferencesResponse> getPreferences(GetPreferencesRequest request, AsyncHandler<GetPreferencesRequest,GetPreferencesResponse> handler)
LogAnalyticsAsync
Lists the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
getPreferences
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetQueryResultResponse> getQueryResult(GetQueryResultRequest request, AsyncHandler<GetQueryResultRequest,GetQueryResultResponse> handler)
LogAnalyticsAsync
Returns the intermediate results for a query that was specified to run asynchronously if the query has not completed, otherwise the final query results identified by a queryWorkRequestId returned when submitting the query execute asynchronously.
getQueryResult
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetQueryWorkRequestResponse> getQueryWorkRequest(GetQueryWorkRequestRequest request, AsyncHandler<GetQueryWorkRequestRequest,GetQueryWorkRequestResponse> handler)
LogAnalyticsAsync
Retrieve work request details by workRequestId. This endpoint can be polled for status tracking of work request. Clients should poll using the interval returned in the retry-after header.
getQueryWorkRequest
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetRecallCountResponse> getRecallCount(GetRecallCountRequest request, AsyncHandler<GetRecallCountRequest,GetRecallCountResponse> handler)
LogAnalyticsAsync
This API gets the number of recalls made and the maximum recalls that can be made
getRecallCount
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetRecalledDataSizeResponse> getRecalledDataSize(GetRecalledDataSizeRequest request, AsyncHandler<GetRecalledDataSizeRequest,GetRecalledDataSizeResponse> handler)
LogAnalyticsAsync
This API gets the datasize of recalls for a given timeframe
getRecalledDataSize
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetRulesSummaryResponse> getRulesSummary(GetRulesSummaryRequest request, AsyncHandler<GetRulesSummaryRequest,GetRulesSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of detection rules in a compartment.
getRulesSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetScheduledTaskResponse> getScheduledTask(GetScheduledTaskRequest request, AsyncHandler<GetScheduledTaskRequest,GetScheduledTaskResponse> handler)
LogAnalyticsAsync
Get the scheduled task for the specified task identifier.
getScheduledTask
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSourceResponse> getSource(GetSourceRequest request, AsyncHandler<GetSourceRequest,GetSourceResponse> handler)
LogAnalyticsAsync
Gets detailed information about the source with the specified name.
getSource
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSourceSummaryResponse> getSourceSummary(GetSourceSummaryRequest request, AsyncHandler<GetSourceSummaryRequest,GetSourceSummaryResponse> handler)
LogAnalyticsAsync
Returns the count of sources.
getSourceSummary
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetStorageResponse> getStorage(GetStorageRequest request, AsyncHandler<GetStorageRequest,GetStorageResponse> handler)
LogAnalyticsAsync
This API gets the storage configuration of a tenancy
getStorage
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetStorageUsageResponse> getStorageUsage(GetStorageUsageRequest request, AsyncHandler<GetStorageUsageRequest,GetStorageUsageResponse> handler)
LogAnalyticsAsync
This API gets storage usage information of a tenancy. Storage usage information includes active, archived or recalled data. The unit of return data is in bytes.
getStorageUsage
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetStorageWorkRequestResponse> getStorageWorkRequest(GetStorageWorkRequestRequest request, AsyncHandler<GetStorageWorkRequestRequest,GetStorageWorkRequestResponse> handler)
LogAnalyticsAsync
This API returns work request details specified by {workRequestId}. This API can be polled for status tracking of work request. Clients should poll using the interval returned in retry-after header.
getStorageWorkRequest
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetUnprocessedDataBucketResponse> getUnprocessedDataBucket(GetUnprocessedDataBucketRequest request, AsyncHandler<GetUnprocessedDataBucketRequest,GetUnprocessedDataBucketResponse> handler)
LogAnalyticsAsync
This API retrieves details of the configured bucket that stores unprocessed payloads.
getUnprocessedDataBucket
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetUploadResponse> getUpload(GetUploadRequest request, AsyncHandler<GetUploadRequest,GetUploadResponse> handler)
LogAnalyticsAsync
Gets an On-Demand Upload info by reference.
getUpload
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
LogAnalyticsAsync
Gets the status of the work request with the given ID.
getWorkRequest
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ImportCustomContentResponse> importCustomContent(ImportCustomContentRequest request, AsyncHandler<ImportCustomContentRequest,ImportCustomContentResponse> handler)
LogAnalyticsAsync
Imports the specified custom content from the input in zip format.
importCustomContent
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAssociableEntitiesResponse> listAssociableEntities(ListAssociableEntitiesRequest request, AsyncHandler<ListAssociableEntitiesRequest,ListAssociableEntitiesResponse> handler)
LogAnalyticsAsync
Lists the entities in the specified compartment which are (in)eligible for association with this source.
listAssociableEntities
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAssociatedEntitiesResponse> listAssociatedEntities(ListAssociatedEntitiesRequest request, AsyncHandler<ListAssociatedEntitiesRequest,ListAssociatedEntitiesResponse> handler)
LogAnalyticsAsync
Lists the association details of entities in the specified compartment that are associated with at least one source.
listAssociatedEntities
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAutoAssociationsResponse> listAutoAssociations(ListAutoAssociationsRequest request, AsyncHandler<ListAutoAssociationsRequest,ListAutoAssociationsResponse> handler)
LogAnalyticsAsync
Gets information related to auto association for the source with the specified name.
listAutoAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCategoriesResponse> listCategories(ListCategoriesRequest request, AsyncHandler<ListCategoriesRequest,ListCategoriesResponse> handler)
LogAnalyticsAsync
Returns a list of categories, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as category name or description.
listCategories
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListConfigWorkRequestsResponse> listConfigWorkRequests(ListConfigWorkRequestsRequest request, AsyncHandler<ListConfigWorkRequestsRequest,ListConfigWorkRequestsResponse> handler)
LogAnalyticsAsync
Returns the list of configuration work requests such as association or lookup operations, containing detailed information about them. You may paginate or limit the number of results.
listConfigWorkRequests
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListEffectivePropertiesResponse> listEffectiveProperties(ListEffectivePropertiesRequest request, AsyncHandler<ListEffectivePropertiesRequest,ListEffectivePropertiesResponse> handler)
LogAnalyticsAsync
Returns a list of effective properties for the specified resource.
listEffectiveProperties
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListEncryptionKeyInfoResponse> listEncryptionKeyInfo(ListEncryptionKeyInfoRequest request, AsyncHandler<ListEncryptionKeyInfoRequest,ListEncryptionKeyInfoResponse> handler)
LogAnalyticsAsync
This API returns the list of customer owned encryption key info.
listEncryptionKeyInfo
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListEntityAssociationsResponse> listEntityAssociations(ListEntityAssociationsRequest request, AsyncHandler<ListEntityAssociationsRequest,ListEntityAssociationsResponse> handler)
LogAnalyticsAsync
Return a list of log analytics entities associated with input source log analytics entity.
listEntityAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListEntitySourceAssociationsResponse> listEntitySourceAssociations(ListEntitySourceAssociationsRequest request, AsyncHandler<ListEntitySourceAssociationsRequest,ListEntitySourceAssociationsResponse> handler)
LogAnalyticsAsync
Returns the list of source associations for the specified entity.
listEntitySourceAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFieldsResponse> listFields(ListFieldsRequest request, AsyncHandler<ListFieldsRequest,ListFieldsResponse> handler)
LogAnalyticsAsync
Returns a list of log fields, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by specifying various options including parser and source names.
listFields
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListIngestTimeRulesResponse> listIngestTimeRules(ListIngestTimeRulesRequest request, AsyncHandler<ListIngestTimeRulesRequest,ListIngestTimeRulesResponse> handler)
LogAnalyticsAsync
Returns a list of ingest time rules in a compartment. You may limit the number of rules, provide sorting options, and filter the results.
listIngestTimeRules
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLabelPrioritiesResponse> listLabelPriorities(ListLabelPrioritiesRequest request, AsyncHandler<ListLabelPrioritiesRequest,ListLabelPrioritiesResponse> handler)
LogAnalyticsAsync
Lists the available problem priorities that could be associated with a label.
listLabelPriorities
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLabelSourceDetailsResponse> listLabelSourceDetails(ListLabelSourceDetailsRequest request, AsyncHandler<ListLabelSourceDetailsRequest,ListLabelSourceDetailsResponse> handler)
LogAnalyticsAsync
Lists sources using the label, along with configuration details like base field, operator and condition.
listLabelSourceDetails
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLabelsResponse> listLabels(ListLabelsRequest request, AsyncHandler<ListLabelsRequest,ListLabelsResponse> handler)
LogAnalyticsAsync
Returns a list of labels, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as label name, display name, description and priority.
listLabels
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogAnalyticsEmBridgesResponse> listLogAnalyticsEmBridges(ListLogAnalyticsEmBridgesRequest request, AsyncHandler<ListLogAnalyticsEmBridgesRequest,ListLogAnalyticsEmBridgesResponse> handler)
LogAnalyticsAsync
Return a list of log analytics enterprise manager bridges.
listLogAnalyticsEmBridges
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogAnalyticsEntitiesResponse> listLogAnalyticsEntities(ListLogAnalyticsEntitiesRequest request, AsyncHandler<ListLogAnalyticsEntitiesRequest,ListLogAnalyticsEntitiesResponse> handler)
LogAnalyticsAsync
Return a list of log analytics entities.
listLogAnalyticsEntities
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogAnalyticsEntityTopologyResponse> listLogAnalyticsEntityTopology(ListLogAnalyticsEntityTopologyRequest request, AsyncHandler<ListLogAnalyticsEntityTopologyRequest,ListLogAnalyticsEntityTopologyResponse> handler)
LogAnalyticsAsync
Return a log analytics entity topology collection that contains a set of log analytics entities and a set of relationships between those, for the input source entity.
listLogAnalyticsEntityTopology
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogAnalyticsEntityTypesResponse> listLogAnalyticsEntityTypes(ListLogAnalyticsEntityTypesRequest request, AsyncHandler<ListLogAnalyticsEntityTypesRequest,ListLogAnalyticsEntityTypesResponse> handler)
LogAnalyticsAsync
Return a list of log analytics entity types.
listLogAnalyticsEntityTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogAnalyticsLogGroupsResponse> listLogAnalyticsLogGroups(ListLogAnalyticsLogGroupsRequest request, AsyncHandler<ListLogAnalyticsLogGroupsRequest,ListLogAnalyticsLogGroupsResponse> handler)
LogAnalyticsAsync
Returns a list of log groups in a compartment. You may limit the number of log groups, provide sorting options, and filter the results by specifying a display name.
listLogAnalyticsLogGroups
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogAnalyticsObjectCollectionRulesResponse> listLogAnalyticsObjectCollectionRules(ListLogAnalyticsObjectCollectionRulesRequest request, AsyncHandler<ListLogAnalyticsObjectCollectionRulesRequest,ListLogAnalyticsObjectCollectionRulesResponse> handler)
LogAnalyticsAsync
Gets list of collection rules.
listLogAnalyticsObjectCollectionRules
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLogSetsResponse> listLogSets(ListLogSetsRequest request, AsyncHandler<ListLogSetsRequest,ListLogSetsResponse> handler)
LogAnalyticsAsync
This API returns a list of log sets.
listLogSets
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLookupsResponse> listLookups(ListLookupsRequest request, AsyncHandler<ListLookupsRequest,ListLookupsResponse> handler)
LogAnalyticsAsync
Returns a list of lookups, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as lookup name, description and type.
listLookups
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMetaSourceTypesResponse> listMetaSourceTypes(ListMetaSourceTypesRequest request, AsyncHandler<ListMetaSourceTypesRequest,ListMetaSourceTypesResponse> handler)
LogAnalyticsAsync
Lists the types of log sources supported.
listMetaSourceTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNamespacesResponse> listNamespaces(ListNamespacesRequest request, AsyncHandler<ListNamespacesRequest,ListNamespacesResponse> handler)
LogAnalyticsAsync
Given a tenancy OCID, this API returns the namespace of the tenancy if it is valid and subscribed to the region. The result also indicates if the tenancy is onboarded with Logging Analytics.
listNamespaces
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListOverlappingRecallsResponse> listOverlappingRecalls(ListOverlappingRecallsRequest request, AsyncHandler<ListOverlappingRecallsRequest,ListOverlappingRecallsResponse> handler)
LogAnalyticsAsync
This API gets the list of overlapping recalls made in the given timeframe
listOverlappingRecalls
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListParserFunctionsResponse> listParserFunctions(ListParserFunctionsRequest request, AsyncHandler<ListParserFunctionsRequest,ListParserFunctionsResponse> handler)
LogAnalyticsAsync
Lists the parser functions defined for the specified parser.
listParserFunctions
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListParserMetaPluginsResponse> listParserMetaPlugins(ListParserMetaPluginsRequest request, AsyncHandler<ListParserMetaPluginsRequest,ListParserMetaPluginsResponse> handler)
LogAnalyticsAsync
Lists the parser meta plugins available for defining parser functions.
listParserMetaPlugins
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListParsersResponse> listParsers(ListParsersRequest request, AsyncHandler<ListParsersRequest,ListParsersResponse> handler)
LogAnalyticsAsync
Returns a list of parsers, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as parser name, type, display name and description.
listParsers
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPropertiesMetadataResponse> listPropertiesMetadata(ListPropertiesMetadataRequest request, AsyncHandler<ListPropertiesMetadataRequest,ListPropertiesMetadataResponse> handler)
LogAnalyticsAsync
Returns a list of properties along with their metadata.
listPropertiesMetadata
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListQueryWorkRequestsResponse> listQueryWorkRequests(ListQueryWorkRequestsRequest request, AsyncHandler<ListQueryWorkRequestsRequest,ListQueryWorkRequestsResponse> handler)
LogAnalyticsAsync
List active asynchronous queries.
listQueryWorkRequests
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRecalledDataResponse> listRecalledData(ListRecalledDataRequest request, AsyncHandler<ListRecalledDataRequest,ListRecalledDataResponse> handler)
LogAnalyticsAsync
This API returns the list of recalled data of a tenancy.
listRecalledData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourceCategoriesResponse> listResourceCategories(ListResourceCategoriesRequest request, AsyncHandler<ListResourceCategoriesRequest,ListResourceCategoriesResponse> handler)
LogAnalyticsAsync
Returns a list of resources and their category assignments. You may limit the number of results, provide sorting order, and filter by information such as resource type.
listResourceCategories
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRulesResponse> listRules(ListRulesRequest request, AsyncHandler<ListRulesRequest,ListRulesResponse> handler)
LogAnalyticsAsync
Returns a list of ingest time rules and scheduled tasks in a compartment. You may limit the number of items returned, provide sorting options, and filter the results.
listRules
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListScheduledTasksResponse> listScheduledTasks(ListScheduledTasksRequest request, AsyncHandler<ListScheduledTasksRequest,ListScheduledTasksResponse> handler)
LogAnalyticsAsync
Lists scheduled tasks.
listScheduledTasks
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourceAssociationsResponse> listSourceAssociations(ListSourceAssociationsRequest request, AsyncHandler<ListSourceAssociationsRequest,ListSourceAssociationsResponse> handler)
LogAnalyticsAsync
Returns the list of entity associations in the input compartment for the specified source.
listSourceAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourceEventTypesResponse> listSourceEventTypes(ListSourceEventTypesRequest request, AsyncHandler<ListSourceEventTypesRequest,ListSourceEventTypesResponse> handler)
LogAnalyticsAsync
Lists the event types mapped to the source with the specified name. The event type string could be the fully qualified name or a prefix that matches the event type.
listSourceEventTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourceExtendedFieldDefinitionsResponse> listSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request, AsyncHandler<ListSourceExtendedFieldDefinitionsRequest,ListSourceExtendedFieldDefinitionsResponse> handler)
LogAnalyticsAsync
Lists the extended field definitions for the source with the specified name.
listSourceExtendedFieldDefinitions
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourceLabelOperatorsResponse> listSourceLabelOperators(ListSourceLabelOperatorsRequest request, AsyncHandler<ListSourceLabelOperatorsRequest,ListSourceLabelOperatorsResponse> handler)
LogAnalyticsAsync
Lists the supported conditional operators that could be used for matching log field values to generate a label. You may use patterns to specify a condition. If a log entry matches that condition, it is tagged with the corresponding label.
listSourceLabelOperators
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourceMetaFunctionsResponse> listSourceMetaFunctions(ListSourceMetaFunctionsRequest request, AsyncHandler<ListSourceMetaFunctionsRequest,ListSourceMetaFunctionsResponse> handler)
LogAnalyticsAsync
Lists the functions that could be used to enrich log entries based on meaningful information extracted from the log fields.
listSourceMetaFunctions
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourcePatternsResponse> listSourcePatterns(ListSourcePatternsRequest request, AsyncHandler<ListSourcePatternsRequest,ListSourcePatternsResponse> handler)
LogAnalyticsAsync
Lists the source patterns for the source with the specified name.
listSourcePatterns
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSourcesResponse> listSources(ListSourcesRequest request, AsyncHandler<ListSourcesRequest,ListSourcesResponse> handler)
LogAnalyticsAsync
Returns a list of sources, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as display name, description and entity type.
listSources
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListStorageWorkRequestErrorsResponse> listStorageWorkRequestErrors(ListStorageWorkRequestErrorsRequest request, AsyncHandler<ListStorageWorkRequestErrorsRequest,ListStorageWorkRequestErrorsResponse> handler)
LogAnalyticsAsync
This API returns the list of work request errors if any.
listStorageWorkRequestErrors
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListStorageWorkRequestsResponse> listStorageWorkRequests(ListStorageWorkRequestsRequest request, AsyncHandler<ListStorageWorkRequestsRequest,ListStorageWorkRequestsResponse> handler)
LogAnalyticsAsync
This API lists storage work requests. Use query parameters to narrow down or sort the result list.
listStorageWorkRequests
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSupportedCharEncodingsResponse> listSupportedCharEncodings(ListSupportedCharEncodingsRequest request, AsyncHandler<ListSupportedCharEncodingsRequest,ListSupportedCharEncodingsResponse> handler)
LogAnalyticsAsync
Gets list of character encodings which are supported by on-demand upload.
listSupportedCharEncodings
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSupportedTimezonesResponse> listSupportedTimezones(ListSupportedTimezonesRequest request, AsyncHandler<ListSupportedTimezonesRequest,ListSupportedTimezonesResponse> handler)
LogAnalyticsAsync
Gets list of timezones which are supported by on-demand upload.
listSupportedTimezones
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUploadFilesResponse> listUploadFiles(ListUploadFilesRequest request, AsyncHandler<ListUploadFilesRequest,ListUploadFilesResponse> handler)
LogAnalyticsAsync
Gets list of files in an upload along with its processing state.
listUploadFiles
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUploadWarningsResponse> listUploadWarnings(ListUploadWarningsRequest request, AsyncHandler<ListUploadWarningsRequest,ListUploadWarningsResponse> handler)
LogAnalyticsAsync
Gets list of warnings in an upload caused by incorrect configuration.
listUploadWarnings
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUploadsResponse> listUploads(ListUploadsRequest request, AsyncHandler<ListUploadsRequest,ListUploadsResponse> handler)
LogAnalyticsAsync
Gets a list of all On-demand uploads. To use this and other API operations, you must be authorized in an IAM policy.
listUploads
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWarningsResponse> listWarnings(ListWarningsRequest request, AsyncHandler<ListWarningsRequest,ListWarningsResponse> handler)
LogAnalyticsAsync
Returns a list of collection warnings, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as start time, end time, warning type, warning state, source name, source pattern and entity name.
listWarnings
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
LogAnalyticsAsync
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
LogAnalyticsAsync
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
LogAnalyticsAsync
Lists the work requests in a compartment.
listWorkRequests
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<OffboardNamespaceResponse> offboardNamespace(OffboardNamespaceRequest request, AsyncHandler<OffboardNamespaceRequest,OffboardNamespaceResponse> handler)
LogAnalyticsAsync
Off-boards a tenant from Logging Analytics
offboardNamespace
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<OnboardNamespaceResponse> onboardNamespace(OnboardNamespaceRequest request, AsyncHandler<OnboardNamespaceRequest,OnboardNamespaceResponse> handler)
LogAnalyticsAsync
On-boards a tenant to Logging Analytics.
onboardNamespace
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ParseQueryResponse> parseQuery(ParseQueryRequest request, AsyncHandler<ParseQueryRequest,ParseQueryResponse> handler)
LogAnalyticsAsync
Describe query
parseQuery
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PauseScheduledTaskResponse> pauseScheduledTask(PauseScheduledTaskRequest request, AsyncHandler<PauseScheduledTaskRequest,PauseScheduledTaskResponse> handler)
LogAnalyticsAsync
Pause the scheduled task specified by {scheduledTaskId}.
pauseScheduledTask
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PurgeStorageDataResponse> purgeStorageData(PurgeStorageDataRequest request, AsyncHandler<PurgeStorageDataRequest,PurgeStorageDataResponse> handler)
LogAnalyticsAsync
This API submits a work request to purge data. Only data from log groups that the user has permission to delete will be purged. To purge all data, the user must have permission to all log groups.
purgeStorageData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PutQueryWorkRequestBackgroundResponse> putQueryWorkRequestBackground(PutQueryWorkRequestBackgroundRequest request, AsyncHandler<PutQueryWorkRequestBackgroundRequest,PutQueryWorkRequestBackgroundResponse> handler)
LogAnalyticsAsync
Put the work request specified by {workRequestId} into the background. Backgrounded queries will preserve query results on query completion for up to 7 days for recall. After 7 days the results and query expire.
putQueryWorkRequestBackground
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<QueryResponse> query(QueryRequest request, AsyncHandler<QueryRequest,QueryResponse> handler)
LogAnalyticsAsync
Performs a log analytics search, if shouldRunAsync is false returns the query results once they become available subject to 60 second timeout. If a query is subject to exceed that time then it should be run asynchronously. Asynchronous query submissions return the queryWorkRequestId to use for execution tracking, query submission lifecycle actions and to poll for query results.
query
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RecallArchivedDataResponse> recallArchivedData(RecallArchivedDataRequest request, AsyncHandler<RecallArchivedDataRequest,RecallArchivedDataResponse> handler)
LogAnalyticsAsync
This API submits a work request to recall archived data based on time interval and data type.
recallArchivedData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RegisterLookupResponse> registerLookup(RegisterLookupRequest request, AsyncHandler<RegisterLookupRequest,RegisterLookupResponse> handler)
LogAnalyticsAsync
Creates a lookup with the specified name, type and description. The csv file containing the lookup content is passed in as binary data in the request.
registerLookup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ReleaseRecalledDataResponse> releaseRecalledData(ReleaseRecalledDataRequest request, AsyncHandler<ReleaseRecalledDataRequest,ReleaseRecalledDataResponse> handler)
LogAnalyticsAsync
This API submits a work request to release recalled data based on time interval and data type.
releaseRecalledData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveEntityAssociationsResponse> removeEntityAssociations(RemoveEntityAssociationsRequest request, AsyncHandler<RemoveEntityAssociationsRequest,RemoveEntityAssociationsResponse> handler)
LogAnalyticsAsync
Delete association between input source log analytics entity and destination entities.
removeEntityAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemovePreferencesResponse> removePreferences(RemovePreferencesRequest request, AsyncHandler<RemovePreferencesRequest,RemovePreferencesResponse> handler)
LogAnalyticsAsync
Removes the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
removePreferences
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveResourceCategoriesResponse> removeResourceCategories(RemoveResourceCategoriesRequest request, AsyncHandler<RemoveResourceCategoriesRequest,RemoveResourceCategoriesResponse> handler)
LogAnalyticsAsync
Removes the category assignments of DASHBOARD and SAVEDSEARCH resources.
removeResourceCategories
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveSourceEventTypesResponse> removeSourceEventTypes(RemoveSourceEventTypesRequest request, AsyncHandler<RemoveSourceEventTypesRequest,RemoveSourceEventTypesResponse> handler)
LogAnalyticsAsync
Remove one or more event types from a source.
removeSourceEventTypes
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResumeScheduledTaskResponse> resumeScheduledTask(ResumeScheduledTaskRequest request, AsyncHandler<ResumeScheduledTaskRequest,ResumeScheduledTaskResponse> handler)
LogAnalyticsAsync
Resume the scheduled task specified by {scheduledTaskId}.
resumeScheduledTask
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RunResponse> run(RunRequest request, AsyncHandler<RunRequest,RunResponse> handler)
LogAnalyticsAsync
Execute the saved search acceleration task in the foreground. The ScheduledTask taskType must be ACCELERATION. Optionally specify time range (timeStart and timeEnd). The default is all time.
run
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SetUnprocessedDataBucketResponse> setUnprocessedDataBucket(SetUnprocessedDataBucketRequest request, AsyncHandler<SetUnprocessedDataBucketRequest,SetUnprocessedDataBucketResponse> handler)
LogAnalyticsAsync
This API configures a bucket to store unprocessed payloads. While processing there could be reasons a payload cannot be processed (mismatched structure, corrupted archive format, etc), if configured the payload would be uploaded to the bucket for verification.
setUnprocessedDataBucket
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SuggestResponse> suggest(SuggestRequest request, AsyncHandler<SuggestRequest,SuggestResponse> handler)
LogAnalyticsAsync
Returns a context specific list of either commands, fields, or values to append to the end of the specified query string if applicable.
suggest
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SuppressWarningResponse> suppressWarning(SuppressWarningRequest request, AsyncHandler<SuppressWarningRequest,SuppressWarningResponse> handler)
LogAnalyticsAsync
Supresses a list of warnings. Any unsuppressed warnings in the input list would be suppressed. Warnings in the input list which are already suppressed will not be modified.
suppressWarning
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<TestParserResponse> testParser(TestParserRequest request, AsyncHandler<TestParserRequest,TestParserResponse> handler)
LogAnalyticsAsync
Tests the parser definition against the specified example content to ensure fields are successfully extracted.
testParser
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UnsuppressWarningResponse> unsuppressWarning(UnsuppressWarningRequest request, AsyncHandler<UnsuppressWarningRequest,UnsuppressWarningResponse> handler)
LogAnalyticsAsync
Unsupresses a list of warnings. Any suppressed warnings in the input list would be unsuppressed. Warnings in the input list which are already unsuppressed will not be modified.
unsuppressWarning
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateIngestTimeRuleResponse> updateIngestTimeRule(UpdateIngestTimeRuleRequest request, AsyncHandler<UpdateIngestTimeRuleRequest,UpdateIngestTimeRuleResponse> handler)
LogAnalyticsAsync
Updates the specified ingest time rule’s description, defined tags, and free-form tags.
updateIngestTimeRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLogAnalyticsEmBridgeResponse> updateLogAnalyticsEmBridge(UpdateLogAnalyticsEmBridgeRequest request, AsyncHandler<UpdateLogAnalyticsEmBridgeRequest,UpdateLogAnalyticsEmBridgeResponse> handler)
LogAnalyticsAsync
Update log analytics enterprise manager bridge with the given id.
updateLogAnalyticsEmBridge
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLogAnalyticsEntityResponse> updateLogAnalyticsEntity(UpdateLogAnalyticsEntityRequest request, AsyncHandler<UpdateLogAnalyticsEntityRequest,UpdateLogAnalyticsEntityResponse> handler)
LogAnalyticsAsync
Update the log analytics entity with the given id.
updateLogAnalyticsEntity
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLogAnalyticsEntityTypeResponse> updateLogAnalyticsEntityType(UpdateLogAnalyticsEntityTypeRequest request, AsyncHandler<UpdateLogAnalyticsEntityTypeRequest,UpdateLogAnalyticsEntityTypeResponse> handler)
LogAnalyticsAsync
Update custom log analytics entity type. Out of box entity types cannot be udpated.
updateLogAnalyticsEntityType
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLogAnalyticsLogGroupResponse> updateLogAnalyticsLogGroup(UpdateLogAnalyticsLogGroupRequest request, AsyncHandler<UpdateLogAnalyticsLogGroupRequest,UpdateLogAnalyticsLogGroupResponse> handler)
LogAnalyticsAsync
Updates the specified log group’s display name, description, defined tags, and free-form tags.
updateLogAnalyticsLogGroup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLogAnalyticsObjectCollectionRuleResponse> updateLogAnalyticsObjectCollectionRule(UpdateLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<UpdateLogAnalyticsObjectCollectionRuleRequest,UpdateLogAnalyticsObjectCollectionRuleResponse> handler)
LogAnalyticsAsync
Updates configuration of the object collection rule for the given id.
updateLogAnalyticsObjectCollectionRule
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLookupResponse> updateLookup(UpdateLookupRequest request, AsyncHandler<UpdateLookupRequest,UpdateLookupResponse> handler)
LogAnalyticsAsync
Updates the metadata of the specified lookup, such as the lookup description.
updateLookup
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLookupDataResponse> updateLookupData(UpdateLookupDataRequest request, AsyncHandler<UpdateLookupDataRequest,UpdateLookupDataResponse> handler)
LogAnalyticsAsync
Updates the lookup content. The csv file containing the content to be updated is passed in as binary data in the request.
updateLookupData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdatePreferencesResponse> updatePreferences(UpdatePreferencesRequest request, AsyncHandler<UpdatePreferencesRequest,UpdatePreferencesResponse> handler)
LogAnalyticsAsync
Updates the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
updatePreferences
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateResourceCategoriesResponse> updateResourceCategories(UpdateResourceCategoriesRequest request, AsyncHandler<UpdateResourceCategoriesRequest,UpdateResourceCategoriesResponse> handler)
LogAnalyticsAsync
Updates the category assignments of DASHBOARD and SAVEDSEARCH resources.
updateResourceCategories
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateScheduledTaskResponse> updateScheduledTask(UpdateScheduledTaskRequest request, AsyncHandler<UpdateScheduledTaskRequest,UpdateScheduledTaskResponse> handler)
LogAnalyticsAsync
Update the scheduled task. Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
updateScheduledTask
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateStorageResponse> updateStorage(UpdateStorageRequest request, AsyncHandler<UpdateStorageRequest,UpdateStorageResponse> handler)
LogAnalyticsAsync
This API updates the archiving configuration
updateStorage
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UploadDiscoveryDataResponse> uploadDiscoveryData(UploadDiscoveryDataRequest request, AsyncHandler<UploadDiscoveryDataRequest,UploadDiscoveryDataResponse> handler)
LogAnalyticsAsync
Accepts discovery data for processing by Logging Analytics.
uploadDiscoveryData
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UploadLogEventsFileResponse> uploadLogEventsFile(UploadLogEventsFileRequest request, AsyncHandler<UploadLogEventsFileRequest,UploadLogEventsFileResponse> handler)
LogAnalyticsAsync
Accepts log events for processing by Logging Analytics.
uploadLogEventsFile
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UploadLogFileResponse> uploadLogFile(UploadLogFileRequest request, AsyncHandler<UploadLogFileRequest,UploadLogFileResponse> handler)
LogAnalyticsAsync
Accepts log data for processing by Logging Analytics.
uploadLogFile
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpsertAssociationsResponse> upsertAssociations(UpsertAssociationsRequest request, AsyncHandler<UpsertAssociationsRequest,UpsertAssociationsResponse> handler)
LogAnalyticsAsync
Creates or updates associations between sources and entities. All entities should belong to the specified input compartment.
upsertAssociations
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpsertFieldResponse> upsertField(UpsertFieldRequest request, AsyncHandler<UpsertFieldRequest,UpsertFieldResponse> handler)
LogAnalyticsAsync
Creates or updates a field that could be used in parser expressions to extract and assign value. To create a field, specify its display name. A name would be generated for the field. For subsequent calls to update the field, include the name attribute.
upsertField
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpsertLabelResponse> upsertLabel(UpsertLabelRequest request, AsyncHandler<UpsertLabelRequest,UpsertLabelResponse> handler)
LogAnalyticsAsync
Creates or updates a label that could be used to tag a log entry. You may optionally designate the label as a problem, and assign it a priority. You may also provide its related terms (aliases). To create a label, specify its display name. A name would be generated for the label. For subsequent calls to update the label, include the name attribute.
upsertLabel
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpsertParserResponse> upsertParser(UpsertParserRequest request, AsyncHandler<UpsertParserRequest,UpsertParserResponse> handler)
LogAnalyticsAsync
Creates or updates a parser, which defines how fields are extracted from a log entry.
upsertParser
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpsertSourceResponse> upsertSource(UpsertSourceRequest request, AsyncHandler<UpsertSourceRequest,UpsertSourceResponse> handler)
LogAnalyticsAsync
Creates or updates a log source. You may also specify parsers, labels, extended fields etc., for the source.
upsertSource
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateAssociationParametersResponse> validateAssociationParameters(ValidateAssociationParametersRequest request, AsyncHandler<ValidateAssociationParametersRequest,ValidateAssociationParametersResponse> handler)
LogAnalyticsAsync
Checks if the passed in entities could be associated with the specified sources. The validation is performed to ensure that the entities have the relevant property values that are used in the corresponding source patterns.
validateAssociationParameters
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateEndpointResponse> validateEndpoint(ValidateEndpointRequest request, AsyncHandler<ValidateEndpointRequest,ValidateEndpointResponse> handler)
LogAnalyticsAsync
Validates the REST endpoint configuration.
validateEndpoint
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateFileResponse> validateFile(ValidateFileRequest request, AsyncHandler<ValidateFileRequest,ValidateFileResponse> handler)
LogAnalyticsAsync
Validates a log file to check whether it is eligible to be uploaded or not.
validateFile
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateLabelConditionResponse> validateLabelCondition(ValidateLabelConditionRequest request, AsyncHandler<ValidateLabelConditionRequest,ValidateLabelConditionResponse> handler)
LogAnalyticsAsync
Validates specified condition for a source label. If both conditionString and conditionBlocks are specified, they would be validated to ensure they represent identical conditions. If one of them is input, the response would include the validated representation of the other structure too. Additionally, if field values are passed, the condition specification would be evaluated against them.
validateLabelCondition
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateSourceResponse> validateSource(ValidateSourceRequest request, AsyncHandler<ValidateSourceRequest,ValidateSourceResponse> handler)
LogAnalyticsAsync
Checks if the specified input is a valid log source definition.
validateSource
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateSourceExtendedFieldDetailsResponse> validateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request, AsyncHandler<ValidateSourceExtendedFieldDetailsRequest,ValidateSourceExtendedFieldDetailsResponse> handler)
LogAnalyticsAsync
Checks if the specified input contains valid extended field definitions against the provided example content.
validateSourceExtendedFieldDetails
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateSourceMappingResponse> validateSourceMapping(ValidateSourceMappingRequest request, AsyncHandler<ValidateSourceMappingRequest,ValidateSourceMappingResponse> handler)
LogAnalyticsAsync
Validates the source mapping for a given file and provides match status and the parsed representation of log data.
validateSourceMapping
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<VerifyResponse> verify(VerifyRequest request, AsyncHandler<VerifyRequest,VerifyResponse> handler)
LogAnalyticsAsync
Verify the accelerated saved search task specified by {scheduledTaskId}. For internal use only. Optionally specify whether to return accelerated search results; the default is false. The ScheduledTask taskType must be ACCELERATION.
verify
in interface LogAnalyticsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.