oci-containerengine 2.79.1 → 2.81.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.
Files changed (58) hide show
  1. package/lib/client.d.ts +46 -45
  2. package/lib/client.js +228 -91
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/cluster-pod-network-option-details.js +4 -2
  5. package/lib/model/cluster-pod-network-option-details.js.map +1 -1
  6. package/lib/model/node-pool-pod-network-option-details.js +4 -2
  7. package/lib/model/node-pool-pod-network-option-details.js.map +1 -1
  8. package/lib/model/node-source-details.js +4 -2
  9. package/lib/model/node-source-details.js.map +1 -1
  10. package/lib/model/node-source-option.js +4 -2
  11. package/lib/model/node-source-option.js.map +1 -1
  12. package/lib/model/preemption-action.js +4 -2
  13. package/lib/model/preemption-action.js.map +1 -1
  14. package/lib/request/cluster-migrate-to-native-vcn-request.d.ts +1 -1
  15. package/lib/request/complete-credential-rotation-request.d.ts +1 -1
  16. package/lib/request/create-cluster-request.d.ts +1 -1
  17. package/lib/request/create-kubeconfig-request.d.ts +1 -1
  18. package/lib/request/create-node-pool-request.d.ts +1 -1
  19. package/lib/request/create-virtual-node-pool-request.d.ts +1 -1
  20. package/lib/request/create-workload-mapping-request.d.ts +1 -1
  21. package/lib/request/delete-cluster-request.d.ts +1 -1
  22. package/lib/request/delete-node-pool-request.d.ts +1 -1
  23. package/lib/request/delete-node-request.d.ts +1 -1
  24. package/lib/request/delete-virtual-node-pool-request.d.ts +1 -1
  25. package/lib/request/delete-work-request-request.d.ts +1 -1
  26. package/lib/request/delete-workload-mapping-request.d.ts +1 -1
  27. package/lib/request/disable-addon-request.d.ts +1 -1
  28. package/lib/request/get-addon-request.d.ts +1 -1
  29. package/lib/request/get-cluster-migrate-to-native-vcn-status-request.d.ts +1 -1
  30. package/lib/request/get-cluster-options-request.d.ts +1 -1
  31. package/lib/request/get-cluster-request.d.ts +1 -1
  32. package/lib/request/get-credential-rotation-status-request.d.ts +1 -1
  33. package/lib/request/get-node-pool-options-request.d.ts +1 -1
  34. package/lib/request/get-node-pool-request.d.ts +1 -1
  35. package/lib/request/get-virtual-node-pool-request.d.ts +1 -1
  36. package/lib/request/get-virtual-node-request.d.ts +1 -1
  37. package/lib/request/get-work-request-request.d.ts +1 -1
  38. package/lib/request/get-workload-mapping-request.d.ts +1 -1
  39. package/lib/request/install-addon-request.d.ts +1 -1
  40. package/lib/request/list-addon-options-request.d.ts +1 -1
  41. package/lib/request/list-addons-request.d.ts +1 -1
  42. package/lib/request/list-clusters-request.d.ts +1 -1
  43. package/lib/request/list-node-pools-request.d.ts +1 -1
  44. package/lib/request/list-pod-shapes-request.d.ts +1 -1
  45. package/lib/request/list-virtual-node-pools-request.d.ts +1 -1
  46. package/lib/request/list-virtual-nodes-request.d.ts +1 -1
  47. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  48. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  49. package/lib/request/list-work-requests-request.d.ts +1 -1
  50. package/lib/request/list-workload-mappings-request.d.ts +1 -1
  51. package/lib/request/start-credential-rotation-request.d.ts +1 -1
  52. package/lib/request/update-addon-request.d.ts +1 -1
  53. package/lib/request/update-cluster-endpoint-config-request.d.ts +1 -1
  54. package/lib/request/update-cluster-request.d.ts +1 -1
  55. package/lib/request/update-node-pool-request.d.ts +1 -1
  56. package/lib/request/update-virtual-node-pool-request.d.ts +1 -1
  57. package/lib/request/update-workload-mapping-request.d.ts +1 -1
  58. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -61,7 +61,7 @@ var ContainerEngineApiKeys;
61
61
  */
62
62
  class ContainerEngineClient {
63
63
  constructor(params, clientConfiguration) {
64
- this["_realmSpecificEndpointTemplateEnabled"] = false;
64
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
65
65
  this["_endpoint"] = "";
66
66
  this["_defaultHeaders"] = {};
67
67
  this._circuitBreaker = null;
@@ -120,7 +120,11 @@ class ContainerEngineClient {
120
120
  set endpoint(endpoint) {
121
121
  this._endpoint = endpoint;
122
122
  this._endpoint = this._endpoint + "/20180222";
123
- oci_common_2.logger.info(`ContainerEngineClient endpoint set to ${this._endpoint}`);
123
+ if (this.logger)
124
+ this.logger.info(`ContainerEngineClient endpoint set to ${this._endpoint}`);
125
+ }
126
+ get logger() {
127
+ return common.LOG.logger;
124
128
  }
125
129
  /**
126
130
  * Determines whether realm specific endpoint should be used or not.
@@ -129,7 +133,8 @@ class ContainerEngineClient {
129
133
  */
130
134
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
131
135
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
132
- oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
136
+ if (this.logger)
137
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
133
138
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
134
139
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ContainerEngineClient.serviceEndpointTemplate, this._region, ContainerEngineClient.endpointServiceName);
135
140
  }
@@ -195,11 +200,12 @@ class ContainerEngineClient {
195
200
  * @param ClusterMigrateToNativeVcnRequest
196
201
  * @return ClusterMigrateToNativeVcnResponse
197
202
  * @throws OciError when an error occurs
198
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcn API.
203
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ClusterMigrateToNativeVcn.ts.html |here} to see how to use ClusterMigrateToNativeVcn API.
199
204
  */
200
205
  clusterMigrateToNativeVcn(clusterMigrateToNativeVcnRequest) {
201
206
  return __awaiter(this, void 0, void 0, function* () {
202
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#clusterMigrateToNativeVcn.");
207
+ if (this.logger)
208
+ this.logger.debug("Calling operation ContainerEngineClient#clusterMigrateToNativeVcn.");
203
209
  const operationName = "clusterMigrateToNativeVcn";
204
210
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ClusterMigrateToNativeVcn";
205
211
  const pathParams = {
@@ -213,6 +219,8 @@ class ContainerEngineClient {
213
219
  };
214
220
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
215
221
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, clusterMigrateToNativeVcnRequest.retryConfiguration, specRetryConfiguration);
222
+ if (this.logger)
223
+ retrier.logger = this.logger;
216
224
  const request = yield oci_common_2.composeRequest({
217
225
  baseEndpoint: this._endpoint,
218
226
  defaultHeaders: this._defaultHeaders,
@@ -253,11 +261,12 @@ class ContainerEngineClient {
253
261
  * @param CompleteCredentialRotationRequest
254
262
  * @return CompleteCredentialRotationResponse
255
263
  * @throws OciError when an error occurs
256
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/CompleteCredentialRotation.ts.html |here} to see how to use CompleteCredentialRotation API.
264
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/CompleteCredentialRotation.ts.html |here} to see how to use CompleteCredentialRotation API.
257
265
  */
258
266
  completeCredentialRotation(completeCredentialRotationRequest) {
259
267
  return __awaiter(this, void 0, void 0, function* () {
260
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#completeCredentialRotation.");
268
+ if (this.logger)
269
+ this.logger.debug("Calling operation ContainerEngineClient#completeCredentialRotation.");
261
270
  const operationName = "completeCredentialRotation";
262
271
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CompleteCredentialRotation";
263
272
  const pathParams = {
@@ -272,6 +281,8 @@ class ContainerEngineClient {
272
281
  };
273
282
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
274
283
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, completeCredentialRotationRequest.retryConfiguration, specRetryConfiguration);
284
+ if (this.logger)
285
+ retrier.logger = this.logger;
275
286
  const request = yield oci_common_2.composeRequest({
276
287
  baseEndpoint: this._endpoint,
277
288
  defaultHeaders: this._defaultHeaders,
@@ -311,11 +322,12 @@ class ContainerEngineClient {
311
322
  * @param CreateClusterRequest
312
323
  * @return CreateClusterResponse
313
324
  * @throws OciError when an error occurs
314
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/CreateCluster.ts.html |here} to see how to use CreateCluster API.
325
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/CreateCluster.ts.html |here} to see how to use CreateCluster API.
315
326
  */
316
327
  createCluster(createClusterRequest) {
317
328
  return __awaiter(this, void 0, void 0, function* () {
318
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#createCluster.");
329
+ if (this.logger)
330
+ this.logger.debug("Calling operation ContainerEngineClient#createCluster.");
319
331
  const operationName = "createCluster";
320
332
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateCluster";
321
333
  const pathParams = {};
@@ -327,6 +339,8 @@ class ContainerEngineClient {
327
339
  };
328
340
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
329
341
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createClusterRequest.retryConfiguration, specRetryConfiguration);
342
+ if (this.logger)
343
+ retrier.logger = this.logger;
330
344
  const request = yield oci_common_2.composeRequest({
331
345
  baseEndpoint: this._endpoint,
332
346
  defaultHeaders: this._defaultHeaders,
@@ -367,11 +381,12 @@ class ContainerEngineClient {
367
381
  * @param CreateKubeconfigRequest
368
382
  * @return CreateKubeconfigResponse
369
383
  * @throws OciError when an error occurs
370
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfig API.
384
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/CreateKubeconfig.ts.html |here} to see how to use CreateKubeconfig API.
371
385
  */
372
386
  createKubeconfig(createKubeconfigRequest) {
373
387
  return __awaiter(this, void 0, void 0, function* () {
374
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#createKubeconfig.");
388
+ if (this.logger)
389
+ this.logger.debug("Calling operation ContainerEngineClient#createKubeconfig.");
375
390
  const operationName = "createKubeconfig";
376
391
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateKubeconfig";
377
392
  const pathParams = {
@@ -384,6 +399,8 @@ class ContainerEngineClient {
384
399
  };
385
400
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
386
401
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createKubeconfigRequest.retryConfiguration, specRetryConfiguration);
402
+ if (this.logger)
403
+ retrier.logger = this.logger;
387
404
  const request = yield oci_common_2.composeRequest({
388
405
  baseEndpoint: this._endpoint,
389
406
  defaultHeaders: this._defaultHeaders,
@@ -422,11 +439,12 @@ class ContainerEngineClient {
422
439
  * @param CreateNodePoolRequest
423
440
  * @return CreateNodePoolResponse
424
441
  * @throws OciError when an error occurs
425
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePool API.
442
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/CreateNodePool.ts.html |here} to see how to use CreateNodePool API.
426
443
  */
427
444
  createNodePool(createNodePoolRequest) {
428
445
  return __awaiter(this, void 0, void 0, function* () {
429
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#createNodePool.");
446
+ if (this.logger)
447
+ this.logger.debug("Calling operation ContainerEngineClient#createNodePool.");
430
448
  const operationName = "createNodePool";
431
449
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/CreateNodePool";
432
450
  const pathParams = {};
@@ -438,6 +456,8 @@ class ContainerEngineClient {
438
456
  };
439
457
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
440
458
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNodePoolRequest.retryConfiguration, specRetryConfiguration);
459
+ if (this.logger)
460
+ retrier.logger = this.logger;
441
461
  const request = yield oci_common_2.composeRequest({
442
462
  baseEndpoint: this._endpoint,
443
463
  defaultHeaders: this._defaultHeaders,
@@ -478,11 +498,12 @@ class ContainerEngineClient {
478
498
  * @param CreateVirtualNodePoolRequest
479
499
  * @return CreateVirtualNodePoolResponse
480
500
  * @throws OciError when an error occurs
481
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/CreateVirtualNodePool.ts.html |here} to see how to use CreateVirtualNodePool API.
501
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/CreateVirtualNodePool.ts.html |here} to see how to use CreateVirtualNodePool API.
482
502
  */
483
503
  createVirtualNodePool(createVirtualNodePoolRequest) {
484
504
  return __awaiter(this, void 0, void 0, function* () {
485
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#createVirtualNodePool.");
505
+ if (this.logger)
506
+ this.logger.debug("Calling operation ContainerEngineClient#createVirtualNodePool.");
486
507
  const operationName = "createVirtualNodePool";
487
508
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/CreateVirtualNodePool";
488
509
  const pathParams = {};
@@ -494,6 +515,8 @@ class ContainerEngineClient {
494
515
  };
495
516
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
496
517
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createVirtualNodePoolRequest.retryConfiguration, specRetryConfiguration);
518
+ if (this.logger)
519
+ retrier.logger = this.logger;
497
520
  const request = yield oci_common_2.composeRequest({
498
521
  baseEndpoint: this._endpoint,
499
522
  defaultHeaders: this._defaultHeaders,
@@ -534,11 +557,12 @@ class ContainerEngineClient {
534
557
  * @param CreateWorkloadMappingRequest
535
558
  * @return CreateWorkloadMappingResponse
536
559
  * @throws OciError when an error occurs
537
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/CreateWorkloadMapping.ts.html |here} to see how to use CreateWorkloadMapping API.
560
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/CreateWorkloadMapping.ts.html |here} to see how to use CreateWorkloadMapping API.
538
561
  */
539
562
  createWorkloadMapping(createWorkloadMappingRequest) {
540
563
  return __awaiter(this, void 0, void 0, function* () {
541
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#createWorkloadMapping.");
564
+ if (this.logger)
565
+ this.logger.debug("Calling operation ContainerEngineClient#createWorkloadMapping.");
542
566
  const operationName = "createWorkloadMapping";
543
567
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/CreateWorkloadMapping";
544
568
  const pathParams = {
@@ -552,6 +576,8 @@ class ContainerEngineClient {
552
576
  };
553
577
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
554
578
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWorkloadMappingRequest.retryConfiguration, specRetryConfiguration);
579
+ if (this.logger)
580
+ retrier.logger = this.logger;
555
581
  const request = yield oci_common_2.composeRequest({
556
582
  baseEndpoint: this._endpoint,
557
583
  defaultHeaders: this._defaultHeaders,
@@ -596,11 +622,12 @@ class ContainerEngineClient {
596
622
  * @param DeleteClusterRequest
597
623
  * @return DeleteClusterResponse
598
624
  * @throws OciError when an error occurs
599
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
625
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
600
626
  */
601
627
  deleteCluster(deleteClusterRequest) {
602
628
  return __awaiter(this, void 0, void 0, function* () {
603
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#deleteCluster.");
629
+ if (this.logger)
630
+ this.logger.debug("Calling operation ContainerEngineClient#deleteCluster.");
604
631
  const operationName = "deleteCluster";
605
632
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DeleteCluster";
606
633
  const pathParams = {
@@ -614,6 +641,8 @@ class ContainerEngineClient {
614
641
  };
615
642
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
616
643
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteClusterRequest.retryConfiguration, specRetryConfiguration);
644
+ if (this.logger)
645
+ retrier.logger = this.logger;
617
646
  const request = yield oci_common_2.composeRequest({
618
647
  baseEndpoint: this._endpoint,
619
648
  defaultHeaders: this._defaultHeaders,
@@ -653,11 +682,12 @@ class ContainerEngineClient {
653
682
  * @param DeleteNodeRequest
654
683
  * @return DeleteNodeResponse
655
684
  * @throws OciError when an error occurs
656
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DeleteNode.ts.html |here} to see how to use DeleteNode API.
685
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DeleteNode.ts.html |here} to see how to use DeleteNode API.
657
686
  */
658
687
  deleteNode(deleteNodeRequest) {
659
688
  return __awaiter(this, void 0, void 0, function* () {
660
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#deleteNode.");
689
+ if (this.logger)
690
+ this.logger.debug("Calling operation ContainerEngineClient#deleteNode.");
661
691
  const operationName = "deleteNode";
662
692
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNode";
663
693
  const pathParams = {
@@ -676,6 +706,8 @@ class ContainerEngineClient {
676
706
  };
677
707
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
678
708
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNodeRequest.retryConfiguration, specRetryConfiguration);
709
+ if (this.logger)
710
+ retrier.logger = this.logger;
679
711
  const request = yield oci_common_2.composeRequest({
680
712
  baseEndpoint: this._endpoint,
681
713
  defaultHeaders: this._defaultHeaders,
@@ -715,11 +747,12 @@ class ContainerEngineClient {
715
747
  * @param DeleteNodePoolRequest
716
748
  * @return DeleteNodePoolResponse
717
749
  * @throws OciError when an error occurs
718
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePool API.
750
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DeleteNodePool.ts.html |here} to see how to use DeleteNodePool API.
719
751
  */
720
752
  deleteNodePool(deleteNodePoolRequest) {
721
753
  return __awaiter(this, void 0, void 0, function* () {
722
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#deleteNodePool.");
754
+ if (this.logger)
755
+ this.logger.debug("Calling operation ContainerEngineClient#deleteNodePool.");
723
756
  const operationName = "deleteNodePool";
724
757
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNodePool";
725
758
  const pathParams = {
@@ -736,6 +769,8 @@ class ContainerEngineClient {
736
769
  };
737
770
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
738
771
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNodePoolRequest.retryConfiguration, specRetryConfiguration);
772
+ if (this.logger)
773
+ retrier.logger = this.logger;
739
774
  const request = yield oci_common_2.composeRequest({
740
775
  baseEndpoint: this._endpoint,
741
776
  defaultHeaders: this._defaultHeaders,
@@ -775,11 +810,12 @@ class ContainerEngineClient {
775
810
  * @param DeleteVirtualNodePoolRequest
776
811
  * @return DeleteVirtualNodePoolResponse
777
812
  * @throws OciError when an error occurs
778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DeleteVirtualNodePool.ts.html |here} to see how to use DeleteVirtualNodePool API.
813
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DeleteVirtualNodePool.ts.html |here} to see how to use DeleteVirtualNodePool API.
779
814
  */
780
815
  deleteVirtualNodePool(deleteVirtualNodePoolRequest) {
781
816
  return __awaiter(this, void 0, void 0, function* () {
782
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#deleteVirtualNodePool.");
817
+ if (this.logger)
818
+ this.logger.debug("Calling operation ContainerEngineClient#deleteVirtualNodePool.");
783
819
  const operationName = "deleteVirtualNodePool";
784
820
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/DeleteVirtualNodePool";
785
821
  const pathParams = {
@@ -796,6 +832,8 @@ class ContainerEngineClient {
796
832
  };
797
833
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
798
834
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteVirtualNodePoolRequest.retryConfiguration, specRetryConfiguration);
835
+ if (this.logger)
836
+ retrier.logger = this.logger;
799
837
  const request = yield oci_common_2.composeRequest({
800
838
  baseEndpoint: this._endpoint,
801
839
  defaultHeaders: this._defaultHeaders,
@@ -835,11 +873,12 @@ class ContainerEngineClient {
835
873
  * @param DeleteWorkRequestRequest
836
874
  * @return DeleteWorkRequestResponse
837
875
  * @throws OciError when an error occurs
838
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
876
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
839
877
  */
840
878
  deleteWorkRequest(deleteWorkRequestRequest) {
841
879
  return __awaiter(this, void 0, void 0, function* () {
842
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#deleteWorkRequest.");
880
+ if (this.logger)
881
+ this.logger.debug("Calling operation ContainerEngineClient#deleteWorkRequest.");
843
882
  const operationName = "deleteWorkRequest";
844
883
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/DeleteWorkRequest";
845
884
  const pathParams = {
@@ -853,6 +892,8 @@ class ContainerEngineClient {
853
892
  };
854
893
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
855
894
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
895
+ if (this.logger)
896
+ retrier.logger = this.logger;
856
897
  const request = yield oci_common_2.composeRequest({
857
898
  baseEndpoint: this._endpoint,
858
899
  defaultHeaders: this._defaultHeaders,
@@ -887,11 +928,12 @@ class ContainerEngineClient {
887
928
  * @param DeleteWorkloadMappingRequest
888
929
  * @return DeleteWorkloadMappingResponse
889
930
  * @throws OciError when an error occurs
890
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DeleteWorkloadMapping.ts.html |here} to see how to use DeleteWorkloadMapping API.
931
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DeleteWorkloadMapping.ts.html |here} to see how to use DeleteWorkloadMapping API.
891
932
  */
892
933
  deleteWorkloadMapping(deleteWorkloadMappingRequest) {
893
934
  return __awaiter(this, void 0, void 0, function* () {
894
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#deleteWorkloadMapping.");
935
+ if (this.logger)
936
+ this.logger.debug("Calling operation ContainerEngineClient#deleteWorkloadMapping.");
895
937
  const operationName = "deleteWorkloadMapping";
896
938
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/DeleteWorkloadMapping";
897
939
  const pathParams = {
@@ -906,6 +948,8 @@ class ContainerEngineClient {
906
948
  };
907
949
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
908
950
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkloadMappingRequest.retryConfiguration, specRetryConfiguration);
951
+ if (this.logger)
952
+ retrier.logger = this.logger;
909
953
  const request = yield oci_common_2.composeRequest({
910
954
  baseEndpoint: this._endpoint,
911
955
  defaultHeaders: this._defaultHeaders,
@@ -940,11 +984,12 @@ class ContainerEngineClient {
940
984
  * @param DisableAddonRequest
941
985
  * @return DisableAddonResponse
942
986
  * @throws OciError when an error occurs
943
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/DisableAddon.ts.html |here} to see how to use DisableAddon API.
987
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/DisableAddon.ts.html |here} to see how to use DisableAddon API.
944
988
  */
945
989
  disableAddon(disableAddonRequest) {
946
990
  return __awaiter(this, void 0, void 0, function* () {
947
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#disableAddon.");
991
+ if (this.logger)
992
+ this.logger.debug("Calling operation ContainerEngineClient#disableAddon.");
948
993
  const operationName = "disableAddon";
949
994
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DisableAddon";
950
995
  const pathParams = {
@@ -961,6 +1006,8 @@ class ContainerEngineClient {
961
1006
  };
962
1007
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
963
1008
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAddonRequest.retryConfiguration, specRetryConfiguration);
1009
+ if (this.logger)
1010
+ retrier.logger = this.logger;
964
1011
  const request = yield oci_common_2.composeRequest({
965
1012
  baseEndpoint: this._endpoint,
966
1013
  defaultHeaders: this._defaultHeaders,
@@ -1000,11 +1047,12 @@ class ContainerEngineClient {
1000
1047
  * @param GetAddonRequest
1001
1048
  * @return GetAddonResponse
1002
1049
  * @throws OciError when an error occurs
1003
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetAddon.ts.html |here} to see how to use GetAddon API.
1050
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetAddon.ts.html |here} to see how to use GetAddon API.
1004
1051
  */
1005
1052
  getAddon(getAddonRequest) {
1006
1053
  return __awaiter(this, void 0, void 0, function* () {
1007
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getAddon.");
1054
+ if (this.logger)
1055
+ this.logger.debug("Calling operation ContainerEngineClient#getAddon.");
1008
1056
  const operationName = "getAddon";
1009
1057
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetAddon";
1010
1058
  const pathParams = {
@@ -1018,6 +1066,8 @@ class ContainerEngineClient {
1018
1066
  };
1019
1067
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1020
1068
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAddonRequest.retryConfiguration, specRetryConfiguration);
1069
+ if (this.logger)
1070
+ retrier.logger = this.logger;
1021
1071
  const request = yield oci_common_2.composeRequest({
1022
1072
  baseEndpoint: this._endpoint,
1023
1073
  defaultHeaders: this._defaultHeaders,
@@ -1061,11 +1111,12 @@ class ContainerEngineClient {
1061
1111
  * @param GetClusterRequest
1062
1112
  * @return GetClusterResponse
1063
1113
  * @throws OciError when an error occurs
1064
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetCluster.ts.html |here} to see how to use GetCluster API.
1114
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetCluster.ts.html |here} to see how to use GetCluster API.
1065
1115
  */
1066
1116
  getCluster(getClusterRequest) {
1067
1117
  return __awaiter(this, void 0, void 0, function* () {
1068
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getCluster.");
1118
+ if (this.logger)
1119
+ this.logger.debug("Calling operation ContainerEngineClient#getCluster.");
1069
1120
  const operationName = "getCluster";
1070
1121
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetCluster";
1071
1122
  const pathParams = {
@@ -1078,6 +1129,8 @@ class ContainerEngineClient {
1078
1129
  };
1079
1130
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1080
1131
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getClusterRequest.retryConfiguration, specRetryConfiguration);
1132
+ if (this.logger)
1133
+ retrier.logger = this.logger;
1081
1134
  const request = yield oci_common_2.composeRequest({
1082
1135
  baseEndpoint: this._endpoint,
1083
1136
  defaultHeaders: this._defaultHeaders,
@@ -1121,11 +1174,12 @@ class ContainerEngineClient {
1121
1174
  * @param GetClusterMigrateToNativeVcnStatusRequest
1122
1175
  * @return GetClusterMigrateToNativeVcnStatusResponse
1123
1176
  * @throws OciError when an error occurs
1124
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatus API.
1177
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetClusterMigrateToNativeVcnStatus.ts.html |here} to see how to use GetClusterMigrateToNativeVcnStatus API.
1125
1178
  */
1126
1179
  getClusterMigrateToNativeVcnStatus(getClusterMigrateToNativeVcnStatusRequest) {
1127
1180
  return __awaiter(this, void 0, void 0, function* () {
1128
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getClusterMigrateToNativeVcnStatus.");
1181
+ if (this.logger)
1182
+ this.logger.debug("Calling operation ContainerEngineClient#getClusterMigrateToNativeVcnStatus.");
1129
1183
  const operationName = "getClusterMigrateToNativeVcnStatus";
1130
1184
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterMigrateToNativeVcnStatus/GetClusterMigrateToNativeVcnStatus";
1131
1185
  const pathParams = {
@@ -1138,6 +1192,8 @@ class ContainerEngineClient {
1138
1192
  };
1139
1193
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1140
1194
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getClusterMigrateToNativeVcnStatusRequest.retryConfiguration, specRetryConfiguration);
1195
+ if (this.logger)
1196
+ retrier.logger = this.logger;
1141
1197
  const request = yield oci_common_2.composeRequest({
1142
1198
  baseEndpoint: this._endpoint,
1143
1199
  defaultHeaders: this._defaultHeaders,
@@ -1181,11 +1237,12 @@ class ContainerEngineClient {
1181
1237
  * @param GetClusterOptionsRequest
1182
1238
  * @return GetClusterOptionsResponse
1183
1239
  * @throws OciError when an error occurs
1184
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptions API.
1240
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetClusterOptions.ts.html |here} to see how to use GetClusterOptions API.
1185
1241
  */
1186
1242
  getClusterOptions(getClusterOptionsRequest) {
1187
1243
  return __awaiter(this, void 0, void 0, function* () {
1188
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getClusterOptions.");
1244
+ if (this.logger)
1245
+ this.logger.debug("Calling operation ContainerEngineClient#getClusterOptions.");
1189
1246
  const operationName = "getClusterOptions";
1190
1247
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterOptions/GetClusterOptions";
1191
1248
  const pathParams = {
@@ -1200,6 +1257,8 @@ class ContainerEngineClient {
1200
1257
  };
1201
1258
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1202
1259
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getClusterOptionsRequest.retryConfiguration, specRetryConfiguration);
1260
+ if (this.logger)
1261
+ retrier.logger = this.logger;
1203
1262
  const request = yield oci_common_2.composeRequest({
1204
1263
  baseEndpoint: this._endpoint,
1205
1264
  defaultHeaders: this._defaultHeaders,
@@ -1238,11 +1297,12 @@ class ContainerEngineClient {
1238
1297
  * @param GetCredentialRotationStatusRequest
1239
1298
  * @return GetCredentialRotationStatusResponse
1240
1299
  * @throws OciError when an error occurs
1241
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetCredentialRotationStatus.ts.html |here} to see how to use GetCredentialRotationStatus API.
1300
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetCredentialRotationStatus.ts.html |here} to see how to use GetCredentialRotationStatus API.
1242
1301
  */
1243
1302
  getCredentialRotationStatus(getCredentialRotationStatusRequest) {
1244
1303
  return __awaiter(this, void 0, void 0, function* () {
1245
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getCredentialRotationStatus.");
1304
+ if (this.logger)
1305
+ this.logger.debug("Calling operation ContainerEngineClient#getCredentialRotationStatus.");
1246
1306
  const operationName = "getCredentialRotationStatus";
1247
1307
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/CredentialRotationStatus/GetCredentialRotationStatus";
1248
1308
  const pathParams = {
@@ -1255,6 +1315,8 @@ class ContainerEngineClient {
1255
1315
  };
1256
1316
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1257
1317
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCredentialRotationStatusRequest.retryConfiguration, specRetryConfiguration);
1318
+ if (this.logger)
1319
+ retrier.logger = this.logger;
1258
1320
  const request = yield oci_common_2.composeRequest({
1259
1321
  baseEndpoint: this._endpoint,
1260
1322
  defaultHeaders: this._defaultHeaders,
@@ -1298,11 +1360,12 @@ class ContainerEngineClient {
1298
1360
  * @param GetNodePoolRequest
1299
1361
  * @return GetNodePoolResponse
1300
1362
  * @throws OciError when an error occurs
1301
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePool API.
1363
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetNodePool.ts.html |here} to see how to use GetNodePool API.
1302
1364
  */
1303
1365
  getNodePool(getNodePoolRequest) {
1304
1366
  return __awaiter(this, void 0, void 0, function* () {
1305
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getNodePool.");
1367
+ if (this.logger)
1368
+ this.logger.debug("Calling operation ContainerEngineClient#getNodePool.");
1306
1369
  const operationName = "getNodePool";
1307
1370
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/GetNodePool";
1308
1371
  const pathParams = {
@@ -1315,6 +1378,8 @@ class ContainerEngineClient {
1315
1378
  };
1316
1379
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1317
1380
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNodePoolRequest.retryConfiguration, specRetryConfiguration);
1381
+ if (this.logger)
1382
+ retrier.logger = this.logger;
1318
1383
  const request = yield oci_common_2.composeRequest({
1319
1384
  baseEndpoint: this._endpoint,
1320
1385
  defaultHeaders: this._defaultHeaders,
@@ -1358,11 +1423,12 @@ class ContainerEngineClient {
1358
1423
  * @param GetNodePoolOptionsRequest
1359
1424
  * @return GetNodePoolOptionsResponse
1360
1425
  * @throws OciError when an error occurs
1361
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptions API.
1426
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetNodePoolOptions.ts.html |here} to see how to use GetNodePoolOptions API.
1362
1427
  */
1363
1428
  getNodePoolOptions(getNodePoolOptionsRequest) {
1364
1429
  return __awaiter(this, void 0, void 0, function* () {
1365
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getNodePoolOptions.");
1430
+ if (this.logger)
1431
+ this.logger.debug("Calling operation ContainerEngineClient#getNodePoolOptions.");
1366
1432
  const operationName = "getNodePoolOptions";
1367
1433
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolOptions/GetNodePoolOptions";
1368
1434
  const pathParams = {
@@ -1377,6 +1443,8 @@ class ContainerEngineClient {
1377
1443
  };
1378
1444
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1379
1445
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNodePoolOptionsRequest.retryConfiguration, specRetryConfiguration);
1446
+ if (this.logger)
1447
+ retrier.logger = this.logger;
1380
1448
  const request = yield oci_common_2.composeRequest({
1381
1449
  baseEndpoint: this._endpoint,
1382
1450
  defaultHeaders: this._defaultHeaders,
@@ -1415,11 +1483,12 @@ class ContainerEngineClient {
1415
1483
  * @param GetVirtualNodeRequest
1416
1484
  * @return GetVirtualNodeResponse
1417
1485
  * @throws OciError when an error occurs
1418
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetVirtualNode.ts.html |here} to see how to use GetVirtualNode API.
1486
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetVirtualNode.ts.html |here} to see how to use GetVirtualNode API.
1419
1487
  */
1420
1488
  getVirtualNode(getVirtualNodeRequest) {
1421
1489
  return __awaiter(this, void 0, void 0, function* () {
1422
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getVirtualNode.");
1490
+ if (this.logger)
1491
+ this.logger.debug("Calling operation ContainerEngineClient#getVirtualNode.");
1423
1492
  const operationName = "getVirtualNode";
1424
1493
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNode";
1425
1494
  const pathParams = {
@@ -1433,6 +1502,8 @@ class ContainerEngineClient {
1433
1502
  };
1434
1503
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1435
1504
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getVirtualNodeRequest.retryConfiguration, specRetryConfiguration);
1505
+ if (this.logger)
1506
+ retrier.logger = this.logger;
1436
1507
  const request = yield oci_common_2.composeRequest({
1437
1508
  baseEndpoint: this._endpoint,
1438
1509
  defaultHeaders: this._defaultHeaders,
@@ -1476,11 +1547,12 @@ class ContainerEngineClient {
1476
1547
  * @param GetVirtualNodePoolRequest
1477
1548
  * @return GetVirtualNodePoolResponse
1478
1549
  * @throws OciError when an error occurs
1479
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetVirtualNodePool.ts.html |here} to see how to use GetVirtualNodePool API.
1550
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetVirtualNodePool.ts.html |here} to see how to use GetVirtualNodePool API.
1480
1551
  */
1481
1552
  getVirtualNodePool(getVirtualNodePoolRequest) {
1482
1553
  return __awaiter(this, void 0, void 0, function* () {
1483
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getVirtualNodePool.");
1554
+ if (this.logger)
1555
+ this.logger.debug("Calling operation ContainerEngineClient#getVirtualNodePool.");
1484
1556
  const operationName = "getVirtualNodePool";
1485
1557
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNodePool";
1486
1558
  const pathParams = {
@@ -1493,6 +1565,8 @@ class ContainerEngineClient {
1493
1565
  };
1494
1566
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1495
1567
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getVirtualNodePoolRequest.retryConfiguration, specRetryConfiguration);
1568
+ if (this.logger)
1569
+ retrier.logger = this.logger;
1496
1570
  const request = yield oci_common_2.composeRequest({
1497
1571
  baseEndpoint: this._endpoint,
1498
1572
  defaultHeaders: this._defaultHeaders,
@@ -1536,11 +1610,12 @@ class ContainerEngineClient {
1536
1610
  * @param GetWorkRequestRequest
1537
1611
  * @return GetWorkRequestResponse
1538
1612
  * @throws OciError when an error occurs
1539
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1613
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1540
1614
  */
1541
1615
  getWorkRequest(getWorkRequestRequest) {
1542
1616
  return __awaiter(this, void 0, void 0, function* () {
1543
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getWorkRequest.");
1617
+ if (this.logger)
1618
+ this.logger.debug("Calling operation ContainerEngineClient#getWorkRequest.");
1544
1619
  const operationName = "getWorkRequest";
1545
1620
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/GetWorkRequest";
1546
1621
  const pathParams = {
@@ -1553,6 +1628,8 @@ class ContainerEngineClient {
1553
1628
  };
1554
1629
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1555
1630
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1631
+ if (this.logger)
1632
+ retrier.logger = this.logger;
1556
1633
  const request = yield oci_common_2.composeRequest({
1557
1634
  baseEndpoint: this._endpoint,
1558
1635
  defaultHeaders: this._defaultHeaders,
@@ -1601,11 +1678,12 @@ class ContainerEngineClient {
1601
1678
  * @param GetWorkloadMappingRequest
1602
1679
  * @return GetWorkloadMappingResponse
1603
1680
  * @throws OciError when an error occurs
1604
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/GetWorkloadMapping.ts.html |here} to see how to use GetWorkloadMapping API.
1681
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/GetWorkloadMapping.ts.html |here} to see how to use GetWorkloadMapping API.
1605
1682
  */
1606
1683
  getWorkloadMapping(getWorkloadMappingRequest) {
1607
1684
  return __awaiter(this, void 0, void 0, function* () {
1608
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#getWorkloadMapping.");
1685
+ if (this.logger)
1686
+ this.logger.debug("Calling operation ContainerEngineClient#getWorkloadMapping.");
1609
1687
  const operationName = "getWorkloadMapping";
1610
1688
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/GetWorkloadMapping";
1611
1689
  const pathParams = {
@@ -1619,6 +1697,8 @@ class ContainerEngineClient {
1619
1697
  };
1620
1698
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1621
1699
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkloadMappingRequest.retryConfiguration, specRetryConfiguration);
1700
+ if (this.logger)
1701
+ retrier.logger = this.logger;
1622
1702
  const request = yield oci_common_2.composeRequest({
1623
1703
  baseEndpoint: this._endpoint,
1624
1704
  defaultHeaders: this._defaultHeaders,
@@ -1662,11 +1742,12 @@ class ContainerEngineClient {
1662
1742
  * @param InstallAddonRequest
1663
1743
  * @return InstallAddonResponse
1664
1744
  * @throws OciError when an error occurs
1665
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/InstallAddon.ts.html |here} to see how to use InstallAddon API.
1745
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/InstallAddon.ts.html |here} to see how to use InstallAddon API.
1666
1746
  */
1667
1747
  installAddon(installAddonRequest) {
1668
1748
  return __awaiter(this, void 0, void 0, function* () {
1669
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#installAddon.");
1749
+ if (this.logger)
1750
+ this.logger.debug("Calling operation ContainerEngineClient#installAddon.");
1670
1751
  const operationName = "installAddon";
1671
1752
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/InstallAddon";
1672
1753
  const pathParams = {
@@ -1681,6 +1762,8 @@ class ContainerEngineClient {
1681
1762
  };
1682
1763
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1683
1764
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, installAddonRequest.retryConfiguration, specRetryConfiguration);
1765
+ if (this.logger)
1766
+ retrier.logger = this.logger;
1684
1767
  const request = yield oci_common_2.composeRequest({
1685
1768
  baseEndpoint: this._endpoint,
1686
1769
  defaultHeaders: this._defaultHeaders,
@@ -1721,11 +1804,12 @@ class ContainerEngineClient {
1721
1804
  * @param ListAddonOptionsRequest
1722
1805
  * @return ListAddonOptionsResponse
1723
1806
  * @throws OciError when an error occurs
1724
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListAddonOptions.ts.html |here} to see how to use ListAddonOptions API.
1807
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListAddonOptions.ts.html |here} to see how to use ListAddonOptions API.
1725
1808
  */
1726
1809
  listAddonOptions(listAddonOptionsRequest) {
1727
1810
  return __awaiter(this, void 0, void 0, function* () {
1728
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listAddonOptions.");
1811
+ if (this.logger)
1812
+ this.logger.debug("Calling operation ContainerEngineClient#listAddonOptions.");
1729
1813
  const operationName = "listAddonOptions";
1730
1814
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/AddonOptionSummary/ListAddonOptions";
1731
1815
  const pathParams = {};
@@ -1743,6 +1827,8 @@ class ContainerEngineClient {
1743
1827
  };
1744
1828
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1745
1829
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAddonOptionsRequest.retryConfiguration, specRetryConfiguration);
1830
+ if (this.logger)
1831
+ retrier.logger = this.logger;
1746
1832
  const request = yield oci_common_2.composeRequest({
1747
1833
  baseEndpoint: this._endpoint,
1748
1834
  defaultHeaders: this._defaultHeaders,
@@ -1826,11 +1912,12 @@ class ContainerEngineClient {
1826
1912
  * @param ListAddonsRequest
1827
1913
  * @return ListAddonsResponse
1828
1914
  * @throws OciError when an error occurs
1829
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListAddons.ts.html |here} to see how to use ListAddons API.
1915
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListAddons.ts.html |here} to see how to use ListAddons API.
1830
1916
  */
1831
1917
  listAddons(listAddonsRequest) {
1832
1918
  return __awaiter(this, void 0, void 0, function* () {
1833
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listAddons.");
1919
+ if (this.logger)
1920
+ this.logger.debug("Calling operation ContainerEngineClient#listAddons.");
1834
1921
  const operationName = "listAddons";
1835
1922
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ListAddons";
1836
1923
  const pathParams = {
@@ -1848,6 +1935,8 @@ class ContainerEngineClient {
1848
1935
  };
1849
1936
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1850
1937
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAddonsRequest.retryConfiguration, specRetryConfiguration);
1938
+ if (this.logger)
1939
+ retrier.logger = this.logger;
1851
1940
  const request = yield oci_common_2.composeRequest({
1852
1941
  baseEndpoint: this._endpoint,
1853
1942
  defaultHeaders: this._defaultHeaders,
@@ -1931,11 +2020,12 @@ class ContainerEngineClient {
1931
2020
  * @param ListClustersRequest
1932
2021
  * @return ListClustersResponse
1933
2022
  * @throws OciError when an error occurs
1934
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListClusters.ts.html |here} to see how to use ListClusters API.
2023
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListClusters.ts.html |here} to see how to use ListClusters API.
1935
2024
  */
1936
2025
  listClusters(listClustersRequest) {
1937
2026
  return __awaiter(this, void 0, void 0, function* () {
1938
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listClusters.");
2027
+ if (this.logger)
2028
+ this.logger.debug("Calling operation ContainerEngineClient#listClusters.");
1939
2029
  const operationName = "listClusters";
1940
2030
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterSummary/ListClusters";
1941
2031
  const pathParams = {};
@@ -1954,6 +2044,8 @@ class ContainerEngineClient {
1954
2044
  };
1955
2045
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1956
2046
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listClustersRequest.retryConfiguration, specRetryConfiguration);
2047
+ if (this.logger)
2048
+ retrier.logger = this.logger;
1957
2049
  const request = yield oci_common_2.composeRequest({
1958
2050
  baseEndpoint: this._endpoint,
1959
2051
  defaultHeaders: this._defaultHeaders,
@@ -2037,11 +2129,12 @@ class ContainerEngineClient {
2037
2129
  * @param ListNodePoolsRequest
2038
2130
  * @return ListNodePoolsResponse
2039
2131
  * @throws OciError when an error occurs
2040
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePools API.
2132
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListNodePools.ts.html |here} to see how to use ListNodePools API.
2041
2133
  */
2042
2134
  listNodePools(listNodePoolsRequest) {
2043
2135
  return __awaiter(this, void 0, void 0, function* () {
2044
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listNodePools.");
2136
+ if (this.logger)
2137
+ this.logger.debug("Calling operation ContainerEngineClient#listNodePools.");
2045
2138
  const operationName = "listNodePools";
2046
2139
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolSummary/ListNodePools";
2047
2140
  const pathParams = {};
@@ -2061,6 +2154,8 @@ class ContainerEngineClient {
2061
2154
  };
2062
2155
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2063
2156
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNodePoolsRequest.retryConfiguration, specRetryConfiguration);
2157
+ if (this.logger)
2158
+ retrier.logger = this.logger;
2064
2159
  const request = yield oci_common_2.composeRequest({
2065
2160
  baseEndpoint: this._endpoint,
2066
2161
  defaultHeaders: this._defaultHeaders,
@@ -2144,11 +2239,12 @@ class ContainerEngineClient {
2144
2239
  * @param ListPodShapesRequest
2145
2240
  * @return ListPodShapesResponse
2146
2241
  * @throws OciError when an error occurs
2147
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListPodShapes.ts.html |here} to see how to use ListPodShapes API.
2242
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListPodShapes.ts.html |here} to see how to use ListPodShapes API.
2148
2243
  */
2149
2244
  listPodShapes(listPodShapesRequest) {
2150
2245
  return __awaiter(this, void 0, void 0, function* () {
2151
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listPodShapes.");
2246
+ if (this.logger)
2247
+ this.logger.debug("Calling operation ContainerEngineClient#listPodShapes.");
2152
2248
  const operationName = "listPodShapes";
2153
2249
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/PodShapeSummary/ListPodShapes";
2154
2250
  const pathParams = {};
@@ -2167,6 +2263,8 @@ class ContainerEngineClient {
2167
2263
  };
2168
2264
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2169
2265
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPodShapesRequest.retryConfiguration, specRetryConfiguration);
2266
+ if (this.logger)
2267
+ retrier.logger = this.logger;
2170
2268
  const request = yield oci_common_2.composeRequest({
2171
2269
  baseEndpoint: this._endpoint,
2172
2270
  defaultHeaders: this._defaultHeaders,
@@ -2250,11 +2348,12 @@ class ContainerEngineClient {
2250
2348
  * @param ListVirtualNodePoolsRequest
2251
2349
  * @return ListVirtualNodePoolsResponse
2252
2350
  * @throws OciError when an error occurs
2253
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListVirtualNodePools.ts.html |here} to see how to use ListVirtualNodePools API.
2351
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListVirtualNodePools.ts.html |here} to see how to use ListVirtualNodePools API.
2254
2352
  */
2255
2353
  listVirtualNodePools(listVirtualNodePoolsRequest) {
2256
2354
  return __awaiter(this, void 0, void 0, function* () {
2257
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listVirtualNodePools.");
2355
+ if (this.logger)
2356
+ this.logger.debug("Calling operation ContainerEngineClient#listVirtualNodePools.");
2258
2357
  const operationName = "listVirtualNodePools";
2259
2358
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePoolSummary/ListVirtualNodePools";
2260
2359
  const pathParams = {};
@@ -2274,6 +2373,8 @@ class ContainerEngineClient {
2274
2373
  };
2275
2374
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2276
2375
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVirtualNodePoolsRequest.retryConfiguration, specRetryConfiguration);
2376
+ if (this.logger)
2377
+ retrier.logger = this.logger;
2277
2378
  const request = yield oci_common_2.composeRequest({
2278
2379
  baseEndpoint: this._endpoint,
2279
2380
  defaultHeaders: this._defaultHeaders,
@@ -2357,11 +2458,12 @@ class ContainerEngineClient {
2357
2458
  * @param ListVirtualNodesRequest
2358
2459
  * @return ListVirtualNodesResponse
2359
2460
  * @throws OciError when an error occurs
2360
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListVirtualNodes.ts.html |here} to see how to use ListVirtualNodes API.
2461
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListVirtualNodes.ts.html |here} to see how to use ListVirtualNodes API.
2361
2462
  */
2362
2463
  listVirtualNodes(listVirtualNodesRequest) {
2363
2464
  return __awaiter(this, void 0, void 0, function* () {
2364
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listVirtualNodes.");
2465
+ if (this.logger)
2466
+ this.logger.debug("Calling operation ContainerEngineClient#listVirtualNodes.");
2365
2467
  const operationName = "listVirtualNodes";
2366
2468
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/ListVirtualNodes";
2367
2469
  const pathParams = {
@@ -2380,6 +2482,8 @@ class ContainerEngineClient {
2380
2482
  };
2381
2483
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2382
2484
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVirtualNodesRequest.retryConfiguration, specRetryConfiguration);
2485
+ if (this.logger)
2486
+ retrier.logger = this.logger;
2383
2487
  const request = yield oci_common_2.composeRequest({
2384
2488
  baseEndpoint: this._endpoint,
2385
2489
  defaultHeaders: this._defaultHeaders,
@@ -2463,11 +2567,12 @@ class ContainerEngineClient {
2463
2567
  * @param ListWorkRequestErrorsRequest
2464
2568
  * @return ListWorkRequestErrorsResponse
2465
2569
  * @throws OciError when an error occurs
2466
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2570
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2467
2571
  */
2468
2572
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2469
2573
  return __awaiter(this, void 0, void 0, function* () {
2470
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listWorkRequestErrors.");
2574
+ if (this.logger)
2575
+ this.logger.debug("Calling operation ContainerEngineClient#listWorkRequestErrors.");
2471
2576
  const operationName = "listWorkRequestErrors";
2472
2577
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestError/ListWorkRequestErrors";
2473
2578
  const pathParams = {
@@ -2482,6 +2587,8 @@ class ContainerEngineClient {
2482
2587
  };
2483
2588
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2484
2589
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
2590
+ if (this.logger)
2591
+ retrier.logger = this.logger;
2485
2592
  const request = yield oci_common_2.composeRequest({
2486
2593
  baseEndpoint: this._endpoint,
2487
2594
  defaultHeaders: this._defaultHeaders,
@@ -2520,11 +2627,12 @@ class ContainerEngineClient {
2520
2627
  * @param ListWorkRequestLogsRequest
2521
2628
  * @return ListWorkRequestLogsResponse
2522
2629
  * @throws OciError when an error occurs
2523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2630
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2524
2631
  */
2525
2632
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2526
2633
  return __awaiter(this, void 0, void 0, function* () {
2527
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listWorkRequestLogs.");
2634
+ if (this.logger)
2635
+ this.logger.debug("Calling operation ContainerEngineClient#listWorkRequestLogs.");
2528
2636
  const operationName = "listWorkRequestLogs";
2529
2637
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestLogEntry/ListWorkRequestLogs";
2530
2638
  const pathParams = {
@@ -2539,6 +2647,8 @@ class ContainerEngineClient {
2539
2647
  };
2540
2648
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2541
2649
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
2650
+ if (this.logger)
2651
+ retrier.logger = this.logger;
2542
2652
  const request = yield oci_common_2.composeRequest({
2543
2653
  baseEndpoint: this._endpoint,
2544
2654
  defaultHeaders: this._defaultHeaders,
@@ -2577,11 +2687,12 @@ class ContainerEngineClient {
2577
2687
  * @param ListWorkRequestsRequest
2578
2688
  * @return ListWorkRequestsResponse
2579
2689
  * @throws OciError when an error occurs
2580
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2690
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2581
2691
  */
2582
2692
  listWorkRequests(listWorkRequestsRequest) {
2583
2693
  return __awaiter(this, void 0, void 0, function* () {
2584
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listWorkRequests.");
2694
+ if (this.logger)
2695
+ this.logger.debug("Calling operation ContainerEngineClient#listWorkRequests.");
2585
2696
  const operationName = "listWorkRequests";
2586
2697
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestSummary/ListWorkRequests";
2587
2698
  const pathParams = {};
@@ -2602,6 +2713,8 @@ class ContainerEngineClient {
2602
2713
  };
2603
2714
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2604
2715
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
2716
+ if (this.logger)
2717
+ retrier.logger = this.logger;
2605
2718
  const request = yield oci_common_2.composeRequest({
2606
2719
  baseEndpoint: this._endpoint,
2607
2720
  defaultHeaders: this._defaultHeaders,
@@ -2685,11 +2798,12 @@ class ContainerEngineClient {
2685
2798
  * @param ListWorkloadMappingsRequest
2686
2799
  * @return ListWorkloadMappingsResponse
2687
2800
  * @throws OciError when an error occurs
2688
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/ListWorkloadMappings.ts.html |here} to see how to use ListWorkloadMappings API.
2801
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/ListWorkloadMappings.ts.html |here} to see how to use ListWorkloadMappings API.
2689
2802
  */
2690
2803
  listWorkloadMappings(listWorkloadMappingsRequest) {
2691
2804
  return __awaiter(this, void 0, void 0, function* () {
2692
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#listWorkloadMappings.");
2805
+ if (this.logger)
2806
+ this.logger.debug("Calling operation ContainerEngineClient#listWorkloadMappings.");
2693
2807
  const operationName = "listWorkloadMappings";
2694
2808
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMappingSummary/ListWorkloadMappings";
2695
2809
  const pathParams = {
@@ -2707,6 +2821,8 @@ class ContainerEngineClient {
2707
2821
  };
2708
2822
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2709
2823
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkloadMappingsRequest.retryConfiguration, specRetryConfiguration);
2824
+ if (this.logger)
2825
+ retrier.logger = this.logger;
2710
2826
  const request = yield oci_common_2.composeRequest({
2711
2827
  baseEndpoint: this._endpoint,
2712
2828
  defaultHeaders: this._defaultHeaders,
@@ -2790,11 +2906,12 @@ class ContainerEngineClient {
2790
2906
  * @param StartCredentialRotationRequest
2791
2907
  * @return StartCredentialRotationResponse
2792
2908
  * @throws OciError when an error occurs
2793
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/StartCredentialRotation.ts.html |here} to see how to use StartCredentialRotation API.
2909
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/StartCredentialRotation.ts.html |here} to see how to use StartCredentialRotation API.
2794
2910
  */
2795
2911
  startCredentialRotation(startCredentialRotationRequest) {
2796
2912
  return __awaiter(this, void 0, void 0, function* () {
2797
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#startCredentialRotation.");
2913
+ if (this.logger)
2914
+ this.logger.debug("Calling operation ContainerEngineClient#startCredentialRotation.");
2798
2915
  const operationName = "startCredentialRotation";
2799
2916
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/StartCredentialRotation";
2800
2917
  const pathParams = {
@@ -2809,6 +2926,8 @@ class ContainerEngineClient {
2809
2926
  };
2810
2927
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2811
2928
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startCredentialRotationRequest.retryConfiguration, specRetryConfiguration);
2929
+ if (this.logger)
2930
+ retrier.logger = this.logger;
2812
2931
  const request = yield oci_common_2.composeRequest({
2813
2932
  baseEndpoint: this._endpoint,
2814
2933
  defaultHeaders: this._defaultHeaders,
@@ -2849,11 +2968,12 @@ class ContainerEngineClient {
2849
2968
  * @param UpdateAddonRequest
2850
2969
  * @return UpdateAddonResponse
2851
2970
  * @throws OciError when an error occurs
2852
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/UpdateAddon.ts.html |here} to see how to use UpdateAddon API.
2971
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/UpdateAddon.ts.html |here} to see how to use UpdateAddon API.
2853
2972
  */
2854
2973
  updateAddon(updateAddonRequest) {
2855
2974
  return __awaiter(this, void 0, void 0, function* () {
2856
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#updateAddon.");
2975
+ if (this.logger)
2976
+ this.logger.debug("Calling operation ContainerEngineClient#updateAddon.");
2857
2977
  const operationName = "updateAddon";
2858
2978
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateAddon";
2859
2979
  const pathParams = {
@@ -2868,6 +2988,8 @@ class ContainerEngineClient {
2868
2988
  };
2869
2989
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2870
2990
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAddonRequest.retryConfiguration, specRetryConfiguration);
2991
+ if (this.logger)
2992
+ retrier.logger = this.logger;
2871
2993
  const request = yield oci_common_2.composeRequest({
2872
2994
  baseEndpoint: this._endpoint,
2873
2995
  defaultHeaders: this._defaultHeaders,
@@ -2908,11 +3030,12 @@ class ContainerEngineClient {
2908
3030
  * @param UpdateClusterRequest
2909
3031
  * @return UpdateClusterResponse
2910
3032
  * @throws OciError when an error occurs
2911
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
3033
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
2912
3034
  */
2913
3035
  updateCluster(updateClusterRequest) {
2914
3036
  return __awaiter(this, void 0, void 0, function* () {
2915
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#updateCluster.");
3037
+ if (this.logger)
3038
+ this.logger.debug("Calling operation ContainerEngineClient#updateCluster.");
2916
3039
  const operationName = "updateCluster";
2917
3040
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateCluster";
2918
3041
  const pathParams = {
@@ -2926,6 +3049,8 @@ class ContainerEngineClient {
2926
3049
  };
2927
3050
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2928
3051
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateClusterRequest.retryConfiguration, specRetryConfiguration);
3052
+ if (this.logger)
3053
+ retrier.logger = this.logger;
2929
3054
  const request = yield oci_common_2.composeRequest({
2930
3055
  baseEndpoint: this._endpoint,
2931
3056
  defaultHeaders: this._defaultHeaders,
@@ -2966,11 +3091,12 @@ class ContainerEngineClient {
2966
3091
  * @param UpdateClusterEndpointConfigRequest
2967
3092
  * @return UpdateClusterEndpointConfigResponse
2968
3093
  * @throws OciError when an error occurs
2969
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfig API.
3094
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfig API.
2970
3095
  */
2971
3096
  updateClusterEndpointConfig(updateClusterEndpointConfigRequest) {
2972
3097
  return __awaiter(this, void 0, void 0, function* () {
2973
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#updateClusterEndpointConfig.");
3098
+ if (this.logger)
3099
+ this.logger.debug("Calling operation ContainerEngineClient#updateClusterEndpointConfig.");
2974
3100
  const operationName = "updateClusterEndpointConfig";
2975
3101
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateClusterEndpointConfig";
2976
3102
  const pathParams = {
@@ -2984,6 +3110,8 @@ class ContainerEngineClient {
2984
3110
  };
2985
3111
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2986
3112
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateClusterEndpointConfigRequest.retryConfiguration, specRetryConfiguration);
3113
+ if (this.logger)
3114
+ retrier.logger = this.logger;
2987
3115
  const request = yield oci_common_2.composeRequest({
2988
3116
  baseEndpoint: this._endpoint,
2989
3117
  defaultHeaders: this._defaultHeaders,
@@ -3024,11 +3152,12 @@ class ContainerEngineClient {
3024
3152
  * @param UpdateNodePoolRequest
3025
3153
  * @return UpdateNodePoolResponse
3026
3154
  * @throws OciError when an error occurs
3027
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePool API.
3155
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/UpdateNodePool.ts.html |here} to see how to use UpdateNodePool API.
3028
3156
  */
3029
3157
  updateNodePool(updateNodePoolRequest) {
3030
3158
  return __awaiter(this, void 0, void 0, function* () {
3031
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#updateNodePool.");
3159
+ if (this.logger)
3160
+ this.logger.debug("Calling operation ContainerEngineClient#updateNodePool.");
3032
3161
  const operationName = "updateNodePool";
3033
3162
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/UpdateNodePool";
3034
3163
  const pathParams = {
@@ -3045,6 +3174,8 @@ class ContainerEngineClient {
3045
3174
  };
3046
3175
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3047
3176
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNodePoolRequest.retryConfiguration, specRetryConfiguration);
3177
+ if (this.logger)
3178
+ retrier.logger = this.logger;
3048
3179
  const request = yield oci_common_2.composeRequest({
3049
3180
  baseEndpoint: this._endpoint,
3050
3181
  defaultHeaders: this._defaultHeaders,
@@ -3085,11 +3216,12 @@ class ContainerEngineClient {
3085
3216
  * @param UpdateVirtualNodePoolRequest
3086
3217
  * @return UpdateVirtualNodePoolResponse
3087
3218
  * @throws OciError when an error occurs
3088
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/UpdateVirtualNodePool.ts.html |here} to see how to use UpdateVirtualNodePool API.
3219
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/UpdateVirtualNodePool.ts.html |here} to see how to use UpdateVirtualNodePool API.
3089
3220
  */
3090
3221
  updateVirtualNodePool(updateVirtualNodePoolRequest) {
3091
3222
  return __awaiter(this, void 0, void 0, function* () {
3092
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#updateVirtualNodePool.");
3223
+ if (this.logger)
3224
+ this.logger.debug("Calling operation ContainerEngineClient#updateVirtualNodePool.");
3093
3225
  const operationName = "updateVirtualNodePool";
3094
3226
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/UpdateVirtualNodePool";
3095
3227
  const pathParams = {
@@ -3103,6 +3235,8 @@ class ContainerEngineClient {
3103
3235
  };
3104
3236
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3105
3237
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateVirtualNodePoolRequest.retryConfiguration, specRetryConfiguration);
3238
+ if (this.logger)
3239
+ retrier.logger = this.logger;
3106
3240
  const request = yield oci_common_2.composeRequest({
3107
3241
  baseEndpoint: this._endpoint,
3108
3242
  defaultHeaders: this._defaultHeaders,
@@ -3143,11 +3277,12 @@ class ContainerEngineClient {
3143
3277
  * @param UpdateWorkloadMappingRequest
3144
3278
  * @return UpdateWorkloadMappingResponse
3145
3279
  * @throws OciError when an error occurs
3146
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/containerengine/UpdateWorkloadMapping.ts.html |here} to see how to use UpdateWorkloadMapping API.
3280
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/containerengine/UpdateWorkloadMapping.ts.html |here} to see how to use UpdateWorkloadMapping API.
3147
3281
  */
3148
3282
  updateWorkloadMapping(updateWorkloadMappingRequest) {
3149
3283
  return __awaiter(this, void 0, void 0, function* () {
3150
- oci_common_2.logger.debug("Calling operation ContainerEngineClient#updateWorkloadMapping.");
3284
+ if (this.logger)
3285
+ this.logger.debug("Calling operation ContainerEngineClient#updateWorkloadMapping.");
3151
3286
  const operationName = "updateWorkloadMapping";
3152
3287
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/UpdateWorkloadMapping";
3153
3288
  const pathParams = {
@@ -3162,6 +3297,8 @@ class ContainerEngineClient {
3162
3297
  };
3163
3298
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3164
3299
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWorkloadMappingRequest.retryConfiguration, specRetryConfiguration);
3300
+ if (this.logger)
3301
+ retrier.logger = this.logger;
3165
3302
  const request = yield oci_common_2.composeRequest({
3166
3303
  baseEndpoint: this._endpoint,
3167
3304
  defaultHeaders: this._defaultHeaders,