oci-recovery 2.79.0 → 2.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +23 -24
- package/lib/client.js +48 -122
- package/lib/client.js.map +1 -1
- package/lib/request/change-protected-database-compartment-request.d.ts +1 -1
- package/lib/request/change-protection-policy-compartment-request.d.ts +1 -1
- package/lib/request/change-recovery-service-subnet-compartment-request.d.ts +1 -1
- package/lib/request/create-protected-database-request.d.ts +1 -1
- package/lib/request/create-protection-policy-request.d.ts +1 -1
- package/lib/request/create-recovery-service-subnet-request.d.ts +1 -1
- package/lib/request/delete-protected-database-request.d.ts +1 -1
- package/lib/request/delete-protection-policy-request.d.ts +1 -1
- package/lib/request/delete-recovery-service-subnet-request.d.ts +1 -1
- package/lib/request/fetch-protected-database-configuration-request.d.ts +1 -1
- package/lib/request/get-protected-database-request.d.ts +1 -1
- package/lib/request/get-protection-policy-request.d.ts +1 -1
- package/lib/request/get-recovery-service-subnet-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-protected-databases-request.d.ts +1 -1
- package/lib/request/list-protection-policies-request.d.ts +1 -1
- package/lib/request/list-recovery-service-subnets-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/update-protected-database-request.d.ts +1 -1
- package/lib/request/update-protection-policy-request.d.ts +1 -1
- package/lib/request/update-recovery-service-subnet-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -116,11 +116,7 @@ class DatabaseRecoveryClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20210216";
|
|
119
|
-
|
|
120
|
-
this.logger.info(`DatabaseRecoveryClient endpoint set to ${this._endpoint}`);
|
|
121
|
-
}
|
|
122
|
-
get logger() {
|
|
123
|
-
return common.LOG.logger;
|
|
119
|
+
oci_common_1.logger.info(`DatabaseRecoveryClient endpoint set to ${this._endpoint}`);
|
|
124
120
|
}
|
|
125
121
|
/**
|
|
126
122
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -129,8 +125,7 @@ class DatabaseRecoveryClient {
|
|
|
129
125
|
*/
|
|
130
126
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
131
127
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
132
|
-
|
|
133
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
128
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
134
129
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
135
130
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DatabaseRecoveryClient.serviceEndpointTemplate, this._region, DatabaseRecoveryClient.endpointServiceName);
|
|
136
131
|
}
|
|
@@ -196,12 +191,11 @@ class DatabaseRecoveryClient {
|
|
|
196
191
|
* @param ChangeProtectedDatabaseCompartmentRequest
|
|
197
192
|
* @return ChangeProtectedDatabaseCompartmentResponse
|
|
198
193
|
* @throws OciError when an error occurs
|
|
199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
194
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ChangeProtectedDatabaseCompartment.ts.html |here} to see how to use ChangeProtectedDatabaseCompartment API.
|
|
200
195
|
*/
|
|
201
196
|
changeProtectedDatabaseCompartment(changeProtectedDatabaseCompartmentRequest) {
|
|
202
197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
-
|
|
204
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectedDatabaseCompartment.");
|
|
198
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectedDatabaseCompartment.");
|
|
205
199
|
const operationName = "changeProtectedDatabaseCompartment";
|
|
206
200
|
const apiReferenceLink = "";
|
|
207
201
|
const pathParams = {
|
|
@@ -215,8 +209,6 @@ class DatabaseRecoveryClient {
|
|
|
215
209
|
};
|
|
216
210
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
217
211
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProtectedDatabaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
218
|
-
if (this.logger)
|
|
219
|
-
retrier.logger = this.logger;
|
|
220
212
|
const request = yield oci_common_1.composeRequest({
|
|
221
213
|
baseEndpoint: this._endpoint,
|
|
222
214
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -257,12 +249,11 @@ class DatabaseRecoveryClient {
|
|
|
257
249
|
* @param ChangeProtectionPolicyCompartmentRequest
|
|
258
250
|
* @return ChangeProtectionPolicyCompartmentResponse
|
|
259
251
|
* @throws OciError when an error occurs
|
|
260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
252
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ChangeProtectionPolicyCompartment.ts.html |here} to see how to use ChangeProtectionPolicyCompartment API.
|
|
261
253
|
*/
|
|
262
254
|
changeProtectionPolicyCompartment(changeProtectionPolicyCompartmentRequest) {
|
|
263
255
|
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
-
|
|
265
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectionPolicyCompartment.");
|
|
256
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectionPolicyCompartment.");
|
|
266
257
|
const operationName = "changeProtectionPolicyCompartment";
|
|
267
258
|
const apiReferenceLink = "";
|
|
268
259
|
const pathParams = {
|
|
@@ -276,8 +267,6 @@ class DatabaseRecoveryClient {
|
|
|
276
267
|
};
|
|
277
268
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
278
269
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProtectionPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
279
|
-
if (this.logger)
|
|
280
|
-
retrier.logger = this.logger;
|
|
281
270
|
const request = yield oci_common_1.composeRequest({
|
|
282
271
|
baseEndpoint: this._endpoint,
|
|
283
272
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -318,12 +307,11 @@ class DatabaseRecoveryClient {
|
|
|
318
307
|
* @param ChangeRecoveryServiceSubnetCompartmentRequest
|
|
319
308
|
* @return ChangeRecoveryServiceSubnetCompartmentResponse
|
|
320
309
|
* @throws OciError when an error occurs
|
|
321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
310
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ChangeRecoveryServiceSubnetCompartment.ts.html |here} to see how to use ChangeRecoveryServiceSubnetCompartment API.
|
|
322
311
|
*/
|
|
323
312
|
changeRecoveryServiceSubnetCompartment(changeRecoveryServiceSubnetCompartmentRequest) {
|
|
324
313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
-
|
|
326
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#changeRecoveryServiceSubnetCompartment.");
|
|
314
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#changeRecoveryServiceSubnetCompartment.");
|
|
327
315
|
const operationName = "changeRecoveryServiceSubnetCompartment";
|
|
328
316
|
const apiReferenceLink = "";
|
|
329
317
|
const pathParams = {
|
|
@@ -337,8 +325,6 @@ class DatabaseRecoveryClient {
|
|
|
337
325
|
};
|
|
338
326
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
339
327
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRecoveryServiceSubnetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
340
|
-
if (this.logger)
|
|
341
|
-
retrier.logger = this.logger;
|
|
342
328
|
const request = yield oci_common_1.composeRequest({
|
|
343
329
|
baseEndpoint: this._endpoint,
|
|
344
330
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -380,12 +366,11 @@ class DatabaseRecoveryClient {
|
|
|
380
366
|
* @param CreateProtectedDatabaseRequest
|
|
381
367
|
* @return CreateProtectedDatabaseResponse
|
|
382
368
|
* @throws OciError when an error occurs
|
|
383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
369
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/CreateProtectedDatabase.ts.html |here} to see how to use CreateProtectedDatabase API.
|
|
384
370
|
*/
|
|
385
371
|
createProtectedDatabase(createProtectedDatabaseRequest) {
|
|
386
372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
|
-
|
|
388
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#createProtectedDatabase.");
|
|
373
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#createProtectedDatabase.");
|
|
389
374
|
const operationName = "createProtectedDatabase";
|
|
390
375
|
const apiReferenceLink = "";
|
|
391
376
|
const pathParams = {};
|
|
@@ -397,8 +382,6 @@ class DatabaseRecoveryClient {
|
|
|
397
382
|
};
|
|
398
383
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
399
384
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
400
|
-
if (this.logger)
|
|
401
|
-
retrier.logger = this.logger;
|
|
402
385
|
const request = yield oci_common_1.composeRequest({
|
|
403
386
|
baseEndpoint: this._endpoint,
|
|
404
387
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -454,12 +437,11 @@ class DatabaseRecoveryClient {
|
|
|
454
437
|
* @param CreateProtectionPolicyRequest
|
|
455
438
|
* @return CreateProtectionPolicyResponse
|
|
456
439
|
* @throws OciError when an error occurs
|
|
457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
440
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/CreateProtectionPolicy.ts.html |here} to see how to use CreateProtectionPolicy API.
|
|
458
441
|
*/
|
|
459
442
|
createProtectionPolicy(createProtectionPolicyRequest) {
|
|
460
443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
461
|
-
|
|
462
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#createProtectionPolicy.");
|
|
444
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#createProtectionPolicy.");
|
|
463
445
|
const operationName = "createProtectionPolicy";
|
|
464
446
|
const apiReferenceLink = "";
|
|
465
447
|
const pathParams = {};
|
|
@@ -471,8 +453,6 @@ class DatabaseRecoveryClient {
|
|
|
471
453
|
};
|
|
472
454
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
473
455
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
474
|
-
if (this.logger)
|
|
475
|
-
retrier.logger = this.logger;
|
|
476
456
|
const request = yield oci_common_1.composeRequest({
|
|
477
457
|
baseEndpoint: this._endpoint,
|
|
478
458
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -528,12 +508,11 @@ class DatabaseRecoveryClient {
|
|
|
528
508
|
* @param CreateRecoveryServiceSubnetRequest
|
|
529
509
|
* @return CreateRecoveryServiceSubnetResponse
|
|
530
510
|
* @throws OciError when an error occurs
|
|
531
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/CreateRecoveryServiceSubnet.ts.html |here} to see how to use CreateRecoveryServiceSubnet API.
|
|
532
512
|
*/
|
|
533
513
|
createRecoveryServiceSubnet(createRecoveryServiceSubnetRequest) {
|
|
534
514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
535
|
-
|
|
536
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#createRecoveryServiceSubnet.");
|
|
515
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#createRecoveryServiceSubnet.");
|
|
537
516
|
const operationName = "createRecoveryServiceSubnet";
|
|
538
517
|
const apiReferenceLink = "";
|
|
539
518
|
const pathParams = {};
|
|
@@ -545,8 +524,6 @@ class DatabaseRecoveryClient {
|
|
|
545
524
|
};
|
|
546
525
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
547
526
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
|
|
548
|
-
if (this.logger)
|
|
549
|
-
retrier.logger = this.logger;
|
|
550
527
|
const request = yield oci_common_1.composeRequest({
|
|
551
528
|
baseEndpoint: this._endpoint,
|
|
552
529
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -601,12 +578,11 @@ class DatabaseRecoveryClient {
|
|
|
601
578
|
* @param DeleteProtectedDatabaseRequest
|
|
602
579
|
* @return DeleteProtectedDatabaseResponse
|
|
603
580
|
* @throws OciError when an error occurs
|
|
604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/DeleteProtectedDatabase.ts.html |here} to see how to use DeleteProtectedDatabase API.
|
|
605
582
|
*/
|
|
606
583
|
deleteProtectedDatabase(deleteProtectedDatabaseRequest) {
|
|
607
584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
608
|
-
|
|
609
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectedDatabase.");
|
|
585
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectedDatabase.");
|
|
610
586
|
const operationName = "deleteProtectedDatabase";
|
|
611
587
|
const apiReferenceLink = "";
|
|
612
588
|
const pathParams = {
|
|
@@ -620,8 +596,6 @@ class DatabaseRecoveryClient {
|
|
|
620
596
|
};
|
|
621
597
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
622
598
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
623
|
-
if (this.logger)
|
|
624
|
-
retrier.logger = this.logger;
|
|
625
599
|
const request = yield oci_common_1.composeRequest({
|
|
626
600
|
baseEndpoint: this._endpoint,
|
|
627
601
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -663,12 +637,11 @@ class DatabaseRecoveryClient {
|
|
|
663
637
|
* @param DeleteProtectionPolicyRequest
|
|
664
638
|
* @return DeleteProtectionPolicyResponse
|
|
665
639
|
* @throws OciError when an error occurs
|
|
666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/DeleteProtectionPolicy.ts.html |here} to see how to use DeleteProtectionPolicy API.
|
|
667
641
|
*/
|
|
668
642
|
deleteProtectionPolicy(deleteProtectionPolicyRequest) {
|
|
669
643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
670
|
-
|
|
671
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectionPolicy.");
|
|
644
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectionPolicy.");
|
|
672
645
|
const operationName = "deleteProtectionPolicy";
|
|
673
646
|
const apiReferenceLink = "";
|
|
674
647
|
const pathParams = {
|
|
@@ -682,8 +655,6 @@ class DatabaseRecoveryClient {
|
|
|
682
655
|
};
|
|
683
656
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
684
657
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
685
|
-
if (this.logger)
|
|
686
|
-
retrier.logger = this.logger;
|
|
687
658
|
const request = yield oci_common_1.composeRequest({
|
|
688
659
|
baseEndpoint: this._endpoint,
|
|
689
660
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -723,12 +694,11 @@ class DatabaseRecoveryClient {
|
|
|
723
694
|
* @param DeleteRecoveryServiceSubnetRequest
|
|
724
695
|
* @return DeleteRecoveryServiceSubnetResponse
|
|
725
696
|
* @throws OciError when an error occurs
|
|
726
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
697
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/DeleteRecoveryServiceSubnet.ts.html |here} to see how to use DeleteRecoveryServiceSubnet API.
|
|
727
698
|
*/
|
|
728
699
|
deleteRecoveryServiceSubnet(deleteRecoveryServiceSubnetRequest) {
|
|
729
700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
730
|
-
|
|
731
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#deleteRecoveryServiceSubnet.");
|
|
701
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#deleteRecoveryServiceSubnet.");
|
|
732
702
|
const operationName = "deleteRecoveryServiceSubnet";
|
|
733
703
|
const apiReferenceLink = "";
|
|
734
704
|
const pathParams = {
|
|
@@ -742,8 +712,6 @@ class DatabaseRecoveryClient {
|
|
|
742
712
|
};
|
|
743
713
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
744
714
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
|
|
745
|
-
if (this.logger)
|
|
746
|
-
retrier.logger = this.logger;
|
|
747
715
|
const request = yield oci_common_1.composeRequest({
|
|
748
716
|
baseEndpoint: this._endpoint,
|
|
749
717
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -783,12 +751,11 @@ class DatabaseRecoveryClient {
|
|
|
783
751
|
* @param FetchProtectedDatabaseConfigurationRequest
|
|
784
752
|
* @return FetchProtectedDatabaseConfigurationResponse
|
|
785
753
|
* @throws OciError when an error occurs
|
|
786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
754
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/FetchProtectedDatabaseConfiguration.ts.html |here} to see how to use FetchProtectedDatabaseConfiguration API.
|
|
787
755
|
*/
|
|
788
756
|
fetchProtectedDatabaseConfiguration(fetchProtectedDatabaseConfigurationRequest) {
|
|
789
757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
790
|
-
|
|
791
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#fetchProtectedDatabaseConfiguration.");
|
|
758
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#fetchProtectedDatabaseConfiguration.");
|
|
792
759
|
const operationName = "fetchProtectedDatabaseConfiguration";
|
|
793
760
|
const apiReferenceLink = "";
|
|
794
761
|
const pathParams = {
|
|
@@ -802,8 +769,6 @@ class DatabaseRecoveryClient {
|
|
|
802
769
|
};
|
|
803
770
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
804
771
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, fetchProtectedDatabaseConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
805
|
-
if (this.logger)
|
|
806
|
-
retrier.logger = this.logger;
|
|
807
772
|
const request = yield oci_common_1.composeRequest({
|
|
808
773
|
baseEndpoint: this._endpoint,
|
|
809
774
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -847,12 +812,11 @@ class DatabaseRecoveryClient {
|
|
|
847
812
|
* @param GetProtectedDatabaseRequest
|
|
848
813
|
* @return GetProtectedDatabaseResponse
|
|
849
814
|
* @throws OciError when an error occurs
|
|
850
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
815
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetProtectedDatabase.ts.html |here} to see how to use GetProtectedDatabase API.
|
|
851
816
|
*/
|
|
852
817
|
getProtectedDatabase(getProtectedDatabaseRequest) {
|
|
853
818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
854
|
-
|
|
855
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#getProtectedDatabase.");
|
|
819
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getProtectedDatabase.");
|
|
856
820
|
const operationName = "getProtectedDatabase";
|
|
857
821
|
const apiReferenceLink = "";
|
|
858
822
|
const pathParams = {
|
|
@@ -865,8 +829,6 @@ class DatabaseRecoveryClient {
|
|
|
865
829
|
};
|
|
866
830
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
867
831
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
868
|
-
if (this.logger)
|
|
869
|
-
retrier.logger = this.logger;
|
|
870
832
|
const request = yield oci_common_1.composeRequest({
|
|
871
833
|
baseEndpoint: this._endpoint,
|
|
872
834
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -910,12 +872,11 @@ class DatabaseRecoveryClient {
|
|
|
910
872
|
* @param GetProtectionPolicyRequest
|
|
911
873
|
* @return GetProtectionPolicyResponse
|
|
912
874
|
* @throws OciError when an error occurs
|
|
913
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
875
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetProtectionPolicy.ts.html |here} to see how to use GetProtectionPolicy API.
|
|
914
876
|
*/
|
|
915
877
|
getProtectionPolicy(getProtectionPolicyRequest) {
|
|
916
878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
917
|
-
|
|
918
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#getProtectionPolicy.");
|
|
879
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getProtectionPolicy.");
|
|
919
880
|
const operationName = "getProtectionPolicy";
|
|
920
881
|
const apiReferenceLink = "";
|
|
921
882
|
const pathParams = {
|
|
@@ -928,8 +889,6 @@ class DatabaseRecoveryClient {
|
|
|
928
889
|
};
|
|
929
890
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
930
891
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
931
|
-
if (this.logger)
|
|
932
|
-
retrier.logger = this.logger;
|
|
933
892
|
const request = yield oci_common_1.composeRequest({
|
|
934
893
|
baseEndpoint: this._endpoint,
|
|
935
894
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -973,12 +932,11 @@ class DatabaseRecoveryClient {
|
|
|
973
932
|
* @param GetRecoveryServiceSubnetRequest
|
|
974
933
|
* @return GetRecoveryServiceSubnetResponse
|
|
975
934
|
* @throws OciError when an error occurs
|
|
976
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetRecoveryServiceSubnet.ts.html |here} to see how to use GetRecoveryServiceSubnet API.
|
|
977
936
|
*/
|
|
978
937
|
getRecoveryServiceSubnet(getRecoveryServiceSubnetRequest) {
|
|
979
938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
980
|
-
|
|
981
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#getRecoveryServiceSubnet.");
|
|
939
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getRecoveryServiceSubnet.");
|
|
982
940
|
const operationName = "getRecoveryServiceSubnet";
|
|
983
941
|
const apiReferenceLink = "";
|
|
984
942
|
const pathParams = {
|
|
@@ -991,8 +949,6 @@ class DatabaseRecoveryClient {
|
|
|
991
949
|
};
|
|
992
950
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
993
951
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
|
|
994
|
-
if (this.logger)
|
|
995
|
-
retrier.logger = this.logger;
|
|
996
952
|
const request = yield oci_common_1.composeRequest({
|
|
997
953
|
baseEndpoint: this._endpoint,
|
|
998
954
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1036,12 +992,11 @@ class DatabaseRecoveryClient {
|
|
|
1036
992
|
* @param GetWorkRequestRequest
|
|
1037
993
|
* @return GetWorkRequestResponse
|
|
1038
994
|
* @throws OciError when an error occurs
|
|
1039
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
995
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1040
996
|
*/
|
|
1041
997
|
getWorkRequest(getWorkRequestRequest) {
|
|
1042
998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1043
|
-
|
|
1044
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#getWorkRequest.");
|
|
999
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getWorkRequest.");
|
|
1045
1000
|
const operationName = "getWorkRequest";
|
|
1046
1001
|
const apiReferenceLink = "";
|
|
1047
1002
|
const pathParams = {
|
|
@@ -1054,8 +1009,6 @@ class DatabaseRecoveryClient {
|
|
|
1054
1009
|
};
|
|
1055
1010
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1056
1011
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1057
|
-
if (this.logger)
|
|
1058
|
-
retrier.logger = this.logger;
|
|
1059
1012
|
const request = yield oci_common_1.composeRequest({
|
|
1060
1013
|
baseEndpoint: this._endpoint,
|
|
1061
1014
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1100,12 +1053,11 @@ class DatabaseRecoveryClient {
|
|
|
1100
1053
|
* @param ListProtectedDatabasesRequest
|
|
1101
1054
|
* @return ListProtectedDatabasesResponse
|
|
1102
1055
|
* @throws OciError when an error occurs
|
|
1103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1056
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListProtectedDatabases.ts.html |here} to see how to use ListProtectedDatabases API.
|
|
1104
1057
|
*/
|
|
1105
1058
|
listProtectedDatabases(listProtectedDatabasesRequest) {
|
|
1106
1059
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1107
|
-
|
|
1108
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#listProtectedDatabases.");
|
|
1060
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listProtectedDatabases.");
|
|
1109
1061
|
const operationName = "listProtectedDatabases";
|
|
1110
1062
|
const apiReferenceLink = "";
|
|
1111
1063
|
const pathParams = {};
|
|
@@ -1127,8 +1079,6 @@ class DatabaseRecoveryClient {
|
|
|
1127
1079
|
};
|
|
1128
1080
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1129
1081
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectedDatabasesRequest.retryConfiguration, specRetryConfiguration);
|
|
1130
|
-
if (this.logger)
|
|
1131
|
-
retrier.logger = this.logger;
|
|
1132
1082
|
const request = yield oci_common_1.composeRequest({
|
|
1133
1083
|
baseEndpoint: this._endpoint,
|
|
1134
1084
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1173,12 +1123,11 @@ class DatabaseRecoveryClient {
|
|
|
1173
1123
|
* @param ListProtectionPoliciesRequest
|
|
1174
1124
|
* @return ListProtectionPoliciesResponse
|
|
1175
1125
|
* @throws OciError when an error occurs
|
|
1176
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1126
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListProtectionPolicies.ts.html |here} to see how to use ListProtectionPolicies API.
|
|
1177
1127
|
*/
|
|
1178
1128
|
listProtectionPolicies(listProtectionPoliciesRequest) {
|
|
1179
1129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1180
|
-
|
|
1181
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#listProtectionPolicies.");
|
|
1130
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listProtectionPolicies.");
|
|
1182
1131
|
const operationName = "listProtectionPolicies";
|
|
1183
1132
|
const apiReferenceLink = "";
|
|
1184
1133
|
const pathParams = {};
|
|
@@ -1199,8 +1148,6 @@ class DatabaseRecoveryClient {
|
|
|
1199
1148
|
};
|
|
1200
1149
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1201
1150
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectionPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
1202
|
-
if (this.logger)
|
|
1203
|
-
retrier.logger = this.logger;
|
|
1204
1151
|
const request = yield oci_common_1.composeRequest({
|
|
1205
1152
|
baseEndpoint: this._endpoint,
|
|
1206
1153
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1245,12 +1192,11 @@ class DatabaseRecoveryClient {
|
|
|
1245
1192
|
* @param ListRecoveryServiceSubnetsRequest
|
|
1246
1193
|
* @return ListRecoveryServiceSubnetsResponse
|
|
1247
1194
|
* @throws OciError when an error occurs
|
|
1248
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListRecoveryServiceSubnets.ts.html |here} to see how to use ListRecoveryServiceSubnets API.
|
|
1249
1196
|
*/
|
|
1250
1197
|
listRecoveryServiceSubnets(listRecoveryServiceSubnetsRequest) {
|
|
1251
1198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1252
|
-
|
|
1253
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#listRecoveryServiceSubnets.");
|
|
1199
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listRecoveryServiceSubnets.");
|
|
1254
1200
|
const operationName = "listRecoveryServiceSubnets";
|
|
1255
1201
|
const apiReferenceLink = "";
|
|
1256
1202
|
const pathParams = {};
|
|
@@ -1271,8 +1217,6 @@ class DatabaseRecoveryClient {
|
|
|
1271
1217
|
};
|
|
1272
1218
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1273
1219
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecoveryServiceSubnetsRequest.retryConfiguration, specRetryConfiguration);
|
|
1274
|
-
if (this.logger)
|
|
1275
|
-
retrier.logger = this.logger;
|
|
1276
1220
|
const request = yield oci_common_1.composeRequest({
|
|
1277
1221
|
baseEndpoint: this._endpoint,
|
|
1278
1222
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1317,12 +1261,11 @@ class DatabaseRecoveryClient {
|
|
|
1317
1261
|
* @param ListWorkRequestErrorsRequest
|
|
1318
1262
|
* @return ListWorkRequestErrorsResponse
|
|
1319
1263
|
* @throws OciError when an error occurs
|
|
1320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1321
1265
|
*/
|
|
1322
1266
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1323
1267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1324
|
-
|
|
1325
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestErrors.");
|
|
1268
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestErrors.");
|
|
1326
1269
|
const operationName = "listWorkRequestErrors";
|
|
1327
1270
|
const apiReferenceLink = "";
|
|
1328
1271
|
const pathParams = {
|
|
@@ -1340,8 +1283,6 @@ class DatabaseRecoveryClient {
|
|
|
1340
1283
|
};
|
|
1341
1284
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1342
1285
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1343
|
-
if (this.logger)
|
|
1344
|
-
retrier.logger = this.logger;
|
|
1345
1286
|
const request = yield oci_common_1.composeRequest({
|
|
1346
1287
|
baseEndpoint: this._endpoint,
|
|
1347
1288
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1386,12 +1327,11 @@ class DatabaseRecoveryClient {
|
|
|
1386
1327
|
* @param ListWorkRequestLogsRequest
|
|
1387
1328
|
* @return ListWorkRequestLogsResponse
|
|
1388
1329
|
* @throws OciError when an error occurs
|
|
1389
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1390
1331
|
*/
|
|
1391
1332
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1392
1333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1393
|
-
|
|
1394
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestLogs.");
|
|
1334
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestLogs.");
|
|
1395
1335
|
const operationName = "listWorkRequestLogs";
|
|
1396
1336
|
const apiReferenceLink = "";
|
|
1397
1337
|
const pathParams = {
|
|
@@ -1409,8 +1349,6 @@ class DatabaseRecoveryClient {
|
|
|
1409
1349
|
};
|
|
1410
1350
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1411
1351
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1412
|
-
if (this.logger)
|
|
1413
|
-
retrier.logger = this.logger;
|
|
1414
1352
|
const request = yield oci_common_1.composeRequest({
|
|
1415
1353
|
baseEndpoint: this._endpoint,
|
|
1416
1354
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1455,12 +1393,11 @@ class DatabaseRecoveryClient {
|
|
|
1455
1393
|
* @param ListWorkRequestsRequest
|
|
1456
1394
|
* @return ListWorkRequestsResponse
|
|
1457
1395
|
* @throws OciError when an error occurs
|
|
1458
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1459
1397
|
*/
|
|
1460
1398
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1461
1399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1462
|
-
|
|
1463
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequests.");
|
|
1400
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequests.");
|
|
1464
1401
|
const operationName = "listWorkRequests";
|
|
1465
1402
|
const apiReferenceLink = "";
|
|
1466
1403
|
const pathParams = {};
|
|
@@ -1480,8 +1417,6 @@ class DatabaseRecoveryClient {
|
|
|
1480
1417
|
};
|
|
1481
1418
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1482
1419
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1483
|
-
if (this.logger)
|
|
1484
|
-
retrier.logger = this.logger;
|
|
1485
1420
|
const request = yield oci_common_1.composeRequest({
|
|
1486
1421
|
baseEndpoint: this._endpoint,
|
|
1487
1422
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1525,12 +1460,11 @@ class DatabaseRecoveryClient {
|
|
|
1525
1460
|
* @param UpdateProtectedDatabaseRequest
|
|
1526
1461
|
* @return UpdateProtectedDatabaseResponse
|
|
1527
1462
|
* @throws OciError when an error occurs
|
|
1528
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1463
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/UpdateProtectedDatabase.ts.html |here} to see how to use UpdateProtectedDatabase API.
|
|
1529
1464
|
*/
|
|
1530
1465
|
updateProtectedDatabase(updateProtectedDatabaseRequest) {
|
|
1531
1466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1532
|
-
|
|
1533
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectedDatabase.");
|
|
1467
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectedDatabase.");
|
|
1534
1468
|
const operationName = "updateProtectedDatabase";
|
|
1535
1469
|
const apiReferenceLink = "";
|
|
1536
1470
|
const pathParams = {
|
|
@@ -1544,8 +1478,6 @@ class DatabaseRecoveryClient {
|
|
|
1544
1478
|
};
|
|
1545
1479
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1546
1480
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
1547
|
-
if (this.logger)
|
|
1548
|
-
retrier.logger = this.logger;
|
|
1549
1481
|
const request = yield oci_common_1.composeRequest({
|
|
1550
1482
|
baseEndpoint: this._endpoint,
|
|
1551
1483
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1586,12 +1518,11 @@ class DatabaseRecoveryClient {
|
|
|
1586
1518
|
* @param UpdateProtectionPolicyRequest
|
|
1587
1519
|
* @return UpdateProtectionPolicyResponse
|
|
1588
1520
|
* @throws OciError when an error occurs
|
|
1589
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/UpdateProtectionPolicy.ts.html |here} to see how to use UpdateProtectionPolicy API.
|
|
1590
1522
|
*/
|
|
1591
1523
|
updateProtectionPolicy(updateProtectionPolicyRequest) {
|
|
1592
1524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1593
|
-
|
|
1594
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectionPolicy.");
|
|
1525
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectionPolicy.");
|
|
1595
1526
|
const operationName = "updateProtectionPolicy";
|
|
1596
1527
|
const apiReferenceLink = "";
|
|
1597
1528
|
const pathParams = {
|
|
@@ -1605,8 +1536,6 @@ class DatabaseRecoveryClient {
|
|
|
1605
1536
|
};
|
|
1606
1537
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1607
1538
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1608
|
-
if (this.logger)
|
|
1609
|
-
retrier.logger = this.logger;
|
|
1610
1539
|
const request = yield oci_common_1.composeRequest({
|
|
1611
1540
|
baseEndpoint: this._endpoint,
|
|
1612
1541
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1647,12 +1576,11 @@ class DatabaseRecoveryClient {
|
|
|
1647
1576
|
* @param UpdateRecoveryServiceSubnetRequest
|
|
1648
1577
|
* @return UpdateRecoveryServiceSubnetResponse
|
|
1649
1578
|
* @throws OciError when an error occurs
|
|
1650
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/UpdateRecoveryServiceSubnet.ts.html |here} to see how to use UpdateRecoveryServiceSubnet API.
|
|
1651
1580
|
*/
|
|
1652
1581
|
updateRecoveryServiceSubnet(updateRecoveryServiceSubnetRequest) {
|
|
1653
1582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1654
|
-
|
|
1655
|
-
this.logger.debug("Calling operation DatabaseRecoveryClient#updateRecoveryServiceSubnet.");
|
|
1583
|
+
oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#updateRecoveryServiceSubnet.");
|
|
1656
1584
|
const operationName = "updateRecoveryServiceSubnet";
|
|
1657
1585
|
const apiReferenceLink = "";
|
|
1658
1586
|
const pathParams = {
|
|
@@ -1666,8 +1594,6 @@ class DatabaseRecoveryClient {
|
|
|
1666
1594
|
};
|
|
1667
1595
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1668
1596
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
|
|
1669
|
-
if (this.logger)
|
|
1670
|
-
retrier.logger = this.logger;
|
|
1671
1597
|
const request = yield oci_common_1.composeRequest({
|
|
1672
1598
|
baseEndpoint: this._endpoint,
|
|
1673
1599
|
defaultHeaders: this._defaultHeaders,
|