oci-fleetsoftwareupdate 2.79.1 → 2.80.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 (102) hide show
  1. package/lib/client.d.ts +46 -45
  2. package/lib/client.js +228 -91
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/batching-strategy-details.js +4 -2
  5. package/lib/model/batching-strategy-details.js.map +1 -1
  6. package/lib/model/create-batching-strategy-details.js +4 -2
  7. package/lib/model/create-batching-strategy-details.js.map +1 -1
  8. package/lib/model/create-fsu-action-details.js +4 -2
  9. package/lib/model/create-fsu-action-details.js.map +1 -1
  10. package/lib/model/create-fsu-collection-details.js +4 -2
  11. package/lib/model/create-fsu-collection-details.js.map +1 -1
  12. package/lib/model/create-fsu-cycle-details.js +4 -2
  13. package/lib/model/create-fsu-cycle-details.js.map +1 -1
  14. package/lib/model/create-schedule-details.js +4 -2
  15. package/lib/model/create-schedule-details.js.map +1 -1
  16. package/lib/model/db-fleet-discovery-details.js +4 -2
  17. package/lib/model/db-fleet-discovery-details.js.map +1 -1
  18. package/lib/model/db-fleet-discovery-filter.js +4 -2
  19. package/lib/model/db-fleet-discovery-filter.js.map +1 -1
  20. package/lib/model/discovery-details.js +4 -2
  21. package/lib/model/discovery-details.js.map +1 -1
  22. package/lib/model/fsu-action-summary.js +4 -2
  23. package/lib/model/fsu-action-summary.js.map +1 -1
  24. package/lib/model/fsu-action.js +4 -2
  25. package/lib/model/fsu-action.js.map +1 -1
  26. package/lib/model/fsu-collection-summary.js +4 -2
  27. package/lib/model/fsu-collection-summary.js.map +1 -1
  28. package/lib/model/fsu-collection.js +4 -2
  29. package/lib/model/fsu-collection.js.map +1 -1
  30. package/lib/model/fsu-cycle.js +4 -2
  31. package/lib/model/fsu-cycle.js.map +1 -1
  32. package/lib/model/fsu-goal-version-details.js +4 -2
  33. package/lib/model/fsu-goal-version-details.js.map +1 -1
  34. package/lib/model/fsu-job-summary.js +4 -2
  35. package/lib/model/fsu-job-summary.js.map +1 -1
  36. package/lib/model/fsu-job.js +4 -2
  37. package/lib/model/fsu-job.js.map +1 -1
  38. package/lib/model/gi-fleet-discovery-details.js +4 -2
  39. package/lib/model/gi-fleet-discovery-details.js.map +1 -1
  40. package/lib/model/gi-fleet-discovery-filter.js +4 -2
  41. package/lib/model/gi-fleet-discovery-filter.js.map +1 -1
  42. package/lib/model/remove-fsu-collection-targets-details.js +4 -2
  43. package/lib/model/remove-fsu-collection-targets-details.js.map +1 -1
  44. package/lib/model/rollback-details.js +4 -2
  45. package/lib/model/rollback-details.js.map +1 -1
  46. package/lib/model/schedule-details.js +4 -2
  47. package/lib/model/schedule-details.js.map +1 -1
  48. package/lib/model/target-details.js +4 -2
  49. package/lib/model/target-details.js.map +1 -1
  50. package/lib/model/update-batching-strategy-details.js +4 -2
  51. package/lib/model/update-batching-strategy-details.js.map +1 -1
  52. package/lib/model/update-fsu-action-details.js +4 -2
  53. package/lib/model/update-fsu-action-details.js.map +1 -1
  54. package/lib/model/update-fsu-cycle-details.js +4 -2
  55. package/lib/model/update-fsu-cycle-details.js.map +1 -1
  56. package/lib/model/update-schedule-details.js +4 -2
  57. package/lib/model/update-schedule-details.js.map +1 -1
  58. package/lib/request/abort-fsu-discovery-request.d.ts +1 -1
  59. package/lib/request/add-fsu-collection-targets-request.d.ts +1 -1
  60. package/lib/request/cancel-fsu-action-request.d.ts +1 -1
  61. package/lib/request/change-fsu-action-compartment-request.d.ts +1 -1
  62. package/lib/request/change-fsu-collection-compartment-request.d.ts +1 -1
  63. package/lib/request/change-fsu-cycle-compartment-request.d.ts +1 -1
  64. package/lib/request/change-fsu-discovery-compartment-request.d.ts +1 -1
  65. package/lib/request/clone-fsu-cycle-request.d.ts +1 -1
  66. package/lib/request/create-fsu-action-request.d.ts +1 -1
  67. package/lib/request/create-fsu-collection-request.d.ts +1 -1
  68. package/lib/request/create-fsu-cycle-request.d.ts +1 -1
  69. package/lib/request/create-fsu-discovery-request.d.ts +1 -1
  70. package/lib/request/delete-fsu-action-request.d.ts +1 -1
  71. package/lib/request/delete-fsu-collection-request.d.ts +1 -1
  72. package/lib/request/delete-fsu-cycle-request.d.ts +1 -1
  73. package/lib/request/delete-fsu-discovery-request.d.ts +1 -1
  74. package/lib/request/delete-fsu-job-request.d.ts +1 -1
  75. package/lib/request/get-fsu-action-output-content-request.d.ts +1 -1
  76. package/lib/request/get-fsu-action-request.d.ts +1 -1
  77. package/lib/request/get-fsu-collection-request.d.ts +1 -1
  78. package/lib/request/get-fsu-cycle-request.d.ts +1 -1
  79. package/lib/request/get-fsu-discovery-request.d.ts +1 -1
  80. package/lib/request/get-fsu-job-output-content-request.d.ts +1 -1
  81. package/lib/request/get-fsu-job-request.d.ts +1 -1
  82. package/lib/request/get-work-request-request.d.ts +1 -1
  83. package/lib/request/list-fsu-actions-request.d.ts +1 -1
  84. package/lib/request/list-fsu-collection-targets-request.d.ts +1 -1
  85. package/lib/request/list-fsu-collections-request.d.ts +1 -1
  86. package/lib/request/list-fsu-cycles-request.d.ts +1 -1
  87. package/lib/request/list-fsu-discoveries-request.d.ts +1 -1
  88. package/lib/request/list-fsu-discovery-targets-request.d.ts +1 -1
  89. package/lib/request/list-fsu-job-outputs-request.d.ts +1 -1
  90. package/lib/request/list-fsu-jobs-request.d.ts +1 -1
  91. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  92. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  93. package/lib/request/list-work-requests-request.d.ts +1 -1
  94. package/lib/request/remove-fsu-collection-targets-request.d.ts +1 -1
  95. package/lib/request/resume-fsu-action-request.d.ts +1 -1
  96. package/lib/request/retry-fsu-job-request.d.ts +1 -1
  97. package/lib/request/update-fsu-action-request.d.ts +1 -1
  98. package/lib/request/update-fsu-collection-request.d.ts +1 -1
  99. package/lib/request/update-fsu-cycle-request.d.ts +1 -1
  100. package/lib/request/update-fsu-discovery-request.d.ts +1 -1
  101. package/lib/request/update-fsu-job-request.d.ts +1 -1
  102. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -59,7 +59,7 @@ var FleetSoftwareUpdateApiKeys;
59
59
  */
60
60
  class FleetSoftwareUpdateClient {
61
61
  constructor(params, clientConfiguration) {
62
- this["_realmSpecificEndpointTemplateEnabled"] = false;
62
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
63
63
  this["_endpoint"] = "";
64
64
  this["_defaultHeaders"] = {};
65
65
  this._circuitBreaker = null;
@@ -118,7 +118,11 @@ class FleetSoftwareUpdateClient {
118
118
  set endpoint(endpoint) {
119
119
  this._endpoint = endpoint;
120
120
  this._endpoint = this._endpoint + "/20220528";
121
- oci_common_1.logger.info(`FleetSoftwareUpdateClient endpoint set to ${this._endpoint}`);
121
+ if (this.logger)
122
+ this.logger.info(`FleetSoftwareUpdateClient endpoint set to ${this._endpoint}`);
123
+ }
124
+ get logger() {
125
+ return common.LOG.logger;
122
126
  }
123
127
  /**
124
128
  * Determines whether realm specific endpoint should be used or not.
@@ -127,7 +131,8 @@ class FleetSoftwareUpdateClient {
127
131
  */
128
132
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
129
133
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
130
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
+ if (this.logger)
135
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
131
136
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
132
137
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FleetSoftwareUpdateClient.serviceEndpointTemplate, this._region, FleetSoftwareUpdateClient.endpointServiceName);
133
138
  }
@@ -194,11 +199,12 @@ class FleetSoftwareUpdateClient {
194
199
  * @param AbortFsuDiscoveryRequest
195
200
  * @return AbortFsuDiscoveryResponse
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/fleetsoftwareupdate/AbortFsuDiscovery.ts.html |here} to see how to use AbortFsuDiscovery API.
202
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/AbortFsuDiscovery.ts.html |here} to see how to use AbortFsuDiscovery API.
198
203
  */
199
204
  abortFsuDiscovery(abortFsuDiscoveryRequest) {
200
205
  return __awaiter(this, void 0, void 0, function* () {
201
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#abortFsuDiscovery.");
206
+ if (this.logger)
207
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#abortFsuDiscovery.");
202
208
  const operationName = "abortFsuDiscovery";
203
209
  const apiReferenceLink = "";
204
210
  const pathParams = {
@@ -213,6 +219,8 @@ class FleetSoftwareUpdateClient {
213
219
  };
214
220
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
215
221
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, abortFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
222
+ if (this.logger)
223
+ retrier.logger = this.logger;
216
224
  const request = yield oci_common_1.composeRequest({
217
225
  baseEndpoint: this._endpoint,
218
226
  defaultHeaders: this._defaultHeaders,
@@ -251,11 +259,12 @@ class FleetSoftwareUpdateClient {
251
259
  * @param AddFsuCollectionTargetsRequest
252
260
  * @return AddFsuCollectionTargetsResponse
253
261
  * @throws OciError when an error occurs
254
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/AddFsuCollectionTargets.ts.html |here} to see how to use AddFsuCollectionTargets API.
262
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/AddFsuCollectionTargets.ts.html |here} to see how to use AddFsuCollectionTargets API.
255
263
  */
256
264
  addFsuCollectionTargets(addFsuCollectionTargetsRequest) {
257
265
  return __awaiter(this, void 0, void 0, function* () {
258
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#addFsuCollectionTargets.");
266
+ if (this.logger)
267
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#addFsuCollectionTargets.");
259
268
  const operationName = "addFsuCollectionTargets";
260
269
  const apiReferenceLink = "";
261
270
  const pathParams = {
@@ -270,6 +279,8 @@ class FleetSoftwareUpdateClient {
270
279
  };
271
280
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
272
281
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addFsuCollectionTargetsRequest.retryConfiguration, specRetryConfiguration);
282
+ if (this.logger)
283
+ retrier.logger = this.logger;
273
284
  const request = yield oci_common_1.composeRequest({
274
285
  baseEndpoint: this._endpoint,
275
286
  defaultHeaders: this._defaultHeaders,
@@ -311,11 +322,12 @@ class FleetSoftwareUpdateClient {
311
322
  * @param CancelFsuActionRequest
312
323
  * @return CancelFsuActionResponse
313
324
  * @throws OciError when an error occurs
314
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/CancelFsuAction.ts.html |here} to see how to use CancelFsuAction API.
325
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/CancelFsuAction.ts.html |here} to see how to use CancelFsuAction API.
315
326
  */
316
327
  cancelFsuAction(cancelFsuActionRequest) {
317
328
  return __awaiter(this, void 0, void 0, function* () {
318
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#cancelFsuAction.");
329
+ if (this.logger)
330
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#cancelFsuAction.");
319
331
  const operationName = "cancelFsuAction";
320
332
  const apiReferenceLink = "";
321
333
  const pathParams = {
@@ -330,6 +342,8 @@ class FleetSoftwareUpdateClient {
330
342
  };
331
343
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
332
344
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelFsuActionRequest.retryConfiguration, specRetryConfiguration);
345
+ if (this.logger)
346
+ retrier.logger = this.logger;
333
347
  const request = yield oci_common_1.composeRequest({
334
348
  baseEndpoint: this._endpoint,
335
349
  defaultHeaders: this._defaultHeaders,
@@ -366,11 +380,12 @@ class FleetSoftwareUpdateClient {
366
380
  * @param ChangeFsuActionCompartmentRequest
367
381
  * @return ChangeFsuActionCompartmentResponse
368
382
  * @throws OciError when an error occurs
369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ChangeFsuActionCompartment.ts.html |here} to see how to use ChangeFsuActionCompartment API.
383
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ChangeFsuActionCompartment.ts.html |here} to see how to use ChangeFsuActionCompartment API.
370
384
  */
371
385
  changeFsuActionCompartment(changeFsuActionCompartmentRequest) {
372
386
  return __awaiter(this, void 0, void 0, function* () {
373
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuActionCompartment.");
387
+ if (this.logger)
388
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuActionCompartment.");
374
389
  const operationName = "changeFsuActionCompartment";
375
390
  const apiReferenceLink = "";
376
391
  const pathParams = {
@@ -385,6 +400,8 @@ class FleetSoftwareUpdateClient {
385
400
  };
386
401
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
387
402
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuActionCompartmentRequest.retryConfiguration, specRetryConfiguration);
403
+ if (this.logger)
404
+ retrier.logger = this.logger;
388
405
  const request = yield oci_common_1.composeRequest({
389
406
  baseEndpoint: this._endpoint,
390
407
  defaultHeaders: this._defaultHeaders,
@@ -427,11 +444,12 @@ class FleetSoftwareUpdateClient {
427
444
  * @param ChangeFsuCollectionCompartmentRequest
428
445
  * @return ChangeFsuCollectionCompartmentResponse
429
446
  * @throws OciError when an error occurs
430
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ChangeFsuCollectionCompartment.ts.html |here} to see how to use ChangeFsuCollectionCompartment API.
447
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ChangeFsuCollectionCompartment.ts.html |here} to see how to use ChangeFsuCollectionCompartment API.
431
448
  */
432
449
  changeFsuCollectionCompartment(changeFsuCollectionCompartmentRequest) {
433
450
  return __awaiter(this, void 0, void 0, function* () {
434
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuCollectionCompartment.");
451
+ if (this.logger)
452
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuCollectionCompartment.");
435
453
  const operationName = "changeFsuCollectionCompartment";
436
454
  const apiReferenceLink = "";
437
455
  const pathParams = {
@@ -446,6 +464,8 @@ class FleetSoftwareUpdateClient {
446
464
  };
447
465
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
448
466
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuCollectionCompartmentRequest.retryConfiguration, specRetryConfiguration);
467
+ if (this.logger)
468
+ retrier.logger = this.logger;
449
469
  const request = yield oci_common_1.composeRequest({
450
470
  baseEndpoint: this._endpoint,
451
471
  defaultHeaders: this._defaultHeaders,
@@ -488,11 +508,12 @@ class FleetSoftwareUpdateClient {
488
508
  * @param ChangeFsuCycleCompartmentRequest
489
509
  * @return ChangeFsuCycleCompartmentResponse
490
510
  * @throws OciError when an error occurs
491
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ChangeFsuCycleCompartment.ts.html |here} to see how to use ChangeFsuCycleCompartment API.
511
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ChangeFsuCycleCompartment.ts.html |here} to see how to use ChangeFsuCycleCompartment API.
492
512
  */
493
513
  changeFsuCycleCompartment(changeFsuCycleCompartmentRequest) {
494
514
  return __awaiter(this, void 0, void 0, function* () {
495
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuCycleCompartment.");
515
+ if (this.logger)
516
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuCycleCompartment.");
496
517
  const operationName = "changeFsuCycleCompartment";
497
518
  const apiReferenceLink = "";
498
519
  const pathParams = {
@@ -507,6 +528,8 @@ class FleetSoftwareUpdateClient {
507
528
  };
508
529
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
509
530
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuCycleCompartmentRequest.retryConfiguration, specRetryConfiguration);
531
+ if (this.logger)
532
+ retrier.logger = this.logger;
510
533
  const request = yield oci_common_1.composeRequest({
511
534
  baseEndpoint: this._endpoint,
512
535
  defaultHeaders: this._defaultHeaders,
@@ -549,11 +572,12 @@ class FleetSoftwareUpdateClient {
549
572
  * @param ChangeFsuDiscoveryCompartmentRequest
550
573
  * @return ChangeFsuDiscoveryCompartmentResponse
551
574
  * @throws OciError when an error occurs
552
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ChangeFsuDiscoveryCompartment.ts.html |here} to see how to use ChangeFsuDiscoveryCompartment API.
575
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ChangeFsuDiscoveryCompartment.ts.html |here} to see how to use ChangeFsuDiscoveryCompartment API.
553
576
  */
554
577
  changeFsuDiscoveryCompartment(changeFsuDiscoveryCompartmentRequest) {
555
578
  return __awaiter(this, void 0, void 0, function* () {
556
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuDiscoveryCompartment.");
579
+ if (this.logger)
580
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuDiscoveryCompartment.");
557
581
  const operationName = "changeFsuDiscoveryCompartment";
558
582
  const apiReferenceLink = "";
559
583
  const pathParams = {
@@ -568,6 +592,8 @@ class FleetSoftwareUpdateClient {
568
592
  };
569
593
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
570
594
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuDiscoveryCompartmentRequest.retryConfiguration, specRetryConfiguration);
595
+ if (this.logger)
596
+ retrier.logger = this.logger;
571
597
  const request = yield oci_common_1.composeRequest({
572
598
  baseEndpoint: this._endpoint,
573
599
  defaultHeaders: this._defaultHeaders,
@@ -604,11 +630,12 @@ class FleetSoftwareUpdateClient {
604
630
  * @param CloneFsuCycleRequest
605
631
  * @return CloneFsuCycleResponse
606
632
  * @throws OciError when an error occurs
607
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/CloneFsuCycle.ts.html |here} to see how to use CloneFsuCycle API.
633
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/CloneFsuCycle.ts.html |here} to see how to use CloneFsuCycle API.
608
634
  */
609
635
  cloneFsuCycle(cloneFsuCycleRequest) {
610
636
  return __awaiter(this, void 0, void 0, function* () {
611
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#cloneFsuCycle.");
637
+ if (this.logger)
638
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#cloneFsuCycle.");
612
639
  const operationName = "cloneFsuCycle";
613
640
  const apiReferenceLink = "";
614
641
  const pathParams = {
@@ -622,6 +649,8 @@ class FleetSoftwareUpdateClient {
622
649
  };
623
650
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
624
651
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cloneFsuCycleRequest.retryConfiguration, specRetryConfiguration);
652
+ if (this.logger)
653
+ retrier.logger = this.logger;
625
654
  const request = yield oci_common_1.composeRequest({
626
655
  baseEndpoint: this._endpoint,
627
656
  defaultHeaders: this._defaultHeaders,
@@ -677,11 +706,12 @@ class FleetSoftwareUpdateClient {
677
706
  * @param CreateFsuActionRequest
678
707
  * @return CreateFsuActionResponse
679
708
  * @throws OciError when an error occurs
680
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/CreateFsuAction.ts.html |here} to see how to use CreateFsuAction API.
709
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/CreateFsuAction.ts.html |here} to see how to use CreateFsuAction API.
681
710
  */
682
711
  createFsuAction(createFsuActionRequest) {
683
712
  return __awaiter(this, void 0, void 0, function* () {
684
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuAction.");
713
+ if (this.logger)
714
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuAction.");
685
715
  const operationName = "createFsuAction";
686
716
  const apiReferenceLink = "";
687
717
  const pathParams = {};
@@ -693,6 +723,8 @@ class FleetSoftwareUpdateClient {
693
723
  };
694
724
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
695
725
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuActionRequest.retryConfiguration, specRetryConfiguration);
726
+ if (this.logger)
727
+ retrier.logger = this.logger;
696
728
  const request = yield oci_common_1.composeRequest({
697
729
  baseEndpoint: this._endpoint,
698
730
  defaultHeaders: this._defaultHeaders,
@@ -748,11 +780,12 @@ class FleetSoftwareUpdateClient {
748
780
  * @param CreateFsuCollectionRequest
749
781
  * @return CreateFsuCollectionResponse
750
782
  * @throws OciError when an error occurs
751
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/CreateFsuCollection.ts.html |here} to see how to use CreateFsuCollection API.
783
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/CreateFsuCollection.ts.html |here} to see how to use CreateFsuCollection API.
752
784
  */
753
785
  createFsuCollection(createFsuCollectionRequest) {
754
786
  return __awaiter(this, void 0, void 0, function* () {
755
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuCollection.");
787
+ if (this.logger)
788
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuCollection.");
756
789
  const operationName = "createFsuCollection";
757
790
  const apiReferenceLink = "";
758
791
  const pathParams = {};
@@ -764,6 +797,8 @@ class FleetSoftwareUpdateClient {
764
797
  };
765
798
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
766
799
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
800
+ if (this.logger)
801
+ retrier.logger = this.logger;
767
802
  const request = yield oci_common_1.composeRequest({
768
803
  baseEndpoint: this._endpoint,
769
804
  defaultHeaders: this._defaultHeaders,
@@ -819,11 +854,12 @@ class FleetSoftwareUpdateClient {
819
854
  * @param CreateFsuCycleRequest
820
855
  * @return CreateFsuCycleResponse
821
856
  * @throws OciError when an error occurs
822
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/CreateFsuCycle.ts.html |here} to see how to use CreateFsuCycle API.
857
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/CreateFsuCycle.ts.html |here} to see how to use CreateFsuCycle API.
823
858
  */
824
859
  createFsuCycle(createFsuCycleRequest) {
825
860
  return __awaiter(this, void 0, void 0, function* () {
826
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuCycle.");
861
+ if (this.logger)
862
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuCycle.");
827
863
  const operationName = "createFsuCycle";
828
864
  const apiReferenceLink = "";
829
865
  const pathParams = {};
@@ -835,6 +871,8 @@ class FleetSoftwareUpdateClient {
835
871
  };
836
872
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
837
873
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuCycleRequest.retryConfiguration, specRetryConfiguration);
874
+ if (this.logger)
875
+ retrier.logger = this.logger;
838
876
  const request = yield oci_common_1.composeRequest({
839
877
  baseEndpoint: this._endpoint,
840
878
  defaultHeaders: this._defaultHeaders,
@@ -890,11 +928,12 @@ class FleetSoftwareUpdateClient {
890
928
  * @param CreateFsuDiscoveryRequest
891
929
  * @return CreateFsuDiscoveryResponse
892
930
  * @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/fleetsoftwareupdate/CreateFsuDiscovery.ts.html |here} to see how to use CreateFsuDiscovery API.
931
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/CreateFsuDiscovery.ts.html |here} to see how to use CreateFsuDiscovery API.
894
932
  */
895
933
  createFsuDiscovery(createFsuDiscoveryRequest) {
896
934
  return __awaiter(this, void 0, void 0, function* () {
897
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuDiscovery.");
935
+ if (this.logger)
936
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuDiscovery.");
898
937
  const operationName = "createFsuDiscovery";
899
938
  const apiReferenceLink = "";
900
939
  const pathParams = {};
@@ -906,6 +945,8 @@ class FleetSoftwareUpdateClient {
906
945
  };
907
946
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
908
947
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
948
+ if (this.logger)
949
+ retrier.logger = this.logger;
909
950
  const request = yield oci_common_1.composeRequest({
910
951
  baseEndpoint: this._endpoint,
911
952
  defaultHeaders: this._defaultHeaders,
@@ -961,11 +1002,12 @@ class FleetSoftwareUpdateClient {
961
1002
  * @param DeleteFsuActionRequest
962
1003
  * @return DeleteFsuActionResponse
963
1004
  * @throws OciError when an error occurs
964
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/DeleteFsuAction.ts.html |here} to see how to use DeleteFsuAction API.
1005
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/DeleteFsuAction.ts.html |here} to see how to use DeleteFsuAction API.
965
1006
  */
966
1007
  deleteFsuAction(deleteFsuActionRequest) {
967
1008
  return __awaiter(this, void 0, void 0, function* () {
968
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuAction.");
1009
+ if (this.logger)
1010
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuAction.");
969
1011
  const operationName = "deleteFsuAction";
970
1012
  const apiReferenceLink = "";
971
1013
  const pathParams = {
@@ -979,6 +1021,8 @@ class FleetSoftwareUpdateClient {
979
1021
  };
980
1022
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
981
1023
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuActionRequest.retryConfiguration, specRetryConfiguration);
1024
+ if (this.logger)
1025
+ retrier.logger = this.logger;
982
1026
  const request = yield oci_common_1.composeRequest({
983
1027
  baseEndpoint: this._endpoint,
984
1028
  defaultHeaders: this._defaultHeaders,
@@ -1019,11 +1063,12 @@ class FleetSoftwareUpdateClient {
1019
1063
  * @param DeleteFsuCollectionRequest
1020
1064
  * @return DeleteFsuCollectionResponse
1021
1065
  * @throws OciError when an error occurs
1022
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/DeleteFsuCollection.ts.html |here} to see how to use DeleteFsuCollection API.
1066
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/DeleteFsuCollection.ts.html |here} to see how to use DeleteFsuCollection API.
1023
1067
  */
1024
1068
  deleteFsuCollection(deleteFsuCollectionRequest) {
1025
1069
  return __awaiter(this, void 0, void 0, function* () {
1026
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuCollection.");
1070
+ if (this.logger)
1071
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuCollection.");
1027
1072
  const operationName = "deleteFsuCollection";
1028
1073
  const apiReferenceLink = "";
1029
1074
  const pathParams = {
@@ -1037,6 +1082,8 @@ class FleetSoftwareUpdateClient {
1037
1082
  };
1038
1083
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1039
1084
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
1085
+ if (this.logger)
1086
+ retrier.logger = this.logger;
1040
1087
  const request = yield oci_common_1.composeRequest({
1041
1088
  baseEndpoint: this._endpoint,
1042
1089
  defaultHeaders: this._defaultHeaders,
@@ -1077,11 +1124,12 @@ class FleetSoftwareUpdateClient {
1077
1124
  * @param DeleteFsuCycleRequest
1078
1125
  * @return DeleteFsuCycleResponse
1079
1126
  * @throws OciError when an error occurs
1080
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/DeleteFsuCycle.ts.html |here} to see how to use DeleteFsuCycle API.
1127
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/DeleteFsuCycle.ts.html |here} to see how to use DeleteFsuCycle API.
1081
1128
  */
1082
1129
  deleteFsuCycle(deleteFsuCycleRequest) {
1083
1130
  return __awaiter(this, void 0, void 0, function* () {
1084
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuCycle.");
1131
+ if (this.logger)
1132
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuCycle.");
1085
1133
  const operationName = "deleteFsuCycle";
1086
1134
  const apiReferenceLink = "";
1087
1135
  const pathParams = {
@@ -1095,6 +1143,8 @@ class FleetSoftwareUpdateClient {
1095
1143
  };
1096
1144
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1097
1145
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuCycleRequest.retryConfiguration, specRetryConfiguration);
1146
+ if (this.logger)
1147
+ retrier.logger = this.logger;
1098
1148
  const request = yield oci_common_1.composeRequest({
1099
1149
  baseEndpoint: this._endpoint,
1100
1150
  defaultHeaders: this._defaultHeaders,
@@ -1135,11 +1185,12 @@ class FleetSoftwareUpdateClient {
1135
1185
  * @param DeleteFsuDiscoveryRequest
1136
1186
  * @return DeleteFsuDiscoveryResponse
1137
1187
  * @throws OciError when an error occurs
1138
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/DeleteFsuDiscovery.ts.html |here} to see how to use DeleteFsuDiscovery API.
1188
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/DeleteFsuDiscovery.ts.html |here} to see how to use DeleteFsuDiscovery API.
1139
1189
  */
1140
1190
  deleteFsuDiscovery(deleteFsuDiscoveryRequest) {
1141
1191
  return __awaiter(this, void 0, void 0, function* () {
1142
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuDiscovery.");
1192
+ if (this.logger)
1193
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuDiscovery.");
1143
1194
  const operationName = "deleteFsuDiscovery";
1144
1195
  const apiReferenceLink = "";
1145
1196
  const pathParams = {
@@ -1153,6 +1204,8 @@ class FleetSoftwareUpdateClient {
1153
1204
  };
1154
1205
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1155
1206
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
1207
+ if (this.logger)
1208
+ retrier.logger = this.logger;
1156
1209
  const request = yield oci_common_1.composeRequest({
1157
1210
  baseEndpoint: this._endpoint,
1158
1211
  defaultHeaders: this._defaultHeaders,
@@ -1193,11 +1246,12 @@ class FleetSoftwareUpdateClient {
1193
1246
  * @param DeleteFsuJobRequest
1194
1247
  * @return DeleteFsuJobResponse
1195
1248
  * @throws OciError when an error occurs
1196
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/DeleteFsuJob.ts.html |here} to see how to use DeleteFsuJob API.
1249
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/DeleteFsuJob.ts.html |here} to see how to use DeleteFsuJob API.
1197
1250
  */
1198
1251
  deleteFsuJob(deleteFsuJobRequest) {
1199
1252
  return __awaiter(this, void 0, void 0, function* () {
1200
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuJob.");
1253
+ if (this.logger)
1254
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuJob.");
1201
1255
  const operationName = "deleteFsuJob";
1202
1256
  const apiReferenceLink = "";
1203
1257
  const pathParams = {
@@ -1211,6 +1265,8 @@ class FleetSoftwareUpdateClient {
1211
1265
  };
1212
1266
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1213
1267
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuJobRequest.retryConfiguration, specRetryConfiguration);
1268
+ if (this.logger)
1269
+ retrier.logger = this.logger;
1214
1270
  const request = yield oci_common_1.composeRequest({
1215
1271
  baseEndpoint: this._endpoint,
1216
1272
  defaultHeaders: this._defaultHeaders,
@@ -1246,11 +1302,12 @@ class FleetSoftwareUpdateClient {
1246
1302
  * @param GetFsuActionRequest
1247
1303
  * @return GetFsuActionResponse
1248
1304
  * @throws OciError when an error occurs
1249
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuAction.ts.html |here} to see how to use GetFsuAction API.
1305
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuAction.ts.html |here} to see how to use GetFsuAction API.
1250
1306
  */
1251
1307
  getFsuAction(getFsuActionRequest) {
1252
1308
  return __awaiter(this, void 0, void 0, function* () {
1253
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuAction.");
1309
+ if (this.logger)
1310
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuAction.");
1254
1311
  const operationName = "getFsuAction";
1255
1312
  const apiReferenceLink = "";
1256
1313
  const pathParams = {
@@ -1263,6 +1320,8 @@ class FleetSoftwareUpdateClient {
1263
1320
  };
1264
1321
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1265
1322
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuActionRequest.retryConfiguration, specRetryConfiguration);
1323
+ if (this.logger)
1324
+ retrier.logger = this.logger;
1266
1325
  const request = yield oci_common_1.composeRequest({
1267
1326
  baseEndpoint: this._endpoint,
1268
1327
  defaultHeaders: this._defaultHeaders,
@@ -1308,11 +1367,12 @@ class FleetSoftwareUpdateClient {
1308
1367
  * @param GetFsuActionOutputContentRequest
1309
1368
  * @return GetFsuActionOutputContentResponse
1310
1369
  * @throws OciError when an error occurs
1311
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuActionOutputContent.ts.html |here} to see how to use GetFsuActionOutputContent API.
1370
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuActionOutputContent.ts.html |here} to see how to use GetFsuActionOutputContent API.
1312
1371
  */
1313
1372
  getFsuActionOutputContent(getFsuActionOutputContentRequest) {
1314
1373
  return __awaiter(this, void 0, void 0, function* () {
1315
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuActionOutputContent.");
1374
+ if (this.logger)
1375
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuActionOutputContent.");
1316
1376
  const operationName = "getFsuActionOutputContent";
1317
1377
  const apiReferenceLink = "";
1318
1378
  const pathParams = {
@@ -1325,6 +1385,8 @@ class FleetSoftwareUpdateClient {
1325
1385
  };
1326
1386
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1327
1387
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuActionOutputContentRequest.retryConfiguration, specRetryConfiguration);
1388
+ if (this.logger)
1389
+ retrier.logger = this.logger;
1328
1390
  const request = yield oci_common_1.composeRequest({
1329
1391
  baseEndpoint: this._endpoint,
1330
1392
  defaultHeaders: this._defaultHeaders,
@@ -1363,11 +1425,12 @@ class FleetSoftwareUpdateClient {
1363
1425
  * @param GetFsuCollectionRequest
1364
1426
  * @return GetFsuCollectionResponse
1365
1427
  * @throws OciError when an error occurs
1366
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuCollection.ts.html |here} to see how to use GetFsuCollection API.
1428
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuCollection.ts.html |here} to see how to use GetFsuCollection API.
1367
1429
  */
1368
1430
  getFsuCollection(getFsuCollectionRequest) {
1369
1431
  return __awaiter(this, void 0, void 0, function* () {
1370
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuCollection.");
1432
+ if (this.logger)
1433
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuCollection.");
1371
1434
  const operationName = "getFsuCollection";
1372
1435
  const apiReferenceLink = "";
1373
1436
  const pathParams = {
@@ -1380,6 +1443,8 @@ class FleetSoftwareUpdateClient {
1380
1443
  };
1381
1444
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1382
1445
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
1446
+ if (this.logger)
1447
+ retrier.logger = this.logger;
1383
1448
  const request = yield oci_common_1.composeRequest({
1384
1449
  baseEndpoint: this._endpoint,
1385
1450
  defaultHeaders: this._defaultHeaders,
@@ -1424,11 +1489,12 @@ class FleetSoftwareUpdateClient {
1424
1489
  * @param GetFsuCycleRequest
1425
1490
  * @return GetFsuCycleResponse
1426
1491
  * @throws OciError when an error occurs
1427
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuCycle.ts.html |here} to see how to use GetFsuCycle API.
1492
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuCycle.ts.html |here} to see how to use GetFsuCycle API.
1428
1493
  */
1429
1494
  getFsuCycle(getFsuCycleRequest) {
1430
1495
  return __awaiter(this, void 0, void 0, function* () {
1431
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuCycle.");
1496
+ if (this.logger)
1497
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuCycle.");
1432
1498
  const operationName = "getFsuCycle";
1433
1499
  const apiReferenceLink = "";
1434
1500
  const pathParams = {
@@ -1441,6 +1507,8 @@ class FleetSoftwareUpdateClient {
1441
1507
  };
1442
1508
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1443
1509
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuCycleRequest.retryConfiguration, specRetryConfiguration);
1510
+ if (this.logger)
1511
+ retrier.logger = this.logger;
1444
1512
  const request = yield oci_common_1.composeRequest({
1445
1513
  baseEndpoint: this._endpoint,
1446
1514
  defaultHeaders: this._defaultHeaders,
@@ -1485,11 +1553,12 @@ class FleetSoftwareUpdateClient {
1485
1553
  * @param GetFsuDiscoveryRequest
1486
1554
  * @return GetFsuDiscoveryResponse
1487
1555
  * @throws OciError when an error occurs
1488
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuDiscovery.ts.html |here} to see how to use GetFsuDiscovery API.
1556
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuDiscovery.ts.html |here} to see how to use GetFsuDiscovery API.
1489
1557
  */
1490
1558
  getFsuDiscovery(getFsuDiscoveryRequest) {
1491
1559
  return __awaiter(this, void 0, void 0, function* () {
1492
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuDiscovery.");
1560
+ if (this.logger)
1561
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuDiscovery.");
1493
1562
  const operationName = "getFsuDiscovery";
1494
1563
  const apiReferenceLink = "";
1495
1564
  const pathParams = {
@@ -1502,6 +1571,8 @@ class FleetSoftwareUpdateClient {
1502
1571
  };
1503
1572
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1504
1573
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
1574
+ if (this.logger)
1575
+ retrier.logger = this.logger;
1505
1576
  const request = yield oci_common_1.composeRequest({
1506
1577
  baseEndpoint: this._endpoint,
1507
1578
  defaultHeaders: this._defaultHeaders,
@@ -1546,11 +1617,12 @@ class FleetSoftwareUpdateClient {
1546
1617
  * @param GetFsuJobRequest
1547
1618
  * @return GetFsuJobResponse
1548
1619
  * @throws OciError when an error occurs
1549
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuJob.ts.html |here} to see how to use GetFsuJob API.
1620
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuJob.ts.html |here} to see how to use GetFsuJob API.
1550
1621
  */
1551
1622
  getFsuJob(getFsuJobRequest) {
1552
1623
  return __awaiter(this, void 0, void 0, function* () {
1553
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuJob.");
1624
+ if (this.logger)
1625
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuJob.");
1554
1626
  const operationName = "getFsuJob";
1555
1627
  const apiReferenceLink = "";
1556
1628
  const pathParams = {
@@ -1563,6 +1635,8 @@ class FleetSoftwareUpdateClient {
1563
1635
  };
1564
1636
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1565
1637
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuJobRequest.retryConfiguration, specRetryConfiguration);
1638
+ if (this.logger)
1639
+ retrier.logger = this.logger;
1566
1640
  const request = yield oci_common_1.composeRequest({
1567
1641
  baseEndpoint: this._endpoint,
1568
1642
  defaultHeaders: this._defaultHeaders,
@@ -1607,11 +1681,12 @@ class FleetSoftwareUpdateClient {
1607
1681
  * @param GetFsuJobOutputContentRequest
1608
1682
  * @return GetFsuJobOutputContentResponse
1609
1683
  * @throws OciError when an error occurs
1610
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetFsuJobOutputContent.ts.html |here} to see how to use GetFsuJobOutputContent API.
1684
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetFsuJobOutputContent.ts.html |here} to see how to use GetFsuJobOutputContent API.
1611
1685
  */
1612
1686
  getFsuJobOutputContent(getFsuJobOutputContentRequest) {
1613
1687
  return __awaiter(this, void 0, void 0, function* () {
1614
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuJobOutputContent.");
1688
+ if (this.logger)
1689
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuJobOutputContent.");
1615
1690
  const operationName = "getFsuJobOutputContent";
1616
1691
  const apiReferenceLink = "";
1617
1692
  const pathParams = {
@@ -1624,6 +1699,8 @@ class FleetSoftwareUpdateClient {
1624
1699
  };
1625
1700
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1626
1701
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuJobOutputContentRequest.retryConfiguration, specRetryConfiguration);
1702
+ if (this.logger)
1703
+ retrier.logger = this.logger;
1627
1704
  const request = yield oci_common_1.composeRequest({
1628
1705
  baseEndpoint: this._endpoint,
1629
1706
  defaultHeaders: this._defaultHeaders,
@@ -1662,11 +1739,12 @@ class FleetSoftwareUpdateClient {
1662
1739
  * @param GetWorkRequestRequest
1663
1740
  * @return GetWorkRequestResponse
1664
1741
  * @throws OciError when an error occurs
1665
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1742
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1666
1743
  */
1667
1744
  getWorkRequest(getWorkRequestRequest) {
1668
1745
  return __awaiter(this, void 0, void 0, function* () {
1669
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#getWorkRequest.");
1746
+ if (this.logger)
1747
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#getWorkRequest.");
1670
1748
  const operationName = "getWorkRequest";
1671
1749
  const apiReferenceLink = "";
1672
1750
  const pathParams = {
@@ -1679,6 +1757,8 @@ class FleetSoftwareUpdateClient {
1679
1757
  };
1680
1758
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1681
1759
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1760
+ if (this.logger)
1761
+ retrier.logger = this.logger;
1682
1762
  const request = yield oci_common_1.composeRequest({
1683
1763
  baseEndpoint: this._endpoint,
1684
1764
  defaultHeaders: this._defaultHeaders,
@@ -1728,11 +1808,12 @@ class FleetSoftwareUpdateClient {
1728
1808
  * @param ListFsuActionsRequest
1729
1809
  * @return ListFsuActionsResponse
1730
1810
  * @throws OciError when an error occurs
1731
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuActions.ts.html |here} to see how to use ListFsuActions API.
1811
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuActions.ts.html |here} to see how to use ListFsuActions API.
1732
1812
  */
1733
1813
  listFsuActions(listFsuActionsRequest) {
1734
1814
  return __awaiter(this, void 0, void 0, function* () {
1735
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuActions.");
1815
+ if (this.logger)
1816
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuActions.");
1736
1817
  const operationName = "listFsuActions";
1737
1818
  const apiReferenceLink = "";
1738
1819
  const pathParams = {};
@@ -1753,6 +1834,8 @@ class FleetSoftwareUpdateClient {
1753
1834
  };
1754
1835
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1755
1836
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuActionsRequest.retryConfiguration, specRetryConfiguration);
1837
+ if (this.logger)
1838
+ retrier.logger = this.logger;
1756
1839
  const request = yield oci_common_1.composeRequest({
1757
1840
  baseEndpoint: this._endpoint,
1758
1841
  defaultHeaders: this._defaultHeaders,
@@ -1797,11 +1880,12 @@ class FleetSoftwareUpdateClient {
1797
1880
  * @param ListFsuCollectionTargetsRequest
1798
1881
  * @return ListFsuCollectionTargetsResponse
1799
1882
  * @throws OciError when an error occurs
1800
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuCollectionTargets.ts.html |here} to see how to use ListFsuCollectionTargets API.
1883
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuCollectionTargets.ts.html |here} to see how to use ListFsuCollectionTargets API.
1801
1884
  */
1802
1885
  listFsuCollectionTargets(listFsuCollectionTargetsRequest) {
1803
1886
  return __awaiter(this, void 0, void 0, function* () {
1804
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCollectionTargets.");
1887
+ if (this.logger)
1888
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCollectionTargets.");
1805
1889
  const operationName = "listFsuCollectionTargets";
1806
1890
  const apiReferenceLink = "";
1807
1891
  const pathParams = {
@@ -1822,6 +1906,8 @@ class FleetSoftwareUpdateClient {
1822
1906
  };
1823
1907
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1824
1908
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuCollectionTargetsRequest.retryConfiguration, specRetryConfiguration);
1909
+ if (this.logger)
1910
+ retrier.logger = this.logger;
1825
1911
  const request = yield oci_common_1.composeRequest({
1826
1912
  baseEndpoint: this._endpoint,
1827
1913
  defaultHeaders: this._defaultHeaders,
@@ -1866,11 +1952,12 @@ class FleetSoftwareUpdateClient {
1866
1952
  * @param ListFsuCollectionsRequest
1867
1953
  * @return ListFsuCollectionsResponse
1868
1954
  * @throws OciError when an error occurs
1869
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuCollections.ts.html |here} to see how to use ListFsuCollections API.
1955
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuCollections.ts.html |here} to see how to use ListFsuCollections API.
1870
1956
  */
1871
1957
  listFsuCollections(listFsuCollectionsRequest) {
1872
1958
  return __awaiter(this, void 0, void 0, function* () {
1873
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCollections.");
1959
+ if (this.logger)
1960
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCollections.");
1874
1961
  const operationName = "listFsuCollections";
1875
1962
  const apiReferenceLink = "";
1876
1963
  const pathParams = {};
@@ -1890,6 +1977,8 @@ class FleetSoftwareUpdateClient {
1890
1977
  };
1891
1978
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1892
1979
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuCollectionsRequest.retryConfiguration, specRetryConfiguration);
1980
+ if (this.logger)
1981
+ retrier.logger = this.logger;
1893
1982
  const request = yield oci_common_1.composeRequest({
1894
1983
  baseEndpoint: this._endpoint,
1895
1984
  defaultHeaders: this._defaultHeaders,
@@ -1934,11 +2023,12 @@ class FleetSoftwareUpdateClient {
1934
2023
  * @param ListFsuCyclesRequest
1935
2024
  * @return ListFsuCyclesResponse
1936
2025
  * @throws OciError when an error occurs
1937
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuCycles.ts.html |here} to see how to use ListFsuCycles API.
2026
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuCycles.ts.html |here} to see how to use ListFsuCycles API.
1938
2027
  */
1939
2028
  listFsuCycles(listFsuCyclesRequest) {
1940
2029
  return __awaiter(this, void 0, void 0, function* () {
1941
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCycles.");
2030
+ if (this.logger)
2031
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCycles.");
1942
2032
  const operationName = "listFsuCycles";
1943
2033
  const apiReferenceLink = "";
1944
2034
  const pathParams = {};
@@ -1960,6 +2050,8 @@ class FleetSoftwareUpdateClient {
1960
2050
  };
1961
2051
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1962
2052
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuCyclesRequest.retryConfiguration, specRetryConfiguration);
2053
+ if (this.logger)
2054
+ retrier.logger = this.logger;
1963
2055
  const request = yield oci_common_1.composeRequest({
1964
2056
  baseEndpoint: this._endpoint,
1965
2057
  defaultHeaders: this._defaultHeaders,
@@ -2004,11 +2096,12 @@ class FleetSoftwareUpdateClient {
2004
2096
  * @param ListFsuDiscoveriesRequest
2005
2097
  * @return ListFsuDiscoveriesResponse
2006
2098
  * @throws OciError when an error occurs
2007
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuDiscoveries.ts.html |here} to see how to use ListFsuDiscoveries API.
2099
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuDiscoveries.ts.html |here} to see how to use ListFsuDiscoveries API.
2008
2100
  */
2009
2101
  listFsuDiscoveries(listFsuDiscoveriesRequest) {
2010
2102
  return __awaiter(this, void 0, void 0, function* () {
2011
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuDiscoveries.");
2103
+ if (this.logger)
2104
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuDiscoveries.");
2012
2105
  const operationName = "listFsuDiscoveries";
2013
2106
  const apiReferenceLink = "";
2014
2107
  const pathParams = {};
@@ -2027,6 +2120,8 @@ class FleetSoftwareUpdateClient {
2027
2120
  };
2028
2121
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2029
2122
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuDiscoveriesRequest.retryConfiguration, specRetryConfiguration);
2123
+ if (this.logger)
2124
+ retrier.logger = this.logger;
2030
2125
  const request = yield oci_common_1.composeRequest({
2031
2126
  baseEndpoint: this._endpoint,
2032
2127
  defaultHeaders: this._defaultHeaders,
@@ -2071,11 +2166,12 @@ class FleetSoftwareUpdateClient {
2071
2166
  * @param ListFsuDiscoveryTargetsRequest
2072
2167
  * @return ListFsuDiscoveryTargetsResponse
2073
2168
  * @throws OciError when an error occurs
2074
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuDiscoveryTargets.ts.html |here} to see how to use ListFsuDiscoveryTargets API.
2169
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuDiscoveryTargets.ts.html |here} to see how to use ListFsuDiscoveryTargets API.
2075
2170
  */
2076
2171
  listFsuDiscoveryTargets(listFsuDiscoveryTargetsRequest) {
2077
2172
  return __awaiter(this, void 0, void 0, function* () {
2078
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuDiscoveryTargets.");
2173
+ if (this.logger)
2174
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuDiscoveryTargets.");
2079
2175
  const operationName = "listFsuDiscoveryTargets";
2080
2176
  const apiReferenceLink = "";
2081
2177
  const pathParams = {
@@ -2096,6 +2192,8 @@ class FleetSoftwareUpdateClient {
2096
2192
  };
2097
2193
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2098
2194
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuDiscoveryTargetsRequest.retryConfiguration, specRetryConfiguration);
2195
+ if (this.logger)
2196
+ retrier.logger = this.logger;
2099
2197
  const request = yield oci_common_1.composeRequest({
2100
2198
  baseEndpoint: this._endpoint,
2101
2199
  defaultHeaders: this._defaultHeaders,
@@ -2140,11 +2238,12 @@ class FleetSoftwareUpdateClient {
2140
2238
  * @param ListFsuJobOutputsRequest
2141
2239
  * @return ListFsuJobOutputsResponse
2142
2240
  * @throws OciError when an error occurs
2143
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuJobOutputs.ts.html |here} to see how to use ListFsuJobOutputs API.
2241
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuJobOutputs.ts.html |here} to see how to use ListFsuJobOutputs API.
2144
2242
  */
2145
2243
  listFsuJobOutputs(listFsuJobOutputsRequest) {
2146
2244
  return __awaiter(this, void 0, void 0, function* () {
2147
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuJobOutputs.");
2245
+ if (this.logger)
2246
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuJobOutputs.");
2148
2247
  const operationName = "listFsuJobOutputs";
2149
2248
  const apiReferenceLink = "";
2150
2249
  const pathParams = {
@@ -2160,6 +2259,8 @@ class FleetSoftwareUpdateClient {
2160
2259
  };
2161
2260
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2162
2261
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuJobOutputsRequest.retryConfiguration, specRetryConfiguration);
2262
+ if (this.logger)
2263
+ retrier.logger = this.logger;
2163
2264
  const request = yield oci_common_1.composeRequest({
2164
2265
  baseEndpoint: this._endpoint,
2165
2266
  defaultHeaders: this._defaultHeaders,
@@ -2204,11 +2305,12 @@ class FleetSoftwareUpdateClient {
2204
2305
  * @param ListFsuJobsRequest
2205
2306
  * @return ListFsuJobsResponse
2206
2307
  * @throws OciError when an error occurs
2207
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListFsuJobs.ts.html |here} to see how to use ListFsuJobs API.
2308
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListFsuJobs.ts.html |here} to see how to use ListFsuJobs API.
2208
2309
  */
2209
2310
  listFsuJobs(listFsuJobsRequest) {
2210
2311
  return __awaiter(this, void 0, void 0, function* () {
2211
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuJobs.");
2312
+ if (this.logger)
2313
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuJobs.");
2212
2314
  const operationName = "listFsuJobs";
2213
2315
  const apiReferenceLink = "";
2214
2316
  const pathParams = {};
@@ -2227,6 +2329,8 @@ class FleetSoftwareUpdateClient {
2227
2329
  };
2228
2330
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2229
2331
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuJobsRequest.retryConfiguration, specRetryConfiguration);
2332
+ if (this.logger)
2333
+ retrier.logger = this.logger;
2230
2334
  const request = yield oci_common_1.composeRequest({
2231
2335
  baseEndpoint: this._endpoint,
2232
2336
  defaultHeaders: this._defaultHeaders,
@@ -2271,11 +2375,12 @@ class FleetSoftwareUpdateClient {
2271
2375
  * @param ListWorkRequestErrorsRequest
2272
2376
  * @return ListWorkRequestErrorsResponse
2273
2377
  * @throws OciError when an error occurs
2274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2275
2379
  */
2276
2380
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2277
2381
  return __awaiter(this, void 0, void 0, function* () {
2278
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequestErrors.");
2382
+ if (this.logger)
2383
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequestErrors.");
2279
2384
  const operationName = "listWorkRequestErrors";
2280
2385
  const apiReferenceLink = "";
2281
2386
  const pathParams = {
@@ -2293,6 +2398,8 @@ class FleetSoftwareUpdateClient {
2293
2398
  };
2294
2399
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2295
2400
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
2401
+ if (this.logger)
2402
+ retrier.logger = this.logger;
2296
2403
  const request = yield oci_common_1.composeRequest({
2297
2404
  baseEndpoint: this._endpoint,
2298
2405
  defaultHeaders: this._defaultHeaders,
@@ -2337,11 +2444,12 @@ class FleetSoftwareUpdateClient {
2337
2444
  * @param ListWorkRequestLogsRequest
2338
2445
  * @return ListWorkRequestLogsResponse
2339
2446
  * @throws OciError when an error occurs
2340
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2447
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2341
2448
  */
2342
2449
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2343
2450
  return __awaiter(this, void 0, void 0, function* () {
2344
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequestLogs.");
2451
+ if (this.logger)
2452
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequestLogs.");
2345
2453
  const operationName = "listWorkRequestLogs";
2346
2454
  const apiReferenceLink = "";
2347
2455
  const pathParams = {
@@ -2359,6 +2467,8 @@ class FleetSoftwareUpdateClient {
2359
2467
  };
2360
2468
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2361
2469
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
2470
+ if (this.logger)
2471
+ retrier.logger = this.logger;
2362
2472
  const request = yield oci_common_1.composeRequest({
2363
2473
  baseEndpoint: this._endpoint,
2364
2474
  defaultHeaders: this._defaultHeaders,
@@ -2403,11 +2513,12 @@ class FleetSoftwareUpdateClient {
2403
2513
  * @param ListWorkRequestsRequest
2404
2514
  * @return ListWorkRequestsResponse
2405
2515
  * @throws OciError when an error occurs
2406
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2516
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2407
2517
  */
2408
2518
  listWorkRequests(listWorkRequestsRequest) {
2409
2519
  return __awaiter(this, void 0, void 0, function* () {
2410
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequests.");
2520
+ if (this.logger)
2521
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequests.");
2411
2522
  const operationName = "listWorkRequests";
2412
2523
  const apiReferenceLink = "";
2413
2524
  const pathParams = {};
@@ -2427,6 +2538,8 @@ class FleetSoftwareUpdateClient {
2427
2538
  };
2428
2539
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2429
2540
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
2541
+ if (this.logger)
2542
+ retrier.logger = this.logger;
2430
2543
  const request = yield oci_common_1.composeRequest({
2431
2544
  baseEndpoint: this._endpoint,
2432
2545
  defaultHeaders: this._defaultHeaders,
@@ -2473,11 +2586,12 @@ class FleetSoftwareUpdateClient {
2473
2586
  * @param RemoveFsuCollectionTargetsRequest
2474
2587
  * @return RemoveFsuCollectionTargetsResponse
2475
2588
  * @throws OciError when an error occurs
2476
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/RemoveFsuCollectionTargets.ts.html |here} to see how to use RemoveFsuCollectionTargets API.
2589
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/RemoveFsuCollectionTargets.ts.html |here} to see how to use RemoveFsuCollectionTargets API.
2477
2590
  */
2478
2591
  removeFsuCollectionTargets(removeFsuCollectionTargetsRequest) {
2479
2592
  return __awaiter(this, void 0, void 0, function* () {
2480
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#removeFsuCollectionTargets.");
2593
+ if (this.logger)
2594
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#removeFsuCollectionTargets.");
2481
2595
  const operationName = "removeFsuCollectionTargets";
2482
2596
  const apiReferenceLink = "";
2483
2597
  const pathParams = {
@@ -2492,6 +2606,8 @@ class FleetSoftwareUpdateClient {
2492
2606
  };
2493
2607
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2494
2608
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeFsuCollectionTargetsRequest.retryConfiguration, specRetryConfiguration);
2609
+ if (this.logger)
2610
+ retrier.logger = this.logger;
2495
2611
  const request = yield oci_common_1.composeRequest({
2496
2612
  baseEndpoint: this._endpoint,
2497
2613
  defaultHeaders: this._defaultHeaders,
@@ -2533,11 +2649,12 @@ class FleetSoftwareUpdateClient {
2533
2649
  * @param ResumeFsuActionRequest
2534
2650
  * @return ResumeFsuActionResponse
2535
2651
  * @throws OciError when an error occurs
2536
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/ResumeFsuAction.ts.html |here} to see how to use ResumeFsuAction API.
2652
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/ResumeFsuAction.ts.html |here} to see how to use ResumeFsuAction API.
2537
2653
  */
2538
2654
  resumeFsuAction(resumeFsuActionRequest) {
2539
2655
  return __awaiter(this, void 0, void 0, function* () {
2540
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#resumeFsuAction.");
2656
+ if (this.logger)
2657
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#resumeFsuAction.");
2541
2658
  const operationName = "resumeFsuAction";
2542
2659
  const apiReferenceLink = "";
2543
2660
  const pathParams = {
@@ -2552,6 +2669,8 @@ class FleetSoftwareUpdateClient {
2552
2669
  };
2553
2670
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2554
2671
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeFsuActionRequest.retryConfiguration, specRetryConfiguration);
2672
+ if (this.logger)
2673
+ retrier.logger = this.logger;
2555
2674
  const request = yield oci_common_1.composeRequest({
2556
2675
  baseEndpoint: this._endpoint,
2557
2676
  defaultHeaders: this._defaultHeaders,
@@ -2588,11 +2707,12 @@ class FleetSoftwareUpdateClient {
2588
2707
  * @param RetryFsuJobRequest
2589
2708
  * @return RetryFsuJobResponse
2590
2709
  * @throws OciError when an error occurs
2591
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/RetryFsuJob.ts.html |here} to see how to use RetryFsuJob API.
2710
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/RetryFsuJob.ts.html |here} to see how to use RetryFsuJob API.
2592
2711
  */
2593
2712
  retryFsuJob(retryFsuJobRequest) {
2594
2713
  return __awaiter(this, void 0, void 0, function* () {
2595
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#retryFsuJob.");
2714
+ if (this.logger)
2715
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#retryFsuJob.");
2596
2716
  const operationName = "retryFsuJob";
2597
2717
  const apiReferenceLink = "";
2598
2718
  const pathParams = {
@@ -2607,6 +2727,8 @@ class FleetSoftwareUpdateClient {
2607
2727
  };
2608
2728
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2609
2729
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retryFsuJobRequest.retryConfiguration, specRetryConfiguration);
2730
+ if (this.logger)
2731
+ retrier.logger = this.logger;
2610
2732
  const request = yield oci_common_1.composeRequest({
2611
2733
  baseEndpoint: this._endpoint,
2612
2734
  defaultHeaders: this._defaultHeaders,
@@ -2642,11 +2764,12 @@ class FleetSoftwareUpdateClient {
2642
2764
  * @param UpdateFsuActionRequest
2643
2765
  * @return UpdateFsuActionResponse
2644
2766
  * @throws OciError when an error occurs
2645
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/UpdateFsuAction.ts.html |here} to see how to use UpdateFsuAction API.
2767
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/UpdateFsuAction.ts.html |here} to see how to use UpdateFsuAction API.
2646
2768
  */
2647
2769
  updateFsuAction(updateFsuActionRequest) {
2648
2770
  return __awaiter(this, void 0, void 0, function* () {
2649
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuAction.");
2771
+ if (this.logger)
2772
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuAction.");
2650
2773
  const operationName = "updateFsuAction";
2651
2774
  const apiReferenceLink = "";
2652
2775
  const pathParams = {
@@ -2660,6 +2783,8 @@ class FleetSoftwareUpdateClient {
2660
2783
  };
2661
2784
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2662
2785
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuActionRequest.retryConfiguration, specRetryConfiguration);
2786
+ if (this.logger)
2787
+ retrier.logger = this.logger;
2663
2788
  const request = yield oci_common_1.composeRequest({
2664
2789
  baseEndpoint: this._endpoint,
2665
2790
  defaultHeaders: this._defaultHeaders,
@@ -2701,11 +2826,12 @@ class FleetSoftwareUpdateClient {
2701
2826
  * @param UpdateFsuCollectionRequest
2702
2827
  * @return UpdateFsuCollectionResponse
2703
2828
  * @throws OciError when an error occurs
2704
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/UpdateFsuCollection.ts.html |here} to see how to use UpdateFsuCollection API.
2829
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/UpdateFsuCollection.ts.html |here} to see how to use UpdateFsuCollection API.
2705
2830
  */
2706
2831
  updateFsuCollection(updateFsuCollectionRequest) {
2707
2832
  return __awaiter(this, void 0, void 0, function* () {
2708
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuCollection.");
2833
+ if (this.logger)
2834
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuCollection.");
2709
2835
  const operationName = "updateFsuCollection";
2710
2836
  const apiReferenceLink = "";
2711
2837
  const pathParams = {
@@ -2719,6 +2845,8 @@ class FleetSoftwareUpdateClient {
2719
2845
  };
2720
2846
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2721
2847
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
2848
+ if (this.logger)
2849
+ retrier.logger = this.logger;
2722
2850
  const request = yield oci_common_1.composeRequest({
2723
2851
  baseEndpoint: this._endpoint,
2724
2852
  defaultHeaders: this._defaultHeaders,
@@ -2760,11 +2888,12 @@ class FleetSoftwareUpdateClient {
2760
2888
  * @param UpdateFsuCycleRequest
2761
2889
  * @return UpdateFsuCycleResponse
2762
2890
  * @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/fleetsoftwareupdate/UpdateFsuCycle.ts.html |here} to see how to use UpdateFsuCycle API.
2891
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/UpdateFsuCycle.ts.html |here} to see how to use UpdateFsuCycle API.
2764
2892
  */
2765
2893
  updateFsuCycle(updateFsuCycleRequest) {
2766
2894
  return __awaiter(this, void 0, void 0, function* () {
2767
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuCycle.");
2895
+ if (this.logger)
2896
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuCycle.");
2768
2897
  const operationName = "updateFsuCycle";
2769
2898
  const apiReferenceLink = "";
2770
2899
  const pathParams = {
@@ -2778,6 +2907,8 @@ class FleetSoftwareUpdateClient {
2778
2907
  };
2779
2908
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2780
2909
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuCycleRequest.retryConfiguration, specRetryConfiguration);
2910
+ if (this.logger)
2911
+ retrier.logger = this.logger;
2781
2912
  const request = yield oci_common_1.composeRequest({
2782
2913
  baseEndpoint: this._endpoint,
2783
2914
  defaultHeaders: this._defaultHeaders,
@@ -2819,11 +2950,12 @@ class FleetSoftwareUpdateClient {
2819
2950
  * @param UpdateFsuDiscoveryRequest
2820
2951
  * @return UpdateFsuDiscoveryResponse
2821
2952
  * @throws OciError when an error occurs
2822
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/UpdateFsuDiscovery.ts.html |here} to see how to use UpdateFsuDiscovery API.
2953
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/UpdateFsuDiscovery.ts.html |here} to see how to use UpdateFsuDiscovery API.
2823
2954
  */
2824
2955
  updateFsuDiscovery(updateFsuDiscoveryRequest) {
2825
2956
  return __awaiter(this, void 0, void 0, function* () {
2826
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuDiscovery.");
2957
+ if (this.logger)
2958
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuDiscovery.");
2827
2959
  const operationName = "updateFsuDiscovery";
2828
2960
  const apiReferenceLink = "";
2829
2961
  const pathParams = {
@@ -2837,6 +2969,8 @@ class FleetSoftwareUpdateClient {
2837
2969
  };
2838
2970
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2839
2971
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
2972
+ if (this.logger)
2973
+ retrier.logger = this.logger;
2840
2974
  const request = yield oci_common_1.composeRequest({
2841
2975
  baseEndpoint: this._endpoint,
2842
2976
  defaultHeaders: this._defaultHeaders,
@@ -2873,11 +3007,12 @@ class FleetSoftwareUpdateClient {
2873
3007
  * @param UpdateFsuJobRequest
2874
3008
  * @return UpdateFsuJobResponse
2875
3009
  * @throws OciError when an error occurs
2876
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/fleetsoftwareupdate/UpdateFsuJob.ts.html |here} to see how to use UpdateFsuJob API.
3010
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/fleetsoftwareupdate/UpdateFsuJob.ts.html |here} to see how to use UpdateFsuJob API.
2877
3011
  */
2878
3012
  updateFsuJob(updateFsuJobRequest) {
2879
3013
  return __awaiter(this, void 0, void 0, function* () {
2880
- oci_common_1.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuJob.");
3014
+ if (this.logger)
3015
+ this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuJob.");
2881
3016
  const operationName = "updateFsuJob";
2882
3017
  const apiReferenceLink = "";
2883
3018
  const pathParams = {
@@ -2891,6 +3026,8 @@ class FleetSoftwareUpdateClient {
2891
3026
  };
2892
3027
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2893
3028
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuJobRequest.retryConfiguration, specRetryConfiguration);
3029
+ if (this.logger)
3030
+ retrier.logger = this.logger;
2894
3031
  const request = yield oci_common_1.composeRequest({
2895
3032
  baseEndpoint: this._endpoint,
2896
3033
  defaultHeaders: this._defaultHeaders,