oci-disasterrecovery 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 (51) hide show
  1. package/lib/client.d.ts +29 -30
  2. package/lib/client.js +60 -152
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-dr-protection-group-member-details.js +2 -4
  5. package/lib/model/create-dr-protection-group-member-details.js.map +1 -1
  6. package/lib/model/disassociate-dr-protection-group-details.js +2 -4
  7. package/lib/model/disassociate-dr-protection-group-details.js.map +1 -1
  8. package/lib/model/dr-plan-execution-control-details.js +2 -4
  9. package/lib/model/dr-plan-execution-control-details.js.map +1 -1
  10. package/lib/model/dr-plan-execution-option-details.js +2 -4
  11. package/lib/model/dr-plan-execution-option-details.js.map +1 -1
  12. package/lib/model/dr-plan-execution-options.js +2 -4
  13. package/lib/model/dr-plan-execution-options.js.map +1 -1
  14. package/lib/model/dr-plan-user-defined-step.js +2 -4
  15. package/lib/model/dr-plan-user-defined-step.js.map +1 -1
  16. package/lib/model/dr-protection-group-member.js +2 -4
  17. package/lib/model/dr-protection-group-member.js.map +1 -1
  18. package/lib/model/update-dr-plan-user-defined-step-details.js +2 -4
  19. package/lib/model/update-dr-plan-user-defined-step-details.js.map +1 -1
  20. package/lib/model/update-dr-protection-group-member-details.js +2 -4
  21. package/lib/model/update-dr-protection-group-member-details.js.map +1 -1
  22. package/lib/request/associate-dr-protection-group-request.d.ts +1 -1
  23. package/lib/request/cancel-dr-plan-execution-request.d.ts +1 -1
  24. package/lib/request/cancel-work-request-request.d.ts +1 -1
  25. package/lib/request/change-dr-protection-group-compartment-request.d.ts +1 -1
  26. package/lib/request/create-dr-plan-execution-request.d.ts +1 -1
  27. package/lib/request/create-dr-plan-request.d.ts +1 -1
  28. package/lib/request/create-dr-protection-group-request.d.ts +1 -1
  29. package/lib/request/delete-dr-plan-execution-request.d.ts +1 -1
  30. package/lib/request/delete-dr-plan-request.d.ts +1 -1
  31. package/lib/request/delete-dr-protection-group-request.d.ts +1 -1
  32. package/lib/request/disassociate-dr-protection-group-request.d.ts +1 -1
  33. package/lib/request/get-dr-plan-execution-request.d.ts +1 -1
  34. package/lib/request/get-dr-plan-request.d.ts +1 -1
  35. package/lib/request/get-dr-protection-group-request.d.ts +1 -1
  36. package/lib/request/get-work-request-request.d.ts +1 -1
  37. package/lib/request/ignore-dr-plan-execution-request.d.ts +1 -1
  38. package/lib/request/list-dr-plan-executions-request.d.ts +1 -1
  39. package/lib/request/list-dr-plans-request.d.ts +1 -1
  40. package/lib/request/list-dr-protection-groups-request.d.ts +1 -1
  41. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  42. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  43. package/lib/request/list-work-requests-request.d.ts +1 -1
  44. package/lib/request/pause-dr-plan-execution-request.d.ts +1 -1
  45. package/lib/request/resume-dr-plan-execution-request.d.ts +1 -1
  46. package/lib/request/retry-dr-plan-execution-request.d.ts +1 -1
  47. package/lib/request/update-dr-plan-execution-request.d.ts +1 -1
  48. package/lib/request/update-dr-plan-request.d.ts +1 -1
  49. package/lib/request/update-dr-protection-group-request.d.ts +1 -1
  50. package/lib/request/update-dr-protection-group-role-request.d.ts +1 -1
  51. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -120,11 +120,7 @@ class DisasterRecoveryClient {
120
120
  set endpoint(endpoint) {
121
121
  this._endpoint = endpoint;
122
122
  this._endpoint = this._endpoint + "/20220125";
123
- if (this.logger)
124
- this.logger.info(`DisasterRecoveryClient endpoint set to ${this._endpoint}`);
125
- }
126
- get logger() {
127
- return common.LOG.logger;
123
+ oci_common_1.logger.info(`DisasterRecoveryClient endpoint set to ${this._endpoint}`);
128
124
  }
129
125
  /**
130
126
  * Determines whether realm specific endpoint should be used or not.
@@ -133,8 +129,7 @@ class DisasterRecoveryClient {
133
129
  */
134
130
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
135
131
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
136
- if (this.logger)
137
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
132
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
138
133
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
139
134
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DisasterRecoveryClient.serviceEndpointTemplate, this._region, DisasterRecoveryClient.endpointServiceName);
140
135
  }
@@ -202,12 +197,11 @@ class DisasterRecoveryClient {
202
197
  * @param AssociateDrProtectionGroupRequest
203
198
  * @return AssociateDrProtectionGroupResponse
204
199
  * @throws OciError when an error occurs
205
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/AssociateDrProtectionGroup.ts.html |here} to see how to use AssociateDrProtectionGroup API.
200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/AssociateDrProtectionGroup.ts.html |here} to see how to use AssociateDrProtectionGroup API.
206
201
  */
207
202
  associateDrProtectionGroup(associateDrProtectionGroupRequest) {
208
203
  return __awaiter(this, void 0, void 0, function* () {
209
- if (this.logger)
210
- this.logger.debug("Calling operation DisasterRecoveryClient#associateDrProtectionGroup.");
204
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#associateDrProtectionGroup.");
211
205
  const operationName = "associateDrProtectionGroup";
212
206
  const apiReferenceLink = "";
213
207
  const pathParams = {
@@ -222,8 +216,6 @@ class DisasterRecoveryClient {
222
216
  };
223
217
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
224
218
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, associateDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
225
- if (this.logger)
226
- retrier.logger = this.logger;
227
219
  const request = yield oci_common_1.composeRequest({
228
220
  baseEndpoint: this._endpoint,
229
221
  defaultHeaders: this._defaultHeaders,
@@ -264,12 +256,11 @@ class DisasterRecoveryClient {
264
256
  * @param CancelDrPlanExecutionRequest
265
257
  * @return CancelDrPlanExecutionResponse
266
258
  * @throws OciError when an error occurs
267
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/CancelDrPlanExecution.ts.html |here} to see how to use CancelDrPlanExecution API.
259
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/CancelDrPlanExecution.ts.html |here} to see how to use CancelDrPlanExecution API.
268
260
  */
269
261
  cancelDrPlanExecution(cancelDrPlanExecutionRequest) {
270
262
  return __awaiter(this, void 0, void 0, function* () {
271
- if (this.logger)
272
- this.logger.debug("Calling operation DisasterRecoveryClient#cancelDrPlanExecution.");
263
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#cancelDrPlanExecution.");
273
264
  const operationName = "cancelDrPlanExecution";
274
265
  const apiReferenceLink = "";
275
266
  const pathParams = {
@@ -284,8 +275,6 @@ class DisasterRecoveryClient {
284
275
  };
285
276
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
286
277
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
287
- if (this.logger)
288
- retrier.logger = this.logger;
289
278
  const request = yield oci_common_1.composeRequest({
290
279
  baseEndpoint: this._endpoint,
291
280
  defaultHeaders: this._defaultHeaders,
@@ -326,12 +315,11 @@ class DisasterRecoveryClient {
326
315
  * @param CancelWorkRequestRequest
327
316
  * @return CancelWorkRequestResponse
328
317
  * @throws OciError when an error occurs
329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
318
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
330
319
  */
331
320
  cancelWorkRequest(cancelWorkRequestRequest) {
332
321
  return __awaiter(this, void 0, void 0, function* () {
333
- if (this.logger)
334
- this.logger.debug("Calling operation DisasterRecoveryClient#cancelWorkRequest.");
322
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#cancelWorkRequest.");
335
323
  const operationName = "cancelWorkRequest";
336
324
  const apiReferenceLink = "";
337
325
  const pathParams = {
@@ -345,8 +333,6 @@ class DisasterRecoveryClient {
345
333
  };
346
334
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
347
335
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
348
- if (this.logger)
349
- retrier.logger = this.logger;
350
336
  const request = yield oci_common_1.composeRequest({
351
337
  baseEndpoint: this._endpoint,
352
338
  defaultHeaders: this._defaultHeaders,
@@ -381,12 +367,11 @@ class DisasterRecoveryClient {
381
367
  * @param ChangeDrProtectionGroupCompartmentRequest
382
368
  * @return ChangeDrProtectionGroupCompartmentResponse
383
369
  * @throws OciError when an error occurs
384
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ChangeDrProtectionGroupCompartment.ts.html |here} to see how to use ChangeDrProtectionGroupCompartment API.
370
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ChangeDrProtectionGroupCompartment.ts.html |here} to see how to use ChangeDrProtectionGroupCompartment API.
385
371
  */
386
372
  changeDrProtectionGroupCompartment(changeDrProtectionGroupCompartmentRequest) {
387
373
  return __awaiter(this, void 0, void 0, function* () {
388
- if (this.logger)
389
- this.logger.debug("Calling operation DisasterRecoveryClient#changeDrProtectionGroupCompartment.");
374
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#changeDrProtectionGroupCompartment.");
390
375
  const operationName = "changeDrProtectionGroupCompartment";
391
376
  const apiReferenceLink = "";
392
377
  const pathParams = {
@@ -401,8 +386,6 @@ class DisasterRecoveryClient {
401
386
  };
402
387
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
403
388
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDrProtectionGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
404
- if (this.logger)
405
- retrier.logger = this.logger;
406
389
  const request = yield oci_common_1.composeRequest({
407
390
  baseEndpoint: this._endpoint,
408
391
  defaultHeaders: this._defaultHeaders,
@@ -443,12 +426,11 @@ class DisasterRecoveryClient {
443
426
  * @param CreateDrPlanRequest
444
427
  * @return CreateDrPlanResponse
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/disasterrecovery/CreateDrPlan.ts.html |here} to see how to use CreateDrPlan API.
429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/CreateDrPlan.ts.html |here} to see how to use CreateDrPlan API.
447
430
  */
448
431
  createDrPlan(createDrPlanRequest) {
449
432
  return __awaiter(this, void 0, void 0, function* () {
450
- if (this.logger)
451
- this.logger.debug("Calling operation DisasterRecoveryClient#createDrPlan.");
433
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#createDrPlan.");
452
434
  const operationName = "createDrPlan";
453
435
  const apiReferenceLink = "";
454
436
  const pathParams = {};
@@ -460,8 +442,6 @@ class DisasterRecoveryClient {
460
442
  };
461
443
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
462
444
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrPlanRequest.retryConfiguration, specRetryConfiguration);
463
- if (this.logger)
464
- retrier.logger = this.logger;
465
445
  const request = yield oci_common_1.composeRequest({
466
446
  baseEndpoint: this._endpoint,
467
447
  defaultHeaders: this._defaultHeaders,
@@ -516,12 +496,11 @@ class DisasterRecoveryClient {
516
496
  * @param CreateDrPlanExecutionRequest
517
497
  * @return CreateDrPlanExecutionResponse
518
498
  * @throws OciError when an error occurs
519
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/CreateDrPlanExecution.ts.html |here} to see how to use CreateDrPlanExecution API.
499
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/CreateDrPlanExecution.ts.html |here} to see how to use CreateDrPlanExecution API.
520
500
  */
521
501
  createDrPlanExecution(createDrPlanExecutionRequest) {
522
502
  return __awaiter(this, void 0, void 0, function* () {
523
- if (this.logger)
524
- this.logger.debug("Calling operation DisasterRecoveryClient#createDrPlanExecution.");
503
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#createDrPlanExecution.");
525
504
  const operationName = "createDrPlanExecution";
526
505
  const apiReferenceLink = "";
527
506
  const pathParams = {};
@@ -533,8 +512,6 @@ class DisasterRecoveryClient {
533
512
  };
534
513
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
535
514
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
536
- if (this.logger)
537
- retrier.logger = this.logger;
538
515
  const request = yield oci_common_1.composeRequest({
539
516
  baseEndpoint: this._endpoint,
540
517
  defaultHeaders: this._defaultHeaders,
@@ -589,12 +566,11 @@ class DisasterRecoveryClient {
589
566
  * @param CreateDrProtectionGroupRequest
590
567
  * @return CreateDrProtectionGroupResponse
591
568
  * @throws OciError when an error occurs
592
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/CreateDrProtectionGroup.ts.html |here} to see how to use CreateDrProtectionGroup API.
569
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/CreateDrProtectionGroup.ts.html |here} to see how to use CreateDrProtectionGroup API.
593
570
  */
594
571
  createDrProtectionGroup(createDrProtectionGroupRequest) {
595
572
  return __awaiter(this, void 0, void 0, function* () {
596
- if (this.logger)
597
- this.logger.debug("Calling operation DisasterRecoveryClient#createDrProtectionGroup.");
573
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#createDrProtectionGroup.");
598
574
  const operationName = "createDrProtectionGroup";
599
575
  const apiReferenceLink = "";
600
576
  const pathParams = {};
@@ -606,8 +582,6 @@ class DisasterRecoveryClient {
606
582
  };
607
583
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
608
584
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
609
- if (this.logger)
610
- retrier.logger = this.logger;
611
585
  const request = yield oci_common_1.composeRequest({
612
586
  baseEndpoint: this._endpoint,
613
587
  defaultHeaders: this._defaultHeaders,
@@ -662,12 +636,11 @@ class DisasterRecoveryClient {
662
636
  * @param DeleteDrPlanRequest
663
637
  * @return DeleteDrPlanResponse
664
638
  * @throws OciError when an error occurs
665
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/DeleteDrPlan.ts.html |here} to see how to use DeleteDrPlan API.
639
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/DeleteDrPlan.ts.html |here} to see how to use DeleteDrPlan API.
666
640
  */
667
641
  deleteDrPlan(deleteDrPlanRequest) {
668
642
  return __awaiter(this, void 0, void 0, function* () {
669
- if (this.logger)
670
- this.logger.debug("Calling operation DisasterRecoveryClient#deleteDrPlan.");
643
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#deleteDrPlan.");
671
644
  const operationName = "deleteDrPlan";
672
645
  const apiReferenceLink = "";
673
646
  const pathParams = {
@@ -681,8 +654,6 @@ class DisasterRecoveryClient {
681
654
  };
682
655
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
683
656
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrPlanRequest.retryConfiguration, specRetryConfiguration);
684
- if (this.logger)
685
- retrier.logger = this.logger;
686
657
  const request = yield oci_common_1.composeRequest({
687
658
  baseEndpoint: this._endpoint,
688
659
  defaultHeaders: this._defaultHeaders,
@@ -717,12 +688,11 @@ class DisasterRecoveryClient {
717
688
  * @param DeleteDrPlanExecutionRequest
718
689
  * @return DeleteDrPlanExecutionResponse
719
690
  * @throws OciError when an error occurs
720
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/DeleteDrPlanExecution.ts.html |here} to see how to use DeleteDrPlanExecution API.
691
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/DeleteDrPlanExecution.ts.html |here} to see how to use DeleteDrPlanExecution API.
721
692
  */
722
693
  deleteDrPlanExecution(deleteDrPlanExecutionRequest) {
723
694
  return __awaiter(this, void 0, void 0, function* () {
724
- if (this.logger)
725
- this.logger.debug("Calling operation DisasterRecoveryClient#deleteDrPlanExecution.");
695
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#deleteDrPlanExecution.");
726
696
  const operationName = "deleteDrPlanExecution";
727
697
  const apiReferenceLink = "";
728
698
  const pathParams = {
@@ -736,8 +706,6 @@ class DisasterRecoveryClient {
736
706
  };
737
707
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
738
708
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
739
- if (this.logger)
740
- retrier.logger = this.logger;
741
709
  const request = yield oci_common_1.composeRequest({
742
710
  baseEndpoint: this._endpoint,
743
711
  defaultHeaders: this._defaultHeaders,
@@ -777,12 +745,11 @@ class DisasterRecoveryClient {
777
745
  * @param DeleteDrProtectionGroupRequest
778
746
  * @return DeleteDrProtectionGroupResponse
779
747
  * @throws OciError when an error occurs
780
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/DeleteDrProtectionGroup.ts.html |here} to see how to use DeleteDrProtectionGroup API.
748
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/DeleteDrProtectionGroup.ts.html |here} to see how to use DeleteDrProtectionGroup API.
781
749
  */
782
750
  deleteDrProtectionGroup(deleteDrProtectionGroupRequest) {
783
751
  return __awaiter(this, void 0, void 0, function* () {
784
- if (this.logger)
785
- this.logger.debug("Calling operation DisasterRecoveryClient#deleteDrProtectionGroup.");
752
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#deleteDrProtectionGroup.");
786
753
  const operationName = "deleteDrProtectionGroup";
787
754
  const apiReferenceLink = "";
788
755
  const pathParams = {
@@ -796,8 +763,6 @@ class DisasterRecoveryClient {
796
763
  };
797
764
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
798
765
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
799
- if (this.logger)
800
- retrier.logger = this.logger;
801
766
  const request = yield oci_common_1.composeRequest({
802
767
  baseEndpoint: this._endpoint,
803
768
  defaultHeaders: this._defaultHeaders,
@@ -839,12 +804,11 @@ class DisasterRecoveryClient {
839
804
  * @param DisassociateDrProtectionGroupRequest
840
805
  * @return DisassociateDrProtectionGroupResponse
841
806
  * @throws OciError when an error occurs
842
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/DisassociateDrProtectionGroup.ts.html |here} to see how to use DisassociateDrProtectionGroup API.
807
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/DisassociateDrProtectionGroup.ts.html |here} to see how to use DisassociateDrProtectionGroup API.
843
808
  */
844
809
  disassociateDrProtectionGroup(disassociateDrProtectionGroupRequest) {
845
810
  return __awaiter(this, void 0, void 0, function* () {
846
- if (this.logger)
847
- this.logger.debug("Calling operation DisasterRecoveryClient#disassociateDrProtectionGroup.");
811
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#disassociateDrProtectionGroup.");
848
812
  const operationName = "disassociateDrProtectionGroup";
849
813
  const apiReferenceLink = "";
850
814
  const pathParams = {
@@ -859,8 +823,6 @@ class DisasterRecoveryClient {
859
823
  };
860
824
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
861
825
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disassociateDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
862
- if (this.logger)
863
- retrier.logger = this.logger;
864
826
  const request = yield oci_common_1.composeRequest({
865
827
  baseEndpoint: this._endpoint,
866
828
  defaultHeaders: this._defaultHeaders,
@@ -901,12 +863,11 @@ class DisasterRecoveryClient {
901
863
  * @param GetDrPlanRequest
902
864
  * @return GetDrPlanResponse
903
865
  * @throws OciError when an error occurs
904
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/GetDrPlan.ts.html |here} to see how to use GetDrPlan API.
866
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/GetDrPlan.ts.html |here} to see how to use GetDrPlan API.
905
867
  */
906
868
  getDrPlan(getDrPlanRequest) {
907
869
  return __awaiter(this, void 0, void 0, function* () {
908
- if (this.logger)
909
- this.logger.debug("Calling operation DisasterRecoveryClient#getDrPlan.");
870
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#getDrPlan.");
910
871
  const operationName = "getDrPlan";
911
872
  const apiReferenceLink = "";
912
873
  const pathParams = {
@@ -919,8 +880,6 @@ class DisasterRecoveryClient {
919
880
  };
920
881
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
921
882
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrPlanRequest.retryConfiguration, specRetryConfiguration);
922
- if (this.logger)
923
- retrier.logger = this.logger;
924
883
  const request = yield oci_common_1.composeRequest({
925
884
  baseEndpoint: this._endpoint,
926
885
  defaultHeaders: this._defaultHeaders,
@@ -964,12 +923,11 @@ class DisasterRecoveryClient {
964
923
  * @param GetDrPlanExecutionRequest
965
924
  * @return GetDrPlanExecutionResponse
966
925
  * @throws OciError when an error occurs
967
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/GetDrPlanExecution.ts.html |here} to see how to use GetDrPlanExecution API.
926
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/GetDrPlanExecution.ts.html |here} to see how to use GetDrPlanExecution API.
968
927
  */
969
928
  getDrPlanExecution(getDrPlanExecutionRequest) {
970
929
  return __awaiter(this, void 0, void 0, function* () {
971
- if (this.logger)
972
- this.logger.debug("Calling operation DisasterRecoveryClient#getDrPlanExecution.");
930
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#getDrPlanExecution.");
973
931
  const operationName = "getDrPlanExecution";
974
932
  const apiReferenceLink = "";
975
933
  const pathParams = {
@@ -982,8 +940,6 @@ class DisasterRecoveryClient {
982
940
  };
983
941
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
984
942
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
985
- if (this.logger)
986
- retrier.logger = this.logger;
987
943
  const request = yield oci_common_1.composeRequest({
988
944
  baseEndpoint: this._endpoint,
989
945
  defaultHeaders: this._defaultHeaders,
@@ -1027,12 +983,11 @@ class DisasterRecoveryClient {
1027
983
  * @param GetDrProtectionGroupRequest
1028
984
  * @return GetDrProtectionGroupResponse
1029
985
  * @throws OciError when an error occurs
1030
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/GetDrProtectionGroup.ts.html |here} to see how to use GetDrProtectionGroup API.
986
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/GetDrProtectionGroup.ts.html |here} to see how to use GetDrProtectionGroup API.
1031
987
  */
1032
988
  getDrProtectionGroup(getDrProtectionGroupRequest) {
1033
989
  return __awaiter(this, void 0, void 0, function* () {
1034
- if (this.logger)
1035
- this.logger.debug("Calling operation DisasterRecoveryClient#getDrProtectionGroup.");
990
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#getDrProtectionGroup.");
1036
991
  const operationName = "getDrProtectionGroup";
1037
992
  const apiReferenceLink = "";
1038
993
  const pathParams = {
@@ -1045,8 +1000,6 @@ class DisasterRecoveryClient {
1045
1000
  };
1046
1001
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1047
1002
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
1048
- if (this.logger)
1049
- retrier.logger = this.logger;
1050
1003
  const request = yield oci_common_1.composeRequest({
1051
1004
  baseEndpoint: this._endpoint,
1052
1005
  defaultHeaders: this._defaultHeaders,
@@ -1090,12 +1043,11 @@ class DisasterRecoveryClient {
1090
1043
  * @param GetWorkRequestRequest
1091
1044
  * @return GetWorkRequestResponse
1092
1045
  * @throws OciError when an error occurs
1093
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1046
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1094
1047
  */
1095
1048
  getWorkRequest(getWorkRequestRequest) {
1096
1049
  return __awaiter(this, void 0, void 0, function* () {
1097
- if (this.logger)
1098
- this.logger.debug("Calling operation DisasterRecoveryClient#getWorkRequest.");
1050
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#getWorkRequest.");
1099
1051
  const operationName = "getWorkRequest";
1100
1052
  const apiReferenceLink = "";
1101
1053
  const pathParams = {
@@ -1108,8 +1060,6 @@ class DisasterRecoveryClient {
1108
1060
  };
1109
1061
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1110
1062
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1111
- if (this.logger)
1112
- retrier.logger = this.logger;
1113
1063
  const request = yield oci_common_1.composeRequest({
1114
1064
  baseEndpoint: this._endpoint,
1115
1065
  defaultHeaders: this._defaultHeaders,
@@ -1158,12 +1108,11 @@ class DisasterRecoveryClient {
1158
1108
  * @param IgnoreDrPlanExecutionRequest
1159
1109
  * @return IgnoreDrPlanExecutionResponse
1160
1110
  * @throws OciError when an error occurs
1161
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/IgnoreDrPlanExecution.ts.html |here} to see how to use IgnoreDrPlanExecution API.
1111
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/IgnoreDrPlanExecution.ts.html |here} to see how to use IgnoreDrPlanExecution API.
1162
1112
  */
1163
1113
  ignoreDrPlanExecution(ignoreDrPlanExecutionRequest) {
1164
1114
  return __awaiter(this, void 0, void 0, function* () {
1165
- if (this.logger)
1166
- this.logger.debug("Calling operation DisasterRecoveryClient#ignoreDrPlanExecution.");
1115
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#ignoreDrPlanExecution.");
1167
1116
  const operationName = "ignoreDrPlanExecution";
1168
1117
  const apiReferenceLink = "";
1169
1118
  const pathParams = {
@@ -1178,8 +1127,6 @@ class DisasterRecoveryClient {
1178
1127
  };
1179
1128
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1180
1129
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ignoreDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
1181
- if (this.logger)
1182
- retrier.logger = this.logger;
1183
1130
  const request = yield oci_common_1.composeRequest({
1184
1131
  baseEndpoint: this._endpoint,
1185
1132
  defaultHeaders: this._defaultHeaders,
@@ -1220,12 +1167,11 @@ class DisasterRecoveryClient {
1220
1167
  * @param ListDrPlanExecutionsRequest
1221
1168
  * @return ListDrPlanExecutionsResponse
1222
1169
  * @throws OciError when an error occurs
1223
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ListDrPlanExecutions.ts.html |here} to see how to use ListDrPlanExecutions API.
1170
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ListDrPlanExecutions.ts.html |here} to see how to use ListDrPlanExecutions API.
1224
1171
  */
1225
1172
  listDrPlanExecutions(listDrPlanExecutionsRequest) {
1226
1173
  return __awaiter(this, void 0, void 0, function* () {
1227
- if (this.logger)
1228
- this.logger.debug("Calling operation DisasterRecoveryClient#listDrPlanExecutions.");
1174
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#listDrPlanExecutions.");
1229
1175
  const operationName = "listDrPlanExecutions";
1230
1176
  const apiReferenceLink = "";
1231
1177
  const pathParams = {};
@@ -1246,8 +1192,6 @@ class DisasterRecoveryClient {
1246
1192
  };
1247
1193
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1248
1194
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrPlanExecutionsRequest.retryConfiguration, specRetryConfiguration);
1249
- if (this.logger)
1250
- retrier.logger = this.logger;
1251
1195
  const request = yield oci_common_1.composeRequest({
1252
1196
  baseEndpoint: this._endpoint,
1253
1197
  defaultHeaders: this._defaultHeaders,
@@ -1291,12 +1235,11 @@ class DisasterRecoveryClient {
1291
1235
  * @param ListDrPlansRequest
1292
1236
  * @return ListDrPlansResponse
1293
1237
  * @throws OciError when an error occurs
1294
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ListDrPlans.ts.html |here} to see how to use ListDrPlans API.
1238
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ListDrPlans.ts.html |here} to see how to use ListDrPlans API.
1295
1239
  */
1296
1240
  listDrPlans(listDrPlansRequest) {
1297
1241
  return __awaiter(this, void 0, void 0, function* () {
1298
- if (this.logger)
1299
- this.logger.debug("Calling operation DisasterRecoveryClient#listDrPlans.");
1242
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#listDrPlans.");
1300
1243
  const operationName = "listDrPlans";
1301
1244
  const apiReferenceLink = "";
1302
1245
  const pathParams = {};
@@ -1317,8 +1260,6 @@ class DisasterRecoveryClient {
1317
1260
  };
1318
1261
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1319
1262
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrPlansRequest.retryConfiguration, specRetryConfiguration);
1320
- if (this.logger)
1321
- retrier.logger = this.logger;
1322
1263
  const request = yield oci_common_1.composeRequest({
1323
1264
  baseEndpoint: this._endpoint,
1324
1265
  defaultHeaders: this._defaultHeaders,
@@ -1362,12 +1303,11 @@ class DisasterRecoveryClient {
1362
1303
  * @param ListDrProtectionGroupsRequest
1363
1304
  * @return ListDrProtectionGroupsResponse
1364
1305
  * @throws OciError when an error occurs
1365
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ListDrProtectionGroups.ts.html |here} to see how to use ListDrProtectionGroups API.
1306
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ListDrProtectionGroups.ts.html |here} to see how to use ListDrProtectionGroups API.
1366
1307
  */
1367
1308
  listDrProtectionGroups(listDrProtectionGroupsRequest) {
1368
1309
  return __awaiter(this, void 0, void 0, function* () {
1369
- if (this.logger)
1370
- this.logger.debug("Calling operation DisasterRecoveryClient#listDrProtectionGroups.");
1310
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#listDrProtectionGroups.");
1371
1311
  const operationName = "listDrProtectionGroups";
1372
1312
  const apiReferenceLink = "";
1373
1313
  const pathParams = {};
@@ -1389,8 +1329,6 @@ class DisasterRecoveryClient {
1389
1329
  };
1390
1330
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1391
1331
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrProtectionGroupsRequest.retryConfiguration, specRetryConfiguration);
1392
- if (this.logger)
1393
- retrier.logger = this.logger;
1394
1332
  const request = yield oci_common_1.composeRequest({
1395
1333
  baseEndpoint: this._endpoint,
1396
1334
  defaultHeaders: this._defaultHeaders,
@@ -1435,12 +1373,11 @@ class DisasterRecoveryClient {
1435
1373
  * @param ListWorkRequestErrorsRequest
1436
1374
  * @return ListWorkRequestErrorsResponse
1437
1375
  * @throws OciError when an error occurs
1438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1376
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1439
1377
  */
1440
1378
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1441
1379
  return __awaiter(this, void 0, void 0, function* () {
1442
- if (this.logger)
1443
- this.logger.debug("Calling operation DisasterRecoveryClient#listWorkRequestErrors.");
1380
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#listWorkRequestErrors.");
1444
1381
  const operationName = "listWorkRequestErrors";
1445
1382
  const apiReferenceLink = "";
1446
1383
  const pathParams = {
@@ -1458,8 +1395,6 @@ class DisasterRecoveryClient {
1458
1395
  };
1459
1396
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1460
1397
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1461
- if (this.logger)
1462
- retrier.logger = this.logger;
1463
1398
  const request = yield oci_common_1.composeRequest({
1464
1399
  baseEndpoint: this._endpoint,
1465
1400
  defaultHeaders: this._defaultHeaders,
@@ -1504,12 +1439,11 @@ class DisasterRecoveryClient {
1504
1439
  * @param ListWorkRequestLogsRequest
1505
1440
  * @return ListWorkRequestLogsResponse
1506
1441
  * @throws OciError when an error occurs
1507
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1442
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1508
1443
  */
1509
1444
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1510
1445
  return __awaiter(this, void 0, void 0, function* () {
1511
- if (this.logger)
1512
- this.logger.debug("Calling operation DisasterRecoveryClient#listWorkRequestLogs.");
1446
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#listWorkRequestLogs.");
1513
1447
  const operationName = "listWorkRequestLogs";
1514
1448
  const apiReferenceLink = "";
1515
1449
  const pathParams = {
@@ -1527,8 +1461,6 @@ class DisasterRecoveryClient {
1527
1461
  };
1528
1462
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1529
1463
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1530
- if (this.logger)
1531
- retrier.logger = this.logger;
1532
1464
  const request = yield oci_common_1.composeRequest({
1533
1465
  baseEndpoint: this._endpoint,
1534
1466
  defaultHeaders: this._defaultHeaders,
@@ -1573,12 +1505,11 @@ class DisasterRecoveryClient {
1573
1505
  * @param ListWorkRequestsRequest
1574
1506
  * @return ListWorkRequestsResponse
1575
1507
  * @throws OciError when an error occurs
1576
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1577
1509
  */
1578
1510
  listWorkRequests(listWorkRequestsRequest) {
1579
1511
  return __awaiter(this, void 0, void 0, function* () {
1580
- if (this.logger)
1581
- this.logger.debug("Calling operation DisasterRecoveryClient#listWorkRequests.");
1512
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#listWorkRequests.");
1582
1513
  const operationName = "listWorkRequests";
1583
1514
  const apiReferenceLink = "";
1584
1515
  const pathParams = {};
@@ -1598,8 +1529,6 @@ class DisasterRecoveryClient {
1598
1529
  };
1599
1530
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1600
1531
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1601
- if (this.logger)
1602
- retrier.logger = this.logger;
1603
1532
  const request = yield oci_common_1.composeRequest({
1604
1533
  baseEndpoint: this._endpoint,
1605
1534
  defaultHeaders: this._defaultHeaders,
@@ -1643,12 +1572,11 @@ class DisasterRecoveryClient {
1643
1572
  * @param PauseDrPlanExecutionRequest
1644
1573
  * @return PauseDrPlanExecutionResponse
1645
1574
  * @throws OciError when an error occurs
1646
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/PauseDrPlanExecution.ts.html |here} to see how to use PauseDrPlanExecution API.
1575
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/PauseDrPlanExecution.ts.html |here} to see how to use PauseDrPlanExecution API.
1647
1576
  */
1648
1577
  pauseDrPlanExecution(pauseDrPlanExecutionRequest) {
1649
1578
  return __awaiter(this, void 0, void 0, function* () {
1650
- if (this.logger)
1651
- this.logger.debug("Calling operation DisasterRecoveryClient#pauseDrPlanExecution.");
1579
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#pauseDrPlanExecution.");
1652
1580
  const operationName = "pauseDrPlanExecution";
1653
1581
  const apiReferenceLink = "";
1654
1582
  const pathParams = {
@@ -1663,8 +1591,6 @@ class DisasterRecoveryClient {
1663
1591
  };
1664
1592
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1665
1593
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, pauseDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
1666
- if (this.logger)
1667
- retrier.logger = this.logger;
1668
1594
  const request = yield oci_common_1.composeRequest({
1669
1595
  baseEndpoint: this._endpoint,
1670
1596
  defaultHeaders: this._defaultHeaders,
@@ -1705,12 +1631,11 @@ class DisasterRecoveryClient {
1705
1631
  * @param ResumeDrPlanExecutionRequest
1706
1632
  * @return ResumeDrPlanExecutionResponse
1707
1633
  * @throws OciError when an error occurs
1708
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/ResumeDrPlanExecution.ts.html |here} to see how to use ResumeDrPlanExecution API.
1634
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/ResumeDrPlanExecution.ts.html |here} to see how to use ResumeDrPlanExecution API.
1709
1635
  */
1710
1636
  resumeDrPlanExecution(resumeDrPlanExecutionRequest) {
1711
1637
  return __awaiter(this, void 0, void 0, function* () {
1712
- if (this.logger)
1713
- this.logger.debug("Calling operation DisasterRecoveryClient#resumeDrPlanExecution.");
1638
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#resumeDrPlanExecution.");
1714
1639
  const operationName = "resumeDrPlanExecution";
1715
1640
  const apiReferenceLink = "";
1716
1641
  const pathParams = {
@@ -1725,8 +1650,6 @@ class DisasterRecoveryClient {
1725
1650
  };
1726
1651
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1727
1652
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
1728
- if (this.logger)
1729
- retrier.logger = this.logger;
1730
1653
  const request = yield oci_common_1.composeRequest({
1731
1654
  baseEndpoint: this._endpoint,
1732
1655
  defaultHeaders: this._defaultHeaders,
@@ -1767,12 +1690,11 @@ class DisasterRecoveryClient {
1767
1690
  * @param RetryDrPlanExecutionRequest
1768
1691
  * @return RetryDrPlanExecutionResponse
1769
1692
  * @throws OciError when an error occurs
1770
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/RetryDrPlanExecution.ts.html |here} to see how to use RetryDrPlanExecution API.
1693
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/RetryDrPlanExecution.ts.html |here} to see how to use RetryDrPlanExecution API.
1771
1694
  */
1772
1695
  retryDrPlanExecution(retryDrPlanExecutionRequest) {
1773
1696
  return __awaiter(this, void 0, void 0, function* () {
1774
- if (this.logger)
1775
- this.logger.debug("Calling operation DisasterRecoveryClient#retryDrPlanExecution.");
1697
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#retryDrPlanExecution.");
1776
1698
  const operationName = "retryDrPlanExecution";
1777
1699
  const apiReferenceLink = "";
1778
1700
  const pathParams = {
@@ -1787,8 +1709,6 @@ class DisasterRecoveryClient {
1787
1709
  };
1788
1710
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1789
1711
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retryDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
1790
- if (this.logger)
1791
- retrier.logger = this.logger;
1792
1712
  const request = yield oci_common_1.composeRequest({
1793
1713
  baseEndpoint: this._endpoint,
1794
1714
  defaultHeaders: this._defaultHeaders,
@@ -1829,12 +1749,11 @@ class DisasterRecoveryClient {
1829
1749
  * @param UpdateDrPlanRequest
1830
1750
  * @return UpdateDrPlanResponse
1831
1751
  * @throws OciError when an error occurs
1832
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/UpdateDrPlan.ts.html |here} to see how to use UpdateDrPlan API.
1752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/UpdateDrPlan.ts.html |here} to see how to use UpdateDrPlan API.
1833
1753
  */
1834
1754
  updateDrPlan(updateDrPlanRequest) {
1835
1755
  return __awaiter(this, void 0, void 0, function* () {
1836
- if (this.logger)
1837
- this.logger.debug("Calling operation DisasterRecoveryClient#updateDrPlan.");
1756
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#updateDrPlan.");
1838
1757
  const operationName = "updateDrPlan";
1839
1758
  const apiReferenceLink = "";
1840
1759
  const pathParams = {
@@ -1848,8 +1767,6 @@ class DisasterRecoveryClient {
1848
1767
  };
1849
1768
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1850
1769
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrPlanRequest.retryConfiguration, specRetryConfiguration);
1851
- if (this.logger)
1852
- retrier.logger = this.logger;
1853
1770
  const request = yield oci_common_1.composeRequest({
1854
1771
  baseEndpoint: this._endpoint,
1855
1772
  defaultHeaders: this._defaultHeaders,
@@ -1890,12 +1807,11 @@ class DisasterRecoveryClient {
1890
1807
  * @param UpdateDrPlanExecutionRequest
1891
1808
  * @return UpdateDrPlanExecutionResponse
1892
1809
  * @throws OciError when an error occurs
1893
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/UpdateDrPlanExecution.ts.html |here} to see how to use UpdateDrPlanExecution API.
1810
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/UpdateDrPlanExecution.ts.html |here} to see how to use UpdateDrPlanExecution API.
1894
1811
  */
1895
1812
  updateDrPlanExecution(updateDrPlanExecutionRequest) {
1896
1813
  return __awaiter(this, void 0, void 0, function* () {
1897
- if (this.logger)
1898
- this.logger.debug("Calling operation DisasterRecoveryClient#updateDrPlanExecution.");
1814
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#updateDrPlanExecution.");
1899
1815
  const operationName = "updateDrPlanExecution";
1900
1816
  const apiReferenceLink = "";
1901
1817
  const pathParams = {
@@ -1909,8 +1825,6 @@ class DisasterRecoveryClient {
1909
1825
  };
1910
1826
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1911
1827
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
1912
- if (this.logger)
1913
- retrier.logger = this.logger;
1914
1828
  const request = yield oci_common_1.composeRequest({
1915
1829
  baseEndpoint: this._endpoint,
1916
1830
  defaultHeaders: this._defaultHeaders,
@@ -1951,12 +1865,11 @@ class DisasterRecoveryClient {
1951
1865
  * @param UpdateDrProtectionGroupRequest
1952
1866
  * @return UpdateDrProtectionGroupResponse
1953
1867
  * @throws OciError when an error occurs
1954
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/UpdateDrProtectionGroup.ts.html |here} to see how to use UpdateDrProtectionGroup API.
1868
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/UpdateDrProtectionGroup.ts.html |here} to see how to use UpdateDrProtectionGroup API.
1955
1869
  */
1956
1870
  updateDrProtectionGroup(updateDrProtectionGroupRequest) {
1957
1871
  return __awaiter(this, void 0, void 0, function* () {
1958
- if (this.logger)
1959
- this.logger.debug("Calling operation DisasterRecoveryClient#updateDrProtectionGroup.");
1872
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#updateDrProtectionGroup.");
1960
1873
  const operationName = "updateDrProtectionGroup";
1961
1874
  const apiReferenceLink = "";
1962
1875
  const pathParams = {
@@ -1970,8 +1883,6 @@ class DisasterRecoveryClient {
1970
1883
  };
1971
1884
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1972
1885
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
1973
- if (this.logger)
1974
- retrier.logger = this.logger;
1975
1886
  const request = yield oci_common_1.composeRequest({
1976
1887
  baseEndpoint: this._endpoint,
1977
1888
  defaultHeaders: this._defaultHeaders,
@@ -2012,12 +1923,11 @@ class DisasterRecoveryClient {
2012
1923
  * @param UpdateDrProtectionGroupRoleRequest
2013
1924
  * @return UpdateDrProtectionGroupRoleResponse
2014
1925
  * @throws OciError when an error occurs
2015
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/disasterrecovery/UpdateDrProtectionGroupRole.ts.html |here} to see how to use UpdateDrProtectionGroupRole API.
1926
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/disasterrecovery/UpdateDrProtectionGroupRole.ts.html |here} to see how to use UpdateDrProtectionGroupRole API.
2016
1927
  */
2017
1928
  updateDrProtectionGroupRole(updateDrProtectionGroupRoleRequest) {
2018
1929
  return __awaiter(this, void 0, void 0, function* () {
2019
- if (this.logger)
2020
- this.logger.debug("Calling operation DisasterRecoveryClient#updateDrProtectionGroupRole.");
1930
+ oci_common_1.logger.debug("Calling operation DisasterRecoveryClient#updateDrProtectionGroupRole.");
2021
1931
  const operationName = "updateDrProtectionGroupRole";
2022
1932
  const apiReferenceLink = "";
2023
1933
  const pathParams = {
@@ -2032,8 +1942,6 @@ class DisasterRecoveryClient {
2032
1942
  };
2033
1943
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2034
1944
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrProtectionGroupRoleRequest.retryConfiguration, specRetryConfiguration);
2035
- if (this.logger)
2036
- retrier.logger = this.logger;
2037
1945
  const request = yield oci_common_1.composeRequest({
2038
1946
  baseEndpoint: this._endpoint,
2039
1947
  defaultHeaders: this._defaultHeaders,