@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public interface ApmSyntheticAsync extends AutoCloseable
Use the Application Performance Monitoring Synthetic Monitoring API to query synthetic scripts and monitors. For more information, see Application Performance Monitoring.
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateFuture<AggregateNetworkDataResponse> aggregateNetworkData(AggregateNetworkDataRequest request, AsyncHandler<AggregateNetworkDataRequest,AggregateNetworkDataResponse> handler)
Gets aggregated network data for given executions.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDedicatedVantagePointResponse> createDedicatedVantagePoint(CreateDedicatedVantagePointRequest request, AsyncHandler<CreateDedicatedVantagePointRequest,CreateDedicatedVantagePointResponse> handler)
Registers a new dedicated vantage point.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateMonitorResponse> createMonitor(CreateMonitorRequest request, AsyncHandler<CreateMonitorRequest,CreateMonitorResponse> handler)
Creates a new monitor.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateOnPremiseVantagePointResponse> createOnPremiseVantagePoint(CreateOnPremiseVantagePointRequest request, AsyncHandler<CreateOnPremiseVantagePointRequest,CreateOnPremiseVantagePointResponse> handler)
Registers a new On-premise vantage point.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateScriptResponse> createScript(CreateScriptRequest request, AsyncHandler<CreateScriptRequest,CreateScriptResponse> handler)
Creates a new script.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateWorkerResponse> createWorker(CreateWorkerRequest request, AsyncHandler<CreateWorkerRequest,CreateWorkerResponse> handler)
Registers a new worker.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDedicatedVantagePointResponse> deleteDedicatedVantagePoint(DeleteDedicatedVantagePointRequest request, AsyncHandler<DeleteDedicatedVantagePointRequest,DeleteDedicatedVantagePointResponse> handler)
Deregisters the specified dedicated vantage point.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteMonitorResponse> deleteMonitor(DeleteMonitorRequest request, AsyncHandler<DeleteMonitorRequest,DeleteMonitorResponse> handler)
Deletes the specified monitor.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteOnPremiseVantagePointResponse> deleteOnPremiseVantagePoint(DeleteOnPremiseVantagePointRequest request, AsyncHandler<DeleteOnPremiseVantagePointRequest,DeleteOnPremiseVantagePointResponse> handler)
Deregisters the specified On-premise vantage point.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteScriptResponse> deleteScript(DeleteScriptRequest request, AsyncHandler<DeleteScriptRequest,DeleteScriptResponse> handler)
Deletes the specified script.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteWorkerResponse> deleteWorker(DeleteWorkerRequest request, AsyncHandler<DeleteWorkerRequest,DeleteWorkerResponse> handler)
Deregisters the specified worker.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDedicatedVantagePointResponse> getDedicatedVantagePoint(GetDedicatedVantagePointRequest request, AsyncHandler<GetDedicatedVantagePointRequest,GetDedicatedVantagePointResponse> handler)
Gets the details of the dedicated vantage point identified by the OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetMonitorResponse> getMonitor(GetMonitorRequest request, AsyncHandler<GetMonitorRequest,GetMonitorResponse> handler)
Gets the configuration of the monitor identified by the OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetMonitorResultResponse> getMonitorResult(GetMonitorResultRequest request, AsyncHandler<GetMonitorResultRequest,GetMonitorResultResponse> handler)
Gets the results for a specific execution of a monitor identified by OCID. The results are in a HAR file, Screenshot, Console Log or Network details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetOnPremiseVantagePointResponse> getOnPremiseVantagePoint(GetOnPremiseVantagePointRequest request, AsyncHandler<GetOnPremiseVantagePointRequest,GetOnPremiseVantagePointResponse> handler)
Gets the details of the On-premise vantage point identified by the OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetScriptResponse> getScript(GetScriptRequest request, AsyncHandler<GetScriptRequest,GetScriptResponse> handler)
Gets the configuration of the script identified by the OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkerResponse> getWorker(GetWorkerRequest request, AsyncHandler<GetWorkerRequest,GetWorkerResponse> handler)
Gets the details of the worker identified by the OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDedicatedVantagePointsResponse> listDedicatedVantagePoints(ListDedicatedVantagePointsRequest request, AsyncHandler<ListDedicatedVantagePointsRequest,ListDedicatedVantagePointsResponse> handler)
Returns a list of dedicated vantage points.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMonitorsResponse> listMonitors(ListMonitorsRequest request, AsyncHandler<ListMonitorsRequest,ListMonitorsResponse> handler)
Returns a list of monitors.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListOnPremiseVantagePointsResponse> listOnPremiseVantagePoints(ListOnPremiseVantagePointsRequest request, AsyncHandler<ListOnPremiseVantagePointsRequest,ListOnPremiseVantagePointsResponse> handler)
Returns a list of On-premise vantage points.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPublicVantagePointsResponse> listPublicVantagePoints(ListPublicVantagePointsRequest request, AsyncHandler<ListPublicVantagePointsRequest,ListPublicVantagePointsResponse> handler)
Returns a list of public vantage points.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListScriptsResponse> listScripts(ListScriptsRequest request, AsyncHandler<ListScriptsRequest,ListScriptsResponse> handler)
Returns a list of scripts.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkersResponse> listWorkers(ListWorkersRequest request, AsyncHandler<ListWorkersRequest,ListWorkersResponse> handler)
Returns a list of workers.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDedicatedVantagePointResponse> updateDedicatedVantagePoint(UpdateDedicatedVantagePointRequest request, AsyncHandler<UpdateDedicatedVantagePointRequest,UpdateDedicatedVantagePointResponse> handler)
Updates the dedicated vantage point.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateMonitorResponse> updateMonitor(UpdateMonitorRequest request, AsyncHandler<UpdateMonitorRequest,UpdateMonitorResponse> handler)
Updates the monitor.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateOnPremiseVantagePointResponse> updateOnPremiseVantagePoint(UpdateOnPremiseVantagePointRequest request, AsyncHandler<UpdateOnPremiseVantagePointRequest,UpdateOnPremiseVantagePointResponse> handler)
Updates the On-premise vantage point.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateScriptResponse> updateScript(UpdateScriptRequest request, AsyncHandler<UpdateScriptRequest,UpdateScriptResponse> handler)
Updates the script.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateWorkerResponse> updateWorker(UpdateWorkerRequest request, AsyncHandler<UpdateWorkerRequest,UpdateWorkerResponse> handler)
Updates the worker.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2024. All rights reserved.