oci-containerengine 2.66.0 → 2.68.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 +69 -41
- package/lib/client.js +232 -42
- package/lib/client.js.map +1 -1
- package/lib/model/cluster-metadata.d.ts +4 -0
- package/lib/model/cluster-metadata.js.map +1 -1
- package/lib/model/credential-rotation-status.d.ts +66 -0
- package/lib/model/credential-rotation-status.js +55 -0
- package/lib/model/credential-rotation-status.js.map +1 -0
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +7 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/start-credential-rotation-details.d.ts +28 -0
- package/lib/model/start-credential-rotation-details.js +32 -0
- package/lib/model/start-credential-rotation-details.js.map +1 -0
- package/lib/request/cluster-migrate-to-native-vcn-request.d.ts +1 -1
- package/lib/request/complete-credential-rotation-request.d.ts +41 -0
- package/lib/request/complete-credential-rotation-request.js +15 -0
- package/lib/request/complete-credential-rotation-request.js.map +1 -0
- 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/create-virtual-node-pool-request.d.ts +1 -1
- package/lib/request/create-workload-mapping-request.d.ts +1 -1
- package/lib/request/delete-cluster-request.d.ts +1 -1
- package/lib/request/delete-node-pool-request.d.ts +1 -1
- package/lib/request/delete-node-request.d.ts +1 -1
- package/lib/request/delete-virtual-node-pool-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/delete-workload-mapping-request.d.ts +1 -1
- package/lib/request/disable-addon-request.d.ts +1 -1
- package/lib/request/get-addon-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-credential-rotation-status-request.d.ts +28 -0
- package/lib/request/get-credential-rotation-status-request.js +15 -0
- package/lib/request/get-credential-rotation-status-request.js.map +1 -0
- 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-virtual-node-pool-request.d.ts +1 -1
- package/lib/request/get-virtual-node-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/get-workload-mapping-request.d.ts +1 -1
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/install-addon-request.d.ts +1 -1
- package/lib/request/list-addon-options-request.d.ts +1 -1
- package/lib/request/list-addons-request.d.ts +1 -1
- package/lib/request/list-clusters-request.d.ts +1 -1
- package/lib/request/list-node-pools-request.d.ts +1 -1
- package/lib/request/list-pod-shapes-request.d.ts +1 -1
- package/lib/request/list-virtual-node-pools-request.d.ts +1 -1
- package/lib/request/list-virtual-nodes-request.d.ts +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/list-workload-mappings-request.d.ts +1 -1
- package/lib/request/start-credential-rotation-request.d.ts +46 -0
- package/lib/request/start-credential-rotation-request.js +15 -0
- package/lib/request/start-credential-rotation-request.js.map +1 -0
- package/lib/request/update-addon-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 +1 -1
- package/lib/request/update-virtual-node-pool-request.d.ts +1 -1
- package/lib/request/update-workload-mapping-request.d.ts +1 -1
- package/lib/response/complete-credential-rotation-response.d.ts +22 -0
- package/lib/response/complete-credential-rotation-response.js +15 -0
- package/lib/response/complete-credential-rotation-response.js.map +1 -0
- package/lib/response/get-credential-rotation-status-response.d.ts +29 -0
- package/lib/response/get-credential-rotation-status-response.js +15 -0
- package/lib/response/get-credential-rotation-status-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/start-credential-rotation-response.d.ts +22 -0
- package/lib/response/start-credential-rotation-response.js +15 -0
- package/lib/response/start-credential-rotation-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -65,6 +65,7 @@ class ContainerEngineClient {
|
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
67
67
|
this._httpOptions = undefined;
|
|
68
|
+
this._bodyDuplexMode = undefined;
|
|
68
69
|
this.targetService = "ContainerEngine";
|
|
69
70
|
this._regionId = "";
|
|
70
71
|
this._lastSetRegionOrRegionId = "";
|
|
@@ -79,6 +80,9 @@ class ContainerEngineClient {
|
|
|
79
80
|
this._httpOptions = clientConfiguration.httpOptions
|
|
80
81
|
? clientConfiguration.httpOptions
|
|
81
82
|
: undefined;
|
|
83
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
84
|
+
? clientConfiguration.bodyDuplexMode
|
|
85
|
+
: undefined;
|
|
82
86
|
}
|
|
83
87
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
84
88
|
const specCircuitBreakerEnabled = true;
|
|
@@ -89,7 +93,7 @@ class ContainerEngineClient {
|
|
|
89
93
|
}
|
|
90
94
|
this._httpClient =
|
|
91
95
|
params.httpClient ||
|
|
92
|
-
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
96
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
93
97
|
if (params.authenticationDetailsProvider &&
|
|
94
98
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
95
99
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -183,7 +187,7 @@ class ContainerEngineClient {
|
|
|
183
187
|
* @param ClusterMigrateToNativeVcnRequest
|
|
184
188
|
* @return ClusterMigrateToNativeVcnResponse
|
|
185
189
|
* @throws OciError when an error occurs
|
|
186
|
-
* @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.68.0/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcn API.
|
|
187
191
|
*/
|
|
188
192
|
clusterMigrateToNativeVcn(clusterMigrateToNativeVcnRequest) {
|
|
189
193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -238,13 +242,74 @@ class ContainerEngineClient {
|
|
|
238
242
|
}
|
|
239
243
|
});
|
|
240
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* Complete cluster credential rotation. Retire old credentials from kubernetes components.
|
|
247
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
248
|
+
* @param CompleteCredentialRotationRequest
|
|
249
|
+
* @return CompleteCredentialRotationResponse
|
|
250
|
+
* @throws OciError when an error occurs
|
|
251
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/CompleteCredentialRotation.ts.html |here} to see how to use CompleteCredentialRotation API.
|
|
252
|
+
*/
|
|
253
|
+
completeCredentialRotation(completeCredentialRotationRequest) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
if (this.logger)
|
|
256
|
+
this.logger.debug("Calling operation ContainerEngineClient#completeCredentialRotation.");
|
|
257
|
+
const operationName = "completeCredentialRotation";
|
|
258
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CompleteCredentialRotation";
|
|
259
|
+
const pathParams = {
|
|
260
|
+
"{clusterId}": completeCredentialRotationRequest.clusterId
|
|
261
|
+
};
|
|
262
|
+
const queryParams = {};
|
|
263
|
+
let headerParams = {
|
|
264
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
265
|
+
"opc-retry-token": completeCredentialRotationRequest.opcRetryToken,
|
|
266
|
+
"opc-request-id": completeCredentialRotationRequest.opcRequestId,
|
|
267
|
+
"if-match": completeCredentialRotationRequest.ifMatch
|
|
268
|
+
};
|
|
269
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
270
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, completeCredentialRotationRequest.retryConfiguration, specRetryConfiguration);
|
|
271
|
+
if (this.logger)
|
|
272
|
+
retrier.logger = this.logger;
|
|
273
|
+
const request = yield oci_common_2.composeRequest({
|
|
274
|
+
baseEndpoint: this._endpoint,
|
|
275
|
+
defaultHeaders: this._defaultHeaders,
|
|
276
|
+
path: "/clusters/{clusterId}/actions/completeCredentialRotation",
|
|
277
|
+
method: "POST",
|
|
278
|
+
pathParams: pathParams,
|
|
279
|
+
headerParams: headerParams,
|
|
280
|
+
queryParams: queryParams
|
|
281
|
+
});
|
|
282
|
+
try {
|
|
283
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
284
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
285
|
+
responseObject: {},
|
|
286
|
+
responseHeaders: [
|
|
287
|
+
{
|
|
288
|
+
value: response.headers.get("opc-work-request-id"),
|
|
289
|
+
key: "opcWorkRequestId",
|
|
290
|
+
dataType: "string"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
value: response.headers.get("opc-request-id"),
|
|
294
|
+
key: "opcRequestId",
|
|
295
|
+
dataType: "string"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
});
|
|
299
|
+
return sdkResponse;
|
|
300
|
+
}
|
|
301
|
+
catch (err) {
|
|
302
|
+
throw err;
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
}
|
|
241
306
|
/**
|
|
242
307
|
* Create a new cluster.
|
|
243
308
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
244
309
|
* @param CreateClusterRequest
|
|
245
310
|
* @return CreateClusterResponse
|
|
246
311
|
* @throws OciError when an error occurs
|
|
247
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
312
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/CreateCluster.ts.html |here} to see how to use CreateCluster API.
|
|
248
313
|
*/
|
|
249
314
|
createCluster(createClusterRequest) {
|
|
250
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -303,7 +368,7 @@ class ContainerEngineClient {
|
|
|
303
368
|
* @param CreateKubeconfigRequest
|
|
304
369
|
* @return CreateKubeconfigResponse
|
|
305
370
|
* @throws OciError when an error occurs
|
|
306
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
371
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfig API.
|
|
307
372
|
*/
|
|
308
373
|
createKubeconfig(createKubeconfigRequest) {
|
|
309
374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -361,7 +426,7 @@ class ContainerEngineClient {
|
|
|
361
426
|
* @param CreateNodePoolRequest
|
|
362
427
|
* @return CreateNodePoolResponse
|
|
363
428
|
* @throws OciError when an error occurs
|
|
364
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePool API.
|
|
365
430
|
*/
|
|
366
431
|
createNodePool(createNodePoolRequest) {
|
|
367
432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -420,7 +485,7 @@ class ContainerEngineClient {
|
|
|
420
485
|
* @param CreateVirtualNodePoolRequest
|
|
421
486
|
* @return CreateVirtualNodePoolResponse
|
|
422
487
|
* @throws OciError when an error occurs
|
|
423
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/CreateVirtualNodePool.ts.html |here} to see how to use CreateVirtualNodePool API.
|
|
424
489
|
*/
|
|
425
490
|
createVirtualNodePool(createVirtualNodePoolRequest) {
|
|
426
491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -479,7 +544,7 @@ class ContainerEngineClient {
|
|
|
479
544
|
* @param CreateWorkloadMappingRequest
|
|
480
545
|
* @return CreateWorkloadMappingResponse
|
|
481
546
|
* @throws OciError when an error occurs
|
|
482
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/CreateWorkloadMapping.ts.html |here} to see how to use CreateWorkloadMapping API.
|
|
483
548
|
*/
|
|
484
549
|
createWorkloadMapping(createWorkloadMappingRequest) {
|
|
485
550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -544,7 +609,7 @@ class ContainerEngineClient {
|
|
|
544
609
|
* @param DeleteClusterRequest
|
|
545
610
|
* @return DeleteClusterResponse
|
|
546
611
|
* @throws OciError when an error occurs
|
|
547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
612
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
548
613
|
*/
|
|
549
614
|
deleteCluster(deleteClusterRequest) {
|
|
550
615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -604,7 +669,7 @@ class ContainerEngineClient {
|
|
|
604
669
|
* @param DeleteNodeRequest
|
|
605
670
|
* @return DeleteNodeResponse
|
|
606
671
|
* @throws OciError when an error occurs
|
|
607
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
672
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DeleteNode.ts.html |here} to see how to use DeleteNode API.
|
|
608
673
|
*/
|
|
609
674
|
deleteNode(deleteNodeRequest) {
|
|
610
675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -669,7 +734,7 @@ class ContainerEngineClient {
|
|
|
669
734
|
* @param DeleteNodePoolRequest
|
|
670
735
|
* @return DeleteNodePoolResponse
|
|
671
736
|
* @throws OciError when an error occurs
|
|
672
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
737
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePool API.
|
|
673
738
|
*/
|
|
674
739
|
deleteNodePool(deleteNodePoolRequest) {
|
|
675
740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -732,7 +797,7 @@ class ContainerEngineClient {
|
|
|
732
797
|
* @param DeleteVirtualNodePoolRequest
|
|
733
798
|
* @return DeleteVirtualNodePoolResponse
|
|
734
799
|
* @throws OciError when an error occurs
|
|
735
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
800
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DeleteVirtualNodePool.ts.html |here} to see how to use DeleteVirtualNodePool API.
|
|
736
801
|
*/
|
|
737
802
|
deleteVirtualNodePool(deleteVirtualNodePoolRequest) {
|
|
738
803
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -795,7 +860,7 @@ class ContainerEngineClient {
|
|
|
795
860
|
* @param DeleteWorkRequestRequest
|
|
796
861
|
* @return DeleteWorkRequestResponse
|
|
797
862
|
* @throws OciError when an error occurs
|
|
798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
799
864
|
*/
|
|
800
865
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
801
866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -850,7 +915,7 @@ class ContainerEngineClient {
|
|
|
850
915
|
* @param DeleteWorkloadMappingRequest
|
|
851
916
|
* @return DeleteWorkloadMappingResponse
|
|
852
917
|
* @throws OciError when an error occurs
|
|
853
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
918
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DeleteWorkloadMapping.ts.html |here} to see how to use DeleteWorkloadMapping API.
|
|
854
919
|
*/
|
|
855
920
|
deleteWorkloadMapping(deleteWorkloadMappingRequest) {
|
|
856
921
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -906,7 +971,7 @@ class ContainerEngineClient {
|
|
|
906
971
|
* @param DisableAddonRequest
|
|
907
972
|
* @return DisableAddonResponse
|
|
908
973
|
* @throws OciError when an error occurs
|
|
909
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/DisableAddon.ts.html |here} to see how to use DisableAddon API.
|
|
910
975
|
*/
|
|
911
976
|
disableAddon(disableAddonRequest) {
|
|
912
977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -969,7 +1034,7 @@ class ContainerEngineClient {
|
|
|
969
1034
|
* @param GetAddonRequest
|
|
970
1035
|
* @return GetAddonResponse
|
|
971
1036
|
* @throws OciError when an error occurs
|
|
972
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetAddon.ts.html |here} to see how to use GetAddon API.
|
|
973
1038
|
*/
|
|
974
1039
|
getAddon(getAddonRequest) {
|
|
975
1040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1033,7 +1098,7 @@ class ContainerEngineClient {
|
|
|
1033
1098
|
* @param GetClusterRequest
|
|
1034
1099
|
* @return GetClusterResponse
|
|
1035
1100
|
* @throws OciError when an error occurs
|
|
1036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1101
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetCluster.ts.html |here} to see how to use GetCluster API.
|
|
1037
1102
|
*/
|
|
1038
1103
|
getCluster(getClusterRequest) {
|
|
1039
1104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1096,7 +1161,7 @@ class ContainerEngineClient {
|
|
|
1096
1161
|
* @param GetClusterMigrateToNativeVcnStatusRequest
|
|
1097
1162
|
* @return GetClusterMigrateToNativeVcnStatusResponse
|
|
1098
1163
|
* @throws OciError when an error occurs
|
|
1099
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatus API.
|
|
1100
1165
|
*/
|
|
1101
1166
|
getClusterMigrateToNativeVcnStatus(getClusterMigrateToNativeVcnStatusRequest) {
|
|
1102
1167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1159,7 +1224,7 @@ class ContainerEngineClient {
|
|
|
1159
1224
|
* @param GetClusterOptionsRequest
|
|
1160
1225
|
* @return GetClusterOptionsResponse
|
|
1161
1226
|
* @throws OciError when an error occurs
|
|
1162
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptions API.
|
|
1163
1228
|
*/
|
|
1164
1229
|
getClusterOptions(getClusterOptionsRequest) {
|
|
1165
1230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1213,13 +1278,76 @@ class ContainerEngineClient {
|
|
|
1213
1278
|
}
|
|
1214
1279
|
});
|
|
1215
1280
|
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Get cluster credential rotation status.
|
|
1283
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1284
|
+
* @param GetCredentialRotationStatusRequest
|
|
1285
|
+
* @return GetCredentialRotationStatusResponse
|
|
1286
|
+
* @throws OciError when an error occurs
|
|
1287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetCredentialRotationStatus.ts.html |here} to see how to use GetCredentialRotationStatus API.
|
|
1288
|
+
*/
|
|
1289
|
+
getCredentialRotationStatus(getCredentialRotationStatusRequest) {
|
|
1290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1291
|
+
if (this.logger)
|
|
1292
|
+
this.logger.debug("Calling operation ContainerEngineClient#getCredentialRotationStatus.");
|
|
1293
|
+
const operationName = "getCredentialRotationStatus";
|
|
1294
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/CredentialRotationStatus/GetCredentialRotationStatus";
|
|
1295
|
+
const pathParams = {
|
|
1296
|
+
"{clusterId}": getCredentialRotationStatusRequest.clusterId
|
|
1297
|
+
};
|
|
1298
|
+
const queryParams = {};
|
|
1299
|
+
let headerParams = {
|
|
1300
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1301
|
+
"opc-request-id": getCredentialRotationStatusRequest.opcRequestId
|
|
1302
|
+
};
|
|
1303
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1304
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCredentialRotationStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
1305
|
+
if (this.logger)
|
|
1306
|
+
retrier.logger = this.logger;
|
|
1307
|
+
const request = yield oci_common_2.composeRequest({
|
|
1308
|
+
baseEndpoint: this._endpoint,
|
|
1309
|
+
defaultHeaders: this._defaultHeaders,
|
|
1310
|
+
path: "/clusters/{clusterId}/credentialRotationStatus",
|
|
1311
|
+
method: "GET",
|
|
1312
|
+
pathParams: pathParams,
|
|
1313
|
+
headerParams: headerParams,
|
|
1314
|
+
queryParams: queryParams
|
|
1315
|
+
});
|
|
1316
|
+
try {
|
|
1317
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1318
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1319
|
+
responseObject: {},
|
|
1320
|
+
body: yield response.json(),
|
|
1321
|
+
bodyKey: "credentialRotationStatus",
|
|
1322
|
+
bodyModel: model.CredentialRotationStatus,
|
|
1323
|
+
type: "model.CredentialRotationStatus",
|
|
1324
|
+
responseHeaders: [
|
|
1325
|
+
{
|
|
1326
|
+
value: response.headers.get("etag"),
|
|
1327
|
+
key: "etag",
|
|
1328
|
+
dataType: "string"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
value: response.headers.get("opc-request-id"),
|
|
1332
|
+
key: "opcRequestId",
|
|
1333
|
+
dataType: "string"
|
|
1334
|
+
}
|
|
1335
|
+
]
|
|
1336
|
+
});
|
|
1337
|
+
return sdkResponse;
|
|
1338
|
+
}
|
|
1339
|
+
catch (err) {
|
|
1340
|
+
throw err;
|
|
1341
|
+
}
|
|
1342
|
+
});
|
|
1343
|
+
}
|
|
1216
1344
|
/**
|
|
1217
1345
|
* Get the details of a node pool.
|
|
1218
1346
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1219
1347
|
* @param GetNodePoolRequest
|
|
1220
1348
|
* @return GetNodePoolResponse
|
|
1221
1349
|
* @throws OciError when an error occurs
|
|
1222
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePool API.
|
|
1223
1351
|
*/
|
|
1224
1352
|
getNodePool(getNodePoolRequest) {
|
|
1225
1353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1282,7 +1410,7 @@ class ContainerEngineClient {
|
|
|
1282
1410
|
* @param GetNodePoolOptionsRequest
|
|
1283
1411
|
* @return GetNodePoolOptionsResponse
|
|
1284
1412
|
* @throws OciError when an error occurs
|
|
1285
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1413
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptions API.
|
|
1286
1414
|
*/
|
|
1287
1415
|
getNodePoolOptions(getNodePoolOptionsRequest) {
|
|
1288
1416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1342,7 +1470,7 @@ class ContainerEngineClient {
|
|
|
1342
1470
|
* @param GetVirtualNodeRequest
|
|
1343
1471
|
* @return GetVirtualNodeResponse
|
|
1344
1472
|
* @throws OciError when an error occurs
|
|
1345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1473
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetVirtualNode.ts.html |here} to see how to use GetVirtualNode API.
|
|
1346
1474
|
*/
|
|
1347
1475
|
getVirtualNode(getVirtualNodeRequest) {
|
|
1348
1476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1406,7 +1534,7 @@ class ContainerEngineClient {
|
|
|
1406
1534
|
* @param GetVirtualNodePoolRequest
|
|
1407
1535
|
* @return GetVirtualNodePoolResponse
|
|
1408
1536
|
* @throws OciError when an error occurs
|
|
1409
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetVirtualNodePool.ts.html |here} to see how to use GetVirtualNodePool API.
|
|
1410
1538
|
*/
|
|
1411
1539
|
getVirtualNodePool(getVirtualNodePoolRequest) {
|
|
1412
1540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1469,7 +1597,7 @@ class ContainerEngineClient {
|
|
|
1469
1597
|
* @param GetWorkRequestRequest
|
|
1470
1598
|
* @return GetWorkRequestResponse
|
|
1471
1599
|
* @throws OciError when an error occurs
|
|
1472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1600
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1473
1601
|
*/
|
|
1474
1602
|
getWorkRequest(getWorkRequestRequest) {
|
|
1475
1603
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1537,7 +1665,7 @@ class ContainerEngineClient {
|
|
|
1537
1665
|
* @param GetWorkloadMappingRequest
|
|
1538
1666
|
* @return GetWorkloadMappingResponse
|
|
1539
1667
|
* @throws OciError when an error occurs
|
|
1540
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1668
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/GetWorkloadMapping.ts.html |here} to see how to use GetWorkloadMapping API.
|
|
1541
1669
|
*/
|
|
1542
1670
|
getWorkloadMapping(getWorkloadMappingRequest) {
|
|
1543
1671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1601,7 +1729,7 @@ class ContainerEngineClient {
|
|
|
1601
1729
|
* @param InstallAddonRequest
|
|
1602
1730
|
* @return InstallAddonResponse
|
|
1603
1731
|
* @throws OciError when an error occurs
|
|
1604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1732
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/InstallAddon.ts.html |here} to see how to use InstallAddon API.
|
|
1605
1733
|
*/
|
|
1606
1734
|
installAddon(installAddonRequest) {
|
|
1607
1735
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1663,7 +1791,7 @@ class ContainerEngineClient {
|
|
|
1663
1791
|
* @param ListAddonOptionsRequest
|
|
1664
1792
|
* @return ListAddonOptionsResponse
|
|
1665
1793
|
* @throws OciError when an error occurs
|
|
1666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1794
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListAddonOptions.ts.html |here} to see how to use ListAddonOptions API.
|
|
1667
1795
|
*/
|
|
1668
1796
|
listAddonOptions(listAddonOptionsRequest) {
|
|
1669
1797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1771,7 +1899,7 @@ class ContainerEngineClient {
|
|
|
1771
1899
|
* @param ListAddonsRequest
|
|
1772
1900
|
* @return ListAddonsResponse
|
|
1773
1901
|
* @throws OciError when an error occurs
|
|
1774
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1902
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListAddons.ts.html |here} to see how to use ListAddons API.
|
|
1775
1903
|
*/
|
|
1776
1904
|
listAddons(listAddonsRequest) {
|
|
1777
1905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1879,7 +2007,7 @@ class ContainerEngineClient {
|
|
|
1879
2007
|
* @param ListClustersRequest
|
|
1880
2008
|
* @return ListClustersResponse
|
|
1881
2009
|
* @throws OciError when an error occurs
|
|
1882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2010
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListClusters.ts.html |here} to see how to use ListClusters API.
|
|
1883
2011
|
*/
|
|
1884
2012
|
listClusters(listClustersRequest) {
|
|
1885
2013
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1988,7 +2116,7 @@ class ContainerEngineClient {
|
|
|
1988
2116
|
* @param ListNodePoolsRequest
|
|
1989
2117
|
* @return ListNodePoolsResponse
|
|
1990
2118
|
* @throws OciError when an error occurs
|
|
1991
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePools API.
|
|
1992
2120
|
*/
|
|
1993
2121
|
listNodePools(listNodePoolsRequest) {
|
|
1994
2122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2098,7 +2226,7 @@ class ContainerEngineClient {
|
|
|
2098
2226
|
* @param ListPodShapesRequest
|
|
2099
2227
|
* @return ListPodShapesResponse
|
|
2100
2228
|
* @throws OciError when an error occurs
|
|
2101
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2229
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListPodShapes.ts.html |here} to see how to use ListPodShapes API.
|
|
2102
2230
|
*/
|
|
2103
2231
|
listPodShapes(listPodShapesRequest) {
|
|
2104
2232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2207,7 +2335,7 @@ class ContainerEngineClient {
|
|
|
2207
2335
|
* @param ListVirtualNodePoolsRequest
|
|
2208
2336
|
* @return ListVirtualNodePoolsResponse
|
|
2209
2337
|
* @throws OciError when an error occurs
|
|
2210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListVirtualNodePools.ts.html |here} to see how to use ListVirtualNodePools API.
|
|
2211
2339
|
*/
|
|
2212
2340
|
listVirtualNodePools(listVirtualNodePoolsRequest) {
|
|
2213
2341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2317,7 +2445,7 @@ class ContainerEngineClient {
|
|
|
2317
2445
|
* @param ListVirtualNodesRequest
|
|
2318
2446
|
* @return ListVirtualNodesResponse
|
|
2319
2447
|
* @throws OciError when an error occurs
|
|
2320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListVirtualNodes.ts.html |here} to see how to use ListVirtualNodes API.
|
|
2321
2449
|
*/
|
|
2322
2450
|
listVirtualNodes(listVirtualNodesRequest) {
|
|
2323
2451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2426,7 +2554,7 @@ class ContainerEngineClient {
|
|
|
2426
2554
|
* @param ListWorkRequestErrorsRequest
|
|
2427
2555
|
* @return ListWorkRequestErrorsResponse
|
|
2428
2556
|
* @throws OciError when an error occurs
|
|
2429
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2430
2558
|
*/
|
|
2431
2559
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2432
2560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2486,7 +2614,7 @@ class ContainerEngineClient {
|
|
|
2486
2614
|
* @param ListWorkRequestLogsRequest
|
|
2487
2615
|
* @return ListWorkRequestLogsResponse
|
|
2488
2616
|
* @throws OciError when an error occurs
|
|
2489
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2490
2618
|
*/
|
|
2491
2619
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2492
2620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2546,7 +2674,7 @@ class ContainerEngineClient {
|
|
|
2546
2674
|
* @param ListWorkRequestsRequest
|
|
2547
2675
|
* @return ListWorkRequestsResponse
|
|
2548
2676
|
* @throws OciError when an error occurs
|
|
2549
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2677
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2550
2678
|
*/
|
|
2551
2679
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2552
2680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2657,7 +2785,7 @@ class ContainerEngineClient {
|
|
|
2657
2785
|
* @param ListWorkloadMappingsRequest
|
|
2658
2786
|
* @return ListWorkloadMappingsResponse
|
|
2659
2787
|
* @throws OciError when an error occurs
|
|
2660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/ListWorkloadMappings.ts.html |here} to see how to use ListWorkloadMappings API.
|
|
2661
2789
|
*/
|
|
2662
2790
|
listWorkloadMappings(listWorkloadMappingsRequest) {
|
|
2663
2791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2759,13 +2887,75 @@ class ContainerEngineClient {
|
|
|
2759
2887
|
listWorkloadMappingsResponseIterator(request) {
|
|
2760
2888
|
return oci_common_1.paginateResponses(request, req => this.listWorkloadMappings(req));
|
|
2761
2889
|
}
|
|
2890
|
+
/**
|
|
2891
|
+
* Start cluster credential rotation by adding new credentials, old credentials will still work after this operation.
|
|
2892
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2893
|
+
* @param StartCredentialRotationRequest
|
|
2894
|
+
* @return StartCredentialRotationResponse
|
|
2895
|
+
* @throws OciError when an error occurs
|
|
2896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/StartCredentialRotation.ts.html |here} to see how to use StartCredentialRotation API.
|
|
2897
|
+
*/
|
|
2898
|
+
startCredentialRotation(startCredentialRotationRequest) {
|
|
2899
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2900
|
+
if (this.logger)
|
|
2901
|
+
this.logger.debug("Calling operation ContainerEngineClient#startCredentialRotation.");
|
|
2902
|
+
const operationName = "startCredentialRotation";
|
|
2903
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/StartCredentialRotation";
|
|
2904
|
+
const pathParams = {
|
|
2905
|
+
"{clusterId}": startCredentialRotationRequest.clusterId
|
|
2906
|
+
};
|
|
2907
|
+
const queryParams = {};
|
|
2908
|
+
let headerParams = {
|
|
2909
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2910
|
+
"opc-retry-token": startCredentialRotationRequest.opcRetryToken,
|
|
2911
|
+
"opc-request-id": startCredentialRotationRequest.opcRequestId,
|
|
2912
|
+
"if-match": startCredentialRotationRequest.ifMatch
|
|
2913
|
+
};
|
|
2914
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2915
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startCredentialRotationRequest.retryConfiguration, specRetryConfiguration);
|
|
2916
|
+
if (this.logger)
|
|
2917
|
+
retrier.logger = this.logger;
|
|
2918
|
+
const request = yield oci_common_2.composeRequest({
|
|
2919
|
+
baseEndpoint: this._endpoint,
|
|
2920
|
+
defaultHeaders: this._defaultHeaders,
|
|
2921
|
+
path: "/clusters/{clusterId}/actions/startCredentialRotation",
|
|
2922
|
+
method: "POST",
|
|
2923
|
+
bodyContent: common.ObjectSerializer.serialize(startCredentialRotationRequest.startCredentialRotationDetails, "StartCredentialRotationDetails", model.StartCredentialRotationDetails.getJsonObj),
|
|
2924
|
+
pathParams: pathParams,
|
|
2925
|
+
headerParams: headerParams,
|
|
2926
|
+
queryParams: queryParams
|
|
2927
|
+
});
|
|
2928
|
+
try {
|
|
2929
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2930
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2931
|
+
responseObject: {},
|
|
2932
|
+
responseHeaders: [
|
|
2933
|
+
{
|
|
2934
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2935
|
+
key: "opcWorkRequestId",
|
|
2936
|
+
dataType: "string"
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
value: response.headers.get("opc-request-id"),
|
|
2940
|
+
key: "opcRequestId",
|
|
2941
|
+
dataType: "string"
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2944
|
+
});
|
|
2945
|
+
return sdkResponse;
|
|
2946
|
+
}
|
|
2947
|
+
catch (err) {
|
|
2948
|
+
throw err;
|
|
2949
|
+
}
|
|
2950
|
+
});
|
|
2951
|
+
}
|
|
2762
2952
|
/**
|
|
2763
2953
|
* Update addon details for a cluster.
|
|
2764
2954
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2765
2955
|
* @param UpdateAddonRequest
|
|
2766
2956
|
* @return UpdateAddonResponse
|
|
2767
2957
|
* @throws OciError when an error occurs
|
|
2768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2958
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/UpdateAddon.ts.html |here} to see how to use UpdateAddon API.
|
|
2769
2959
|
*/
|
|
2770
2960
|
updateAddon(updateAddonRequest) {
|
|
2771
2961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2827,7 +3017,7 @@ class ContainerEngineClient {
|
|
|
2827
3017
|
* @param UpdateClusterRequest
|
|
2828
3018
|
* @return UpdateClusterResponse
|
|
2829
3019
|
* @throws OciError when an error occurs
|
|
2830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
|
|
2831
3021
|
*/
|
|
2832
3022
|
updateCluster(updateClusterRequest) {
|
|
2833
3023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2888,7 +3078,7 @@ class ContainerEngineClient {
|
|
|
2888
3078
|
* @param UpdateClusterEndpointConfigRequest
|
|
2889
3079
|
* @return UpdateClusterEndpointConfigResponse
|
|
2890
3080
|
* @throws OciError when an error occurs
|
|
2891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3081
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfig API.
|
|
2892
3082
|
*/
|
|
2893
3083
|
updateClusterEndpointConfig(updateClusterEndpointConfigRequest) {
|
|
2894
3084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2949,7 +3139,7 @@ class ContainerEngineClient {
|
|
|
2949
3139
|
* @param UpdateNodePoolRequest
|
|
2950
3140
|
* @return UpdateNodePoolResponse
|
|
2951
3141
|
* @throws OciError when an error occurs
|
|
2952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3142
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePool API.
|
|
2953
3143
|
*/
|
|
2954
3144
|
updateNodePool(updateNodePoolRequest) {
|
|
2955
3145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3013,7 +3203,7 @@ class ContainerEngineClient {
|
|
|
3013
3203
|
* @param UpdateVirtualNodePoolRequest
|
|
3014
3204
|
* @return UpdateVirtualNodePoolResponse
|
|
3015
3205
|
* @throws OciError when an error occurs
|
|
3016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/UpdateVirtualNodePool.ts.html |here} to see how to use UpdateVirtualNodePool API.
|
|
3017
3207
|
*/
|
|
3018
3208
|
updateVirtualNodePool(updateVirtualNodePoolRequest) {
|
|
3019
3209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3074,7 +3264,7 @@ class ContainerEngineClient {
|
|
|
3074
3264
|
* @param UpdateWorkloadMappingRequest
|
|
3075
3265
|
* @return UpdateWorkloadMappingResponse
|
|
3076
3266
|
* @throws OciError when an error occurs
|
|
3077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/containerengine/UpdateWorkloadMapping.ts.html |here} to see how to use UpdateWorkloadMapping API.
|
|
3078
3268
|
*/
|
|
3079
3269
|
updateWorkloadMapping(updateWorkloadMappingRequest) {
|
|
3080
3270
|
return __awaiter(this, void 0, void 0, function* () {
|