oci-mysql 2.48.0 → 2.49.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/index.d.ts +3 -0
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +184 -50
- package/lib/client.js +527 -51
- package/lib/client.js.map +1 -1
- package/lib/model/anonymous-transactions-handling.d.ts +24 -0
- package/lib/model/anonymous-transactions-handling.js +76 -0
- package/lib/model/anonymous-transactions-handling.js.map +1 -0
- package/lib/model/assign-manual-uuid-handling.d.ts +48 -0
- package/lib/model/assign-manual-uuid-handling.js +54 -0
- package/lib/model/assign-manual-uuid-handling.js.map +1 -0
- package/lib/model/assign-target-uuid-handling.d.ts +42 -0
- package/lib/model/assign-target-uuid-handling.js +54 -0
- package/lib/model/assign-target-uuid-handling.js.map +1 -0
- package/lib/model/backup-summary.d.ts +4 -0
- package/lib/model/backup-summary.js.map +1 -1
- package/lib/model/channel-filter.d.ts +50 -0
- package/lib/model/channel-filter.js +44 -0
- package/lib/model/channel-filter.js.map +1 -0
- package/lib/model/channel-source-mysql.d.ts +1 -0
- package/lib/model/channel-source-mysql.js +6 -0
- package/lib/model/channel-source-mysql.js.map +1 -1
- package/lib/model/channel-target-db-system.d.ts +5 -0
- package/lib/model/channel-target-db-system.js +14 -2
- package/lib/model/channel-target-db-system.js.map +1 -1
- package/lib/model/create-channel-source-from-mysql-details.d.ts +1 -0
- package/lib/model/create-channel-source-from-mysql-details.js +6 -0
- package/lib/model/create-channel-source-from-mysql-details.js.map +1 -1
- package/lib/model/create-channel-target-from-db-system-details.d.ts +5 -0
- package/lib/model/create-channel-target-from-db-system-details.js +14 -2
- package/lib/model/create-channel-target-from-db-system-details.js.map +1 -1
- package/lib/model/create-maintenance-details.d.ts +3 -1
- package/lib/model/create-maintenance-details.js.map +1 -1
- package/lib/model/create-replica-details.d.ts +59 -0
- package/lib/model/create-replica-details.js +29 -0
- package/lib/model/create-replica-details.js.map +1 -0
- package/lib/model/db-system-endpoint.d.ts +18 -0
- package/lib/model/db-system-endpoint.js +11 -0
- package/lib/model/db-system-endpoint.js.map +1 -1
- package/lib/model/error-on-anonymous-handling.d.ts +26 -0
- package/lib/model/error-on-anonymous-handling.js +54 -0
- package/lib/model/error-on-anonymous-handling.js.map +1 -0
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +20 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/maintenance-details.d.ts +3 -1
- package/lib/model/maintenance-details.js.map +1 -1
- package/lib/model/replica-summary.d.ts +126 -0
- package/lib/model/replica-summary.js +45 -0
- package/lib/model/replica-summary.js.map +1 -0
- package/lib/model/replica.d.ts +126 -0
- package/lib/model/replica.js +45 -0
- package/lib/model/replica.js.map +1 -0
- package/lib/model/update-channel-source-from-mysql-details.d.ts +1 -0
- package/lib/model/update-channel-source-from-mysql-details.js +6 -0
- package/lib/model/update-channel-source-from-mysql-details.js.map +1 -1
- package/lib/model/update-channel-target-from-db-system-details.d.ts +5 -0
- package/lib/model/update-channel-target-from-db-system-details.js +14 -2
- package/lib/model/update-channel-target-from-db-system-details.js.map +1 -1
- package/lib/model/update-maintenance-details.d.ts +4 -1
- package/lib/model/update-maintenance-details.js.map +1 -1
- package/lib/model/update-replica-details.d.ts +55 -0
- package/lib/model/update-replica-details.js +29 -0
- package/lib/model/update-replica-details.js.map +1 -0
- package/lib/model/work-request-operation-type.d.ts +8 -0
- package/lib/model/work-request-operation-type.js +8 -0
- package/lib/model/work-request-operation-type.js.map +1 -1
- package/lib/replicas-waiter.d.ts +29 -0
- package/lib/replicas-waiter.js +65 -0
- package/lib/replicas-waiter.js.map +1 -0
- 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/create-replica-request.d.ts +40 -0
- package/lib/request/create-replica-request.js +15 -0
- package/lib/request/create-replica-request.js.map +1 -0
- 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/delete-replica-request.d.ts +38 -0
- package/lib/request/delete-replica-request.js +15 -0
- package/lib/request/delete-replica-request.js.map +1 -0
- 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-replica-request.d.ts +38 -0
- package/lib/request/get-replica-request.js +15 -0
- package/lib/request/get-replica-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +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 +77 -0
- package/lib/request/list-replicas-request.js +29 -0
- package/lib/request/list-replicas-request.js.map +1 -0
- 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/lib/request/update-replica-request.d.ts +43 -0
- package/lib/request/update-replica-request.js +15 -0
- package/lib/request/update-replica-request.js.map +1 -0
- package/lib/response/create-replica-response.d.ts +39 -0
- package/lib/response/create-replica-response.js +15 -0
- package/lib/response/create-replica-response.js.map +1 -0
- package/lib/response/delete-replica-response.d.ts +25 -0
- package/lib/response/delete-replica-response.js +15 -0
- package/lib/response/delete-replica-response.js.map +1 -0
- package/lib/response/get-replica-response.d.ts +37 -0
- package/lib/response/get-replica-response.js +15 -0
- package/lib/response/get-replica-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-replicas-response.d.ts +32 -0
- package/lib/response/list-replicas-response.js +15 -0
- package/lib/response/list-replicas-response.js.map +1 -0
- package/lib/response/update-replica-response.d.ts +32 -0
- package/lib/response/update-replica-response.js +15 -0
- package/lib/response/update-replica-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -40,7 +40,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
42
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
-
exports.WorkRequestsClient = exports.WorkRequestsApiKeys = exports.MysqlaasClient = exports.MysqlaasApiKeys = exports.DbSystemClient = exports.DbSystemApiKeys = exports.DbBackupsClient = exports.DbBackupsApiKeys = exports.ChannelsClient = exports.ChannelsApiKeys = void 0;
|
|
43
|
+
exports.WorkRequestsClient = exports.WorkRequestsApiKeys = exports.ReplicasClient = exports.ReplicasApiKeys = exports.MysqlaasClient = exports.MysqlaasApiKeys = exports.DbSystemClient = exports.DbSystemApiKeys = exports.DbBackupsClient = exports.DbBackupsApiKeys = exports.ChannelsClient = exports.ChannelsApiKeys = void 0;
|
|
44
44
|
const common = require("oci-common");
|
|
45
45
|
const model = __importStar(require("./model"));
|
|
46
46
|
const oci_common_1 = require("oci-common");
|
|
@@ -48,6 +48,7 @@ const channels_waiter_1 = require("./channels-waiter");
|
|
|
48
48
|
const dbbackups_waiter_1 = require("./dbbackups-waiter");
|
|
49
49
|
const dbsystem_waiter_1 = require("./dbsystem-waiter");
|
|
50
50
|
const mysqlaas_waiter_1 = require("./mysqlaas-waiter");
|
|
51
|
+
const replicas_waiter_1 = require("./replicas-waiter");
|
|
51
52
|
const workrequests_waiter_1 = require("./workrequests-waiter");
|
|
52
53
|
const oci_common_2 = require("oci-common");
|
|
53
54
|
// ===============================================
|
|
@@ -162,7 +163,7 @@ class ChannelsClient {
|
|
|
162
163
|
* @param CreateChannelRequest
|
|
163
164
|
* @return CreateChannelResponse
|
|
164
165
|
* @throws OciError when an error occurs
|
|
165
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
166
167
|
*/
|
|
167
168
|
createChannel(createChannelRequest) {
|
|
168
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -230,7 +231,7 @@ class ChannelsClient {
|
|
|
230
231
|
* @param DeleteChannelRequest
|
|
231
232
|
* @return DeleteChannelResponse
|
|
232
233
|
* @throws OciError when an error occurs
|
|
233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
234
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
234
235
|
*/
|
|
235
236
|
deleteChannel(deleteChannelRequest) {
|
|
236
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -293,7 +294,7 @@ class ChannelsClient {
|
|
|
293
294
|
* @param GetChannelRequest
|
|
294
295
|
* @return GetChannelResponse
|
|
295
296
|
* @throws OciError when an error occurs
|
|
296
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
297
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
297
298
|
*/
|
|
298
299
|
getChannel(getChannelRequest) {
|
|
299
300
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -357,7 +358,7 @@ class ChannelsClient {
|
|
|
357
358
|
* @param ListChannelsRequest
|
|
358
359
|
* @return ListChannelsResponse
|
|
359
360
|
* @throws OciError when an error occurs
|
|
360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
361
362
|
*/
|
|
362
363
|
listChannels(listChannelsRequest) {
|
|
363
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -471,7 +472,7 @@ class ChannelsClient {
|
|
|
471
472
|
* @param ResetChannelRequest
|
|
472
473
|
* @return ResetChannelResponse
|
|
473
474
|
* @throws OciError when an error occurs
|
|
474
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
475
476
|
*/
|
|
476
477
|
resetChannel(resetChannelRequest) {
|
|
477
478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -535,7 +536,7 @@ class ChannelsClient {
|
|
|
535
536
|
* @param ResumeChannelRequest
|
|
536
537
|
* @return ResumeChannelResponse
|
|
537
538
|
* @throws OciError when an error occurs
|
|
538
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
539
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
539
540
|
*/
|
|
540
541
|
resumeChannel(resumeChannelRequest) {
|
|
541
542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -600,7 +601,7 @@ class ChannelsClient {
|
|
|
600
601
|
* @param UpdateChannelRequest
|
|
601
602
|
* @return UpdateChannelResponse
|
|
602
603
|
* @throws OciError when an error occurs
|
|
603
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
604
605
|
*/
|
|
605
606
|
updateChannel(updateChannelRequest) {
|
|
606
607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -770,7 +771,7 @@ class DbBackupsClient {
|
|
|
770
771
|
* @param ChangeBackupCompartmentRequest
|
|
771
772
|
* @return ChangeBackupCompartmentResponse
|
|
772
773
|
* @throws OciError when an error occurs
|
|
773
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
774
775
|
*/
|
|
775
776
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
776
777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -833,7 +834,7 @@ class DbBackupsClient {
|
|
|
833
834
|
* @param CreateBackupRequest
|
|
834
835
|
* @return CreateBackupResponse
|
|
835
836
|
* @throws OciError when an error occurs
|
|
836
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
837
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
837
838
|
*/
|
|
838
839
|
createBackup(createBackupRequest) {
|
|
839
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -902,7 +903,7 @@ class DbBackupsClient {
|
|
|
902
903
|
* @param DeleteBackupRequest
|
|
903
904
|
* @return DeleteBackupResponse
|
|
904
905
|
* @throws OciError when an error occurs
|
|
905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
906
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
906
907
|
*/
|
|
907
908
|
deleteBackup(deleteBackupRequest) {
|
|
908
909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -962,7 +963,7 @@ class DbBackupsClient {
|
|
|
962
963
|
* @param GetBackupRequest
|
|
963
964
|
* @return GetBackupResponse
|
|
964
965
|
* @throws OciError when an error occurs
|
|
965
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
966
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
966
967
|
*/
|
|
967
968
|
getBackup(getBackupRequest) {
|
|
968
969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1027,7 +1028,7 @@ class DbBackupsClient {
|
|
|
1027
1028
|
* @param ListBackupsRequest
|
|
1028
1029
|
* @return ListBackupsResponse
|
|
1029
1030
|
* @throws OciError when an error occurs
|
|
1030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1031
1032
|
*/
|
|
1032
1033
|
listBackups(listBackupsRequest) {
|
|
1033
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1139,7 +1140,7 @@ class DbBackupsClient {
|
|
|
1139
1140
|
* @param UpdateBackupRequest
|
|
1140
1141
|
* @return UpdateBackupResponse
|
|
1141
1142
|
* @throws OciError when an error occurs
|
|
1142
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1143
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1143
1144
|
*/
|
|
1144
1145
|
updateBackup(updateBackupRequest) {
|
|
1145
1146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1312,7 +1313,7 @@ class DbSystemClient {
|
|
|
1312
1313
|
* @param AddAnalyticsClusterRequest
|
|
1313
1314
|
* @return AddAnalyticsClusterResponse
|
|
1314
1315
|
* @throws OciError when an error occurs
|
|
1315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1316
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1316
1317
|
*/
|
|
1317
1318
|
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1318
1319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1384,7 +1385,7 @@ class DbSystemClient {
|
|
|
1384
1385
|
* @param AddHeatWaveClusterRequest
|
|
1385
1386
|
* @return AddHeatWaveClusterResponse
|
|
1386
1387
|
* @throws OciError when an error occurs
|
|
1387
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1388
1389
|
*/
|
|
1389
1390
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1390
1391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1456,7 +1457,7 @@ class DbSystemClient {
|
|
|
1456
1457
|
* @param CreateDbSystemRequest
|
|
1457
1458
|
* @return CreateDbSystemResponse
|
|
1458
1459
|
* @throws OciError when an error occurs
|
|
1459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1460
1461
|
*/
|
|
1461
1462
|
createDbSystem(createDbSystemRequest) {
|
|
1462
1463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1532,7 +1533,7 @@ class DbSystemClient {
|
|
|
1532
1533
|
* @param DeleteAnalyticsClusterRequest
|
|
1533
1534
|
* @return DeleteAnalyticsClusterResponse
|
|
1534
1535
|
* @throws OciError when an error occurs
|
|
1535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1536
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1536
1537
|
*/
|
|
1537
1538
|
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1538
1539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1594,7 +1595,7 @@ class DbSystemClient {
|
|
|
1594
1595
|
* @param DeleteDbSystemRequest
|
|
1595
1596
|
* @return DeleteDbSystemResponse
|
|
1596
1597
|
* @throws OciError when an error occurs
|
|
1597
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1598
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1598
1599
|
*/
|
|
1599
1600
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1600
1601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1656,7 +1657,7 @@ class DbSystemClient {
|
|
|
1656
1657
|
* @param DeleteHeatWaveClusterRequest
|
|
1657
1658
|
* @return DeleteHeatWaveClusterResponse
|
|
1658
1659
|
* @throws OciError when an error occurs
|
|
1659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1660
1661
|
*/
|
|
1661
1662
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1662
1663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1718,7 +1719,7 @@ class DbSystemClient {
|
|
|
1718
1719
|
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1719
1720
|
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1720
1721
|
* @throws OciError when an error occurs
|
|
1721
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1722
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1722
1723
|
*/
|
|
1723
1724
|
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1724
1725
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1783,7 +1784,7 @@ class DbSystemClient {
|
|
|
1783
1784
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1784
1785
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1785
1786
|
* @throws OciError when an error occurs
|
|
1786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1787
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1787
1788
|
*/
|
|
1788
1789
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1789
1790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1849,7 +1850,7 @@ class DbSystemClient {
|
|
|
1849
1850
|
* @param GetAnalyticsClusterRequest
|
|
1850
1851
|
* @return GetAnalyticsClusterResponse
|
|
1851
1852
|
* @throws OciError when an error occurs
|
|
1852
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1853
1854
|
*/
|
|
1854
1855
|
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1855
1856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1916,7 +1917,7 @@ class DbSystemClient {
|
|
|
1916
1917
|
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1917
1918
|
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
1918
1919
|
* @throws OciError when an error occurs
|
|
1919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
1920
1921
|
*/
|
|
1921
1922
|
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
1922
1923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1974,7 +1975,7 @@ class DbSystemClient {
|
|
|
1974
1975
|
* @param GetDbSystemRequest
|
|
1975
1976
|
* @return GetDbSystemResponse
|
|
1976
1977
|
* @throws OciError when an error occurs
|
|
1977
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1978
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1978
1979
|
*/
|
|
1979
1980
|
getDbSystem(getDbSystemRequest) {
|
|
1980
1981
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2038,7 +2039,7 @@ class DbSystemClient {
|
|
|
2038
2039
|
* @param GetHeatWaveClusterRequest
|
|
2039
2040
|
* @return GetHeatWaveClusterResponse
|
|
2040
2041
|
* @throws OciError when an error occurs
|
|
2041
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2042
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
2042
2043
|
*/
|
|
2043
2044
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
2044
2045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2104,7 +2105,7 @@ class DbSystemClient {
|
|
|
2104
2105
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
2105
2106
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
2106
2107
|
* @throws OciError when an error occurs
|
|
2107
|
-
* @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.49.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
2108
2109
|
*/
|
|
2109
2110
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
2110
2111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2164,7 +2165,7 @@ class DbSystemClient {
|
|
|
2164
2165
|
* @param ListDbSystemsRequest
|
|
2165
2166
|
* @return ListDbSystemsResponse
|
|
2166
2167
|
* @throws OciError when an error occurs
|
|
2167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
2168
2169
|
*/
|
|
2169
2170
|
listDbSystems(listDbSystemsRequest) {
|
|
2170
2171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2280,7 +2281,7 @@ class DbSystemClient {
|
|
|
2280
2281
|
* @param RestartAnalyticsClusterRequest
|
|
2281
2282
|
* @return RestartAnalyticsClusterResponse
|
|
2282
2283
|
* @throws OciError when an error occurs
|
|
2283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2284
2285
|
*/
|
|
2285
2286
|
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2286
2287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2341,7 +2342,7 @@ class DbSystemClient {
|
|
|
2341
2342
|
* @param RestartDbSystemRequest
|
|
2342
2343
|
* @return RestartDbSystemResponse
|
|
2343
2344
|
* @throws OciError when an error occurs
|
|
2344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2345
2346
|
*/
|
|
2346
2347
|
restartDbSystem(restartDbSystemRequest) {
|
|
2347
2348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2403,7 +2404,7 @@ class DbSystemClient {
|
|
|
2403
2404
|
* @param RestartHeatWaveClusterRequest
|
|
2404
2405
|
* @return RestartHeatWaveClusterResponse
|
|
2405
2406
|
* @throws OciError when an error occurs
|
|
2406
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2407
2408
|
*/
|
|
2408
2409
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2409
2410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2466,7 +2467,7 @@ class DbSystemClient {
|
|
|
2466
2467
|
* @param StartAnalyticsClusterRequest
|
|
2467
2468
|
* @return StartAnalyticsClusterResponse
|
|
2468
2469
|
* @throws OciError when an error occurs
|
|
2469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2470
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2470
2471
|
*/
|
|
2471
2472
|
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2472
2473
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2527,7 +2528,7 @@ class DbSystemClient {
|
|
|
2527
2528
|
* @param StartDbSystemRequest
|
|
2528
2529
|
* @return StartDbSystemResponse
|
|
2529
2530
|
* @throws OciError when an error occurs
|
|
2530
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2531
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2531
2532
|
*/
|
|
2532
2533
|
startDbSystem(startDbSystemRequest) {
|
|
2533
2534
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2588,7 +2589,7 @@ class DbSystemClient {
|
|
|
2588
2589
|
* @param StartHeatWaveClusterRequest
|
|
2589
2590
|
* @return StartHeatWaveClusterResponse
|
|
2590
2591
|
* @throws OciError when an error occurs
|
|
2591
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2592
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2592
2593
|
*/
|
|
2593
2594
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2594
2595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2651,7 +2652,7 @@ class DbSystemClient {
|
|
|
2651
2652
|
* @param StopAnalyticsClusterRequest
|
|
2652
2653
|
* @return StopAnalyticsClusterResponse
|
|
2653
2654
|
* @throws OciError when an error occurs
|
|
2654
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2655
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2655
2656
|
*/
|
|
2656
2657
|
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2657
2658
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2715,7 +2716,7 @@ class DbSystemClient {
|
|
|
2715
2716
|
* @param StopDbSystemRequest
|
|
2716
2717
|
* @return StopDbSystemResponse
|
|
2717
2718
|
* @throws OciError when an error occurs
|
|
2718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2719
2720
|
*/
|
|
2720
2721
|
stopDbSystem(stopDbSystemRequest) {
|
|
2721
2722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2777,7 +2778,7 @@ class DbSystemClient {
|
|
|
2777
2778
|
* @param StopHeatWaveClusterRequest
|
|
2778
2779
|
* @return StopHeatWaveClusterResponse
|
|
2779
2780
|
* @throws OciError when an error occurs
|
|
2780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2781
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2781
2782
|
*/
|
|
2782
2783
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2783
2784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2840,7 +2841,7 @@ class DbSystemClient {
|
|
|
2840
2841
|
* @param UpdateAnalyticsClusterRequest
|
|
2841
2842
|
* @return UpdateAnalyticsClusterResponse
|
|
2842
2843
|
* @throws OciError when an error occurs
|
|
2843
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2844
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2844
2845
|
*/
|
|
2845
2846
|
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2846
2847
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2909,7 +2910,7 @@ class DbSystemClient {
|
|
|
2909
2910
|
* @param UpdateDbSystemRequest
|
|
2910
2911
|
* @return UpdateDbSystemResponse
|
|
2911
2912
|
* @throws OciError when an error occurs
|
|
2912
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2913
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2913
2914
|
*/
|
|
2914
2915
|
updateDbSystem(updateDbSystemRequest) {
|
|
2915
2916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2971,7 +2972,7 @@ class DbSystemClient {
|
|
|
2971
2972
|
* @param UpdateHeatWaveClusterRequest
|
|
2972
2973
|
* @return UpdateHeatWaveClusterResponse
|
|
2973
2974
|
* @throws OciError when an error occurs
|
|
2974
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2975
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2975
2976
|
*/
|
|
2976
2977
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2977
2978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3138,7 +3139,7 @@ class MysqlaasClient {
|
|
|
3138
3139
|
* @param CreateConfigurationRequest
|
|
3139
3140
|
* @return CreateConfigurationResponse
|
|
3140
3141
|
* @throws OciError when an error occurs
|
|
3141
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3142
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
3142
3143
|
*/
|
|
3143
3144
|
createConfiguration(createConfigurationRequest) {
|
|
3144
3145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3213,7 +3214,7 @@ class MysqlaasClient {
|
|
|
3213
3214
|
* @param DeleteConfigurationRequest
|
|
3214
3215
|
* @return DeleteConfigurationResponse
|
|
3215
3216
|
* @throws OciError when an error occurs
|
|
3216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
3217
3218
|
*/
|
|
3218
3219
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
3219
3220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3269,7 +3270,7 @@ class MysqlaasClient {
|
|
|
3269
3270
|
* @param GetConfigurationRequest
|
|
3270
3271
|
* @return GetConfigurationResponse
|
|
3271
3272
|
* @throws OciError when an error occurs
|
|
3272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3273
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
3273
3274
|
*/
|
|
3274
3275
|
getConfiguration(getConfigurationRequest) {
|
|
3275
3276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3341,7 +3342,7 @@ class MysqlaasClient {
|
|
|
3341
3342
|
* @param ListConfigurationsRequest
|
|
3342
3343
|
* @return ListConfigurationsResponse
|
|
3343
3344
|
* @throws OciError when an error occurs
|
|
3344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3345
3346
|
*/
|
|
3346
3347
|
listConfigurations(listConfigurationsRequest) {
|
|
3347
3348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3457,7 +3458,7 @@ class MysqlaasClient {
|
|
|
3457
3458
|
* @param ListShapesRequest
|
|
3458
3459
|
* @return ListShapesResponse
|
|
3459
3460
|
* @throws OciError when an error occurs
|
|
3460
|
-
* @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.49.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3461
3462
|
*/
|
|
3462
3463
|
listShapes(listShapesRequest) {
|
|
3463
3464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3521,7 +3522,7 @@ class MysqlaasClient {
|
|
|
3521
3522
|
* @param ListVersionsRequest
|
|
3522
3523
|
* @return ListVersionsResponse
|
|
3523
3524
|
* @throws OciError when an error occurs
|
|
3524
|
-
* @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.49.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3525
3526
|
*/
|
|
3526
3527
|
listVersions(listVersionsRequest) {
|
|
3527
3528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3579,7 +3580,7 @@ class MysqlaasClient {
|
|
|
3579
3580
|
* @param UpdateConfigurationRequest
|
|
3580
3581
|
* @return UpdateConfigurationResponse
|
|
3581
3582
|
* @throws OciError when an error occurs
|
|
3582
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3583
3584
|
*/
|
|
3584
3585
|
updateConfiguration(updateConfigurationRequest) {
|
|
3585
3586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3642,6 +3643,481 @@ class MysqlaasClient {
|
|
|
3642
3643
|
exports.MysqlaasClient = MysqlaasClient;
|
|
3643
3644
|
MysqlaasClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLevelDomain}";
|
|
3644
3645
|
MysqlaasClient.endpointServiceName = "";
|
|
3646
|
+
var ReplicasApiKeys;
|
|
3647
|
+
(function (ReplicasApiKeys) {
|
|
3648
|
+
})(ReplicasApiKeys = exports.ReplicasApiKeys || (exports.ReplicasApiKeys = {}));
|
|
3649
|
+
/**
|
|
3650
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
3651
|
+
*/
|
|
3652
|
+
class ReplicasClient {
|
|
3653
|
+
constructor(params, clientConfiguration) {
|
|
3654
|
+
this["_endpoint"] = "";
|
|
3655
|
+
this["_defaultHeaders"] = {};
|
|
3656
|
+
this._circuitBreaker = null;
|
|
3657
|
+
this._httpOptions = undefined;
|
|
3658
|
+
this.targetService = "Replicas";
|
|
3659
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
3660
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3661
|
+
: null;
|
|
3662
|
+
if (clientConfiguration) {
|
|
3663
|
+
this._clientConfiguration = clientConfiguration;
|
|
3664
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
3665
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
3666
|
+
: null;
|
|
3667
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
3668
|
+
? clientConfiguration.httpOptions
|
|
3669
|
+
: undefined;
|
|
3670
|
+
}
|
|
3671
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3672
|
+
const specCircuitBreakerEnabled = true;
|
|
3673
|
+
if (!this._circuitBreaker &&
|
|
3674
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
3675
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
3676
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
3677
|
+
}
|
|
3678
|
+
this._httpClient =
|
|
3679
|
+
params.httpClient ||
|
|
3680
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
3681
|
+
if (params.authenticationDetailsProvider &&
|
|
3682
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
3683
|
+
const provider = params.authenticationDetailsProvider;
|
|
3684
|
+
if (provider.getRegion()) {
|
|
3685
|
+
this.region = provider.getRegion();
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
/**
|
|
3690
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
3691
|
+
*/
|
|
3692
|
+
get endpoint() {
|
|
3693
|
+
return this._endpoint;
|
|
3694
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
3697
|
+
* @param endpoint The endpoint of the service.
|
|
3698
|
+
*/
|
|
3699
|
+
set endpoint(endpoint) {
|
|
3700
|
+
this._endpoint = endpoint;
|
|
3701
|
+
this._endpoint = this._endpoint + "/20190415";
|
|
3702
|
+
if (this.logger)
|
|
3703
|
+
this.logger.info(`ReplicasClient endpoint set to ${this._endpoint}`);
|
|
3704
|
+
}
|
|
3705
|
+
get logger() {
|
|
3706
|
+
return common.LOG.logger;
|
|
3707
|
+
}
|
|
3708
|
+
/**
|
|
3709
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
3710
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
3711
|
+
* @param region The region of the service.
|
|
3712
|
+
*/
|
|
3713
|
+
set region(region) {
|
|
3714
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ReplicasClient.serviceEndpointTemplate, region, ReplicasClient.endpointServiceName);
|
|
3715
|
+
}
|
|
3716
|
+
/**
|
|
3717
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
3718
|
+
*
|
|
3719
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
3720
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
3721
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
3722
|
+
* @param regionId The public region ID.
|
|
3723
|
+
*/
|
|
3724
|
+
set regionId(regionId) {
|
|
3725
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ReplicasClient.serviceEndpointTemplate, regionId, ReplicasClient.endpointServiceName);
|
|
3726
|
+
}
|
|
3727
|
+
/**
|
|
3728
|
+
* Creates a new ReplicasWaiter for resources for this service.
|
|
3729
|
+
*
|
|
3730
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
3731
|
+
* @return The service waiters.
|
|
3732
|
+
*/
|
|
3733
|
+
createWaiters(config) {
|
|
3734
|
+
this._waiters = new replicas_waiter_1.ReplicasWaiter(this, config);
|
|
3735
|
+
return this._waiters;
|
|
3736
|
+
}
|
|
3737
|
+
/**
|
|
3738
|
+
* Gets the waiters available for resources for this service.
|
|
3739
|
+
*
|
|
3740
|
+
* @return The service waiters.
|
|
3741
|
+
*/
|
|
3742
|
+
getWaiters() {
|
|
3743
|
+
if (this._waiters) {
|
|
3744
|
+
return this._waiters;
|
|
3745
|
+
}
|
|
3746
|
+
throw Error("Waiters do not exist. Please create waiters.");
|
|
3747
|
+
}
|
|
3748
|
+
/**
|
|
3749
|
+
* Creates a DB System read replica.
|
|
3750
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3751
|
+
* @param CreateReplicaRequest
|
|
3752
|
+
* @return CreateReplicaResponse
|
|
3753
|
+
* @throws OciError when an error occurs
|
|
3754
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/CreateReplica.ts.html |here} to see how to use CreateReplica API.
|
|
3755
|
+
*/
|
|
3756
|
+
createReplica(createReplicaRequest) {
|
|
3757
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3758
|
+
if (this.logger)
|
|
3759
|
+
this.logger.debug("Calling operation ReplicasClient#createReplica.");
|
|
3760
|
+
const operationName = "createReplica";
|
|
3761
|
+
const apiReferenceLink = "";
|
|
3762
|
+
const pathParams = {};
|
|
3763
|
+
const queryParams = {};
|
|
3764
|
+
let headerParams = {
|
|
3765
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3766
|
+
"opc-request-id": createReplicaRequest.opcRequestId,
|
|
3767
|
+
"opc-retry-token": createReplicaRequest.opcRetryToken
|
|
3768
|
+
};
|
|
3769
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3770
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3771
|
+
if (this.logger)
|
|
3772
|
+
retrier.logger = this.logger;
|
|
3773
|
+
const request = yield oci_common_2.composeRequest({
|
|
3774
|
+
baseEndpoint: this._endpoint,
|
|
3775
|
+
defaultHeaders: this._defaultHeaders,
|
|
3776
|
+
path: "/replicas",
|
|
3777
|
+
method: "POST",
|
|
3778
|
+
bodyContent: common.ObjectSerializer.serialize(createReplicaRequest.createReplicaDetails, "CreateReplicaDetails", model.CreateReplicaDetails.getJsonObj),
|
|
3779
|
+
pathParams: pathParams,
|
|
3780
|
+
headerParams: headerParams,
|
|
3781
|
+
queryParams: queryParams
|
|
3782
|
+
});
|
|
3783
|
+
try {
|
|
3784
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3785
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3786
|
+
responseObject: {},
|
|
3787
|
+
body: yield response.json(),
|
|
3788
|
+
bodyKey: "replica",
|
|
3789
|
+
bodyModel: model.Replica,
|
|
3790
|
+
type: "model.Replica",
|
|
3791
|
+
responseHeaders: [
|
|
3792
|
+
{
|
|
3793
|
+
value: response.headers.get("location"),
|
|
3794
|
+
key: "location",
|
|
3795
|
+
dataType: "string"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
value: response.headers.get("etag"),
|
|
3799
|
+
key: "etag",
|
|
3800
|
+
dataType: "string"
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
value: response.headers.get("opc-request-id"),
|
|
3804
|
+
key: "opcRequestId",
|
|
3805
|
+
dataType: "string"
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3809
|
+
key: "opcWorkRequestId",
|
|
3810
|
+
dataType: "string"
|
|
3811
|
+
}
|
|
3812
|
+
]
|
|
3813
|
+
});
|
|
3814
|
+
return sdkResponse;
|
|
3815
|
+
}
|
|
3816
|
+
catch (err) {
|
|
3817
|
+
throw err;
|
|
3818
|
+
}
|
|
3819
|
+
});
|
|
3820
|
+
}
|
|
3821
|
+
/**
|
|
3822
|
+
* Deletes the specified read replica.
|
|
3823
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3824
|
+
* @param DeleteReplicaRequest
|
|
3825
|
+
* @return DeleteReplicaResponse
|
|
3826
|
+
* @throws OciError when an error occurs
|
|
3827
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/DeleteReplica.ts.html |here} to see how to use DeleteReplica API.
|
|
3828
|
+
*/
|
|
3829
|
+
deleteReplica(deleteReplicaRequest) {
|
|
3830
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3831
|
+
if (this.logger)
|
|
3832
|
+
this.logger.debug("Calling operation ReplicasClient#deleteReplica.");
|
|
3833
|
+
const operationName = "deleteReplica";
|
|
3834
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Replica/DeleteReplica";
|
|
3835
|
+
const pathParams = {
|
|
3836
|
+
"{replicaId}": deleteReplicaRequest.replicaId
|
|
3837
|
+
};
|
|
3838
|
+
const queryParams = {};
|
|
3839
|
+
let headerParams = {
|
|
3840
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3841
|
+
"if-match": deleteReplicaRequest.ifMatch,
|
|
3842
|
+
"opc-request-id": deleteReplicaRequest.opcRequestId
|
|
3843
|
+
};
|
|
3844
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3845
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3846
|
+
if (this.logger)
|
|
3847
|
+
retrier.logger = this.logger;
|
|
3848
|
+
const request = yield oci_common_2.composeRequest({
|
|
3849
|
+
baseEndpoint: this._endpoint,
|
|
3850
|
+
defaultHeaders: this._defaultHeaders,
|
|
3851
|
+
path: "/replicas/{replicaId}",
|
|
3852
|
+
method: "DELETE",
|
|
3853
|
+
pathParams: pathParams,
|
|
3854
|
+
headerParams: headerParams,
|
|
3855
|
+
queryParams: queryParams
|
|
3856
|
+
});
|
|
3857
|
+
try {
|
|
3858
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3859
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3860
|
+
responseObject: {},
|
|
3861
|
+
responseHeaders: [
|
|
3862
|
+
{
|
|
3863
|
+
value: response.headers.get("opc-request-id"),
|
|
3864
|
+
key: "opcRequestId",
|
|
3865
|
+
dataType: "string"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3869
|
+
key: "opcWorkRequestId",
|
|
3870
|
+
dataType: "string"
|
|
3871
|
+
}
|
|
3872
|
+
]
|
|
3873
|
+
});
|
|
3874
|
+
return sdkResponse;
|
|
3875
|
+
}
|
|
3876
|
+
catch (err) {
|
|
3877
|
+
throw err;
|
|
3878
|
+
}
|
|
3879
|
+
});
|
|
3880
|
+
}
|
|
3881
|
+
/**
|
|
3882
|
+
* Gets the full details of the specified read replica.
|
|
3883
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3884
|
+
* @param GetReplicaRequest
|
|
3885
|
+
* @return GetReplicaResponse
|
|
3886
|
+
* @throws OciError when an error occurs
|
|
3887
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetReplica.ts.html |here} to see how to use GetReplica API.
|
|
3888
|
+
*/
|
|
3889
|
+
getReplica(getReplicaRequest) {
|
|
3890
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3891
|
+
if (this.logger)
|
|
3892
|
+
this.logger.debug("Calling operation ReplicasClient#getReplica.");
|
|
3893
|
+
const operationName = "getReplica";
|
|
3894
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Replica/GetReplica";
|
|
3895
|
+
const pathParams = {
|
|
3896
|
+
"{replicaId}": getReplicaRequest.replicaId
|
|
3897
|
+
};
|
|
3898
|
+
const queryParams = {};
|
|
3899
|
+
let headerParams = {
|
|
3900
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3901
|
+
"opc-request-id": getReplicaRequest.opcRequestId,
|
|
3902
|
+
"if-none-match": getReplicaRequest.ifNoneMatch
|
|
3903
|
+
};
|
|
3904
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3905
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3906
|
+
if (this.logger)
|
|
3907
|
+
retrier.logger = this.logger;
|
|
3908
|
+
const request = yield oci_common_2.composeRequest({
|
|
3909
|
+
baseEndpoint: this._endpoint,
|
|
3910
|
+
defaultHeaders: this._defaultHeaders,
|
|
3911
|
+
path: "/replicas/{replicaId}",
|
|
3912
|
+
method: "GET",
|
|
3913
|
+
pathParams: pathParams,
|
|
3914
|
+
headerParams: headerParams,
|
|
3915
|
+
queryParams: queryParams
|
|
3916
|
+
});
|
|
3917
|
+
try {
|
|
3918
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3919
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3920
|
+
responseObject: {},
|
|
3921
|
+
body: yield response.json(),
|
|
3922
|
+
bodyKey: "replica",
|
|
3923
|
+
bodyModel: model.Replica,
|
|
3924
|
+
type: "model.Replica",
|
|
3925
|
+
responseHeaders: [
|
|
3926
|
+
{
|
|
3927
|
+
value: response.headers.get("etag"),
|
|
3928
|
+
key: "etag",
|
|
3929
|
+
dataType: "string"
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
value: response.headers.get("opc-request-id"),
|
|
3933
|
+
key: "opcRequestId",
|
|
3934
|
+
dataType: "string"
|
|
3935
|
+
}
|
|
3936
|
+
]
|
|
3937
|
+
});
|
|
3938
|
+
return sdkResponse;
|
|
3939
|
+
}
|
|
3940
|
+
catch (err) {
|
|
3941
|
+
throw err;
|
|
3942
|
+
}
|
|
3943
|
+
});
|
|
3944
|
+
}
|
|
3945
|
+
/**
|
|
3946
|
+
* Lists all the read replicas that match the specified filters.
|
|
3947
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3948
|
+
* @param ListReplicasRequest
|
|
3949
|
+
* @return ListReplicasResponse
|
|
3950
|
+
* @throws OciError when an error occurs
|
|
3951
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListReplicas.ts.html |here} to see how to use ListReplicas API.
|
|
3952
|
+
*/
|
|
3953
|
+
listReplicas(listReplicasRequest) {
|
|
3954
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3955
|
+
if (this.logger)
|
|
3956
|
+
this.logger.debug("Calling operation ReplicasClient#listReplicas.");
|
|
3957
|
+
const operationName = "listReplicas";
|
|
3958
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ReplicaSummary/ListReplicas";
|
|
3959
|
+
const pathParams = {};
|
|
3960
|
+
const queryParams = {
|
|
3961
|
+
"limit": listReplicasRequest.limit,
|
|
3962
|
+
"page": listReplicasRequest.page,
|
|
3963
|
+
"displayName": listReplicasRequest.displayName,
|
|
3964
|
+
"dbSystemId": listReplicasRequest.dbSystemId,
|
|
3965
|
+
"compartmentId": listReplicasRequest.compartmentId,
|
|
3966
|
+
"lifecycleState": listReplicasRequest.lifecycleState,
|
|
3967
|
+
"replicaId": listReplicasRequest.replicaId,
|
|
3968
|
+
"sortBy": listReplicasRequest.sortBy,
|
|
3969
|
+
"sortOrder": listReplicasRequest.sortOrder
|
|
3970
|
+
};
|
|
3971
|
+
let headerParams = {
|
|
3972
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3973
|
+
"opc-request-id": listReplicasRequest.opcRequestId
|
|
3974
|
+
};
|
|
3975
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3976
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicasRequest.retryConfiguration, specRetryConfiguration);
|
|
3977
|
+
if (this.logger)
|
|
3978
|
+
retrier.logger = this.logger;
|
|
3979
|
+
const request = yield oci_common_2.composeRequest({
|
|
3980
|
+
baseEndpoint: this._endpoint,
|
|
3981
|
+
defaultHeaders: this._defaultHeaders,
|
|
3982
|
+
path: "/replicas",
|
|
3983
|
+
method: "GET",
|
|
3984
|
+
pathParams: pathParams,
|
|
3985
|
+
headerParams: headerParams,
|
|
3986
|
+
queryParams: queryParams
|
|
3987
|
+
});
|
|
3988
|
+
try {
|
|
3989
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3990
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3991
|
+
responseObject: {},
|
|
3992
|
+
body: yield response.json(),
|
|
3993
|
+
bodyKey: "items",
|
|
3994
|
+
bodyModel: model.ReplicaSummary,
|
|
3995
|
+
type: "Array<model.ReplicaSummary>",
|
|
3996
|
+
responseHeaders: [
|
|
3997
|
+
{
|
|
3998
|
+
value: response.headers.get("opc-request-id"),
|
|
3999
|
+
key: "opcRequestId",
|
|
4000
|
+
dataType: "string"
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
value: response.headers.get("opc-next-page"),
|
|
4004
|
+
key: "opcNextPage",
|
|
4005
|
+
dataType: "string"
|
|
4006
|
+
}
|
|
4007
|
+
]
|
|
4008
|
+
});
|
|
4009
|
+
return sdkResponse;
|
|
4010
|
+
}
|
|
4011
|
+
catch (err) {
|
|
4012
|
+
throw err;
|
|
4013
|
+
}
|
|
4014
|
+
});
|
|
4015
|
+
}
|
|
4016
|
+
/**
|
|
4017
|
+
* NOTE: This function is deprecated in favor of listReplicasRecordIterator function.
|
|
4018
|
+
* Creates a new async iterator which will iterate over the models.ReplicaSummary objects
|
|
4019
|
+
* contained in responses from the listReplicas operation. This iterator will fetch more data from the
|
|
4020
|
+
* server as needed.
|
|
4021
|
+
*
|
|
4022
|
+
* @param request a request which can be sent to the service operation
|
|
4023
|
+
*/
|
|
4024
|
+
listAllReplicas(request) {
|
|
4025
|
+
return oci_common_1.paginateRecords(request, req => this.listReplicas(req));
|
|
4026
|
+
}
|
|
4027
|
+
/**
|
|
4028
|
+
* NOTE: This function is deprecated in favor of listReplicasResponseIterator function.
|
|
4029
|
+
* Creates a new async iterator which will iterate over the responses received from the listReplicas operation. This iterator
|
|
4030
|
+
* will fetch more data from the server as needed.
|
|
4031
|
+
*
|
|
4032
|
+
* @param request a request which can be sent to the service operation
|
|
4033
|
+
*/
|
|
4034
|
+
listAllReplicasResponses(request) {
|
|
4035
|
+
return oci_common_1.paginateResponses(request, req => this.listReplicas(req));
|
|
4036
|
+
}
|
|
4037
|
+
/**
|
|
4038
|
+
* Creates a new async iterator which will iterate over the models.ReplicaSummary objects
|
|
4039
|
+
* contained in responses from the listReplicas operation. This iterator will fetch more data from the
|
|
4040
|
+
* server as needed.
|
|
4041
|
+
*
|
|
4042
|
+
* @param request a request which can be sent to the service operation
|
|
4043
|
+
*/
|
|
4044
|
+
listReplicasRecordIterator(request) {
|
|
4045
|
+
return oci_common_1.paginateRecords(request, req => this.listReplicas(req));
|
|
4046
|
+
}
|
|
4047
|
+
/**
|
|
4048
|
+
* Creates a new async iterator which will iterate over the responses received from the listReplicas operation. This iterator
|
|
4049
|
+
* will fetch more data from the server as needed.
|
|
4050
|
+
*
|
|
4051
|
+
* @param request a request which can be sent to the service operation
|
|
4052
|
+
*/
|
|
4053
|
+
listReplicasResponseIterator(request) {
|
|
4054
|
+
return oci_common_1.paginateResponses(request, req => this.listReplicas(req));
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Updates the properties of the specified read replica.
|
|
4058
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4059
|
+
* @param UpdateReplicaRequest
|
|
4060
|
+
* @return UpdateReplicaResponse
|
|
4061
|
+
* @throws OciError when an error occurs
|
|
4062
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/UpdateReplica.ts.html |here} to see how to use UpdateReplica API.
|
|
4063
|
+
*/
|
|
4064
|
+
updateReplica(updateReplicaRequest) {
|
|
4065
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4066
|
+
if (this.logger)
|
|
4067
|
+
this.logger.debug("Calling operation ReplicasClient#updateReplica.");
|
|
4068
|
+
const operationName = "updateReplica";
|
|
4069
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Replica/UpdateReplica";
|
|
4070
|
+
const pathParams = {
|
|
4071
|
+
"{replicaId}": updateReplicaRequest.replicaId
|
|
4072
|
+
};
|
|
4073
|
+
const queryParams = {};
|
|
4074
|
+
let headerParams = {
|
|
4075
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4076
|
+
"if-match": updateReplicaRequest.ifMatch,
|
|
4077
|
+
"opc-request-id": updateReplicaRequest.opcRequestId
|
|
4078
|
+
};
|
|
4079
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4080
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
4081
|
+
if (this.logger)
|
|
4082
|
+
retrier.logger = this.logger;
|
|
4083
|
+
const request = yield oci_common_2.composeRequest({
|
|
4084
|
+
baseEndpoint: this._endpoint,
|
|
4085
|
+
defaultHeaders: this._defaultHeaders,
|
|
4086
|
+
path: "/replicas/{replicaId}",
|
|
4087
|
+
method: "PUT",
|
|
4088
|
+
bodyContent: common.ObjectSerializer.serialize(updateReplicaRequest.updateReplicaDetails, "UpdateReplicaDetails", model.UpdateReplicaDetails.getJsonObj),
|
|
4089
|
+
pathParams: pathParams,
|
|
4090
|
+
headerParams: headerParams,
|
|
4091
|
+
queryParams: queryParams
|
|
4092
|
+
});
|
|
4093
|
+
try {
|
|
4094
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4095
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4096
|
+
responseObject: {},
|
|
4097
|
+
responseHeaders: [
|
|
4098
|
+
{
|
|
4099
|
+
value: response.headers.get("opc-request-id"),
|
|
4100
|
+
key: "opcRequestId",
|
|
4101
|
+
dataType: "string"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4105
|
+
key: "opcWorkRequestId",
|
|
4106
|
+
dataType: "string"
|
|
4107
|
+
}
|
|
4108
|
+
]
|
|
4109
|
+
});
|
|
4110
|
+
return sdkResponse;
|
|
4111
|
+
}
|
|
4112
|
+
catch (err) {
|
|
4113
|
+
throw err;
|
|
4114
|
+
}
|
|
4115
|
+
});
|
|
4116
|
+
}
|
|
4117
|
+
}
|
|
4118
|
+
exports.ReplicasClient = ReplicasClient;
|
|
4119
|
+
ReplicasClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLevelDomain}";
|
|
4120
|
+
ReplicasClient.endpointServiceName = "";
|
|
3645
4121
|
var WorkRequestsApiKeys;
|
|
3646
4122
|
(function (WorkRequestsApiKeys) {
|
|
3647
4123
|
})(WorkRequestsApiKeys = exports.WorkRequestsApiKeys || (exports.WorkRequestsApiKeys = {}));
|
|
@@ -3750,7 +4226,7 @@ class WorkRequestsClient {
|
|
|
3750
4226
|
* @param GetWorkRequestRequest
|
|
3751
4227
|
* @return GetWorkRequestResponse
|
|
3752
4228
|
* @throws OciError when an error occurs
|
|
3753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4229
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3754
4230
|
*/
|
|
3755
4231
|
getWorkRequest(getWorkRequestRequest) {
|
|
3756
4232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3820,7 +4296,7 @@ class WorkRequestsClient {
|
|
|
3820
4296
|
* @param ListWorkRequestErrorsRequest
|
|
3821
4297
|
* @return ListWorkRequestErrorsResponse
|
|
3822
4298
|
* @throws OciError when an error occurs
|
|
3823
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3824
4300
|
*/
|
|
3825
4301
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3826
4302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3927,7 +4403,7 @@ class WorkRequestsClient {
|
|
|
3927
4403
|
* @param ListWorkRequestLogsRequest
|
|
3928
4404
|
* @return ListWorkRequestLogsResponse
|
|
3929
4405
|
* @throws OciError when an error occurs
|
|
3930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3931
4407
|
*/
|
|
3932
4408
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3933
4409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4034,7 +4510,7 @@ class WorkRequestsClient {
|
|
|
4034
4510
|
* @param ListWorkRequestsRequest
|
|
4035
4511
|
* @return ListWorkRequestsResponse
|
|
4036
4512
|
* @throws OciError when an error occurs
|
|
4037
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4513
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4038
4514
|
*/
|
|
4039
4515
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4040
4516
|
return __awaiter(this, void 0, void 0, function* () {
|