Interface DelegateAccessControlAsync
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DelegateAccessControlAsyncClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public interface DelegateAccessControlAsync extends AutoCloseable
Oracle Delegate Access Control allows ExaCC and ExaCS customers to delegate management of their Exadata resources operators outside their tenancies.With Delegate Access Control, Support Providers can deliver managed services using comprehensive and robust tooling built on the OCI platform. Customers maintain control over who has access to the delegated resources in their tenancy and what actions can be taken. Enterprises managing resources across multiple tenants can use Delegate Access Control to streamline management tasks. Using logging service, customers can view a near real-time audit report of all actions performed by a Service Provider operator.
-
-
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
-
approveDelegatedResourceAccessRequest
Future<ApproveDelegatedResourceAccessRequestResponse> approveDelegatedResourceAccessRequest(ApproveDelegatedResourceAccessRequestRequest request, AsyncHandler<ApproveDelegatedResourceAccessRequestRequest,ApproveDelegatedResourceAccessRequestResponse> handler)
Approves a Delegated Resource Access Request.- 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.
-
changeDelegationControlCompartment
Future<ChangeDelegationControlCompartmentResponse> changeDelegationControlCompartment(ChangeDelegationControlCompartmentRequest request, AsyncHandler<ChangeDelegationControlCompartmentRequest,ChangeDelegationControlCompartmentResponse> handler)
Moves the Delegation Control resource into a different compartment.When provided, ‘If-Match’ is checked against ‘ETag’ values of the resource.
- 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.
-
changeDelegationSubscriptionCompartment
Future<ChangeDelegationSubscriptionCompartmentResponse> changeDelegationSubscriptionCompartment(ChangeDelegationSubscriptionCompartmentRequest request, AsyncHandler<ChangeDelegationSubscriptionCompartmentRequest,ChangeDelegationSubscriptionCompartmentResponse> handler)
Moves the Delegation Subscription resource into a different compartment.When provided, ‘If-Match’ is checked against ‘ETag’ values of the resource.
- 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.
-
createDelegationControl
Future<CreateDelegationControlResponse> createDelegationControl(CreateDelegationControlRequest request, AsyncHandler<CreateDelegationControlRequest,CreateDelegationControlResponse> handler)
Creates a Delegation Control.- 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.
-
createDelegationSubscription
Future<CreateDelegationSubscriptionResponse> createDelegationSubscription(CreateDelegationSubscriptionRequest request, AsyncHandler<CreateDelegationSubscriptionRequest,CreateDelegationSubscriptionResponse> handler)
Creates Delegation Subscription in Delegation Control.- 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.
-
deleteDelegationControl
Future<DeleteDelegationControlResponse> deleteDelegationControl(DeleteDelegationControlRequest request, AsyncHandler<DeleteDelegationControlRequest,DeleteDelegationControlResponse> handler)
Deletes a Delegation Control.You cannot delete a Delegation Control if it is assigned to govern any target resource currently or in the future. In that case, first, delete all of the current and future assignments before deleting the Delegation Control. A Delegation Control that was previously assigned to a target resource is marked as DELETED following a successful deletion. However, it is not completely deleted from the system. This is to ensure auditing information for the accesses done under the Delegation Control is preserved for future needs. The system purges the deleted Delegation Control only when all of the audit data associated with the Delegation Control are also deleted. Therefore, you cannot reuse the name of the deleted Delegation Control until the system purges the Delegation Control.
- 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.
-
deleteDelegationSubscription
Future<DeleteDelegationSubscriptionResponse> deleteDelegationSubscription(DeleteDelegationSubscriptionRequest request, AsyncHandler<DeleteDelegationSubscriptionRequest,DeleteDelegationSubscriptionResponse> handler)
eletes an Delegation Subscription in Delegation Control.- 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.
-
getDelegatedResourceAccessRequest
Future<GetDelegatedResourceAccessRequestResponse> getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestRequest request, AsyncHandler<GetDelegatedResourceAccessRequestRequest,GetDelegatedResourceAccessRequestResponse> handler)
Gets details of a Delegated Resource Access Request.- 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.
-
getDelegatedResourceAccessRequestAuditLogReport
Future<GetDelegatedResourceAccessRequestAuditLogReportResponse> getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportRequest request, AsyncHandler<GetDelegatedResourceAccessRequestAuditLogReportRequest,GetDelegatedResourceAccessRequestAuditLogReportResponse> handler)
Gets the audit log report for the given Delegated Resource Access Request.- 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.
-
getDelegationControl
Future<GetDelegationControlResponse> getDelegationControl(GetDelegationControlRequest request, AsyncHandler<GetDelegationControlRequest,GetDelegationControlResponse> handler)
Gets the Delegation Control associated with the specified Delegation Control ID.- 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.
-
getDelegationSubscription
Future<GetDelegationSubscriptionResponse> getDelegationSubscription(GetDelegationSubscriptionRequest request, AsyncHandler<GetDelegationSubscriptionRequest,GetDelegationSubscriptionResponse> handler)
Gets a DelegationSubscription 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.
-
getServiceProvider
Future<GetServiceProviderResponse> getServiceProvider(GetServiceProviderRequest request, AsyncHandler<GetServiceProviderRequest,GetServiceProviderResponse> handler)
Gets a ServiceProvider 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.
-
getServiceProviderAction
Future<GetServiceProviderActionResponse> getServiceProviderAction(GetServiceProviderActionRequest request, AsyncHandler<GetServiceProviderActionRequest,GetServiceProviderActionResponse> handler)
Gets the Service Provider Action associated with the specified Service Provider Action ID.- 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.
-
listDelegatedResourceAccessRequestHistories
Future<ListDelegatedResourceAccessRequestHistoriesResponse> listDelegatedResourceAccessRequestHistories(ListDelegatedResourceAccessRequestHistoriesRequest request, AsyncHandler<ListDelegatedResourceAccessRequestHistoriesRequest,ListDelegatedResourceAccessRequestHistoriesResponse> handler)
Returns a history of all status associated with the Delegated Resource Access RequestId.- 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.
-
listDelegatedResourceAccessRequests
Future<ListDelegatedResourceAccessRequestsResponse> listDelegatedResourceAccessRequests(ListDelegatedResourceAccessRequestsRequest request, AsyncHandler<ListDelegatedResourceAccessRequestsRequest,ListDelegatedResourceAccessRequestsResponse> handler)
Lists all Delegated Resource Access Requests in the compartment.Note that only one of lifecycleState or requestStatus query parameter can be used.
- 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.
-
listDelegationControlResources
Future<ListDelegationControlResourcesResponse> listDelegationControlResources(ListDelegationControlResourcesRequest request, AsyncHandler<ListDelegationControlResourcesRequest,ListDelegationControlResourcesResponse> handler)
Returns a list of resources associated with the Delegation Control.- 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.
-
listDelegationControls
Future<ListDelegationControlsResponse> listDelegationControls(ListDelegationControlsRequest request, AsyncHandler<ListDelegationControlsRequest,ListDelegationControlsResponse> handler)
Lists the Delegation Controls in the 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.
-
listDelegationSubscriptions
Future<ListDelegationSubscriptionsResponse> listDelegationSubscriptions(ListDelegationSubscriptionsRequest request, AsyncHandler<ListDelegationSubscriptionsRequest,ListDelegationSubscriptionsResponse> handler)
Lists the Delegation Subscriptions in Delegation Control.- 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.
-
listServiceProviderActions
Future<ListServiceProviderActionsResponse> listServiceProviderActions(ListServiceProviderActionsRequest request, AsyncHandler<ListServiceProviderActionsRequest,ListServiceProviderActionsResponse> handler)
Lists all the ServiceProviderActions available in the system.- 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.
-
listServiceProviderInteractions
Future<ListServiceProviderInteractionsResponse> listServiceProviderInteractions(ListServiceProviderInteractionsRequest request, AsyncHandler<ListServiceProviderInteractionsRequest,ListServiceProviderInteractionsResponse> handler)
Lists the MoreInformation interaction between customer and support operators.- 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.
-
listServiceProviders
Future<ListServiceProvidersResponse> listServiceProviders(ListServiceProvidersRequest request, AsyncHandler<ListServiceProvidersRequest,ListServiceProvidersResponse> handler)
Lists the Service Providers.- 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.
-
rejectDelegatedResourceAccessRequest
Future<RejectDelegatedResourceAccessRequestResponse> rejectDelegatedResourceAccessRequest(RejectDelegatedResourceAccessRequestRequest request, AsyncHandler<RejectDelegatedResourceAccessRequestRequest,RejectDelegatedResourceAccessRequestResponse> handler)
Rejects a Delegated Resource Access Request.- 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.
-
revokeDelegatedResourceAccessRequest
Future<RevokeDelegatedResourceAccessRequestResponse> revokeDelegatedResourceAccessRequest(RevokeDelegatedResourceAccessRequestRequest request, AsyncHandler<RevokeDelegatedResourceAccessRequestRequest,RevokeDelegatedResourceAccessRequestResponse> handler)
Revokes an already approved Delegated Resource Access Request.- 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.
-
serviceProviderInteractionRequest
Future<ServiceProviderInteractionRequestResponse> serviceProviderInteractionRequest(ServiceProviderInteractionRequestRequest request, AsyncHandler<ServiceProviderInteractionRequestRequest,ServiceProviderInteractionRequestResponse> handler)
Posts query for additional information for the given Delegated Resource Access Request.- 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.
-
updateDelegationControl
Future<UpdateDelegationControlResponse> updateDelegationControl(UpdateDelegationControlRequest request, AsyncHandler<UpdateDelegationControlRequest,UpdateDelegationControlResponse> handler)
Updates the existing DelegationControl for a given Delegation Control ID.- 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.
-
updateDelegationSubscription
Future<UpdateDelegationSubscriptionResponse> updateDelegationSubscription(UpdateDelegationSubscriptionRequest request, AsyncHandler<UpdateDelegationSubscriptionRequest,UpdateDelegationSubscriptionResponse> handler)
Updates the existing DelegationSubscription for a given Delegation Subscription ID.- 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.
-
-