@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.
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<ApproveDelegatedResourceAccessRequestResponse> approveDelegatedResourceAccessRequest(ApproveDelegatedResourceAccessRequestRequest request, AsyncHandler<ApproveDelegatedResourceAccessRequestRequest,ApproveDelegatedResourceAccessRequestResponse> handler)
Approves a Delegated Resource Access Request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDelegationControlResponse> createDelegationControl(CreateDelegationControlRequest request, AsyncHandler<CreateDelegationControlRequest,CreateDelegationControlResponse> handler)
Creates a Delegation Control.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDelegationSubscriptionResponse> createDelegationSubscription(CreateDelegationSubscriptionRequest request, AsyncHandler<CreateDelegationSubscriptionRequest,CreateDelegationSubscriptionResponse> handler)
Creates Delegation Subscription in Delegation Control.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDelegationSubscriptionResponse> deleteDelegationSubscription(DeleteDelegationSubscriptionRequest request, AsyncHandler<DeleteDelegationSubscriptionRequest,DeleteDelegationSubscriptionResponse> handler)
eletes an Delegation Subscription in Delegation Control.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDelegatedResourceAccessRequestResponse> getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestRequest request, AsyncHandler<GetDelegatedResourceAccessRequestRequest,GetDelegatedResourceAccessRequestResponse> handler)
Gets details of a Delegated Resource Access Request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDelegatedResourceAccessRequestAuditLogReportResponse> getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportRequest request, AsyncHandler<GetDelegatedResourceAccessRequestAuditLogReportRequest,GetDelegatedResourceAccessRequestAuditLogReportResponse> handler)
Gets the audit log report for the given Delegated Resource Access Request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDelegationControlResponse> getDelegationControl(GetDelegationControlRequest request, AsyncHandler<GetDelegationControlRequest,GetDelegationControlResponse> handler)
Gets the Delegation Control associated with the specified Delegation Control ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDelegationSubscriptionResponse> getDelegationSubscription(GetDelegationSubscriptionRequest request, AsyncHandler<GetDelegationSubscriptionRequest,GetDelegationSubscriptionResponse> handler)
Gets a DelegationSubscription by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetServiceProviderResponse> getServiceProvider(GetServiceProviderRequest request, AsyncHandler<GetServiceProviderRequest,GetServiceProviderResponse> handler)
Gets a ServiceProvider by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetServiceProviderActionResponse> getServiceProviderAction(GetServiceProviderActionRequest request, AsyncHandler<GetServiceProviderActionRequest,GetServiceProviderActionResponse> handler)
Gets the Service Provider Action associated with the specified Service Provider Action ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDelegatedResourceAccessRequestHistoriesResponse> listDelegatedResourceAccessRequestHistories(ListDelegatedResourceAccessRequestHistoriesRequest request, AsyncHandler<ListDelegatedResourceAccessRequestHistoriesRequest,ListDelegatedResourceAccessRequestHistoriesResponse> handler)
Returns a history of all status associated with the Delegated Resource Access RequestId.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDelegationControlResourcesResponse> listDelegationControlResources(ListDelegationControlResourcesRequest request, AsyncHandler<ListDelegationControlResourcesRequest,ListDelegationControlResourcesResponse> handler)
Returns a list of resources associated with the Delegation Control.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDelegationControlsResponse> listDelegationControls(ListDelegationControlsRequest request, AsyncHandler<ListDelegationControlsRequest,ListDelegationControlsResponse> handler)
Lists the Delegation Controls in the compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDelegationSubscriptionsResponse> listDelegationSubscriptions(ListDelegationSubscriptionsRequest request, AsyncHandler<ListDelegationSubscriptionsRequest,ListDelegationSubscriptionsResponse> handler)
Lists the Delegation Subscriptions in Delegation Control.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListServiceProviderActionsResponse> listServiceProviderActions(ListServiceProviderActionsRequest request, AsyncHandler<ListServiceProviderActionsRequest,ListServiceProviderActionsResponse> handler)
Lists all the ServiceProviderActions available in the system.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListServiceProviderInteractionsResponse> listServiceProviderInteractions(ListServiceProviderInteractionsRequest request, AsyncHandler<ListServiceProviderInteractionsRequest,ListServiceProviderInteractionsResponse> handler)
Lists the MoreInformation interaction between customer and support operators.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListServiceProvidersResponse> listServiceProviders(ListServiceProvidersRequest request, AsyncHandler<ListServiceProvidersRequest,ListServiceProvidersResponse> handler)
Lists the Service Providers.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RejectDelegatedResourceAccessRequestResponse> rejectDelegatedResourceAccessRequest(RejectDelegatedResourceAccessRequestRequest request, AsyncHandler<RejectDelegatedResourceAccessRequestRequest,RejectDelegatedResourceAccessRequestResponse> handler)
Rejects a Delegated Resource Access Request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RevokeDelegatedResourceAccessRequestResponse> revokeDelegatedResourceAccessRequest(RevokeDelegatedResourceAccessRequestRequest request, AsyncHandler<RevokeDelegatedResourceAccessRequestRequest,RevokeDelegatedResourceAccessRequestResponse> handler)
Revokes an already approved Delegated Resource Access Request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ServiceProviderInteractionRequestResponse> serviceProviderInteractionRequest(ServiceProviderInteractionRequestRequest request, AsyncHandler<ServiceProviderInteractionRequestRequest,ServiceProviderInteractionRequestResponse> handler)
Posts query for additional information for the given Delegated Resource Access Request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDelegationControlResponse> updateDelegationControl(UpdateDelegationControlRequest request, AsyncHandler<UpdateDelegationControlRequest,UpdateDelegationControlResponse> handler)
Updates the existing DelegationControl for a given Delegation Control ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDelegationSubscriptionResponse> updateDelegationSubscription(UpdateDelegationSubscriptionRequest request, AsyncHandler<UpdateDelegationSubscriptionRequest,UpdateDelegationSubscriptionResponse> handler)
Updates the existing DelegationSubscription for a given Delegation Subscription ID.
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.