oci-cloudbridge 2.79.1 → 2.81.0

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