oci-cloudbridge 2.78.0 → 2.79.1

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 (78) hide show
  1. package/lib/client.d.ts +58 -62
  2. package/lib/client.js +124 -318
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/asset-source-summary.js +2 -4
  5. package/lib/model/asset-source-summary.js.map +1 -1
  6. package/lib/model/asset-source.js +2 -4
  7. package/lib/model/asset-source.js.map +1 -1
  8. package/lib/model/asset.js +2 -4
  9. package/lib/model/asset.js.map +1 -1
  10. package/lib/model/create-asset-details.js +2 -4
  11. package/lib/model/create-asset-details.js.map +1 -1
  12. package/lib/model/create-asset-source-details.js +2 -4
  13. package/lib/model/create-asset-source-details.js.map +1 -1
  14. package/lib/model/import-inventory-details.js +2 -4
  15. package/lib/model/import-inventory-details.js.map +1 -1
  16. package/lib/model/update-asset-details.js +2 -4
  17. package/lib/model/update-asset-details.js.map +1 -1
  18. package/lib/model/update-asset-source-details.js +2 -4
  19. package/lib/model/update-asset-source-details.js.map +1 -1
  20. package/lib/request/add-agent-dependency-request.d.ts +1 -1
  21. package/lib/request/analyze-assets-request.d.ts +1 -1
  22. package/lib/request/cancel-work-request-request.d.ts +1 -1
  23. package/lib/request/change-agent-compartment-request.d.ts +1 -1
  24. package/lib/request/change-agent-dependency-compartment-request.d.ts +1 -1
  25. package/lib/request/change-asset-compartment-request.d.ts +1 -1
  26. package/lib/request/change-asset-source-compartment-request.d.ts +1 -1
  27. package/lib/request/change-asset-tags-request.d.ts +1 -1
  28. package/lib/request/change-discovery-schedule-compartment-request.d.ts +1 -1
  29. package/lib/request/change-environment-compartment-request.d.ts +1 -1
  30. package/lib/request/create-agent-dependency-request.d.ts +1 -1
  31. package/lib/request/create-agent-request.d.ts +1 -1
  32. package/lib/request/create-asset-request.d.ts +1 -1
  33. package/lib/request/create-asset-source-request.d.ts +1 -1
  34. package/lib/request/create-discovery-schedule-request.d.ts +1 -1
  35. package/lib/request/create-environment-request.d.ts +1 -1
  36. package/lib/request/create-inventory-request.d.ts +1 -1
  37. package/lib/request/delete-agent-dependency-request.d.ts +1 -1
  38. package/lib/request/delete-agent-request.d.ts +1 -1
  39. package/lib/request/delete-asset-request.d.ts +1 -1
  40. package/lib/request/delete-asset-source-request.d.ts +1 -1
  41. package/lib/request/delete-discovery-schedule-request.d.ts +1 -1
  42. package/lib/request/delete-environment-request.d.ts +1 -1
  43. package/lib/request/delete-inventory-request.d.ts +1 -1
  44. package/lib/request/get-agent-dependency-request.d.ts +1 -1
  45. package/lib/request/get-agent-request.d.ts +1 -1
  46. package/lib/request/get-asset-request.d.ts +1 -1
  47. package/lib/request/get-asset-source-request.d.ts +1 -1
  48. package/lib/request/get-discovery-schedule-request.d.ts +1 -1
  49. package/lib/request/get-environment-request.d.ts +1 -1
  50. package/lib/request/get-inventory-request.d.ts +1 -1
  51. package/lib/request/get-plugin-request.d.ts +1 -1
  52. package/lib/request/get-work-request-request.d.ts +1 -1
  53. package/lib/request/import-inventory-request.d.ts +1 -1
  54. package/lib/request/list-agent-dependencies-request.d.ts +1 -1
  55. package/lib/request/list-agents-request.d.ts +1 -1
  56. package/lib/request/list-appliance-images-request.d.ts +1 -1
  57. package/lib/request/list-asset-source-connections-request.d.ts +1 -1
  58. package/lib/request/list-asset-sources-request.d.ts +1 -1
  59. package/lib/request/list-assets-request.d.ts +1 -1
  60. package/lib/request/list-discovery-schedules-request.d.ts +1 -1
  61. package/lib/request/list-environments-request.d.ts +1 -1
  62. package/lib/request/list-historical-metrics-request.d.ts +1 -1
  63. package/lib/request/list-inventories-request.d.ts +1 -1
  64. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  65. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  66. package/lib/request/list-work-requests-request.d.ts +1 -1
  67. package/lib/request/refresh-asset-source-request.d.ts +1 -1
  68. package/lib/request/remove-agent-dependency-request.d.ts +1 -1
  69. package/lib/request/submit-historical-metrics-request.d.ts +1 -1
  70. package/lib/request/update-agent-dependency-request.d.ts +1 -1
  71. package/lib/request/update-agent-request.d.ts +1 -1
  72. package/lib/request/update-asset-request.d.ts +1 -1
  73. package/lib/request/update-asset-source-request.d.ts +1 -1
  74. package/lib/request/update-discovery-schedule-request.d.ts +1 -1
  75. package/lib/request/update-environment-request.d.ts +1 -1
  76. package/lib/request/update-inventory-request.d.ts +1 -1
  77. package/lib/request/update-plugin-request.d.ts +1 -1
  78. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -119,11 +119,7 @@ class CommonClient {
119
119
  set endpoint(endpoint) {
120
120
  this._endpoint = endpoint;
121
121
  this._endpoint = this._endpoint + "/20220509";
122
- if (this.logger)
123
- this.logger.info(`CommonClient endpoint set to ${this._endpoint}`);
124
- }
125
- get logger() {
126
- return common.LOG.logger;
122
+ oci_common_1.logger.info(`CommonClient endpoint set to ${this._endpoint}`);
127
123
  }
128
124
  /**
129
125
  * Determines whether realm specific endpoint should be used or not.
@@ -132,8 +128,7 @@ class CommonClient {
132
128
  */
133
129
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
134
130
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
135
- if (this.logger)
136
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
131
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
137
132
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
138
133
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(CommonClient.serviceEndpointTemplate, this._region, CommonClient.endpointServiceName);
139
134
  }
@@ -199,12 +194,11 @@ class CommonClient {
199
194
  * @param CancelWorkRequestRequest
200
195
  * @return CancelWorkRequestResponse
201
196
  * @throws OciError when an error occurs
202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
197
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
203
198
  */
204
199
  cancelWorkRequest(cancelWorkRequestRequest) {
205
200
  return __awaiter(this, void 0, void 0, function* () {
206
- if (this.logger)
207
- this.logger.debug("Calling operation CommonClient#cancelWorkRequest.");
201
+ oci_common_1.logger.debug("Calling operation CommonClient#cancelWorkRequest.");
208
202
  const operationName = "cancelWorkRequest";
209
203
  const apiReferenceLink = "";
210
204
  const pathParams = {
@@ -218,8 +212,6 @@ class CommonClient {
218
212
  };
219
213
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
220
214
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
221
- if (this.logger)
222
- retrier.logger = this.logger;
223
215
  const request = yield oci_common_1.composeRequest({
224
216
  baseEndpoint: this._endpoint,
225
217
  defaultHeaders: this._defaultHeaders,
@@ -254,12 +246,11 @@ class CommonClient {
254
246
  * @param GetWorkRequestRequest
255
247
  * @return GetWorkRequestResponse
256
248
  * @throws OciError when an error occurs
257
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
249
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
258
250
  */
259
251
  getWorkRequest(getWorkRequestRequest) {
260
252
  return __awaiter(this, void 0, void 0, function* () {
261
- if (this.logger)
262
- this.logger.debug("Calling operation CommonClient#getWorkRequest.");
253
+ oci_common_1.logger.debug("Calling operation CommonClient#getWorkRequest.");
263
254
  const operationName = "getWorkRequest";
264
255
  const apiReferenceLink = "";
265
256
  const pathParams = {
@@ -272,8 +263,6 @@ class CommonClient {
272
263
  };
273
264
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
274
265
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
275
- if (this.logger)
276
- retrier.logger = this.logger;
277
266
  const request = yield oci_common_1.composeRequest({
278
267
  baseEndpoint: this._endpoint,
279
268
  defaultHeaders: this._defaultHeaders,
@@ -323,12 +312,11 @@ class CommonClient {
323
312
  * @param ListWorkRequestErrorsRequest
324
313
  * @return ListWorkRequestErrorsResponse
325
314
  * @throws OciError when an error occurs
326
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
327
316
  */
328
317
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
329
318
  return __awaiter(this, void 0, void 0, function* () {
330
- if (this.logger)
331
- this.logger.debug("Calling operation CommonClient#listWorkRequestErrors.");
319
+ oci_common_1.logger.debug("Calling operation CommonClient#listWorkRequestErrors.");
332
320
  const operationName = "listWorkRequestErrors";
333
321
  const apiReferenceLink = "";
334
322
  const pathParams = {
@@ -346,8 +334,6 @@ class CommonClient {
346
334
  };
347
335
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
348
336
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
349
- if (this.logger)
350
- retrier.logger = this.logger;
351
337
  const request = yield oci_common_1.composeRequest({
352
338
  baseEndpoint: this._endpoint,
353
339
  defaultHeaders: this._defaultHeaders,
@@ -392,12 +378,11 @@ class CommonClient {
392
378
  * @param ListWorkRequestLogsRequest
393
379
  * @return ListWorkRequestLogsResponse
394
380
  * @throws OciError when an error occurs
395
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
381
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
396
382
  */
397
383
  listWorkRequestLogs(listWorkRequestLogsRequest) {
398
384
  return __awaiter(this, void 0, void 0, function* () {
399
- if (this.logger)
400
- this.logger.debug("Calling operation CommonClient#listWorkRequestLogs.");
385
+ oci_common_1.logger.debug("Calling operation CommonClient#listWorkRequestLogs.");
401
386
  const operationName = "listWorkRequestLogs";
402
387
  const apiReferenceLink = "";
403
388
  const pathParams = {
@@ -415,8 +400,6 @@ class CommonClient {
415
400
  };
416
401
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
417
402
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
418
- if (this.logger)
419
- retrier.logger = this.logger;
420
403
  const request = yield oci_common_1.composeRequest({
421
404
  baseEndpoint: this._endpoint,
422
405
  defaultHeaders: this._defaultHeaders,
@@ -461,12 +444,11 @@ class CommonClient {
461
444
  * @param ListWorkRequestsRequest
462
445
  * @return ListWorkRequestsResponse
463
446
  * @throws OciError when an error occurs
464
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
447
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
465
448
  */
466
449
  listWorkRequests(listWorkRequestsRequest) {
467
450
  return __awaiter(this, void 0, void 0, function* () {
468
- if (this.logger)
469
- this.logger.debug("Calling operation CommonClient#listWorkRequests.");
451
+ oci_common_1.logger.debug("Calling operation CommonClient#listWorkRequests.");
470
452
  const operationName = "listWorkRequests";
471
453
  const apiReferenceLink = "";
472
454
  const pathParams = {};
@@ -486,8 +468,6 @@ class CommonClient {
486
468
  };
487
469
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
488
470
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
489
- if (this.logger)
490
- retrier.logger = this.logger;
491
471
  const request = yield oci_common_1.composeRequest({
492
472
  baseEndpoint: this._endpoint,
493
473
  defaultHeaders: this._defaultHeaders,
@@ -596,11 +576,7 @@ class DiscoveryClient {
596
576
  set endpoint(endpoint) {
597
577
  this._endpoint = endpoint;
598
578
  this._endpoint = this._endpoint + "/20220509";
599
- if (this.logger)
600
- this.logger.info(`DiscoveryClient endpoint set to ${this._endpoint}`);
601
- }
602
- get logger() {
603
- return common.LOG.logger;
579
+ oci_common_1.logger.info(`DiscoveryClient endpoint set to ${this._endpoint}`);
604
580
  }
605
581
  /**
606
582
  * Determines whether realm specific endpoint should be used or not.
@@ -609,8 +585,7 @@ class DiscoveryClient {
609
585
  */
610
586
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
611
587
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
612
- if (this.logger)
613
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
588
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
614
589
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
615
590
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DiscoveryClient.serviceEndpointTemplate, this._region, DiscoveryClient.endpointServiceName);
616
591
  }
@@ -676,12 +651,11 @@ class DiscoveryClient {
676
651
  * @param ChangeAssetSourceCompartmentRequest
677
652
  * @return ChangeAssetSourceCompartmentResponse
678
653
  * @throws OciError when an error occurs
679
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeAssetSourceCompartment.ts.html |here} to see how to use ChangeAssetSourceCompartment API.
654
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeAssetSourceCompartment.ts.html |here} to see how to use ChangeAssetSourceCompartment API.
680
655
  */
681
656
  changeAssetSourceCompartment(changeAssetSourceCompartmentRequest) {
682
657
  return __awaiter(this, void 0, void 0, function* () {
683
- if (this.logger)
684
- this.logger.debug("Calling operation DiscoveryClient#changeAssetSourceCompartment.");
658
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#changeAssetSourceCompartment.");
685
659
  const operationName = "changeAssetSourceCompartment";
686
660
  const apiReferenceLink = "";
687
661
  const pathParams = {
@@ -696,8 +670,6 @@ class DiscoveryClient {
696
670
  };
697
671
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
698
672
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAssetSourceCompartmentRequest.retryConfiguration, specRetryConfiguration);
699
- if (this.logger)
700
- retrier.logger = this.logger;
701
673
  const request = yield oci_common_1.composeRequest({
702
674
  baseEndpoint: this._endpoint,
703
675
  defaultHeaders: this._defaultHeaders,
@@ -733,12 +705,11 @@ class DiscoveryClient {
733
705
  * @param ChangeDiscoveryScheduleCompartmentRequest
734
706
  * @return ChangeDiscoveryScheduleCompartmentResponse
735
707
  * @throws OciError when an error occurs
736
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeDiscoveryScheduleCompartment.ts.html |here} to see how to use ChangeDiscoveryScheduleCompartment API.
708
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeDiscoveryScheduleCompartment.ts.html |here} to see how to use ChangeDiscoveryScheduleCompartment API.
737
709
  */
738
710
  changeDiscoveryScheduleCompartment(changeDiscoveryScheduleCompartmentRequest) {
739
711
  return __awaiter(this, void 0, void 0, function* () {
740
- if (this.logger)
741
- this.logger.debug("Calling operation DiscoveryClient#changeDiscoveryScheduleCompartment.");
712
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#changeDiscoveryScheduleCompartment.");
742
713
  const operationName = "changeDiscoveryScheduleCompartment";
743
714
  const apiReferenceLink = "";
744
715
  const pathParams = {
@@ -753,8 +724,6 @@ class DiscoveryClient {
753
724
  };
754
725
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
755
726
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDiscoveryScheduleCompartmentRequest.retryConfiguration, specRetryConfiguration);
756
- if (this.logger)
757
- retrier.logger = this.logger;
758
727
  const request = yield oci_common_1.composeRequest({
759
728
  baseEndpoint: this._endpoint,
760
729
  defaultHeaders: this._defaultHeaders,
@@ -791,12 +760,11 @@ class DiscoveryClient {
791
760
  * @param CreateAssetSourceRequest
792
761
  * @return CreateAssetSourceResponse
793
762
  * @throws OciError when an error occurs
794
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateAssetSource.ts.html |here} to see how to use CreateAssetSource API.
763
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateAssetSource.ts.html |here} to see how to use CreateAssetSource API.
795
764
  */
796
765
  createAssetSource(createAssetSourceRequest) {
797
766
  return __awaiter(this, void 0, void 0, function* () {
798
- if (this.logger)
799
- this.logger.debug("Calling operation DiscoveryClient#createAssetSource.");
767
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#createAssetSource.");
800
768
  const operationName = "createAssetSource";
801
769
  const apiReferenceLink = "";
802
770
  const pathParams = {};
@@ -808,8 +776,6 @@ class DiscoveryClient {
808
776
  };
809
777
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
810
778
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAssetSourceRequest.retryConfiguration, specRetryConfiguration);
811
- if (this.logger)
812
- retrier.logger = this.logger;
813
779
  const request = yield oci_common_1.composeRequest({
814
780
  baseEndpoint: this._endpoint,
815
781
  defaultHeaders: this._defaultHeaders,
@@ -864,12 +830,11 @@ class DiscoveryClient {
864
830
  * @param CreateDiscoveryScheduleRequest
865
831
  * @return CreateDiscoveryScheduleResponse
866
832
  * @throws OciError when an error occurs
867
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateDiscoverySchedule.ts.html |here} to see how to use CreateDiscoverySchedule API.
833
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateDiscoverySchedule.ts.html |here} to see how to use CreateDiscoverySchedule API.
868
834
  */
869
835
  createDiscoverySchedule(createDiscoveryScheduleRequest) {
870
836
  return __awaiter(this, void 0, void 0, function* () {
871
- if (this.logger)
872
- this.logger.debug("Calling operation DiscoveryClient#createDiscoverySchedule.");
837
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#createDiscoverySchedule.");
873
838
  const operationName = "createDiscoverySchedule";
874
839
  const apiReferenceLink = "";
875
840
  const pathParams = {};
@@ -881,8 +846,6 @@ class DiscoveryClient {
881
846
  };
882
847
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
883
848
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDiscoveryScheduleRequest.retryConfiguration, specRetryConfiguration);
884
- if (this.logger)
885
- retrier.logger = this.logger;
886
849
  const request = yield oci_common_1.composeRequest({
887
850
  baseEndpoint: this._endpoint,
888
851
  defaultHeaders: this._defaultHeaders,
@@ -927,12 +890,11 @@ class DiscoveryClient {
927
890
  * @param DeleteAssetSourceRequest
928
891
  * @return DeleteAssetSourceResponse
929
892
  * @throws OciError when an error occurs
930
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteAssetSource.ts.html |here} to see how to use DeleteAssetSource API.
893
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteAssetSource.ts.html |here} to see how to use DeleteAssetSource API.
931
894
  */
932
895
  deleteAssetSource(deleteAssetSourceRequest) {
933
896
  return __awaiter(this, void 0, void 0, function* () {
934
- if (this.logger)
935
- this.logger.debug("Calling operation DiscoveryClient#deleteAssetSource.");
897
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#deleteAssetSource.");
936
898
  const operationName = "deleteAssetSource";
937
899
  const apiReferenceLink = "";
938
900
  const pathParams = {
@@ -946,8 +908,6 @@ class DiscoveryClient {
946
908
  };
947
909
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
948
910
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAssetSourceRequest.retryConfiguration, specRetryConfiguration);
949
- if (this.logger)
950
- retrier.logger = this.logger;
951
911
  const request = yield oci_common_1.composeRequest({
952
912
  baseEndpoint: this._endpoint,
953
913
  defaultHeaders: this._defaultHeaders,
@@ -987,12 +947,11 @@ class DiscoveryClient {
987
947
  * @param DeleteDiscoveryScheduleRequest
988
948
  * @return DeleteDiscoveryScheduleResponse
989
949
  * @throws OciError when an error occurs
990
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteDiscoverySchedule.ts.html |here} to see how to use DeleteDiscoverySchedule API.
950
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteDiscoverySchedule.ts.html |here} to see how to use DeleteDiscoverySchedule API.
991
951
  */
992
952
  deleteDiscoverySchedule(deleteDiscoveryScheduleRequest) {
993
953
  return __awaiter(this, void 0, void 0, function* () {
994
- if (this.logger)
995
- this.logger.debug("Calling operation DiscoveryClient#deleteDiscoverySchedule.");
954
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#deleteDiscoverySchedule.");
996
955
  const operationName = "deleteDiscoverySchedule";
997
956
  const apiReferenceLink = "";
998
957
  const pathParams = {
@@ -1006,8 +965,6 @@ class DiscoveryClient {
1006
965
  };
1007
966
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1008
967
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDiscoveryScheduleRequest.retryConfiguration, specRetryConfiguration);
1009
- if (this.logger)
1010
- retrier.logger = this.logger;
1011
968
  const request = yield oci_common_1.composeRequest({
1012
969
  baseEndpoint: this._endpoint,
1013
970
  defaultHeaders: this._defaultHeaders,
@@ -1042,12 +999,11 @@ class DiscoveryClient {
1042
999
  * @param GetAssetSourceRequest
1043
1000
  * @return GetAssetSourceResponse
1044
1001
  * @throws OciError when an error occurs
1045
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetAssetSource.ts.html |here} to see how to use GetAssetSource API.
1002
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetAssetSource.ts.html |here} to see how to use GetAssetSource API.
1046
1003
  */
1047
1004
  getAssetSource(getAssetSourceRequest) {
1048
1005
  return __awaiter(this, void 0, void 0, function* () {
1049
- if (this.logger)
1050
- this.logger.debug("Calling operation DiscoveryClient#getAssetSource.");
1006
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#getAssetSource.");
1051
1007
  const operationName = "getAssetSource";
1052
1008
  const apiReferenceLink = "";
1053
1009
  const pathParams = {
@@ -1060,8 +1016,6 @@ class DiscoveryClient {
1060
1016
  };
1061
1017
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1062
1018
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAssetSourceRequest.retryConfiguration, specRetryConfiguration);
1063
- if (this.logger)
1064
- retrier.logger = this.logger;
1065
1019
  const request = yield oci_common_1.composeRequest({
1066
1020
  baseEndpoint: this._endpoint,
1067
1021
  defaultHeaders: this._defaultHeaders,
@@ -1105,12 +1059,11 @@ class DiscoveryClient {
1105
1059
  * @param GetDiscoveryScheduleRequest
1106
1060
  * @return GetDiscoveryScheduleResponse
1107
1061
  * @throws OciError when an error occurs
1108
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetDiscoverySchedule.ts.html |here} to see how to use GetDiscoverySchedule API.
1062
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetDiscoverySchedule.ts.html |here} to see how to use GetDiscoverySchedule API.
1109
1063
  */
1110
1064
  getDiscoverySchedule(getDiscoveryScheduleRequest) {
1111
1065
  return __awaiter(this, void 0, void 0, function* () {
1112
- if (this.logger)
1113
- this.logger.debug("Calling operation DiscoveryClient#getDiscoverySchedule.");
1066
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#getDiscoverySchedule.");
1114
1067
  const operationName = "getDiscoverySchedule";
1115
1068
  const apiReferenceLink = "";
1116
1069
  const pathParams = {
@@ -1123,8 +1076,6 @@ class DiscoveryClient {
1123
1076
  };
1124
1077
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1125
1078
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDiscoveryScheduleRequest.retryConfiguration, specRetryConfiguration);
1126
- if (this.logger)
1127
- retrier.logger = this.logger;
1128
1079
  const request = yield oci_common_1.composeRequest({
1129
1080
  baseEndpoint: this._endpoint,
1130
1081
  defaultHeaders: this._defaultHeaders,
@@ -1168,12 +1119,11 @@ class DiscoveryClient {
1168
1119
  * @param ListAssetSourceConnectionsRequest
1169
1120
  * @return ListAssetSourceConnectionsResponse
1170
1121
  * @throws OciError when an error occurs
1171
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListAssetSourceConnections.ts.html |here} to see how to use ListAssetSourceConnections API.
1122
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListAssetSourceConnections.ts.html |here} to see how to use ListAssetSourceConnections API.
1172
1123
  */
1173
1124
  listAssetSourceConnections(listAssetSourceConnectionsRequest) {
1174
1125
  return __awaiter(this, void 0, void 0, function* () {
1175
- if (this.logger)
1176
- this.logger.debug("Calling operation DiscoveryClient#listAssetSourceConnections.");
1126
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#listAssetSourceConnections.");
1177
1127
  const operationName = "listAssetSourceConnections";
1178
1128
  const apiReferenceLink = "";
1179
1129
  const pathParams = {
@@ -1189,8 +1139,6 @@ class DiscoveryClient {
1189
1139
  };
1190
1140
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1191
1141
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssetSourceConnectionsRequest.retryConfiguration, specRetryConfiguration);
1192
- if (this.logger)
1193
- retrier.logger = this.logger;
1194
1142
  const request = yield oci_common_1.composeRequest({
1195
1143
  baseEndpoint: this._endpoint,
1196
1144
  defaultHeaders: this._defaultHeaders,
@@ -1235,12 +1183,11 @@ class DiscoveryClient {
1235
1183
  * @param ListAssetSourcesRequest
1236
1184
  * @return ListAssetSourcesResponse
1237
1185
  * @throws OciError when an error occurs
1238
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListAssetSources.ts.html |here} to see how to use ListAssetSources API.
1186
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListAssetSources.ts.html |here} to see how to use ListAssetSources API.
1239
1187
  */
1240
1188
  listAssetSources(listAssetSourcesRequest) {
1241
1189
  return __awaiter(this, void 0, void 0, function* () {
1242
- if (this.logger)
1243
- this.logger.debug("Calling operation DiscoveryClient#listAssetSources.");
1190
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#listAssetSources.");
1244
1191
  const operationName = "listAssetSources";
1245
1192
  const apiReferenceLink = "";
1246
1193
  const pathParams = {};
@@ -1260,8 +1207,6 @@ class DiscoveryClient {
1260
1207
  };
1261
1208
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1262
1209
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssetSourcesRequest.retryConfiguration, specRetryConfiguration);
1263
- if (this.logger)
1264
- retrier.logger = this.logger;
1265
1210
  const request = yield oci_common_1.composeRequest({
1266
1211
  baseEndpoint: this._endpoint,
1267
1212
  defaultHeaders: this._defaultHeaders,
@@ -1305,12 +1250,11 @@ class DiscoveryClient {
1305
1250
  * @param ListDiscoverySchedulesRequest
1306
1251
  * @return ListDiscoverySchedulesResponse
1307
1252
  * @throws OciError when an error occurs
1308
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListDiscoverySchedules.ts.html |here} to see how to use ListDiscoverySchedules API.
1253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListDiscoverySchedules.ts.html |here} to see how to use ListDiscoverySchedules API.
1309
1254
  */
1310
1255
  listDiscoverySchedules(listDiscoverySchedulesRequest) {
1311
1256
  return __awaiter(this, void 0, void 0, function* () {
1312
- if (this.logger)
1313
- this.logger.debug("Calling operation DiscoveryClient#listDiscoverySchedules.");
1257
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#listDiscoverySchedules.");
1314
1258
  const operationName = "listDiscoverySchedules";
1315
1259
  const apiReferenceLink = "";
1316
1260
  const pathParams = {};
@@ -1330,8 +1274,6 @@ class DiscoveryClient {
1330
1274
  };
1331
1275
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1332
1276
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDiscoverySchedulesRequest.retryConfiguration, specRetryConfiguration);
1333
- if (this.logger)
1334
- retrier.logger = this.logger;
1335
1277
  const request = yield oci_common_1.composeRequest({
1336
1278
  baseEndpoint: this._endpoint,
1337
1279
  defaultHeaders: this._defaultHeaders,
@@ -1375,12 +1317,11 @@ class DiscoveryClient {
1375
1317
  * @param RefreshAssetSourceRequest
1376
1318
  * @return RefreshAssetSourceResponse
1377
1319
  * @throws OciError when an error occurs
1378
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/RefreshAssetSource.ts.html |here} to see how to use RefreshAssetSource API.
1320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/RefreshAssetSource.ts.html |here} to see how to use RefreshAssetSource API.
1379
1321
  */
1380
1322
  refreshAssetSource(refreshAssetSourceRequest) {
1381
1323
  return __awaiter(this, void 0, void 0, function* () {
1382
- if (this.logger)
1383
- this.logger.debug("Calling operation DiscoveryClient#refreshAssetSource.");
1324
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#refreshAssetSource.");
1384
1325
  const operationName = "refreshAssetSource";
1385
1326
  const apiReferenceLink = "";
1386
1327
  const pathParams = {
@@ -1394,8 +1335,6 @@ class DiscoveryClient {
1394
1335
  };
1395
1336
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1396
1337
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshAssetSourceRequest.retryConfiguration, specRetryConfiguration);
1397
- if (this.logger)
1398
- retrier.logger = this.logger;
1399
1338
  const request = yield oci_common_1.composeRequest({
1400
1339
  baseEndpoint: this._endpoint,
1401
1340
  defaultHeaders: this._defaultHeaders,
@@ -1435,12 +1374,11 @@ class DiscoveryClient {
1435
1374
  * @param UpdateAssetSourceRequest
1436
1375
  * @return UpdateAssetSourceResponse
1437
1376
  * @throws OciError when an error occurs
1438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateAssetSource.ts.html |here} to see how to use UpdateAssetSource API.
1377
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateAssetSource.ts.html |here} to see how to use UpdateAssetSource API.
1439
1378
  */
1440
1379
  updateAssetSource(updateAssetSourceRequest) {
1441
1380
  return __awaiter(this, void 0, void 0, function* () {
1442
- if (this.logger)
1443
- this.logger.debug("Calling operation DiscoveryClient#updateAssetSource.");
1381
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#updateAssetSource.");
1444
1382
  const operationName = "updateAssetSource";
1445
1383
  const apiReferenceLink = "";
1446
1384
  const pathParams = {
@@ -1454,8 +1392,6 @@ class DiscoveryClient {
1454
1392
  };
1455
1393
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1456
1394
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAssetSourceRequest.retryConfiguration, specRetryConfiguration);
1457
- if (this.logger)
1458
- retrier.logger = this.logger;
1459
1395
  const request = yield oci_common_1.composeRequest({
1460
1396
  baseEndpoint: this._endpoint,
1461
1397
  defaultHeaders: this._defaultHeaders,
@@ -1496,12 +1432,11 @@ class DiscoveryClient {
1496
1432
  * @param UpdateDiscoveryScheduleRequest
1497
1433
  * @return UpdateDiscoveryScheduleResponse
1498
1434
  * @throws OciError when an error occurs
1499
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateDiscoverySchedule.ts.html |here} to see how to use UpdateDiscoverySchedule API.
1435
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateDiscoverySchedule.ts.html |here} to see how to use UpdateDiscoverySchedule API.
1500
1436
  */
1501
1437
  updateDiscoverySchedule(updateDiscoveryScheduleRequest) {
1502
1438
  return __awaiter(this, void 0, void 0, function* () {
1503
- if (this.logger)
1504
- this.logger.debug("Calling operation DiscoveryClient#updateDiscoverySchedule.");
1439
+ oci_common_1.logger.debug("Calling operation DiscoveryClient#updateDiscoverySchedule.");
1505
1440
  const operationName = "updateDiscoverySchedule";
1506
1441
  const apiReferenceLink = "";
1507
1442
  const pathParams = {
@@ -1515,8 +1450,6 @@ class DiscoveryClient {
1515
1450
  };
1516
1451
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1517
1452
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDiscoveryScheduleRequest.retryConfiguration, specRetryConfiguration);
1518
- if (this.logger)
1519
- retrier.logger = this.logger;
1520
1453
  const request = yield oci_common_1.composeRequest({
1521
1454
  baseEndpoint: this._endpoint,
1522
1455
  defaultHeaders: this._defaultHeaders,
@@ -1626,11 +1559,7 @@ class InventoryClient {
1626
1559
  set endpoint(endpoint) {
1627
1560
  this._endpoint = endpoint;
1628
1561
  this._endpoint = this._endpoint + "/20220509";
1629
- if (this.logger)
1630
- this.logger.info(`InventoryClient endpoint set to ${this._endpoint}`);
1631
- }
1632
- get logger() {
1633
- return common.LOG.logger;
1562
+ oci_common_1.logger.info(`InventoryClient endpoint set to ${this._endpoint}`);
1634
1563
  }
1635
1564
  /**
1636
1565
  * Determines whether realm specific endpoint should be used or not.
@@ -1639,8 +1568,7 @@ class InventoryClient {
1639
1568
  */
1640
1569
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1641
1570
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1642
- if (this.logger)
1643
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1571
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1644
1572
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1645
1573
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(InventoryClient.serviceEndpointTemplate, this._region, InventoryClient.endpointServiceName);
1646
1574
  }
@@ -1708,12 +1636,11 @@ class InventoryClient {
1708
1636
  * @param AnalyzeAssetsRequest
1709
1637
  * @return AnalyzeAssetsResponse
1710
1638
  * @throws OciError when an error occurs
1711
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/AnalyzeAssets.ts.html |here} to see how to use AnalyzeAssets API.
1639
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/AnalyzeAssets.ts.html |here} to see how to use AnalyzeAssets API.
1712
1640
  */
1713
1641
  analyzeAssets(analyzeAssetsRequest) {
1714
1642
  return __awaiter(this, void 0, void 0, function* () {
1715
- if (this.logger)
1716
- this.logger.debug("Calling operation InventoryClient#analyzeAssets.");
1643
+ oci_common_1.logger.debug("Calling operation InventoryClient#analyzeAssets.");
1717
1644
  const operationName = "analyzeAssets";
1718
1645
  const apiReferenceLink = "";
1719
1646
  const pathParams = {};
@@ -1736,8 +1663,6 @@ class InventoryClient {
1736
1663
  };
1737
1664
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1738
1665
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, analyzeAssetsRequest.retryConfiguration, specRetryConfiguration);
1739
- if (this.logger)
1740
- retrier.logger = this.logger;
1741
1666
  const request = yield oci_common_1.composeRequest({
1742
1667
  baseEndpoint: this._endpoint,
1743
1668
  defaultHeaders: this._defaultHeaders,
@@ -1781,12 +1706,11 @@ class InventoryClient {
1781
1706
  * @param ChangeAssetCompartmentRequest
1782
1707
  * @return ChangeAssetCompartmentResponse
1783
1708
  * @throws OciError when an error occurs
1784
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeAssetCompartment.ts.html |here} to see how to use ChangeAssetCompartment API.
1709
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeAssetCompartment.ts.html |here} to see how to use ChangeAssetCompartment API.
1785
1710
  */
1786
1711
  changeAssetCompartment(changeAssetCompartmentRequest) {
1787
1712
  return __awaiter(this, void 0, void 0, function* () {
1788
- if (this.logger)
1789
- this.logger.debug("Calling operation InventoryClient#changeAssetCompartment.");
1713
+ oci_common_1.logger.debug("Calling operation InventoryClient#changeAssetCompartment.");
1790
1714
  const operationName = "changeAssetCompartment";
1791
1715
  const apiReferenceLink = "";
1792
1716
  const pathParams = {
@@ -1801,8 +1725,6 @@ class InventoryClient {
1801
1725
  };
1802
1726
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1803
1727
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAssetCompartmentRequest.retryConfiguration, specRetryConfiguration);
1804
- if (this.logger)
1805
- retrier.logger = this.logger;
1806
1728
  const request = yield oci_common_1.composeRequest({
1807
1729
  baseEndpoint: this._endpoint,
1808
1730
  defaultHeaders: this._defaultHeaders,
@@ -1838,12 +1760,11 @@ class InventoryClient {
1838
1760
  * @param ChangeAssetTagsRequest
1839
1761
  * @return ChangeAssetTagsResponse
1840
1762
  * @throws OciError when an error occurs
1841
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeAssetTags.ts.html |here} to see how to use ChangeAssetTags API.
1763
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeAssetTags.ts.html |here} to see how to use ChangeAssetTags API.
1842
1764
  */
1843
1765
  changeAssetTags(changeAssetTagsRequest) {
1844
1766
  return __awaiter(this, void 0, void 0, function* () {
1845
- if (this.logger)
1846
- this.logger.debug("Calling operation InventoryClient#changeAssetTags.");
1767
+ oci_common_1.logger.debug("Calling operation InventoryClient#changeAssetTags.");
1847
1768
  const operationName = "changeAssetTags";
1848
1769
  const apiReferenceLink = "";
1849
1770
  const pathParams = {
@@ -1858,8 +1779,6 @@ class InventoryClient {
1858
1779
  };
1859
1780
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1860
1781
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAssetTagsRequest.retryConfiguration, specRetryConfiguration);
1861
- if (this.logger)
1862
- retrier.logger = this.logger;
1863
1782
  const request = yield oci_common_1.composeRequest({
1864
1783
  baseEndpoint: this._endpoint,
1865
1784
  defaultHeaders: this._defaultHeaders,
@@ -1904,12 +1823,11 @@ class InventoryClient {
1904
1823
  * @param CreateAssetRequest
1905
1824
  * @return CreateAssetResponse
1906
1825
  * @throws OciError when an error occurs
1907
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateAsset.ts.html |here} to see how to use CreateAsset API.
1826
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateAsset.ts.html |here} to see how to use CreateAsset API.
1908
1827
  */
1909
1828
  createAsset(createAssetRequest) {
1910
1829
  return __awaiter(this, void 0, void 0, function* () {
1911
- if (this.logger)
1912
- this.logger.debug("Calling operation InventoryClient#createAsset.");
1830
+ oci_common_1.logger.debug("Calling operation InventoryClient#createAsset.");
1913
1831
  const operationName = "createAsset";
1914
1832
  const apiReferenceLink = "";
1915
1833
  const pathParams = {};
@@ -1921,8 +1839,6 @@ class InventoryClient {
1921
1839
  };
1922
1840
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1923
1841
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAssetRequest.retryConfiguration, specRetryConfiguration);
1924
- if (this.logger)
1925
- retrier.logger = this.logger;
1926
1842
  const request = yield oci_common_1.composeRequest({
1927
1843
  baseEndpoint: this._endpoint,
1928
1844
  defaultHeaders: this._defaultHeaders,
@@ -1967,12 +1883,11 @@ class InventoryClient {
1967
1883
  * @param CreateInventoryRequest
1968
1884
  * @return CreateInventoryResponse
1969
1885
  * @throws OciError when an error occurs
1970
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateInventory.ts.html |here} to see how to use CreateInventory API.
1886
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateInventory.ts.html |here} to see how to use CreateInventory API.
1971
1887
  */
1972
1888
  createInventory(createInventoryRequest) {
1973
1889
  return __awaiter(this, void 0, void 0, function* () {
1974
- if (this.logger)
1975
- this.logger.debug("Calling operation InventoryClient#createInventory.");
1890
+ oci_common_1.logger.debug("Calling operation InventoryClient#createInventory.");
1976
1891
  const operationName = "createInventory";
1977
1892
  const apiReferenceLink = "";
1978
1893
  const pathParams = {};
@@ -1984,8 +1899,6 @@ class InventoryClient {
1984
1899
  };
1985
1900
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1986
1901
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createInventoryRequest.retryConfiguration, specRetryConfiguration);
1987
- if (this.logger)
1988
- retrier.logger = this.logger;
1989
1902
  const request = yield oci_common_1.composeRequest({
1990
1903
  baseEndpoint: this._endpoint,
1991
1904
  defaultHeaders: this._defaultHeaders,
@@ -2026,12 +1939,11 @@ class InventoryClient {
2026
1939
  * @param DeleteAssetRequest
2027
1940
  * @return DeleteAssetResponse
2028
1941
  * @throws OciError when an error occurs
2029
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteAsset.ts.html |here} to see how to use DeleteAsset API.
1942
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteAsset.ts.html |here} to see how to use DeleteAsset API.
2030
1943
  */
2031
1944
  deleteAsset(deleteAssetRequest) {
2032
1945
  return __awaiter(this, void 0, void 0, function* () {
2033
- if (this.logger)
2034
- this.logger.debug("Calling operation InventoryClient#deleteAsset.");
1946
+ oci_common_1.logger.debug("Calling operation InventoryClient#deleteAsset.");
2035
1947
  const operationName = "deleteAsset";
2036
1948
  const apiReferenceLink = "";
2037
1949
  const pathParams = {
@@ -2045,8 +1957,6 @@ class InventoryClient {
2045
1957
  };
2046
1958
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2047
1959
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAssetRequest.retryConfiguration, specRetryConfiguration);
2048
- if (this.logger)
2049
- retrier.logger = this.logger;
2050
1960
  const request = yield oci_common_1.composeRequest({
2051
1961
  baseEndpoint: this._endpoint,
2052
1962
  defaultHeaders: this._defaultHeaders,
@@ -2081,12 +1991,11 @@ class InventoryClient {
2081
1991
  * @param DeleteInventoryRequest
2082
1992
  * @return DeleteInventoryResponse
2083
1993
  * @throws OciError when an error occurs
2084
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteInventory.ts.html |here} to see how to use DeleteInventory API.
1994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteInventory.ts.html |here} to see how to use DeleteInventory API.
2085
1995
  */
2086
1996
  deleteInventory(deleteInventoryRequest) {
2087
1997
  return __awaiter(this, void 0, void 0, function* () {
2088
- if (this.logger)
2089
- this.logger.debug("Calling operation InventoryClient#deleteInventory.");
1998
+ oci_common_1.logger.debug("Calling operation InventoryClient#deleteInventory.");
2090
1999
  const operationName = "deleteInventory";
2091
2000
  const apiReferenceLink = "";
2092
2001
  const pathParams = {
@@ -2100,8 +2009,6 @@ class InventoryClient {
2100
2009
  };
2101
2010
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2102
2011
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteInventoryRequest.retryConfiguration, specRetryConfiguration);
2103
- if (this.logger)
2104
- retrier.logger = this.logger;
2105
2012
  const request = yield oci_common_1.composeRequest({
2106
2013
  baseEndpoint: this._endpoint,
2107
2014
  defaultHeaders: this._defaultHeaders,
@@ -2141,12 +2048,11 @@ class InventoryClient {
2141
2048
  * @param GetAssetRequest
2142
2049
  * @return GetAssetResponse
2143
2050
  * @throws OciError when an error occurs
2144
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetAsset.ts.html |here} to see how to use GetAsset API.
2051
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetAsset.ts.html |here} to see how to use GetAsset API.
2145
2052
  */
2146
2053
  getAsset(getAssetRequest) {
2147
2054
  return __awaiter(this, void 0, void 0, function* () {
2148
- if (this.logger)
2149
- this.logger.debug("Calling operation InventoryClient#getAsset.");
2055
+ oci_common_1.logger.debug("Calling operation InventoryClient#getAsset.");
2150
2056
  const operationName = "getAsset";
2151
2057
  const apiReferenceLink = "";
2152
2058
  const pathParams = {
@@ -2159,8 +2065,6 @@ class InventoryClient {
2159
2065
  };
2160
2066
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2161
2067
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAssetRequest.retryConfiguration, specRetryConfiguration);
2162
- if (this.logger)
2163
- retrier.logger = this.logger;
2164
2068
  const request = yield oci_common_1.composeRequest({
2165
2069
  baseEndpoint: this._endpoint,
2166
2070
  defaultHeaders: this._defaultHeaders,
@@ -2204,12 +2108,11 @@ class InventoryClient {
2204
2108
  * @param GetInventoryRequest
2205
2109
  * @return GetInventoryResponse
2206
2110
  * @throws OciError when an error occurs
2207
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetInventory.ts.html |here} to see how to use GetInventory API.
2111
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetInventory.ts.html |here} to see how to use GetInventory API.
2208
2112
  */
2209
2113
  getInventory(getInventoryRequest) {
2210
2114
  return __awaiter(this, void 0, void 0, function* () {
2211
- if (this.logger)
2212
- this.logger.debug("Calling operation InventoryClient#getInventory.");
2115
+ oci_common_1.logger.debug("Calling operation InventoryClient#getInventory.");
2213
2116
  const operationName = "getInventory";
2214
2117
  const apiReferenceLink = "";
2215
2118
  const pathParams = {
@@ -2222,8 +2125,6 @@ class InventoryClient {
2222
2125
  };
2223
2126
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2224
2127
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getInventoryRequest.retryConfiguration, specRetryConfiguration);
2225
- if (this.logger)
2226
- retrier.logger = this.logger;
2227
2128
  const request = yield oci_common_1.composeRequest({
2228
2129
  baseEndpoint: this._endpoint,
2229
2130
  defaultHeaders: this._defaultHeaders,
@@ -2272,12 +2173,11 @@ class InventoryClient {
2272
2173
  * @param ImportInventoryRequest
2273
2174
  * @return ImportInventoryResponse
2274
2175
  * @throws OciError when an error occurs
2275
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ImportInventory.ts.html |here} to see how to use ImportInventory API.
2176
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ImportInventory.ts.html |here} to see how to use ImportInventory API.
2276
2177
  */
2277
2178
  importInventory(importInventoryRequest) {
2278
2179
  return __awaiter(this, void 0, void 0, function* () {
2279
- if (this.logger)
2280
- this.logger.debug("Calling operation InventoryClient#importInventory.");
2180
+ oci_common_1.logger.debug("Calling operation InventoryClient#importInventory.");
2281
2181
  const operationName = "importInventory";
2282
2182
  const apiReferenceLink = "";
2283
2183
  const pathParams = {
@@ -2291,8 +2191,6 @@ class InventoryClient {
2291
2191
  };
2292
2192
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2293
2193
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importInventoryRequest.retryConfiguration, specRetryConfiguration);
2294
- if (this.logger)
2295
- retrier.logger = this.logger;
2296
2194
  const request = yield oci_common_1.composeRequest({
2297
2195
  baseEndpoint: this._endpoint,
2298
2196
  defaultHeaders: this._defaultHeaders,
@@ -2334,12 +2232,11 @@ class InventoryClient {
2334
2232
  * @param ListAssetsRequest
2335
2233
  * @return ListAssetsResponse
2336
2234
  * @throws OciError when an error occurs
2337
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListAssets.ts.html |here} to see how to use ListAssets API.
2235
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListAssets.ts.html |here} to see how to use ListAssets API.
2338
2236
  */
2339
2237
  listAssets(listAssetsRequest) {
2340
2238
  return __awaiter(this, void 0, void 0, function* () {
2341
- if (this.logger)
2342
- this.logger.debug("Calling operation InventoryClient#listAssets.");
2239
+ oci_common_1.logger.debug("Calling operation InventoryClient#listAssets.");
2343
2240
  const operationName = "listAssets";
2344
2241
  const apiReferenceLink = "";
2345
2242
  const pathParams = {};
@@ -2363,8 +2260,6 @@ class InventoryClient {
2363
2260
  };
2364
2261
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2365
2262
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssetsRequest.retryConfiguration, specRetryConfiguration);
2366
- if (this.logger)
2367
- retrier.logger = this.logger;
2368
2263
  const request = yield oci_common_1.composeRequest({
2369
2264
  baseEndpoint: this._endpoint,
2370
2265
  defaultHeaders: this._defaultHeaders,
@@ -2408,12 +2303,11 @@ class InventoryClient {
2408
2303
  * @param ListHistoricalMetricsRequest
2409
2304
  * @return ListHistoricalMetricsResponse
2410
2305
  * @throws OciError when an error occurs
2411
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListHistoricalMetrics.ts.html |here} to see how to use ListHistoricalMetrics API.
2306
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListHistoricalMetrics.ts.html |here} to see how to use ListHistoricalMetrics API.
2412
2307
  */
2413
2308
  listHistoricalMetrics(listHistoricalMetricsRequest) {
2414
2309
  return __awaiter(this, void 0, void 0, function* () {
2415
- if (this.logger)
2416
- this.logger.debug("Calling operation InventoryClient#listHistoricalMetrics.");
2310
+ oci_common_1.logger.debug("Calling operation InventoryClient#listHistoricalMetrics.");
2417
2311
  const operationName = "listHistoricalMetrics";
2418
2312
  const apiReferenceLink = "";
2419
2313
  const pathParams = {
@@ -2431,8 +2325,6 @@ class InventoryClient {
2431
2325
  };
2432
2326
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2433
2327
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHistoricalMetricsRequest.retryConfiguration, specRetryConfiguration);
2434
- if (this.logger)
2435
- retrier.logger = this.logger;
2436
2328
  const request = yield oci_common_1.composeRequest({
2437
2329
  baseEndpoint: this._endpoint,
2438
2330
  defaultHeaders: this._defaultHeaders,
@@ -2477,12 +2369,11 @@ class InventoryClient {
2477
2369
  * @param ListInventoriesRequest
2478
2370
  * @return ListInventoriesResponse
2479
2371
  * @throws OciError when an error occurs
2480
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListInventories.ts.html |here} to see how to use ListInventories API.
2372
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListInventories.ts.html |here} to see how to use ListInventories API.
2481
2373
  */
2482
2374
  listInventories(listInventoriesRequest) {
2483
2375
  return __awaiter(this, void 0, void 0, function* () {
2484
- if (this.logger)
2485
- this.logger.debug("Calling operation InventoryClient#listInventories.");
2376
+ oci_common_1.logger.debug("Calling operation InventoryClient#listInventories.");
2486
2377
  const operationName = "listInventories";
2487
2378
  const apiReferenceLink = "";
2488
2379
  const pathParams = {};
@@ -2500,8 +2391,6 @@ class InventoryClient {
2500
2391
  };
2501
2392
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2502
2393
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInventoriesRequest.retryConfiguration, specRetryConfiguration);
2503
- if (this.logger)
2504
- retrier.logger = this.logger;
2505
2394
  const request = yield oci_common_1.composeRequest({
2506
2395
  baseEndpoint: this._endpoint,
2507
2396
  defaultHeaders: this._defaultHeaders,
@@ -2545,12 +2434,11 @@ class InventoryClient {
2545
2434
  * @param SubmitHistoricalMetricsRequest
2546
2435
  * @return SubmitHistoricalMetricsResponse
2547
2436
  * @throws OciError when an error occurs
2548
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/SubmitHistoricalMetrics.ts.html |here} to see how to use SubmitHistoricalMetrics API.
2437
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/SubmitHistoricalMetrics.ts.html |here} to see how to use SubmitHistoricalMetrics API.
2549
2438
  */
2550
2439
  submitHistoricalMetrics(submitHistoricalMetricsRequest) {
2551
2440
  return __awaiter(this, void 0, void 0, function* () {
2552
- if (this.logger)
2553
- this.logger.debug("Calling operation InventoryClient#submitHistoricalMetrics.");
2441
+ oci_common_1.logger.debug("Calling operation InventoryClient#submitHistoricalMetrics.");
2554
2442
  const operationName = "submitHistoricalMetrics";
2555
2443
  const apiReferenceLink = "";
2556
2444
  const pathParams = {
@@ -2564,8 +2452,6 @@ class InventoryClient {
2564
2452
  };
2565
2453
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2566
2454
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, submitHistoricalMetricsRequest.retryConfiguration, specRetryConfiguration);
2567
- if (this.logger)
2568
- retrier.logger = this.logger;
2569
2455
  const request = yield oci_common_1.composeRequest({
2570
2456
  baseEndpoint: this._endpoint,
2571
2457
  defaultHeaders: this._defaultHeaders,
@@ -2610,12 +2496,11 @@ class InventoryClient {
2610
2496
  * @param UpdateAssetRequest
2611
2497
  * @return UpdateAssetResponse
2612
2498
  * @throws OciError when an error occurs
2613
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateAsset.ts.html |here} to see how to use UpdateAsset API.
2499
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateAsset.ts.html |here} to see how to use UpdateAsset API.
2614
2500
  */
2615
2501
  updateAsset(updateAssetRequest) {
2616
2502
  return __awaiter(this, void 0, void 0, function* () {
2617
- if (this.logger)
2618
- this.logger.debug("Calling operation InventoryClient#updateAsset.");
2503
+ oci_common_1.logger.debug("Calling operation InventoryClient#updateAsset.");
2619
2504
  const operationName = "updateAsset";
2620
2505
  const apiReferenceLink = "";
2621
2506
  const pathParams = {
@@ -2629,8 +2514,6 @@ class InventoryClient {
2629
2514
  };
2630
2515
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2631
2516
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAssetRequest.retryConfiguration, specRetryConfiguration);
2632
- if (this.logger)
2633
- retrier.logger = this.logger;
2634
2517
  const request = yield oci_common_1.composeRequest({
2635
2518
  baseEndpoint: this._endpoint,
2636
2519
  defaultHeaders: this._defaultHeaders,
@@ -2675,12 +2558,11 @@ class InventoryClient {
2675
2558
  * @param UpdateInventoryRequest
2676
2559
  * @return UpdateInventoryResponse
2677
2560
  * @throws OciError when an error occurs
2678
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateInventory.ts.html |here} to see how to use UpdateInventory API.
2561
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateInventory.ts.html |here} to see how to use UpdateInventory API.
2679
2562
  */
2680
2563
  updateInventory(updateInventoryRequest) {
2681
2564
  return __awaiter(this, void 0, void 0, function* () {
2682
- if (this.logger)
2683
- this.logger.debug("Calling operation InventoryClient#updateInventory.");
2565
+ oci_common_1.logger.debug("Calling operation InventoryClient#updateInventory.");
2684
2566
  const operationName = "updateInventory";
2685
2567
  const apiReferenceLink = "";
2686
2568
  const pathParams = {
@@ -2694,8 +2576,6 @@ class InventoryClient {
2694
2576
  };
2695
2577
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2696
2578
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateInventoryRequest.retryConfiguration, specRetryConfiguration);
2697
- if (this.logger)
2698
- retrier.logger = this.logger;
2699
2579
  const request = yield oci_common_1.composeRequest({
2700
2580
  baseEndpoint: this._endpoint,
2701
2581
  defaultHeaders: this._defaultHeaders,
@@ -2805,11 +2685,7 @@ class OcbAgentSvcClient {
2805
2685
  set endpoint(endpoint) {
2806
2686
  this._endpoint = endpoint;
2807
2687
  this._endpoint = this._endpoint + "/20220509";
2808
- if (this.logger)
2809
- this.logger.info(`OcbAgentSvcClient endpoint set to ${this._endpoint}`);
2810
- }
2811
- get logger() {
2812
- return common.LOG.logger;
2688
+ oci_common_1.logger.info(`OcbAgentSvcClient endpoint set to ${this._endpoint}`);
2813
2689
  }
2814
2690
  /**
2815
2691
  * Determines whether realm specific endpoint should be used or not.
@@ -2818,8 +2694,7 @@ class OcbAgentSvcClient {
2818
2694
  */
2819
2695
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
2820
2696
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
2821
- if (this.logger)
2822
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2697
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2823
2698
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
2824
2699
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OcbAgentSvcClient.serviceEndpointTemplate, this._region, OcbAgentSvcClient.endpointServiceName);
2825
2700
  }
@@ -2885,12 +2760,11 @@ class OcbAgentSvcClient {
2885
2760
  * @param AddAgentDependencyRequest
2886
2761
  * @return AddAgentDependencyResponse
2887
2762
  * @throws OciError when an error occurs
2888
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/AddAgentDependency.ts.html |here} to see how to use AddAgentDependency API.
2763
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/AddAgentDependency.ts.html |here} to see how to use AddAgentDependency API.
2889
2764
  */
2890
2765
  addAgentDependency(addAgentDependencyRequest) {
2891
2766
  return __awaiter(this, void 0, void 0, function* () {
2892
- if (this.logger)
2893
- this.logger.debug("Calling operation OcbAgentSvcClient#addAgentDependency.");
2767
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#addAgentDependency.");
2894
2768
  const operationName = "addAgentDependency";
2895
2769
  const apiReferenceLink = "";
2896
2770
  const pathParams = {
@@ -2905,8 +2779,6 @@ class OcbAgentSvcClient {
2905
2779
  };
2906
2780
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2907
2781
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAgentDependencyRequest.retryConfiguration, specRetryConfiguration);
2908
- if (this.logger)
2909
- retrier.logger = this.logger;
2910
2782
  const request = yield oci_common_1.composeRequest({
2911
2783
  baseEndpoint: this._endpoint,
2912
2784
  defaultHeaders: this._defaultHeaders,
@@ -2951,12 +2823,11 @@ class OcbAgentSvcClient {
2951
2823
  * @param ChangeAgentCompartmentRequest
2952
2824
  * @return ChangeAgentCompartmentResponse
2953
2825
  * @throws OciError when an error occurs
2954
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
2826
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
2955
2827
  */
2956
2828
  changeAgentCompartment(changeAgentCompartmentRequest) {
2957
2829
  return __awaiter(this, void 0, void 0, function* () {
2958
- if (this.logger)
2959
- this.logger.debug("Calling operation OcbAgentSvcClient#changeAgentCompartment.");
2830
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#changeAgentCompartment.");
2960
2831
  const operationName = "changeAgentCompartment";
2961
2832
  const apiReferenceLink = "";
2962
2833
  const pathParams = {
@@ -2971,8 +2842,6 @@ class OcbAgentSvcClient {
2971
2842
  };
2972
2843
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2973
2844
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAgentCompartmentRequest.retryConfiguration, specRetryConfiguration);
2974
- if (this.logger)
2975
- retrier.logger = this.logger;
2976
2845
  const request = yield oci_common_1.composeRequest({
2977
2846
  baseEndpoint: this._endpoint,
2978
2847
  defaultHeaders: this._defaultHeaders,
@@ -3013,12 +2882,11 @@ class OcbAgentSvcClient {
3013
2882
  * @param ChangeAgentDependencyCompartmentRequest
3014
2883
  * @return ChangeAgentDependencyCompartmentResponse
3015
2884
  * @throws OciError when an error occurs
3016
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeAgentDependencyCompartment.ts.html |here} to see how to use ChangeAgentDependencyCompartment API.
2885
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeAgentDependencyCompartment.ts.html |here} to see how to use ChangeAgentDependencyCompartment API.
3017
2886
  */
3018
2887
  changeAgentDependencyCompartment(changeAgentDependencyCompartmentRequest) {
3019
2888
  return __awaiter(this, void 0, void 0, function* () {
3020
- if (this.logger)
3021
- this.logger.debug("Calling operation OcbAgentSvcClient#changeAgentDependencyCompartment.");
2889
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#changeAgentDependencyCompartment.");
3022
2890
  const operationName = "changeAgentDependencyCompartment";
3023
2891
  const apiReferenceLink = "";
3024
2892
  const pathParams = {
@@ -3033,8 +2901,6 @@ class OcbAgentSvcClient {
3033
2901
  };
3034
2902
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3035
2903
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAgentDependencyCompartmentRequest.retryConfiguration, specRetryConfiguration);
3036
- if (this.logger)
3037
- retrier.logger = this.logger;
3038
2904
  const request = yield oci_common_1.composeRequest({
3039
2905
  baseEndpoint: this._endpoint,
3040
2906
  defaultHeaders: this._defaultHeaders,
@@ -3070,12 +2936,11 @@ class OcbAgentSvcClient {
3070
2936
  * @param ChangeEnvironmentCompartmentRequest
3071
2937
  * @return ChangeEnvironmentCompartmentResponse
3072
2938
  * @throws OciError when an error occurs
3073
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ChangeEnvironmentCompartment.ts.html |here} to see how to use ChangeEnvironmentCompartment API.
2939
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ChangeEnvironmentCompartment.ts.html |here} to see how to use ChangeEnvironmentCompartment API.
3074
2940
  */
3075
2941
  changeEnvironmentCompartment(changeEnvironmentCompartmentRequest) {
3076
2942
  return __awaiter(this, void 0, void 0, function* () {
3077
- if (this.logger)
3078
- this.logger.debug("Calling operation OcbAgentSvcClient#changeEnvironmentCompartment.");
2943
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#changeEnvironmentCompartment.");
3079
2944
  const operationName = "changeEnvironmentCompartment";
3080
2945
  const apiReferenceLink = "";
3081
2946
  const pathParams = {
@@ -3090,8 +2955,6 @@ class OcbAgentSvcClient {
3090
2955
  };
3091
2956
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3092
2957
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeEnvironmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
3093
- if (this.logger)
3094
- retrier.logger = this.logger;
3095
2958
  const request = yield oci_common_1.composeRequest({
3096
2959
  baseEndpoint: this._endpoint,
3097
2960
  defaultHeaders: this._defaultHeaders,
@@ -3133,12 +2996,11 @@ class OcbAgentSvcClient {
3133
2996
  * @param CreateAgentRequest
3134
2997
  * @return CreateAgentResponse
3135
2998
  * @throws OciError when an error occurs
3136
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateAgent.ts.html |here} to see how to use CreateAgent API.
2999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateAgent.ts.html |here} to see how to use CreateAgent API.
3137
3000
  */
3138
3001
  createAgent(createAgentRequest) {
3139
3002
  return __awaiter(this, void 0, void 0, function* () {
3140
- if (this.logger)
3141
- this.logger.debug("Calling operation OcbAgentSvcClient#createAgent.");
3003
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#createAgent.");
3142
3004
  const operationName = "createAgent";
3143
3005
  const apiReferenceLink = "";
3144
3006
  const pathParams = {};
@@ -3150,8 +3012,6 @@ class OcbAgentSvcClient {
3150
3012
  };
3151
3013
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3152
3014
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAgentRequest.retryConfiguration, specRetryConfiguration);
3153
- if (this.logger)
3154
- retrier.logger = this.logger;
3155
3015
  const request = yield oci_common_1.composeRequest({
3156
3016
  baseEndpoint: this._endpoint,
3157
3017
  defaultHeaders: this._defaultHeaders,
@@ -3197,12 +3057,11 @@ class OcbAgentSvcClient {
3197
3057
  * @param CreateAgentDependencyRequest
3198
3058
  * @return CreateAgentDependencyResponse
3199
3059
  * @throws OciError when an error occurs
3200
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateAgentDependency.ts.html |here} to see how to use CreateAgentDependency API.
3060
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateAgentDependency.ts.html |here} to see how to use CreateAgentDependency API.
3201
3061
  */
3202
3062
  createAgentDependency(createAgentDependencyRequest) {
3203
3063
  return __awaiter(this, void 0, void 0, function* () {
3204
- if (this.logger)
3205
- this.logger.debug("Calling operation OcbAgentSvcClient#createAgentDependency.");
3064
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#createAgentDependency.");
3206
3065
  const operationName = "createAgentDependency";
3207
3066
  const apiReferenceLink = "";
3208
3067
  const pathParams = {};
@@ -3214,8 +3073,6 @@ class OcbAgentSvcClient {
3214
3073
  };
3215
3074
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3216
3075
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAgentDependencyRequest.retryConfiguration, specRetryConfiguration);
3217
- if (this.logger)
3218
- retrier.logger = this.logger;
3219
3076
  const request = yield oci_common_1.composeRequest({
3220
3077
  baseEndpoint: this._endpoint,
3221
3078
  defaultHeaders: this._defaultHeaders,
@@ -3266,12 +3123,11 @@ class OcbAgentSvcClient {
3266
3123
  * @param CreateEnvironmentRequest
3267
3124
  * @return CreateEnvironmentResponse
3268
3125
  * @throws OciError when an error occurs
3269
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/CreateEnvironment.ts.html |here} to see how to use CreateEnvironment API.
3126
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/CreateEnvironment.ts.html |here} to see how to use CreateEnvironment API.
3270
3127
  */
3271
3128
  createEnvironment(createEnvironmentRequest) {
3272
3129
  return __awaiter(this, void 0, void 0, function* () {
3273
- if (this.logger)
3274
- this.logger.debug("Calling operation OcbAgentSvcClient#createEnvironment.");
3130
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#createEnvironment.");
3275
3131
  const operationName = "createEnvironment";
3276
3132
  const apiReferenceLink = "";
3277
3133
  const pathParams = {};
@@ -3283,8 +3139,6 @@ class OcbAgentSvcClient {
3283
3139
  };
3284
3140
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3285
3141
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEnvironmentRequest.retryConfiguration, specRetryConfiguration);
3286
- if (this.logger)
3287
- retrier.logger = this.logger;
3288
3142
  const request = yield oci_common_1.composeRequest({
3289
3143
  baseEndpoint: this._endpoint,
3290
3144
  defaultHeaders: this._defaultHeaders,
@@ -3329,12 +3183,11 @@ class OcbAgentSvcClient {
3329
3183
  * @param DeleteAgentRequest
3330
3184
  * @return DeleteAgentResponse
3331
3185
  * @throws OciError when an error occurs
3332
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
3186
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
3333
3187
  */
3334
3188
  deleteAgent(deleteAgentRequest) {
3335
3189
  return __awaiter(this, void 0, void 0, function* () {
3336
- if (this.logger)
3337
- this.logger.debug("Calling operation OcbAgentSvcClient#deleteAgent.");
3190
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#deleteAgent.");
3338
3191
  const operationName = "deleteAgent";
3339
3192
  const apiReferenceLink = "";
3340
3193
  const pathParams = {
@@ -3349,8 +3202,6 @@ class OcbAgentSvcClient {
3349
3202
  };
3350
3203
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3351
3204
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAgentRequest.retryConfiguration, specRetryConfiguration);
3352
- if (this.logger)
3353
- retrier.logger = this.logger;
3354
3205
  const request = yield oci_common_1.composeRequest({
3355
3206
  baseEndpoint: this._endpoint,
3356
3207
  defaultHeaders: this._defaultHeaders,
@@ -3385,12 +3236,11 @@ class OcbAgentSvcClient {
3385
3236
  * @param DeleteAgentDependencyRequest
3386
3237
  * @return DeleteAgentDependencyResponse
3387
3238
  * @throws OciError when an error occurs
3388
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteAgentDependency.ts.html |here} to see how to use DeleteAgentDependency API.
3239
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteAgentDependency.ts.html |here} to see how to use DeleteAgentDependency API.
3389
3240
  */
3390
3241
  deleteAgentDependency(deleteAgentDependencyRequest) {
3391
3242
  return __awaiter(this, void 0, void 0, function* () {
3392
- if (this.logger)
3393
- this.logger.debug("Calling operation OcbAgentSvcClient#deleteAgentDependency.");
3243
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#deleteAgentDependency.");
3394
3244
  const operationName = "deleteAgentDependency";
3395
3245
  const apiReferenceLink = "";
3396
3246
  const pathParams = {
@@ -3404,8 +3254,6 @@ class OcbAgentSvcClient {
3404
3254
  };
3405
3255
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3406
3256
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAgentDependencyRequest.retryConfiguration, specRetryConfiguration);
3407
- if (this.logger)
3408
- retrier.logger = this.logger;
3409
3257
  const request = yield oci_common_1.composeRequest({
3410
3258
  baseEndpoint: this._endpoint,
3411
3259
  defaultHeaders: this._defaultHeaders,
@@ -3440,12 +3288,11 @@ class OcbAgentSvcClient {
3440
3288
  * @param DeleteEnvironmentRequest
3441
3289
  * @return DeleteEnvironmentResponse
3442
3290
  * @throws OciError when an error occurs
3443
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/DeleteEnvironment.ts.html |here} to see how to use DeleteEnvironment API.
3291
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/DeleteEnvironment.ts.html |here} to see how to use DeleteEnvironment API.
3444
3292
  */
3445
3293
  deleteEnvironment(deleteEnvironmentRequest) {
3446
3294
  return __awaiter(this, void 0, void 0, function* () {
3447
- if (this.logger)
3448
- this.logger.debug("Calling operation OcbAgentSvcClient#deleteEnvironment.");
3295
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#deleteEnvironment.");
3449
3296
  const operationName = "deleteEnvironment";
3450
3297
  const apiReferenceLink = "";
3451
3298
  const pathParams = {
@@ -3459,8 +3306,6 @@ class OcbAgentSvcClient {
3459
3306
  };
3460
3307
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3461
3308
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEnvironmentRequest.retryConfiguration, specRetryConfiguration);
3462
- if (this.logger)
3463
- retrier.logger = this.logger;
3464
3309
  const request = yield oci_common_1.composeRequest({
3465
3310
  baseEndpoint: this._endpoint,
3466
3311
  defaultHeaders: this._defaultHeaders,
@@ -3495,12 +3340,11 @@ class OcbAgentSvcClient {
3495
3340
  * @param GetAgentRequest
3496
3341
  * @return GetAgentResponse
3497
3342
  * @throws OciError when an error occurs
3498
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetAgent.ts.html |here} to see how to use GetAgent API.
3343
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetAgent.ts.html |here} to see how to use GetAgent API.
3499
3344
  */
3500
3345
  getAgent(getAgentRequest) {
3501
3346
  return __awaiter(this, void 0, void 0, function* () {
3502
- if (this.logger)
3503
- this.logger.debug("Calling operation OcbAgentSvcClient#getAgent.");
3347
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#getAgent.");
3504
3348
  const operationName = "getAgent";
3505
3349
  const apiReferenceLink = "";
3506
3350
  const pathParams = {
@@ -3513,8 +3357,6 @@ class OcbAgentSvcClient {
3513
3357
  };
3514
3358
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3515
3359
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentRequest.retryConfiguration, specRetryConfiguration);
3516
- if (this.logger)
3517
- retrier.logger = this.logger;
3518
3360
  const request = yield oci_common_1.composeRequest({
3519
3361
  baseEndpoint: this._endpoint,
3520
3362
  defaultHeaders: this._defaultHeaders,
@@ -3558,12 +3400,11 @@ class OcbAgentSvcClient {
3558
3400
  * @param GetAgentDependencyRequest
3559
3401
  * @return GetAgentDependencyResponse
3560
3402
  * @throws OciError when an error occurs
3561
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetAgentDependency.ts.html |here} to see how to use GetAgentDependency API.
3403
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetAgentDependency.ts.html |here} to see how to use GetAgentDependency API.
3562
3404
  */
3563
3405
  getAgentDependency(getAgentDependencyRequest) {
3564
3406
  return __awaiter(this, void 0, void 0, function* () {
3565
- if (this.logger)
3566
- this.logger.debug("Calling operation OcbAgentSvcClient#getAgentDependency.");
3407
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#getAgentDependency.");
3567
3408
  const operationName = "getAgentDependency";
3568
3409
  const apiReferenceLink = "";
3569
3410
  const pathParams = {
@@ -3576,8 +3417,6 @@ class OcbAgentSvcClient {
3576
3417
  };
3577
3418
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3578
3419
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentDependencyRequest.retryConfiguration, specRetryConfiguration);
3579
- if (this.logger)
3580
- retrier.logger = this.logger;
3581
3420
  const request = yield oci_common_1.composeRequest({
3582
3421
  baseEndpoint: this._endpoint,
3583
3422
  defaultHeaders: this._defaultHeaders,
@@ -3621,12 +3460,11 @@ class OcbAgentSvcClient {
3621
3460
  * @param GetEnvironmentRequest
3622
3461
  * @return GetEnvironmentResponse
3623
3462
  * @throws OciError when an error occurs
3624
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetEnvironment.ts.html |here} to see how to use GetEnvironment API.
3463
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetEnvironment.ts.html |here} to see how to use GetEnvironment API.
3625
3464
  */
3626
3465
  getEnvironment(getEnvironmentRequest) {
3627
3466
  return __awaiter(this, void 0, void 0, function* () {
3628
- if (this.logger)
3629
- this.logger.debug("Calling operation OcbAgentSvcClient#getEnvironment.");
3467
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#getEnvironment.");
3630
3468
  const operationName = "getEnvironment";
3631
3469
  const apiReferenceLink = "";
3632
3470
  const pathParams = {
@@ -3639,8 +3477,6 @@ class OcbAgentSvcClient {
3639
3477
  };
3640
3478
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3641
3479
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnvironmentRequest.retryConfiguration, specRetryConfiguration);
3642
- if (this.logger)
3643
- retrier.logger = this.logger;
3644
3480
  const request = yield oci_common_1.composeRequest({
3645
3481
  baseEndpoint: this._endpoint,
3646
3482
  defaultHeaders: this._defaultHeaders,
@@ -3684,12 +3520,11 @@ class OcbAgentSvcClient {
3684
3520
  * @param GetPluginRequest
3685
3521
  * @return GetPluginResponse
3686
3522
  * @throws OciError when an error occurs
3687
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/GetPlugin.ts.html |here} to see how to use GetPlugin API.
3523
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/GetPlugin.ts.html |here} to see how to use GetPlugin API.
3688
3524
  */
3689
3525
  getPlugin(getPluginRequest) {
3690
3526
  return __awaiter(this, void 0, void 0, function* () {
3691
- if (this.logger)
3692
- this.logger.debug("Calling operation OcbAgentSvcClient#getPlugin.");
3527
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#getPlugin.");
3693
3528
  const operationName = "getPlugin";
3694
3529
  const apiReferenceLink = "";
3695
3530
  const pathParams = {
@@ -3703,8 +3538,6 @@ class OcbAgentSvcClient {
3703
3538
  };
3704
3539
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3705
3540
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPluginRequest.retryConfiguration, specRetryConfiguration);
3706
- if (this.logger)
3707
- retrier.logger = this.logger;
3708
3541
  const request = yield oci_common_1.composeRequest({
3709
3542
  baseEndpoint: this._endpoint,
3710
3543
  defaultHeaders: this._defaultHeaders,
@@ -3749,12 +3582,11 @@ class OcbAgentSvcClient {
3749
3582
  * @param ListAgentDependenciesRequest
3750
3583
  * @return ListAgentDependenciesResponse
3751
3584
  * @throws OciError when an error occurs
3752
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListAgentDependencies.ts.html |here} to see how to use ListAgentDependencies API.
3585
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListAgentDependencies.ts.html |here} to see how to use ListAgentDependencies API.
3753
3586
  */
3754
3587
  listAgentDependencies(listAgentDependenciesRequest) {
3755
3588
  return __awaiter(this, void 0, void 0, function* () {
3756
- if (this.logger)
3757
- this.logger.debug("Calling operation OcbAgentSvcClient#listAgentDependencies.");
3589
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#listAgentDependencies.");
3758
3590
  const operationName = "listAgentDependencies";
3759
3591
  const apiReferenceLink = "";
3760
3592
  const pathParams = {};
@@ -3775,8 +3607,6 @@ class OcbAgentSvcClient {
3775
3607
  };
3776
3608
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3777
3609
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentDependenciesRequest.retryConfiguration, specRetryConfiguration);
3778
- if (this.logger)
3779
- retrier.logger = this.logger;
3780
3610
  const request = yield oci_common_1.composeRequest({
3781
3611
  baseEndpoint: this._endpoint,
3782
3612
  defaultHeaders: this._defaultHeaders,
@@ -3821,12 +3651,11 @@ class OcbAgentSvcClient {
3821
3651
  * @param ListAgentsRequest
3822
3652
  * @return ListAgentsResponse
3823
3653
  * @throws OciError when an error occurs
3824
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListAgents.ts.html |here} to see how to use ListAgents API.
3654
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListAgents.ts.html |here} to see how to use ListAgents API.
3825
3655
  */
3826
3656
  listAgents(listAgentsRequest) {
3827
3657
  return __awaiter(this, void 0, void 0, function* () {
3828
- if (this.logger)
3829
- this.logger.debug("Calling operation OcbAgentSvcClient#listAgents.");
3658
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#listAgents.");
3830
3659
  const operationName = "listAgents";
3831
3660
  const apiReferenceLink = "";
3832
3661
  const pathParams = {};
@@ -3847,8 +3676,6 @@ class OcbAgentSvcClient {
3847
3676
  };
3848
3677
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3849
3678
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentsRequest.retryConfiguration, specRetryConfiguration);
3850
- if (this.logger)
3851
- retrier.logger = this.logger;
3852
3679
  const request = yield oci_common_1.composeRequest({
3853
3680
  baseEndpoint: this._endpoint,
3854
3681
  defaultHeaders: this._defaultHeaders,
@@ -3893,12 +3720,11 @@ class OcbAgentSvcClient {
3893
3720
  * @param ListApplianceImagesRequest
3894
3721
  * @return ListApplianceImagesResponse
3895
3722
  * @throws OciError when an error occurs
3896
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListApplianceImages.ts.html |here} to see how to use ListApplianceImages API.
3723
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListApplianceImages.ts.html |here} to see how to use ListApplianceImages API.
3897
3724
  */
3898
3725
  listApplianceImages(listApplianceImagesRequest) {
3899
3726
  return __awaiter(this, void 0, void 0, function* () {
3900
- if (this.logger)
3901
- this.logger.debug("Calling operation OcbAgentSvcClient#listApplianceImages.");
3727
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#listApplianceImages.");
3902
3728
  const operationName = "listApplianceImages";
3903
3729
  const apiReferenceLink = "";
3904
3730
  const pathParams = {};
@@ -3916,8 +3742,6 @@ class OcbAgentSvcClient {
3916
3742
  };
3917
3743
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3918
3744
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplianceImagesRequest.retryConfiguration, specRetryConfiguration);
3919
- if (this.logger)
3920
- retrier.logger = this.logger;
3921
3745
  const request = yield oci_common_1.composeRequest({
3922
3746
  baseEndpoint: this._endpoint,
3923
3747
  defaultHeaders: this._defaultHeaders,
@@ -3962,12 +3786,11 @@ class OcbAgentSvcClient {
3962
3786
  * @param ListEnvironmentsRequest
3963
3787
  * @return ListEnvironmentsResponse
3964
3788
  * @throws OciError when an error occurs
3965
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/ListEnvironments.ts.html |here} to see how to use ListEnvironments API.
3789
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/ListEnvironments.ts.html |here} to see how to use ListEnvironments API.
3966
3790
  */
3967
3791
  listEnvironments(listEnvironmentsRequest) {
3968
3792
  return __awaiter(this, void 0, void 0, function* () {
3969
- if (this.logger)
3970
- this.logger.debug("Calling operation OcbAgentSvcClient#listEnvironments.");
3793
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#listEnvironments.");
3971
3794
  const operationName = "listEnvironments";
3972
3795
  const apiReferenceLink = "";
3973
3796
  const pathParams = {};
@@ -3987,8 +3810,6 @@ class OcbAgentSvcClient {
3987
3810
  };
3988
3811
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3989
3812
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEnvironmentsRequest.retryConfiguration, specRetryConfiguration);
3990
- if (this.logger)
3991
- retrier.logger = this.logger;
3992
3813
  const request = yield oci_common_1.composeRequest({
3993
3814
  baseEndpoint: this._endpoint,
3994
3815
  defaultHeaders: this._defaultHeaders,
@@ -4032,12 +3853,11 @@ class OcbAgentSvcClient {
4032
3853
  * @param RemoveAgentDependencyRequest
4033
3854
  * @return RemoveAgentDependencyResponse
4034
3855
  * @throws OciError when an error occurs
4035
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/RemoveAgentDependency.ts.html |here} to see how to use RemoveAgentDependency API.
3856
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/RemoveAgentDependency.ts.html |here} to see how to use RemoveAgentDependency API.
4036
3857
  */
4037
3858
  removeAgentDependency(removeAgentDependencyRequest) {
4038
3859
  return __awaiter(this, void 0, void 0, function* () {
4039
- if (this.logger)
4040
- this.logger.debug("Calling operation OcbAgentSvcClient#removeAgentDependency.");
3860
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#removeAgentDependency.");
4041
3861
  const operationName = "removeAgentDependency";
4042
3862
  const apiReferenceLink = "";
4043
3863
  const pathParams = {
@@ -4052,8 +3872,6 @@ class OcbAgentSvcClient {
4052
3872
  };
4053
3873
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4054
3874
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeAgentDependencyRequest.retryConfiguration, specRetryConfiguration);
4055
- if (this.logger)
4056
- retrier.logger = this.logger;
4057
3875
  const request = yield oci_common_1.composeRequest({
4058
3876
  baseEndpoint: this._endpoint,
4059
3877
  defaultHeaders: this._defaultHeaders,
@@ -4098,12 +3916,11 @@ class OcbAgentSvcClient {
4098
3916
  * @param UpdateAgentRequest
4099
3917
  * @return UpdateAgentResponse
4100
3918
  * @throws OciError when an error occurs
4101
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
3919
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
4102
3920
  */
4103
3921
  updateAgent(updateAgentRequest) {
4104
3922
  return __awaiter(this, void 0, void 0, function* () {
4105
- if (this.logger)
4106
- this.logger.debug("Calling operation OcbAgentSvcClient#updateAgent.");
3923
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#updateAgent.");
4107
3924
  const operationName = "updateAgent";
4108
3925
  const apiReferenceLink = "";
4109
3926
  const pathParams = {
@@ -4118,8 +3935,6 @@ class OcbAgentSvcClient {
4118
3935
  };
4119
3936
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4120
3937
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAgentRequest.retryConfiguration, specRetryConfiguration);
4121
- if (this.logger)
4122
- retrier.logger = this.logger;
4123
3938
  const request = yield oci_common_1.composeRequest({
4124
3939
  baseEndpoint: this._endpoint,
4125
3940
  defaultHeaders: this._defaultHeaders,
@@ -4164,12 +3979,11 @@ class OcbAgentSvcClient {
4164
3979
  * @param UpdateAgentDependencyRequest
4165
3980
  * @return UpdateAgentDependencyResponse
4166
3981
  * @throws OciError when an error occurs
4167
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateAgentDependency.ts.html |here} to see how to use UpdateAgentDependency API.
3982
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateAgentDependency.ts.html |here} to see how to use UpdateAgentDependency API.
4168
3983
  */
4169
3984
  updateAgentDependency(updateAgentDependencyRequest) {
4170
3985
  return __awaiter(this, void 0, void 0, function* () {
4171
- if (this.logger)
4172
- this.logger.debug("Calling operation OcbAgentSvcClient#updateAgentDependency.");
3986
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#updateAgentDependency.");
4173
3987
  const operationName = "updateAgentDependency";
4174
3988
  const apiReferenceLink = "";
4175
3989
  const pathParams = {
@@ -4184,8 +3998,6 @@ class OcbAgentSvcClient {
4184
3998
  };
4185
3999
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4186
4000
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAgentDependencyRequest.retryConfiguration, specRetryConfiguration);
4187
- if (this.logger)
4188
- retrier.logger = this.logger;
4189
4001
  const request = yield oci_common_1.composeRequest({
4190
4002
  baseEndpoint: this._endpoint,
4191
4003
  defaultHeaders: this._defaultHeaders,
@@ -4226,12 +4038,11 @@ class OcbAgentSvcClient {
4226
4038
  * @param UpdateEnvironmentRequest
4227
4039
  * @return UpdateEnvironmentResponse
4228
4040
  * @throws OciError when an error occurs
4229
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdateEnvironment.ts.html |here} to see how to use UpdateEnvironment API.
4041
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdateEnvironment.ts.html |here} to see how to use UpdateEnvironment API.
4230
4042
  */
4231
4043
  updateEnvironment(updateEnvironmentRequest) {
4232
4044
  return __awaiter(this, void 0, void 0, function* () {
4233
- if (this.logger)
4234
- this.logger.debug("Calling operation OcbAgentSvcClient#updateEnvironment.");
4045
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#updateEnvironment.");
4235
4046
  const operationName = "updateEnvironment";
4236
4047
  const apiReferenceLink = "";
4237
4048
  const pathParams = {
@@ -4246,8 +4057,6 @@ class OcbAgentSvcClient {
4246
4057
  };
4247
4058
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4248
4059
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEnvironmentRequest.retryConfiguration, specRetryConfiguration);
4249
- if (this.logger)
4250
- retrier.logger = this.logger;
4251
4060
  const request = yield oci_common_1.composeRequest({
4252
4061
  baseEndpoint: this._endpoint,
4253
4062
  defaultHeaders: this._defaultHeaders,
@@ -4292,12 +4101,11 @@ class OcbAgentSvcClient {
4292
4101
  * @param UpdatePluginRequest
4293
4102
  * @return UpdatePluginResponse
4294
4103
  * @throws OciError when an error occurs
4295
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/cloudbridge/UpdatePlugin.ts.html |here} to see how to use UpdatePlugin API.
4104
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudbridge/UpdatePlugin.ts.html |here} to see how to use UpdatePlugin API.
4296
4105
  */
4297
4106
  updatePlugin(updatePluginRequest) {
4298
4107
  return __awaiter(this, void 0, void 0, function* () {
4299
- if (this.logger)
4300
- this.logger.debug("Calling operation OcbAgentSvcClient#updatePlugin.");
4108
+ oci_common_1.logger.debug("Calling operation OcbAgentSvcClient#updatePlugin.");
4301
4109
  const operationName = "updatePlugin";
4302
4110
  const apiReferenceLink = "";
4303
4111
  const pathParams = {
@@ -4312,8 +4120,6 @@ class OcbAgentSvcClient {
4312
4120
  };
4313
4121
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4314
4122
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePluginRequest.retryConfiguration, specRetryConfiguration);
4315
- if (this.logger)
4316
- retrier.logger = this.logger;
4317
4123
  const request = yield oci_common_1.composeRequest({
4318
4124
  baseEndpoint: this._endpoint,
4319
4125
  defaultHeaders: this._defaultHeaders,