oci-mysql 2.74.0 → 2.76.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 +46 -46
- package/lib/client.js +70 -46
- package/lib/client.js.map +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/create-replica-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/delete-replica-request.d.ts +1 -1
- package/lib/request/generate-heat-wave-cluster-memory-estimate-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-replica-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-replicas-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-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-db-system-request.d.ts +1 -1
- package/lib/request/start-heat-wave-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-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/lib/request/update-replica-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -86,6 +86,10 @@ class ChannelsClient {
|
|
|
86
86
|
? clientConfiguration.bodyDuplexMode
|
|
87
87
|
: undefined;
|
|
88
88
|
}
|
|
89
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("mysql")) {
|
|
90
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
91
|
+
throw errmsg.concat("mysql");
|
|
92
|
+
}
|
|
89
93
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
90
94
|
const specCircuitBreakerEnabled = true;
|
|
91
95
|
if (!this._circuitBreaker &&
|
|
@@ -190,7 +194,7 @@ class ChannelsClient {
|
|
|
190
194
|
* @param CreateChannelRequest
|
|
191
195
|
* @return CreateChannelResponse
|
|
192
196
|
* @throws OciError when an error occurs
|
|
193
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
194
198
|
*/
|
|
195
199
|
createChannel(createChannelRequest) {
|
|
196
200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -258,7 +262,7 @@ class ChannelsClient {
|
|
|
258
262
|
* @param DeleteChannelRequest
|
|
259
263
|
* @return DeleteChannelResponse
|
|
260
264
|
* @throws OciError when an error occurs
|
|
261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
265
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
262
266
|
*/
|
|
263
267
|
deleteChannel(deleteChannelRequest) {
|
|
264
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -321,7 +325,7 @@ class ChannelsClient {
|
|
|
321
325
|
* @param GetChannelRequest
|
|
322
326
|
* @return GetChannelResponse
|
|
323
327
|
* @throws OciError when an error occurs
|
|
324
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
328
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
325
329
|
*/
|
|
326
330
|
getChannel(getChannelRequest) {
|
|
327
331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -385,7 +389,7 @@ class ChannelsClient {
|
|
|
385
389
|
* @param ListChannelsRequest
|
|
386
390
|
* @return ListChannelsResponse
|
|
387
391
|
* @throws OciError when an error occurs
|
|
388
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
389
393
|
*/
|
|
390
394
|
listChannels(listChannelsRequest) {
|
|
391
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -499,7 +503,7 @@ class ChannelsClient {
|
|
|
499
503
|
* @param ResetChannelRequest
|
|
500
504
|
* @return ResetChannelResponse
|
|
501
505
|
* @throws OciError when an error occurs
|
|
502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
503
507
|
*/
|
|
504
508
|
resetChannel(resetChannelRequest) {
|
|
505
509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -563,7 +567,7 @@ class ChannelsClient {
|
|
|
563
567
|
* @param ResumeChannelRequest
|
|
564
568
|
* @return ResumeChannelResponse
|
|
565
569
|
* @throws OciError when an error occurs
|
|
566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
567
571
|
*/
|
|
568
572
|
resumeChannel(resumeChannelRequest) {
|
|
569
573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -628,7 +632,7 @@ class ChannelsClient {
|
|
|
628
632
|
* @param UpdateChannelRequest
|
|
629
633
|
* @return UpdateChannelResponse
|
|
630
634
|
* @throws OciError when an error occurs
|
|
631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
632
636
|
*/
|
|
633
637
|
updateChannel(updateChannelRequest) {
|
|
634
638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -720,6 +724,10 @@ class DbBackupsClient {
|
|
|
720
724
|
? clientConfiguration.bodyDuplexMode
|
|
721
725
|
: undefined;
|
|
722
726
|
}
|
|
727
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("mysql")) {
|
|
728
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
729
|
+
throw errmsg.concat("mysql");
|
|
730
|
+
}
|
|
723
731
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
724
732
|
const specCircuitBreakerEnabled = true;
|
|
725
733
|
if (!this._circuitBreaker &&
|
|
@@ -825,7 +833,7 @@ class DbBackupsClient {
|
|
|
825
833
|
* @param ChangeBackupCompartmentRequest
|
|
826
834
|
* @return ChangeBackupCompartmentResponse
|
|
827
835
|
* @throws OciError when an error occurs
|
|
828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
829
837
|
*/
|
|
830
838
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
831
839
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -888,7 +896,7 @@ class DbBackupsClient {
|
|
|
888
896
|
* @param CreateBackupRequest
|
|
889
897
|
* @return CreateBackupResponse
|
|
890
898
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
892
900
|
*/
|
|
893
901
|
createBackup(createBackupRequest) {
|
|
894
902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -957,7 +965,7 @@ class DbBackupsClient {
|
|
|
957
965
|
* @param DeleteBackupRequest
|
|
958
966
|
* @return DeleteBackupResponse
|
|
959
967
|
* @throws OciError when an error occurs
|
|
960
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
968
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
961
969
|
*/
|
|
962
970
|
deleteBackup(deleteBackupRequest) {
|
|
963
971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1025,7 @@ class DbBackupsClient {
|
|
|
1017
1025
|
* @param GetBackupRequest
|
|
1018
1026
|
* @return GetBackupResponse
|
|
1019
1027
|
* @throws OciError when an error occurs
|
|
1020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
1021
1029
|
*/
|
|
1022
1030
|
getBackup(getBackupRequest) {
|
|
1023
1031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1082,7 +1090,7 @@ class DbBackupsClient {
|
|
|
1082
1090
|
* @param ListBackupsRequest
|
|
1083
1091
|
* @return ListBackupsResponse
|
|
1084
1092
|
* @throws OciError when an error occurs
|
|
1085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1086
1094
|
*/
|
|
1087
1095
|
listBackups(listBackupsRequest) {
|
|
1088
1096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1194,7 +1202,7 @@ class DbBackupsClient {
|
|
|
1194
1202
|
* @param UpdateBackupRequest
|
|
1195
1203
|
* @return UpdateBackupResponse
|
|
1196
1204
|
* @throws OciError when an error occurs
|
|
1197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1198
1206
|
*/
|
|
1199
1207
|
updateBackup(updateBackupRequest) {
|
|
1200
1208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1289,6 +1297,10 @@ class DbSystemClient {
|
|
|
1289
1297
|
? clientConfiguration.bodyDuplexMode
|
|
1290
1298
|
: undefined;
|
|
1291
1299
|
}
|
|
1300
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("mysql")) {
|
|
1301
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
1302
|
+
throw errmsg.concat("mysql");
|
|
1303
|
+
}
|
|
1292
1304
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1293
1305
|
const specCircuitBreakerEnabled = true;
|
|
1294
1306
|
if (!this._circuitBreaker &&
|
|
@@ -1393,7 +1405,7 @@ class DbSystemClient {
|
|
|
1393
1405
|
* @param AddHeatWaveClusterRequest
|
|
1394
1406
|
* @return AddHeatWaveClusterResponse
|
|
1395
1407
|
* @throws OciError when an error occurs
|
|
1396
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1397
1409
|
*/
|
|
1398
1410
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1399
1411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1465,7 +1477,7 @@ class DbSystemClient {
|
|
|
1465
1477
|
* @param CreateDbSystemRequest
|
|
1466
1478
|
* @return CreateDbSystemResponse
|
|
1467
1479
|
* @throws OciError when an error occurs
|
|
1468
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1480
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1469
1481
|
*/
|
|
1470
1482
|
createDbSystem(createDbSystemRequest) {
|
|
1471
1483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1540,7 +1552,7 @@ class DbSystemClient {
|
|
|
1540
1552
|
* @param DeleteDbSystemRequest
|
|
1541
1553
|
* @return DeleteDbSystemResponse
|
|
1542
1554
|
* @throws OciError when an error occurs
|
|
1543
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1544
1556
|
*/
|
|
1545
1557
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1546
1558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1602,7 +1614,7 @@ class DbSystemClient {
|
|
|
1602
1614
|
* @param DeleteHeatWaveClusterRequest
|
|
1603
1615
|
* @return DeleteHeatWaveClusterResponse
|
|
1604
1616
|
* @throws OciError when an error occurs
|
|
1605
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1606
1618
|
*/
|
|
1607
1619
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1608
1620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1663,7 +1675,7 @@ class DbSystemClient {
|
|
|
1663
1675
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1664
1676
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1665
1677
|
* @throws OciError when an error occurs
|
|
1666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1667
1679
|
*/
|
|
1668
1680
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1669
1681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1727,7 +1739,7 @@ class DbSystemClient {
|
|
|
1727
1739
|
* @param GetDbSystemRequest
|
|
1728
1740
|
* @return GetDbSystemResponse
|
|
1729
1741
|
* @throws OciError when an error occurs
|
|
1730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1731
1743
|
*/
|
|
1732
1744
|
getDbSystem(getDbSystemRequest) {
|
|
1733
1745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1791,7 +1803,7 @@ class DbSystemClient {
|
|
|
1791
1803
|
* @param GetHeatWaveClusterRequest
|
|
1792
1804
|
* @return GetHeatWaveClusterResponse
|
|
1793
1805
|
* @throws OciError when an error occurs
|
|
1794
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1795
1807
|
*/
|
|
1796
1808
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1797
1809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1857,7 +1869,7 @@ class DbSystemClient {
|
|
|
1857
1869
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
1858
1870
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
1859
1871
|
* @throws OciError when an error occurs
|
|
1860
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1872
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
1861
1873
|
*/
|
|
1862
1874
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
1863
1875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1917,7 +1929,7 @@ class DbSystemClient {
|
|
|
1917
1929
|
* @param ListDbSystemsRequest
|
|
1918
1930
|
* @return ListDbSystemsResponse
|
|
1919
1931
|
* @throws OciError when an error occurs
|
|
1920
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1932
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1921
1933
|
*/
|
|
1922
1934
|
listDbSystems(listDbSystemsRequest) {
|
|
1923
1935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2031,7 +2043,7 @@ class DbSystemClient {
|
|
|
2031
2043
|
* @param RestartDbSystemRequest
|
|
2032
2044
|
* @return RestartDbSystemResponse
|
|
2033
2045
|
* @throws OciError when an error occurs
|
|
2034
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2035
2047
|
*/
|
|
2036
2048
|
restartDbSystem(restartDbSystemRequest) {
|
|
2037
2049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2093,7 +2105,7 @@ class DbSystemClient {
|
|
|
2093
2105
|
* @param RestartHeatWaveClusterRequest
|
|
2094
2106
|
* @return RestartHeatWaveClusterResponse
|
|
2095
2107
|
* @throws OciError when an error occurs
|
|
2096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2108
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2097
2109
|
*/
|
|
2098
2110
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2099
2111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2154,7 +2166,7 @@ class DbSystemClient {
|
|
|
2154
2166
|
* @param StartDbSystemRequest
|
|
2155
2167
|
* @return StartDbSystemResponse
|
|
2156
2168
|
* @throws OciError when an error occurs
|
|
2157
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2169
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2158
2170
|
*/
|
|
2159
2171
|
startDbSystem(startDbSystemRequest) {
|
|
2160
2172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2215,7 +2227,7 @@ class DbSystemClient {
|
|
|
2215
2227
|
* @param StartHeatWaveClusterRequest
|
|
2216
2228
|
* @return StartHeatWaveClusterResponse
|
|
2217
2229
|
* @throws OciError when an error occurs
|
|
2218
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2219
2231
|
*/
|
|
2220
2232
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2221
2233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2279,7 +2291,7 @@ class DbSystemClient {
|
|
|
2279
2291
|
* @param StopDbSystemRequest
|
|
2280
2292
|
* @return StopDbSystemResponse
|
|
2281
2293
|
* @throws OciError when an error occurs
|
|
2282
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2294
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2283
2295
|
*/
|
|
2284
2296
|
stopDbSystem(stopDbSystemRequest) {
|
|
2285
2297
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2341,7 +2353,7 @@ class DbSystemClient {
|
|
|
2341
2353
|
* @param StopHeatWaveClusterRequest
|
|
2342
2354
|
* @return StopHeatWaveClusterResponse
|
|
2343
2355
|
* @throws OciError when an error occurs
|
|
2344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2356
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2345
2357
|
*/
|
|
2346
2358
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2347
2359
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2410,7 +2422,7 @@ class DbSystemClient {
|
|
|
2410
2422
|
* @param UpdateDbSystemRequest
|
|
2411
2423
|
* @return UpdateDbSystemResponse
|
|
2412
2424
|
* @throws OciError when an error occurs
|
|
2413
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2414
2426
|
*/
|
|
2415
2427
|
updateDbSystem(updateDbSystemRequest) {
|
|
2416
2428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2472,7 +2484,7 @@ class DbSystemClient {
|
|
|
2472
2484
|
* @param UpdateHeatWaveClusterRequest
|
|
2473
2485
|
* @return UpdateHeatWaveClusterResponse
|
|
2474
2486
|
* @throws OciError when an error occurs
|
|
2475
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2487
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2476
2488
|
*/
|
|
2477
2489
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2478
2490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2563,6 +2575,10 @@ class MysqlaasClient {
|
|
|
2563
2575
|
? clientConfiguration.bodyDuplexMode
|
|
2564
2576
|
: undefined;
|
|
2565
2577
|
}
|
|
2578
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("mysql")) {
|
|
2579
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
2580
|
+
throw errmsg.concat("mysql");
|
|
2581
|
+
}
|
|
2566
2582
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2567
2583
|
const specCircuitBreakerEnabled = true;
|
|
2568
2584
|
if (!this._circuitBreaker &&
|
|
@@ -2666,7 +2682,7 @@ class MysqlaasClient {
|
|
|
2666
2682
|
* @param CreateConfigurationRequest
|
|
2667
2683
|
* @return CreateConfigurationResponse
|
|
2668
2684
|
* @throws OciError when an error occurs
|
|
2669
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
2670
2686
|
*/
|
|
2671
2687
|
createConfiguration(createConfigurationRequest) {
|
|
2672
2688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2741,7 +2757,7 @@ class MysqlaasClient {
|
|
|
2741
2757
|
* @param DeleteConfigurationRequest
|
|
2742
2758
|
* @return DeleteConfigurationResponse
|
|
2743
2759
|
* @throws OciError when an error occurs
|
|
2744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2760
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
2745
2761
|
*/
|
|
2746
2762
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
2747
2763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2797,7 +2813,7 @@ class MysqlaasClient {
|
|
|
2797
2813
|
* @param GetConfigurationRequest
|
|
2798
2814
|
* @return GetConfigurationResponse
|
|
2799
2815
|
* @throws OciError when an error occurs
|
|
2800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2816
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
2801
2817
|
*/
|
|
2802
2818
|
getConfiguration(getConfigurationRequest) {
|
|
2803
2819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2869,7 +2885,7 @@ class MysqlaasClient {
|
|
|
2869
2885
|
* @param ListConfigurationsRequest
|
|
2870
2886
|
* @return ListConfigurationsResponse
|
|
2871
2887
|
* @throws OciError when an error occurs
|
|
2872
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
2873
2889
|
*/
|
|
2874
2890
|
listConfigurations(listConfigurationsRequest) {
|
|
2875
2891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2985,7 +3001,7 @@ class MysqlaasClient {
|
|
|
2985
3001
|
* @param ListShapesRequest
|
|
2986
3002
|
* @return ListShapesResponse
|
|
2987
3003
|
* @throws OciError when an error occurs
|
|
2988
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3004
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
2989
3005
|
*/
|
|
2990
3006
|
listShapes(listShapesRequest) {
|
|
2991
3007
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3049,7 +3065,7 @@ class MysqlaasClient {
|
|
|
3049
3065
|
* @param ListVersionsRequest
|
|
3050
3066
|
* @return ListVersionsResponse
|
|
3051
3067
|
* @throws OciError when an error occurs
|
|
3052
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3068
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3053
3069
|
*/
|
|
3054
3070
|
listVersions(listVersionsRequest) {
|
|
3055
3071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3107,7 +3123,7 @@ class MysqlaasClient {
|
|
|
3107
3123
|
* @param UpdateConfigurationRequest
|
|
3108
3124
|
* @return UpdateConfigurationResponse
|
|
3109
3125
|
* @throws OciError when an error occurs
|
|
3110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3126
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3111
3127
|
*/
|
|
3112
3128
|
updateConfiguration(updateConfigurationRequest) {
|
|
3113
3129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3202,6 +3218,10 @@ class ReplicasClient {
|
|
|
3202
3218
|
? clientConfiguration.bodyDuplexMode
|
|
3203
3219
|
: undefined;
|
|
3204
3220
|
}
|
|
3221
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("mysql")) {
|
|
3222
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
3223
|
+
throw errmsg.concat("mysql");
|
|
3224
|
+
}
|
|
3205
3225
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3206
3226
|
const specCircuitBreakerEnabled = true;
|
|
3207
3227
|
if (!this._circuitBreaker &&
|
|
@@ -3305,7 +3325,7 @@ class ReplicasClient {
|
|
|
3305
3325
|
* @param CreateReplicaRequest
|
|
3306
3326
|
* @return CreateReplicaResponse
|
|
3307
3327
|
* @throws OciError when an error occurs
|
|
3308
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3328
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/CreateReplica.ts.html |here} to see how to use CreateReplica API.
|
|
3309
3329
|
*/
|
|
3310
3330
|
createReplica(createReplicaRequest) {
|
|
3311
3331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3378,7 +3398,7 @@ class ReplicasClient {
|
|
|
3378
3398
|
* @param DeleteReplicaRequest
|
|
3379
3399
|
* @return DeleteReplicaResponse
|
|
3380
3400
|
* @throws OciError when an error occurs
|
|
3381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3401
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/DeleteReplica.ts.html |here} to see how to use DeleteReplica API.
|
|
3382
3402
|
*/
|
|
3383
3403
|
deleteReplica(deleteReplicaRequest) {
|
|
3384
3404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3438,7 +3458,7 @@ class ReplicasClient {
|
|
|
3438
3458
|
* @param GetReplicaRequest
|
|
3439
3459
|
* @return GetReplicaResponse
|
|
3440
3460
|
* @throws OciError when an error occurs
|
|
3441
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetReplica.ts.html |here} to see how to use GetReplica API.
|
|
3442
3462
|
*/
|
|
3443
3463
|
getReplica(getReplicaRequest) {
|
|
3444
3464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3502,7 +3522,7 @@ class ReplicasClient {
|
|
|
3502
3522
|
* @param ListReplicasRequest
|
|
3503
3523
|
* @return ListReplicasResponse
|
|
3504
3524
|
* @throws OciError when an error occurs
|
|
3505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListReplicas.ts.html |here} to see how to use ListReplicas API.
|
|
3506
3526
|
*/
|
|
3507
3527
|
listReplicas(listReplicasRequest) {
|
|
3508
3528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3615,7 +3635,7 @@ class ReplicasClient {
|
|
|
3615
3635
|
* @param UpdateReplicaRequest
|
|
3616
3636
|
* @return UpdateReplicaResponse
|
|
3617
3637
|
* @throws OciError when an error occurs
|
|
3618
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3638
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/UpdateReplica.ts.html |here} to see how to use UpdateReplica API.
|
|
3619
3639
|
*/
|
|
3620
3640
|
updateReplica(updateReplicaRequest) {
|
|
3621
3641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3706,6 +3726,10 @@ class WorkRequestsClient {
|
|
|
3706
3726
|
? clientConfiguration.bodyDuplexMode
|
|
3707
3727
|
: undefined;
|
|
3708
3728
|
}
|
|
3729
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("mysql")) {
|
|
3730
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
3731
|
+
throw errmsg.concat("mysql");
|
|
3732
|
+
}
|
|
3709
3733
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3710
3734
|
const specCircuitBreakerEnabled = true;
|
|
3711
3735
|
if (!this._circuitBreaker &&
|
|
@@ -3809,7 +3833,7 @@ class WorkRequestsClient {
|
|
|
3809
3833
|
* @param GetWorkRequestRequest
|
|
3810
3834
|
* @return GetWorkRequestResponse
|
|
3811
3835
|
* @throws OciError when an error occurs
|
|
3812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3813
3837
|
*/
|
|
3814
3838
|
getWorkRequest(getWorkRequestRequest) {
|
|
3815
3839
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3879,7 +3903,7 @@ class WorkRequestsClient {
|
|
|
3879
3903
|
* @param ListWorkRequestErrorsRequest
|
|
3880
3904
|
* @return ListWorkRequestErrorsResponse
|
|
3881
3905
|
* @throws OciError when an error occurs
|
|
3882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3906
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3883
3907
|
*/
|
|
3884
3908
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3885
3909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3986,7 +4010,7 @@ class WorkRequestsClient {
|
|
|
3986
4010
|
* @param ListWorkRequestLogsRequest
|
|
3987
4011
|
* @return ListWorkRequestLogsResponse
|
|
3988
4012
|
* @throws OciError when an error occurs
|
|
3989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4013
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3990
4014
|
*/
|
|
3991
4015
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3992
4016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4093,7 +4117,7 @@ class WorkRequestsClient {
|
|
|
4093
4117
|
* @param ListWorkRequestsRequest
|
|
4094
4118
|
* @return ListWorkRequestsResponse
|
|
4095
4119
|
* @throws OciError when an error occurs
|
|
4096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4120
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4097
4121
|
*/
|
|
4098
4122
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4099
4123
|
return __awaiter(this, void 0, void 0, function* () {
|