oci-mysql 2.22.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +103 -98
- package/lib/client.js +176 -151
- package/lib/client.js.map +1 -1
- package/lib/model/db-system-snapshot.d.ts +1 -2
- package/lib/model/db-system-snapshot.js.map +1 -1
- package/lib/model/db-system-summary.d.ts +1 -2
- package/lib/model/db-system-summary.js.map +1 -1
- package/lib/model/db-system.d.ts +1 -2
- package/lib/model/db-system.js.map +1 -1
- package/lib/model/update-db-system-details.d.ts +8 -4
- package/lib/model/update-db-system-details.js.map +1 -1
- package/lib/request/add-analytics-cluster-request.d.ts +1 -1
- package/lib/request/add-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/change-backup-compartment-request.d.ts +1 -1
- package/lib/request/create-backup-request.d.ts +1 -1
- package/lib/request/create-channel-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-analytics-cluster-request.d.ts +1 -1
- package/lib/request/delete-backup-request.d.ts +1 -1
- package/lib/request/delete-channel-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/delete-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/generate-analytics-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/generate-heat-wave-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-analytics-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-analytics-cluster-request.d.ts +1 -1
- package/lib/request/get-backup-request.d.ts +1 -1
- package/lib/request/get-channel-request.d.ts +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/get-db-system-request.d.ts +1 -1
- package/lib/request/get-heat-wave-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-heat-wave-cluster-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-channels-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-shapes-request.d.ts +1 -1
- package/lib/request/list-versions-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/reset-channel-request.d.ts +1 -1
- package/lib/request/restart-analytics-cluster-request.d.ts +1 -1
- package/lib/request/restart-db-system-request.d.ts +1 -1
- package/lib/request/restart-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/resume-channel-request.d.ts +1 -1
- package/lib/request/start-analytics-cluster-request.d.ts +1 -1
- package/lib/request/start-db-system-request.d.ts +1 -1
- package/lib/request/start-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/stop-analytics-cluster-request.d.ts +1 -1
- package/lib/request/stop-db-system-request.d.ts +1 -1
- package/lib/request/stop-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/update-analytics-cluster-request.d.ts +1 -1
- package/lib/request/update-backup-request.d.ts +1 -1
- package/lib/request/update-channel-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/lib/request/update-db-system-request.d.ts +1 -1
- package/lib/request/update-heat-wave-cluster-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -64,6 +64,7 @@ class ChannelsClient {
|
|
|
64
64
|
this["_endpoint"] = "";
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
67
|
+
this._httpOptions = undefined;
|
|
67
68
|
const requestSigner = params.authenticationDetailsProvider
|
|
68
69
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
69
70
|
: null;
|
|
@@ -72,6 +73,9 @@ class ChannelsClient {
|
|
|
72
73
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
73
74
|
? clientConfiguration.circuitBreaker.circuit
|
|
74
75
|
: null;
|
|
76
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
77
|
+
? clientConfiguration.httpOptions
|
|
78
|
+
: undefined;
|
|
75
79
|
}
|
|
76
80
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
77
81
|
const specCircuitBreakerEnabled = true;
|
|
@@ -81,7 +85,8 @@ class ChannelsClient {
|
|
|
81
85
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
82
86
|
}
|
|
83
87
|
this._httpClient =
|
|
84
|
-
params.httpClient ||
|
|
88
|
+
params.httpClient ||
|
|
89
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
85
90
|
if (params.authenticationDetailsProvider &&
|
|
86
91
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
87
92
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -152,11 +157,11 @@ class ChannelsClient {
|
|
|
152
157
|
/**
|
|
153
158
|
* Creates a Channel to establish replication from a source to a target.
|
|
154
159
|
*
|
|
155
|
-
* This operation
|
|
160
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
156
161
|
* @param CreateChannelRequest
|
|
157
162
|
* @return CreateChannelResponse
|
|
158
163
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
160
165
|
*/
|
|
161
166
|
createChannel(createChannelRequest) {
|
|
162
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -169,7 +174,7 @@ class ChannelsClient {
|
|
|
169
174
|
"opc-request-id": createChannelRequest.opcRequestId,
|
|
170
175
|
"opc-retry-token": createChannelRequest.opcRetryToken
|
|
171
176
|
};
|
|
172
|
-
const specRetryConfiguration = common.
|
|
177
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
173
178
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
174
179
|
if (this.logger)
|
|
175
180
|
retrier.logger = this.logger;
|
|
@@ -218,11 +223,11 @@ class ChannelsClient {
|
|
|
218
223
|
}
|
|
219
224
|
/**
|
|
220
225
|
* Deletes the specified Channel.
|
|
221
|
-
* This operation
|
|
226
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
222
227
|
* @param DeleteChannelRequest
|
|
223
228
|
* @return DeleteChannelResponse
|
|
224
229
|
* @throws OciError when an error occurs
|
|
225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
226
231
|
*/
|
|
227
232
|
deleteChannel(deleteChannelRequest) {
|
|
228
233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -237,7 +242,7 @@ class ChannelsClient {
|
|
|
237
242
|
"if-match": deleteChannelRequest.ifMatch,
|
|
238
243
|
"opc-request-id": deleteChannelRequest.opcRequestId
|
|
239
244
|
};
|
|
240
|
-
const specRetryConfiguration = common.
|
|
245
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
241
246
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
242
247
|
if (this.logger)
|
|
243
248
|
retrier.logger = this.logger;
|
|
@@ -279,11 +284,11 @@ class ChannelsClient {
|
|
|
279
284
|
* configuration parameters (passwords are omitted), as well as information about
|
|
280
285
|
* the state of the Channel, its sources and targets.
|
|
281
286
|
*
|
|
282
|
-
* This operation
|
|
287
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
283
288
|
* @param GetChannelRequest
|
|
284
289
|
* @return GetChannelResponse
|
|
285
290
|
* @throws OciError when an error occurs
|
|
286
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
287
292
|
*/
|
|
288
293
|
getChannel(getChannelRequest) {
|
|
289
294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -298,7 +303,7 @@ class ChannelsClient {
|
|
|
298
303
|
"opc-request-id": getChannelRequest.opcRequestId,
|
|
299
304
|
"if-none-match": getChannelRequest.ifNoneMatch
|
|
300
305
|
};
|
|
301
|
-
const specRetryConfiguration = common.
|
|
306
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
302
307
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
303
308
|
if (this.logger)
|
|
304
309
|
retrier.logger = this.logger;
|
|
@@ -341,11 +346,11 @@ class ChannelsClient {
|
|
|
341
346
|
}
|
|
342
347
|
/**
|
|
343
348
|
* Lists all the Channels that match the specified filters.
|
|
344
|
-
* This operation
|
|
349
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
345
350
|
* @param ListChannelsRequest
|
|
346
351
|
* @return ListChannelsResponse
|
|
347
352
|
* @throws OciError when an error occurs
|
|
348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
349
354
|
*/
|
|
350
355
|
listChannels(listChannelsRequest) {
|
|
351
356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -368,7 +373,7 @@ class ChannelsClient {
|
|
|
368
373
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
369
374
|
"opc-request-id": listChannelsRequest.opcRequestId
|
|
370
375
|
};
|
|
371
|
-
const specRetryConfiguration = common.
|
|
376
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
372
377
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
|
|
373
378
|
if (this.logger)
|
|
374
379
|
retrier.logger = this.logger;
|
|
@@ -453,11 +458,11 @@ class ChannelsClient {
|
|
|
453
458
|
* Resets the specified Channel by purging its cached information, leaving the Channel
|
|
454
459
|
* as if it had just been created. This operation is only accepted in Inactive Channels.
|
|
455
460
|
*
|
|
456
|
-
* This operation
|
|
461
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
457
462
|
* @param ResetChannelRequest
|
|
458
463
|
* @return ResetChannelResponse
|
|
459
464
|
* @throws OciError when an error occurs
|
|
460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
461
466
|
*/
|
|
462
467
|
resetChannel(resetChannelRequest) {
|
|
463
468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -473,7 +478,7 @@ class ChannelsClient {
|
|
|
473
478
|
"opc-request-id": resetChannelRequest.opcRequestId,
|
|
474
479
|
"opc-retry-token": resetChannelRequest.opcRetryToken
|
|
475
480
|
};
|
|
476
|
-
const specRetryConfiguration = common.
|
|
481
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
477
482
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
478
483
|
if (this.logger)
|
|
479
484
|
retrier.logger = this.logger;
|
|
@@ -515,11 +520,11 @@ class ChannelsClient {
|
|
|
515
520
|
* requires that the error that cause the Channel to become Inactive has already been fixed,
|
|
516
521
|
* otherwise the operation may fail.
|
|
517
522
|
*
|
|
518
|
-
* This operation
|
|
523
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
519
524
|
* @param ResumeChannelRequest
|
|
520
525
|
* @return ResumeChannelResponse
|
|
521
526
|
* @throws OciError when an error occurs
|
|
522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
527
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
523
528
|
*/
|
|
524
529
|
resumeChannel(resumeChannelRequest) {
|
|
525
530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -535,7 +540,7 @@ class ChannelsClient {
|
|
|
535
540
|
"opc-request-id": resumeChannelRequest.opcRequestId,
|
|
536
541
|
"opc-retry-token": resumeChannelRequest.opcRetryToken
|
|
537
542
|
};
|
|
538
|
-
const specRetryConfiguration = common.
|
|
543
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
539
544
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
540
545
|
if (this.logger)
|
|
541
546
|
retrier.logger = this.logger;
|
|
@@ -578,11 +583,11 @@ class ChannelsClient {
|
|
|
578
583
|
* parameters to the Channel and the Channel may become temporarily unavailable. Otherwise, the
|
|
579
584
|
* new configuration will be applied the next time the Channel becomes Active.
|
|
580
585
|
*
|
|
581
|
-
* This operation
|
|
586
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
582
587
|
* @param UpdateChannelRequest
|
|
583
588
|
* @return UpdateChannelResponse
|
|
584
589
|
* @throws OciError when an error occurs
|
|
585
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
586
591
|
*/
|
|
587
592
|
updateChannel(updateChannelRequest) {
|
|
588
593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -598,7 +603,7 @@ class ChannelsClient {
|
|
|
598
603
|
"opc-request-id": updateChannelRequest.opcRequestId,
|
|
599
604
|
"opc-retry-token": updateChannelRequest.opcRetryToken
|
|
600
605
|
};
|
|
601
|
-
const specRetryConfiguration = common.
|
|
606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
602
607
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
603
608
|
if (this.logger)
|
|
604
609
|
retrier.logger = this.logger;
|
|
@@ -651,6 +656,7 @@ class DbBackupsClient {
|
|
|
651
656
|
this["_endpoint"] = "";
|
|
652
657
|
this["_defaultHeaders"] = {};
|
|
653
658
|
this._circuitBreaker = null;
|
|
659
|
+
this._httpOptions = undefined;
|
|
654
660
|
const requestSigner = params.authenticationDetailsProvider
|
|
655
661
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
656
662
|
: null;
|
|
@@ -659,6 +665,9 @@ class DbBackupsClient {
|
|
|
659
665
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
660
666
|
? clientConfiguration.circuitBreaker.circuit
|
|
661
667
|
: null;
|
|
668
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
669
|
+
? clientConfiguration.httpOptions
|
|
670
|
+
: undefined;
|
|
662
671
|
}
|
|
663
672
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
664
673
|
const specCircuitBreakerEnabled = true;
|
|
@@ -668,7 +677,8 @@ class DbBackupsClient {
|
|
|
668
677
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
669
678
|
}
|
|
670
679
|
this._httpClient =
|
|
671
|
-
params.httpClient ||
|
|
680
|
+
params.httpClient ||
|
|
681
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
672
682
|
if (params.authenticationDetailsProvider &&
|
|
673
683
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
674
684
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -744,7 +754,7 @@ class DbBackupsClient {
|
|
|
744
754
|
* @param ChangeBackupCompartmentRequest
|
|
745
755
|
* @return ChangeBackupCompartmentResponse
|
|
746
756
|
* @throws OciError when an error occurs
|
|
747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
757
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
748
758
|
*/
|
|
749
759
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
750
760
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -801,11 +811,11 @@ class DbBackupsClient {
|
|
|
801
811
|
/**
|
|
802
812
|
* Create a backup of a DB System.
|
|
803
813
|
*
|
|
804
|
-
* This operation
|
|
814
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
805
815
|
* @param CreateBackupRequest
|
|
806
816
|
* @return CreateBackupResponse
|
|
807
817
|
* @throws OciError when an error occurs
|
|
808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
818
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
809
819
|
*/
|
|
810
820
|
createBackup(createBackupRequest) {
|
|
811
821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -818,7 +828,7 @@ class DbBackupsClient {
|
|
|
818
828
|
"opc-request-id": createBackupRequest.opcRequestId,
|
|
819
829
|
"opc-retry-token": createBackupRequest.opcRetryToken
|
|
820
830
|
};
|
|
821
|
-
const specRetryConfiguration = common.
|
|
831
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
822
832
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
823
833
|
if (this.logger)
|
|
824
834
|
retrier.logger = this.logger;
|
|
@@ -868,11 +878,11 @@ class DbBackupsClient {
|
|
|
868
878
|
/**
|
|
869
879
|
* Delete a Backup.
|
|
870
880
|
*
|
|
871
|
-
* This operation
|
|
881
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
872
882
|
* @param DeleteBackupRequest
|
|
873
883
|
* @return DeleteBackupResponse
|
|
874
884
|
* @throws OciError when an error occurs
|
|
875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
876
886
|
*/
|
|
877
887
|
deleteBackup(deleteBackupRequest) {
|
|
878
888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -887,7 +897,7 @@ class DbBackupsClient {
|
|
|
887
897
|
"if-match": deleteBackupRequest.ifMatch,
|
|
888
898
|
"opc-request-id": deleteBackupRequest.opcRequestId
|
|
889
899
|
};
|
|
890
|
-
const specRetryConfiguration = common.
|
|
900
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
891
901
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
892
902
|
if (this.logger)
|
|
893
903
|
retrier.logger = this.logger;
|
|
@@ -926,11 +936,11 @@ class DbBackupsClient {
|
|
|
926
936
|
}
|
|
927
937
|
/**
|
|
928
938
|
* Get information about the specified Backup
|
|
929
|
-
* This operation
|
|
939
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
930
940
|
* @param GetBackupRequest
|
|
931
941
|
* @return GetBackupResponse
|
|
932
942
|
* @throws OciError when an error occurs
|
|
933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
943
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
934
944
|
*/
|
|
935
945
|
getBackup(getBackupRequest) {
|
|
936
946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -945,7 +955,7 @@ class DbBackupsClient {
|
|
|
945
955
|
"opc-request-id": getBackupRequest.opcRequestId,
|
|
946
956
|
"if-none-match": getBackupRequest.ifNoneMatch
|
|
947
957
|
};
|
|
948
|
-
const specRetryConfiguration = common.
|
|
958
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
949
959
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
950
960
|
if (this.logger)
|
|
951
961
|
retrier.logger = this.logger;
|
|
@@ -989,11 +999,11 @@ class DbBackupsClient {
|
|
|
989
999
|
/**
|
|
990
1000
|
* Get a list of DB System backups.
|
|
991
1001
|
*
|
|
992
|
-
* This operation
|
|
1002
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
993
1003
|
* @param ListBackupsRequest
|
|
994
1004
|
* @return ListBackupsResponse
|
|
995
1005
|
* @throws OciError when an error occurs
|
|
996
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1006
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
997
1007
|
*/
|
|
998
1008
|
listBackups(listBackupsRequest) {
|
|
999
1009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1016,7 +1026,7 @@ class DbBackupsClient {
|
|
|
1016
1026
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1017
1027
|
"opc-request-id": listBackupsRequest.opcRequestId
|
|
1018
1028
|
};
|
|
1019
|
-
const specRetryConfiguration = common.
|
|
1029
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1020
1030
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1021
1031
|
if (this.logger)
|
|
1022
1032
|
retrier.logger = this.logger;
|
|
@@ -1099,11 +1109,11 @@ class DbBackupsClient {
|
|
|
1099
1109
|
}
|
|
1100
1110
|
/**
|
|
1101
1111
|
* Update the metadata of a Backup. Metadata such as the displayName or description
|
|
1102
|
-
* This operation
|
|
1112
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1103
1113
|
* @param UpdateBackupRequest
|
|
1104
1114
|
* @return UpdateBackupResponse
|
|
1105
1115
|
* @throws OciError when an error occurs
|
|
1106
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1107
1117
|
*/
|
|
1108
1118
|
updateBackup(updateBackupRequest) {
|
|
1109
1119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1118,7 +1128,7 @@ class DbBackupsClient {
|
|
|
1118
1128
|
"if-match": updateBackupRequest.ifMatch,
|
|
1119
1129
|
"opc-request-id": updateBackupRequest.opcRequestId
|
|
1120
1130
|
};
|
|
1121
|
-
const specRetryConfiguration = common.
|
|
1131
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1122
1132
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1123
1133
|
if (this.logger)
|
|
1124
1134
|
retrier.logger = this.logger;
|
|
@@ -1166,6 +1176,7 @@ class DbSystemClient {
|
|
|
1166
1176
|
this["_endpoint"] = "";
|
|
1167
1177
|
this["_defaultHeaders"] = {};
|
|
1168
1178
|
this._circuitBreaker = null;
|
|
1179
|
+
this._httpOptions = undefined;
|
|
1169
1180
|
const requestSigner = params.authenticationDetailsProvider
|
|
1170
1181
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1171
1182
|
: null;
|
|
@@ -1174,6 +1185,9 @@ class DbSystemClient {
|
|
|
1174
1185
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
1175
1186
|
? clientConfiguration.circuitBreaker.circuit
|
|
1176
1187
|
: null;
|
|
1188
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
1189
|
+
? clientConfiguration.httpOptions
|
|
1190
|
+
: undefined;
|
|
1177
1191
|
}
|
|
1178
1192
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1179
1193
|
const specCircuitBreakerEnabled = true;
|
|
@@ -1183,7 +1197,8 @@ class DbSystemClient {
|
|
|
1183
1197
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1184
1198
|
}
|
|
1185
1199
|
this._httpClient =
|
|
1186
|
-
params.httpClient ||
|
|
1200
|
+
params.httpClient ||
|
|
1201
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
1187
1202
|
if (params.authenticationDetailsProvider &&
|
|
1188
1203
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1189
1204
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -1255,11 +1270,11 @@ class DbSystemClient {
|
|
|
1255
1270
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1256
1271
|
* Adds an Analytics Cluster to the DB System.
|
|
1257
1272
|
*
|
|
1258
|
-
* This operation
|
|
1273
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1259
1274
|
* @param AddAnalyticsClusterRequest
|
|
1260
1275
|
* @return AddAnalyticsClusterResponse
|
|
1261
1276
|
* @throws OciError when an error occurs
|
|
1262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1263
1278
|
*/
|
|
1264
1279
|
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1265
1280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1275,7 +1290,7 @@ class DbSystemClient {
|
|
|
1275
1290
|
"opc-request-id": addAnalyticsClusterRequest.opcRequestId,
|
|
1276
1291
|
"opc-retry-token": addAnalyticsClusterRequest.opcRetryToken
|
|
1277
1292
|
};
|
|
1278
|
-
const specRetryConfiguration = common.
|
|
1293
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1279
1294
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1280
1295
|
if (this.logger)
|
|
1281
1296
|
retrier.logger = this.logger;
|
|
@@ -1325,11 +1340,11 @@ class DbSystemClient {
|
|
|
1325
1340
|
/**
|
|
1326
1341
|
* Adds a HeatWave cluster to the DB System.
|
|
1327
1342
|
*
|
|
1328
|
-
* This operation
|
|
1343
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1329
1344
|
* @param AddHeatWaveClusterRequest
|
|
1330
1345
|
* @return AddHeatWaveClusterResponse
|
|
1331
1346
|
* @throws OciError when an error occurs
|
|
1332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1333
1348
|
*/
|
|
1334
1349
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1335
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1345,7 +1360,7 @@ class DbSystemClient {
|
|
|
1345
1360
|
"opc-request-id": addHeatWaveClusterRequest.opcRequestId,
|
|
1346
1361
|
"opc-retry-token": addHeatWaveClusterRequest.opcRetryToken
|
|
1347
1362
|
};
|
|
1348
|
-
const specRetryConfiguration = common.
|
|
1363
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1349
1364
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1350
1365
|
if (this.logger)
|
|
1351
1366
|
retrier.logger = this.logger;
|
|
@@ -1395,11 +1410,11 @@ class DbSystemClient {
|
|
|
1395
1410
|
/**
|
|
1396
1411
|
* Creates and launches a DB System.
|
|
1397
1412
|
*
|
|
1398
|
-
* This operation
|
|
1413
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1399
1414
|
* @param CreateDbSystemRequest
|
|
1400
1415
|
* @return CreateDbSystemResponse
|
|
1401
1416
|
* @throws OciError when an error occurs
|
|
1402
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1417
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1403
1418
|
*/
|
|
1404
1419
|
createDbSystem(createDbSystemRequest) {
|
|
1405
1420
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1412,7 +1427,7 @@ class DbSystemClient {
|
|
|
1412
1427
|
"opc-request-id": createDbSystemRequest.opcRequestId,
|
|
1413
1428
|
"opc-retry-token": createDbSystemRequest.opcRetryToken
|
|
1414
1429
|
};
|
|
1415
|
-
const specRetryConfiguration = common.
|
|
1430
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1416
1431
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1417
1432
|
if (this.logger)
|
|
1418
1433
|
retrier.logger = this.logger;
|
|
@@ -1469,11 +1484,11 @@ class DbSystemClient {
|
|
|
1469
1484
|
* Deletes the Analytics Cluster including terminating, detaching, removing, finalizing and
|
|
1470
1485
|
* otherwise deleting all related resources.
|
|
1471
1486
|
*
|
|
1472
|
-
* This operation
|
|
1487
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1473
1488
|
* @param DeleteAnalyticsClusterRequest
|
|
1474
1489
|
* @return DeleteAnalyticsClusterResponse
|
|
1475
1490
|
* @throws OciError when an error occurs
|
|
1476
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1477
1492
|
*/
|
|
1478
1493
|
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1479
1494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1488,7 +1503,7 @@ class DbSystemClient {
|
|
|
1488
1503
|
"if-match": deleteAnalyticsClusterRequest.ifMatch,
|
|
1489
1504
|
"opc-request-id": deleteAnalyticsClusterRequest.opcRequestId
|
|
1490
1505
|
};
|
|
1491
|
-
const specRetryConfiguration = common.
|
|
1506
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1492
1507
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1493
1508
|
if (this.logger)
|
|
1494
1509
|
retrier.logger = this.logger;
|
|
@@ -1529,11 +1544,11 @@ class DbSystemClient {
|
|
|
1529
1544
|
* Delete a DB System, including terminating, detaching,
|
|
1530
1545
|
* removing, finalizing and otherwise deleting all related resources.
|
|
1531
1546
|
*
|
|
1532
|
-
* This operation
|
|
1547
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1533
1548
|
* @param DeleteDbSystemRequest
|
|
1534
1549
|
* @return DeleteDbSystemResponse
|
|
1535
1550
|
* @throws OciError when an error occurs
|
|
1536
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1551
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1537
1552
|
*/
|
|
1538
1553
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1539
1554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1548,7 +1563,7 @@ class DbSystemClient {
|
|
|
1548
1563
|
"if-match": deleteDbSystemRequest.ifMatch,
|
|
1549
1564
|
"opc-request-id": deleteDbSystemRequest.opcRequestId
|
|
1550
1565
|
};
|
|
1551
|
-
const specRetryConfiguration = common.
|
|
1566
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1552
1567
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1553
1568
|
if (this.logger)
|
|
1554
1569
|
retrier.logger = this.logger;
|
|
@@ -1589,11 +1604,11 @@ class DbSystemClient {
|
|
|
1589
1604
|
* Deletes the HeatWave cluster including terminating, detaching, removing, finalizing and
|
|
1590
1605
|
* otherwise deleting all related resources.
|
|
1591
1606
|
*
|
|
1592
|
-
* This operation
|
|
1607
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1593
1608
|
* @param DeleteHeatWaveClusterRequest
|
|
1594
1609
|
* @return DeleteHeatWaveClusterResponse
|
|
1595
1610
|
* @throws OciError when an error occurs
|
|
1596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1611
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1597
1612
|
*/
|
|
1598
1613
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1599
1614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1608,7 +1623,7 @@ class DbSystemClient {
|
|
|
1608
1623
|
"if-match": deleteHeatWaveClusterRequest.ifMatch,
|
|
1609
1624
|
"opc-request-id": deleteHeatWaveClusterRequest.opcRequestId
|
|
1610
1625
|
};
|
|
1611
|
-
const specRetryConfiguration = common.
|
|
1626
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1612
1627
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1613
1628
|
if (this.logger)
|
|
1614
1629
|
retrier.logger = this.logger;
|
|
@@ -1649,11 +1664,11 @@ class DbSystemClient {
|
|
|
1649
1664
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1650
1665
|
* Sends a request to estimate the memory footprints of user tables when loaded to Analytics Cluster memory.
|
|
1651
1666
|
*
|
|
1652
|
-
* This operation
|
|
1667
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1653
1668
|
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1654
1669
|
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1655
1670
|
* @throws OciError when an error occurs
|
|
1656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1657
1672
|
*/
|
|
1658
1673
|
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1659
1674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1668,7 +1683,7 @@ class DbSystemClient {
|
|
|
1668
1683
|
"opc-request-id": generateAnalyticsClusterMemoryEstimateRequest.opcRequestId,
|
|
1669
1684
|
"opc-retry-token": generateAnalyticsClusterMemoryEstimateRequest.opcRetryToken
|
|
1670
1685
|
};
|
|
1671
|
-
const specRetryConfiguration = common.
|
|
1686
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1672
1687
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1673
1688
|
if (this.logger)
|
|
1674
1689
|
retrier.logger = this.logger;
|
|
@@ -1712,11 +1727,11 @@ class DbSystemClient {
|
|
|
1712
1727
|
/**
|
|
1713
1728
|
* Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
|
|
1714
1729
|
*
|
|
1715
|
-
* This operation
|
|
1730
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1716
1731
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1717
1732
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1718
1733
|
* @throws OciError when an error occurs
|
|
1719
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1734
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1720
1735
|
*/
|
|
1721
1736
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1722
1737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1731,7 +1746,7 @@ class DbSystemClient {
|
|
|
1731
1746
|
"opc-request-id": generateHeatWaveClusterMemoryEstimateRequest.opcRequestId,
|
|
1732
1747
|
"opc-retry-token": generateHeatWaveClusterMemoryEstimateRequest.opcRetryToken
|
|
1733
1748
|
};
|
|
1734
|
-
const specRetryConfiguration = common.
|
|
1749
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1735
1750
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1736
1751
|
if (this.logger)
|
|
1737
1752
|
retrier.logger = this.logger;
|
|
@@ -1776,11 +1791,11 @@ class DbSystemClient {
|
|
|
1776
1791
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1777
1792
|
* Gets information about the Analytics Cluster.
|
|
1778
1793
|
*
|
|
1779
|
-
* This operation
|
|
1794
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1780
1795
|
* @param GetAnalyticsClusterRequest
|
|
1781
1796
|
* @return GetAnalyticsClusterResponse
|
|
1782
1797
|
* @throws OciError when an error occurs
|
|
1783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1784
1799
|
*/
|
|
1785
1800
|
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1786
1801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1795,7 +1810,7 @@ class DbSystemClient {
|
|
|
1795
1810
|
"opc-request-id": getAnalyticsClusterRequest.opcRequestId,
|
|
1796
1811
|
"if-none-match": getAnalyticsClusterRequest.ifNoneMatch
|
|
1797
1812
|
};
|
|
1798
|
-
const specRetryConfiguration = common.
|
|
1813
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1799
1814
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1800
1815
|
if (this.logger)
|
|
1801
1816
|
retrier.logger = this.logger;
|
|
@@ -1841,11 +1856,11 @@ class DbSystemClient {
|
|
|
1841
1856
|
* Gets the most recent Analytics Cluster memory estimate that can be used to determine a suitable
|
|
1842
1857
|
* Analytics Cluster size.
|
|
1843
1858
|
*
|
|
1844
|
-
* This operation
|
|
1859
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1845
1860
|
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1846
1861
|
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
1847
1862
|
* @throws OciError when an error occurs
|
|
1848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
1849
1864
|
*/
|
|
1850
1865
|
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
1851
1866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1859,7 +1874,7 @@ class DbSystemClient {
|
|
|
1859
1874
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1860
1875
|
"opc-request-id": getAnalyticsClusterMemoryEstimateRequest.opcRequestId
|
|
1861
1876
|
};
|
|
1862
|
-
const specRetryConfiguration = common.
|
|
1877
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1863
1878
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1864
1879
|
if (this.logger)
|
|
1865
1880
|
retrier.logger = this.logger;
|
|
@@ -1897,11 +1912,11 @@ class DbSystemClient {
|
|
|
1897
1912
|
}
|
|
1898
1913
|
/**
|
|
1899
1914
|
* Get information about the specified DB System.
|
|
1900
|
-
* This operation
|
|
1915
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1901
1916
|
* @param GetDbSystemRequest
|
|
1902
1917
|
* @return GetDbSystemResponse
|
|
1903
1918
|
* @throws OciError when an error occurs
|
|
1904
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1905
1920
|
*/
|
|
1906
1921
|
getDbSystem(getDbSystemRequest) {
|
|
1907
1922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1916,7 +1931,7 @@ class DbSystemClient {
|
|
|
1916
1931
|
"opc-request-id": getDbSystemRequest.opcRequestId,
|
|
1917
1932
|
"if-none-match": getDbSystemRequest.ifNoneMatch
|
|
1918
1933
|
};
|
|
1919
|
-
const specRetryConfiguration = common.
|
|
1934
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1920
1935
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1921
1936
|
if (this.logger)
|
|
1922
1937
|
retrier.logger = this.logger;
|
|
@@ -1959,11 +1974,11 @@ class DbSystemClient {
|
|
|
1959
1974
|
}
|
|
1960
1975
|
/**
|
|
1961
1976
|
* Gets information about the HeatWave cluster.
|
|
1962
|
-
* This operation
|
|
1977
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1963
1978
|
* @param GetHeatWaveClusterRequest
|
|
1964
1979
|
* @return GetHeatWaveClusterResponse
|
|
1965
1980
|
* @throws OciError when an error occurs
|
|
1966
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1967
1982
|
*/
|
|
1968
1983
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1969
1984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1978,7 +1993,7 @@ class DbSystemClient {
|
|
|
1978
1993
|
"opc-request-id": getHeatWaveClusterRequest.opcRequestId,
|
|
1979
1994
|
"if-none-match": getHeatWaveClusterRequest.ifNoneMatch
|
|
1980
1995
|
};
|
|
1981
|
-
const specRetryConfiguration = common.
|
|
1996
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1982
1997
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1983
1998
|
if (this.logger)
|
|
1984
1999
|
retrier.logger = this.logger;
|
|
@@ -2023,11 +2038,11 @@ class DbSystemClient {
|
|
|
2023
2038
|
* Gets the most recent HeatWave cluster memory estimate that can be used to determine a suitable
|
|
2024
2039
|
* HeatWave cluster size.
|
|
2025
2040
|
*
|
|
2026
|
-
* This operation
|
|
2041
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2027
2042
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
2028
2043
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
2029
2044
|
* @throws OciError when an error occurs
|
|
2030
|
-
* @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.26.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
2031
2046
|
*/
|
|
2032
2047
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
2033
2048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2041,7 +2056,7 @@ class DbSystemClient {
|
|
|
2041
2056
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2042
2057
|
"opc-request-id": getHeatWaveClusterMemoryEstimateRequest.opcRequestId
|
|
2043
2058
|
};
|
|
2044
|
-
const specRetryConfiguration = common.
|
|
2059
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2045
2060
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
2046
2061
|
if (this.logger)
|
|
2047
2062
|
retrier.logger = this.logger;
|
|
@@ -2081,11 +2096,11 @@ class DbSystemClient {
|
|
|
2081
2096
|
* Get a list of DB Systems in the specified compartment.
|
|
2082
2097
|
* The default sort order is by timeUpdated, descending.
|
|
2083
2098
|
*
|
|
2084
|
-
* This operation
|
|
2099
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2085
2100
|
* @param ListDbSystemsRequest
|
|
2086
2101
|
* @return ListDbSystemsResponse
|
|
2087
2102
|
* @throws OciError when an error occurs
|
|
2088
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
2089
2104
|
*/
|
|
2090
2105
|
listDbSystems(listDbSystemsRequest) {
|
|
2091
2106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2110,7 +2125,7 @@ class DbSystemClient {
|
|
|
2110
2125
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2111
2126
|
"opc-request-id": listDbSystemsRequest.opcRequestId
|
|
2112
2127
|
};
|
|
2113
|
-
const specRetryConfiguration = common.
|
|
2128
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2114
2129
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
2115
2130
|
if (this.logger)
|
|
2116
2131
|
retrier.logger = this.logger;
|
|
@@ -2195,11 +2210,11 @@ class DbSystemClient {
|
|
|
2195
2210
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2196
2211
|
* Restarts the Analytics Cluster.
|
|
2197
2212
|
*
|
|
2198
|
-
* This operation
|
|
2213
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2199
2214
|
* @param RestartAnalyticsClusterRequest
|
|
2200
2215
|
* @return RestartAnalyticsClusterResponse
|
|
2201
2216
|
* @throws OciError when an error occurs
|
|
2202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2203
2218
|
*/
|
|
2204
2219
|
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2205
2220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2215,7 +2230,7 @@ class DbSystemClient {
|
|
|
2215
2230
|
"opc-request-id": restartAnalyticsClusterRequest.opcRequestId,
|
|
2216
2231
|
"opc-retry-token": restartAnalyticsClusterRequest.opcRetryToken
|
|
2217
2232
|
};
|
|
2218
|
-
const specRetryConfiguration = common.
|
|
2233
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2219
2234
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2220
2235
|
if (this.logger)
|
|
2221
2236
|
retrier.logger = this.logger;
|
|
@@ -2254,11 +2269,11 @@ class DbSystemClient {
|
|
|
2254
2269
|
}
|
|
2255
2270
|
/**
|
|
2256
2271
|
* Restarts the specified DB System.
|
|
2257
|
-
* This operation
|
|
2272
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2258
2273
|
* @param RestartDbSystemRequest
|
|
2259
2274
|
* @return RestartDbSystemResponse
|
|
2260
2275
|
* @throws OciError when an error occurs
|
|
2261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2262
2277
|
*/
|
|
2263
2278
|
restartDbSystem(restartDbSystemRequest) {
|
|
2264
2279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2274,7 +2289,7 @@ class DbSystemClient {
|
|
|
2274
2289
|
"opc-request-id": restartDbSystemRequest.opcRequestId,
|
|
2275
2290
|
"opc-retry-token": restartDbSystemRequest.opcRetryToken
|
|
2276
2291
|
};
|
|
2277
|
-
const specRetryConfiguration = common.
|
|
2292
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2278
2293
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2279
2294
|
if (this.logger)
|
|
2280
2295
|
retrier.logger = this.logger;
|
|
@@ -2314,11 +2329,11 @@ class DbSystemClient {
|
|
|
2314
2329
|
}
|
|
2315
2330
|
/**
|
|
2316
2331
|
* Restarts the HeatWave cluster.
|
|
2317
|
-
* This operation
|
|
2332
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2318
2333
|
* @param RestartHeatWaveClusterRequest
|
|
2319
2334
|
* @return RestartHeatWaveClusterResponse
|
|
2320
2335
|
* @throws OciError when an error occurs
|
|
2321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2322
2337
|
*/
|
|
2323
2338
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2324
2339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2334,7 +2349,7 @@ class DbSystemClient {
|
|
|
2334
2349
|
"opc-request-id": restartHeatWaveClusterRequest.opcRequestId,
|
|
2335
2350
|
"opc-retry-token": restartHeatWaveClusterRequest.opcRetryToken
|
|
2336
2351
|
};
|
|
2337
|
-
const specRetryConfiguration = common.
|
|
2352
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2338
2353
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2339
2354
|
if (this.logger)
|
|
2340
2355
|
retrier.logger = this.logger;
|
|
@@ -2375,11 +2390,11 @@ class DbSystemClient {
|
|
|
2375
2390
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2376
2391
|
* Starts the Analytics Cluster.
|
|
2377
2392
|
*
|
|
2378
|
-
* This operation
|
|
2393
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2379
2394
|
* @param StartAnalyticsClusterRequest
|
|
2380
2395
|
* @return StartAnalyticsClusterResponse
|
|
2381
2396
|
* @throws OciError when an error occurs
|
|
2382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2383
2398
|
*/
|
|
2384
2399
|
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2385
2400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2395,7 +2410,7 @@ class DbSystemClient {
|
|
|
2395
2410
|
"opc-request-id": startAnalyticsClusterRequest.opcRequestId,
|
|
2396
2411
|
"opc-retry-token": startAnalyticsClusterRequest.opcRetryToken
|
|
2397
2412
|
};
|
|
2398
|
-
const specRetryConfiguration = common.
|
|
2413
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2399
2414
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2400
2415
|
if (this.logger)
|
|
2401
2416
|
retrier.logger = this.logger;
|
|
@@ -2434,11 +2449,11 @@ class DbSystemClient {
|
|
|
2434
2449
|
}
|
|
2435
2450
|
/**
|
|
2436
2451
|
* Start the specified DB System.
|
|
2437
|
-
* This operation
|
|
2452
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2438
2453
|
* @param StartDbSystemRequest
|
|
2439
2454
|
* @return StartDbSystemResponse
|
|
2440
2455
|
* @throws OciError when an error occurs
|
|
2441
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2442
2457
|
*/
|
|
2443
2458
|
startDbSystem(startDbSystemRequest) {
|
|
2444
2459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2454,7 +2469,7 @@ class DbSystemClient {
|
|
|
2454
2469
|
"opc-request-id": startDbSystemRequest.opcRequestId,
|
|
2455
2470
|
"opc-retry-token": startDbSystemRequest.opcRetryToken
|
|
2456
2471
|
};
|
|
2457
|
-
const specRetryConfiguration = common.
|
|
2472
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2458
2473
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2459
2474
|
if (this.logger)
|
|
2460
2475
|
retrier.logger = this.logger;
|
|
@@ -2493,11 +2508,11 @@ class DbSystemClient {
|
|
|
2493
2508
|
}
|
|
2494
2509
|
/**
|
|
2495
2510
|
* Starts the HeatWave cluster.
|
|
2496
|
-
* This operation
|
|
2511
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2497
2512
|
* @param StartHeatWaveClusterRequest
|
|
2498
2513
|
* @return StartHeatWaveClusterResponse
|
|
2499
2514
|
* @throws OciError when an error occurs
|
|
2500
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2501
2516
|
*/
|
|
2502
2517
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2503
2518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2513,7 +2528,7 @@ class DbSystemClient {
|
|
|
2513
2528
|
"opc-request-id": startHeatWaveClusterRequest.opcRequestId,
|
|
2514
2529
|
"opc-retry-token": startHeatWaveClusterRequest.opcRetryToken
|
|
2515
2530
|
};
|
|
2516
|
-
const specRetryConfiguration = common.
|
|
2531
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2517
2532
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2518
2533
|
if (this.logger)
|
|
2519
2534
|
retrier.logger = this.logger;
|
|
@@ -2554,11 +2569,11 @@ class DbSystemClient {
|
|
|
2554
2569
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2555
2570
|
* Stops the Analytics Cluster.
|
|
2556
2571
|
*
|
|
2557
|
-
* This operation
|
|
2572
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2558
2573
|
* @param StopAnalyticsClusterRequest
|
|
2559
2574
|
* @return StopAnalyticsClusterResponse
|
|
2560
2575
|
* @throws OciError when an error occurs
|
|
2561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2576
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2562
2577
|
*/
|
|
2563
2578
|
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2564
2579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2574,7 +2589,7 @@ class DbSystemClient {
|
|
|
2574
2589
|
"opc-request-id": stopAnalyticsClusterRequest.opcRequestId,
|
|
2575
2590
|
"opc-retry-token": stopAnalyticsClusterRequest.opcRetryToken
|
|
2576
2591
|
};
|
|
2577
|
-
const specRetryConfiguration = common.
|
|
2592
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2578
2593
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2579
2594
|
if (this.logger)
|
|
2580
2595
|
retrier.logger = this.logger;
|
|
@@ -2616,11 +2631,11 @@ class DbSystemClient {
|
|
|
2616
2631
|
* <p>
|
|
2617
2632
|
A stopped DB System is not billed.
|
|
2618
2633
|
*
|
|
2619
|
-
* This operation
|
|
2634
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2620
2635
|
* @param StopDbSystemRequest
|
|
2621
2636
|
* @return StopDbSystemResponse
|
|
2622
2637
|
* @throws OciError when an error occurs
|
|
2623
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2638
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2624
2639
|
*/
|
|
2625
2640
|
stopDbSystem(stopDbSystemRequest) {
|
|
2626
2641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2636,7 +2651,7 @@ class DbSystemClient {
|
|
|
2636
2651
|
"opc-request-id": stopDbSystemRequest.opcRequestId,
|
|
2637
2652
|
"opc-retry-token": stopDbSystemRequest.opcRetryToken
|
|
2638
2653
|
};
|
|
2639
|
-
const specRetryConfiguration = common.
|
|
2654
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2640
2655
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2641
2656
|
if (this.logger)
|
|
2642
2657
|
retrier.logger = this.logger;
|
|
@@ -2676,11 +2691,11 @@ class DbSystemClient {
|
|
|
2676
2691
|
}
|
|
2677
2692
|
/**
|
|
2678
2693
|
* Stops the HeatWave cluster.
|
|
2679
|
-
* This operation
|
|
2694
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2680
2695
|
* @param StopHeatWaveClusterRequest
|
|
2681
2696
|
* @return StopHeatWaveClusterResponse
|
|
2682
2697
|
* @throws OciError when an error occurs
|
|
2683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2698
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2684
2699
|
*/
|
|
2685
2700
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2686
2701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2696,7 +2711,7 @@ class DbSystemClient {
|
|
|
2696
2711
|
"opc-request-id": stopHeatWaveClusterRequest.opcRequestId,
|
|
2697
2712
|
"opc-retry-token": stopHeatWaveClusterRequest.opcRetryToken
|
|
2698
2713
|
};
|
|
2699
|
-
const specRetryConfiguration = common.
|
|
2714
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2700
2715
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2701
2716
|
if (this.logger)
|
|
2702
2717
|
retrier.logger = this.logger;
|
|
@@ -2737,11 +2752,11 @@ class DbSystemClient {
|
|
|
2737
2752
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2738
2753
|
* Updates the Analytics Cluster.
|
|
2739
2754
|
*
|
|
2740
|
-
* This operation
|
|
2755
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2741
2756
|
* @param UpdateAnalyticsClusterRequest
|
|
2742
2757
|
* @return UpdateAnalyticsClusterResponse
|
|
2743
2758
|
* @throws OciError when an error occurs
|
|
2744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2759
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2745
2760
|
*/
|
|
2746
2761
|
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2747
2762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2756,7 +2771,7 @@ class DbSystemClient {
|
|
|
2756
2771
|
"if-match": updateAnalyticsClusterRequest.ifMatch,
|
|
2757
2772
|
"opc-request-id": updateAnalyticsClusterRequest.opcRequestId
|
|
2758
2773
|
};
|
|
2759
|
-
const specRetryConfiguration = common.
|
|
2774
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2760
2775
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2761
2776
|
if (this.logger)
|
|
2762
2777
|
retrier.logger = this.logger;
|
|
@@ -2804,11 +2819,11 @@ class DbSystemClient {
|
|
|
2804
2819
|
* Compute resources, pausing the DB System and migrating storage
|
|
2805
2820
|
* before making the DB System available again.
|
|
2806
2821
|
*
|
|
2807
|
-
* This operation
|
|
2822
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2808
2823
|
* @param UpdateDbSystemRequest
|
|
2809
2824
|
* @return UpdateDbSystemResponse
|
|
2810
2825
|
* @throws OciError when an error occurs
|
|
2811
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2812
2827
|
*/
|
|
2813
2828
|
updateDbSystem(updateDbSystemRequest) {
|
|
2814
2829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2823,7 +2838,7 @@ class DbSystemClient {
|
|
|
2823
2838
|
"if-match": updateDbSystemRequest.ifMatch,
|
|
2824
2839
|
"opc-request-id": updateDbSystemRequest.opcRequestId
|
|
2825
2840
|
};
|
|
2826
|
-
const specRetryConfiguration = common.
|
|
2841
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2827
2842
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2828
2843
|
if (this.logger)
|
|
2829
2844
|
retrier.logger = this.logger;
|
|
@@ -2864,11 +2879,11 @@ class DbSystemClient {
|
|
|
2864
2879
|
/**
|
|
2865
2880
|
* Updates the HeatWave cluster.
|
|
2866
2881
|
*
|
|
2867
|
-
* This operation
|
|
2882
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2868
2883
|
* @param UpdateHeatWaveClusterRequest
|
|
2869
2884
|
* @return UpdateHeatWaveClusterResponse
|
|
2870
2885
|
* @throws OciError when an error occurs
|
|
2871
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2872
2887
|
*/
|
|
2873
2888
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2874
2889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2883,7 +2898,7 @@ class DbSystemClient {
|
|
|
2883
2898
|
"if-match": updateHeatWaveClusterRequest.ifMatch,
|
|
2884
2899
|
"opc-request-id": updateHeatWaveClusterRequest.opcRequestId
|
|
2885
2900
|
};
|
|
2886
|
-
const specRetryConfiguration = common.
|
|
2901
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2887
2902
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2888
2903
|
if (this.logger)
|
|
2889
2904
|
retrier.logger = this.logger;
|
|
@@ -2936,6 +2951,7 @@ class MysqlaasClient {
|
|
|
2936
2951
|
this["_endpoint"] = "";
|
|
2937
2952
|
this["_defaultHeaders"] = {};
|
|
2938
2953
|
this._circuitBreaker = null;
|
|
2954
|
+
this._httpOptions = undefined;
|
|
2939
2955
|
const requestSigner = params.authenticationDetailsProvider
|
|
2940
2956
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2941
2957
|
: null;
|
|
@@ -2944,6 +2960,9 @@ class MysqlaasClient {
|
|
|
2944
2960
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
2945
2961
|
? clientConfiguration.circuitBreaker.circuit
|
|
2946
2962
|
: null;
|
|
2963
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
2964
|
+
? clientConfiguration.httpOptions
|
|
2965
|
+
: undefined;
|
|
2947
2966
|
}
|
|
2948
2967
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2949
2968
|
const specCircuitBreakerEnabled = true;
|
|
@@ -2953,7 +2972,8 @@ class MysqlaasClient {
|
|
|
2953
2972
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2954
2973
|
}
|
|
2955
2974
|
this._httpClient =
|
|
2956
|
-
params.httpClient ||
|
|
2975
|
+
params.httpClient ||
|
|
2976
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
2957
2977
|
if (params.authenticationDetailsProvider &&
|
|
2958
2978
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
2959
2979
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -3027,7 +3047,7 @@ class MysqlaasClient {
|
|
|
3027
3047
|
* @param CreateConfigurationRequest
|
|
3028
3048
|
* @return CreateConfigurationResponse
|
|
3029
3049
|
* @throws OciError when an error occurs
|
|
3030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3050
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
3031
3051
|
*/
|
|
3032
3052
|
createConfiguration(createConfigurationRequest) {
|
|
3033
3053
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3096,11 +3116,11 @@ class MysqlaasClient {
|
|
|
3096
3116
|
* Deletes a Configuration.
|
|
3097
3117
|
* The Configuration must not be in use by any DB Systems.
|
|
3098
3118
|
*
|
|
3099
|
-
* This operation
|
|
3119
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3100
3120
|
* @param DeleteConfigurationRequest
|
|
3101
3121
|
* @return DeleteConfigurationResponse
|
|
3102
3122
|
* @throws OciError when an error occurs
|
|
3103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
3104
3124
|
*/
|
|
3105
3125
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
3106
3126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3115,7 +3135,7 @@ class MysqlaasClient {
|
|
|
3115
3135
|
"if-match": deleteConfigurationRequest.ifMatch,
|
|
3116
3136
|
"opc-request-id": deleteConfigurationRequest.opcRequestId
|
|
3117
3137
|
};
|
|
3118
|
-
const specRetryConfiguration = common.
|
|
3138
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3119
3139
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3120
3140
|
if (this.logger)
|
|
3121
3141
|
retrier.logger = this.logger;
|
|
@@ -3150,11 +3170,11 @@ class MysqlaasClient {
|
|
|
3150
3170
|
/**
|
|
3151
3171
|
* Get the full details of the specified Configuration, including the list of MySQL Variables and their values.
|
|
3152
3172
|
*
|
|
3153
|
-
* This operation
|
|
3173
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3154
3174
|
* @param GetConfigurationRequest
|
|
3155
3175
|
* @return GetConfigurationResponse
|
|
3156
3176
|
* @throws OciError when an error occurs
|
|
3157
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3177
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
3158
3178
|
*/
|
|
3159
3179
|
getConfiguration(getConfigurationRequest) {
|
|
3160
3180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3169,7 +3189,7 @@ class MysqlaasClient {
|
|
|
3169
3189
|
"opc-request-id": getConfigurationRequest.opcRequestId,
|
|
3170
3190
|
"if-none-match": getConfigurationRequest.ifNoneMatch
|
|
3171
3191
|
};
|
|
3172
|
-
const specRetryConfiguration = common.
|
|
3192
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3173
3193
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3174
3194
|
if (this.logger)
|
|
3175
3195
|
retrier.logger = this.logger;
|
|
@@ -3220,11 +3240,11 @@ class MysqlaasClient {
|
|
|
3220
3240
|
* - DEFAULT-before-CUSTOM
|
|
3221
3241
|
* - displayName ascending
|
|
3222
3242
|
*
|
|
3223
|
-
* This operation
|
|
3243
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3224
3244
|
* @param ListConfigurationsRequest
|
|
3225
3245
|
* @return ListConfigurationsResponse
|
|
3226
3246
|
* @throws OciError when an error occurs
|
|
3227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3228
3248
|
*/
|
|
3229
3249
|
listConfigurations(listConfigurationsRequest) {
|
|
3230
3250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3247,7 +3267,7 @@ class MysqlaasClient {
|
|
|
3247
3267
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3248
3268
|
"opc-request-id": listConfigurationsRequest.opcRequestId
|
|
3249
3269
|
};
|
|
3250
|
-
const specRetryConfiguration = common.
|
|
3270
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3251
3271
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3252
3272
|
if (this.logger)
|
|
3253
3273
|
retrier.logger = this.logger;
|
|
@@ -3334,11 +3354,11 @@ class MysqlaasClient {
|
|
|
3334
3354
|
* CPU cores and memory for VM shapes; CPU cores, memory and
|
|
3335
3355
|
* storage for non-VM (or bare metal) shapes.
|
|
3336
3356
|
*
|
|
3337
|
-
* This operation
|
|
3357
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3338
3358
|
* @param ListShapesRequest
|
|
3339
3359
|
* @return ListShapesResponse
|
|
3340
3360
|
* @throws OciError when an error occurs
|
|
3341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3342
3362
|
*/
|
|
3343
3363
|
listShapes(listShapesRequest) {
|
|
3344
3364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3355,7 +3375,7 @@ class MysqlaasClient {
|
|
|
3355
3375
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3356
3376
|
"opc-request-id": listShapesRequest.opcRequestId
|
|
3357
3377
|
};
|
|
3358
|
-
const specRetryConfiguration = common.
|
|
3378
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3359
3379
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3360
3380
|
if (this.logger)
|
|
3361
3381
|
retrier.logger = this.logger;
|
|
@@ -3396,11 +3416,11 @@ class MysqlaasClient {
|
|
|
3396
3416
|
* <p>
|
|
3397
3417
|
The list is sorted by version family.
|
|
3398
3418
|
*
|
|
3399
|
-
* This operation
|
|
3419
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3400
3420
|
* @param ListVersionsRequest
|
|
3401
3421
|
* @return ListVersionsResponse
|
|
3402
3422
|
* @throws OciError when an error occurs
|
|
3403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3404
3424
|
*/
|
|
3405
3425
|
listVersions(listVersionsRequest) {
|
|
3406
3426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3414,7 +3434,7 @@ class MysqlaasClient {
|
|
|
3414
3434
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3415
3435
|
"opc-request-id": listVersionsRequest.opcRequestId
|
|
3416
3436
|
};
|
|
3417
|
-
const specRetryConfiguration = common.
|
|
3437
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3418
3438
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3419
3439
|
if (this.logger)
|
|
3420
3440
|
retrier.logger = this.logger;
|
|
@@ -3452,11 +3472,11 @@ class MysqlaasClient {
|
|
|
3452
3472
|
}
|
|
3453
3473
|
/**
|
|
3454
3474
|
* Updates the Configuration details.
|
|
3455
|
-
* This operation
|
|
3475
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3456
3476
|
* @param UpdateConfigurationRequest
|
|
3457
3477
|
* @return UpdateConfigurationResponse
|
|
3458
3478
|
* @throws OciError when an error occurs
|
|
3459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3460
3480
|
*/
|
|
3461
3481
|
updateConfiguration(updateConfigurationRequest) {
|
|
3462
3482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3471,7 +3491,7 @@ class MysqlaasClient {
|
|
|
3471
3491
|
"if-match": updateConfigurationRequest.ifMatch,
|
|
3472
3492
|
"opc-request-id": updateConfigurationRequest.opcRequestId
|
|
3473
3493
|
};
|
|
3474
|
-
const specRetryConfiguration = common.
|
|
3494
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3475
3495
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3476
3496
|
if (this.logger)
|
|
3477
3497
|
retrier.logger = this.logger;
|
|
@@ -3528,6 +3548,7 @@ class WorkRequestsClient {
|
|
|
3528
3548
|
this["_endpoint"] = "";
|
|
3529
3549
|
this["_defaultHeaders"] = {};
|
|
3530
3550
|
this._circuitBreaker = null;
|
|
3551
|
+
this._httpOptions = undefined;
|
|
3531
3552
|
const requestSigner = params.authenticationDetailsProvider
|
|
3532
3553
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3533
3554
|
: null;
|
|
@@ -3536,6 +3557,9 @@ class WorkRequestsClient {
|
|
|
3536
3557
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
3537
3558
|
? clientConfiguration.circuitBreaker.circuit
|
|
3538
3559
|
: null;
|
|
3560
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
3561
|
+
? clientConfiguration.httpOptions
|
|
3562
|
+
: undefined;
|
|
3539
3563
|
}
|
|
3540
3564
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3541
3565
|
const specCircuitBreakerEnabled = true;
|
|
@@ -3545,7 +3569,8 @@ class WorkRequestsClient {
|
|
|
3545
3569
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
3546
3570
|
}
|
|
3547
3571
|
this._httpClient =
|
|
3548
|
-
params.httpClient ||
|
|
3572
|
+
params.httpClient ||
|
|
3573
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
3549
3574
|
if (params.authenticationDetailsProvider &&
|
|
3550
3575
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
3551
3576
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -3615,11 +3640,11 @@ class WorkRequestsClient {
|
|
|
3615
3640
|
}
|
|
3616
3641
|
/**
|
|
3617
3642
|
* Gets the status of the work request with the given ID.
|
|
3618
|
-
* This operation
|
|
3643
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3619
3644
|
* @param GetWorkRequestRequest
|
|
3620
3645
|
* @return GetWorkRequestResponse
|
|
3621
3646
|
* @throws OciError when an error occurs
|
|
3622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3647
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3623
3648
|
*/
|
|
3624
3649
|
getWorkRequest(getWorkRequestRequest) {
|
|
3625
3650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3634,7 +3659,7 @@ class WorkRequestsClient {
|
|
|
3634
3659
|
"if-none-match": getWorkRequestRequest.ifNoneMatch,
|
|
3635
3660
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
3636
3661
|
};
|
|
3637
|
-
const specRetryConfiguration = common.
|
|
3662
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3638
3663
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3639
3664
|
if (this.logger)
|
|
3640
3665
|
retrier.logger = this.logger;
|
|
@@ -3683,11 +3708,11 @@ class WorkRequestsClient {
|
|
|
3683
3708
|
/**
|
|
3684
3709
|
* Return a (paginated) list of errors for a given work request.
|
|
3685
3710
|
*
|
|
3686
|
-
* This operation
|
|
3711
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3687
3712
|
* @param ListWorkRequestErrorsRequest
|
|
3688
3713
|
* @return ListWorkRequestErrorsResponse
|
|
3689
3714
|
* @throws OciError when an error occurs
|
|
3690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3715
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3691
3716
|
*/
|
|
3692
3717
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3693
3718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3704,7 +3729,7 @@ class WorkRequestsClient {
|
|
|
3704
3729
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3705
3730
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3706
3731
|
};
|
|
3707
|
-
const specRetryConfiguration = common.
|
|
3732
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3708
3733
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3709
3734
|
if (this.logger)
|
|
3710
3735
|
retrier.logger = this.logger;
|
|
@@ -3788,11 +3813,11 @@ class WorkRequestsClient {
|
|
|
3788
3813
|
/**
|
|
3789
3814
|
* Return a (paginated) list of logs for a given work request.
|
|
3790
3815
|
*
|
|
3791
|
-
* This operation
|
|
3816
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3792
3817
|
* @param ListWorkRequestLogsRequest
|
|
3793
3818
|
* @return ListWorkRequestLogsResponse
|
|
3794
3819
|
* @throws OciError when an error occurs
|
|
3795
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3820
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3796
3821
|
*/
|
|
3797
3822
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3798
3823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3809,7 +3834,7 @@ class WorkRequestsClient {
|
|
|
3809
3834
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3810
3835
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3811
3836
|
};
|
|
3812
|
-
const specRetryConfiguration = common.
|
|
3837
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3813
3838
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3814
3839
|
if (this.logger)
|
|
3815
3840
|
retrier.logger = this.logger;
|
|
@@ -3893,11 +3918,11 @@ class WorkRequestsClient {
|
|
|
3893
3918
|
/**
|
|
3894
3919
|
* Lists the work requests in a specified compartment.
|
|
3895
3920
|
*
|
|
3896
|
-
* This operation
|
|
3921
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3897
3922
|
* @param ListWorkRequestsRequest
|
|
3898
3923
|
* @return ListWorkRequestsResponse
|
|
3899
3924
|
* @throws OciError when an error occurs
|
|
3900
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3925
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3901
3926
|
*/
|
|
3902
3927
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3903
3928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3915,7 +3940,7 @@ class WorkRequestsClient {
|
|
|
3915
3940
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3916
3941
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3917
3942
|
};
|
|
3918
|
-
const specRetryConfiguration = common.
|
|
3943
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3919
3944
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3920
3945
|
if (this.logger)
|
|
3921
3946
|
retrier.logger = this.logger;
|