@Generated(value="OracleSDKGenerator", comments="API Version: 20220615") public interface ServiceMeshAsync extends AutoCloseable
Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items.
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<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
Cancels 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<ChangeAccessPolicyCompartmentResponse> changeAccessPolicyCompartment(ChangeAccessPolicyCompartmentRequest request, AsyncHandler<ChangeAccessPolicyCompartmentRequest,ChangeAccessPolicyCompartmentResponse> handler)
Moves an AccessPolicy resource from one compartment identifier to another. 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<ChangeIngressGatewayCompartmentResponse> changeIngressGatewayCompartment(ChangeIngressGatewayCompartmentRequest request, AsyncHandler<ChangeIngressGatewayCompartmentRequest,ChangeIngressGatewayCompartmentResponse> handler)
Moves a IngressGateway resource from one compartment identifier to another. 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<ChangeIngressGatewayRouteTableCompartmentResponse> changeIngressGatewayRouteTableCompartment(ChangeIngressGatewayRouteTableCompartmentRequest request, AsyncHandler<ChangeIngressGatewayRouteTableCompartmentRequest,ChangeIngressGatewayRouteTableCompartmentResponse> handler)
Moves a IngressGatewayRouteTable resource from one compartment identifier to another. 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<ChangeMeshCompartmentResponse> changeMeshCompartment(ChangeMeshCompartmentRequest request, AsyncHandler<ChangeMeshCompartmentRequest,ChangeMeshCompartmentResponse> handler)
Moves a Mesh resource from one compartment identifier to another. 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<ChangeVirtualDeploymentCompartmentResponse> changeVirtualDeploymentCompartment(ChangeVirtualDeploymentCompartmentRequest request, AsyncHandler<ChangeVirtualDeploymentCompartmentRequest,ChangeVirtualDeploymentCompartmentResponse> handler)
Moves a VirtualDeployment resource from one compartment identifier to another. 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<ChangeVirtualServiceCompartmentResponse> changeVirtualServiceCompartment(ChangeVirtualServiceCompartmentRequest request, AsyncHandler<ChangeVirtualServiceCompartmentRequest,ChangeVirtualServiceCompartmentResponse> handler)
Moves a VirtualService resource from one compartment identifier to another. 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<ChangeVirtualServiceRouteTableCompartmentResponse> changeVirtualServiceRouteTableCompartment(ChangeVirtualServiceRouteTableCompartmentRequest request, AsyncHandler<ChangeVirtualServiceRouteTableCompartmentRequest,ChangeVirtualServiceRouteTableCompartmentResponse> handler)
Moves a VirtualServiceRouteTable resource from one compartment identifier to another. 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<CreateAccessPolicyResponse> createAccessPolicy(CreateAccessPolicyRequest request, AsyncHandler<CreateAccessPolicyRequest,CreateAccessPolicyResponse> handler)
Creates a new AccessPolicy.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateIngressGatewayResponse> createIngressGateway(CreateIngressGatewayRequest request, AsyncHandler<CreateIngressGatewayRequest,CreateIngressGatewayResponse> handler)
Creates a new IngressGateway.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateIngressGatewayRouteTableResponse> createIngressGatewayRouteTable(CreateIngressGatewayRouteTableRequest request, AsyncHandler<CreateIngressGatewayRouteTableRequest,CreateIngressGatewayRouteTableResponse> handler)
Creates a new IngressGatewayRouteTable.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateMeshResponse> createMesh(CreateMeshRequest request, AsyncHandler<CreateMeshRequest,CreateMeshResponse> handler)
Creates a new Mesh.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateVirtualDeploymentResponse> createVirtualDeployment(CreateVirtualDeploymentRequest request, AsyncHandler<CreateVirtualDeploymentRequest,CreateVirtualDeploymentResponse> handler)
Creates a new VirtualDeployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateVirtualServiceResponse> createVirtualService(CreateVirtualServiceRequest request, AsyncHandler<CreateVirtualServiceRequest,CreateVirtualServiceResponse> handler)
Creates a new VirtualService.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateVirtualServiceRouteTableResponse> createVirtualServiceRouteTable(CreateVirtualServiceRouteTableRequest request, AsyncHandler<CreateVirtualServiceRouteTableRequest,CreateVirtualServiceRouteTableResponse> handler)
Creates a new VirtualServiceRouteTable.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteAccessPolicyResponse> deleteAccessPolicy(DeleteAccessPolicyRequest request, AsyncHandler<DeleteAccessPolicyRequest,DeleteAccessPolicyResponse> handler)
Deletes an AccessPolicy resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteIngressGatewayResponse> deleteIngressGateway(DeleteIngressGatewayRequest request, AsyncHandler<DeleteIngressGatewayRequest,DeleteIngressGatewayResponse> handler)
Deletes an IngressGateway resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteIngressGatewayRouteTableResponse> deleteIngressGatewayRouteTable(DeleteIngressGatewayRouteTableRequest request, AsyncHandler<DeleteIngressGatewayRouteTableRequest,DeleteIngressGatewayRouteTableResponse> handler)
Deletes a IngressGatewayRouteTable resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteMeshResponse> deleteMesh(DeleteMeshRequest request, AsyncHandler<DeleteMeshRequest,DeleteMeshResponse> handler)
Deletes a Mesh resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteVirtualDeploymentResponse> deleteVirtualDeployment(DeleteVirtualDeploymentRequest request, AsyncHandler<DeleteVirtualDeploymentRequest,DeleteVirtualDeploymentResponse> handler)
Deletes a VirtualDeployment resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteVirtualServiceResponse> deleteVirtualService(DeleteVirtualServiceRequest request, AsyncHandler<DeleteVirtualServiceRequest,DeleteVirtualServiceResponse> handler)
Deletes a VirtualService resource by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteVirtualServiceRouteTableResponse> deleteVirtualServiceRouteTable(DeleteVirtualServiceRouteTableRequest request, AsyncHandler<DeleteVirtualServiceRouteTableRequest,DeleteVirtualServiceRouteTableResponse> handler)
Deletes a VirtualServiceRouteTable resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAccessPolicyResponse> getAccessPolicy(GetAccessPolicyRequest request, AsyncHandler<GetAccessPolicyRequest,GetAccessPolicyResponse> handler)
Get an AccessPolicy by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetIngressGatewayResponse> getIngressGateway(GetIngressGatewayRequest request, AsyncHandler<GetIngressGatewayRequest,GetIngressGatewayResponse> handler)
Gets an IngressGateway by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetIngressGatewayRouteTableResponse> getIngressGatewayRouteTable(GetIngressGatewayRouteTableRequest request, AsyncHandler<GetIngressGatewayRouteTableRequest,GetIngressGatewayRouteTableResponse> handler)
Gets a IngressGatewayRouteTable by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetMeshResponse> getMesh(GetMeshRequest request, AsyncHandler<GetMeshRequest,GetMeshResponse> handler)
Gets a Mesh by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetProxyDetailsResponse> getProxyDetails(GetProxyDetailsRequest request, AsyncHandler<GetProxyDetailsRequest,GetProxyDetailsResponse> handler)
Returns the attributes of the Proxy such as proxy image version.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetVirtualDeploymentResponse> getVirtualDeployment(GetVirtualDeploymentRequest request, AsyncHandler<GetVirtualDeploymentRequest,GetVirtualDeploymentResponse> handler)
Gets a VirtualDeployment by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetVirtualServiceResponse> getVirtualService(GetVirtualServiceRequest request, AsyncHandler<GetVirtualServiceRequest,GetVirtualServiceResponse> handler)
Gets a VirtualService by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetVirtualServiceRouteTableResponse> getVirtualServiceRouteTable(GetVirtualServiceRouteTableRequest request, AsyncHandler<GetVirtualServiceRouteTableRequest,GetVirtualServiceRouteTableResponse> handler)
Gets a VirtualServiceRouteTable by identifier.
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<ListAccessPoliciesResponse> listAccessPolicies(ListAccessPoliciesRequest request, AsyncHandler<ListAccessPoliciesRequest,ListAccessPoliciesResponse> handler)
Returns a list of AccessPolicy objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListIngressGatewayRouteTablesResponse> listIngressGatewayRouteTables(ListIngressGatewayRouteTablesRequest request, AsyncHandler<ListIngressGatewayRouteTablesRequest,ListIngressGatewayRouteTablesResponse> handler)
Returns a list of IngressGatewayRouteTable objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListIngressGatewaysResponse> listIngressGateways(ListIngressGatewaysRequest request, AsyncHandler<ListIngressGatewaysRequest,ListIngressGatewaysResponse> handler)
Returns a list of IngressGateway objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMeshesResponse> listMeshes(ListMeshesRequest request, AsyncHandler<ListMeshesRequest,ListMeshesResponse> handler)
Returns a list of Mesh objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVirtualDeploymentsResponse> listVirtualDeployments(ListVirtualDeploymentsRequest request, AsyncHandler<ListVirtualDeploymentsRequest,ListVirtualDeploymentsResponse> handler)
Returns a list of VirtualDeployments.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVirtualServiceRouteTablesResponse> listVirtualServiceRouteTables(ListVirtualServiceRouteTablesRequest request, AsyncHandler<ListVirtualServiceRouteTablesRequest,ListVirtualServiceRouteTablesResponse> handler)
Returns a list of VirtualServiceRouteTable objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVirtualServicesResponse> listVirtualServices(ListVirtualServicesRequest request, AsyncHandler<ListVirtualServicesRequest,ListVirtualServicesResponse> handler)
Returns a list of VirtualService objects.
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<UpdateAccessPolicyResponse> updateAccessPolicy(UpdateAccessPolicyRequest request, AsyncHandler<UpdateAccessPolicyRequest,UpdateAccessPolicyResponse> handler)
Updates the AccessPolicy.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateIngressGatewayResponse> updateIngressGateway(UpdateIngressGatewayRequest request, AsyncHandler<UpdateIngressGatewayRequest,UpdateIngressGatewayResponse> handler)
Updates the IngressGateway.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateIngressGatewayRouteTableResponse> updateIngressGatewayRouteTable(UpdateIngressGatewayRouteTableRequest request, AsyncHandler<UpdateIngressGatewayRouteTableRequest,UpdateIngressGatewayRouteTableResponse> handler)
Updates the IngressGatewayRouteTable.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateMeshResponse> updateMesh(UpdateMeshRequest request, AsyncHandler<UpdateMeshRequest,UpdateMeshResponse> handler)
Updates the Mesh.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateVirtualDeploymentResponse> updateVirtualDeployment(UpdateVirtualDeploymentRequest request, AsyncHandler<UpdateVirtualDeploymentRequest,UpdateVirtualDeploymentResponse> handler)
Updates the VirtualDeployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateVirtualServiceResponse> updateVirtualService(UpdateVirtualServiceRequest request, AsyncHandler<UpdateVirtualServiceRequest,UpdateVirtualServiceResponse> handler)
Updates the VirtualService.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateVirtualServiceRouteTableResponse> updateVirtualServiceRouteTable(UpdateVirtualServiceRouteTableRequest request, AsyncHandler<UpdateVirtualServiceRouteTableRequest,UpdateVirtualServiceRouteTableResponse> handler)
Updates the VirtualServiceRouteTable.
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.