oci-mysql 2.5.1 → 2.7.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +115 -50
- package/lib/client.js +250 -100
- package/lib/client.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
|
@@ -56,6 +56,9 @@ const oci_common_2 = require("oci-common");
|
|
|
56
56
|
var ChannelsApiKeys;
|
|
57
57
|
(function (ChannelsApiKeys) {
|
|
58
58
|
})(ChannelsApiKeys = exports.ChannelsApiKeys || (exports.ChannelsApiKeys = {}));
|
|
59
|
+
/**
|
|
60
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
61
|
+
*/
|
|
59
62
|
class ChannelsClient {
|
|
60
63
|
constructor(params, clientConfiguration) {
|
|
61
64
|
this["_endpoint"] = "";
|
|
@@ -70,6 +73,13 @@ class ChannelsClient {
|
|
|
70
73
|
? clientConfiguration.circuitBreaker.circuit
|
|
71
74
|
: null;
|
|
72
75
|
}
|
|
76
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
77
|
+
const specCircuitBreakerEnabled = false;
|
|
78
|
+
if (!this._circuitBreaker &&
|
|
79
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
80
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
81
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
82
|
+
}
|
|
73
83
|
this._httpClient =
|
|
74
84
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
75
85
|
if (params.authenticationDetailsProvider &&
|
|
@@ -142,10 +152,11 @@ class ChannelsClient {
|
|
|
142
152
|
/**
|
|
143
153
|
* Creates a Channel to establish replication from a source to a target.
|
|
144
154
|
*
|
|
155
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
145
156
|
* @param CreateChannelRequest
|
|
146
157
|
* @return CreateChannelResponse
|
|
147
158
|
* @throws OciError when an error occurs
|
|
148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
149
160
|
*/
|
|
150
161
|
createChannel(createChannelRequest) {
|
|
151
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -158,7 +169,8 @@ class ChannelsClient {
|
|
|
158
169
|
"opc-request-id": createChannelRequest.opcRequestId,
|
|
159
170
|
"opc-retry-token": createChannelRequest.opcRetryToken
|
|
160
171
|
};
|
|
161
|
-
const
|
|
172
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
173
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
162
174
|
if (this.logger)
|
|
163
175
|
retrier.logger = this.logger;
|
|
164
176
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -206,10 +218,11 @@ class ChannelsClient {
|
|
|
206
218
|
}
|
|
207
219
|
/**
|
|
208
220
|
* Deletes the specified Channel.
|
|
221
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
209
222
|
* @param DeleteChannelRequest
|
|
210
223
|
* @return DeleteChannelResponse
|
|
211
224
|
* @throws OciError when an error occurs
|
|
212
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
213
226
|
*/
|
|
214
227
|
deleteChannel(deleteChannelRequest) {
|
|
215
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -224,7 +237,8 @@ class ChannelsClient {
|
|
|
224
237
|
"if-match": deleteChannelRequest.ifMatch,
|
|
225
238
|
"opc-request-id": deleteChannelRequest.opcRequestId
|
|
226
239
|
};
|
|
227
|
-
const
|
|
240
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
241
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
228
242
|
if (this.logger)
|
|
229
243
|
retrier.logger = this.logger;
|
|
230
244
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -265,10 +279,11 @@ class ChannelsClient {
|
|
|
265
279
|
* configuration parameters (passwords are omitted), as well as information about
|
|
266
280
|
* the state of the Channel, its sources and targets.
|
|
267
281
|
*
|
|
282
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
268
283
|
* @param GetChannelRequest
|
|
269
284
|
* @return GetChannelResponse
|
|
270
285
|
* @throws OciError when an error occurs
|
|
271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
272
287
|
*/
|
|
273
288
|
getChannel(getChannelRequest) {
|
|
274
289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -283,7 +298,8 @@ class ChannelsClient {
|
|
|
283
298
|
"opc-request-id": getChannelRequest.opcRequestId,
|
|
284
299
|
"if-none-match": getChannelRequest.ifNoneMatch
|
|
285
300
|
};
|
|
286
|
-
const
|
|
301
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
302
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
287
303
|
if (this.logger)
|
|
288
304
|
retrier.logger = this.logger;
|
|
289
305
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -325,10 +341,11 @@ class ChannelsClient {
|
|
|
325
341
|
}
|
|
326
342
|
/**
|
|
327
343
|
* Lists all the Channels that match the specified filters.
|
|
344
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
328
345
|
* @param ListChannelsRequest
|
|
329
346
|
* @return ListChannelsResponse
|
|
330
347
|
* @throws OciError when an error occurs
|
|
331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
332
349
|
*/
|
|
333
350
|
listChannels(listChannelsRequest) {
|
|
334
351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -351,7 +368,8 @@ class ChannelsClient {
|
|
|
351
368
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
352
369
|
"opc-request-id": listChannelsRequest.opcRequestId
|
|
353
370
|
};
|
|
354
|
-
const
|
|
371
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
372
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
|
|
355
373
|
if (this.logger)
|
|
356
374
|
retrier.logger = this.logger;
|
|
357
375
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -435,10 +453,11 @@ class ChannelsClient {
|
|
|
435
453
|
* Resets the specified Channel by purging its cached information, leaving the Channel
|
|
436
454
|
* as if it had just been created. This operation is only accepted in Inactive Channels.
|
|
437
455
|
*
|
|
456
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
438
457
|
* @param ResetChannelRequest
|
|
439
458
|
* @return ResetChannelResponse
|
|
440
459
|
* @throws OciError when an error occurs
|
|
441
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
442
461
|
*/
|
|
443
462
|
resetChannel(resetChannelRequest) {
|
|
444
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -454,7 +473,8 @@ class ChannelsClient {
|
|
|
454
473
|
"opc-request-id": resetChannelRequest.opcRequestId,
|
|
455
474
|
"opc-retry-token": resetChannelRequest.opcRetryToken
|
|
456
475
|
};
|
|
457
|
-
const
|
|
476
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
477
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
458
478
|
if (this.logger)
|
|
459
479
|
retrier.logger = this.logger;
|
|
460
480
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -495,10 +515,11 @@ class ChannelsClient {
|
|
|
495
515
|
* requires that the error that cause the Channel to become Inactive has already been fixed,
|
|
496
516
|
* otherwise the operation may fail.
|
|
497
517
|
*
|
|
518
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
498
519
|
* @param ResumeChannelRequest
|
|
499
520
|
* @return ResumeChannelResponse
|
|
500
521
|
* @throws OciError when an error occurs
|
|
501
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
522
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
502
523
|
*/
|
|
503
524
|
resumeChannel(resumeChannelRequest) {
|
|
504
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -514,7 +535,8 @@ class ChannelsClient {
|
|
|
514
535
|
"opc-request-id": resumeChannelRequest.opcRequestId,
|
|
515
536
|
"opc-retry-token": resumeChannelRequest.opcRetryToken
|
|
516
537
|
};
|
|
517
|
-
const
|
|
538
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
539
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
518
540
|
if (this.logger)
|
|
519
541
|
retrier.logger = this.logger;
|
|
520
542
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -556,10 +578,11 @@ class ChannelsClient {
|
|
|
556
578
|
* parameters to the Channel and the Channel may become temporarily unavailable. Otherwise, the
|
|
557
579
|
* new configuration will be applied the next time the Channel becomes Active.
|
|
558
580
|
*
|
|
581
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
559
582
|
* @param UpdateChannelRequest
|
|
560
583
|
* @return UpdateChannelResponse
|
|
561
584
|
* @throws OciError when an error occurs
|
|
562
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
585
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
563
586
|
*/
|
|
564
587
|
updateChannel(updateChannelRequest) {
|
|
565
588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -575,7 +598,8 @@ class ChannelsClient {
|
|
|
575
598
|
"opc-request-id": updateChannelRequest.opcRequestId,
|
|
576
599
|
"opc-retry-token": updateChannelRequest.opcRetryToken
|
|
577
600
|
};
|
|
578
|
-
const
|
|
601
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
602
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
579
603
|
if (this.logger)
|
|
580
604
|
retrier.logger = this.logger;
|
|
581
605
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -618,6 +642,9 @@ ChannelsClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLeve
|
|
|
618
642
|
var DbBackupsApiKeys;
|
|
619
643
|
(function (DbBackupsApiKeys) {
|
|
620
644
|
})(DbBackupsApiKeys = exports.DbBackupsApiKeys || (exports.DbBackupsApiKeys = {}));
|
|
645
|
+
/**
|
|
646
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
647
|
+
*/
|
|
621
648
|
class DbBackupsClient {
|
|
622
649
|
constructor(params, clientConfiguration) {
|
|
623
650
|
this["_endpoint"] = "";
|
|
@@ -632,6 +659,13 @@ class DbBackupsClient {
|
|
|
632
659
|
? clientConfiguration.circuitBreaker.circuit
|
|
633
660
|
: null;
|
|
634
661
|
}
|
|
662
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
663
|
+
const specCircuitBreakerEnabled = false;
|
|
664
|
+
if (!this._circuitBreaker &&
|
|
665
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
666
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
667
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
668
|
+
}
|
|
635
669
|
this._httpClient =
|
|
636
670
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
637
671
|
if (params.authenticationDetailsProvider &&
|
|
@@ -705,10 +739,11 @@ class DbBackupsClient {
|
|
|
705
739
|
* Moves a DB System Backup into a different compartment.
|
|
706
740
|
* When provided, If-Match is checked against ETag values of the Backup.
|
|
707
741
|
*
|
|
742
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
708
743
|
* @param ChangeBackupCompartmentRequest
|
|
709
744
|
* @return ChangeBackupCompartmentResponse
|
|
710
745
|
* @throws OciError when an error occurs
|
|
711
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
712
747
|
*/
|
|
713
748
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
714
749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -724,7 +759,8 @@ class DbBackupsClient {
|
|
|
724
759
|
"opc-request-id": changeBackupCompartmentRequest.opcRequestId,
|
|
725
760
|
"opc-retry-token": changeBackupCompartmentRequest.opcRetryToken
|
|
726
761
|
};
|
|
727
|
-
const
|
|
762
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
763
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBackupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
728
764
|
if (this.logger)
|
|
729
765
|
retrier.logger = this.logger;
|
|
730
766
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -764,10 +800,11 @@ class DbBackupsClient {
|
|
|
764
800
|
/**
|
|
765
801
|
* Create a backup of a DB System.
|
|
766
802
|
*
|
|
803
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
767
804
|
* @param CreateBackupRequest
|
|
768
805
|
* @return CreateBackupResponse
|
|
769
806
|
* @throws OciError when an error occurs
|
|
770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
807
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
771
808
|
*/
|
|
772
809
|
createBackup(createBackupRequest) {
|
|
773
810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -780,7 +817,8 @@ class DbBackupsClient {
|
|
|
780
817
|
"opc-request-id": createBackupRequest.opcRequestId,
|
|
781
818
|
"opc-retry-token": createBackupRequest.opcRetryToken
|
|
782
819
|
};
|
|
783
|
-
const
|
|
820
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
821
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
784
822
|
if (this.logger)
|
|
785
823
|
retrier.logger = this.logger;
|
|
786
824
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -829,10 +867,11 @@ class DbBackupsClient {
|
|
|
829
867
|
/**
|
|
830
868
|
* Delete a Backup.
|
|
831
869
|
*
|
|
870
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
832
871
|
* @param DeleteBackupRequest
|
|
833
872
|
* @return DeleteBackupResponse
|
|
834
873
|
* @throws OciError when an error occurs
|
|
835
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
836
875
|
*/
|
|
837
876
|
deleteBackup(deleteBackupRequest) {
|
|
838
877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -847,7 +886,8 @@ class DbBackupsClient {
|
|
|
847
886
|
"if-match": deleteBackupRequest.ifMatch,
|
|
848
887
|
"opc-request-id": deleteBackupRequest.opcRequestId
|
|
849
888
|
};
|
|
850
|
-
const
|
|
889
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
890
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
851
891
|
if (this.logger)
|
|
852
892
|
retrier.logger = this.logger;
|
|
853
893
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -885,10 +925,11 @@ class DbBackupsClient {
|
|
|
885
925
|
}
|
|
886
926
|
/**
|
|
887
927
|
* Get information about the specified Backup
|
|
928
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
888
929
|
* @param GetBackupRequest
|
|
889
930
|
* @return GetBackupResponse
|
|
890
931
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
932
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
892
933
|
*/
|
|
893
934
|
getBackup(getBackupRequest) {
|
|
894
935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -903,7 +944,8 @@ class DbBackupsClient {
|
|
|
903
944
|
"opc-request-id": getBackupRequest.opcRequestId,
|
|
904
945
|
"if-none-match": getBackupRequest.ifNoneMatch
|
|
905
946
|
};
|
|
906
|
-
const
|
|
947
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
948
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
907
949
|
if (this.logger)
|
|
908
950
|
retrier.logger = this.logger;
|
|
909
951
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -946,10 +988,11 @@ class DbBackupsClient {
|
|
|
946
988
|
/**
|
|
947
989
|
* Get a list of DB System backups.
|
|
948
990
|
*
|
|
991
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
949
992
|
* @param ListBackupsRequest
|
|
950
993
|
* @return ListBackupsResponse
|
|
951
994
|
* @throws OciError when an error occurs
|
|
952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
995
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
953
996
|
*/
|
|
954
997
|
listBackups(listBackupsRequest) {
|
|
955
998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -972,7 +1015,8 @@ class DbBackupsClient {
|
|
|
972
1015
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
973
1016
|
"opc-request-id": listBackupsRequest.opcRequestId
|
|
974
1017
|
};
|
|
975
|
-
const
|
|
1018
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1019
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
976
1020
|
if (this.logger)
|
|
977
1021
|
retrier.logger = this.logger;
|
|
978
1022
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1054,10 +1098,11 @@ class DbBackupsClient {
|
|
|
1054
1098
|
}
|
|
1055
1099
|
/**
|
|
1056
1100
|
* Update the metadata of a Backup. Metadata such as the displayName or description
|
|
1101
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1057
1102
|
* @param UpdateBackupRequest
|
|
1058
1103
|
* @return UpdateBackupResponse
|
|
1059
1104
|
* @throws OciError when an error occurs
|
|
1060
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1105
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1061
1106
|
*/
|
|
1062
1107
|
updateBackup(updateBackupRequest) {
|
|
1063
1108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1072,7 +1117,8 @@ class DbBackupsClient {
|
|
|
1072
1117
|
"if-match": updateBackupRequest.ifMatch,
|
|
1073
1118
|
"opc-request-id": updateBackupRequest.opcRequestId
|
|
1074
1119
|
};
|
|
1075
|
-
const
|
|
1120
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1121
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1076
1122
|
if (this.logger)
|
|
1077
1123
|
retrier.logger = this.logger;
|
|
1078
1124
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1110,6 +1156,9 @@ DbBackupsClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLev
|
|
|
1110
1156
|
var DbSystemApiKeys;
|
|
1111
1157
|
(function (DbSystemApiKeys) {
|
|
1112
1158
|
})(DbSystemApiKeys = exports.DbSystemApiKeys || (exports.DbSystemApiKeys = {}));
|
|
1159
|
+
/**
|
|
1160
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
1161
|
+
*/
|
|
1113
1162
|
class DbSystemClient {
|
|
1114
1163
|
constructor(params, clientConfiguration) {
|
|
1115
1164
|
this["_endpoint"] = "";
|
|
@@ -1124,6 +1173,13 @@ class DbSystemClient {
|
|
|
1124
1173
|
? clientConfiguration.circuitBreaker.circuit
|
|
1125
1174
|
: null;
|
|
1126
1175
|
}
|
|
1176
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1177
|
+
const specCircuitBreakerEnabled = false;
|
|
1178
|
+
if (!this._circuitBreaker &&
|
|
1179
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
1180
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1181
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1182
|
+
}
|
|
1127
1183
|
this._httpClient =
|
|
1128
1184
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
1129
1185
|
if (params.authenticationDetailsProvider &&
|
|
@@ -1197,10 +1253,11 @@ class DbSystemClient {
|
|
|
1197
1253
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1198
1254
|
* Adds an Analytics Cluster to the DB System.
|
|
1199
1255
|
*
|
|
1256
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1200
1257
|
* @param AddAnalyticsClusterRequest
|
|
1201
1258
|
* @return AddAnalyticsClusterResponse
|
|
1202
1259
|
* @throws OciError when an error occurs
|
|
1203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1204
1261
|
*/
|
|
1205
1262
|
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1206
1263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1216,7 +1273,8 @@ class DbSystemClient {
|
|
|
1216
1273
|
"opc-request-id": addAnalyticsClusterRequest.opcRequestId,
|
|
1217
1274
|
"opc-retry-token": addAnalyticsClusterRequest.opcRetryToken
|
|
1218
1275
|
};
|
|
1219
|
-
const
|
|
1276
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1277
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1220
1278
|
if (this.logger)
|
|
1221
1279
|
retrier.logger = this.logger;
|
|
1222
1280
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1265,10 +1323,11 @@ class DbSystemClient {
|
|
|
1265
1323
|
/**
|
|
1266
1324
|
* Adds a HeatWave cluster to the DB System.
|
|
1267
1325
|
*
|
|
1326
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1268
1327
|
* @param AddHeatWaveClusterRequest
|
|
1269
1328
|
* @return AddHeatWaveClusterResponse
|
|
1270
1329
|
* @throws OciError when an error occurs
|
|
1271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1272
1331
|
*/
|
|
1273
1332
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1274
1333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1284,7 +1343,8 @@ class DbSystemClient {
|
|
|
1284
1343
|
"opc-request-id": addHeatWaveClusterRequest.opcRequestId,
|
|
1285
1344
|
"opc-retry-token": addHeatWaveClusterRequest.opcRetryToken
|
|
1286
1345
|
};
|
|
1287
|
-
const
|
|
1346
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1347
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1288
1348
|
if (this.logger)
|
|
1289
1349
|
retrier.logger = this.logger;
|
|
1290
1350
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1333,10 +1393,11 @@ class DbSystemClient {
|
|
|
1333
1393
|
/**
|
|
1334
1394
|
* Creates and launches a DB System.
|
|
1335
1395
|
*
|
|
1396
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1336
1397
|
* @param CreateDbSystemRequest
|
|
1337
1398
|
* @return CreateDbSystemResponse
|
|
1338
1399
|
* @throws OciError when an error occurs
|
|
1339
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1340
1401
|
*/
|
|
1341
1402
|
createDbSystem(createDbSystemRequest) {
|
|
1342
1403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1349,7 +1410,8 @@ class DbSystemClient {
|
|
|
1349
1410
|
"opc-request-id": createDbSystemRequest.opcRequestId,
|
|
1350
1411
|
"opc-retry-token": createDbSystemRequest.opcRetryToken
|
|
1351
1412
|
};
|
|
1352
|
-
const
|
|
1413
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1414
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1353
1415
|
if (this.logger)
|
|
1354
1416
|
retrier.logger = this.logger;
|
|
1355
1417
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1405,10 +1467,11 @@ class DbSystemClient {
|
|
|
1405
1467
|
* Deletes the Analytics Cluster including terminating, detaching, removing, finalizing and
|
|
1406
1468
|
* otherwise deleting all related resources.
|
|
1407
1469
|
*
|
|
1470
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1408
1471
|
* @param DeleteAnalyticsClusterRequest
|
|
1409
1472
|
* @return DeleteAnalyticsClusterResponse
|
|
1410
1473
|
* @throws OciError when an error occurs
|
|
1411
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1412
1475
|
*/
|
|
1413
1476
|
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1414
1477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1423,7 +1486,8 @@ class DbSystemClient {
|
|
|
1423
1486
|
"if-match": deleteAnalyticsClusterRequest.ifMatch,
|
|
1424
1487
|
"opc-request-id": deleteAnalyticsClusterRequest.opcRequestId
|
|
1425
1488
|
};
|
|
1426
|
-
const
|
|
1489
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1490
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1427
1491
|
if (this.logger)
|
|
1428
1492
|
retrier.logger = this.logger;
|
|
1429
1493
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1463,10 +1527,11 @@ class DbSystemClient {
|
|
|
1463
1527
|
* Delete a DB System, including terminating, detaching,
|
|
1464
1528
|
* removing, finalizing and otherwise deleting all related resources.
|
|
1465
1529
|
*
|
|
1530
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1466
1531
|
* @param DeleteDbSystemRequest
|
|
1467
1532
|
* @return DeleteDbSystemResponse
|
|
1468
1533
|
* @throws OciError when an error occurs
|
|
1469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1470
1535
|
*/
|
|
1471
1536
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1472
1537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1481,7 +1546,8 @@ class DbSystemClient {
|
|
|
1481
1546
|
"if-match": deleteDbSystemRequest.ifMatch,
|
|
1482
1547
|
"opc-request-id": deleteDbSystemRequest.opcRequestId
|
|
1483
1548
|
};
|
|
1484
|
-
const
|
|
1549
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1550
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1485
1551
|
if (this.logger)
|
|
1486
1552
|
retrier.logger = this.logger;
|
|
1487
1553
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1521,10 +1587,11 @@ class DbSystemClient {
|
|
|
1521
1587
|
* Deletes the HeatWave cluster including terminating, detaching, removing, finalizing and
|
|
1522
1588
|
* otherwise deleting all related resources.
|
|
1523
1589
|
*
|
|
1590
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1524
1591
|
* @param DeleteHeatWaveClusterRequest
|
|
1525
1592
|
* @return DeleteHeatWaveClusterResponse
|
|
1526
1593
|
* @throws OciError when an error occurs
|
|
1527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1528
1595
|
*/
|
|
1529
1596
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1530
1597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1539,7 +1606,8 @@ class DbSystemClient {
|
|
|
1539
1606
|
"if-match": deleteHeatWaveClusterRequest.ifMatch,
|
|
1540
1607
|
"opc-request-id": deleteHeatWaveClusterRequest.opcRequestId
|
|
1541
1608
|
};
|
|
1542
|
-
const
|
|
1609
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1610
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1543
1611
|
if (this.logger)
|
|
1544
1612
|
retrier.logger = this.logger;
|
|
1545
1613
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1579,10 +1647,11 @@ class DbSystemClient {
|
|
|
1579
1647
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1580
1648
|
* Sends a request to estimate the memory footprints of user tables when loaded to Analytics Cluster memory.
|
|
1581
1649
|
*
|
|
1650
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1582
1651
|
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1583
1652
|
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1584
1653
|
* @throws OciError when an error occurs
|
|
1585
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1586
1655
|
*/
|
|
1587
1656
|
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1588
1657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1597,7 +1666,8 @@ class DbSystemClient {
|
|
|
1597
1666
|
"opc-request-id": generateAnalyticsClusterMemoryEstimateRequest.opcRequestId,
|
|
1598
1667
|
"opc-retry-token": generateAnalyticsClusterMemoryEstimateRequest.opcRetryToken
|
|
1599
1668
|
};
|
|
1600
|
-
const
|
|
1669
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1670
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1601
1671
|
if (this.logger)
|
|
1602
1672
|
retrier.logger = this.logger;
|
|
1603
1673
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1640,10 +1710,11 @@ class DbSystemClient {
|
|
|
1640
1710
|
/**
|
|
1641
1711
|
* Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
|
|
1642
1712
|
*
|
|
1713
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1643
1714
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1644
1715
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1645
1716
|
* @throws OciError when an error occurs
|
|
1646
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1647
1718
|
*/
|
|
1648
1719
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1649
1720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1658,7 +1729,8 @@ class DbSystemClient {
|
|
|
1658
1729
|
"opc-request-id": generateHeatWaveClusterMemoryEstimateRequest.opcRequestId,
|
|
1659
1730
|
"opc-retry-token": generateHeatWaveClusterMemoryEstimateRequest.opcRetryToken
|
|
1660
1731
|
};
|
|
1661
|
-
const
|
|
1732
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1733
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1662
1734
|
if (this.logger)
|
|
1663
1735
|
retrier.logger = this.logger;
|
|
1664
1736
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1702,10 +1774,11 @@ class DbSystemClient {
|
|
|
1702
1774
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1703
1775
|
* Gets information about the Analytics Cluster.
|
|
1704
1776
|
*
|
|
1777
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1705
1778
|
* @param GetAnalyticsClusterRequest
|
|
1706
1779
|
* @return GetAnalyticsClusterResponse
|
|
1707
1780
|
* @throws OciError when an error occurs
|
|
1708
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1781
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1709
1782
|
*/
|
|
1710
1783
|
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1711
1784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1720,7 +1793,8 @@ class DbSystemClient {
|
|
|
1720
1793
|
"opc-request-id": getAnalyticsClusterRequest.opcRequestId,
|
|
1721
1794
|
"if-none-match": getAnalyticsClusterRequest.ifNoneMatch
|
|
1722
1795
|
};
|
|
1723
|
-
const
|
|
1796
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1797
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1724
1798
|
if (this.logger)
|
|
1725
1799
|
retrier.logger = this.logger;
|
|
1726
1800
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1765,10 +1839,11 @@ class DbSystemClient {
|
|
|
1765
1839
|
* Gets the most recent Analytics Cluster memory estimate that can be used to determine a suitable
|
|
1766
1840
|
* Analytics Cluster size.
|
|
1767
1841
|
*
|
|
1842
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1768
1843
|
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1769
1844
|
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
1770
1845
|
* @throws OciError when an error occurs
|
|
1771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1846
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
1772
1847
|
*/
|
|
1773
1848
|
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
1774
1849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1782,7 +1857,8 @@ class DbSystemClient {
|
|
|
1782
1857
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1783
1858
|
"opc-request-id": getAnalyticsClusterMemoryEstimateRequest.opcRequestId
|
|
1784
1859
|
};
|
|
1785
|
-
const
|
|
1860
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1861
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1786
1862
|
if (this.logger)
|
|
1787
1863
|
retrier.logger = this.logger;
|
|
1788
1864
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1819,10 +1895,11 @@ class DbSystemClient {
|
|
|
1819
1895
|
}
|
|
1820
1896
|
/**
|
|
1821
1897
|
* Get information about the specified DB System.
|
|
1898
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1822
1899
|
* @param GetDbSystemRequest
|
|
1823
1900
|
* @return GetDbSystemResponse
|
|
1824
1901
|
* @throws OciError when an error occurs
|
|
1825
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1902
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1826
1903
|
*/
|
|
1827
1904
|
getDbSystem(getDbSystemRequest) {
|
|
1828
1905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1837,7 +1914,8 @@ class DbSystemClient {
|
|
|
1837
1914
|
"opc-request-id": getDbSystemRequest.opcRequestId,
|
|
1838
1915
|
"if-none-match": getDbSystemRequest.ifNoneMatch
|
|
1839
1916
|
};
|
|
1840
|
-
const
|
|
1917
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1918
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1841
1919
|
if (this.logger)
|
|
1842
1920
|
retrier.logger = this.logger;
|
|
1843
1921
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1879,10 +1957,11 @@ class DbSystemClient {
|
|
|
1879
1957
|
}
|
|
1880
1958
|
/**
|
|
1881
1959
|
* Gets information about the HeatWave cluster.
|
|
1960
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1882
1961
|
* @param GetHeatWaveClusterRequest
|
|
1883
1962
|
* @return GetHeatWaveClusterResponse
|
|
1884
1963
|
* @throws OciError when an error occurs
|
|
1885
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1886
1965
|
*/
|
|
1887
1966
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1888
1967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1897,7 +1976,8 @@ class DbSystemClient {
|
|
|
1897
1976
|
"opc-request-id": getHeatWaveClusterRequest.opcRequestId,
|
|
1898
1977
|
"if-none-match": getHeatWaveClusterRequest.ifNoneMatch
|
|
1899
1978
|
};
|
|
1900
|
-
const
|
|
1979
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1980
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1901
1981
|
if (this.logger)
|
|
1902
1982
|
retrier.logger = this.logger;
|
|
1903
1983
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1941,10 +2021,11 @@ class DbSystemClient {
|
|
|
1941
2021
|
* Gets the most recent HeatWave cluster memory estimate that can be used to determine a suitable
|
|
1942
2022
|
* HeatWave cluster size.
|
|
1943
2023
|
*
|
|
2024
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1944
2025
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
1945
2026
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
1946
2027
|
* @throws OciError when an error occurs
|
|
1947
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
1948
2029
|
*/
|
|
1949
2030
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
1950
2031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1958,7 +2039,8 @@ class DbSystemClient {
|
|
|
1958
2039
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1959
2040
|
"opc-request-id": getHeatWaveClusterMemoryEstimateRequest.opcRequestId
|
|
1960
2041
|
};
|
|
1961
|
-
const
|
|
2042
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2043
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1962
2044
|
if (this.logger)
|
|
1963
2045
|
retrier.logger = this.logger;
|
|
1964
2046
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1997,10 +2079,11 @@ class DbSystemClient {
|
|
|
1997
2079
|
* Get a list of DB Systems in the specified compartment.
|
|
1998
2080
|
* The default sort order is by timeUpdated, descending.
|
|
1999
2081
|
*
|
|
2082
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2000
2083
|
* @param ListDbSystemsRequest
|
|
2001
2084
|
* @return ListDbSystemsResponse
|
|
2002
2085
|
* @throws OciError when an error occurs
|
|
2003
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2086
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
2004
2087
|
*/
|
|
2005
2088
|
listDbSystems(listDbSystemsRequest) {
|
|
2006
2089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2025,7 +2108,8 @@ class DbSystemClient {
|
|
|
2025
2108
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2026
2109
|
"opc-request-id": listDbSystemsRequest.opcRequestId
|
|
2027
2110
|
};
|
|
2028
|
-
const
|
|
2111
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2112
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
2029
2113
|
if (this.logger)
|
|
2030
2114
|
retrier.logger = this.logger;
|
|
2031
2115
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2109,10 +2193,11 @@ class DbSystemClient {
|
|
|
2109
2193
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2110
2194
|
* Restarts the Analytics Cluster.
|
|
2111
2195
|
*
|
|
2196
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2112
2197
|
* @param RestartAnalyticsClusterRequest
|
|
2113
2198
|
* @return RestartAnalyticsClusterResponse
|
|
2114
2199
|
* @throws OciError when an error occurs
|
|
2115
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2200
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2116
2201
|
*/
|
|
2117
2202
|
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2118
2203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2128,7 +2213,8 @@ class DbSystemClient {
|
|
|
2128
2213
|
"opc-request-id": restartAnalyticsClusterRequest.opcRequestId,
|
|
2129
2214
|
"opc-retry-token": restartAnalyticsClusterRequest.opcRetryToken
|
|
2130
2215
|
};
|
|
2131
|
-
const
|
|
2216
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2217
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2132
2218
|
if (this.logger)
|
|
2133
2219
|
retrier.logger = this.logger;
|
|
2134
2220
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2166,10 +2252,11 @@ class DbSystemClient {
|
|
|
2166
2252
|
}
|
|
2167
2253
|
/**
|
|
2168
2254
|
* Restarts the specified DB System.
|
|
2255
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2169
2256
|
* @param RestartDbSystemRequest
|
|
2170
2257
|
* @return RestartDbSystemResponse
|
|
2171
2258
|
* @throws OciError when an error occurs
|
|
2172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2259
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2173
2260
|
*/
|
|
2174
2261
|
restartDbSystem(restartDbSystemRequest) {
|
|
2175
2262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2185,7 +2272,8 @@ class DbSystemClient {
|
|
|
2185
2272
|
"opc-request-id": restartDbSystemRequest.opcRequestId,
|
|
2186
2273
|
"opc-retry-token": restartDbSystemRequest.opcRetryToken
|
|
2187
2274
|
};
|
|
2188
|
-
const
|
|
2275
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2276
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2189
2277
|
if (this.logger)
|
|
2190
2278
|
retrier.logger = this.logger;
|
|
2191
2279
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2224,10 +2312,11 @@ class DbSystemClient {
|
|
|
2224
2312
|
}
|
|
2225
2313
|
/**
|
|
2226
2314
|
* Restarts the HeatWave cluster.
|
|
2315
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2227
2316
|
* @param RestartHeatWaveClusterRequest
|
|
2228
2317
|
* @return RestartHeatWaveClusterResponse
|
|
2229
2318
|
* @throws OciError when an error occurs
|
|
2230
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2231
2320
|
*/
|
|
2232
2321
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2233
2322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2243,7 +2332,8 @@ class DbSystemClient {
|
|
|
2243
2332
|
"opc-request-id": restartHeatWaveClusterRequest.opcRequestId,
|
|
2244
2333
|
"opc-retry-token": restartHeatWaveClusterRequest.opcRetryToken
|
|
2245
2334
|
};
|
|
2246
|
-
const
|
|
2335
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2336
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2247
2337
|
if (this.logger)
|
|
2248
2338
|
retrier.logger = this.logger;
|
|
2249
2339
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2283,10 +2373,11 @@ class DbSystemClient {
|
|
|
2283
2373
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2284
2374
|
* Starts the Analytics Cluster.
|
|
2285
2375
|
*
|
|
2376
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2286
2377
|
* @param StartAnalyticsClusterRequest
|
|
2287
2378
|
* @return StartAnalyticsClusterResponse
|
|
2288
2379
|
* @throws OciError when an error occurs
|
|
2289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2290
2381
|
*/
|
|
2291
2382
|
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2292
2383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2302,7 +2393,8 @@ class DbSystemClient {
|
|
|
2302
2393
|
"opc-request-id": startAnalyticsClusterRequest.opcRequestId,
|
|
2303
2394
|
"opc-retry-token": startAnalyticsClusterRequest.opcRetryToken
|
|
2304
2395
|
};
|
|
2305
|
-
const
|
|
2396
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2397
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2306
2398
|
if (this.logger)
|
|
2307
2399
|
retrier.logger = this.logger;
|
|
2308
2400
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2340,10 +2432,11 @@ class DbSystemClient {
|
|
|
2340
2432
|
}
|
|
2341
2433
|
/**
|
|
2342
2434
|
* Start the specified DB System.
|
|
2435
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2343
2436
|
* @param StartDbSystemRequest
|
|
2344
2437
|
* @return StartDbSystemResponse
|
|
2345
2438
|
* @throws OciError when an error occurs
|
|
2346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2347
2440
|
*/
|
|
2348
2441
|
startDbSystem(startDbSystemRequest) {
|
|
2349
2442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2359,7 +2452,8 @@ class DbSystemClient {
|
|
|
2359
2452
|
"opc-request-id": startDbSystemRequest.opcRequestId,
|
|
2360
2453
|
"opc-retry-token": startDbSystemRequest.opcRetryToken
|
|
2361
2454
|
};
|
|
2362
|
-
const
|
|
2455
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2456
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2363
2457
|
if (this.logger)
|
|
2364
2458
|
retrier.logger = this.logger;
|
|
2365
2459
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2397,10 +2491,11 @@ class DbSystemClient {
|
|
|
2397
2491
|
}
|
|
2398
2492
|
/**
|
|
2399
2493
|
* Starts the HeatWave cluster.
|
|
2494
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2400
2495
|
* @param StartHeatWaveClusterRequest
|
|
2401
2496
|
* @return StartHeatWaveClusterResponse
|
|
2402
2497
|
* @throws OciError when an error occurs
|
|
2403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2404
2499
|
*/
|
|
2405
2500
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2406
2501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2416,7 +2511,8 @@ class DbSystemClient {
|
|
|
2416
2511
|
"opc-request-id": startHeatWaveClusterRequest.opcRequestId,
|
|
2417
2512
|
"opc-retry-token": startHeatWaveClusterRequest.opcRetryToken
|
|
2418
2513
|
};
|
|
2419
|
-
const
|
|
2514
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2515
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2420
2516
|
if (this.logger)
|
|
2421
2517
|
retrier.logger = this.logger;
|
|
2422
2518
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2456,10 +2552,11 @@ class DbSystemClient {
|
|
|
2456
2552
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2457
2553
|
* Stops the Analytics Cluster.
|
|
2458
2554
|
*
|
|
2555
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2459
2556
|
* @param StopAnalyticsClusterRequest
|
|
2460
2557
|
* @return StopAnalyticsClusterResponse
|
|
2461
2558
|
* @throws OciError when an error occurs
|
|
2462
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2559
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2463
2560
|
*/
|
|
2464
2561
|
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2465
2562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2475,7 +2572,8 @@ class DbSystemClient {
|
|
|
2475
2572
|
"opc-request-id": stopAnalyticsClusterRequest.opcRequestId,
|
|
2476
2573
|
"opc-retry-token": stopAnalyticsClusterRequest.opcRetryToken
|
|
2477
2574
|
};
|
|
2478
|
-
const
|
|
2575
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2576
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2479
2577
|
if (this.logger)
|
|
2480
2578
|
retrier.logger = this.logger;
|
|
2481
2579
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2516,10 +2614,11 @@ class DbSystemClient {
|
|
|
2516
2614
|
* <p>
|
|
2517
2615
|
A stopped DB System is not billed.
|
|
2518
2616
|
*
|
|
2617
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2519
2618
|
* @param StopDbSystemRequest
|
|
2520
2619
|
* @return StopDbSystemResponse
|
|
2521
2620
|
* @throws OciError when an error occurs
|
|
2522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2523
2622
|
*/
|
|
2524
2623
|
stopDbSystem(stopDbSystemRequest) {
|
|
2525
2624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2535,7 +2634,8 @@ class DbSystemClient {
|
|
|
2535
2634
|
"opc-request-id": stopDbSystemRequest.opcRequestId,
|
|
2536
2635
|
"opc-retry-token": stopDbSystemRequest.opcRetryToken
|
|
2537
2636
|
};
|
|
2538
|
-
const
|
|
2637
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2638
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2539
2639
|
if (this.logger)
|
|
2540
2640
|
retrier.logger = this.logger;
|
|
2541
2641
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2574,10 +2674,11 @@ class DbSystemClient {
|
|
|
2574
2674
|
}
|
|
2575
2675
|
/**
|
|
2576
2676
|
* Stops the HeatWave cluster.
|
|
2677
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2577
2678
|
* @param StopHeatWaveClusterRequest
|
|
2578
2679
|
* @return StopHeatWaveClusterResponse
|
|
2579
2680
|
* @throws OciError when an error occurs
|
|
2580
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2581
2682
|
*/
|
|
2582
2683
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2583
2684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2593,7 +2694,8 @@ class DbSystemClient {
|
|
|
2593
2694
|
"opc-request-id": stopHeatWaveClusterRequest.opcRequestId,
|
|
2594
2695
|
"opc-retry-token": stopHeatWaveClusterRequest.opcRetryToken
|
|
2595
2696
|
};
|
|
2596
|
-
const
|
|
2697
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2698
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2597
2699
|
if (this.logger)
|
|
2598
2700
|
retrier.logger = this.logger;
|
|
2599
2701
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2633,10 +2735,11 @@ class DbSystemClient {
|
|
|
2633
2735
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2634
2736
|
* Updates the Analytics Cluster.
|
|
2635
2737
|
*
|
|
2738
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2636
2739
|
* @param UpdateAnalyticsClusterRequest
|
|
2637
2740
|
* @return UpdateAnalyticsClusterResponse
|
|
2638
2741
|
* @throws OciError when an error occurs
|
|
2639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2640
2743
|
*/
|
|
2641
2744
|
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2642
2745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2651,7 +2754,8 @@ class DbSystemClient {
|
|
|
2651
2754
|
"if-match": updateAnalyticsClusterRequest.ifMatch,
|
|
2652
2755
|
"opc-request-id": updateAnalyticsClusterRequest.opcRequestId
|
|
2653
2756
|
};
|
|
2654
|
-
const
|
|
2757
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2758
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2655
2759
|
if (this.logger)
|
|
2656
2760
|
retrier.logger = this.logger;
|
|
2657
2761
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2698,10 +2802,11 @@ class DbSystemClient {
|
|
|
2698
2802
|
* Compute resources, pausing the DB System and migrating storage
|
|
2699
2803
|
* before making the DB System available again.
|
|
2700
2804
|
*
|
|
2805
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2701
2806
|
* @param UpdateDbSystemRequest
|
|
2702
2807
|
* @return UpdateDbSystemResponse
|
|
2703
2808
|
* @throws OciError when an error occurs
|
|
2704
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2705
2810
|
*/
|
|
2706
2811
|
updateDbSystem(updateDbSystemRequest) {
|
|
2707
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2716,7 +2821,8 @@ class DbSystemClient {
|
|
|
2716
2821
|
"if-match": updateDbSystemRequest.ifMatch,
|
|
2717
2822
|
"opc-request-id": updateDbSystemRequest.opcRequestId
|
|
2718
2823
|
};
|
|
2719
|
-
const
|
|
2824
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2825
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2720
2826
|
if (this.logger)
|
|
2721
2827
|
retrier.logger = this.logger;
|
|
2722
2828
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2756,10 +2862,11 @@ class DbSystemClient {
|
|
|
2756
2862
|
/**
|
|
2757
2863
|
* Updates the HeatWave cluster.
|
|
2758
2864
|
*
|
|
2865
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2759
2866
|
* @param UpdateHeatWaveClusterRequest
|
|
2760
2867
|
* @return UpdateHeatWaveClusterResponse
|
|
2761
2868
|
* @throws OciError when an error occurs
|
|
2762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2869
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2763
2870
|
*/
|
|
2764
2871
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2765
2872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2774,7 +2881,8 @@ class DbSystemClient {
|
|
|
2774
2881
|
"if-match": updateHeatWaveClusterRequest.ifMatch,
|
|
2775
2882
|
"opc-request-id": updateHeatWaveClusterRequest.opcRequestId
|
|
2776
2883
|
};
|
|
2777
|
-
const
|
|
2884
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2885
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2778
2886
|
if (this.logger)
|
|
2779
2887
|
retrier.logger = this.logger;
|
|
2780
2888
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2817,6 +2925,9 @@ DbSystemClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLeve
|
|
|
2817
2925
|
var MysqlaasApiKeys;
|
|
2818
2926
|
(function (MysqlaasApiKeys) {
|
|
2819
2927
|
})(MysqlaasApiKeys = exports.MysqlaasApiKeys || (exports.MysqlaasApiKeys = {}));
|
|
2928
|
+
/**
|
|
2929
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
2930
|
+
*/
|
|
2820
2931
|
class MysqlaasClient {
|
|
2821
2932
|
constructor(params, clientConfiguration) {
|
|
2822
2933
|
this["_endpoint"] = "";
|
|
@@ -2831,6 +2942,13 @@ class MysqlaasClient {
|
|
|
2831
2942
|
? clientConfiguration.circuitBreaker.circuit
|
|
2832
2943
|
: null;
|
|
2833
2944
|
}
|
|
2945
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2946
|
+
const specCircuitBreakerEnabled = false;
|
|
2947
|
+
if (!this._circuitBreaker &&
|
|
2948
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
2949
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
2950
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2951
|
+
}
|
|
2834
2952
|
this._httpClient =
|
|
2835
2953
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
2836
2954
|
if (params.authenticationDetailsProvider &&
|
|
@@ -2902,10 +3020,11 @@ class MysqlaasClient {
|
|
|
2902
3020
|
}
|
|
2903
3021
|
/**
|
|
2904
3022
|
* Creates a new Configuration.
|
|
3023
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2905
3024
|
* @param CreateConfigurationRequest
|
|
2906
3025
|
* @return CreateConfigurationResponse
|
|
2907
3026
|
* @throws OciError when an error occurs
|
|
2908
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3027
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
2909
3028
|
*/
|
|
2910
3029
|
createConfiguration(createConfigurationRequest) {
|
|
2911
3030
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2918,7 +3037,8 @@ class MysqlaasClient {
|
|
|
2918
3037
|
"opc-request-id": createConfigurationRequest.opcRequestId,
|
|
2919
3038
|
"opc-retry-token": createConfigurationRequest.opcRetryToken
|
|
2920
3039
|
};
|
|
2921
|
-
const
|
|
3040
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3041
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2922
3042
|
if (this.logger)
|
|
2923
3043
|
retrier.logger = this.logger;
|
|
2924
3044
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2973,10 +3093,11 @@ class MysqlaasClient {
|
|
|
2973
3093
|
* Deletes a Configuration.
|
|
2974
3094
|
* The Configuration must not be in use by any DB Systems.
|
|
2975
3095
|
*
|
|
3096
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2976
3097
|
* @param DeleteConfigurationRequest
|
|
2977
3098
|
* @return DeleteConfigurationResponse
|
|
2978
3099
|
* @throws OciError when an error occurs
|
|
2979
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
2980
3101
|
*/
|
|
2981
3102
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
2982
3103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2991,7 +3112,8 @@ class MysqlaasClient {
|
|
|
2991
3112
|
"if-match": deleteConfigurationRequest.ifMatch,
|
|
2992
3113
|
"opc-request-id": deleteConfigurationRequest.opcRequestId
|
|
2993
3114
|
};
|
|
2994
|
-
const
|
|
3115
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3116
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2995
3117
|
if (this.logger)
|
|
2996
3118
|
retrier.logger = this.logger;
|
|
2997
3119
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3025,10 +3147,11 @@ class MysqlaasClient {
|
|
|
3025
3147
|
/**
|
|
3026
3148
|
* Get the full details of the specified Configuration, including the list of MySQL Variables and their values.
|
|
3027
3149
|
*
|
|
3150
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3028
3151
|
* @param GetConfigurationRequest
|
|
3029
3152
|
* @return GetConfigurationResponse
|
|
3030
3153
|
* @throws OciError when an error occurs
|
|
3031
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
3032
3155
|
*/
|
|
3033
3156
|
getConfiguration(getConfigurationRequest) {
|
|
3034
3157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3043,7 +3166,8 @@ class MysqlaasClient {
|
|
|
3043
3166
|
"opc-request-id": getConfigurationRequest.opcRequestId,
|
|
3044
3167
|
"if-none-match": getConfigurationRequest.ifNoneMatch
|
|
3045
3168
|
};
|
|
3046
|
-
const
|
|
3169
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3170
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3047
3171
|
if (this.logger)
|
|
3048
3172
|
retrier.logger = this.logger;
|
|
3049
3173
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3093,10 +3217,11 @@ class MysqlaasClient {
|
|
|
3093
3217
|
* - DEFAULT-before-CUSTOM
|
|
3094
3218
|
* - displayName ascending
|
|
3095
3219
|
*
|
|
3220
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3096
3221
|
* @param ListConfigurationsRequest
|
|
3097
3222
|
* @return ListConfigurationsResponse
|
|
3098
3223
|
* @throws OciError when an error occurs
|
|
3099
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3100
3225
|
*/
|
|
3101
3226
|
listConfigurations(listConfigurationsRequest) {
|
|
3102
3227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3119,7 +3244,8 @@ class MysqlaasClient {
|
|
|
3119
3244
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3120
3245
|
"opc-request-id": listConfigurationsRequest.opcRequestId
|
|
3121
3246
|
};
|
|
3122
|
-
const
|
|
3247
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3248
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3123
3249
|
if (this.logger)
|
|
3124
3250
|
retrier.logger = this.logger;
|
|
3125
3251
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3205,10 +3331,11 @@ class MysqlaasClient {
|
|
|
3205
3331
|
* CPU cores and memory for VM shapes; CPU cores, memory and
|
|
3206
3332
|
* storage for non-VM (or bare metal) shapes.
|
|
3207
3333
|
*
|
|
3334
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3208
3335
|
* @param ListShapesRequest
|
|
3209
3336
|
* @return ListShapesResponse
|
|
3210
3337
|
* @throws OciError when an error occurs
|
|
3211
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3212
3339
|
*/
|
|
3213
3340
|
listShapes(listShapesRequest) {
|
|
3214
3341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3225,7 +3352,8 @@ class MysqlaasClient {
|
|
|
3225
3352
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3226
3353
|
"opc-request-id": listShapesRequest.opcRequestId
|
|
3227
3354
|
};
|
|
3228
|
-
const
|
|
3355
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3356
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3229
3357
|
if (this.logger)
|
|
3230
3358
|
retrier.logger = this.logger;
|
|
3231
3359
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3265,10 +3393,11 @@ class MysqlaasClient {
|
|
|
3265
3393
|
* <p>
|
|
3266
3394
|
The list is sorted by version family.
|
|
3267
3395
|
*
|
|
3396
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3268
3397
|
* @param ListVersionsRequest
|
|
3269
3398
|
* @return ListVersionsResponse
|
|
3270
3399
|
* @throws OciError when an error occurs
|
|
3271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3272
3401
|
*/
|
|
3273
3402
|
listVersions(listVersionsRequest) {
|
|
3274
3403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3282,7 +3411,8 @@ class MysqlaasClient {
|
|
|
3282
3411
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3283
3412
|
"opc-request-id": listVersionsRequest.opcRequestId
|
|
3284
3413
|
};
|
|
3285
|
-
const
|
|
3414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3415
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3286
3416
|
if (this.logger)
|
|
3287
3417
|
retrier.logger = this.logger;
|
|
3288
3418
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3319,10 +3449,11 @@ class MysqlaasClient {
|
|
|
3319
3449
|
}
|
|
3320
3450
|
/**
|
|
3321
3451
|
* Updates the Configuration details.
|
|
3452
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3322
3453
|
* @param UpdateConfigurationRequest
|
|
3323
3454
|
* @return UpdateConfigurationResponse
|
|
3324
3455
|
* @throws OciError when an error occurs
|
|
3325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3326
3457
|
*/
|
|
3327
3458
|
updateConfiguration(updateConfigurationRequest) {
|
|
3328
3459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3337,7 +3468,8 @@ class MysqlaasClient {
|
|
|
3337
3468
|
"if-match": updateConfigurationRequest.ifMatch,
|
|
3338
3469
|
"opc-request-id": updateConfigurationRequest.opcRequestId
|
|
3339
3470
|
};
|
|
3340
|
-
const
|
|
3471
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3472
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3341
3473
|
if (this.logger)
|
|
3342
3474
|
retrier.logger = this.logger;
|
|
3343
3475
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3384,6 +3516,9 @@ MysqlaasClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLeve
|
|
|
3384
3516
|
var WorkRequestsApiKeys;
|
|
3385
3517
|
(function (WorkRequestsApiKeys) {
|
|
3386
3518
|
})(WorkRequestsApiKeys = exports.WorkRequestsApiKeys || (exports.WorkRequestsApiKeys = {}));
|
|
3519
|
+
/**
|
|
3520
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
3521
|
+
*/
|
|
3387
3522
|
class WorkRequestsClient {
|
|
3388
3523
|
constructor(params, clientConfiguration) {
|
|
3389
3524
|
this["_endpoint"] = "";
|
|
@@ -3398,6 +3533,13 @@ class WorkRequestsClient {
|
|
|
3398
3533
|
? clientConfiguration.circuitBreaker.circuit
|
|
3399
3534
|
: null;
|
|
3400
3535
|
}
|
|
3536
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3537
|
+
const specCircuitBreakerEnabled = false;
|
|
3538
|
+
if (!this._circuitBreaker &&
|
|
3539
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
3540
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
3541
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
3542
|
+
}
|
|
3401
3543
|
this._httpClient =
|
|
3402
3544
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
3403
3545
|
if (params.authenticationDetailsProvider &&
|
|
@@ -3469,10 +3611,11 @@ class WorkRequestsClient {
|
|
|
3469
3611
|
}
|
|
3470
3612
|
/**
|
|
3471
3613
|
* Gets the status of the work request with the given ID.
|
|
3614
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3472
3615
|
* @param GetWorkRequestRequest
|
|
3473
3616
|
* @return GetWorkRequestResponse
|
|
3474
3617
|
* @throws OciError when an error occurs
|
|
3475
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3618
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3476
3619
|
*/
|
|
3477
3620
|
getWorkRequest(getWorkRequestRequest) {
|
|
3478
3621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3487,7 +3630,8 @@ class WorkRequestsClient {
|
|
|
3487
3630
|
"if-none-match": getWorkRequestRequest.ifNoneMatch,
|
|
3488
3631
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
3489
3632
|
};
|
|
3490
|
-
const
|
|
3633
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3634
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3491
3635
|
if (this.logger)
|
|
3492
3636
|
retrier.logger = this.logger;
|
|
3493
3637
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3535,10 +3679,11 @@ class WorkRequestsClient {
|
|
|
3535
3679
|
/**
|
|
3536
3680
|
* Return a (paginated) list of errors for a given work request.
|
|
3537
3681
|
*
|
|
3682
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3538
3683
|
* @param ListWorkRequestErrorsRequest
|
|
3539
3684
|
* @return ListWorkRequestErrorsResponse
|
|
3540
3685
|
* @throws OciError when an error occurs
|
|
3541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3542
3687
|
*/
|
|
3543
3688
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3544
3689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3555,7 +3700,8 @@ class WorkRequestsClient {
|
|
|
3555
3700
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3556
3701
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3557
3702
|
};
|
|
3558
|
-
const
|
|
3703
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3704
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3559
3705
|
if (this.logger)
|
|
3560
3706
|
retrier.logger = this.logger;
|
|
3561
3707
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3638,10 +3784,11 @@ class WorkRequestsClient {
|
|
|
3638
3784
|
/**
|
|
3639
3785
|
* Return a (paginated) list of logs for a given work request.
|
|
3640
3786
|
*
|
|
3787
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3641
3788
|
* @param ListWorkRequestLogsRequest
|
|
3642
3789
|
* @return ListWorkRequestLogsResponse
|
|
3643
3790
|
* @throws OciError when an error occurs
|
|
3644
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3645
3792
|
*/
|
|
3646
3793
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3647
3794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3658,7 +3805,8 @@ class WorkRequestsClient {
|
|
|
3658
3805
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3659
3806
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3660
3807
|
};
|
|
3661
|
-
const
|
|
3808
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3809
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3662
3810
|
if (this.logger)
|
|
3663
3811
|
retrier.logger = this.logger;
|
|
3664
3812
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3741,10 +3889,11 @@ class WorkRequestsClient {
|
|
|
3741
3889
|
/**
|
|
3742
3890
|
* Lists the work requests in a specified compartment.
|
|
3743
3891
|
*
|
|
3892
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3744
3893
|
* @param ListWorkRequestsRequest
|
|
3745
3894
|
* @return ListWorkRequestsResponse
|
|
3746
3895
|
* @throws OciError when an error occurs
|
|
3747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3748
3897
|
*/
|
|
3749
3898
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3750
3899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3762,7 +3911,8 @@ class WorkRequestsClient {
|
|
|
3762
3911
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3763
3912
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3764
3913
|
};
|
|
3765
|
-
const
|
|
3914
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3915
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3766
3916
|
if (this.logger)
|
|
3767
3917
|
retrier.logger = this.logger;
|
|
3768
3918
|
const request = yield oci_common_2.composeRequest({
|