oci-disasterrecovery 2.64.0 → 2.66.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 +59 -59
- package/lib/client.js +90 -89
- package/lib/client.js.map +1 -1
- package/lib/model/associate-dr-protection-group-details.d.ts +1 -1
- package/lib/model/change-dr-protection-group-compartment-details.d.ts +1 -1
- package/lib/model/compute-instance-movable-vnic-mapping-details.d.ts +61 -0
- package/lib/model/compute-instance-movable-vnic-mapping-details.js +32 -0
- package/lib/model/compute-instance-movable-vnic-mapping-details.js.map +1 -0
- package/lib/model/compute-instance-movable-vnic-mapping.d.ts +61 -0
- package/lib/model/compute-instance-movable-vnic-mapping.js +32 -0
- package/lib/model/compute-instance-movable-vnic-mapping.js.map +1 -0
- package/lib/model/compute-instance-vnic-mapping-details.d.ts +20 -4
- package/lib/model/compute-instance-vnic-mapping-details.js.map +1 -1
- package/lib/model/create-dr-plan-details.d.ts +1 -1
- package/lib/model/create-dr-plan-execution-details.d.ts +1 -1
- package/lib/model/create-dr-protection-group-details.d.ts +1 -1
- package/lib/model/create-dr-protection-group-member-compute-instance-details.d.ts +2 -2
- package/lib/model/create-dr-protection-group-member-compute-instance-movable-details.d.ts +63 -0
- package/lib/model/create-dr-protection-group-member-compute-instance-movable-details.js +69 -0
- package/lib/model/create-dr-protection-group-member-compute-instance-movable-details.js.map +1 -0
- package/lib/model/create-dr-protection-group-member-compute-instance-non-movable-details.d.ts +27 -0
- package/lib/model/create-dr-protection-group-member-compute-instance-non-movable-details.js +57 -0
- package/lib/model/create-dr-protection-group-member-compute-instance-non-movable-details.js.map +1 -0
- package/lib/model/create-dr-protection-group-member-database-details.d.ts +1 -1
- package/lib/model/create-dr-protection-group-member-details.d.ts +1 -1
- package/lib/model/create-dr-protection-group-member-details.js +8 -0
- package/lib/model/create-dr-protection-group-member-details.js.map +1 -1
- package/lib/model/dr-plan-execution-summary.d.ts +5 -5
- package/lib/model/dr-plan-execution.d.ts +5 -5
- package/lib/model/dr-plan-group-execution.d.ts +1 -1
- package/lib/model/dr-plan-group.d.ts +1 -1
- package/lib/model/dr-plan-step-execution.d.ts +2 -2
- package/lib/model/dr-plan-step-type.d.ts +4 -0
- package/lib/model/dr-plan-step-type.js +4 -0
- package/lib/model/dr-plan-step-type.js.map +1 -1
- package/lib/model/dr-plan-step.d.ts +3 -3
- package/lib/model/dr-plan-summary.d.ts +4 -4
- package/lib/model/dr-plan.d.ts +4 -4
- package/lib/model/dr-protection-group-member-compute-instance-movable.d.ts +62 -0
- package/lib/model/dr-protection-group-member-compute-instance-movable.js +69 -0
- package/lib/model/dr-protection-group-member-compute-instance-movable.js.map +1 -0
- package/lib/model/dr-protection-group-member-compute-instance-non-movable.d.ts +27 -0
- package/lib/model/dr-protection-group-member-compute-instance-non-movable.js +57 -0
- package/lib/model/dr-protection-group-member-compute-instance-non-movable.js.map +1 -0
- package/lib/model/dr-protection-group-member-type.d.ts +4 -0
- package/lib/model/dr-protection-group-member-type.js +4 -0
- package/lib/model/dr-protection-group-member-type.js.map +1 -1
- package/lib/model/dr-protection-group-member.d.ts +1 -1
- package/lib/model/dr-protection-group-member.js +8 -0
- package/lib/model/dr-protection-group-member.js.map +1 -1
- package/lib/model/dr-protection-group-role.d.ts +3 -3
- package/lib/model/dr-protection-group-role.js +3 -3
- package/lib/model/dr-protection-group-summary.d.ts +3 -3
- package/lib/model/dr-protection-group.d.ts +3 -3
- package/lib/model/failover-execution-option-details.d.ts +2 -2
- package/lib/model/failover-execution-options.d.ts +2 -2
- package/lib/model/failover-precheck-execution-option-details.d.ts +1 -1
- package/lib/model/failover-precheck-execution-options.d.ts +1 -1
- package/lib/model/ignore-dr-plan-execution-details.d.ts +2 -2
- package/lib/model/index.d.ts +16 -0
- package/lib/model/index.js +19 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/invoke-function-step.d.ts +3 -3
- package/lib/model/retry-dr-plan-execution-details.d.ts +2 -2
- package/lib/model/run-local-script-user-defined-step.d.ts +4 -4
- package/lib/model/run-object-store-script-user-defined-step.d.ts +4 -4
- package/lib/model/switchover-execution-option-details.d.ts +2 -2
- package/lib/model/switchover-execution-options.d.ts +2 -2
- package/lib/model/switchover-precheck-execution-option-details.d.ts +1 -1
- package/lib/model/switchover-precheck-execution-options.d.ts +1 -1
- package/lib/model/update-dr-plan-group-details.d.ts +1 -1
- package/lib/model/update-dr-plan-step-details.d.ts +1 -1
- package/lib/model/update-dr-protection-group-member-compute-instance-details.d.ts +2 -2
- package/lib/model/update-dr-protection-group-member-compute-instance-movable-details.d.ts +63 -0
- package/lib/model/update-dr-protection-group-member-compute-instance-movable-details.js +69 -0
- package/lib/model/update-dr-protection-group-member-compute-instance-movable-details.js.map +1 -0
- package/lib/model/update-dr-protection-group-member-compute-instance-non-movable-details.d.ts +27 -0
- package/lib/model/update-dr-protection-group-member-compute-instance-non-movable-details.js +57 -0
- package/lib/model/update-dr-protection-group-member-compute-instance-non-movable-details.js.map +1 -0
- package/lib/model/update-dr-protection-group-member-database-details.d.ts +1 -1
- package/lib/model/update-dr-protection-group-member-details.d.ts +1 -1
- package/lib/model/update-dr-protection-group-member-details.js +8 -0
- package/lib/model/update-dr-protection-group-member-details.js.map +1 -1
- package/lib/model/update-invoke-function-user-defined-step-details.d.ts +2 -2
- package/lib/model/update-run-local-script-user-defined-step-details.d.ts +3 -3
- package/lib/model/update-run-object-store-script-user-defined-step-details.d.ts +2 -2
- package/lib/model/work-request-resource.d.ts +1 -1
- package/lib/model/work-request-summary.d.ts +2 -2
- package/lib/model/work-request.d.ts +2 -2
- 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 +5 -1
- package/lib/request/list-dr-protection-groups-request.js.map +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
|
@@ -177,14 +177,14 @@ class DisasterRecoveryClient {
|
|
|
177
177
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
|
-
* Create an association the DR Protection Group identified by *drProtectionGroupId* and
|
|
180
|
+
* Create an association between the DR Protection Group identified by *drProtectionGroupId* and
|
|
181
181
|
* another DR Protection Group in a different region.
|
|
182
182
|
*
|
|
183
|
-
* This operation
|
|
183
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
184
184
|
* @param AssociateDrProtectionGroupRequest
|
|
185
185
|
* @return AssociateDrProtectionGroupResponse
|
|
186
186
|
* @throws OciError when an error occurs
|
|
187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
187
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/AssociateDrProtectionGroup.ts.html |here} to see how to use AssociateDrProtectionGroup API.
|
|
188
188
|
*/
|
|
189
189
|
associateDrProtectionGroup(associateDrProtectionGroupRequest) {
|
|
190
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -202,7 +202,7 @@ class DisasterRecoveryClient {
|
|
|
202
202
|
"opc-retry-token": associateDrProtectionGroupRequest.opcRetryToken,
|
|
203
203
|
"opc-request-id": associateDrProtectionGroupRequest.opcRequestId
|
|
204
204
|
};
|
|
205
|
-
const specRetryConfiguration = common.
|
|
205
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
206
206
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, associateDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
207
207
|
if (this.logger)
|
|
208
208
|
retrier.logger = this.logger;
|
|
@@ -242,11 +242,11 @@ class DisasterRecoveryClient {
|
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
244
|
* Cancel the DR Plan Execution indentified by *drPlanExecutionId*.
|
|
245
|
-
* This operation
|
|
245
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
246
246
|
* @param CancelDrPlanExecutionRequest
|
|
247
247
|
* @return CancelDrPlanExecutionResponse
|
|
248
248
|
* @throws OciError when an error occurs
|
|
249
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/CancelDrPlanExecution.ts.html |here} to see how to use CancelDrPlanExecution API.
|
|
250
250
|
*/
|
|
251
251
|
cancelDrPlanExecution(cancelDrPlanExecutionRequest) {
|
|
252
252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -264,7 +264,7 @@ class DisasterRecoveryClient {
|
|
|
264
264
|
"opc-retry-token": cancelDrPlanExecutionRequest.opcRetryToken,
|
|
265
265
|
"opc-request-id": cancelDrPlanExecutionRequest.opcRequestId
|
|
266
266
|
};
|
|
267
|
-
const specRetryConfiguration = common.
|
|
267
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
268
268
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
269
269
|
if (this.logger)
|
|
270
270
|
retrier.logger = this.logger;
|
|
@@ -304,11 +304,11 @@ class DisasterRecoveryClient {
|
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
306
|
* Cancel the work request identified by *workRequestId*.
|
|
307
|
-
* This operation
|
|
307
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
308
308
|
* @param CancelWorkRequestRequest
|
|
309
309
|
* @return CancelWorkRequestResponse
|
|
310
310
|
* @throws OciError when an error occurs
|
|
311
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
311
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
312
312
|
*/
|
|
313
313
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
314
314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -325,7 +325,7 @@ class DisasterRecoveryClient {
|
|
|
325
325
|
"if-match": cancelWorkRequestRequest.ifMatch,
|
|
326
326
|
"opc-request-id": cancelWorkRequestRequest.opcRequestId
|
|
327
327
|
};
|
|
328
|
-
const specRetryConfiguration = common.
|
|
328
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
329
329
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
330
330
|
if (this.logger)
|
|
331
331
|
retrier.logger = this.logger;
|
|
@@ -359,11 +359,11 @@ class DisasterRecoveryClient {
|
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
361
|
* Move the DR Protection Group identified by *drProtectionGroupId* to a different compartment.
|
|
362
|
-
* This operation
|
|
362
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
363
363
|
* @param ChangeDrProtectionGroupCompartmentRequest
|
|
364
364
|
* @return ChangeDrProtectionGroupCompartmentResponse
|
|
365
365
|
* @throws OciError when an error occurs
|
|
366
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
366
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ChangeDrProtectionGroupCompartment.ts.html |here} to see how to use ChangeDrProtectionGroupCompartment API.
|
|
367
367
|
*/
|
|
368
368
|
changeDrProtectionGroupCompartment(changeDrProtectionGroupCompartmentRequest) {
|
|
369
369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -381,7 +381,7 @@ class DisasterRecoveryClient {
|
|
|
381
381
|
"opc-retry-token": changeDrProtectionGroupCompartmentRequest.opcRetryToken,
|
|
382
382
|
"opc-request-id": changeDrProtectionGroupCompartmentRequest.opcRequestId
|
|
383
383
|
};
|
|
384
|
-
const specRetryConfiguration = common.
|
|
384
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
385
385
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDrProtectionGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
386
386
|
if (this.logger)
|
|
387
387
|
retrier.logger = this.logger;
|
|
@@ -421,11 +421,11 @@ class DisasterRecoveryClient {
|
|
|
421
421
|
}
|
|
422
422
|
/**
|
|
423
423
|
* Creates a new DR Plan of the specified DR Plan type.
|
|
424
|
-
* This operation
|
|
424
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
425
425
|
* @param CreateDrPlanRequest
|
|
426
426
|
* @return CreateDrPlanResponse
|
|
427
427
|
* @throws OciError when an error occurs
|
|
428
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
428
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/CreateDrPlan.ts.html |here} to see how to use CreateDrPlan API.
|
|
429
429
|
*/
|
|
430
430
|
createDrPlan(createDrPlanRequest) {
|
|
431
431
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -440,7 +440,7 @@ class DisasterRecoveryClient {
|
|
|
440
440
|
"opc-retry-token": createDrPlanRequest.opcRetryToken,
|
|
441
441
|
"opc-request-id": createDrPlanRequest.opcRequestId
|
|
442
442
|
};
|
|
443
|
-
const specRetryConfiguration = common.
|
|
443
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
444
444
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrPlanRequest.retryConfiguration, specRetryConfiguration);
|
|
445
445
|
if (this.logger)
|
|
446
446
|
retrier.logger = this.logger;
|
|
@@ -494,11 +494,11 @@ class DisasterRecoveryClient {
|
|
|
494
494
|
}
|
|
495
495
|
/**
|
|
496
496
|
* Execute a DR Plan for a DR Protection Group.
|
|
497
|
-
* This operation
|
|
497
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
498
498
|
* @param CreateDrPlanExecutionRequest
|
|
499
499
|
* @return CreateDrPlanExecutionResponse
|
|
500
500
|
* @throws OciError when an error occurs
|
|
501
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
501
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/CreateDrPlanExecution.ts.html |here} to see how to use CreateDrPlanExecution API.
|
|
502
502
|
*/
|
|
503
503
|
createDrPlanExecution(createDrPlanExecutionRequest) {
|
|
504
504
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -513,7 +513,7 @@ class DisasterRecoveryClient {
|
|
|
513
513
|
"opc-retry-token": createDrPlanExecutionRequest.opcRetryToken,
|
|
514
514
|
"opc-request-id": createDrPlanExecutionRequest.opcRequestId
|
|
515
515
|
};
|
|
516
|
-
const specRetryConfiguration = common.
|
|
516
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
517
517
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
518
518
|
if (this.logger)
|
|
519
519
|
retrier.logger = this.logger;
|
|
@@ -567,11 +567,11 @@ class DisasterRecoveryClient {
|
|
|
567
567
|
}
|
|
568
568
|
/**
|
|
569
569
|
* Create a new DR Protection Group.
|
|
570
|
-
* This operation
|
|
570
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
571
571
|
* @param CreateDrProtectionGroupRequest
|
|
572
572
|
* @return CreateDrProtectionGroupResponse
|
|
573
573
|
* @throws OciError when an error occurs
|
|
574
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
574
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/CreateDrProtectionGroup.ts.html |here} to see how to use CreateDrProtectionGroup API.
|
|
575
575
|
*/
|
|
576
576
|
createDrProtectionGroup(createDrProtectionGroupRequest) {
|
|
577
577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -586,7 +586,7 @@ class DisasterRecoveryClient {
|
|
|
586
586
|
"opc-retry-token": createDrProtectionGroupRequest.opcRetryToken,
|
|
587
587
|
"opc-request-id": createDrProtectionGroupRequest.opcRequestId
|
|
588
588
|
};
|
|
589
|
-
const specRetryConfiguration = common.
|
|
589
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
590
590
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
591
591
|
if (this.logger)
|
|
592
592
|
retrier.logger = this.logger;
|
|
@@ -640,11 +640,11 @@ class DisasterRecoveryClient {
|
|
|
640
640
|
}
|
|
641
641
|
/**
|
|
642
642
|
* Delete the DR Plan identified by *drPlanId*.
|
|
643
|
-
* This operation
|
|
643
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
644
644
|
* @param DeleteDrPlanRequest
|
|
645
645
|
* @return DeleteDrPlanResponse
|
|
646
646
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
647
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/DeleteDrPlan.ts.html |here} to see how to use DeleteDrPlan API.
|
|
648
648
|
*/
|
|
649
649
|
deleteDrPlan(deleteDrPlanRequest) {
|
|
650
650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -661,7 +661,7 @@ class DisasterRecoveryClient {
|
|
|
661
661
|
"if-match": deleteDrPlanRequest.ifMatch,
|
|
662
662
|
"opc-request-id": deleteDrPlanRequest.opcRequestId
|
|
663
663
|
};
|
|
664
|
-
const specRetryConfiguration = common.
|
|
664
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
665
665
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrPlanRequest.retryConfiguration, specRetryConfiguration);
|
|
666
666
|
if (this.logger)
|
|
667
667
|
retrier.logger = this.logger;
|
|
@@ -695,11 +695,11 @@ class DisasterRecoveryClient {
|
|
|
695
695
|
}
|
|
696
696
|
/**
|
|
697
697
|
* Delete the DR Plan Execution identified by *drPlanExecutionId*.
|
|
698
|
-
* This operation
|
|
698
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
699
699
|
* @param DeleteDrPlanExecutionRequest
|
|
700
700
|
* @return DeleteDrPlanExecutionResponse
|
|
701
701
|
* @throws OciError when an error occurs
|
|
702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/DeleteDrPlanExecution.ts.html |here} to see how to use DeleteDrPlanExecution API.
|
|
703
703
|
*/
|
|
704
704
|
deleteDrPlanExecution(deleteDrPlanExecutionRequest) {
|
|
705
705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -716,7 +716,7 @@ class DisasterRecoveryClient {
|
|
|
716
716
|
"if-match": deleteDrPlanExecutionRequest.ifMatch,
|
|
717
717
|
"opc-request-id": deleteDrPlanExecutionRequest.opcRequestId
|
|
718
718
|
};
|
|
719
|
-
const specRetryConfiguration = common.
|
|
719
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
720
720
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
721
721
|
if (this.logger)
|
|
722
722
|
retrier.logger = this.logger;
|
|
@@ -755,11 +755,11 @@ class DisasterRecoveryClient {
|
|
|
755
755
|
}
|
|
756
756
|
/**
|
|
757
757
|
* Delete the DR Protection Group identified by *drProtectionGroupId*.
|
|
758
|
-
* This operation
|
|
758
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
759
759
|
* @param DeleteDrProtectionGroupRequest
|
|
760
760
|
* @return DeleteDrProtectionGroupResponse
|
|
761
761
|
* @throws OciError when an error occurs
|
|
762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
762
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/DeleteDrProtectionGroup.ts.html |here} to see how to use DeleteDrProtectionGroup API.
|
|
763
763
|
*/
|
|
764
764
|
deleteDrProtectionGroup(deleteDrProtectionGroupRequest) {
|
|
765
765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -776,7 +776,7 @@ class DisasterRecoveryClient {
|
|
|
776
776
|
"if-match": deleteDrProtectionGroupRequest.ifMatch,
|
|
777
777
|
"opc-request-id": deleteDrProtectionGroupRequest.opcRequestId
|
|
778
778
|
};
|
|
779
|
-
const specRetryConfiguration = common.
|
|
779
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
780
780
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
781
781
|
if (this.logger)
|
|
782
782
|
retrier.logger = this.logger;
|
|
@@ -817,11 +817,11 @@ class DisasterRecoveryClient {
|
|
|
817
817
|
* Delete the association between the DR Protection Group identified by *drProtectionGroupId*.
|
|
818
818
|
* and its peer DR Protection Group.
|
|
819
819
|
*
|
|
820
|
-
* This operation
|
|
820
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
821
821
|
* @param DisassociateDrProtectionGroupRequest
|
|
822
822
|
* @return DisassociateDrProtectionGroupResponse
|
|
823
823
|
* @throws OciError when an error occurs
|
|
824
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
824
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/DisassociateDrProtectionGroup.ts.html |here} to see how to use DisassociateDrProtectionGroup API.
|
|
825
825
|
*/
|
|
826
826
|
disassociateDrProtectionGroup(disassociateDrProtectionGroupRequest) {
|
|
827
827
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -839,7 +839,7 @@ class DisasterRecoveryClient {
|
|
|
839
839
|
"opc-retry-token": disassociateDrProtectionGroupRequest.opcRetryToken,
|
|
840
840
|
"opc-request-id": disassociateDrProtectionGroupRequest.opcRequestId
|
|
841
841
|
};
|
|
842
|
-
const specRetryConfiguration = common.
|
|
842
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
843
843
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disassociateDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
844
844
|
if (this.logger)
|
|
845
845
|
retrier.logger = this.logger;
|
|
@@ -879,11 +879,11 @@ class DisasterRecoveryClient {
|
|
|
879
879
|
}
|
|
880
880
|
/**
|
|
881
881
|
* Get details for the DR Plan identified by *drPlanId*.
|
|
882
|
-
* This operation
|
|
882
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
883
883
|
* @param GetDrPlanRequest
|
|
884
884
|
* @return GetDrPlanResponse
|
|
885
885
|
* @throws OciError when an error occurs
|
|
886
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/GetDrPlan.ts.html |here} to see how to use GetDrPlan API.
|
|
887
887
|
*/
|
|
888
888
|
getDrPlan(getDrPlanRequest) {
|
|
889
889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -899,7 +899,7 @@ class DisasterRecoveryClient {
|
|
|
899
899
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
900
900
|
"opc-request-id": getDrPlanRequest.opcRequestId
|
|
901
901
|
};
|
|
902
|
-
const specRetryConfiguration = common.
|
|
902
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
903
903
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrPlanRequest.retryConfiguration, specRetryConfiguration);
|
|
904
904
|
if (this.logger)
|
|
905
905
|
retrier.logger = this.logger;
|
|
@@ -942,11 +942,11 @@ class DisasterRecoveryClient {
|
|
|
942
942
|
}
|
|
943
943
|
/**
|
|
944
944
|
* Get details for the DR Plan Execution identified by *drPlanExecutionId*.
|
|
945
|
-
* This operation
|
|
945
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
946
946
|
* @param GetDrPlanExecutionRequest
|
|
947
947
|
* @return GetDrPlanExecutionResponse
|
|
948
948
|
* @throws OciError when an error occurs
|
|
949
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
949
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/GetDrPlanExecution.ts.html |here} to see how to use GetDrPlanExecution API.
|
|
950
950
|
*/
|
|
951
951
|
getDrPlanExecution(getDrPlanExecutionRequest) {
|
|
952
952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -962,7 +962,7 @@ class DisasterRecoveryClient {
|
|
|
962
962
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
963
963
|
"opc-request-id": getDrPlanExecutionRequest.opcRequestId
|
|
964
964
|
};
|
|
965
|
-
const specRetryConfiguration = common.
|
|
965
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
966
966
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
967
967
|
if (this.logger)
|
|
968
968
|
retrier.logger = this.logger;
|
|
@@ -1005,11 +1005,11 @@ class DisasterRecoveryClient {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Get the DR Protection Group identified by *drProtectionGroupId*.
|
|
1008
|
-
* This operation
|
|
1008
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1009
1009
|
* @param GetDrProtectionGroupRequest
|
|
1010
1010
|
* @return GetDrProtectionGroupResponse
|
|
1011
1011
|
* @throws OciError when an error occurs
|
|
1012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/GetDrProtectionGroup.ts.html |here} to see how to use GetDrProtectionGroup API.
|
|
1013
1013
|
*/
|
|
1014
1014
|
getDrProtectionGroup(getDrProtectionGroupRequest) {
|
|
1015
1015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1025,7 +1025,7 @@ class DisasterRecoveryClient {
|
|
|
1025
1025
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1026
1026
|
"opc-request-id": getDrProtectionGroupRequest.opcRequestId
|
|
1027
1027
|
};
|
|
1028
|
-
const specRetryConfiguration = common.
|
|
1028
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1029
1029
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
1030
1030
|
if (this.logger)
|
|
1031
1031
|
retrier.logger = this.logger;
|
|
@@ -1068,11 +1068,11 @@ class DisasterRecoveryClient {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Get the status of the work request identified by *workRequestId*.
|
|
1071
|
-
* This operation
|
|
1071
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1072
1072
|
* @param GetWorkRequestRequest
|
|
1073
1073
|
* @return GetWorkRequestResponse
|
|
1074
1074
|
* @throws OciError when an error occurs
|
|
1075
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1075
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1076
1076
|
*/
|
|
1077
1077
|
getWorkRequest(getWorkRequestRequest) {
|
|
1078
1078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1088,7 +1088,7 @@ class DisasterRecoveryClient {
|
|
|
1088
1088
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1089
1089
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1090
1090
|
};
|
|
1091
|
-
const specRetryConfiguration = common.
|
|
1091
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1092
1092
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1093
1093
|
if (this.logger)
|
|
1094
1094
|
retrier.logger = this.logger;
|
|
@@ -1136,11 +1136,11 @@ class DisasterRecoveryClient {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Ignore failed group or step in DR Plan Execution identified by *drPlanExecutionId* and resume execution.
|
|
1139
|
-
* This operation
|
|
1139
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1140
1140
|
* @param IgnoreDrPlanExecutionRequest
|
|
1141
1141
|
* @return IgnoreDrPlanExecutionResponse
|
|
1142
1142
|
* @throws OciError when an error occurs
|
|
1143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1143
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/IgnoreDrPlanExecution.ts.html |here} to see how to use IgnoreDrPlanExecution API.
|
|
1144
1144
|
*/
|
|
1145
1145
|
ignoreDrPlanExecution(ignoreDrPlanExecutionRequest) {
|
|
1146
1146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1158,7 +1158,7 @@ class DisasterRecoveryClient {
|
|
|
1158
1158
|
"opc-retry-token": ignoreDrPlanExecutionRequest.opcRetryToken,
|
|
1159
1159
|
"opc-request-id": ignoreDrPlanExecutionRequest.opcRequestId
|
|
1160
1160
|
};
|
|
1161
|
-
const specRetryConfiguration = common.
|
|
1161
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1162
1162
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ignoreDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
1163
1163
|
if (this.logger)
|
|
1164
1164
|
retrier.logger = this.logger;
|
|
@@ -1198,11 +1198,11 @@ class DisasterRecoveryClient {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Get a summary list of all DR Plan Executions for a DR Protection Group.
|
|
1201
|
-
* This operation
|
|
1201
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1202
1202
|
* @param ListDrPlanExecutionsRequest
|
|
1203
1203
|
* @return ListDrPlanExecutionsResponse
|
|
1204
1204
|
* @throws OciError when an error occurs
|
|
1205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ListDrPlanExecutions.ts.html |here} to see how to use ListDrPlanExecutions API.
|
|
1206
1206
|
*/
|
|
1207
1207
|
listDrPlanExecutions(listDrPlanExecutionsRequest) {
|
|
1208
1208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1226,7 +1226,7 @@ class DisasterRecoveryClient {
|
|
|
1226
1226
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1227
1227
|
"opc-request-id": listDrPlanExecutionsRequest.opcRequestId
|
|
1228
1228
|
};
|
|
1229
|
-
const specRetryConfiguration = common.
|
|
1229
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1230
1230
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrPlanExecutionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1231
1231
|
if (this.logger)
|
|
1232
1232
|
retrier.logger = this.logger;
|
|
@@ -1269,11 +1269,11 @@ class DisasterRecoveryClient {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Gets a summary list of all DR Plans for a DR Protection Group.
|
|
1272
|
-
* This operation
|
|
1272
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1273
1273
|
* @param ListDrPlansRequest
|
|
1274
1274
|
* @return ListDrPlansResponse
|
|
1275
1275
|
* @throws OciError when an error occurs
|
|
1276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ListDrPlans.ts.html |here} to see how to use ListDrPlans API.
|
|
1277
1277
|
*/
|
|
1278
1278
|
listDrPlans(listDrPlansRequest) {
|
|
1279
1279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1297,7 +1297,7 @@ class DisasterRecoveryClient {
|
|
|
1297
1297
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1298
1298
|
"opc-request-id": listDrPlansRequest.opcRequestId
|
|
1299
1299
|
};
|
|
1300
|
-
const specRetryConfiguration = common.
|
|
1300
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1301
1301
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrPlansRequest.retryConfiguration, specRetryConfiguration);
|
|
1302
1302
|
if (this.logger)
|
|
1303
1303
|
retrier.logger = this.logger;
|
|
@@ -1340,11 +1340,11 @@ class DisasterRecoveryClient {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Gets a summary list of all DR Protection Groups in a compartment.
|
|
1343
|
-
* This operation
|
|
1343
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1344
1344
|
* @param ListDrProtectionGroupsRequest
|
|
1345
1345
|
* @return ListDrProtectionGroupsResponse
|
|
1346
1346
|
* @throws OciError when an error occurs
|
|
1347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ListDrProtectionGroups.ts.html |here} to see how to use ListDrProtectionGroups API.
|
|
1348
1348
|
*/
|
|
1349
1349
|
listDrProtectionGroups(listDrProtectionGroupsRequest) {
|
|
1350
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1361,13 +1361,14 @@ class DisasterRecoveryClient {
|
|
|
1361
1361
|
"limit": listDrProtectionGroupsRequest.limit,
|
|
1362
1362
|
"page": listDrProtectionGroupsRequest.page,
|
|
1363
1363
|
"sortOrder": listDrProtectionGroupsRequest.sortOrder,
|
|
1364
|
-
"sortBy": listDrProtectionGroupsRequest.sortBy
|
|
1364
|
+
"sortBy": listDrProtectionGroupsRequest.sortBy,
|
|
1365
|
+
"role": listDrProtectionGroupsRequest.role
|
|
1365
1366
|
};
|
|
1366
1367
|
let headerParams = {
|
|
1367
1368
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1368
1369
|
"opc-request-id": listDrProtectionGroupsRequest.opcRequestId
|
|
1369
1370
|
};
|
|
1370
|
-
const specRetryConfiguration = common.
|
|
1371
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1371
1372
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrProtectionGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1372
1373
|
if (this.logger)
|
|
1373
1374
|
retrier.logger = this.logger;
|
|
@@ -1411,11 +1412,11 @@ class DisasterRecoveryClient {
|
|
|
1411
1412
|
/**
|
|
1412
1413
|
* Return a (paginated) list of errors for a given work request.
|
|
1413
1414
|
*
|
|
1414
|
-
* This operation
|
|
1415
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1415
1416
|
* @param ListWorkRequestErrorsRequest
|
|
1416
1417
|
* @return ListWorkRequestErrorsResponse
|
|
1417
1418
|
* @throws OciError when an error occurs
|
|
1418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1419
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1419
1420
|
*/
|
|
1420
1421
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1421
1422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1436,7 +1437,7 @@ class DisasterRecoveryClient {
|
|
|
1436
1437
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1437
1438
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1438
1439
|
};
|
|
1439
|
-
const specRetryConfiguration = common.
|
|
1440
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1440
1441
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1441
1442
|
if (this.logger)
|
|
1442
1443
|
retrier.logger = this.logger;
|
|
@@ -1480,11 +1481,11 @@ class DisasterRecoveryClient {
|
|
|
1480
1481
|
/**
|
|
1481
1482
|
* Return a (paginated) list of logs for the work request identified by *workRequestId*.
|
|
1482
1483
|
*
|
|
1483
|
-
* This operation
|
|
1484
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1484
1485
|
* @param ListWorkRequestLogsRequest
|
|
1485
1486
|
* @return ListWorkRequestLogsResponse
|
|
1486
1487
|
* @throws OciError when an error occurs
|
|
1487
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1488
1489
|
*/
|
|
1489
1490
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1490
1491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1505,7 +1506,7 @@ class DisasterRecoveryClient {
|
|
|
1505
1506
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1506
1507
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1507
1508
|
};
|
|
1508
|
-
const specRetryConfiguration = common.
|
|
1509
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1509
1510
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1510
1511
|
if (this.logger)
|
|
1511
1512
|
retrier.logger = this.logger;
|
|
@@ -1549,11 +1550,11 @@ class DisasterRecoveryClient {
|
|
|
1549
1550
|
/**
|
|
1550
1551
|
* Lists the work requests in a compartment.
|
|
1551
1552
|
*
|
|
1552
|
-
* This operation
|
|
1553
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1553
1554
|
* @param ListWorkRequestsRequest
|
|
1554
1555
|
* @return ListWorkRequestsResponse
|
|
1555
1556
|
* @throws OciError when an error occurs
|
|
1556
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1557
1558
|
*/
|
|
1558
1559
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1559
1560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1576,7 +1577,7 @@ class DisasterRecoveryClient {
|
|
|
1576
1577
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1577
1578
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1578
1579
|
};
|
|
1579
|
-
const specRetryConfiguration = common.
|
|
1580
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1580
1581
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1581
1582
|
if (this.logger)
|
|
1582
1583
|
retrier.logger = this.logger;
|
|
@@ -1619,11 +1620,11 @@ class DisasterRecoveryClient {
|
|
|
1619
1620
|
}
|
|
1620
1621
|
/**
|
|
1621
1622
|
* Pause the DR Plan Execution identified by *drPlanExecutionId*.
|
|
1622
|
-
* This operation
|
|
1623
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1623
1624
|
* @param PauseDrPlanExecutionRequest
|
|
1624
1625
|
* @return PauseDrPlanExecutionResponse
|
|
1625
1626
|
* @throws OciError when an error occurs
|
|
1626
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1627
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/PauseDrPlanExecution.ts.html |here} to see how to use PauseDrPlanExecution API.
|
|
1627
1628
|
*/
|
|
1628
1629
|
pauseDrPlanExecution(pauseDrPlanExecutionRequest) {
|
|
1629
1630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1641,7 +1642,7 @@ class DisasterRecoveryClient {
|
|
|
1641
1642
|
"opc-retry-token": pauseDrPlanExecutionRequest.opcRetryToken,
|
|
1642
1643
|
"opc-request-id": pauseDrPlanExecutionRequest.opcRequestId
|
|
1643
1644
|
};
|
|
1644
|
-
const specRetryConfiguration = common.
|
|
1645
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1645
1646
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, pauseDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
1646
1647
|
if (this.logger)
|
|
1647
1648
|
retrier.logger = this.logger;
|
|
@@ -1681,11 +1682,11 @@ class DisasterRecoveryClient {
|
|
|
1681
1682
|
}
|
|
1682
1683
|
/**
|
|
1683
1684
|
* Resume the DR Plan Execution identified by *drPlanExecutionId*.
|
|
1684
|
-
* This operation
|
|
1685
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1685
1686
|
* @param ResumeDrPlanExecutionRequest
|
|
1686
1687
|
* @return ResumeDrPlanExecutionResponse
|
|
1687
1688
|
* @throws OciError when an error occurs
|
|
1688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1689
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/ResumeDrPlanExecution.ts.html |here} to see how to use ResumeDrPlanExecution API.
|
|
1689
1690
|
*/
|
|
1690
1691
|
resumeDrPlanExecution(resumeDrPlanExecutionRequest) {
|
|
1691
1692
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1703,7 +1704,7 @@ class DisasterRecoveryClient {
|
|
|
1703
1704
|
"opc-retry-token": resumeDrPlanExecutionRequest.opcRetryToken,
|
|
1704
1705
|
"opc-request-id": resumeDrPlanExecutionRequest.opcRequestId
|
|
1705
1706
|
};
|
|
1706
|
-
const specRetryConfiguration = common.
|
|
1707
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1707
1708
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
1708
1709
|
if (this.logger)
|
|
1709
1710
|
retrier.logger = this.logger;
|
|
@@ -1743,11 +1744,11 @@ class DisasterRecoveryClient {
|
|
|
1743
1744
|
}
|
|
1744
1745
|
/**
|
|
1745
1746
|
* Retry failed group or step in DR Plan Execution identified by *drPlanExecutionId* and resume execution.
|
|
1746
|
-
* This operation
|
|
1747
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1747
1748
|
* @param RetryDrPlanExecutionRequest
|
|
1748
1749
|
* @return RetryDrPlanExecutionResponse
|
|
1749
1750
|
* @throws OciError when an error occurs
|
|
1750
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/RetryDrPlanExecution.ts.html |here} to see how to use RetryDrPlanExecution API.
|
|
1751
1752
|
*/
|
|
1752
1753
|
retryDrPlanExecution(retryDrPlanExecutionRequest) {
|
|
1753
1754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1765,7 +1766,7 @@ class DisasterRecoveryClient {
|
|
|
1765
1766
|
"opc-retry-token": retryDrPlanExecutionRequest.opcRetryToken,
|
|
1766
1767
|
"opc-request-id": retryDrPlanExecutionRequest.opcRequestId
|
|
1767
1768
|
};
|
|
1768
|
-
const specRetryConfiguration = common.
|
|
1769
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1769
1770
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retryDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
1770
1771
|
if (this.logger)
|
|
1771
1772
|
retrier.logger = this.logger;
|
|
@@ -1805,11 +1806,11 @@ class DisasterRecoveryClient {
|
|
|
1805
1806
|
}
|
|
1806
1807
|
/**
|
|
1807
1808
|
* Update the DR Plan identified by *drPlanId*.
|
|
1808
|
-
* This operation
|
|
1809
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1809
1810
|
* @param UpdateDrPlanRequest
|
|
1810
1811
|
* @return UpdateDrPlanResponse
|
|
1811
1812
|
* @throws OciError when an error occurs
|
|
1812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1813
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/UpdateDrPlan.ts.html |here} to see how to use UpdateDrPlan API.
|
|
1813
1814
|
*/
|
|
1814
1815
|
updateDrPlan(updateDrPlanRequest) {
|
|
1815
1816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1826,7 +1827,7 @@ class DisasterRecoveryClient {
|
|
|
1826
1827
|
"if-match": updateDrPlanRequest.ifMatch,
|
|
1827
1828
|
"opc-request-id": updateDrPlanRequest.opcRequestId
|
|
1828
1829
|
};
|
|
1829
|
-
const specRetryConfiguration = common.
|
|
1830
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1830
1831
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrPlanRequest.retryConfiguration, specRetryConfiguration);
|
|
1831
1832
|
if (this.logger)
|
|
1832
1833
|
retrier.logger = this.logger;
|
|
@@ -1866,11 +1867,11 @@ class DisasterRecoveryClient {
|
|
|
1866
1867
|
}
|
|
1867
1868
|
/**
|
|
1868
1869
|
* Update the DR Plan Execution identified by *drPlanExecutionId*.
|
|
1869
|
-
* This operation
|
|
1870
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1870
1871
|
* @param UpdateDrPlanExecutionRequest
|
|
1871
1872
|
* @return UpdateDrPlanExecutionResponse
|
|
1872
1873
|
* @throws OciError when an error occurs
|
|
1873
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/UpdateDrPlanExecution.ts.html |here} to see how to use UpdateDrPlanExecution API.
|
|
1874
1875
|
*/
|
|
1875
1876
|
updateDrPlanExecution(updateDrPlanExecutionRequest) {
|
|
1876
1877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1887,7 +1888,7 @@ class DisasterRecoveryClient {
|
|
|
1887
1888
|
"if-match": updateDrPlanExecutionRequest.ifMatch,
|
|
1888
1889
|
"opc-request-id": updateDrPlanExecutionRequest.opcRequestId
|
|
1889
1890
|
};
|
|
1890
|
-
const specRetryConfiguration = common.
|
|
1891
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1891
1892
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrPlanExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
1892
1893
|
if (this.logger)
|
|
1893
1894
|
retrier.logger = this.logger;
|
|
@@ -1927,11 +1928,11 @@ class DisasterRecoveryClient {
|
|
|
1927
1928
|
}
|
|
1928
1929
|
/**
|
|
1929
1930
|
* Update the DR Protection Group identified by *drProtectionGroupId*.
|
|
1930
|
-
* This operation
|
|
1931
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1931
1932
|
* @param UpdateDrProtectionGroupRequest
|
|
1932
1933
|
* @return UpdateDrProtectionGroupResponse
|
|
1933
1934
|
* @throws OciError when an error occurs
|
|
1934
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/UpdateDrProtectionGroup.ts.html |here} to see how to use UpdateDrProtectionGroup API.
|
|
1935
1936
|
*/
|
|
1936
1937
|
updateDrProtectionGroup(updateDrProtectionGroupRequest) {
|
|
1937
1938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1948,7 +1949,7 @@ class DisasterRecoveryClient {
|
|
|
1948
1949
|
"if-match": updateDrProtectionGroupRequest.ifMatch,
|
|
1949
1950
|
"opc-request-id": updateDrProtectionGroupRequest.opcRequestId
|
|
1950
1951
|
};
|
|
1951
|
-
const specRetryConfiguration = common.
|
|
1952
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1952
1953
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrProtectionGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
1953
1954
|
if (this.logger)
|
|
1954
1955
|
retrier.logger = this.logger;
|
|
@@ -1988,11 +1989,11 @@ class DisasterRecoveryClient {
|
|
|
1988
1989
|
}
|
|
1989
1990
|
/**
|
|
1990
1991
|
* Update the role of the DR Protection Group identified by *drProtectionGroupId*.
|
|
1991
|
-
* This operation
|
|
1992
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1992
1993
|
* @param UpdateDrProtectionGroupRoleRequest
|
|
1993
1994
|
* @return UpdateDrProtectionGroupRoleResponse
|
|
1994
1995
|
* @throws OciError when an error occurs
|
|
1995
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1996
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/disasterrecovery/UpdateDrProtectionGroupRole.ts.html |here} to see how to use UpdateDrProtectionGroupRole API.
|
|
1996
1997
|
*/
|
|
1997
1998
|
updateDrProtectionGroupRole(updateDrProtectionGroupRoleRequest) {
|
|
1998
1999
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2010,7 +2011,7 @@ class DisasterRecoveryClient {
|
|
|
2010
2011
|
"opc-retry-token": updateDrProtectionGroupRoleRequest.opcRetryToken,
|
|
2011
2012
|
"opc-request-id": updateDrProtectionGroupRoleRequest.opcRequestId
|
|
2012
2013
|
};
|
|
2013
|
-
const specRetryConfiguration = common.
|
|
2014
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2014
2015
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrProtectionGroupRoleRequest.retryConfiguration, specRetryConfiguration);
|
|
2015
2016
|
if (this.logger)
|
|
2016
2017
|
retrier.logger = this.logger;
|