@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public interface ContainerEngineAsync extends AutoCloseable
API for the Container Engine for Kubernetes service. Use this API to build, deploy, and manage cloud-native applications. For more information, see Overview of Container Engine for Kubernetes.
close
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.Future<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<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<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<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<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<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<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<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<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<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<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.Copyright © 2016–2022. All rights reserved.