Interface FleetAppsManagementAsync
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FleetAppsManagementAsyncClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public interface FleetAppsManagementAsync extends AutoCloseable
Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the serice.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Parameters:
region
- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
changeFleetCompartment
Future<ChangeFleetCompartmentResponse> changeFleetCompartment(ChangeFleetCompartmentRequest request, AsyncHandler<ChangeFleetCompartmentRequest,ChangeFleetCompartmentResponse> handler)
Moves a Fleet into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Parameters:
request
- The request object containing the details to 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.
-
checkResourceTagging
Future<CheckResourceTaggingResponse> checkResourceTagging(CheckResourceTaggingRequest request, AsyncHandler<CheckResourceTaggingRequest,CheckResourceTaggingResponse> handler)
Check if Fleet Application Management tags can be added to the resources.- 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.
-
confirmTargets
Future<ConfirmTargetsResponse> confirmTargets(ConfirmTargetsRequest request, AsyncHandler<ConfirmTargetsRequest,ConfirmTargetsResponse> handler)
Confirm targets to be managed for a Fleet.Only targets that are confirmed will be managed by Fleet Application Management.
- 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.
-
createFleet
Future<CreateFleetResponse> createFleet(CreateFleetRequest request, AsyncHandler<CreateFleetRequest,CreateFleetResponse> handler)
Create a fleet in Fleet Application Management.- 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.
-
createFleetCredential
Future<CreateFleetCredentialResponse> createFleetCredential(CreateFleetCredentialRequest request, AsyncHandler<CreateFleetCredentialRequest,CreateFleetCredentialResponse> handler)
Add credentials to a fleet in Fleet Application Management.- 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.
-
createFleetProperty
Future<CreateFleetPropertyResponse> createFleetProperty(CreateFleetPropertyRequest request, AsyncHandler<CreateFleetPropertyRequest,CreateFleetPropertyResponse> handler)
Add an existing global property to a fleet in Fleet Application Management.- 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.
-
createFleetResource
Future<CreateFleetResourceResponse> createFleetResource(CreateFleetResourceRequest request, AsyncHandler<CreateFleetResourceRequest,CreateFleetResourceResponse> handler)
Add resource to a fleet in Fleet Application Management.- 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.
-
deleteFleet
Future<DeleteFleetResponse> deleteFleet(DeleteFleetRequest request, AsyncHandler<DeleteFleetRequest,DeleteFleetResponse> handler)
Delete a fleet in Fleet Application Management.- 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.
-
deleteFleetCredential
Future<DeleteFleetCredentialResponse> deleteFleetCredential(DeleteFleetCredentialRequest request, AsyncHandler<DeleteFleetCredentialRequest,DeleteFleetCredentialResponse> handler)
Deletes a credential associated with a fleet or with a product/target with in a fleet.- 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.
-
deleteFleetProperty
Future<DeleteFleetPropertyResponse> deleteFleetProperty(DeleteFleetPropertyRequest request, AsyncHandler<DeleteFleetPropertyRequest,DeleteFleetPropertyResponse> handler)
Deletes a property associated with a fleet in Fleet Application Management.- 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.
-
deleteFleetResource
Future<DeleteFleetResourceResponse> deleteFleetResource(DeleteFleetResourceRequest request, AsyncHandler<DeleteFleetResourceRequest,DeleteFleetResourceResponse> handler)
Removes a resource from the fleet in Fleet Application Management.- 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.
-
generateComplianceReport
Future<GenerateComplianceReportResponse> generateComplianceReport(GenerateComplianceReportRequest request, AsyncHandler<GenerateComplianceReportRequest,GenerateComplianceReportResponse> handler)
Generate compliance report for a Fleet.- 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.
-
getComplianceReport
Future<GetComplianceReportResponse> getComplianceReport(GetComplianceReportRequest request, AsyncHandler<GetComplianceReportRequest,GetComplianceReportResponse> handler)
Retrieve compliance report for a fleet.- 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.
-
getFleet
Future<GetFleetResponse> getFleet(GetFleetRequest request, AsyncHandler<GetFleetRequest,GetFleetResponse> handler)
Get the details of a fleet in Fleet Application Management.- 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.
-
getFleetCredential
Future<GetFleetCredentialResponse> getFleetCredential(GetFleetCredentialRequest request, AsyncHandler<GetFleetCredentialRequest,GetFleetCredentialResponse> handler)
Gets a fleet credential by identifier.- 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.
-
getFleetProperty
Future<GetFleetPropertyResponse> getFleetProperty(GetFleetPropertyRequest request, AsyncHandler<GetFleetPropertyRequest,GetFleetPropertyResponse> handler)
Gets a fleet property by identifier.- 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.
-
getFleetResource
Future<GetFleetResourceResponse> getFleetResource(GetFleetResourceRequest request, AsyncHandler<GetFleetResourceRequest,GetFleetResourceResponse> handler)
Gets a fleet resource by identifier.- 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.
-
listAnnouncements
Future<ListAnnouncementsResponse> listAnnouncements(ListAnnouncementsRequest request, AsyncHandler<ListAnnouncementsRequest,ListAnnouncementsResponse> handler)
Return a list of Announcement Summary items in a tenancy.- 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.
-
listFleetCredentials
Future<ListFleetCredentialsResponse> listFleetCredentials(ListFleetCredentialsRequest request, AsyncHandler<ListFleetCredentialsRequest,ListFleetCredentialsResponse> handler)
List credentials associated with a fleet.- 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.
-
listFleetProducts
Future<ListFleetProductsResponse> listFleetProducts(ListFleetProductsRequest request, AsyncHandler<ListFleetProductsRequest,ListFleetProductsResponse> handler)
Returns a list of products associated with the confirmed targets.- 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.
-
listFleetProperties
Future<ListFleetPropertiesResponse> listFleetProperties(ListFleetPropertiesRequest request, AsyncHandler<ListFleetPropertiesRequest,ListFleetPropertiesResponse> handler)
List properties associated with a fleet.- 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.
-
listFleetResources
Future<ListFleetResourcesResponse> listFleetResources(ListFleetResourcesRequest request, AsyncHandler<ListFleetResourcesRequest,ListFleetResourcesResponse> handler)
List resources for a fleet in Fleet Application Management.- 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.
-
listFleetTargets
Future<ListFleetTargetsResponse> listFleetTargets(ListFleetTargetsRequest request, AsyncHandler<ListFleetTargetsRequest,ListFleetTargetsResponse> handler)
Returns the list of all confirmed targets within a fleet.- 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.
-
listFleets
Future<ListFleetsResponse> listFleets(ListFleetsRequest request, AsyncHandler<ListFleetsRequest,ListFleetsResponse> handler)
Returns a list of all the Fleets in the specified compartment.The query parameter
compartmentId
is required unless the query parameterid
is specified.- 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.
-
listInventoryResources
Future<ListInventoryResourcesResponse> listInventoryResources(ListInventoryResourcesRequest request, AsyncHandler<ListInventoryResourcesRequest,ListInventoryResourcesResponse> handler)
Returns a list of Inventory Resources based on the criteria provided.instance, dbsystem, cloudvmcluster resources are supported.
- 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.
-
listTargets
Future<ListTargetsResponse> listTargets(ListTargetsRequest request, AsyncHandler<ListTargetsRequest,ListTargetsResponse> handler)
Return all targets belonging to the resources within a fleet.It will include both confirmed and unconfirmed targets.
- 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.
-
requestResourceValidation
Future<RequestResourceValidationResponse> requestResourceValidation(RequestResourceValidationRequest request, AsyncHandler<RequestResourceValidationRequest,RequestResourceValidationResponse> handler)
Request validation for resources within a fleet.- 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.
-
requestTargetDiscovery
Future<RequestTargetDiscoveryResponse> requestTargetDiscovery(RequestTargetDiscoveryRequest request, AsyncHandler<RequestTargetDiscoveryRequest,RequestTargetDiscoveryResponse> handler)
Request target discovery for resources with in a fleet.- 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.
-
updateFleet
Future<UpdateFleetResponse> updateFleet(UpdateFleetRequest request, AsyncHandler<UpdateFleetRequest,UpdateFleetResponse> handler)
Update fleet information in Fleet Application Management.- 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.
-
updateFleetCredential
Future<UpdateFleetCredentialResponse> updateFleetCredential(UpdateFleetCredentialRequest request, AsyncHandler<UpdateFleetCredentialRequest,UpdateFleetCredentialResponse> handler)
Edit credential associated with a fleet or with a product/target with in a fleet.- 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.
-
updateFleetProperty
Future<UpdateFleetPropertyResponse> updateFleetProperty(UpdateFleetPropertyRequest request, AsyncHandler<UpdateFleetPropertyRequest,UpdateFleetPropertyResponse> handler)
Edit a property associated with a fleet in Fleet Application Management.- 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.
-
updateFleetResource
Future<UpdateFleetResourceResponse> updateFleetResource(UpdateFleetResourceRequest request, AsyncHandler<UpdateFleetResourceRequest,UpdateFleetResourceResponse> handler)
Updates the FleetResource.- 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.
-
-