oci-managementagent 2.79.0 → 2.79.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/lib/client.d.ts +28 -29
  2. package/lib/client.js +58 -147
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-data-source-details.js +2 -4
  5. package/lib/model/create-data-source-details.js.map +1 -1
  6. package/lib/model/data-source-summary-item.js +2 -4
  7. package/lib/model/data-source-summary-item.js.map +1 -1
  8. package/lib/model/data-source-summary.js +2 -4
  9. package/lib/model/data-source-summary.js.map +1 -1
  10. package/lib/model/data-source.js +2 -4
  11. package/lib/model/data-source.js.map +1 -1
  12. package/lib/model/update-data-source-details.js +2 -4
  13. package/lib/model/update-data-source-details.js.map +1 -1
  14. package/lib/request/create-data-source-request.d.ts +1 -1
  15. package/lib/request/create-management-agent-install-key-request.d.ts +1 -1
  16. package/lib/request/delete-data-source-request.d.ts +1 -1
  17. package/lib/request/delete-management-agent-install-key-request.d.ts +1 -1
  18. package/lib/request/delete-management-agent-request.d.ts +1 -1
  19. package/lib/request/delete-work-request-request.d.ts +1 -1
  20. package/lib/request/deploy-plugins-request.d.ts +1 -1
  21. package/lib/request/get-auto-upgradable-config-request.d.ts +1 -1
  22. package/lib/request/get-data-source-request.d.ts +1 -1
  23. package/lib/request/get-management-agent-install-key-content-request.d.ts +1 -1
  24. package/lib/request/get-management-agent-install-key-request.d.ts +1 -1
  25. package/lib/request/get-management-agent-request.d.ts +1 -1
  26. package/lib/request/get-work-request-request.d.ts +1 -1
  27. package/lib/request/list-availability-histories-request.d.ts +1 -1
  28. package/lib/request/list-data-sources-request.d.ts +1 -1
  29. package/lib/request/list-management-agent-images-request.d.ts +1 -1
  30. package/lib/request/list-management-agent-install-keys-request.d.ts +1 -1
  31. package/lib/request/list-management-agent-plugins-request.d.ts +1 -1
  32. package/lib/request/list-management-agents-request.d.ts +1 -1
  33. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  34. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  35. package/lib/request/list-work-requests-request.d.ts +1 -1
  36. package/lib/request/set-auto-upgradable-config-request.d.ts +1 -1
  37. package/lib/request/summarize-management-agent-counts-request.d.ts +1 -1
  38. package/lib/request/summarize-management-agent-plugin-counts-request.d.ts +1 -1
  39. package/lib/request/update-data-source-request.d.ts +1 -1
  40. package/lib/request/update-management-agent-install-key-request.d.ts +1 -1
  41. package/lib/request/update-management-agent-request.d.ts +1 -1
  42. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -119,11 +119,7 @@ class ManagementAgentClient {
119
119
  set endpoint(endpoint) {
120
120
  this._endpoint = endpoint;
121
121
  this._endpoint = this._endpoint + "/20200202";
122
- if (this.logger)
123
- this.logger.info(`ManagementAgentClient endpoint set to ${this._endpoint}`);
124
- }
125
- get logger() {
126
- return common.LOG.logger;
122
+ oci_common_2.logger.info(`ManagementAgentClient endpoint set to ${this._endpoint}`);
127
123
  }
128
124
  /**
129
125
  * Determines whether realm specific endpoint should be used or not.
@@ -132,8 +128,7 @@ class ManagementAgentClient {
132
128
  */
133
129
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
134
130
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
135
- if (this.logger)
136
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
131
+ oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
137
132
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
138
133
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ManagementAgentClient.serviceEndpointTemplate, this._region, ManagementAgentClient.endpointServiceName);
139
134
  }
@@ -200,12 +195,11 @@ class ManagementAgentClient {
200
195
  * @param CreateDataSourceRequest
201
196
  * @return CreateDataSourceResponse
202
197
  * @throws OciError when an error occurs
203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
198
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
204
199
  */
205
200
  createDataSource(createDataSourceRequest) {
206
201
  return __awaiter(this, void 0, void 0, function* () {
207
- if (this.logger)
208
- this.logger.debug("Calling operation ManagementAgentClient#createDataSource.");
202
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#createDataSource.");
209
203
  const operationName = "createDataSource";
210
204
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/CreateDataSource";
211
205
  const pathParams = {
@@ -220,8 +214,6 @@ class ManagementAgentClient {
220
214
  };
221
215
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
222
216
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDataSourceRequest.retryConfiguration, specRetryConfiguration);
223
- if (this.logger)
224
- retrier.logger = this.logger;
225
217
  const request = yield oci_common_2.composeRequest({
226
218
  baseEndpoint: this._endpoint,
227
219
  defaultHeaders: this._defaultHeaders,
@@ -263,12 +255,11 @@ class ManagementAgentClient {
263
255
  * @param CreateManagementAgentInstallKeyRequest
264
256
  * @return CreateManagementAgentInstallKeyResponse
265
257
  * @throws OciError when an error occurs
266
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/CreateManagementAgentInstallKey.ts.html |here} to see how to use CreateManagementAgentInstallKey API.
258
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/CreateManagementAgentInstallKey.ts.html |here} to see how to use CreateManagementAgentInstallKey API.
267
259
  */
268
260
  createManagementAgentInstallKey(createManagementAgentInstallKeyRequest) {
269
261
  return __awaiter(this, void 0, void 0, function* () {
270
- if (this.logger)
271
- this.logger.debug("Calling operation ManagementAgentClient#createManagementAgentInstallKey.");
262
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#createManagementAgentInstallKey.");
272
263
  const operationName = "createManagementAgentInstallKey";
273
264
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/CreateManagementAgentInstallKey";
274
265
  const pathParams = {};
@@ -280,8 +271,6 @@ class ManagementAgentClient {
280
271
  };
281
272
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
282
273
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
283
- if (this.logger)
284
- retrier.logger = this.logger;
285
274
  const request = yield oci_common_2.composeRequest({
286
275
  baseEndpoint: this._endpoint,
287
276
  defaultHeaders: this._defaultHeaders,
@@ -327,12 +316,11 @@ class ManagementAgentClient {
327
316
  * @param DeleteDataSourceRequest
328
317
  * @return DeleteDataSourceResponse
329
318
  * @throws OciError when an error occurs
330
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
319
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
331
320
  */
332
321
  deleteDataSource(deleteDataSourceRequest) {
333
322
  return __awaiter(this, void 0, void 0, function* () {
334
- if (this.logger)
335
- this.logger.debug("Calling operation ManagementAgentClient#deleteDataSource.");
323
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#deleteDataSource.");
336
324
  const operationName = "deleteDataSource";
337
325
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/DeleteDataSource";
338
326
  const pathParams = {
@@ -347,8 +335,6 @@ class ManagementAgentClient {
347
335
  };
348
336
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
349
337
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDataSourceRequest.retryConfiguration, specRetryConfiguration);
350
- if (this.logger)
351
- retrier.logger = this.logger;
352
338
  const request = yield oci_common_2.composeRequest({
353
339
  baseEndpoint: this._endpoint,
354
340
  defaultHeaders: this._defaultHeaders,
@@ -388,12 +374,11 @@ class ManagementAgentClient {
388
374
  * @param DeleteManagementAgentRequest
389
375
  * @return DeleteManagementAgentResponse
390
376
  * @throws OciError when an error occurs
391
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteManagementAgent.ts.html |here} to see how to use DeleteManagementAgent API.
377
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/DeleteManagementAgent.ts.html |here} to see how to use DeleteManagementAgent API.
392
378
  */
393
379
  deleteManagementAgent(deleteManagementAgentRequest) {
394
380
  return __awaiter(this, void 0, void 0, function* () {
395
- if (this.logger)
396
- this.logger.debug("Calling operation ManagementAgentClient#deleteManagementAgent.");
381
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#deleteManagementAgent.");
397
382
  const operationName = "deleteManagementAgent";
398
383
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/DeleteManagementAgent";
399
384
  const pathParams = {
@@ -407,8 +392,6 @@ class ManagementAgentClient {
407
392
  };
408
393
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
409
394
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagementAgentRequest.retryConfiguration, specRetryConfiguration);
410
- if (this.logger)
411
- retrier.logger = this.logger;
412
395
  const request = yield oci_common_2.composeRequest({
413
396
  baseEndpoint: this._endpoint,
414
397
  defaultHeaders: this._defaultHeaders,
@@ -443,12 +426,11 @@ class ManagementAgentClient {
443
426
  * @param DeleteManagementAgentInstallKeyRequest
444
427
  * @return DeleteManagementAgentInstallKeyResponse
445
428
  * @throws OciError when an error occurs
446
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteManagementAgentInstallKey.ts.html |here} to see how to use DeleteManagementAgentInstallKey API.
429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/DeleteManagementAgentInstallKey.ts.html |here} to see how to use DeleteManagementAgentInstallKey API.
447
430
  */
448
431
  deleteManagementAgentInstallKey(deleteManagementAgentInstallKeyRequest) {
449
432
  return __awaiter(this, void 0, void 0, function* () {
450
- if (this.logger)
451
- this.logger.debug("Calling operation ManagementAgentClient#deleteManagementAgentInstallKey.");
433
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#deleteManagementAgentInstallKey.");
452
434
  const operationName = "deleteManagementAgentInstallKey";
453
435
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/DeleteManagementAgentInstallKey";
454
436
  const pathParams = {
@@ -462,8 +444,6 @@ class ManagementAgentClient {
462
444
  };
463
445
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
464
446
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
465
- if (this.logger)
466
- retrier.logger = this.logger;
467
447
  const request = yield oci_common_2.composeRequest({
468
448
  baseEndpoint: this._endpoint,
469
449
  defaultHeaders: this._defaultHeaders,
@@ -498,12 +478,11 @@ class ManagementAgentClient {
498
478
  * @param DeleteWorkRequestRequest
499
479
  * @return DeleteWorkRequestResponse
500
480
  * @throws OciError when an error occurs
501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
481
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
502
482
  */
503
483
  deleteWorkRequest(deleteWorkRequestRequest) {
504
484
  return __awaiter(this, void 0, void 0, function* () {
505
- if (this.logger)
506
- this.logger.debug("Calling operation ManagementAgentClient#deleteWorkRequest.");
485
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#deleteWorkRequest.");
507
486
  const operationName = "deleteWorkRequest";
508
487
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequest/DeleteWorkRequest";
509
488
  const pathParams = {
@@ -517,8 +496,6 @@ class ManagementAgentClient {
517
496
  };
518
497
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
519
498
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
520
- if (this.logger)
521
- retrier.logger = this.logger;
522
499
  const request = yield oci_common_2.composeRequest({
523
500
  baseEndpoint: this._endpoint,
524
501
  defaultHeaders: this._defaultHeaders,
@@ -554,12 +531,11 @@ class ManagementAgentClient {
554
531
  * @param DeployPluginsRequest
555
532
  * @return DeployPluginsResponse
556
533
  * @throws OciError when an error occurs
557
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeployPlugins.ts.html |here} to see how to use DeployPlugins API.
534
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/DeployPlugins.ts.html |here} to see how to use DeployPlugins API.
558
535
  */
559
536
  deployPlugins(deployPluginsRequest) {
560
537
  return __awaiter(this, void 0, void 0, function* () {
561
- if (this.logger)
562
- this.logger.debug("Calling operation ManagementAgentClient#deployPlugins.");
538
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#deployPlugins.");
563
539
  const operationName = "deployPlugins";
564
540
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/DeployPlugins";
565
541
  const pathParams = {};
@@ -571,8 +547,6 @@ class ManagementAgentClient {
571
547
  };
572
548
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
573
549
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deployPluginsRequest.retryConfiguration, specRetryConfiguration);
574
- if (this.logger)
575
- retrier.logger = this.logger;
576
550
  const request = yield oci_common_2.composeRequest({
577
551
  baseEndpoint: this._endpoint,
578
552
  defaultHeaders: this._defaultHeaders,
@@ -615,12 +589,11 @@ class ManagementAgentClient {
615
589
  * @param GetAutoUpgradableConfigRequest
616
590
  * @return GetAutoUpgradableConfigResponse
617
591
  * @throws OciError when an error occurs
618
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetAutoUpgradableConfig.ts.html |here} to see how to use GetAutoUpgradableConfig API.
592
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/GetAutoUpgradableConfig.ts.html |here} to see how to use GetAutoUpgradableConfig API.
619
593
  */
620
594
  getAutoUpgradableConfig(getAutoUpgradableConfigRequest) {
621
595
  return __awaiter(this, void 0, void 0, function* () {
622
- if (this.logger)
623
- this.logger.debug("Calling operation ManagementAgentClient#getAutoUpgradableConfig.");
596
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#getAutoUpgradableConfig.");
624
597
  const operationName = "getAutoUpgradableConfig";
625
598
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/GetAutoUpgradableConfig";
626
599
  const pathParams = {};
@@ -633,8 +606,6 @@ class ManagementAgentClient {
633
606
  };
634
607
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
635
608
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAutoUpgradableConfigRequest.retryConfiguration, specRetryConfiguration);
636
- if (this.logger)
637
- retrier.logger = this.logger;
638
609
  const request = yield oci_common_2.composeRequest({
639
610
  baseEndpoint: this._endpoint,
640
611
  defaultHeaders: this._defaultHeaders,
@@ -674,12 +645,11 @@ class ManagementAgentClient {
674
645
  * @param GetDataSourceRequest
675
646
  * @return GetDataSourceResponse
676
647
  * @throws OciError when an error occurs
677
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetDataSource.ts.html |here} to see how to use GetDataSource API.
648
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/GetDataSource.ts.html |here} to see how to use GetDataSource API.
678
649
  */
679
650
  getDataSource(getDataSourceRequest) {
680
651
  return __awaiter(this, void 0, void 0, function* () {
681
- if (this.logger)
682
- this.logger.debug("Calling operation ManagementAgentClient#getDataSource.");
652
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#getDataSource.");
683
653
  const operationName = "getDataSource";
684
654
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/GetDataSource";
685
655
  const pathParams = {
@@ -694,8 +664,6 @@ class ManagementAgentClient {
694
664
  };
695
665
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
696
666
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataSourceRequest.retryConfiguration, specRetryConfiguration);
697
- if (this.logger)
698
- retrier.logger = this.logger;
699
667
  const request = yield oci_common_2.composeRequest({
700
668
  baseEndpoint: this._endpoint,
701
669
  defaultHeaders: this._defaultHeaders,
@@ -739,12 +707,11 @@ class ManagementAgentClient {
739
707
  * @param GetManagementAgentRequest
740
708
  * @return GetManagementAgentResponse
741
709
  * @throws OciError when an error occurs
742
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetManagementAgent.ts.html |here} to see how to use GetManagementAgent API.
710
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/GetManagementAgent.ts.html |here} to see how to use GetManagementAgent API.
743
711
  */
744
712
  getManagementAgent(getManagementAgentRequest) {
745
713
  return __awaiter(this, void 0, void 0, function* () {
746
- if (this.logger)
747
- this.logger.debug("Calling operation ManagementAgentClient#getManagementAgent.");
714
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#getManagementAgent.");
748
715
  const operationName = "getManagementAgent";
749
716
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/GetManagementAgent";
750
717
  const pathParams = {
@@ -757,8 +724,6 @@ class ManagementAgentClient {
757
724
  };
758
725
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
759
726
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentRequest.retryConfiguration, specRetryConfiguration);
760
- if (this.logger)
761
- retrier.logger = this.logger;
762
727
  const request = yield oci_common_2.composeRequest({
763
728
  baseEndpoint: this._endpoint,
764
729
  defaultHeaders: this._defaultHeaders,
@@ -802,12 +767,11 @@ class ManagementAgentClient {
802
767
  * @param GetManagementAgentInstallKeyRequest
803
768
  * @return GetManagementAgentInstallKeyResponse
804
769
  * @throws OciError when an error occurs
805
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetManagementAgentInstallKey.ts.html |here} to see how to use GetManagementAgentInstallKey API.
770
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/GetManagementAgentInstallKey.ts.html |here} to see how to use GetManagementAgentInstallKey API.
806
771
  */
807
772
  getManagementAgentInstallKey(getManagementAgentInstallKeyRequest) {
808
773
  return __awaiter(this, void 0, void 0, function* () {
809
- if (this.logger)
810
- this.logger.debug("Calling operation ManagementAgentClient#getManagementAgentInstallKey.");
774
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#getManagementAgentInstallKey.");
811
775
  const operationName = "getManagementAgentInstallKey";
812
776
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/GetManagementAgentInstallKey";
813
777
  const pathParams = {
@@ -820,8 +784,6 @@ class ManagementAgentClient {
820
784
  };
821
785
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
822
786
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
823
- if (this.logger)
824
- retrier.logger = this.logger;
825
787
  const request = yield oci_common_2.composeRequest({
826
788
  baseEndpoint: this._endpoint,
827
789
  defaultHeaders: this._defaultHeaders,
@@ -866,12 +828,11 @@ class ManagementAgentClient {
866
828
  * @param GetManagementAgentInstallKeyContentRequest
867
829
  * @return GetManagementAgentInstallKeyContentResponse
868
830
  * @throws OciError when an error occurs
869
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetManagementAgentInstallKeyContent.ts.html |here} to see how to use GetManagementAgentInstallKeyContent API.
831
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/GetManagementAgentInstallKeyContent.ts.html |here} to see how to use GetManagementAgentInstallKeyContent API.
870
832
  */
871
833
  getManagementAgentInstallKeyContent(getManagementAgentInstallKeyContentRequest) {
872
834
  return __awaiter(this, void 0, void 0, function* () {
873
- if (this.logger)
874
- this.logger.debug("Calling operation ManagementAgentClient#getManagementAgentInstallKeyContent.");
835
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#getManagementAgentInstallKeyContent.");
875
836
  const operationName = "getManagementAgentInstallKeyContent";
876
837
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/GetManagementAgentInstallKeyContent";
877
838
  const pathParams = {
@@ -886,8 +847,6 @@ class ManagementAgentClient {
886
847
  };
887
848
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
888
849
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentInstallKeyContentRequest.retryConfiguration, specRetryConfiguration);
889
- if (this.logger)
890
- retrier.logger = this.logger;
891
850
  const request = yield oci_common_2.composeRequest({
892
851
  baseEndpoint: this._endpoint,
893
852
  defaultHeaders: this._defaultHeaders,
@@ -935,12 +894,11 @@ class ManagementAgentClient {
935
894
  * @param GetWorkRequestRequest
936
895
  * @return GetWorkRequestResponse
937
896
  * @throws OciError when an error occurs
938
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
897
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
939
898
  */
940
899
  getWorkRequest(getWorkRequestRequest) {
941
900
  return __awaiter(this, void 0, void 0, function* () {
942
- if (this.logger)
943
- this.logger.debug("Calling operation ManagementAgentClient#getWorkRequest.");
901
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#getWorkRequest.");
944
902
  const operationName = "getWorkRequest";
945
903
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequest/GetWorkRequest";
946
904
  const pathParams = {
@@ -953,8 +911,6 @@ class ManagementAgentClient {
953
911
  };
954
912
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
955
913
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
956
- if (this.logger)
957
- retrier.logger = this.logger;
958
914
  const request = yield oci_common_2.composeRequest({
959
915
  baseEndpoint: this._endpoint,
960
916
  defaultHeaders: this._defaultHeaders,
@@ -1003,12 +959,11 @@ class ManagementAgentClient {
1003
959
  * @param ListAvailabilityHistoriesRequest
1004
960
  * @return ListAvailabilityHistoriesResponse
1005
961
  * @throws OciError when an error occurs
1006
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListAvailabilityHistories.ts.html |here} to see how to use ListAvailabilityHistories API.
962
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListAvailabilityHistories.ts.html |here} to see how to use ListAvailabilityHistories API.
1007
963
  */
1008
964
  listAvailabilityHistories(listAvailabilityHistoriesRequest) {
1009
965
  return __awaiter(this, void 0, void 0, function* () {
1010
- if (this.logger)
1011
- this.logger.debug("Calling operation ManagementAgentClient#listAvailabilityHistories.");
966
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listAvailabilityHistories.");
1012
967
  const operationName = "listAvailabilityHistories";
1013
968
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/ListAvailabilityHistories";
1014
969
  const pathParams = {
@@ -1028,8 +983,6 @@ class ManagementAgentClient {
1028
983
  };
1029
984
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1030
985
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailabilityHistoriesRequest.retryConfiguration, specRetryConfiguration);
1031
- if (this.logger)
1032
- retrier.logger = this.logger;
1033
986
  const request = yield oci_common_2.composeRequest({
1034
987
  baseEndpoint: this._endpoint,
1035
988
  defaultHeaders: this._defaultHeaders,
@@ -1114,12 +1067,11 @@ class ManagementAgentClient {
1114
1067
  * @param ListDataSourcesRequest
1115
1068
  * @return ListDataSourcesResponse
1116
1069
  * @throws OciError when an error occurs
1117
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListDataSources.ts.html |here} to see how to use ListDataSources API.
1070
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListDataSources.ts.html |here} to see how to use ListDataSources API.
1118
1071
  */
1119
1072
  listDataSources(listDataSourcesRequest) {
1120
1073
  return __awaiter(this, void 0, void 0, function* () {
1121
- if (this.logger)
1122
- this.logger.debug("Calling operation ManagementAgentClient#listDataSources.");
1074
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listDataSources.");
1123
1075
  const operationName = "listDataSources";
1124
1076
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/ListDataSources";
1125
1077
  const pathParams = {
@@ -1138,8 +1090,6 @@ class ManagementAgentClient {
1138
1090
  };
1139
1091
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1140
1092
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDataSourcesRequest.retryConfiguration, specRetryConfiguration);
1141
- if (this.logger)
1142
- retrier.logger = this.logger;
1143
1093
  const request = yield oci_common_2.composeRequest({
1144
1094
  baseEndpoint: this._endpoint,
1145
1095
  defaultHeaders: this._defaultHeaders,
@@ -1224,12 +1174,11 @@ class ManagementAgentClient {
1224
1174
  * @param ListManagementAgentImagesRequest
1225
1175
  * @return ListManagementAgentImagesResponse
1226
1176
  * @throws OciError when an error occurs
1227
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListManagementAgentImages.ts.html |here} to see how to use ListManagementAgentImages API.
1177
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListManagementAgentImages.ts.html |here} to see how to use ListManagementAgentImages API.
1228
1178
  */
1229
1179
  listManagementAgentImages(listManagementAgentImagesRequest) {
1230
1180
  return __awaiter(this, void 0, void 0, function* () {
1231
- if (this.logger)
1232
- this.logger.debug("Calling operation ManagementAgentClient#listManagementAgentImages.");
1181
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listManagementAgentImages.");
1233
1182
  const operationName = "listManagementAgentImages";
1234
1183
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentImage/ListManagementAgentImages";
1235
1184
  const pathParams = {};
@@ -1250,8 +1199,6 @@ class ManagementAgentClient {
1250
1199
  };
1251
1200
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1252
1201
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentImagesRequest.retryConfiguration, specRetryConfiguration);
1253
- if (this.logger)
1254
- retrier.logger = this.logger;
1255
1202
  const request = yield oci_common_2.composeRequest({
1256
1203
  baseEndpoint: this._endpoint,
1257
1204
  defaultHeaders: this._defaultHeaders,
@@ -1336,12 +1283,11 @@ class ManagementAgentClient {
1336
1283
  * @param ListManagementAgentInstallKeysRequest
1337
1284
  * @return ListManagementAgentInstallKeysResponse
1338
1285
  * @throws OciError when an error occurs
1339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListManagementAgentInstallKeys.ts.html |here} to see how to use ListManagementAgentInstallKeys API.
1286
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListManagementAgentInstallKeys.ts.html |here} to see how to use ListManagementAgentInstallKeys API.
1340
1287
  */
1341
1288
  listManagementAgentInstallKeys(listManagementAgentInstallKeysRequest) {
1342
1289
  return __awaiter(this, void 0, void 0, function* () {
1343
- if (this.logger)
1344
- this.logger.debug("Calling operation ManagementAgentClient#listManagementAgentInstallKeys.");
1290
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listManagementAgentInstallKeys.");
1345
1291
  const operationName = "listManagementAgentInstallKeys";
1346
1292
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/ListManagementAgentInstallKeys";
1347
1293
  const pathParams = {};
@@ -1361,8 +1307,6 @@ class ManagementAgentClient {
1361
1307
  };
1362
1308
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1363
1309
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentInstallKeysRequest.retryConfiguration, specRetryConfiguration);
1364
- if (this.logger)
1365
- retrier.logger = this.logger;
1366
1310
  const request = yield oci_common_2.composeRequest({
1367
1311
  baseEndpoint: this._endpoint,
1368
1312
  defaultHeaders: this._defaultHeaders,
@@ -1447,12 +1391,11 @@ class ManagementAgentClient {
1447
1391
  * @param ListManagementAgentPluginsRequest
1448
1392
  * @return ListManagementAgentPluginsResponse
1449
1393
  * @throws OciError when an error occurs
1450
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListManagementAgentPlugins.ts.html |here} to see how to use ListManagementAgentPlugins API.
1394
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListManagementAgentPlugins.ts.html |here} to see how to use ListManagementAgentPlugins API.
1451
1395
  */
1452
1396
  listManagementAgentPlugins(listManagementAgentPluginsRequest) {
1453
1397
  return __awaiter(this, void 0, void 0, function* () {
1454
- if (this.logger)
1455
- this.logger.debug("Calling operation ManagementAgentClient#listManagementAgentPlugins.");
1398
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listManagementAgentPlugins.");
1456
1399
  const operationName = "listManagementAgentPlugins";
1457
1400
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentPlugin/ListManagementAgentPlugins";
1458
1401
  const pathParams = {};
@@ -1473,8 +1416,6 @@ class ManagementAgentClient {
1473
1416
  };
1474
1417
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1475
1418
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentPluginsRequest.retryConfiguration, specRetryConfiguration);
1476
- if (this.logger)
1477
- retrier.logger = this.logger;
1478
1419
  const request = yield oci_common_2.composeRequest({
1479
1420
  baseEndpoint: this._endpoint,
1480
1421
  defaultHeaders: this._defaultHeaders,
@@ -1561,12 +1502,11 @@ class ManagementAgentClient {
1561
1502
  * @param ListManagementAgentsRequest
1562
1503
  * @return ListManagementAgentsResponse
1563
1504
  * @throws OciError when an error occurs
1564
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListManagementAgents.ts.html |here} to see how to use ListManagementAgents API.
1505
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListManagementAgents.ts.html |here} to see how to use ListManagementAgents API.
1565
1506
  */
1566
1507
  listManagementAgents(listManagementAgentsRequest) {
1567
1508
  return __awaiter(this, void 0, void 0, function* () {
1568
- if (this.logger)
1569
- this.logger.debug("Calling operation ManagementAgentClient#listManagementAgents.");
1509
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listManagementAgents.");
1570
1510
  const operationName = "listManagementAgents";
1571
1511
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/ListManagementAgents";
1572
1512
  const pathParams = {};
@@ -1597,8 +1537,6 @@ class ManagementAgentClient {
1597
1537
  };
1598
1538
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1599
1539
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentsRequest.retryConfiguration, specRetryConfiguration);
1600
- if (this.logger)
1601
- retrier.logger = this.logger;
1602
1540
  const request = yield oci_common_2.composeRequest({
1603
1541
  baseEndpoint: this._endpoint,
1604
1542
  defaultHeaders: this._defaultHeaders,
@@ -1683,12 +1621,11 @@ class ManagementAgentClient {
1683
1621
  * @param ListWorkRequestErrorsRequest
1684
1622
  * @return ListWorkRequestErrorsResponse
1685
1623
  * @throws OciError when an error occurs
1686
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1624
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1687
1625
  */
1688
1626
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1689
1627
  return __awaiter(this, void 0, void 0, function* () {
1690
- if (this.logger)
1691
- this.logger.debug("Calling operation ManagementAgentClient#listWorkRequestErrors.");
1628
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listWorkRequestErrors.");
1692
1629
  const operationName = "listWorkRequestErrors";
1693
1630
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequestError/ListWorkRequestErrors";
1694
1631
  const pathParams = {
@@ -1706,8 +1643,6 @@ class ManagementAgentClient {
1706
1643
  };
1707
1644
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1708
1645
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1709
- if (this.logger)
1710
- retrier.logger = this.logger;
1711
1646
  const request = yield oci_common_2.composeRequest({
1712
1647
  baseEndpoint: this._endpoint,
1713
1648
  defaultHeaders: this._defaultHeaders,
@@ -1792,12 +1727,11 @@ class ManagementAgentClient {
1792
1727
  * @param ListWorkRequestLogsRequest
1793
1728
  * @return ListWorkRequestLogsResponse
1794
1729
  * @throws OciError when an error occurs
1795
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1730
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1796
1731
  */
1797
1732
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1798
1733
  return __awaiter(this, void 0, void 0, function* () {
1799
- if (this.logger)
1800
- this.logger.debug("Calling operation ManagementAgentClient#listWorkRequestLogs.");
1734
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listWorkRequestLogs.");
1801
1735
  const operationName = "listWorkRequestLogs";
1802
1736
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequestLogEntry/ListWorkRequestLogs";
1803
1737
  const pathParams = {
@@ -1815,8 +1749,6 @@ class ManagementAgentClient {
1815
1749
  };
1816
1750
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1817
1751
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1818
- if (this.logger)
1819
- retrier.logger = this.logger;
1820
1752
  const request = yield oci_common_2.composeRequest({
1821
1753
  baseEndpoint: this._endpoint,
1822
1754
  defaultHeaders: this._defaultHeaders,
@@ -1901,12 +1833,11 @@ class ManagementAgentClient {
1901
1833
  * @param ListWorkRequestsRequest
1902
1834
  * @return ListWorkRequestsResponse
1903
1835
  * @throws OciError when an error occurs
1904
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1836
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1905
1837
  */
1906
1838
  listWorkRequests(listWorkRequestsRequest) {
1907
1839
  return __awaiter(this, void 0, void 0, function* () {
1908
- if (this.logger)
1909
- this.logger.debug("Calling operation ManagementAgentClient#listWorkRequests.");
1840
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#listWorkRequests.");
1910
1841
  const operationName = "listWorkRequests";
1911
1842
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequest/ListWorkRequests";
1912
1843
  const pathParams = {};
@@ -1927,8 +1858,6 @@ class ManagementAgentClient {
1927
1858
  };
1928
1859
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1929
1860
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1930
- if (this.logger)
1931
- retrier.logger = this.logger;
1932
1861
  const request = yield oci_common_2.composeRequest({
1933
1862
  baseEndpoint: this._endpoint,
1934
1863
  defaultHeaders: this._defaultHeaders,
@@ -2014,12 +1943,11 @@ class ManagementAgentClient {
2014
1943
  * @param SetAutoUpgradableConfigRequest
2015
1944
  * @return SetAutoUpgradableConfigResponse
2016
1945
  * @throws OciError when an error occurs
2017
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/SetAutoUpgradableConfig.ts.html |here} to see how to use SetAutoUpgradableConfig API.
1946
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/SetAutoUpgradableConfig.ts.html |here} to see how to use SetAutoUpgradableConfig API.
2018
1947
  */
2019
1948
  setAutoUpgradableConfig(setAutoUpgradableConfigRequest) {
2020
1949
  return __awaiter(this, void 0, void 0, function* () {
2021
- if (this.logger)
2022
- this.logger.debug("Calling operation ManagementAgentClient#setAutoUpgradableConfig.");
1950
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#setAutoUpgradableConfig.");
2023
1951
  const operationName = "setAutoUpgradableConfig";
2024
1952
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/SetAutoUpgradableConfig";
2025
1953
  const pathParams = {};
@@ -2031,8 +1959,6 @@ class ManagementAgentClient {
2031
1959
  };
2032
1960
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2033
1961
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setAutoUpgradableConfigRequest.retryConfiguration, specRetryConfiguration);
2034
- if (this.logger)
2035
- retrier.logger = this.logger;
2036
1962
  const request = yield oci_common_2.composeRequest({
2037
1963
  baseEndpoint: this._endpoint,
2038
1964
  defaultHeaders: this._defaultHeaders,
@@ -2074,12 +2000,11 @@ class ManagementAgentClient {
2074
2000
  * @param SummarizeManagementAgentCountsRequest
2075
2001
  * @return SummarizeManagementAgentCountsResponse
2076
2002
  * @throws OciError when an error occurs
2077
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/SummarizeManagementAgentCounts.ts.html |here} to see how to use SummarizeManagementAgentCounts API.
2003
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/SummarizeManagementAgentCounts.ts.html |here} to see how to use SummarizeManagementAgentCounts API.
2078
2004
  */
2079
2005
  summarizeManagementAgentCounts(summarizeManagementAgentCountsRequest) {
2080
2006
  return __awaiter(this, void 0, void 0, function* () {
2081
- if (this.logger)
2082
- this.logger.debug("Calling operation ManagementAgentClient#summarizeManagementAgentCounts.");
2007
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#summarizeManagementAgentCounts.");
2083
2008
  const operationName = "summarizeManagementAgentCounts";
2084
2009
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/SummarizeManagementAgentCounts";
2085
2010
  const pathParams = {};
@@ -2097,8 +2022,6 @@ class ManagementAgentClient {
2097
2022
  };
2098
2023
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2099
2024
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagementAgentCountsRequest.retryConfiguration, specRetryConfiguration);
2100
- if (this.logger)
2101
- retrier.logger = this.logger;
2102
2025
  const request = yield oci_common_2.composeRequest({
2103
2026
  baseEndpoint: this._endpoint,
2104
2027
  defaultHeaders: this._defaultHeaders,
@@ -2144,12 +2067,11 @@ class ManagementAgentClient {
2144
2067
  * @param SummarizeManagementAgentPluginCountsRequest
2145
2068
  * @return SummarizeManagementAgentPluginCountsResponse
2146
2069
  * @throws OciError when an error occurs
2147
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/SummarizeManagementAgentPluginCounts.ts.html |here} to see how to use SummarizeManagementAgentPluginCounts API.
2070
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/SummarizeManagementAgentPluginCounts.ts.html |here} to see how to use SummarizeManagementAgentPluginCounts API.
2148
2071
  */
2149
2072
  summarizeManagementAgentPluginCounts(summarizeManagementAgentPluginCountsRequest) {
2150
2073
  return __awaiter(this, void 0, void 0, function* () {
2151
- if (this.logger)
2152
- this.logger.debug("Calling operation ManagementAgentClient#summarizeManagementAgentPluginCounts.");
2074
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#summarizeManagementAgentPluginCounts.");
2153
2075
  const operationName = "summarizeManagementAgentPluginCounts";
2154
2076
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/SummarizeManagementAgentPluginCounts";
2155
2077
  const pathParams = {};
@@ -2165,8 +2087,6 @@ class ManagementAgentClient {
2165
2087
  };
2166
2088
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2167
2089
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagementAgentPluginCountsRequest.retryConfiguration, specRetryConfiguration);
2168
- if (this.logger)
2169
- retrier.logger = this.logger;
2170
2090
  const request = yield oci_common_2.composeRequest({
2171
2091
  baseEndpoint: this._endpoint,
2172
2092
  defaultHeaders: this._defaultHeaders,
@@ -2211,12 +2131,11 @@ class ManagementAgentClient {
2211
2131
  * @param UpdateDataSourceRequest
2212
2132
  * @return UpdateDataSourceResponse
2213
2133
  * @throws OciError when an error occurs
2214
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
2134
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
2215
2135
  */
2216
2136
  updateDataSource(updateDataSourceRequest) {
2217
2137
  return __awaiter(this, void 0, void 0, function* () {
2218
- if (this.logger)
2219
- this.logger.debug("Calling operation ManagementAgentClient#updateDataSource.");
2138
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#updateDataSource.");
2220
2139
  const operationName = "updateDataSource";
2221
2140
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/UpdateDataSource";
2222
2141
  const pathParams = {
@@ -2232,8 +2151,6 @@ class ManagementAgentClient {
2232
2151
  };
2233
2152
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2234
2153
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDataSourceRequest.retryConfiguration, specRetryConfiguration);
2235
- if (this.logger)
2236
- retrier.logger = this.logger;
2237
2154
  const request = yield oci_common_2.composeRequest({
2238
2155
  baseEndpoint: this._endpoint,
2239
2156
  defaultHeaders: this._defaultHeaders,
@@ -2275,12 +2192,11 @@ class ManagementAgentClient {
2275
2192
  * @param UpdateManagementAgentRequest
2276
2193
  * @return UpdateManagementAgentResponse
2277
2194
  * @throws OciError when an error occurs
2278
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/UpdateManagementAgent.ts.html |here} to see how to use UpdateManagementAgent API.
2195
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/UpdateManagementAgent.ts.html |here} to see how to use UpdateManagementAgent API.
2279
2196
  */
2280
2197
  updateManagementAgent(updateManagementAgentRequest) {
2281
2198
  return __awaiter(this, void 0, void 0, function* () {
2282
- if (this.logger)
2283
- this.logger.debug("Calling operation ManagementAgentClient#updateManagementAgent.");
2199
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#updateManagementAgent.");
2284
2200
  const operationName = "updateManagementAgent";
2285
2201
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/UpdateManagementAgent";
2286
2202
  const pathParams = {
@@ -2295,8 +2211,6 @@ class ManagementAgentClient {
2295
2211
  };
2296
2212
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2297
2213
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagementAgentRequest.retryConfiguration, specRetryConfiguration);
2298
- if (this.logger)
2299
- retrier.logger = this.logger;
2300
2214
  const request = yield oci_common_2.composeRequest({
2301
2215
  baseEndpoint: this._endpoint,
2302
2216
  defaultHeaders: this._defaultHeaders,
@@ -2342,12 +2256,11 @@ class ManagementAgentClient {
2342
2256
  * @param UpdateManagementAgentInstallKeyRequest
2343
2257
  * @return UpdateManagementAgentInstallKeyResponse
2344
2258
  * @throws OciError when an error occurs
2345
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/UpdateManagementAgentInstallKey.ts.html |here} to see how to use UpdateManagementAgentInstallKey API.
2259
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/managementagent/UpdateManagementAgentInstallKey.ts.html |here} to see how to use UpdateManagementAgentInstallKey API.
2346
2260
  */
2347
2261
  updateManagementAgentInstallKey(updateManagementAgentInstallKeyRequest) {
2348
2262
  return __awaiter(this, void 0, void 0, function* () {
2349
- if (this.logger)
2350
- this.logger.debug("Calling operation ManagementAgentClient#updateManagementAgentInstallKey.");
2263
+ oci_common_2.logger.debug("Calling operation ManagementAgentClient#updateManagementAgentInstallKey.");
2351
2264
  const operationName = "updateManagementAgentInstallKey";
2352
2265
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/UpdateManagementAgentInstallKey";
2353
2266
  const pathParams = {
@@ -2362,8 +2275,6 @@ class ManagementAgentClient {
2362
2275
  };
2363
2276
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2364
2277
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
2365
- if (this.logger)
2366
- retrier.logger = this.logger;
2367
2278
  const request = yield oci_common_2.composeRequest({
2368
2279
  baseEndpoint: this._endpoint,
2369
2280
  defaultHeaders: this._defaultHeaders,