@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public interface ContainerEngine extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
CreateClusterResponse |
createCluster(CreateClusterRequest request)
Create a new cluster.
|
CreateKubeconfigResponse |
createKubeconfig(CreateKubeconfigRequest request)
Create the Kubeconfig YAML for a cluster.
|
CreateNodePoolResponse |
createNodePool(CreateNodePoolRequest request)
Create a new node pool.
|
DeleteClusterResponse |
deleteCluster(DeleteClusterRequest request)
Delete a cluster.
|
DeleteNodePoolResponse |
deleteNodePool(DeleteNodePoolRequest request)
Delete a node pool.
|
DeleteWorkRequestResponse |
deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started.
|
GetClusterResponse |
getCluster(GetClusterRequest request)
Get the details of a cluster.
|
GetClusterOptionsResponse |
getClusterOptions(GetClusterOptionsRequest request)
Get options available for clusters.
|
GetNodePoolResponse |
getNodePool(GetNodePoolRequest request)
Get the details of a node pool.
|
GetNodePoolOptionsResponse |
getNodePoolOptions(GetNodePoolOptionsRequest request)
Get options available for node pools.
|
ContainerEnginePaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.
|
ContainerEngineWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Get the details of a work request.
|
ListClustersResponse |
listClusters(ListClustersRequest request)
List all the cluster objects in a compartment.
|
ListNodePoolsResponse |
listNodePools(ListNodePoolsRequest request)
List all the node pools in a compartment, and optionally filter by cluster.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Get the errors of a work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Get the logs of a work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
List all work requests in a compartment.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateClusterResponse |
updateCluster(UpdateClusterRequest request)
Update the details of a cluster.
|
UpdateNodePoolResponse |
updateNodePool(UpdateNodePoolRequest request)
Update the details of a node pool.
|
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.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.CreateClusterResponse createCluster(CreateClusterRequest request)
Create a new cluster.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateKubeconfigResponse createKubeconfig(CreateKubeconfigRequest request)
Create the Kubeconfig YAML for a cluster.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateNodePoolResponse createNodePool(CreateNodePoolRequest request)
Create a new node pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteClusterResponse deleteCluster(DeleteClusterRequest request)
Delete a cluster.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteNodePoolResponse deleteNodePool(DeleteNodePoolRequest request)
Delete a node pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetClusterResponse getCluster(GetClusterRequest request)
Get the details of a cluster.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetClusterOptionsResponse getClusterOptions(GetClusterOptionsRequest request)
Get options available for clusters.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetNodePoolResponse getNodePool(GetNodePoolRequest request)
Get the details of a node pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetNodePoolOptionsResponse getNodePoolOptions(GetNodePoolOptionsRequest request)
Get options available for node pools.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Get the details of a work request.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListClustersResponse listClusters(ListClustersRequest request)
List all the cluster objects in a compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListNodePoolsResponse listNodePools(ListNodePoolsRequest request)
List all the node pools in a compartment, and optionally filter by cluster.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Get the errors of a work request.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Get the logs of a work request.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
List all work requests in a compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateClusterResponse updateCluster(UpdateClusterRequest request)
Update the details of a cluster.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateNodePoolResponse updateNodePool(UpdateNodePoolRequest request)
Update the details of a node pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.ContainerEngineWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
ContainerEnginePaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2019. All rights reserved.