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