@Generated(value="OracleSDKGenerator", comments="API Version: 20210527") public interface ServiceCatalogAsync extends AutoCloseable
Manage solutions in Oracle Cloud Infrastructure Service Catalog.
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<BulkReplaceServiceCatalogAssociationsResponse> bulkReplaceServiceCatalogAssociations(BulkReplaceServiceCatalogAssociationsRequest request, AsyncHandler<BulkReplaceServiceCatalogAssociationsRequest,BulkReplaceServiceCatalogAssociationsResponse> handler)
Replace all associations of a given service catalog in one bulk transaction.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangePrivateApplicationCompartmentResponse> changePrivateApplicationCompartment(ChangePrivateApplicationCompartmentRequest request, AsyncHandler<ChangePrivateApplicationCompartmentRequest,ChangePrivateApplicationCompartmentResponse> handler)
Moves the specified private application from one compartment to another.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeServiceCatalogCompartmentResponse> changeServiceCatalogCompartment(ChangeServiceCatalogCompartmentRequest request, AsyncHandler<ChangeServiceCatalogCompartmentRequest,ChangeServiceCatalogCompartmentResponse> handler)
Moves the specified service catalog from one compartment to another.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreatePrivateApplicationResponse> createPrivateApplication(CreatePrivateApplicationRequest request, AsyncHandler<CreatePrivateApplicationRequest,CreatePrivateApplicationResponse> handler)
Creates a private application along with a single package to be hosted.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateServiceCatalogResponse> createServiceCatalog(CreateServiceCatalogRequest request, AsyncHandler<CreateServiceCatalogRequest,CreateServiceCatalogResponse> handler)
Creates a brand new service catalog in a given compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateServiceCatalogAssociationResponse> createServiceCatalogAssociation(CreateServiceCatalogAssociationRequest request, AsyncHandler<CreateServiceCatalogAssociationRequest,CreateServiceCatalogAssociationResponse> handler)
Creates an association between service catalog and a resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePrivateApplicationResponse> deletePrivateApplication(DeletePrivateApplicationRequest request, AsyncHandler<DeletePrivateApplicationRequest,DeletePrivateApplicationResponse> handler)
Deletes an existing private application.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteServiceCatalogResponse> deleteServiceCatalog(DeleteServiceCatalogRequest request, AsyncHandler<DeleteServiceCatalogRequest,DeleteServiceCatalogResponse> handler)
Deletes the specified service catalog from the compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteServiceCatalogAssociationResponse> deleteServiceCatalogAssociation(DeleteServiceCatalogAssociationRequest request, AsyncHandler<DeleteServiceCatalogAssociationRequest,DeleteServiceCatalogAssociationResponse> handler)
Removes an association between service catalog and a resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPrivateApplicationResponse> getPrivateApplication(GetPrivateApplicationRequest request, AsyncHandler<GetPrivateApplicationRequest,GetPrivateApplicationResponse> handler)
Gets the details of the specified private application.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPrivateApplicationActionDownloadLogoResponse> getPrivateApplicationActionDownloadLogo(GetPrivateApplicationActionDownloadLogoRequest request, AsyncHandler<GetPrivateApplicationActionDownloadLogoRequest,GetPrivateApplicationActionDownloadLogoResponse> handler)
Downloads the binary payload of the logo image of the private application.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPrivateApplicationPackageResponse> getPrivateApplicationPackage(GetPrivateApplicationPackageRequest request, AsyncHandler<GetPrivateApplicationPackageRequest,GetPrivateApplicationPackageResponse> handler)
Gets the details of a specific package within a given private application.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPrivateApplicationPackageActionDownloadConfigResponse> getPrivateApplicationPackageActionDownloadConfig(GetPrivateApplicationPackageActionDownloadConfigRequest request, AsyncHandler<GetPrivateApplicationPackageActionDownloadConfigRequest,GetPrivateApplicationPackageActionDownloadConfigResponse> handler)
Downloads the configuration that was used to create the private application package.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetServiceCatalogResponse> getServiceCatalog(GetServiceCatalogRequest request, AsyncHandler<GetServiceCatalogRequest,GetServiceCatalogResponse> handler)
Gets detailed information about the service catalog including name, compartmentId
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetServiceCatalogAssociationResponse> getServiceCatalogAssociation(GetServiceCatalogAssociationRequest request, AsyncHandler<GetServiceCatalogAssociationRequest,GetServiceCatalogAssociationResponse> handler)
Gets detailed information about specific service catalog association.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the status of the work request with the given ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListApplicationsResponse> listApplications(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResponse> handler)
Lists all the applications in a service catalog or a tenancy. If no parameter is specified, all catalogs from all compartments in the tenancy will be scanned for any type of content.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPrivateApplicationPackagesResponse> listPrivateApplicationPackages(ListPrivateApplicationPackagesRequest request, AsyncHandler<ListPrivateApplicationPackagesRequest,ListPrivateApplicationPackagesResponse> handler)
Lists the packages in the specified private application.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPrivateApplicationsResponse> listPrivateApplications(ListPrivateApplicationsRequest request, AsyncHandler<ListPrivateApplicationsRequest,ListPrivateApplicationsResponse> handler)
Lists all the private applications in a given compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListServiceCatalogAssociationsResponse> listServiceCatalogAssociations(ListServiceCatalogAssociationsRequest request, AsyncHandler<ListServiceCatalogAssociationsRequest,ListServiceCatalogAssociationsResponse> handler)
Lists all the resource associations for a specific service catalog.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListServiceCatalogsResponse> listServiceCatalogs(ListServiceCatalogsRequest request, AsyncHandler<ListServiceCatalogsRequest,ListServiceCatalogsResponse> handler)
Lists all the service catalogs in the given compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Return a (paginated) list of errors for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Return a (paginated) list of logs for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePrivateApplicationResponse> updatePrivateApplication(UpdatePrivateApplicationRequest request, AsyncHandler<UpdatePrivateApplicationRequest,UpdatePrivateApplicationResponse> handler)
Updates the details of an existing private application.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateServiceCatalogResponse> updateServiceCatalog(UpdateServiceCatalogRequest request, AsyncHandler<UpdateServiceCatalogRequest,UpdateServiceCatalogResponse> handler)
Updates the details of a previously created service catalog.
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.