Class LogAnalyticsAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.loganalytics.LogAnalyticsAsyncClient
-
- All Implemented Interfaces:
LogAnalyticsAsync
,AutoCloseable
@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 anInputStream
, 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogAnalyticsAsyncClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.loganalytics.LogAnalyticsAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.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)
-
LogAnalyticsAsyncClient
@Deprecated public LogAnalyticsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLogAnalyticsAsyncClient.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
-
-
Method Detail
-
builder
public static LogAnalyticsAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface: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.- Specified by:
setRegion
in interfaceLogAnalyticsAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface: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 callsetEndpoint
.- Specified by:
setRegion
in interfaceLogAnalyticsAsync
- Parameters:
regionId
- The public region ID.
-
addEntityAssociation
public Future<AddEntityAssociationResponse> addEntityAssociation(AddEntityAssociationRequest request, AsyncHandler<AddEntityAssociationRequest,AddEntityAssociationResponse> handler)
Description copied from interface:LogAnalyticsAsync
Adds association between input source log analytics entity and one or more existing destination entities.- Specified by:
addEntityAssociation
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addSourceEventTypes
public Future<AddSourceEventTypesResponse> addSourceEventTypes(AddSourceEventTypesRequest request, AsyncHandler<AddSourceEventTypesRequest,AddSourceEventTypesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Add one or more event types to a source.An event type and version can be enabled only on one source.
- Specified by:
addSourceEventTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
appendLookupData
public Future<AppendLookupDataResponse> appendLookupData(AppendLookupDataRequest request, AsyncHandler<AppendLookupDataRequest,AppendLookupDataResponse> handler)
Description copied from interface: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.
- Specified by:
appendLookupData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
assignEncryptionKey
public Future<AssignEncryptionKeyResponse> assignEncryptionKey(AssignEncryptionKeyRequest request, AsyncHandler<AssignEncryptionKeyRequest,AssignEncryptionKeyResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API submits a work request to assign customer encryption key.- Specified by:
assignEncryptionKey
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
batchGetBasicInfo
public Future<BatchGetBasicInfoResponse> batchGetBasicInfo(BatchGetBasicInfoRequest request, AsyncHandler<BatchGetBasicInfoRequest,BatchGetBasicInfoResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists basic information about a specified set of labels in batch.- Specified by:
batchGetBasicInfo
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelQueryWorkRequest
public Future<CancelQueryWorkRequestResponse> cancelQueryWorkRequest(CancelQueryWorkRequestRequest request, AsyncHandler<CancelQueryWorkRequestRequest,CancelQueryWorkRequestResponse> handler)
Description copied from interface:LogAnalyticsAsync
Cancel/Remove query job work request.- Specified by:
cancelQueryWorkRequest
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeIngestTimeRuleCompartment
public Future<ChangeIngestTimeRuleCompartmentResponse> changeIngestTimeRuleCompartment(ChangeIngestTimeRuleCompartmentRequest request, AsyncHandler<ChangeIngestTimeRuleCompartmentRequest,ChangeIngestTimeRuleCompartmentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Moves the specified ingest time rule to a different compartment.- Specified by:
changeIngestTimeRuleCompartment
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeLogAnalyticsEmBridgeCompartment
public Future<ChangeLogAnalyticsEmBridgeCompartmentResponse> changeLogAnalyticsEmBridgeCompartment(ChangeLogAnalyticsEmBridgeCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsEmBridgeCompartmentRequest,ChangeLogAnalyticsEmBridgeCompartmentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Update the compartment of the log analytics enterprise manager bridge with the given id.- Specified by:
changeLogAnalyticsEmBridgeCompartment
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeLogAnalyticsEntityCompartment
public Future<ChangeLogAnalyticsEntityCompartmentResponse> changeLogAnalyticsEntityCompartment(ChangeLogAnalyticsEntityCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsEntityCompartmentRequest,ChangeLogAnalyticsEntityCompartmentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Update the compartment of the log analytics entity with the given id.- Specified by:
changeLogAnalyticsEntityCompartment
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeLogAnalyticsLogGroupCompartment
public Future<ChangeLogAnalyticsLogGroupCompartmentResponse> changeLogAnalyticsLogGroupCompartment(ChangeLogAnalyticsLogGroupCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsLogGroupCompartmentRequest,ChangeLogAnalyticsLogGroupCompartmentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Moves the specified log group to a different compartment.- Specified by:
changeLogAnalyticsLogGroupCompartment
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeLogAnalyticsObjectCollectionRuleCompartment
public Future<ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse> changeLogAnalyticsObjectCollectionRuleCompartment(ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest request, AsyncHandler<ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest,ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Move the rule from it’s current compartment to the given compartment.- Specified by:
changeLogAnalyticsObjectCollectionRuleCompartment
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeScheduledTaskCompartment
public Future<ChangeScheduledTaskCompartmentResponse> changeScheduledTaskCompartment(ChangeScheduledTaskCompartmentRequest request, AsyncHandler<ChangeScheduledTaskCompartmentRequest,ChangeScheduledTaskCompartmentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Move the scheduled task into a different compartment within the same tenancy.- Specified by:
changeScheduledTaskCompartment
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
clean
public Future<CleanResponse> clean(CleanRequest request, AsyncHandler<CleanRequest,CleanResponse> handler)
Description copied from interface:LogAnalyticsAsync
Clean accumulated acceleration data stored for the accelerated saved search.The ScheduledTask taskType must be ACCELERATION.
- Specified by:
clean
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
compareContent
public Future<CompareContentResponse> compareContent(CompareContentRequest request, AsyncHandler<CompareContentRequest,CompareContentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the difference between the two input payloads, including intraline differences.- Specified by:
compareContent
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createIngestTimeRule
public Future<CreateIngestTimeRuleResponse> createIngestTimeRule(CreateIngestTimeRuleRequest request, AsyncHandler<CreateIngestTimeRuleRequest,CreateIngestTimeRuleResponse> handler)
Description copied from interface: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.
- Specified by:
createIngestTimeRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createLogAnalyticsEmBridge
public Future<CreateLogAnalyticsEmBridgeResponse> createLogAnalyticsEmBridge(CreateLogAnalyticsEmBridgeRequest request, AsyncHandler<CreateLogAnalyticsEmBridgeRequest,CreateLogAnalyticsEmBridgeResponse> handler)
Description copied from interface: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.
- Specified by:
createLogAnalyticsEmBridge
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createLogAnalyticsEntity
public Future<CreateLogAnalyticsEntityResponse> createLogAnalyticsEntity(CreateLogAnalyticsEntityRequest request, AsyncHandler<CreateLogAnalyticsEntityRequest,CreateLogAnalyticsEntityResponse> handler)
Description copied from interface:LogAnalyticsAsync
Create a new log analytics entity.- Specified by:
createLogAnalyticsEntity
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createLogAnalyticsEntityType
public Future<CreateLogAnalyticsEntityTypeResponse> createLogAnalyticsEntityType(CreateLogAnalyticsEntityTypeRequest request, AsyncHandler<CreateLogAnalyticsEntityTypeRequest,CreateLogAnalyticsEntityTypeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Add custom log analytics entity type.- Specified by:
createLogAnalyticsEntityType
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createLogAnalyticsLogGroup
public Future<CreateLogAnalyticsLogGroupResponse> createLogAnalyticsLogGroup(CreateLogAnalyticsLogGroupRequest request, AsyncHandler<CreateLogAnalyticsLogGroupRequest,CreateLogAnalyticsLogGroupResponse> handler)
Description copied from interface: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.
- Specified by:
createLogAnalyticsLogGroup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createLogAnalyticsObjectCollectionRule
public Future<CreateLogAnalyticsObjectCollectionRuleResponse> createLogAnalyticsObjectCollectionRule(CreateLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<CreateLogAnalyticsObjectCollectionRuleRequest,CreateLogAnalyticsObjectCollectionRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Creates a rule to collect logs from an object storage bucket.- Specified by:
createLogAnalyticsObjectCollectionRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createScheduledTask
public Future<CreateScheduledTaskResponse> createScheduledTask(CreateScheduledTaskRequest request, AsyncHandler<CreateScheduledTaskRequest,CreateScheduledTaskResponse> handler)
Description copied from interface:LogAnalyticsAsync
Schedule a task as specified and return task info.- Specified by:
createScheduledTask
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteAssociations
public Future<DeleteAssociationsResponse> deleteAssociations(DeleteAssociationsRequest request, AsyncHandler<DeleteAssociationsRequest,DeleteAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes the associations between the sources and entities specified.- Specified by:
deleteAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteField
public Future<DeleteFieldResponse> deleteField(DeleteFieldRequest request, AsyncHandler<DeleteFieldRequest,DeleteFieldResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes field with the specified name.- Specified by:
deleteField
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteIngestTimeRule
public Future<DeleteIngestTimeRuleResponse> deleteIngestTimeRule(DeleteIngestTimeRuleRequest request, AsyncHandler<DeleteIngestTimeRuleRequest,DeleteIngestTimeRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes the specified ingest time rule.- Specified by:
deleteIngestTimeRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLabel
public Future<DeleteLabelResponse> deleteLabel(DeleteLabelRequest request, AsyncHandler<DeleteLabelRequest,DeleteLabelResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes label with the specified name.- Specified by:
deleteLabel
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLogAnalyticsEmBridge
public Future<DeleteLogAnalyticsEmBridgeResponse> deleteLogAnalyticsEmBridge(DeleteLogAnalyticsEmBridgeRequest request, AsyncHandler<DeleteLogAnalyticsEmBridgeRequest,DeleteLogAnalyticsEmBridgeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Delete log analytics enterprise manager bridge with the given id.- Specified by:
deleteLogAnalyticsEmBridge
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLogAnalyticsEntity
public Future<DeleteLogAnalyticsEntityResponse> deleteLogAnalyticsEntity(DeleteLogAnalyticsEntityRequest request, AsyncHandler<DeleteLogAnalyticsEntityRequest,DeleteLogAnalyticsEntityResponse> handler)
Description copied from interface:LogAnalyticsAsync
Delete log analytics entity with the given id.- Specified by:
deleteLogAnalyticsEntity
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLogAnalyticsEntityType
public Future<DeleteLogAnalyticsEntityTypeResponse> deleteLogAnalyticsEntityType(DeleteLogAnalyticsEntityTypeRequest request, AsyncHandler<DeleteLogAnalyticsEntityTypeRequest,DeleteLogAnalyticsEntityTypeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Delete log analytics entity type with the given name.- Specified by:
deleteLogAnalyticsEntityType
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLogAnalyticsLogGroup
public Future<DeleteLogAnalyticsLogGroupResponse> deleteLogAnalyticsLogGroup(DeleteLogAnalyticsLogGroupRequest request, AsyncHandler<DeleteLogAnalyticsLogGroupRequest,DeleteLogAnalyticsLogGroupResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes the specified log group.The log group cannot be part of an active association or have an active upload.
- Specified by:
deleteLogAnalyticsLogGroup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLogAnalyticsObjectCollectionRule
public Future<DeleteLogAnalyticsObjectCollectionRuleResponse> deleteLogAnalyticsObjectCollectionRule(DeleteLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<DeleteLogAnalyticsObjectCollectionRuleRequest,DeleteLogAnalyticsObjectCollectionRuleResponse> handler)
Description copied from interface: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.
- Specified by:
deleteLogAnalyticsObjectCollectionRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLookup
public Future<DeleteLookupResponse> deleteLookup(DeleteLookupRequest request, AsyncHandler<DeleteLookupRequest,DeleteLookupResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes lookup with the specified name.- Specified by:
deleteLookup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteParser
public Future<DeleteParserResponse> deleteParser(DeleteParserRequest request, AsyncHandler<DeleteParserRequest,DeleteParserResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes parser with the specified name.- Specified by:
deleteParser
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteScheduledTask
public Future<DeleteScheduledTaskResponse> deleteScheduledTask(DeleteScheduledTaskRequest request, AsyncHandler<DeleteScheduledTaskRequest,DeleteScheduledTaskResponse> handler)
Description copied from interface:LogAnalyticsAsync
Delete the scheduled task.- Specified by:
deleteScheduledTask
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteSource
public Future<DeleteSourceResponse> deleteSource(DeleteSourceRequest request, AsyncHandler<DeleteSourceRequest,DeleteSourceResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes source with the specified name.- Specified by:
deleteSource
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteUpload
public Future<DeleteUploadResponse> deleteUpload(DeleteUploadRequest request, AsyncHandler<DeleteUploadRequest,DeleteUploadResponse> handler)
Description copied from interface:LogAnalyticsAsync
Deletes an Upload by its reference.It deletes all the logs in storage asscoiated with the upload and the corresponding upload metadata.
- Specified by:
deleteUpload
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteUploadFile
public Future<DeleteUploadFileResponse> deleteUploadFile(DeleteUploadFileRequest request, AsyncHandler<DeleteUploadFileRequest,DeleteUploadFileResponse> handler)
Description copied from interface: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.
- Specified by:
deleteUploadFile
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteUploadWarning
public Future<DeleteUploadWarningResponse> deleteUploadWarning(DeleteUploadWarningRequest request, AsyncHandler<DeleteUploadWarningRequest,DeleteUploadWarningResponse> handler)
Description copied from interface:LogAnalyticsAsync
Suppresses a specific warning inside an upload.- Specified by:
deleteUploadWarning
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
disableArchiving
public Future<DisableArchivingResponse> disableArchiving(DisableArchivingRequest request, AsyncHandler<DisableArchivingRequest,DisableArchivingResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API disables archiving.- Specified by:
disableArchiving
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
disableAutoAssociation
public Future<DisableAutoAssociationResponse> disableAutoAssociation(DisableAutoAssociationRequest request, AsyncHandler<DisableAutoAssociationRequest,DisableAutoAssociationResponse> handler)
Description copied from interface: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.
- Specified by:
disableAutoAssociation
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
disableIngestTimeRule
public Future<DisableIngestTimeRuleResponse> disableIngestTimeRule(DisableIngestTimeRuleRequest request, AsyncHandler<DisableIngestTimeRuleRequest,DisableIngestTimeRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Disables the specified ingest time rule.- Specified by:
disableIngestTimeRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
disableSourceEventTypes
public Future<DisableSourceEventTypesResponse> disableSourceEventTypes(DisableSourceEventTypesRequest request, AsyncHandler<DisableSourceEventTypesRequest,DisableSourceEventTypesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Disable one or more event types in a source.- Specified by:
disableSourceEventTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableArchiving
public Future<EnableArchivingResponse> enableArchiving(EnableArchivingRequest request, AsyncHandler<EnableArchivingRequest,EnableArchivingResponse> handler)
Description copied from interface:LogAnalyticsAsync
THis API enables archiving.- Specified by:
enableArchiving
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableAutoAssociation
public Future<EnableAutoAssociationResponse> enableAutoAssociation(EnableAutoAssociationRequest request, AsyncHandler<EnableAutoAssociationRequest,EnableAutoAssociationResponse> handler)
Description copied from interface: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.
- Specified by:
enableAutoAssociation
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableIngestTimeRule
public Future<EnableIngestTimeRuleResponse> enableIngestTimeRule(EnableIngestTimeRuleRequest request, AsyncHandler<EnableIngestTimeRuleRequest,EnableIngestTimeRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Enables the specified ingest time rule.- Specified by:
enableIngestTimeRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableSourceEventTypes
public Future<EnableSourceEventTypesResponse> enableSourceEventTypes(EnableSourceEventTypesRequest request, AsyncHandler<EnableSourceEventTypesRequest,EnableSourceEventTypesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Enable one or more event types in a source.An event type and version can be enabled only in one source.
- Specified by:
enableSourceEventTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
estimatePurgeDataSize
public Future<EstimatePurgeDataSizeResponse> estimatePurgeDataSize(EstimatePurgeDataSizeRequest request, AsyncHandler<EstimatePurgeDataSizeRequest,EstimatePurgeDataSizeResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API estimates the size of data to be purged based based on time interval, purge query etc.- Specified by:
estimatePurgeDataSize
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
estimateRecallDataSize
public Future<EstimateRecallDataSizeResponse> estimateRecallDataSize(EstimateRecallDataSizeRequest request, AsyncHandler<EstimateRecallDataSizeRequest,EstimateRecallDataSizeResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.- Specified by:
estimateRecallDataSize
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
estimateReleaseDataSize
public Future<EstimateReleaseDataSizeResponse> estimateReleaseDataSize(EstimateReleaseDataSizeRequest request, AsyncHandler<EstimateReleaseDataSizeRequest,EstimateReleaseDataSizeResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gives an active storage usage estimate for recalled data to be released and the time range of such data.- Specified by:
estimateReleaseDataSize
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
exportCustomContent
public Future<ExportCustomContentResponse> exportCustomContent(ExportCustomContentRequest request, AsyncHandler<ExportCustomContentRequest,ExportCustomContentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Exports all custom details of the specified sources, parsers, fields and labels, in zip format.- Specified by:
exportCustomContent
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
exportQueryResult
public Future<ExportQueryResultResponse> exportQueryResult(ExportQueryResultRequest request, AsyncHandler<ExportQueryResultRequest,ExportQueryResultResponse> handler)
Description copied from interface: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.
- Specified by:
exportQueryResult
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
extractStructuredLogFieldPaths
public Future<ExtractStructuredLogFieldPathsResponse> extractStructuredLogFieldPaths(ExtractStructuredLogFieldPathsRequest request, AsyncHandler<ExtractStructuredLogFieldPathsRequest,ExtractStructuredLogFieldPathsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Extracts the field paths from the example json or xml content.- Specified by:
extractStructuredLogFieldPaths
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
extractStructuredLogHeaderPaths
public Future<ExtractStructuredLogHeaderPathsResponse> extractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request, AsyncHandler<ExtractStructuredLogHeaderPathsRequest,ExtractStructuredLogHeaderPathsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Extracts the header paths from the example json or xml content.- Specified by:
extractStructuredLogHeaderPaths
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
filter
public Future<FilterResponse> filter(FilterRequest request, AsyncHandler<FilterRequest,FilterResponse> handler)
Description copied from interface:LogAnalyticsAsync
Each filter specifies an operator, a field and one or more values to be inserted into the provided query as criteria.- Specified by:
filter
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getAssociationSummary
public Future<GetAssociationSummaryResponse> getAssociationSummary(GetAssociationSummaryRequest request, AsyncHandler<GetAssociationSummaryRequest,GetAssociationSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of source associations for entities in the specified compartment.- Specified by:
getAssociationSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCategory
public Future<GetCategoryResponse> getCategory(GetCategoryRequest request, AsyncHandler<GetCategoryRequest,GetCategoryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the category with the specified name.- Specified by:
getCategory
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getColumnNames
public Future<GetColumnNamesResponse> getColumnNames(GetColumnNamesRequest request, AsyncHandler<GetColumnNamesRequest,GetColumnNamesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Extracts column names from the input SQL query.- Specified by:
getColumnNames
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getConfigWorkRequest
public Future<GetConfigWorkRequestResponse> getConfigWorkRequest(GetConfigWorkRequestRequest request, AsyncHandler<GetConfigWorkRequestRequest,GetConfigWorkRequestResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns detailed information about the configuration work request with the specified id.- Specified by:
getConfigWorkRequest
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getField
public Future<GetFieldResponse> getField(GetFieldRequest request, AsyncHandler<GetFieldRequest,GetFieldResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the field with the specified name.- Specified by:
getField
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getFieldsSummary
public Future<GetFieldsSummaryResponse> getFieldsSummary(GetFieldsSummaryRequest request, AsyncHandler<GetFieldsSummaryRequest,GetFieldsSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of fields.You may optionally specify isShowDetail=true to view a summary of each field data type.
- Specified by:
getFieldsSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIngestTimeRule
public Future<GetIngestTimeRuleResponse> getIngestTimeRule(GetIngestTimeRuleRequest request, AsyncHandler<GetIngestTimeRuleRequest,GetIngestTimeRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the specified ingest time rule such as description, defined tags, and free-form tags.- Specified by:
getIngestTimeRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLabel
public Future<GetLabelResponse> getLabel(GetLabelRequest request, AsyncHandler<GetLabelRequest,GetLabelResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the label with the specified name.- Specified by:
getLabel
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLabelSummary
public Future<GetLabelSummaryResponse> getLabelSummary(GetLabelSummaryRequest request, AsyncHandler<GetLabelSummaryRequest,GetLabelSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of labels.- Specified by:
getLabelSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsEmBridge
public Future<GetLogAnalyticsEmBridgeResponse> getLogAnalyticsEmBridge(GetLogAnalyticsEmBridgeRequest request, AsyncHandler<GetLogAnalyticsEmBridgeRequest,GetLogAnalyticsEmBridgeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Retrieve the log analytics enterprise manager bridge with the given id.- Specified by:
getLogAnalyticsEmBridge
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsEmBridgeSummary
public Future<GetLogAnalyticsEmBridgeSummaryResponse> getLogAnalyticsEmBridgeSummary(GetLogAnalyticsEmBridgeSummaryRequest request, AsyncHandler<GetLogAnalyticsEmBridgeSummaryRequest,GetLogAnalyticsEmBridgeSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns log analytics enterprise manager bridges summary report.- Specified by:
getLogAnalyticsEmBridgeSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsEntitiesSummary
public Future<GetLogAnalyticsEntitiesSummaryResponse> getLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryRequest request, AsyncHandler<GetLogAnalyticsEntitiesSummaryRequest,GetLogAnalyticsEntitiesSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns log analytics entities count summary report.- Specified by:
getLogAnalyticsEntitiesSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsEntity
public Future<GetLogAnalyticsEntityResponse> getLogAnalyticsEntity(GetLogAnalyticsEntityRequest request, AsyncHandler<GetLogAnalyticsEntityRequest,GetLogAnalyticsEntityResponse> handler)
Description copied from interface:LogAnalyticsAsync
Retrieve the log analytics entity with the given id.- Specified by:
getLogAnalyticsEntity
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsEntityType
public Future<GetLogAnalyticsEntityTypeResponse> getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeRequest request, AsyncHandler<GetLogAnalyticsEntityTypeRequest,GetLogAnalyticsEntityTypeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Retrieve the log analytics entity type with the given name.- Specified by:
getLogAnalyticsEntityType
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsLogGroup
public Future<GetLogAnalyticsLogGroupResponse> getLogAnalyticsLogGroup(GetLogAnalyticsLogGroupRequest request, AsyncHandler<GetLogAnalyticsLogGroupRequest,GetLogAnalyticsLogGroupResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the specified log group such as display name, description, defined tags, and free-form tags.- Specified by:
getLogAnalyticsLogGroup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsLogGroupsSummary
public Future<GetLogAnalyticsLogGroupsSummaryResponse> getLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request, AsyncHandler<GetLogAnalyticsLogGroupsSummaryRequest,GetLogAnalyticsLogGroupsSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of log groups in a compartment.- Specified by:
getLogAnalyticsLogGroupsSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogAnalyticsObjectCollectionRule
public Future<GetLogAnalyticsObjectCollectionRuleResponse> getLogAnalyticsObjectCollectionRule(GetLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<GetLogAnalyticsObjectCollectionRuleRequest,GetLogAnalyticsObjectCollectionRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets a configured object storage based collection rule by given id- Specified by:
getLogAnalyticsObjectCollectionRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLogSetsCount
public Future<GetLogSetsCountResponse> getLogSetsCount(GetLogSetsCountRequest request, AsyncHandler<GetLogSetsCountRequest,GetLogSetsCountResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API returns the count of distinct log sets.- Specified by:
getLogSetsCount
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLookup
public Future<GetLookupResponse> getLookup(GetLookupRequest request, AsyncHandler<GetLookupRequest,GetLookupResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the lookup with the specified name.- Specified by:
getLookup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLookupSummary
public Future<GetLookupSummaryResponse> getLookupSummary(GetLookupSummaryRequest request, AsyncHandler<GetLookupSummaryRequest,GetLookupSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of user created and oracle defined lookups.- Specified by:
getLookupSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNamespace
public Future<GetNamespaceResponse> getNamespace(GetNamespaceRequest request, AsyncHandler<GetNamespaceRequest,GetNamespaceResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gets the namespace details of a tenancy already onboarded in Logging Analytics Application- Specified by:
getNamespace
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getParser
public Future<GetParserResponse> getParser(GetParserRequest request, AsyncHandler<GetParserRequest,GetParserResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the parser with the specified name.- Specified by:
getParser
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getParserSummary
public Future<GetParserSummaryResponse> getParserSummary(GetParserSummaryRequest request, AsyncHandler<GetParserSummaryRequest,GetParserSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of parsers.- Specified by:
getParserSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPreferences
public Future<GetPreferencesResponse> getPreferences(GetPreferencesRequest request, AsyncHandler<GetPreferencesRequest,GetPreferencesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.- Specified by:
getPreferences
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getQueryResult
public Future<GetQueryResultResponse> getQueryResult(GetQueryResultRequest request, AsyncHandler<GetQueryResultRequest,GetQueryResultResponse> handler)
Description copied from interface: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.- Specified by:
getQueryResult
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getQueryWorkRequest
public Future<GetQueryWorkRequestResponse> getQueryWorkRequest(GetQueryWorkRequestRequest request, AsyncHandler<GetQueryWorkRequestRequest,GetQueryWorkRequestResponse> handler)
Description copied from interface: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.
- Specified by:
getQueryWorkRequest
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRecallCount
public Future<GetRecallCountResponse> getRecallCount(GetRecallCountRequest request, AsyncHandler<GetRecallCountRequest,GetRecallCountResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gets the number of recalls made and the maximum recalls that can be made- Specified by:
getRecallCount
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRecalledDataSize
public Future<GetRecalledDataSizeResponse> getRecalledDataSize(GetRecalledDataSizeRequest request, AsyncHandler<GetRecalledDataSizeRequest,GetRecalledDataSizeResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gets the datasize of recalls for a given timeframe- Specified by:
getRecalledDataSize
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRulesSummary
public Future<GetRulesSummaryResponse> getRulesSummary(GetRulesSummaryRequest request, AsyncHandler<GetRulesSummaryRequest,GetRulesSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of detection rules in a compartment.- Specified by:
getRulesSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getScheduledTask
public Future<GetScheduledTaskResponse> getScheduledTask(GetScheduledTaskRequest request, AsyncHandler<GetScheduledTaskRequest,GetScheduledTaskResponse> handler)
Description copied from interface:LogAnalyticsAsync
Get the scheduled task for the specified task identifier.- Specified by:
getScheduledTask
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSource
public Future<GetSourceResponse> getSource(GetSourceRequest request, AsyncHandler<GetSourceRequest,GetSourceResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets detailed information about the source with the specified name.- Specified by:
getSource
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSourceSummary
public Future<GetSourceSummaryResponse> getSourceSummary(GetSourceSummaryRequest request, AsyncHandler<GetSourceSummaryRequest,GetSourceSummaryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the count of sources.- Specified by:
getSourceSummary
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStorage
public Future<GetStorageResponse> getStorage(GetStorageRequest request, AsyncHandler<GetStorageRequest,GetStorageResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gets the storage configuration of a tenancy- Specified by:
getStorage
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStorageUsage
public Future<GetStorageUsageResponse> getStorageUsage(GetStorageUsageRequest request, AsyncHandler<GetStorageUsageRequest,GetStorageUsageResponse> handler)
Description copied from interface: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.
- Specified by:
getStorageUsage
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStorageWorkRequest
public Future<GetStorageWorkRequestResponse> getStorageWorkRequest(GetStorageWorkRequestRequest request, AsyncHandler<GetStorageWorkRequestRequest,GetStorageWorkRequestResponse> handler)
Description copied from interface: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.
- Specified by:
getStorageWorkRequest
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getUnprocessedDataBucket
public Future<GetUnprocessedDataBucketResponse> getUnprocessedDataBucket(GetUnprocessedDataBucketRequest request, AsyncHandler<GetUnprocessedDataBucketRequest,GetUnprocessedDataBucketResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API retrieves details of the configured bucket that stores unprocessed payloads.- Specified by:
getUnprocessedDataBucket
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getUpload
public Future<GetUploadResponse> getUpload(GetUploadRequest request, AsyncHandler<GetUploadRequest,GetUploadResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets an On-Demand Upload info by reference.- Specified by:
getUpload
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets the status of the work request with the given ID.- Specified by:
getWorkRequest
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
importCustomContent
public Future<ImportCustomContentResponse> importCustomContent(ImportCustomContentRequest request, AsyncHandler<ImportCustomContentRequest,ImportCustomContentResponse> handler)
Description copied from interface:LogAnalyticsAsync
Imports the specified custom content from the input in zip format.- Specified by:
importCustomContent
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAssociableEntities
public Future<ListAssociableEntitiesResponse> listAssociableEntities(ListAssociableEntitiesRequest request, AsyncHandler<ListAssociableEntitiesRequest,ListAssociableEntitiesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the entities in the specified compartment which are (in)eligible for association with this source.- Specified by:
listAssociableEntities
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAssociatedEntities
public Future<ListAssociatedEntitiesResponse> listAssociatedEntities(ListAssociatedEntitiesRequest request, AsyncHandler<ListAssociatedEntitiesRequest,ListAssociatedEntitiesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the association details of entities in the specified compartment that are associated with at least one source.- Specified by:
listAssociatedEntities
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAutoAssociations
public Future<ListAutoAssociationsResponse> listAutoAssociations(ListAutoAssociationsRequest request, AsyncHandler<ListAutoAssociationsRequest,ListAutoAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets information related to auto association for the source with the specified name.- Specified by:
listAutoAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCategories
public Future<ListCategoriesResponse> listCategories(ListCategoriesRequest request, AsyncHandler<ListCategoriesRequest,ListCategoriesResponse> handler)
Description copied from interface: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.
- Specified by:
listCategories
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listConfigWorkRequests
public Future<ListConfigWorkRequestsResponse> listConfigWorkRequests(ListConfigWorkRequestsRequest request, AsyncHandler<ListConfigWorkRequestsRequest,ListConfigWorkRequestsResponse> handler)
Description copied from interface: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.
- Specified by:
listConfigWorkRequests
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listEffectiveProperties
public Future<ListEffectivePropertiesResponse> listEffectiveProperties(ListEffectivePropertiesRequest request, AsyncHandler<ListEffectivePropertiesRequest,ListEffectivePropertiesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns a list of effective properties for the specified resource.- Specified by:
listEffectiveProperties
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listEncryptionKeyInfo
public Future<ListEncryptionKeyInfoResponse> listEncryptionKeyInfo(ListEncryptionKeyInfoRequest request, AsyncHandler<ListEncryptionKeyInfoRequest,ListEncryptionKeyInfoResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API returns the list of customer owned encryption key info.- Specified by:
listEncryptionKeyInfo
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listEntityAssociations
public Future<ListEntityAssociationsResponse> listEntityAssociations(ListEntityAssociationsRequest request, AsyncHandler<ListEntityAssociationsRequest,ListEntityAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Return a list of log analytics entities associated with input source log analytics entity.- Specified by:
listEntityAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listEntitySourceAssociations
public Future<ListEntitySourceAssociationsResponse> listEntitySourceAssociations(ListEntitySourceAssociationsRequest request, AsyncHandler<ListEntitySourceAssociationsRequest,ListEntitySourceAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the list of source associations for the specified entity.- Specified by:
listEntitySourceAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listFields
public Future<ListFieldsResponse> listFields(ListFieldsRequest request, AsyncHandler<ListFieldsRequest,ListFieldsResponse> handler)
Description copied from interface: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.
- Specified by:
listFields
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIngestTimeRules
public Future<ListIngestTimeRulesResponse> listIngestTimeRules(ListIngestTimeRulesRequest request, AsyncHandler<ListIngestTimeRulesRequest,ListIngestTimeRulesResponse> handler)
Description copied from interface: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.
- Specified by:
listIngestTimeRules
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLabelPriorities
public Future<ListLabelPrioritiesResponse> listLabelPriorities(ListLabelPrioritiesRequest request, AsyncHandler<ListLabelPrioritiesRequest,ListLabelPrioritiesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the available problem priorities that could be associated with a label.- Specified by:
listLabelPriorities
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLabelSourceDetails
public Future<ListLabelSourceDetailsResponse> listLabelSourceDetails(ListLabelSourceDetailsRequest request, AsyncHandler<ListLabelSourceDetailsRequest,ListLabelSourceDetailsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists sources using the label, along with configuration details like base field, operator and condition.- Specified by:
listLabelSourceDetails
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLabels
public Future<ListLabelsResponse> listLabels(ListLabelsRequest request, AsyncHandler<ListLabelsRequest,ListLabelsResponse> handler)
Description copied from interface: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.
- Specified by:
listLabels
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogAnalyticsEmBridges
public Future<ListLogAnalyticsEmBridgesResponse> listLogAnalyticsEmBridges(ListLogAnalyticsEmBridgesRequest request, AsyncHandler<ListLogAnalyticsEmBridgesRequest,ListLogAnalyticsEmBridgesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Return a list of log analytics enterprise manager bridges.- Specified by:
listLogAnalyticsEmBridges
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogAnalyticsEntities
public Future<ListLogAnalyticsEntitiesResponse> listLogAnalyticsEntities(ListLogAnalyticsEntitiesRequest request, AsyncHandler<ListLogAnalyticsEntitiesRequest,ListLogAnalyticsEntitiesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Return a list of log analytics entities.- Specified by:
listLogAnalyticsEntities
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogAnalyticsEntityTopology
public Future<ListLogAnalyticsEntityTopologyResponse> listLogAnalyticsEntityTopology(ListLogAnalyticsEntityTopologyRequest request, AsyncHandler<ListLogAnalyticsEntityTopologyRequest,ListLogAnalyticsEntityTopologyResponse> handler)
Description copied from interface: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.- Specified by:
listLogAnalyticsEntityTopology
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogAnalyticsEntityTypes
public Future<ListLogAnalyticsEntityTypesResponse> listLogAnalyticsEntityTypes(ListLogAnalyticsEntityTypesRequest request, AsyncHandler<ListLogAnalyticsEntityTypesRequest,ListLogAnalyticsEntityTypesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Return a list of log analytics entity types.- Specified by:
listLogAnalyticsEntityTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogAnalyticsLogGroups
public Future<ListLogAnalyticsLogGroupsResponse> listLogAnalyticsLogGroups(ListLogAnalyticsLogGroupsRequest request, AsyncHandler<ListLogAnalyticsLogGroupsRequest,ListLogAnalyticsLogGroupsResponse> handler)
Description copied from interface: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.
- Specified by:
listLogAnalyticsLogGroups
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogAnalyticsObjectCollectionRules
public Future<ListLogAnalyticsObjectCollectionRulesResponse> listLogAnalyticsObjectCollectionRules(ListLogAnalyticsObjectCollectionRulesRequest request, AsyncHandler<ListLogAnalyticsObjectCollectionRulesRequest,ListLogAnalyticsObjectCollectionRulesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets list of collection rules.- Specified by:
listLogAnalyticsObjectCollectionRules
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLogSets
public Future<ListLogSetsResponse> listLogSets(ListLogSetsRequest request, AsyncHandler<ListLogSetsRequest,ListLogSetsResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API returns a list of log sets.- Specified by:
listLogSets
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLookups
public Future<ListLookupsResponse> listLookups(ListLookupsRequest request, AsyncHandler<ListLookupsRequest,ListLookupsResponse> handler)
Description copied from interface: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.
- Specified by:
listLookups
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMetaSourceTypes
public Future<ListMetaSourceTypesResponse> listMetaSourceTypes(ListMetaSourceTypesRequest request, AsyncHandler<ListMetaSourceTypesRequest,ListMetaSourceTypesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the types of log sources supported.- Specified by:
listMetaSourceTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNamespaces
public Future<ListNamespacesResponse> listNamespaces(ListNamespacesRequest request, AsyncHandler<ListNamespacesRequest,ListNamespacesResponse> handler)
Description copied from interface: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.
- Specified by:
listNamespaces
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listOverlappingRecalls
public Future<ListOverlappingRecallsResponse> listOverlappingRecalls(ListOverlappingRecallsRequest request, AsyncHandler<ListOverlappingRecallsRequest,ListOverlappingRecallsResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API gets the list of overlapping recalls made in the given timeframe- Specified by:
listOverlappingRecalls
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listParserFunctions
public Future<ListParserFunctionsResponse> listParserFunctions(ListParserFunctionsRequest request, AsyncHandler<ListParserFunctionsRequest,ListParserFunctionsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the parser functions defined for the specified parser.- Specified by:
listParserFunctions
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listParserMetaPlugins
public Future<ListParserMetaPluginsResponse> listParserMetaPlugins(ListParserMetaPluginsRequest request, AsyncHandler<ListParserMetaPluginsRequest,ListParserMetaPluginsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the parser meta plugins available for defining parser functions.- Specified by:
listParserMetaPlugins
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listParsers
public Future<ListParsersResponse> listParsers(ListParsersRequest request, AsyncHandler<ListParsersRequest,ListParsersResponse> handler)
Description copied from interface: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.
- Specified by:
listParsers
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPropertiesMetadata
public Future<ListPropertiesMetadataResponse> listPropertiesMetadata(ListPropertiesMetadataRequest request, AsyncHandler<ListPropertiesMetadataRequest,ListPropertiesMetadataResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns a list of properties along with their metadata.- Specified by:
listPropertiesMetadata
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listQueryWorkRequests
public Future<ListQueryWorkRequestsResponse> listQueryWorkRequests(ListQueryWorkRequestsRequest request, AsyncHandler<ListQueryWorkRequestsRequest,ListQueryWorkRequestsResponse> handler)
Description copied from interface:LogAnalyticsAsync
List active asynchronous queries.- Specified by:
listQueryWorkRequests
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRecalledData
public Future<ListRecalledDataResponse> listRecalledData(ListRecalledDataRequest request, AsyncHandler<ListRecalledDataRequest,ListRecalledDataResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API returns the list of recalled data of a tenancy.- Specified by:
listRecalledData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listResourceCategories
public Future<ListResourceCategoriesResponse> listResourceCategories(ListResourceCategoriesRequest request, AsyncHandler<ListResourceCategoriesRequest,ListResourceCategoriesResponse> handler)
Description copied from interface: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.
- Specified by:
listResourceCategories
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRules
public Future<ListRulesResponse> listRules(ListRulesRequest request, AsyncHandler<ListRulesRequest,ListRulesResponse> handler)
Description copied from interface: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.
- Specified by:
listRules
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listScheduledTasks
public Future<ListScheduledTasksResponse> listScheduledTasks(ListScheduledTasksRequest request, AsyncHandler<ListScheduledTasksRequest,ListScheduledTasksResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists scheduled tasks.- Specified by:
listScheduledTasks
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSourceAssociations
public Future<ListSourceAssociationsResponse> listSourceAssociations(ListSourceAssociationsRequest request, AsyncHandler<ListSourceAssociationsRequest,ListSourceAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns the list of entity associations in the input compartment for the specified source.- Specified by:
listSourceAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSourceEventTypes
public Future<ListSourceEventTypesResponse> listSourceEventTypes(ListSourceEventTypesRequest request, AsyncHandler<ListSourceEventTypesRequest,ListSourceEventTypesResponse> handler)
Description copied from interface: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.
- Specified by:
listSourceEventTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSourceExtendedFieldDefinitions
public Future<ListSourceExtendedFieldDefinitionsResponse> listSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request, AsyncHandler<ListSourceExtendedFieldDefinitionsRequest,ListSourceExtendedFieldDefinitionsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the extended field definitions for the source with the specified name.- Specified by:
listSourceExtendedFieldDefinitions
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSourceLabelOperators
public Future<ListSourceLabelOperatorsResponse> listSourceLabelOperators(ListSourceLabelOperatorsRequest request, AsyncHandler<ListSourceLabelOperatorsRequest,ListSourceLabelOperatorsResponse> handler)
Description copied from interface: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.
- Specified by:
listSourceLabelOperators
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSourceMetaFunctions
public Future<ListSourceMetaFunctionsResponse> listSourceMetaFunctions(ListSourceMetaFunctionsRequest request, AsyncHandler<ListSourceMetaFunctionsRequest,ListSourceMetaFunctionsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the functions that could be used to enrich log entries based on meaningful information extracted from the log fields.- Specified by:
listSourceMetaFunctions
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSourcePatterns
public Future<ListSourcePatternsResponse> listSourcePatterns(ListSourcePatternsRequest request, AsyncHandler<ListSourcePatternsRequest,ListSourcePatternsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the source patterns for the source with the specified name.- Specified by:
listSourcePatterns
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSources
public Future<ListSourcesResponse> listSources(ListSourcesRequest request, AsyncHandler<ListSourcesRequest,ListSourcesResponse> handler)
Description copied from interface: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.
- Specified by:
listSources
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStorageWorkRequestErrors
public Future<ListStorageWorkRequestErrorsResponse> listStorageWorkRequestErrors(ListStorageWorkRequestErrorsRequest request, AsyncHandler<ListStorageWorkRequestErrorsRequest,ListStorageWorkRequestErrorsResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API returns the list of work request errors if any.- Specified by:
listStorageWorkRequestErrors
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStorageWorkRequests
public Future<ListStorageWorkRequestsResponse> listStorageWorkRequests(ListStorageWorkRequestsRequest request, AsyncHandler<ListStorageWorkRequestsRequest,ListStorageWorkRequestsResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API lists storage work requests.Use query parameters to narrow down or sort the result list.
- Specified by:
listStorageWorkRequests
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSupportedCharEncodings
public Future<ListSupportedCharEncodingsResponse> listSupportedCharEncodings(ListSupportedCharEncodingsRequest request, AsyncHandler<ListSupportedCharEncodingsRequest,ListSupportedCharEncodingsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets list of character encodings which are supported by on-demand upload.- Specified by:
listSupportedCharEncodings
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSupportedTimezones
public Future<ListSupportedTimezonesResponse> listSupportedTimezones(ListSupportedTimezonesRequest request, AsyncHandler<ListSupportedTimezonesRequest,ListSupportedTimezonesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets list of timezones which are supported by on-demand upload.- Specified by:
listSupportedTimezones
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listUploadFiles
public Future<ListUploadFilesResponse> listUploadFiles(ListUploadFilesRequest request, AsyncHandler<ListUploadFilesRequest,ListUploadFilesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets list of files in an upload along with its processing state.- Specified by:
listUploadFiles
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listUploadWarnings
public Future<ListUploadWarningsResponse> listUploadWarnings(ListUploadWarningsRequest request, AsyncHandler<ListUploadWarningsRequest,ListUploadWarningsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets list of warnings in an upload caused by incorrect configuration.- Specified by:
listUploadWarnings
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listUploads
public Future<ListUploadsResponse> listUploads(ListUploadsRequest request, AsyncHandler<ListUploadsRequest,ListUploadsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Gets a list of all On-demand uploads.To use this and other API operations, you must be authorized in an IAM policy.
- Specified by:
listUploads
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWarnings
public Future<ListWarningsResponse> listWarnings(ListWarningsRequest request, AsyncHandler<ListWarningsRequest,ListWarningsResponse> handler)
Description copied from interface: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.
- Specified by:
listWarnings
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Return a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrors
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Return a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogs
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
offboardNamespace
public Future<OffboardNamespaceResponse> offboardNamespace(OffboardNamespaceRequest request, AsyncHandler<OffboardNamespaceRequest,OffboardNamespaceResponse> handler)
Description copied from interface:LogAnalyticsAsync
Off-boards a tenant from Logging Analytics- Specified by:
offboardNamespace
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
onboardNamespace
public Future<OnboardNamespaceResponse> onboardNamespace(OnboardNamespaceRequest request, AsyncHandler<OnboardNamespaceRequest,OnboardNamespaceResponse> handler)
Description copied from interface:LogAnalyticsAsync
On-boards a tenant to Logging Analytics.- Specified by:
onboardNamespace
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
parseQuery
public Future<ParseQueryResponse> parseQuery(ParseQueryRequest request, AsyncHandler<ParseQueryRequest,ParseQueryResponse> handler)
Description copied from interface:LogAnalyticsAsync
Describe query- Specified by:
parseQuery
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
pauseScheduledTask
public Future<PauseScheduledTaskResponse> pauseScheduledTask(PauseScheduledTaskRequest request, AsyncHandler<PauseScheduledTaskRequest,PauseScheduledTaskResponse> handler)
Description copied from interface:LogAnalyticsAsync
Pause the scheduled task specified by {scheduledTaskId}.- Specified by:
pauseScheduledTask
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
purgeStorageData
public Future<PurgeStorageDataResponse> purgeStorageData(PurgeStorageDataRequest request, AsyncHandler<PurgeStorageDataRequest,PurgeStorageDataResponse> handler)
Description copied from interface: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.
- Specified by:
purgeStorageData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
putQueryWorkRequestBackground
public Future<PutQueryWorkRequestBackgroundResponse> putQueryWorkRequestBackground(PutQueryWorkRequestBackgroundRequest request, AsyncHandler<PutQueryWorkRequestBackgroundRequest,PutQueryWorkRequestBackgroundResponse> handler)
Description copied from interface: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.
- Specified by:
putQueryWorkRequestBackground
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
query
public Future<QueryResponse> query(QueryRequest request, AsyncHandler<QueryRequest,QueryResponse> handler)
Description copied from interface: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.
- Specified by:
query
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
recallArchivedData
public Future<RecallArchivedDataResponse> recallArchivedData(RecallArchivedDataRequest request, AsyncHandler<RecallArchivedDataRequest,RecallArchivedDataResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API submits a work request to recall archived data based on time interval and data type.- Specified by:
recallArchivedData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
registerLookup
public Future<RegisterLookupResponse> registerLookup(RegisterLookupRequest request, AsyncHandler<RegisterLookupRequest,RegisterLookupResponse> handler)
Description copied from interface: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.
- Specified by:
registerLookup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
releaseRecalledData
public Future<ReleaseRecalledDataResponse> releaseRecalledData(ReleaseRecalledDataRequest request, AsyncHandler<ReleaseRecalledDataRequest,ReleaseRecalledDataResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API submits a work request to release recalled data based on time interval and data type.- Specified by:
releaseRecalledData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeEntityAssociations
public Future<RemoveEntityAssociationsResponse> removeEntityAssociations(RemoveEntityAssociationsRequest request, AsyncHandler<RemoveEntityAssociationsRequest,RemoveEntityAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Delete association between input source log analytics entity and destination entities.- Specified by:
removeEntityAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removePreferences
public Future<RemovePreferencesResponse> removePreferences(RemovePreferencesRequest request, AsyncHandler<RemovePreferencesRequest,RemovePreferencesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Removes the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.- Specified by:
removePreferences
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeResourceCategories
public Future<RemoveResourceCategoriesResponse> removeResourceCategories(RemoveResourceCategoriesRequest request, AsyncHandler<RemoveResourceCategoriesRequest,RemoveResourceCategoriesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Removes the category assignments of DASHBOARD and SAVEDSEARCH resources.- Specified by:
removeResourceCategories
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeSourceEventTypes
public Future<RemoveSourceEventTypesResponse> removeSourceEventTypes(RemoveSourceEventTypesRequest request, AsyncHandler<RemoveSourceEventTypesRequest,RemoveSourceEventTypesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Remove one or more event types from a source.- Specified by:
removeSourceEventTypes
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
resumeScheduledTask
public Future<ResumeScheduledTaskResponse> resumeScheduledTask(ResumeScheduledTaskRequest request, AsyncHandler<ResumeScheduledTaskRequest,ResumeScheduledTaskResponse> handler)
Description copied from interface:LogAnalyticsAsync
Resume the scheduled task specified by {scheduledTaskId}.- Specified by:
resumeScheduledTask
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
run
public Future<RunResponse> run(RunRequest request, AsyncHandler<RunRequest,RunResponse> handler)
Description copied from interface: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.
- Specified by:
run
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
setUnprocessedDataBucket
public Future<SetUnprocessedDataBucketResponse> setUnprocessedDataBucket(SetUnprocessedDataBucketRequest request, AsyncHandler<SetUnprocessedDataBucketRequest,SetUnprocessedDataBucketResponse> handler)
Description copied from interface: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.
- Specified by:
setUnprocessedDataBucket
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
suggest
public Future<SuggestResponse> suggest(SuggestRequest request, AsyncHandler<SuggestRequest,SuggestResponse> handler)
Description copied from interface:LogAnalyticsAsync
Returns a context specific list of either commands, fields, or values to append to the end of the specified query string if applicable.- Specified by:
suggest
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
suppressWarning
public Future<SuppressWarningResponse> suppressWarning(SuppressWarningRequest request, AsyncHandler<SuppressWarningRequest,SuppressWarningResponse> handler)
Description copied from interface: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.
- Specified by:
suppressWarning
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
testParser
public Future<TestParserResponse> testParser(TestParserRequest request, AsyncHandler<TestParserRequest,TestParserResponse> handler)
Description copied from interface:LogAnalyticsAsync
Tests the parser definition against the specified example content to ensure fields are successfully extracted.- Specified by:
testParser
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
unsuppressWarning
public Future<UnsuppressWarningResponse> unsuppressWarning(UnsuppressWarningRequest request, AsyncHandler<UnsuppressWarningRequest,UnsuppressWarningResponse> handler)
Description copied from interface: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.
- Specified by:
unsuppressWarning
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateIngestTimeRule
public Future<UpdateIngestTimeRuleResponse> updateIngestTimeRule(UpdateIngestTimeRuleRequest request, AsyncHandler<UpdateIngestTimeRuleRequest,UpdateIngestTimeRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates the specified ingest time rule’s description, defined tags, and free-form tags.- Specified by:
updateIngestTimeRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLogAnalyticsEmBridge
public Future<UpdateLogAnalyticsEmBridgeResponse> updateLogAnalyticsEmBridge(UpdateLogAnalyticsEmBridgeRequest request, AsyncHandler<UpdateLogAnalyticsEmBridgeRequest,UpdateLogAnalyticsEmBridgeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Update log analytics enterprise manager bridge with the given id.- Specified by:
updateLogAnalyticsEmBridge
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLogAnalyticsEntity
public Future<UpdateLogAnalyticsEntityResponse> updateLogAnalyticsEntity(UpdateLogAnalyticsEntityRequest request, AsyncHandler<UpdateLogAnalyticsEntityRequest,UpdateLogAnalyticsEntityResponse> handler)
Description copied from interface:LogAnalyticsAsync
Update the log analytics entity with the given id.- Specified by:
updateLogAnalyticsEntity
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLogAnalyticsEntityType
public Future<UpdateLogAnalyticsEntityTypeResponse> updateLogAnalyticsEntityType(UpdateLogAnalyticsEntityTypeRequest request, AsyncHandler<UpdateLogAnalyticsEntityTypeRequest,UpdateLogAnalyticsEntityTypeResponse> handler)
Description copied from interface:LogAnalyticsAsync
Update custom log analytics entity type.Out of box entity types cannot be udpated.
- Specified by:
updateLogAnalyticsEntityType
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLogAnalyticsLogGroup
public Future<UpdateLogAnalyticsLogGroupResponse> updateLogAnalyticsLogGroup(UpdateLogAnalyticsLogGroupRequest request, AsyncHandler<UpdateLogAnalyticsLogGroupRequest,UpdateLogAnalyticsLogGroupResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates the specified log group’s display name, description, defined tags, and free-form tags.- Specified by:
updateLogAnalyticsLogGroup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLogAnalyticsObjectCollectionRule
public Future<UpdateLogAnalyticsObjectCollectionRuleResponse> updateLogAnalyticsObjectCollectionRule(UpdateLogAnalyticsObjectCollectionRuleRequest request, AsyncHandler<UpdateLogAnalyticsObjectCollectionRuleRequest,UpdateLogAnalyticsObjectCollectionRuleResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates configuration of the object collection rule for the given id.- Specified by:
updateLogAnalyticsObjectCollectionRule
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLookup
public Future<UpdateLookupResponse> updateLookup(UpdateLookupRequest request, AsyncHandler<UpdateLookupRequest,UpdateLookupResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates the metadata of the specified lookup, such as the lookup description.- Specified by:
updateLookup
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLookupData
public Future<UpdateLookupDataResponse> updateLookupData(UpdateLookupDataRequest request, AsyncHandler<UpdateLookupDataRequest,UpdateLookupDataResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates the lookup content.The csv file containing the content to be updated is passed in as binary data in the request.
- Specified by:
updateLookupData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePreferences
public Future<UpdatePreferencesResponse> updatePreferences(UpdatePreferencesRequest request, AsyncHandler<UpdatePreferencesRequest,UpdatePreferencesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.- Specified by:
updatePreferences
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateResourceCategories
public Future<UpdateResourceCategoriesResponse> updateResourceCategories(UpdateResourceCategoriesRequest request, AsyncHandler<UpdateResourceCategoriesRequest,UpdateResourceCategoriesResponse> handler)
Description copied from interface:LogAnalyticsAsync
Updates the category assignments of DASHBOARD and SAVEDSEARCH resources.- Specified by:
updateResourceCategories
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateScheduledTask
public Future<UpdateScheduledTaskResponse> updateScheduledTask(UpdateScheduledTaskRequest request, AsyncHandler<UpdateScheduledTaskRequest,UpdateScheduledTaskResponse> handler)
Description copied from interface:LogAnalyticsAsync
Update the scheduled task.Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
- Specified by:
updateScheduledTask
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStorage
public Future<UpdateStorageResponse> updateStorage(UpdateStorageRequest request, AsyncHandler<UpdateStorageRequest,UpdateStorageResponse> handler)
Description copied from interface:LogAnalyticsAsync
This API updates the archiving configuration- Specified by:
updateStorage
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
uploadDiscoveryData
public Future<UploadDiscoveryDataResponse> uploadDiscoveryData(UploadDiscoveryDataRequest request, AsyncHandler<UploadDiscoveryDataRequest,UploadDiscoveryDataResponse> handler)
Description copied from interface:LogAnalyticsAsync
Accepts discovery data for processing by Logging Analytics.- Specified by:
uploadDiscoveryData
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
uploadLogEventsFile
public Future<UploadLogEventsFileResponse> uploadLogEventsFile(UploadLogEventsFileRequest request, AsyncHandler<UploadLogEventsFileRequest,UploadLogEventsFileResponse> handler)
Description copied from interface:LogAnalyticsAsync
Accepts log events for processing by Logging Analytics.- Specified by:
uploadLogEventsFile
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
uploadLogFile
public Future<UploadLogFileResponse> uploadLogFile(UploadLogFileRequest request, AsyncHandler<UploadLogFileRequest,UploadLogFileResponse> handler)
Description copied from interface:LogAnalyticsAsync
Accepts log data for processing by Logging Analytics.- Specified by:
uploadLogFile
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
upsertAssociations
public Future<UpsertAssociationsResponse> upsertAssociations(UpsertAssociationsRequest request, AsyncHandler<UpsertAssociationsRequest,UpsertAssociationsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Creates or updates associations between sources and entities.All entities should belong to the specified input compartment.
- Specified by:
upsertAssociations
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
upsertField
public Future<UpsertFieldResponse> upsertField(UpsertFieldRequest request, AsyncHandler<UpsertFieldRequest,UpsertFieldResponse> handler)
Description copied from interface: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.
- Specified by:
upsertField
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
upsertLabel
public Future<UpsertLabelResponse> upsertLabel(UpsertLabelRequest request, AsyncHandler<UpsertLabelRequest,UpsertLabelResponse> handler)
Description copied from interface: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.
- Specified by:
upsertLabel
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
upsertParser
public Future<UpsertParserResponse> upsertParser(UpsertParserRequest request, AsyncHandler<UpsertParserRequest,UpsertParserResponse> handler)
Description copied from interface:LogAnalyticsAsync
Creates or updates a parser, which defines how fields are extracted from a log entry.- Specified by:
upsertParser
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
upsertSource
public Future<UpsertSourceResponse> upsertSource(UpsertSourceRequest request, AsyncHandler<UpsertSourceRequest,UpsertSourceResponse> handler)
Description copied from interface:LogAnalyticsAsync
Creates or updates a log source.You may also specify parsers, labels, extended fields etc., for the source.
- Specified by:
upsertSource
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateAssociationParameters
public Future<ValidateAssociationParametersResponse> validateAssociationParameters(ValidateAssociationParametersRequest request, AsyncHandler<ValidateAssociationParametersRequest,ValidateAssociationParametersResponse> handler)
Description copied from interface: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.
- Specified by:
validateAssociationParameters
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateEndpoint
public Future<ValidateEndpointResponse> validateEndpoint(ValidateEndpointRequest request, AsyncHandler<ValidateEndpointRequest,ValidateEndpointResponse> handler)
Description copied from interface:LogAnalyticsAsync
Validates the REST endpoint configuration.- Specified by:
validateEndpoint
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateFile
public Future<ValidateFileResponse> validateFile(ValidateFileRequest request, AsyncHandler<ValidateFileRequest,ValidateFileResponse> handler)
Description copied from interface:LogAnalyticsAsync
Validates a log file to check whether it is eligible to be uploaded or not.- Specified by:
validateFile
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateLabelCondition
public Future<ValidateLabelConditionResponse> validateLabelCondition(ValidateLabelConditionRequest request, AsyncHandler<ValidateLabelConditionRequest,ValidateLabelConditionResponse> handler)
Description copied from interface: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.
- Specified by:
validateLabelCondition
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateSource
public Future<ValidateSourceResponse> validateSource(ValidateSourceRequest request, AsyncHandler<ValidateSourceRequest,ValidateSourceResponse> handler)
Description copied from interface:LogAnalyticsAsync
Checks if the specified input is a valid log source definition.- Specified by:
validateSource
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateSourceExtendedFieldDetails
public Future<ValidateSourceExtendedFieldDetailsResponse> validateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request, AsyncHandler<ValidateSourceExtendedFieldDetailsRequest,ValidateSourceExtendedFieldDetailsResponse> handler)
Description copied from interface:LogAnalyticsAsync
Checks if the specified input contains valid extended field definitions against the provided example content.- Specified by:
validateSourceExtendedFieldDetails
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateSourceMapping
public Future<ValidateSourceMappingResponse> validateSourceMapping(ValidateSourceMappingRequest request, AsyncHandler<ValidateSourceMappingRequest,ValidateSourceMappingResponse> handler)
Description copied from interface:LogAnalyticsAsync
Validates the source mapping for a given file and provides match status and the parsed representation of log data.- Specified by:
validateSourceMapping
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
verify
public Future<VerifyResponse> verify(VerifyRequest request, AsyncHandler<VerifyRequest,VerifyResponse> handler)
Description copied from interface: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.
- Specified by:
verify
in interfaceLogAnalyticsAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint
- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient
.This will call
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
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)
-
-