oci-containerengine 2.32.0 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +30 -21
- package/lib/client.js +96 -24
- package/lib/client.js.map +1 -1
- package/lib/containerengine-waiter.d.ts +8 -0
- package/lib/containerengine-waiter.js +12 -0
- package/lib/containerengine-waiter.js.map +1 -1
- package/lib/model/create-node-pool-details.d.ts +1 -0
- package/lib/model/create-node-pool-details.js +6 -0
- package/lib/model/create-node-pool-details.js.map +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +6 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/node-eviction-node-pool-settings.d.ts +34 -0
- package/lib/model/node-eviction-node-pool-settings.js +32 -0
- package/lib/model/node-eviction-node-pool-settings.js.map +1 -0
- package/lib/model/node-pool-lifecycle-state.d.ts +37 -0
- package/lib/model/node-pool-lifecycle-state.js +48 -0
- package/lib/model/node-pool-lifecycle-state.js.map +1 -0
- package/lib/model/node-pool-summary.d.ts +9 -0
- package/lib/model/node-pool-summary.js +6 -0
- package/lib/model/node-pool-summary.js.map +1 -1
- package/lib/model/node-pool.d.ts +9 -0
- package/lib/model/node-pool.js +6 -0
- package/lib/model/node-pool.js.map +1 -1
- package/lib/model/update-node-pool-details.d.ts +1 -0
- package/lib/model/update-node-pool-details.js +6 -0
- package/lib/model/update-node-pool-details.js.map +1 -1
- package/lib/request/cluster-migrate-to-native-vcn-request.d.ts +1 -1
- package/lib/request/create-cluster-request.d.ts +1 -1
- package/lib/request/create-kubeconfig-request.d.ts +1 -1
- package/lib/request/create-node-pool-request.d.ts +1 -1
- package/lib/request/delete-cluster-request.d.ts +1 -1
- package/lib/request/delete-node-pool-request.d.ts +11 -1
- package/lib/request/delete-node-request.d.ts +53 -0
- package/lib/request/delete-node-request.js +15 -0
- package/lib/request/delete-node-request.js.map +1 -0
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-cluster-migrate-to-native-vcn-status-request.d.ts +1 -1
- package/lib/request/get-cluster-options-request.d.ts +1 -1
- package/lib/request/get-cluster-request.d.ts +1 -1
- package/lib/request/get-node-pool-options-request.d.ts +1 -1
- package/lib/request/get-node-pool-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-clusters-request.d.ts +1 -1
- package/lib/request/list-node-pools-request.d.ts +5 -1
- package/lib/request/list-node-pools-request.js.map +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-cluster-endpoint-config-request.d.ts +1 -1
- package/lib/request/update-cluster-request.d.ts +1 -1
- package/lib/request/update-node-pool-request.d.ts +11 -1
- package/lib/response/delete-node-response.d.ts +22 -0
- package/lib/response/delete-node-response.js +15 -0
- package/lib/response/delete-node-response.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare class ContainerEngineClient {
|
|
|
79
79
|
* @param ClusterMigrateToNativeVcnRequest
|
|
80
80
|
* @return ClusterMigrateToNativeVcnResponse
|
|
81
81
|
* @throws OciError when an error occurs
|
|
82
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
82
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcn API.
|
|
83
83
|
*/
|
|
84
84
|
clusterMigrateToNativeVcn(clusterMigrateToNativeVcnRequest: requests.ClusterMigrateToNativeVcnRequest): Promise<responses.ClusterMigrateToNativeVcnResponse>;
|
|
85
85
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class ContainerEngineClient {
|
|
|
88
88
|
* @param CreateClusterRequest
|
|
89
89
|
* @return CreateClusterResponse
|
|
90
90
|
* @throws OciError when an error occurs
|
|
91
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
91
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateCluster.ts.html |here} to see how to use CreateCluster API.
|
|
92
92
|
*/
|
|
93
93
|
createCluster(createClusterRequest: requests.CreateClusterRequest): Promise<responses.CreateClusterResponse>;
|
|
94
94
|
/**
|
|
@@ -97,7 +97,7 @@ export declare class ContainerEngineClient {
|
|
|
97
97
|
* @param CreateKubeconfigRequest
|
|
98
98
|
* @return CreateKubeconfigResponse
|
|
99
99
|
* @throws OciError when an error occurs
|
|
100
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfig API.
|
|
101
101
|
*/
|
|
102
102
|
createKubeconfig(createKubeconfigRequest: requests.CreateKubeconfigRequest): Promise<responses.CreateKubeconfigResponse>;
|
|
103
103
|
/**
|
|
@@ -106,7 +106,7 @@ export declare class ContainerEngineClient {
|
|
|
106
106
|
* @param CreateNodePoolRequest
|
|
107
107
|
* @return CreateNodePoolResponse
|
|
108
108
|
* @throws OciError when an error occurs
|
|
109
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePool API.
|
|
110
110
|
*/
|
|
111
111
|
createNodePool(createNodePoolRequest: requests.CreateNodePoolRequest): Promise<responses.CreateNodePoolResponse>;
|
|
112
112
|
/**
|
|
@@ -115,16 +115,25 @@ export declare class ContainerEngineClient {
|
|
|
115
115
|
* @param DeleteClusterRequest
|
|
116
116
|
* @return DeleteClusterResponse
|
|
117
117
|
* @throws OciError when an error occurs
|
|
118
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
119
119
|
*/
|
|
120
120
|
deleteCluster(deleteClusterRequest: requests.DeleteClusterRequest): Promise<responses.DeleteClusterResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* Delete node.
|
|
123
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
124
|
+
* @param DeleteNodeRequest
|
|
125
|
+
* @return DeleteNodeResponse
|
|
126
|
+
* @throws OciError when an error occurs
|
|
127
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteNode.ts.html |here} to see how to use DeleteNode API.
|
|
128
|
+
*/
|
|
129
|
+
deleteNode(deleteNodeRequest: requests.DeleteNodeRequest): Promise<responses.DeleteNodeResponse>;
|
|
121
130
|
/**
|
|
122
131
|
* Delete a node pool.
|
|
123
132
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
124
133
|
* @param DeleteNodePoolRequest
|
|
125
134
|
* @return DeleteNodePoolResponse
|
|
126
135
|
* @throws OciError when an error occurs
|
|
127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePool API.
|
|
128
137
|
*/
|
|
129
138
|
deleteNodePool(deleteNodePoolRequest: requests.DeleteNodePoolRequest): Promise<responses.DeleteNodePoolResponse>;
|
|
130
139
|
/**
|
|
@@ -133,7 +142,7 @@ export declare class ContainerEngineClient {
|
|
|
133
142
|
* @param DeleteWorkRequestRequest
|
|
134
143
|
* @return DeleteWorkRequestResponse
|
|
135
144
|
* @throws OciError when an error occurs
|
|
136
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
145
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
137
146
|
*/
|
|
138
147
|
deleteWorkRequest(deleteWorkRequestRequest: requests.DeleteWorkRequestRequest): Promise<responses.DeleteWorkRequestResponse>;
|
|
139
148
|
/**
|
|
@@ -142,7 +151,7 @@ export declare class ContainerEngineClient {
|
|
|
142
151
|
* @param GetClusterRequest
|
|
143
152
|
* @return GetClusterResponse
|
|
144
153
|
* @throws OciError when an error occurs
|
|
145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetCluster.ts.html |here} to see how to use GetCluster API.
|
|
146
155
|
*/
|
|
147
156
|
getCluster(getClusterRequest: requests.GetClusterRequest): Promise<responses.GetClusterResponse>;
|
|
148
157
|
/**
|
|
@@ -151,7 +160,7 @@ export declare class ContainerEngineClient {
|
|
|
151
160
|
* @param GetClusterMigrateToNativeVcnStatusRequest
|
|
152
161
|
* @return GetClusterMigrateToNativeVcnStatusResponse
|
|
153
162
|
* @throws OciError when an error occurs
|
|
154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
163
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatus API.
|
|
155
164
|
*/
|
|
156
165
|
getClusterMigrateToNativeVcnStatus(getClusterMigrateToNativeVcnStatusRequest: requests.GetClusterMigrateToNativeVcnStatusRequest): Promise<responses.GetClusterMigrateToNativeVcnStatusResponse>;
|
|
157
166
|
/**
|
|
@@ -160,7 +169,7 @@ export declare class ContainerEngineClient {
|
|
|
160
169
|
* @param GetClusterOptionsRequest
|
|
161
170
|
* @return GetClusterOptionsResponse
|
|
162
171
|
* @throws OciError when an error occurs
|
|
163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
172
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptions API.
|
|
164
173
|
*/
|
|
165
174
|
getClusterOptions(getClusterOptionsRequest: requests.GetClusterOptionsRequest): Promise<responses.GetClusterOptionsResponse>;
|
|
166
175
|
/**
|
|
@@ -169,7 +178,7 @@ export declare class ContainerEngineClient {
|
|
|
169
178
|
* @param GetNodePoolRequest
|
|
170
179
|
* @return GetNodePoolResponse
|
|
171
180
|
* @throws OciError when an error occurs
|
|
172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePool API.
|
|
173
182
|
*/
|
|
174
183
|
getNodePool(getNodePoolRequest: requests.GetNodePoolRequest): Promise<responses.GetNodePoolResponse>;
|
|
175
184
|
/**
|
|
@@ -178,7 +187,7 @@ export declare class ContainerEngineClient {
|
|
|
178
187
|
* @param GetNodePoolOptionsRequest
|
|
179
188
|
* @return GetNodePoolOptionsResponse
|
|
180
189
|
* @throws OciError when an error occurs
|
|
181
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
190
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptions API.
|
|
182
191
|
*/
|
|
183
192
|
getNodePoolOptions(getNodePoolOptionsRequest: requests.GetNodePoolOptionsRequest): Promise<responses.GetNodePoolOptionsResponse>;
|
|
184
193
|
/**
|
|
@@ -187,7 +196,7 @@ export declare class ContainerEngineClient {
|
|
|
187
196
|
* @param GetWorkRequestRequest
|
|
188
197
|
* @return GetWorkRequestResponse
|
|
189
198
|
* @throws OciError when an error occurs
|
|
190
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
199
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
191
200
|
*/
|
|
192
201
|
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
|
|
193
202
|
/**
|
|
@@ -196,7 +205,7 @@ export declare class ContainerEngineClient {
|
|
|
196
205
|
* @param ListClustersRequest
|
|
197
206
|
* @return ListClustersResponse
|
|
198
207
|
* @throws OciError when an error occurs
|
|
199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListClusters.ts.html |here} to see how to use ListClusters API.
|
|
200
209
|
*/
|
|
201
210
|
listClusters(listClustersRequest: requests.ListClustersRequest): Promise<responses.ListClustersResponse>;
|
|
202
211
|
/**
|
|
@@ -237,7 +246,7 @@ export declare class ContainerEngineClient {
|
|
|
237
246
|
* @param ListNodePoolsRequest
|
|
238
247
|
* @return ListNodePoolsResponse
|
|
239
248
|
* @throws OciError when an error occurs
|
|
240
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePools API.
|
|
241
250
|
*/
|
|
242
251
|
listNodePools(listNodePoolsRequest: requests.ListNodePoolsRequest): Promise<responses.ListNodePoolsResponse>;
|
|
243
252
|
/**
|
|
@@ -278,7 +287,7 @@ export declare class ContainerEngineClient {
|
|
|
278
287
|
* @param ListWorkRequestErrorsRequest
|
|
279
288
|
* @return ListWorkRequestErrorsResponse
|
|
280
289
|
* @throws OciError when an error occurs
|
|
281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
290
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
282
291
|
*/
|
|
283
292
|
listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
|
|
284
293
|
/**
|
|
@@ -287,7 +296,7 @@ export declare class ContainerEngineClient {
|
|
|
287
296
|
* @param ListWorkRequestLogsRequest
|
|
288
297
|
* @return ListWorkRequestLogsResponse
|
|
289
298
|
* @throws OciError when an error occurs
|
|
290
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
291
300
|
*/
|
|
292
301
|
listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
|
|
293
302
|
/**
|
|
@@ -296,7 +305,7 @@ export declare class ContainerEngineClient {
|
|
|
296
305
|
* @param ListWorkRequestsRequest
|
|
297
306
|
* @return ListWorkRequestsResponse
|
|
298
307
|
* @throws OciError when an error occurs
|
|
299
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
308
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
300
309
|
*/
|
|
301
310
|
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
|
|
302
311
|
/**
|
|
@@ -337,7 +346,7 @@ export declare class ContainerEngineClient {
|
|
|
337
346
|
* @param UpdateClusterRequest
|
|
338
347
|
* @return UpdateClusterResponse
|
|
339
348
|
* @throws OciError when an error occurs
|
|
340
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
349
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
|
|
341
350
|
*/
|
|
342
351
|
updateCluster(updateClusterRequest: requests.UpdateClusterRequest): Promise<responses.UpdateClusterResponse>;
|
|
343
352
|
/**
|
|
@@ -346,7 +355,7 @@ export declare class ContainerEngineClient {
|
|
|
346
355
|
* @param UpdateClusterEndpointConfigRequest
|
|
347
356
|
* @return UpdateClusterEndpointConfigResponse
|
|
348
357
|
* @throws OciError when an error occurs
|
|
349
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
358
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfig API.
|
|
350
359
|
*/
|
|
351
360
|
updateClusterEndpointConfig(updateClusterEndpointConfigRequest: requests.UpdateClusterEndpointConfigRequest): Promise<responses.UpdateClusterEndpointConfigResponse>;
|
|
352
361
|
/**
|
|
@@ -355,7 +364,7 @@ export declare class ContainerEngineClient {
|
|
|
355
364
|
* @param UpdateNodePoolRequest
|
|
356
365
|
* @return UpdateNodePoolResponse
|
|
357
366
|
* @throws OciError when an error occurs
|
|
358
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
367
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePool API.
|
|
359
368
|
*/
|
|
360
369
|
updateNodePool(updateNodePoolRequest: requests.UpdateNodePoolRequest): Promise<responses.UpdateNodePoolResponse>;
|
|
361
370
|
}
|
package/lib/client.js
CHANGED
|
@@ -160,7 +160,7 @@ class ContainerEngineClient {
|
|
|
160
160
|
* @param ClusterMigrateToNativeVcnRequest
|
|
161
161
|
* @return ClusterMigrateToNativeVcnResponse
|
|
162
162
|
* @throws OciError when an error occurs
|
|
163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
163
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcn API.
|
|
164
164
|
*/
|
|
165
165
|
clusterMigrateToNativeVcn(clusterMigrateToNativeVcnRequest) {
|
|
166
166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -221,7 +221,7 @@ class ContainerEngineClient {
|
|
|
221
221
|
* @param CreateClusterRequest
|
|
222
222
|
* @return CreateClusterResponse
|
|
223
223
|
* @throws OciError when an error occurs
|
|
224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateCluster.ts.html |here} to see how to use CreateCluster API.
|
|
225
225
|
*/
|
|
226
226
|
createCluster(createClusterRequest) {
|
|
227
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -280,7 +280,7 @@ class ContainerEngineClient {
|
|
|
280
280
|
* @param CreateKubeconfigRequest
|
|
281
281
|
* @return CreateKubeconfigResponse
|
|
282
282
|
* @throws OciError when an error occurs
|
|
283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfig API.
|
|
284
284
|
*/
|
|
285
285
|
createKubeconfig(createKubeconfigRequest) {
|
|
286
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -338,7 +338,7 @@ class ContainerEngineClient {
|
|
|
338
338
|
* @param CreateNodePoolRequest
|
|
339
339
|
* @return CreateNodePoolResponse
|
|
340
340
|
* @throws OciError when an error occurs
|
|
341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePool API.
|
|
342
342
|
*/
|
|
343
343
|
createNodePool(createNodePoolRequest) {
|
|
344
344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -397,7 +397,7 @@ class ContainerEngineClient {
|
|
|
397
397
|
* @param DeleteClusterRequest
|
|
398
398
|
* @return DeleteClusterResponse
|
|
399
399
|
* @throws OciError when an error occurs
|
|
400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
401
401
|
*/
|
|
402
402
|
deleteCluster(deleteClusterRequest) {
|
|
403
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -451,13 +451,78 @@ class ContainerEngineClient {
|
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
|
+
/**
|
|
455
|
+
* Delete node.
|
|
456
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
457
|
+
* @param DeleteNodeRequest
|
|
458
|
+
* @return DeleteNodeResponse
|
|
459
|
+
* @throws OciError when an error occurs
|
|
460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteNode.ts.html |here} to see how to use DeleteNode API.
|
|
461
|
+
*/
|
|
462
|
+
deleteNode(deleteNodeRequest) {
|
|
463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
464
|
+
if (this.logger)
|
|
465
|
+
this.logger.debug("Calling operation ContainerEngineClient#deleteNode.");
|
|
466
|
+
const operationName = "deleteNode";
|
|
467
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNode";
|
|
468
|
+
const pathParams = {
|
|
469
|
+
"{nodePoolId}": deleteNodeRequest.nodePoolId,
|
|
470
|
+
"{nodeId}": deleteNodeRequest.nodeId
|
|
471
|
+
};
|
|
472
|
+
const queryParams = {
|
|
473
|
+
"isDecrementSize": deleteNodeRequest.isDecrementSize,
|
|
474
|
+
"overrideEvictionGraceDuration": deleteNodeRequest.overrideEvictionGraceDuration,
|
|
475
|
+
"isForceDeletionAfterOverrideGraceDuration": deleteNodeRequest.isForceDeletionAfterOverrideGraceDuration
|
|
476
|
+
};
|
|
477
|
+
let headerParams = {
|
|
478
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
479
|
+
"if-match": deleteNodeRequest.ifMatch,
|
|
480
|
+
"opc-request-id": deleteNodeRequest.opcRequestId
|
|
481
|
+
};
|
|
482
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
483
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
484
|
+
if (this.logger)
|
|
485
|
+
retrier.logger = this.logger;
|
|
486
|
+
const request = yield oci_common_2.composeRequest({
|
|
487
|
+
baseEndpoint: this._endpoint,
|
|
488
|
+
defaultHeaders: this._defaultHeaders,
|
|
489
|
+
path: "/nodePools/{nodePoolId}/node/{nodeId}",
|
|
490
|
+
method: "DELETE",
|
|
491
|
+
pathParams: pathParams,
|
|
492
|
+
headerParams: headerParams,
|
|
493
|
+
queryParams: queryParams
|
|
494
|
+
});
|
|
495
|
+
try {
|
|
496
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
497
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
498
|
+
responseObject: {},
|
|
499
|
+
responseHeaders: [
|
|
500
|
+
{
|
|
501
|
+
value: response.headers.get("opc-work-request-id"),
|
|
502
|
+
key: "opcWorkRequestId",
|
|
503
|
+
dataType: "string"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
value: response.headers.get("opc-request-id"),
|
|
507
|
+
key: "opcRequestId",
|
|
508
|
+
dataType: "string"
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
});
|
|
512
|
+
return sdkResponse;
|
|
513
|
+
}
|
|
514
|
+
catch (err) {
|
|
515
|
+
throw err;
|
|
516
|
+
}
|
|
517
|
+
});
|
|
518
|
+
}
|
|
454
519
|
/**
|
|
455
520
|
* Delete a node pool.
|
|
456
521
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
457
522
|
* @param DeleteNodePoolRequest
|
|
458
523
|
* @return DeleteNodePoolResponse
|
|
459
524
|
* @throws OciError when an error occurs
|
|
460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePool API.
|
|
461
526
|
*/
|
|
462
527
|
deleteNodePool(deleteNodePoolRequest) {
|
|
463
528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -468,7 +533,10 @@ class ContainerEngineClient {
|
|
|
468
533
|
const pathParams = {
|
|
469
534
|
"{nodePoolId}": deleteNodePoolRequest.nodePoolId
|
|
470
535
|
};
|
|
471
|
-
const queryParams = {
|
|
536
|
+
const queryParams = {
|
|
537
|
+
"overrideEvictionGraceDuration": deleteNodePoolRequest.overrideEvictionGraceDuration,
|
|
538
|
+
"isForceDeletionAfterOverrideGraceDuration": deleteNodePoolRequest.isForceDeletionAfterOverrideGraceDuration
|
|
539
|
+
};
|
|
472
540
|
let headerParams = {
|
|
473
541
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
474
542
|
"if-match": deleteNodePoolRequest.ifMatch,
|
|
@@ -517,7 +585,7 @@ class ContainerEngineClient {
|
|
|
517
585
|
* @param DeleteWorkRequestRequest
|
|
518
586
|
* @return DeleteWorkRequestResponse
|
|
519
587
|
* @throws OciError when an error occurs
|
|
520
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
521
589
|
*/
|
|
522
590
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
523
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -572,7 +640,7 @@ class ContainerEngineClient {
|
|
|
572
640
|
* @param GetClusterRequest
|
|
573
641
|
* @return GetClusterResponse
|
|
574
642
|
* @throws OciError when an error occurs
|
|
575
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
643
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetCluster.ts.html |here} to see how to use GetCluster API.
|
|
576
644
|
*/
|
|
577
645
|
getCluster(getClusterRequest) {
|
|
578
646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -635,7 +703,7 @@ class ContainerEngineClient {
|
|
|
635
703
|
* @param GetClusterMigrateToNativeVcnStatusRequest
|
|
636
704
|
* @return GetClusterMigrateToNativeVcnStatusResponse
|
|
637
705
|
* @throws OciError when an error occurs
|
|
638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
706
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatus API.
|
|
639
707
|
*/
|
|
640
708
|
getClusterMigrateToNativeVcnStatus(getClusterMigrateToNativeVcnStatusRequest) {
|
|
641
709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -698,7 +766,7 @@ class ContainerEngineClient {
|
|
|
698
766
|
* @param GetClusterOptionsRequest
|
|
699
767
|
* @return GetClusterOptionsResponse
|
|
700
768
|
* @throws OciError when an error occurs
|
|
701
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
769
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptions API.
|
|
702
770
|
*/
|
|
703
771
|
getClusterOptions(getClusterOptionsRequest) {
|
|
704
772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -758,7 +826,7 @@ class ContainerEngineClient {
|
|
|
758
826
|
* @param GetNodePoolRequest
|
|
759
827
|
* @return GetNodePoolResponse
|
|
760
828
|
* @throws OciError when an error occurs
|
|
761
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
829
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePool API.
|
|
762
830
|
*/
|
|
763
831
|
getNodePool(getNodePoolRequest) {
|
|
764
832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -821,7 +889,7 @@ class ContainerEngineClient {
|
|
|
821
889
|
* @param GetNodePoolOptionsRequest
|
|
822
890
|
* @return GetNodePoolOptionsResponse
|
|
823
891
|
* @throws OciError when an error occurs
|
|
824
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
892
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptions API.
|
|
825
893
|
*/
|
|
826
894
|
getNodePoolOptions(getNodePoolOptionsRequest) {
|
|
827
895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -881,7 +949,7 @@ class ContainerEngineClient {
|
|
|
881
949
|
* @param GetWorkRequestRequest
|
|
882
950
|
* @return GetWorkRequestResponse
|
|
883
951
|
* @throws OciError when an error occurs
|
|
884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
952
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
885
953
|
*/
|
|
886
954
|
getWorkRequest(getWorkRequestRequest) {
|
|
887
955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -949,7 +1017,7 @@ class ContainerEngineClient {
|
|
|
949
1017
|
* @param ListClustersRequest
|
|
950
1018
|
* @return ListClustersResponse
|
|
951
1019
|
* @throws OciError when an error occurs
|
|
952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListClusters.ts.html |here} to see how to use ListClusters API.
|
|
953
1021
|
*/
|
|
954
1022
|
listClusters(listClustersRequest) {
|
|
955
1023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1058,7 +1126,7 @@ class ContainerEngineClient {
|
|
|
1058
1126
|
* @param ListNodePoolsRequest
|
|
1059
1127
|
* @return ListNodePoolsResponse
|
|
1060
1128
|
* @throws OciError when an error occurs
|
|
1061
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1129
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePools API.
|
|
1062
1130
|
*/
|
|
1063
1131
|
listNodePools(listNodePoolsRequest) {
|
|
1064
1132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1074,7 +1142,8 @@ class ContainerEngineClient {
|
|
|
1074
1142
|
"limit": listNodePoolsRequest.limit,
|
|
1075
1143
|
"page": listNodePoolsRequest.page,
|
|
1076
1144
|
"sortOrder": listNodePoolsRequest.sortOrder,
|
|
1077
|
-
"sortBy": listNodePoolsRequest.sortBy
|
|
1145
|
+
"sortBy": listNodePoolsRequest.sortBy,
|
|
1146
|
+
"lifecycleState": listNodePoolsRequest.lifecycleState
|
|
1078
1147
|
};
|
|
1079
1148
|
let headerParams = {
|
|
1080
1149
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -1167,7 +1236,7 @@ class ContainerEngineClient {
|
|
|
1167
1236
|
* @param ListWorkRequestErrorsRequest
|
|
1168
1237
|
* @return ListWorkRequestErrorsResponse
|
|
1169
1238
|
* @throws OciError when an error occurs
|
|
1170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1239
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1171
1240
|
*/
|
|
1172
1241
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1173
1242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1227,7 +1296,7 @@ class ContainerEngineClient {
|
|
|
1227
1296
|
* @param ListWorkRequestLogsRequest
|
|
1228
1297
|
* @return ListWorkRequestLogsResponse
|
|
1229
1298
|
* @throws OciError when an error occurs
|
|
1230
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1231
1300
|
*/
|
|
1232
1301
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1233
1302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1287,7 +1356,7 @@ class ContainerEngineClient {
|
|
|
1287
1356
|
* @param ListWorkRequestsRequest
|
|
1288
1357
|
* @return ListWorkRequestsResponse
|
|
1289
1358
|
* @throws OciError when an error occurs
|
|
1290
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1359
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1291
1360
|
*/
|
|
1292
1361
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1293
1362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1398,7 +1467,7 @@ class ContainerEngineClient {
|
|
|
1398
1467
|
* @param UpdateClusterRequest
|
|
1399
1468
|
* @return UpdateClusterResponse
|
|
1400
1469
|
* @throws OciError when an error occurs
|
|
1401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1470
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
|
|
1402
1471
|
*/
|
|
1403
1472
|
updateCluster(updateClusterRequest) {
|
|
1404
1473
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1459,7 +1528,7 @@ class ContainerEngineClient {
|
|
|
1459
1528
|
* @param UpdateClusterEndpointConfigRequest
|
|
1460
1529
|
* @return UpdateClusterEndpointConfigResponse
|
|
1461
1530
|
* @throws OciError when an error occurs
|
|
1462
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1531
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfig API.
|
|
1463
1532
|
*/
|
|
1464
1533
|
updateClusterEndpointConfig(updateClusterEndpointConfigRequest) {
|
|
1465
1534
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1520,7 +1589,7 @@ class ContainerEngineClient {
|
|
|
1520
1589
|
* @param UpdateNodePoolRequest
|
|
1521
1590
|
* @return UpdateNodePoolResponse
|
|
1522
1591
|
* @throws OciError when an error occurs
|
|
1523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1592
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePool API.
|
|
1524
1593
|
*/
|
|
1525
1594
|
updateNodePool(updateNodePoolRequest) {
|
|
1526
1595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1531,7 +1600,10 @@ class ContainerEngineClient {
|
|
|
1531
1600
|
const pathParams = {
|
|
1532
1601
|
"{nodePoolId}": updateNodePoolRequest.nodePoolId
|
|
1533
1602
|
};
|
|
1534
|
-
const queryParams = {
|
|
1603
|
+
const queryParams = {
|
|
1604
|
+
"overrideEvictionGraceDuration": updateNodePoolRequest.overrideEvictionGraceDuration,
|
|
1605
|
+
"isForceDeletionAfterOverrideGraceDuration": updateNodePoolRequest.isForceDeletionAfterOverrideGraceDuration
|
|
1606
|
+
};
|
|
1535
1607
|
let headerParams = {
|
|
1536
1608
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1537
1609
|
"if-match": updateNodePoolRequest.ifMatch,
|