oci-psql 2.78.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 +33 -34
- package/lib/client.js +68 -172
- package/lib/client.js.map +1 -1
- package/lib/model/backup-policy.js +2 -4
- package/lib/model/backup-policy.js.map +1 -1
- package/lib/model/password-details.js +2 -4
- package/lib/model/password-details.js.map +1 -1
- package/lib/model/patch-instruction.js +2 -4
- package/lib/model/patch-instruction.js.map +1 -1
- package/lib/model/source-details.js +2 -4
- package/lib/model/source-details.js.map +1 -1
- package/lib/model/storage-details.js +2 -4
- package/lib/model/storage-details.js.map +1 -1
- package/lib/request/change-backup-compartment-request.d.ts +1 -1
- package/lib/request/change-configuration-compartment-request.d.ts +1 -1
- package/lib/request/change-db-system-compartment-request.d.ts +1 -1
- package/lib/request/create-backup-request.d.ts +1 -1
- package/lib/request/create-configuration-request.d.ts +1 -1
- package/lib/request/create-db-system-request.d.ts +1 -1
- package/lib/request/delete-backup-request.d.ts +1 -1
- package/lib/request/delete-configuration-request.d.ts +1 -1
- package/lib/request/delete-db-system-request.d.ts +1 -1
- package/lib/request/failover-db-system-request.d.ts +1 -1
- package/lib/request/get-backup-request.d.ts +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/get-connection-details-request.d.ts +1 -1
- package/lib/request/get-db-system-request.d.ts +1 -1
- package/lib/request/get-default-configuration-request.d.ts +1 -1
- package/lib/request/get-primary-db-instance-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-backups-request.d.ts +1 -1
- package/lib/request/list-configurations-request.d.ts +1 -1
- package/lib/request/list-db-systems-request.d.ts +1 -1
- package/lib/request/list-default-configurations-request.d.ts +1 -1
- package/lib/request/list-shapes-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/patch-db-system-request.d.ts +1 -1
- package/lib/request/reset-master-user-password-request.d.ts +1 -1
- package/lib/request/restart-db-instance-in-db-system-request.d.ts +1 -1
- package/lib/request/restore-db-system-request.d.ts +1 -1
- package/lib/request/update-backup-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/lib/request/update-db-system-db-instance-request.d.ts +1 -1
- package/lib/request/update-db-system-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -118,11 +118,7 @@ class PostgresqlClient {
|
|
|
118
118
|
set endpoint(endpoint) {
|
|
119
119
|
this._endpoint = endpoint;
|
|
120
120
|
this._endpoint = this._endpoint + "/20220915";
|
|
121
|
-
|
|
122
|
-
this.logger.info(`PostgresqlClient endpoint set to ${this._endpoint}`);
|
|
123
|
-
}
|
|
124
|
-
get logger() {
|
|
125
|
-
return common.LOG.logger;
|
|
121
|
+
oci_common_1.logger.info(`PostgresqlClient endpoint set to ${this._endpoint}`);
|
|
126
122
|
}
|
|
127
123
|
/**
|
|
128
124
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -131,8 +127,7 @@ class PostgresqlClient {
|
|
|
131
127
|
*/
|
|
132
128
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
133
129
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
134
|
-
|
|
135
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
130
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
136
131
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
137
132
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(PostgresqlClient.serviceEndpointTemplate, this._region, PostgresqlClient.endpointServiceName);
|
|
138
133
|
}
|
|
@@ -198,12 +193,11 @@ class PostgresqlClient {
|
|
|
198
193
|
* @param ChangeBackupCompartmentRequest
|
|
199
194
|
* @return ChangeBackupCompartmentResponse
|
|
200
195
|
* @throws OciError when an error occurs
|
|
201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
202
197
|
*/
|
|
203
198
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
204
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
-
|
|
206
|
-
this.logger.debug("Calling operation PostgresqlClient#changeBackupCompartment.");
|
|
200
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#changeBackupCompartment.");
|
|
207
201
|
const operationName = "changeBackupCompartment";
|
|
208
202
|
const apiReferenceLink = "";
|
|
209
203
|
const pathParams = {
|
|
@@ -218,8 +212,6 @@ class PostgresqlClient {
|
|
|
218
212
|
};
|
|
219
213
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
220
214
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBackupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
221
|
-
if (this.logger)
|
|
222
|
-
retrier.logger = this.logger;
|
|
223
215
|
const request = yield oci_common_1.composeRequest({
|
|
224
216
|
baseEndpoint: this._endpoint,
|
|
225
217
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -260,12 +252,11 @@ class PostgresqlClient {
|
|
|
260
252
|
* @param ChangeConfigurationCompartmentRequest
|
|
261
253
|
* @return ChangeConfigurationCompartmentResponse
|
|
262
254
|
* @throws OciError when an error occurs
|
|
263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ChangeConfigurationCompartment.ts.html |here} to see how to use ChangeConfigurationCompartment API.
|
|
264
256
|
*/
|
|
265
257
|
changeConfigurationCompartment(changeConfigurationCompartmentRequest) {
|
|
266
258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
267
|
-
|
|
268
|
-
this.logger.debug("Calling operation PostgresqlClient#changeConfigurationCompartment.");
|
|
259
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#changeConfigurationCompartment.");
|
|
269
260
|
const operationName = "changeConfigurationCompartment";
|
|
270
261
|
const apiReferenceLink = "";
|
|
271
262
|
const pathParams = {
|
|
@@ -280,8 +271,6 @@ class PostgresqlClient {
|
|
|
280
271
|
};
|
|
281
272
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
282
273
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
283
|
-
if (this.logger)
|
|
284
|
-
retrier.logger = this.logger;
|
|
285
274
|
const request = yield oci_common_1.composeRequest({
|
|
286
275
|
baseEndpoint: this._endpoint,
|
|
287
276
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -317,12 +306,11 @@ class PostgresqlClient {
|
|
|
317
306
|
* @param ChangeDbSystemCompartmentRequest
|
|
318
307
|
* @return ChangeDbSystemCompartmentResponse
|
|
319
308
|
* @throws OciError when an error occurs
|
|
320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
309
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ChangeDbSystemCompartment.ts.html |here} to see how to use ChangeDbSystemCompartment API.
|
|
321
310
|
*/
|
|
322
311
|
changeDbSystemCompartment(changeDbSystemCompartmentRequest) {
|
|
323
312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
324
|
-
|
|
325
|
-
this.logger.debug("Calling operation PostgresqlClient#changeDbSystemCompartment.");
|
|
313
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#changeDbSystemCompartment.");
|
|
326
314
|
const operationName = "changeDbSystemCompartment";
|
|
327
315
|
const apiReferenceLink = "";
|
|
328
316
|
const pathParams = {
|
|
@@ -337,8 +325,6 @@ class PostgresqlClient {
|
|
|
337
325
|
};
|
|
338
326
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
339
327
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDbSystemCompartmentRequest.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 PostgresqlClient {
|
|
|
380
366
|
* @param CreateBackupRequest
|
|
381
367
|
* @return CreateBackupResponse
|
|
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.
|
|
369
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
384
370
|
*/
|
|
385
371
|
createBackup(createBackupRequest) {
|
|
386
372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
|
-
|
|
388
|
-
this.logger.debug("Calling operation PostgresqlClient#createBackup.");
|
|
373
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#createBackup.");
|
|
389
374
|
const operationName = "createBackup";
|
|
390
375
|
const apiReferenceLink = "";
|
|
391
376
|
const pathParams = {};
|
|
@@ -397,8 +382,6 @@ class PostgresqlClient {
|
|
|
397
382
|
};
|
|
398
383
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
399
384
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackupRequest.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,
|
|
@@ -440,12 +423,11 @@ class PostgresqlClient {
|
|
|
440
423
|
* @param CreateConfigurationRequest
|
|
441
424
|
* @return CreateConfigurationResponse
|
|
442
425
|
* @throws OciError when an error occurs
|
|
443
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
426
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
444
427
|
*/
|
|
445
428
|
createConfiguration(createConfigurationRequest) {
|
|
446
429
|
return __awaiter(this, void 0, void 0, function* () {
|
|
447
|
-
|
|
448
|
-
this.logger.debug("Calling operation PostgresqlClient#createConfiguration.");
|
|
430
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#createConfiguration.");
|
|
449
431
|
const operationName = "createConfiguration";
|
|
450
432
|
const apiReferenceLink = "";
|
|
451
433
|
const pathParams = {};
|
|
@@ -457,8 +439,6 @@ class PostgresqlClient {
|
|
|
457
439
|
};
|
|
458
440
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
459
441
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
460
|
-
if (this.logger)
|
|
461
|
-
retrier.logger = this.logger;
|
|
462
442
|
const request = yield oci_common_1.composeRequest({
|
|
463
443
|
baseEndpoint: this._endpoint,
|
|
464
444
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -504,12 +484,11 @@ class PostgresqlClient {
|
|
|
504
484
|
* @param CreateDbSystemRequest
|
|
505
485
|
* @return CreateDbSystemResponse
|
|
506
486
|
* @throws OciError when an error occurs
|
|
507
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
487
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
508
488
|
*/
|
|
509
489
|
createDbSystem(createDbSystemRequest) {
|
|
510
490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
511
|
-
|
|
512
|
-
this.logger.debug("Calling operation PostgresqlClient#createDbSystem.");
|
|
491
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#createDbSystem.");
|
|
513
492
|
const operationName = "createDbSystem";
|
|
514
493
|
const apiReferenceLink = "";
|
|
515
494
|
const pathParams = {};
|
|
@@ -521,8 +500,6 @@ class PostgresqlClient {
|
|
|
521
500
|
};
|
|
522
501
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
523
502
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
524
|
-
if (this.logger)
|
|
525
|
-
retrier.logger = this.logger;
|
|
526
503
|
const request = yield oci_common_1.composeRequest({
|
|
527
504
|
baseEndpoint: this._endpoint,
|
|
528
505
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -572,12 +549,11 @@ class PostgresqlClient {
|
|
|
572
549
|
* @param DeleteBackupRequest
|
|
573
550
|
* @return DeleteBackupResponse
|
|
574
551
|
* @throws OciError when an error occurs
|
|
575
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
552
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
576
553
|
*/
|
|
577
554
|
deleteBackup(deleteBackupRequest) {
|
|
578
555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
579
|
-
|
|
580
|
-
this.logger.debug("Calling operation PostgresqlClient#deleteBackup.");
|
|
556
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#deleteBackup.");
|
|
581
557
|
const operationName = "deleteBackup";
|
|
582
558
|
const apiReferenceLink = "";
|
|
583
559
|
const pathParams = {
|
|
@@ -591,8 +567,6 @@ class PostgresqlClient {
|
|
|
591
567
|
};
|
|
592
568
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
593
569
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
594
|
-
if (this.logger)
|
|
595
|
-
retrier.logger = this.logger;
|
|
596
570
|
const request = yield oci_common_1.composeRequest({
|
|
597
571
|
baseEndpoint: this._endpoint,
|
|
598
572
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -632,12 +606,11 @@ class PostgresqlClient {
|
|
|
632
606
|
* @param DeleteConfigurationRequest
|
|
633
607
|
* @return DeleteConfigurationResponse
|
|
634
608
|
* @throws OciError when an error occurs
|
|
635
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
609
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
636
610
|
*/
|
|
637
611
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
638
612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
639
|
-
|
|
640
|
-
this.logger.debug("Calling operation PostgresqlClient#deleteConfiguration.");
|
|
613
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#deleteConfiguration.");
|
|
641
614
|
const operationName = "deleteConfiguration";
|
|
642
615
|
const apiReferenceLink = "";
|
|
643
616
|
const pathParams = {
|
|
@@ -651,8 +624,6 @@ class PostgresqlClient {
|
|
|
651
624
|
};
|
|
652
625
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
653
626
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
654
|
-
if (this.logger)
|
|
655
|
-
retrier.logger = this.logger;
|
|
656
627
|
const request = yield oci_common_1.composeRequest({
|
|
657
628
|
baseEndpoint: this._endpoint,
|
|
658
629
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -687,12 +658,11 @@ class PostgresqlClient {
|
|
|
687
658
|
* @param DeleteDbSystemRequest
|
|
688
659
|
* @return DeleteDbSystemResponse
|
|
689
660
|
* @throws OciError when an error occurs
|
|
690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
691
662
|
*/
|
|
692
663
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
693
664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
694
|
-
|
|
695
|
-
this.logger.debug("Calling operation PostgresqlClient#deleteDbSystem.");
|
|
665
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#deleteDbSystem.");
|
|
696
666
|
const operationName = "deleteDbSystem";
|
|
697
667
|
const apiReferenceLink = "";
|
|
698
668
|
const pathParams = {
|
|
@@ -706,8 +676,6 @@ class PostgresqlClient {
|
|
|
706
676
|
};
|
|
707
677
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
708
678
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
709
|
-
if (this.logger)
|
|
710
|
-
retrier.logger = this.logger;
|
|
711
679
|
const request = yield oci_common_1.composeRequest({
|
|
712
680
|
baseEndpoint: this._endpoint,
|
|
713
681
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -747,12 +715,11 @@ class PostgresqlClient {
|
|
|
747
715
|
* @param FailoverDbSystemRequest
|
|
748
716
|
* @return FailoverDbSystemResponse
|
|
749
717
|
* @throws OciError when an error occurs
|
|
750
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
718
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/FailoverDbSystem.ts.html |here} to see how to use FailoverDbSystem API.
|
|
751
719
|
*/
|
|
752
720
|
failoverDbSystem(failoverDbSystemRequest) {
|
|
753
721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
754
|
-
|
|
755
|
-
this.logger.debug("Calling operation PostgresqlClient#failoverDbSystem.");
|
|
722
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#failoverDbSystem.");
|
|
756
723
|
const operationName = "failoverDbSystem";
|
|
757
724
|
const apiReferenceLink = "";
|
|
758
725
|
const pathParams = {
|
|
@@ -767,8 +734,6 @@ class PostgresqlClient {
|
|
|
767
734
|
};
|
|
768
735
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
769
736
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, failoverDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
770
|
-
if (this.logger)
|
|
771
|
-
retrier.logger = this.logger;
|
|
772
737
|
const request = yield oci_common_1.composeRequest({
|
|
773
738
|
baseEndpoint: this._endpoint,
|
|
774
739
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -809,12 +774,11 @@ class PostgresqlClient {
|
|
|
809
774
|
* @param GetBackupRequest
|
|
810
775
|
* @return GetBackupResponse
|
|
811
776
|
* @throws OciError when an error occurs
|
|
812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
813
778
|
*/
|
|
814
779
|
getBackup(getBackupRequest) {
|
|
815
780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
816
|
-
|
|
817
|
-
this.logger.debug("Calling operation PostgresqlClient#getBackup.");
|
|
781
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getBackup.");
|
|
818
782
|
const operationName = "getBackup";
|
|
819
783
|
const apiReferenceLink = "";
|
|
820
784
|
const pathParams = {
|
|
@@ -827,8 +791,6 @@ class PostgresqlClient {
|
|
|
827
791
|
};
|
|
828
792
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
829
793
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
830
|
-
if (this.logger)
|
|
831
|
-
retrier.logger = this.logger;
|
|
832
794
|
const request = yield oci_common_1.composeRequest({
|
|
833
795
|
baseEndpoint: this._endpoint,
|
|
834
796
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -872,12 +834,11 @@ class PostgresqlClient {
|
|
|
872
834
|
* @param GetConfigurationRequest
|
|
873
835
|
* @return GetConfigurationResponse
|
|
874
836
|
* @throws OciError when an error occurs
|
|
875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
837
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
876
838
|
*/
|
|
877
839
|
getConfiguration(getConfigurationRequest) {
|
|
878
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
879
|
-
|
|
880
|
-
this.logger.debug("Calling operation PostgresqlClient#getConfiguration.");
|
|
841
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getConfiguration.");
|
|
881
842
|
const operationName = "getConfiguration";
|
|
882
843
|
const apiReferenceLink = "";
|
|
883
844
|
const pathParams = {
|
|
@@ -890,8 +851,6 @@ class PostgresqlClient {
|
|
|
890
851
|
};
|
|
891
852
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
892
853
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
893
|
-
if (this.logger)
|
|
894
|
-
retrier.logger = this.logger;
|
|
895
854
|
const request = yield oci_common_1.composeRequest({
|
|
896
855
|
baseEndpoint: this._endpoint,
|
|
897
856
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -935,12 +894,11 @@ class PostgresqlClient {
|
|
|
935
894
|
* @param GetConnectionDetailsRequest
|
|
936
895
|
* @return GetConnectionDetailsResponse
|
|
937
896
|
* @throws OciError when an error occurs
|
|
938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
897
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetConnectionDetails.ts.html |here} to see how to use GetConnectionDetails API.
|
|
939
898
|
*/
|
|
940
899
|
getConnectionDetails(getConnectionDetailsRequest) {
|
|
941
900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
942
|
-
|
|
943
|
-
this.logger.debug("Calling operation PostgresqlClient#getConnectionDetails.");
|
|
901
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getConnectionDetails.");
|
|
944
902
|
const operationName = "getConnectionDetails";
|
|
945
903
|
const apiReferenceLink = "";
|
|
946
904
|
const pathParams = {
|
|
@@ -953,8 +911,6 @@ class PostgresqlClient {
|
|
|
953
911
|
};
|
|
954
912
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
955
913
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectionDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
956
|
-
if (this.logger)
|
|
957
|
-
retrier.logger = this.logger;
|
|
958
914
|
const request = yield oci_common_1.composeRequest({
|
|
959
915
|
baseEndpoint: this._endpoint,
|
|
960
916
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -998,12 +954,11 @@ class PostgresqlClient {
|
|
|
998
954
|
* @param GetDbSystemRequest
|
|
999
955
|
* @return GetDbSystemResponse
|
|
1000
956
|
* @throws OciError when an error occurs
|
|
1001
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
957
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1002
958
|
*/
|
|
1003
959
|
getDbSystem(getDbSystemRequest) {
|
|
1004
960
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1005
|
-
|
|
1006
|
-
this.logger.debug("Calling operation PostgresqlClient#getDbSystem.");
|
|
961
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getDbSystem.");
|
|
1007
962
|
const operationName = "getDbSystem";
|
|
1008
963
|
const apiReferenceLink = "";
|
|
1009
964
|
const pathParams = {
|
|
@@ -1018,8 +973,6 @@ class PostgresqlClient {
|
|
|
1018
973
|
};
|
|
1019
974
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1020
975
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1021
|
-
if (this.logger)
|
|
1022
|
-
retrier.logger = this.logger;
|
|
1023
976
|
const request = yield oci_common_1.composeRequest({
|
|
1024
977
|
baseEndpoint: this._endpoint,
|
|
1025
978
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1063,12 +1016,11 @@ class PostgresqlClient {
|
|
|
1063
1016
|
* @param GetDefaultConfigurationRequest
|
|
1064
1017
|
* @return GetDefaultConfigurationResponse
|
|
1065
1018
|
* @throws OciError when an error occurs
|
|
1066
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetDefaultConfiguration.ts.html |here} to see how to use GetDefaultConfiguration API.
|
|
1067
1020
|
*/
|
|
1068
1021
|
getDefaultConfiguration(getDefaultConfigurationRequest) {
|
|
1069
1022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1070
|
-
|
|
1071
|
-
this.logger.debug("Calling operation PostgresqlClient#getDefaultConfiguration.");
|
|
1023
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getDefaultConfiguration.");
|
|
1072
1024
|
const operationName = "getDefaultConfiguration";
|
|
1073
1025
|
const apiReferenceLink = "";
|
|
1074
1026
|
const pathParams = {
|
|
@@ -1081,8 +1033,6 @@ class PostgresqlClient {
|
|
|
1081
1033
|
};
|
|
1082
1034
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1083
1035
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDefaultConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1084
|
-
if (this.logger)
|
|
1085
|
-
retrier.logger = this.logger;
|
|
1086
1036
|
const request = yield oci_common_1.composeRequest({
|
|
1087
1037
|
baseEndpoint: this._endpoint,
|
|
1088
1038
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1126,12 +1076,11 @@ class PostgresqlClient {
|
|
|
1126
1076
|
* @param GetPrimaryDbInstanceRequest
|
|
1127
1077
|
* @return GetPrimaryDbInstanceResponse
|
|
1128
1078
|
* @throws OciError when an error occurs
|
|
1129
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetPrimaryDbInstance.ts.html |here} to see how to use GetPrimaryDbInstance API.
|
|
1130
1080
|
*/
|
|
1131
1081
|
getPrimaryDbInstance(getPrimaryDbInstanceRequest) {
|
|
1132
1082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1133
|
-
|
|
1134
|
-
this.logger.debug("Calling operation PostgresqlClient#getPrimaryDbInstance.");
|
|
1083
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getPrimaryDbInstance.");
|
|
1135
1084
|
const operationName = "getPrimaryDbInstance";
|
|
1136
1085
|
const apiReferenceLink = "";
|
|
1137
1086
|
const pathParams = {
|
|
@@ -1144,8 +1093,6 @@ class PostgresqlClient {
|
|
|
1144
1093
|
};
|
|
1145
1094
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1146
1095
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrimaryDbInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1147
|
-
if (this.logger)
|
|
1148
|
-
retrier.logger = this.logger;
|
|
1149
1096
|
const request = yield oci_common_1.composeRequest({
|
|
1150
1097
|
baseEndpoint: this._endpoint,
|
|
1151
1098
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1189,12 +1136,11 @@ class PostgresqlClient {
|
|
|
1189
1136
|
* @param GetWorkRequestRequest
|
|
1190
1137
|
* @return GetWorkRequestResponse
|
|
1191
1138
|
* @throws OciError when an error occurs
|
|
1192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1193
1140
|
*/
|
|
1194
1141
|
getWorkRequest(getWorkRequestRequest) {
|
|
1195
1142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1196
|
-
|
|
1197
|
-
this.logger.debug("Calling operation PostgresqlClient#getWorkRequest.");
|
|
1143
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#getWorkRequest.");
|
|
1198
1144
|
const operationName = "getWorkRequest";
|
|
1199
1145
|
const apiReferenceLink = "";
|
|
1200
1146
|
const pathParams = {
|
|
@@ -1207,8 +1153,6 @@ class PostgresqlClient {
|
|
|
1207
1153
|
};
|
|
1208
1154
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1209
1155
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1210
|
-
if (this.logger)
|
|
1211
|
-
retrier.logger = this.logger;
|
|
1212
1156
|
const request = yield oci_common_1.composeRequest({
|
|
1213
1157
|
baseEndpoint: this._endpoint,
|
|
1214
1158
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1258,12 +1202,11 @@ class PostgresqlClient {
|
|
|
1258
1202
|
* @param ListBackupsRequest
|
|
1259
1203
|
* @return ListBackupsResponse
|
|
1260
1204
|
* @throws OciError when an error occurs
|
|
1261
|
-
* @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.79.1/psql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1262
1206
|
*/
|
|
1263
1207
|
listBackups(listBackupsRequest) {
|
|
1264
1208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1265
|
-
|
|
1266
|
-
this.logger.debug("Calling operation PostgresqlClient#listBackups.");
|
|
1209
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listBackups.");
|
|
1267
1210
|
const operationName = "listBackups";
|
|
1268
1211
|
const apiReferenceLink = "";
|
|
1269
1212
|
const pathParams = {};
|
|
@@ -1286,8 +1229,6 @@ class PostgresqlClient {
|
|
|
1286
1229
|
};
|
|
1287
1230
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1288
1231
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1289
|
-
if (this.logger)
|
|
1290
|
-
retrier.logger = this.logger;
|
|
1291
1232
|
const request = yield oci_common_1.composeRequest({
|
|
1292
1233
|
baseEndpoint: this._endpoint,
|
|
1293
1234
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1332,12 +1273,11 @@ class PostgresqlClient {
|
|
|
1332
1273
|
* @param ListConfigurationsRequest
|
|
1333
1274
|
* @return ListConfigurationsResponse
|
|
1334
1275
|
* @throws OciError when an error occurs
|
|
1335
|
-
* @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.79.1/psql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
1336
1277
|
*/
|
|
1337
1278
|
listConfigurations(listConfigurationsRequest) {
|
|
1338
1279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1339
|
-
|
|
1340
|
-
this.logger.debug("Calling operation PostgresqlClient#listConfigurations.");
|
|
1280
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listConfigurations.");
|
|
1341
1281
|
const operationName = "listConfigurations";
|
|
1342
1282
|
const apiReferenceLink = "";
|
|
1343
1283
|
const pathParams = {};
|
|
@@ -1359,8 +1299,6 @@ class PostgresqlClient {
|
|
|
1359
1299
|
};
|
|
1360
1300
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1361
1301
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1362
|
-
if (this.logger)
|
|
1363
|
-
retrier.logger = this.logger;
|
|
1364
1302
|
const request = yield oci_common_1.composeRequest({
|
|
1365
1303
|
baseEndpoint: this._endpoint,
|
|
1366
1304
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1405,12 +1343,11 @@ class PostgresqlClient {
|
|
|
1405
1343
|
* @param ListDbSystemsRequest
|
|
1406
1344
|
* @return ListDbSystemsResponse
|
|
1407
1345
|
* @throws OciError when an error occurs
|
|
1408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1409
1347
|
*/
|
|
1410
1348
|
listDbSystems(listDbSystemsRequest) {
|
|
1411
1349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1412
|
-
|
|
1413
|
-
this.logger.debug("Calling operation PostgresqlClient#listDbSystems.");
|
|
1350
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listDbSystems.");
|
|
1414
1351
|
const operationName = "listDbSystems";
|
|
1415
1352
|
const apiReferenceLink = "";
|
|
1416
1353
|
const pathParams = {};
|
|
@@ -1430,8 +1367,6 @@ class PostgresqlClient {
|
|
|
1430
1367
|
};
|
|
1431
1368
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1432
1369
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
1433
|
-
if (this.logger)
|
|
1434
|
-
retrier.logger = this.logger;
|
|
1435
1370
|
const request = yield oci_common_1.composeRequest({
|
|
1436
1371
|
baseEndpoint: this._endpoint,
|
|
1437
1372
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1476,12 +1411,11 @@ class PostgresqlClient {
|
|
|
1476
1411
|
* @param ListDefaultConfigurationsRequest
|
|
1477
1412
|
* @return ListDefaultConfigurationsResponse
|
|
1478
1413
|
* @throws OciError when an error occurs
|
|
1479
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1414
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ListDefaultConfigurations.ts.html |here} to see how to use ListDefaultConfigurations API.
|
|
1480
1415
|
*/
|
|
1481
1416
|
listDefaultConfigurations(listDefaultConfigurationsRequest) {
|
|
1482
1417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1483
|
-
|
|
1484
|
-
this.logger.debug("Calling operation PostgresqlClient#listDefaultConfigurations.");
|
|
1418
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listDefaultConfigurations.");
|
|
1485
1419
|
const operationName = "listDefaultConfigurations";
|
|
1486
1420
|
const apiReferenceLink = "";
|
|
1487
1421
|
const pathParams = {};
|
|
@@ -1502,8 +1436,6 @@ class PostgresqlClient {
|
|
|
1502
1436
|
};
|
|
1503
1437
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1504
1438
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDefaultConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1505
|
-
if (this.logger)
|
|
1506
|
-
retrier.logger = this.logger;
|
|
1507
1439
|
const request = yield oci_common_1.composeRequest({
|
|
1508
1440
|
baseEndpoint: this._endpoint,
|
|
1509
1441
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1547,12 +1479,11 @@ class PostgresqlClient {
|
|
|
1547
1479
|
* @param ListShapesRequest
|
|
1548
1480
|
* @return ListShapesResponse
|
|
1549
1481
|
* @throws OciError when an error occurs
|
|
1550
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1482
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
1551
1483
|
*/
|
|
1552
1484
|
listShapes(listShapesRequest) {
|
|
1553
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1554
|
-
|
|
1555
|
-
this.logger.debug("Calling operation PostgresqlClient#listShapes.");
|
|
1486
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listShapes.");
|
|
1556
1487
|
const operationName = "listShapes";
|
|
1557
1488
|
const apiReferenceLink = "";
|
|
1558
1489
|
const pathParams = {};
|
|
@@ -1570,8 +1501,6 @@ class PostgresqlClient {
|
|
|
1570
1501
|
};
|
|
1571
1502
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1572
1503
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
1573
|
-
if (this.logger)
|
|
1574
|
-
retrier.logger = this.logger;
|
|
1575
1504
|
const request = yield oci_common_1.composeRequest({
|
|
1576
1505
|
baseEndpoint: this._endpoint,
|
|
1577
1506
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1616,12 +1545,11 @@ class PostgresqlClient {
|
|
|
1616
1545
|
* @param ListWorkRequestErrorsRequest
|
|
1617
1546
|
* @return ListWorkRequestErrorsResponse
|
|
1618
1547
|
* @throws OciError when an error occurs
|
|
1619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1548
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1620
1549
|
*/
|
|
1621
1550
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1622
1551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1623
|
-
|
|
1624
|
-
this.logger.debug("Calling operation PostgresqlClient#listWorkRequestErrors.");
|
|
1552
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listWorkRequestErrors.");
|
|
1625
1553
|
const operationName = "listWorkRequestErrors";
|
|
1626
1554
|
const apiReferenceLink = "";
|
|
1627
1555
|
const pathParams = {
|
|
@@ -1639,8 +1567,6 @@ class PostgresqlClient {
|
|
|
1639
1567
|
};
|
|
1640
1568
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1641
1569
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1642
|
-
if (this.logger)
|
|
1643
|
-
retrier.logger = this.logger;
|
|
1644
1570
|
const request = yield oci_common_1.composeRequest({
|
|
1645
1571
|
baseEndpoint: this._endpoint,
|
|
1646
1572
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1685,12 +1611,11 @@ class PostgresqlClient {
|
|
|
1685
1611
|
* @param ListWorkRequestLogsRequest
|
|
1686
1612
|
* @return ListWorkRequestLogsResponse
|
|
1687
1613
|
* @throws OciError when an error occurs
|
|
1688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1614
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1689
1615
|
*/
|
|
1690
1616
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1691
1617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1692
|
-
|
|
1693
|
-
this.logger.debug("Calling operation PostgresqlClient#listWorkRequestLogs.");
|
|
1618
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listWorkRequestLogs.");
|
|
1694
1619
|
const operationName = "listWorkRequestLogs";
|
|
1695
1620
|
const apiReferenceLink = "";
|
|
1696
1621
|
const pathParams = {
|
|
@@ -1708,8 +1633,6 @@ class PostgresqlClient {
|
|
|
1708
1633
|
};
|
|
1709
1634
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1710
1635
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1711
|
-
if (this.logger)
|
|
1712
|
-
retrier.logger = this.logger;
|
|
1713
1636
|
const request = yield oci_common_1.composeRequest({
|
|
1714
1637
|
baseEndpoint: this._endpoint,
|
|
1715
1638
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1754,12 +1677,11 @@ class PostgresqlClient {
|
|
|
1754
1677
|
* @param ListWorkRequestsRequest
|
|
1755
1678
|
* @return ListWorkRequestsResponse
|
|
1756
1679
|
* @throws OciError when an error occurs
|
|
1757
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1758
1681
|
*/
|
|
1759
1682
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1760
1683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1761
|
-
|
|
1762
|
-
this.logger.debug("Calling operation PostgresqlClient#listWorkRequests.");
|
|
1684
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#listWorkRequests.");
|
|
1763
1685
|
const operationName = "listWorkRequests";
|
|
1764
1686
|
const apiReferenceLink = "";
|
|
1765
1687
|
const pathParams = {};
|
|
@@ -1779,8 +1701,6 @@ class PostgresqlClient {
|
|
|
1779
1701
|
};
|
|
1780
1702
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1781
1703
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1782
|
-
if (this.logger)
|
|
1783
|
-
retrier.logger = this.logger;
|
|
1784
1704
|
const request = yield oci_common_1.composeRequest({
|
|
1785
1705
|
baseEndpoint: this._endpoint,
|
|
1786
1706
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1824,12 +1744,11 @@ class PostgresqlClient {
|
|
|
1824
1744
|
* @param PatchDbSystemRequest
|
|
1825
1745
|
* @return PatchDbSystemResponse
|
|
1826
1746
|
* @throws OciError when an error occurs
|
|
1827
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/PatchDbSystem.ts.html |here} to see how to use PatchDbSystem API.
|
|
1828
1748
|
*/
|
|
1829
1749
|
patchDbSystem(patchDbSystemRequest) {
|
|
1830
1750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1831
|
-
|
|
1832
|
-
this.logger.debug("Calling operation PostgresqlClient#patchDbSystem.");
|
|
1751
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#patchDbSystem.");
|
|
1833
1752
|
const operationName = "patchDbSystem";
|
|
1834
1753
|
const apiReferenceLink = "";
|
|
1835
1754
|
const pathParams = {
|
|
@@ -1843,8 +1762,6 @@ class PostgresqlClient {
|
|
|
1843
1762
|
};
|
|
1844
1763
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1845
1764
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1846
|
-
if (this.logger)
|
|
1847
|
-
retrier.logger = this.logger;
|
|
1848
1765
|
const request = yield oci_common_1.composeRequest({
|
|
1849
1766
|
baseEndpoint: this._endpoint,
|
|
1850
1767
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1885,12 +1802,11 @@ class PostgresqlClient {
|
|
|
1885
1802
|
* @param ResetMasterUserPasswordRequest
|
|
1886
1803
|
* @return ResetMasterUserPasswordResponse
|
|
1887
1804
|
* @throws OciError when an error occurs
|
|
1888
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1805
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/ResetMasterUserPassword.ts.html |here} to see how to use ResetMasterUserPassword API.
|
|
1889
1806
|
*/
|
|
1890
1807
|
resetMasterUserPassword(resetMasterUserPasswordRequest) {
|
|
1891
1808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1892
|
-
|
|
1893
|
-
this.logger.debug("Calling operation PostgresqlClient#resetMasterUserPassword.");
|
|
1809
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#resetMasterUserPassword.");
|
|
1894
1810
|
const operationName = "resetMasterUserPassword";
|
|
1895
1811
|
const apiReferenceLink = "";
|
|
1896
1812
|
const pathParams = {
|
|
@@ -1905,8 +1821,6 @@ class PostgresqlClient {
|
|
|
1905
1821
|
};
|
|
1906
1822
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1907
1823
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetMasterUserPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
1908
|
-
if (this.logger)
|
|
1909
|
-
retrier.logger = this.logger;
|
|
1910
1824
|
const request = yield oci_common_1.composeRequest({
|
|
1911
1825
|
baseEndpoint: this._endpoint,
|
|
1912
1826
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1947,12 +1861,11 @@ class PostgresqlClient {
|
|
|
1947
1861
|
* @param RestartDbInstanceInDbSystemRequest
|
|
1948
1862
|
* @return RestartDbInstanceInDbSystemResponse
|
|
1949
1863
|
* @throws OciError when an error occurs
|
|
1950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1864
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/RestartDbInstanceInDbSystem.ts.html |here} to see how to use RestartDbInstanceInDbSystem API.
|
|
1951
1865
|
*/
|
|
1952
1866
|
restartDbInstanceInDbSystem(restartDbInstanceInDbSystemRequest) {
|
|
1953
1867
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1954
|
-
|
|
1955
|
-
this.logger.debug("Calling operation PostgresqlClient#restartDbInstanceInDbSystem.");
|
|
1868
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#restartDbInstanceInDbSystem.");
|
|
1956
1869
|
const operationName = "restartDbInstanceInDbSystem";
|
|
1957
1870
|
const apiReferenceLink = "";
|
|
1958
1871
|
const pathParams = {
|
|
@@ -1967,8 +1880,6 @@ class PostgresqlClient {
|
|
|
1967
1880
|
};
|
|
1968
1881
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1969
1882
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartDbInstanceInDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1970
|
-
if (this.logger)
|
|
1971
|
-
retrier.logger = this.logger;
|
|
1972
1883
|
const request = yield oci_common_1.composeRequest({
|
|
1973
1884
|
baseEndpoint: this._endpoint,
|
|
1974
1885
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2009,12 +1920,11 @@ class PostgresqlClient {
|
|
|
2009
1920
|
* @param RestoreDbSystemRequest
|
|
2010
1921
|
* @return RestoreDbSystemResponse
|
|
2011
1922
|
* @throws OciError when an error occurs
|
|
2012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1923
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/RestoreDbSystem.ts.html |here} to see how to use RestoreDbSystem API.
|
|
2013
1924
|
*/
|
|
2014
1925
|
restoreDbSystem(restoreDbSystemRequest) {
|
|
2015
1926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2016
|
-
|
|
2017
|
-
this.logger.debug("Calling operation PostgresqlClient#restoreDbSystem.");
|
|
1927
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#restoreDbSystem.");
|
|
2018
1928
|
const operationName = "restoreDbSystem";
|
|
2019
1929
|
const apiReferenceLink = "";
|
|
2020
1930
|
const pathParams = {
|
|
@@ -2029,8 +1939,6 @@ class PostgresqlClient {
|
|
|
2029
1939
|
};
|
|
2030
1940
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2031
1941
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2032
|
-
if (this.logger)
|
|
2033
|
-
retrier.logger = this.logger;
|
|
2034
1942
|
const request = yield oci_common_1.composeRequest({
|
|
2035
1943
|
baseEndpoint: this._endpoint,
|
|
2036
1944
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2071,12 +1979,11 @@ class PostgresqlClient {
|
|
|
2071
1979
|
* @param UpdateBackupRequest
|
|
2072
1980
|
* @return UpdateBackupResponse
|
|
2073
1981
|
* @throws OciError when an error occurs
|
|
2074
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1982
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
2075
1983
|
*/
|
|
2076
1984
|
updateBackup(updateBackupRequest) {
|
|
2077
1985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2078
|
-
|
|
2079
|
-
this.logger.debug("Calling operation PostgresqlClient#updateBackup.");
|
|
1986
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#updateBackup.");
|
|
2080
1987
|
const operationName = "updateBackup";
|
|
2081
1988
|
const apiReferenceLink = "";
|
|
2082
1989
|
const pathParams = {
|
|
@@ -2090,8 +1997,6 @@ class PostgresqlClient {
|
|
|
2090
1997
|
};
|
|
2091
1998
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2092
1999
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
2093
|
-
if (this.logger)
|
|
2094
|
-
retrier.logger = this.logger;
|
|
2095
2000
|
const request = yield oci_common_1.composeRequest({
|
|
2096
2001
|
baseEndpoint: this._endpoint,
|
|
2097
2002
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2137,12 +2042,11 @@ class PostgresqlClient {
|
|
|
2137
2042
|
* @param UpdateConfigurationRequest
|
|
2138
2043
|
* @return UpdateConfigurationResponse
|
|
2139
2044
|
* @throws OciError when an error occurs
|
|
2140
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2045
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
2141
2046
|
*/
|
|
2142
2047
|
updateConfiguration(updateConfigurationRequest) {
|
|
2143
2048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2144
|
-
|
|
2145
|
-
this.logger.debug("Calling operation PostgresqlClient#updateConfiguration.");
|
|
2049
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#updateConfiguration.");
|
|
2146
2050
|
const operationName = "updateConfiguration";
|
|
2147
2051
|
const apiReferenceLink = "";
|
|
2148
2052
|
const pathParams = {
|
|
@@ -2157,8 +2061,6 @@ class PostgresqlClient {
|
|
|
2157
2061
|
};
|
|
2158
2062
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2159
2063
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2160
|
-
if (this.logger)
|
|
2161
|
-
retrier.logger = this.logger;
|
|
2162
2064
|
const request = yield oci_common_1.composeRequest({
|
|
2163
2065
|
baseEndpoint: this._endpoint,
|
|
2164
2066
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2203,12 +2105,11 @@ class PostgresqlClient {
|
|
|
2203
2105
|
* @param UpdateDbSystemRequest
|
|
2204
2106
|
* @return UpdateDbSystemResponse
|
|
2205
2107
|
* @throws OciError when an error occurs
|
|
2206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2108
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2207
2109
|
*/
|
|
2208
2110
|
updateDbSystem(updateDbSystemRequest) {
|
|
2209
2111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2210
|
-
|
|
2211
|
-
this.logger.debug("Calling operation PostgresqlClient#updateDbSystem.");
|
|
2112
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#updateDbSystem.");
|
|
2212
2113
|
const operationName = "updateDbSystem";
|
|
2213
2114
|
const apiReferenceLink = "";
|
|
2214
2115
|
const pathParams = {
|
|
@@ -2223,8 +2124,6 @@ class PostgresqlClient {
|
|
|
2223
2124
|
};
|
|
2224
2125
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2225
2126
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2226
|
-
if (this.logger)
|
|
2227
|
-
retrier.logger = this.logger;
|
|
2228
2127
|
const request = yield oci_common_1.composeRequest({
|
|
2229
2128
|
baseEndpoint: this._endpoint,
|
|
2230
2129
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2265,12 +2164,11 @@ class PostgresqlClient {
|
|
|
2265
2164
|
* @param UpdateDbSystemDbInstanceRequest
|
|
2266
2165
|
* @return UpdateDbSystemDbInstanceResponse
|
|
2267
2166
|
* @throws OciError when an error occurs
|
|
2268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/psql/UpdateDbSystemDbInstance.ts.html |here} to see how to use UpdateDbSystemDbInstance API.
|
|
2269
2168
|
*/
|
|
2270
2169
|
updateDbSystemDbInstance(updateDbSystemDbInstanceRequest) {
|
|
2271
2170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2272
|
-
|
|
2273
|
-
this.logger.debug("Calling operation PostgresqlClient#updateDbSystemDbInstance.");
|
|
2171
|
+
oci_common_1.logger.debug("Calling operation PostgresqlClient#updateDbSystemDbInstance.");
|
|
2274
2172
|
const operationName = "updateDbSystemDbInstance";
|
|
2275
2173
|
const apiReferenceLink = "";
|
|
2276
2174
|
const pathParams = {
|
|
@@ -2286,8 +2184,6 @@ class PostgresqlClient {
|
|
|
2286
2184
|
};
|
|
2287
2185
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2288
2186
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemDbInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
2289
|
-
if (this.logger)
|
|
2290
|
-
retrier.logger = this.logger;
|
|
2291
2187
|
const request = yield oci_common_1.composeRequest({
|
|
2292
2188
|
baseEndpoint: this._endpoint,
|
|
2293
2189
|
defaultHeaders: this._defaultHeaders,
|