@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public interface ContainerEngineAsync extends AutoCloseable
API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, and manage cloud-native applications. For more information, see Overview of Kubernetes Engine.
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<ClusterMigrateToNativeVcnResponse> clusterMigrateToNativeVcn(ClusterMigrateToNativeVcnRequest request, AsyncHandler<ClusterMigrateToNativeVcnRequest,ClusterMigrateToNativeVcnResponse> handler)
Initiates cluster migration to use native VCN.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CompleteCredentialRotationResponse> completeCredentialRotation(CompleteCredentialRotationRequest request, AsyncHandler<CompleteCredentialRotationRequest,CompleteCredentialRotationResponse> handler)
Complete cluster credential rotation. Retire old credentials from kubernetes components.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateClusterResponse> createCluster(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResponse> handler)
Create a new cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateKubeconfigResponse> createKubeconfig(CreateKubeconfigRequest request, AsyncHandler<CreateKubeconfigRequest,CreateKubeconfigResponse> handler)
Create the Kubeconfig YAML for a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateNodePoolResponse> createNodePool(CreateNodePoolRequest request, AsyncHandler<CreateNodePoolRequest,CreateNodePoolResponse> handler)
Create a new node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateVirtualNodePoolResponse> createVirtualNodePool(CreateVirtualNodePoolRequest request, AsyncHandler<CreateVirtualNodePoolRequest,CreateVirtualNodePoolResponse> handler)
Create a new virtual node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateWorkloadMappingResponse> createWorkloadMapping(CreateWorkloadMappingRequest request, AsyncHandler<CreateWorkloadMappingRequest,CreateWorkloadMappingResponse> handler)
Create the specified workloadMapping for a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteClusterResponse> deleteCluster(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResponse> handler)
Delete a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteNodeResponse> deleteNode(DeleteNodeRequest request, AsyncHandler<DeleteNodeRequest,DeleteNodeResponse> handler)
Delete node.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteNodePoolResponse> deleteNodePool(DeleteNodePoolRequest request, AsyncHandler<DeleteNodePoolRequest,DeleteNodePoolResponse> handler)
Delete a node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteVirtualNodePoolResponse> deleteVirtualNodePool(DeleteVirtualNodePoolRequest request, AsyncHandler<DeleteVirtualNodePoolRequest,DeleteVirtualNodePoolResponse> handler)
Delete a virtual node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteWorkRequestResponse> deleteWorkRequest(DeleteWorkRequestRequest request, AsyncHandler<DeleteWorkRequestRequest,DeleteWorkRequestResponse> handler)
Cancel a work request that has not started.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteWorkloadMappingResponse> deleteWorkloadMapping(DeleteWorkloadMappingRequest request, AsyncHandler<DeleteWorkloadMappingRequest,DeleteWorkloadMappingResponse> handler)
Delete workloadMapping for a provisioned cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DisableAddonResponse> disableAddon(DisableAddonRequest request, AsyncHandler<DisableAddonRequest,DisableAddonResponse> handler)
Disable addon for a provisioned cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAddonResponse> getAddon(GetAddonRequest request, AsyncHandler<GetAddonRequest,GetAddonResponse> handler)
Get the specified addon for a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetClusterResponse> getCluster(GetClusterRequest request, AsyncHandler<GetClusterRequest,GetClusterResponse> handler)
Get the details of a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetClusterMigrateToNativeVcnStatusResponse> getClusterMigrateToNativeVcnStatus(GetClusterMigrateToNativeVcnStatusRequest request, AsyncHandler<GetClusterMigrateToNativeVcnStatusRequest,GetClusterMigrateToNativeVcnStatusResponse> handler)
Get details on a cluster’s migration to native VCN.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetClusterOptionsResponse> getClusterOptions(GetClusterOptionsRequest request, AsyncHandler<GetClusterOptionsRequest,GetClusterOptionsResponse> handler)
Get options available for clusters.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetCredentialRotationStatusResponse> getCredentialRotationStatus(GetCredentialRotationStatusRequest request, AsyncHandler<GetCredentialRotationStatusRequest,GetCredentialRotationStatusResponse> handler)
Get cluster credential rotation status.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetNodePoolResponse> getNodePool(GetNodePoolRequest request, AsyncHandler<GetNodePoolRequest,GetNodePoolResponse> handler)
Get the details of a node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetNodePoolOptionsResponse> getNodePoolOptions(GetNodePoolOptionsRequest request, AsyncHandler<GetNodePoolOptionsRequest,GetNodePoolOptionsResponse> handler)
Get options available for node pools.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetVirtualNodeResponse> getVirtualNode(GetVirtualNodeRequest request, AsyncHandler<GetVirtualNodeRequest,GetVirtualNodeResponse> handler)
Get the details of a virtual node.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetVirtualNodePoolResponse> getVirtualNodePool(GetVirtualNodePoolRequest request, AsyncHandler<GetVirtualNodePoolRequest,GetVirtualNodePoolResponse> handler)
Get the details of a virtual node pool.
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)
Get the details of a work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkloadMappingResponse> getWorkloadMapping(GetWorkloadMappingRequest request, AsyncHandler<GetWorkloadMappingRequest,GetWorkloadMappingResponse> handler)
Get the specified workloadMapping for a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<InstallAddonResponse> installAddon(InstallAddonRequest request, AsyncHandler<InstallAddonRequest,InstallAddonResponse> handler)
Install the specified addon for a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAddonOptionsResponse> listAddonOptions(ListAddonOptionsRequest request, AsyncHandler<ListAddonOptionsRequest,ListAddonOptionsResponse> handler)
Get list of supported addons for a specific kubernetes version.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAddonsResponse> listAddons(ListAddonsRequest request, AsyncHandler<ListAddonsRequest,ListAddonsResponse> handler)
List addon for a provisioned cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListClustersResponse> listClusters(ListClustersRequest request, AsyncHandler<ListClustersRequest,ListClustersResponse> handler)
List all the cluster objects in a compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNodePoolsResponse> listNodePools(ListNodePoolsRequest request, AsyncHandler<ListNodePoolsRequest,ListNodePoolsResponse> handler)
List all the node pools in a compartment, and optionally filter by cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPodShapesResponse> listPodShapes(ListPodShapesRequest request, AsyncHandler<ListPodShapesRequest,ListPodShapesResponse> handler)
List all the Pod Shapes in a compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVirtualNodePoolsResponse> listVirtualNodePools(ListVirtualNodePoolsRequest request, AsyncHandler<ListVirtualNodePoolsRequest,ListVirtualNodePoolsResponse> handler)
List all the virtual node pools in a compartment, and optionally filter by cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListVirtualNodesResponse> listVirtualNodes(ListVirtualNodesRequest request, AsyncHandler<ListVirtualNodesRequest,ListVirtualNodesResponse> handler)
List virtual nodes in a virtual node pool.
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)
Get the errors of a 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)
Get the logs of a 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)
List all 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<ListWorkloadMappingsResponse> listWorkloadMappings(ListWorkloadMappingsRequest request, AsyncHandler<ListWorkloadMappingsRequest,ListWorkloadMappingsResponse> handler)
List workloadMappings for a provisioned cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StartCredentialRotationResponse> startCredentialRotation(StartCredentialRotationRequest request, AsyncHandler<StartCredentialRotationRequest,StartCredentialRotationResponse> handler)
Start cluster credential rotation by adding new credentials, old credentials will still work after this operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAddonResponse> updateAddon(UpdateAddonRequest request, AsyncHandler<UpdateAddonRequest,UpdateAddonResponse> handler)
Update addon details for a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateClusterResponse> updateCluster(UpdateClusterRequest request, AsyncHandler<UpdateClusterRequest,UpdateClusterResponse> handler)
Update the details of a cluster.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateClusterEndpointConfigResponse> updateClusterEndpointConfig(UpdateClusterEndpointConfigRequest request, AsyncHandler<UpdateClusterEndpointConfigRequest,UpdateClusterEndpointConfigResponse> handler)
Update the details of the cluster endpoint configuration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateNodePoolResponse> updateNodePool(UpdateNodePoolRequest request, AsyncHandler<UpdateNodePoolRequest,UpdateNodePoolResponse> handler)
Update the details of a node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateVirtualNodePoolResponse> updateVirtualNodePool(UpdateVirtualNodePoolRequest request, AsyncHandler<UpdateVirtualNodePoolRequest,UpdateVirtualNodePoolResponse> handler)
Update the details of a virtual node pool.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateWorkloadMappingResponse> updateWorkloadMapping(UpdateWorkloadMappingRequest request, AsyncHandler<UpdateWorkloadMappingRequest,UpdateWorkloadMappingResponse> handler)
Update workloadMapping details for a cluster.
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.