oci-databasemigration 2.56.0 → 2.58.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +51 -41
- package/lib/client.js +64 -41
- package/lib/client.js.map +1 -1
- package/lib/request/abort-job-request.d.ts +1 -1
- package/lib/request/add-migration-objects-request.d.ts +1 -1
- package/lib/request/change-agent-compartment-request.d.ts +1 -1
- package/lib/request/change-connection-compartment-request.d.ts +1 -1
- package/lib/request/change-migration-compartment-request.d.ts +1 -1
- package/lib/request/clone-migration-request.d.ts +1 -1
- package/lib/request/connection-diagnostics-request.d.ts +1 -1
- package/lib/request/create-connection-request.d.ts +1 -1
- package/lib/request/create-migration-request.d.ts +1 -1
- package/lib/request/delete-agent-request.d.ts +1 -1
- package/lib/request/delete-connection-request.d.ts +1 -1
- package/lib/request/delete-job-request.d.ts +1 -1
- package/lib/request/delete-migration-request.d.ts +1 -1
- package/lib/request/evaluate-migration-request.d.ts +1 -1
- package/lib/request/get-advisor-report-request.d.ts +1 -1
- package/lib/request/get-agent-request.d.ts +1 -1
- package/lib/request/get-connection-request.d.ts +1 -1
- package/lib/request/get-job-output-content-request.d.ts +1 -1
- package/lib/request/get-job-request.d.ts +1 -1
- package/lib/request/get-migration-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-agent-images-request.d.ts +1 -1
- package/lib/request/list-agents-request.d.ts +1 -1
- package/lib/request/list-connections-request.d.ts +1 -1
- package/lib/request/list-excluded-objects-request.d.ts +1 -1
- package/lib/request/list-job-outputs-request.d.ts +1 -1
- package/lib/request/list-jobs-request.d.ts +1 -1
- package/lib/request/list-migration-object-types-request.d.ts +1 -1
- package/lib/request/list-migration-objects-request.d.ts +1 -1
- package/lib/request/list-migrations-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/remove-migration-objects-request.d.ts +1 -1
- package/lib/request/resume-job-request.d.ts +1 -1
- package/lib/request/retrieve-supported-phases-request.d.ts +1 -1
- package/lib/request/start-migration-request.d.ts +1 -1
- package/lib/request/update-agent-request.d.ts +1 -1
- package/lib/request/update-connection-request.d.ts +1 -1
- package/lib/request/update-job-request.d.ts +1 -1
- package/lib/request/update-migration-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -56,11 +56,14 @@ var DatabaseMigrationApiKeys;
|
|
|
56
56
|
*/
|
|
57
57
|
class DatabaseMigrationClient {
|
|
58
58
|
constructor(params, clientConfiguration) {
|
|
59
|
+
this["_realmSpecificEndpointTemplateEnabled"] = false;
|
|
59
60
|
this["_endpoint"] = "";
|
|
60
61
|
this["_defaultHeaders"] = {};
|
|
61
62
|
this._circuitBreaker = null;
|
|
62
63
|
this._httpOptions = undefined;
|
|
63
64
|
this.targetService = "DatabaseMigration";
|
|
65
|
+
this._regionId = "";
|
|
66
|
+
this._lastSetRegionOrRegionId = "";
|
|
64
67
|
const requestSigner = params.authenticationDetailsProvider
|
|
65
68
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
66
69
|
: null;
|
|
@@ -110,13 +113,31 @@ class DatabaseMigrationClient {
|
|
|
110
113
|
get logger() {
|
|
111
114
|
return common.LOG.logger;
|
|
112
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
118
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
119
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
120
|
+
*/
|
|
121
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
122
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
123
|
+
if (this.logger)
|
|
124
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
125
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
126
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DatabaseMigrationClient.serviceEndpointTemplate, this._region, DatabaseMigrationClient.endpointServiceName);
|
|
127
|
+
}
|
|
128
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
129
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DatabaseMigrationClient.serviceEndpointTemplate, this._regionId, DatabaseMigrationClient.endpointServiceName);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
113
132
|
/**
|
|
114
133
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
115
134
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
116
135
|
* @param region The region of the service.
|
|
117
136
|
*/
|
|
118
137
|
set region(region) {
|
|
138
|
+
this._region = region;
|
|
119
139
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DatabaseMigrationClient.serviceEndpointTemplate, region, DatabaseMigrationClient.endpointServiceName);
|
|
140
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
120
141
|
}
|
|
121
142
|
/**
|
|
122
143
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -127,7 +148,9 @@ class DatabaseMigrationClient {
|
|
|
127
148
|
* @param regionId The public region ID.
|
|
128
149
|
*/
|
|
129
150
|
set regionId(regionId) {
|
|
151
|
+
this._regionId = regionId;
|
|
130
152
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DatabaseMigrationClient.serviceEndpointTemplate, regionId, DatabaseMigrationClient.endpointServiceName);
|
|
153
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
131
154
|
}
|
|
132
155
|
/**
|
|
133
156
|
* Creates a new DatabaseMigrationWaiter for resources for this service.
|
|
@@ -157,7 +180,7 @@ class DatabaseMigrationClient {
|
|
|
157
180
|
* @param AbortJobRequest
|
|
158
181
|
* @return AbortJobResponse
|
|
159
182
|
* @throws OciError when an error occurs
|
|
160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/AbortJob.ts.html |here} to see how to use AbortJob API.
|
|
161
184
|
*/
|
|
162
185
|
abortJob(abortJobRequest) {
|
|
163
186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -223,7 +246,7 @@ class DatabaseMigrationClient {
|
|
|
223
246
|
* @param AddMigrationObjectsRequest
|
|
224
247
|
* @return AddMigrationObjectsResponse
|
|
225
248
|
* @throws OciError when an error occurs
|
|
226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/AddMigrationObjects.ts.html |here} to see how to use AddMigrationObjects API.
|
|
227
250
|
*/
|
|
228
251
|
addMigrationObjects(addMigrationObjectsRequest) {
|
|
229
252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -280,7 +303,7 @@ class DatabaseMigrationClient {
|
|
|
280
303
|
* @param ChangeAgentCompartmentRequest
|
|
281
304
|
* @return ChangeAgentCompartmentResponse
|
|
282
305
|
* @throws OciError when an error occurs
|
|
283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
306
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
|
|
284
307
|
*/
|
|
285
308
|
changeAgentCompartment(changeAgentCompartmentRequest) {
|
|
286
309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -338,7 +361,7 @@ class DatabaseMigrationClient {
|
|
|
338
361
|
* @param ChangeConnectionCompartmentRequest
|
|
339
362
|
* @return ChangeConnectionCompartmentResponse
|
|
340
363
|
* @throws OciError when an error occurs
|
|
341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
|
|
342
365
|
*/
|
|
343
366
|
changeConnectionCompartment(changeConnectionCompartmentRequest) {
|
|
344
367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -396,7 +419,7 @@ class DatabaseMigrationClient {
|
|
|
396
419
|
* @param ChangeMigrationCompartmentRequest
|
|
397
420
|
* @return ChangeMigrationCompartmentResponse
|
|
398
421
|
* @throws OciError when an error occurs
|
|
399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
422
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
|
|
400
423
|
*/
|
|
401
424
|
changeMigrationCompartment(changeMigrationCompartmentRequest) {
|
|
402
425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -454,7 +477,7 @@ class DatabaseMigrationClient {
|
|
|
454
477
|
* @param CloneMigrationRequest
|
|
455
478
|
* @return CloneMigrationResponse
|
|
456
479
|
* @throws OciError when an error occurs
|
|
457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
480
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/CloneMigration.ts.html |here} to see how to use CloneMigration API.
|
|
458
481
|
*/
|
|
459
482
|
cloneMigration(cloneMigrationRequest) {
|
|
460
483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -526,7 +549,7 @@ class DatabaseMigrationClient {
|
|
|
526
549
|
* @param ConnectionDiagnosticsRequest
|
|
527
550
|
* @return ConnectionDiagnosticsResponse
|
|
528
551
|
* @throws OciError when an error occurs
|
|
529
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
552
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ConnectionDiagnostics.ts.html |here} to see how to use ConnectionDiagnostics API.
|
|
530
553
|
*/
|
|
531
554
|
connectionDiagnostics(connectionDiagnosticsRequest) {
|
|
532
555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -593,7 +616,7 @@ class DatabaseMigrationClient {
|
|
|
593
616
|
* @param CreateConnectionRequest
|
|
594
617
|
* @return CreateConnectionResponse
|
|
595
618
|
* @throws OciError when an error occurs
|
|
596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
619
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/CreateConnection.ts.html |here} to see how to use CreateConnection API.
|
|
597
620
|
*/
|
|
598
621
|
createConnection(createConnectionRequest) {
|
|
599
622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -664,7 +687,7 @@ class DatabaseMigrationClient {
|
|
|
664
687
|
* @param CreateMigrationRequest
|
|
665
688
|
* @return CreateMigrationResponse
|
|
666
689
|
* @throws OciError when an error occurs
|
|
667
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/CreateMigration.ts.html |here} to see how to use CreateMigration API.
|
|
668
691
|
*/
|
|
669
692
|
createMigration(createMigrationRequest) {
|
|
670
693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -733,7 +756,7 @@ class DatabaseMigrationClient {
|
|
|
733
756
|
* @param DeleteAgentRequest
|
|
734
757
|
* @return DeleteAgentResponse
|
|
735
758
|
* @throws OciError when an error occurs
|
|
736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
759
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
|
|
737
760
|
*/
|
|
738
761
|
deleteAgent(deleteAgentRequest) {
|
|
739
762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -794,7 +817,7 @@ class DatabaseMigrationClient {
|
|
|
794
817
|
* @param DeleteConnectionRequest
|
|
795
818
|
* @return DeleteConnectionResponse
|
|
796
819
|
* @throws OciError when an error occurs
|
|
797
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
820
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
|
|
798
821
|
*/
|
|
799
822
|
deleteConnection(deleteConnectionRequest) {
|
|
800
823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -855,7 +878,7 @@ class DatabaseMigrationClient {
|
|
|
855
878
|
* @param DeleteJobRequest
|
|
856
879
|
* @return DeleteJobResponse
|
|
857
880
|
* @throws OciError when an error occurs
|
|
858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
881
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
859
882
|
*/
|
|
860
883
|
deleteJob(deleteJobRequest) {
|
|
861
884
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -911,7 +934,7 @@ class DatabaseMigrationClient {
|
|
|
911
934
|
* @param DeleteMigrationRequest
|
|
912
935
|
* @return DeleteMigrationResponse
|
|
913
936
|
* @throws OciError when an error occurs
|
|
914
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
937
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
|
|
915
938
|
*/
|
|
916
939
|
deleteMigration(deleteMigrationRequest) {
|
|
917
940
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -972,7 +995,7 @@ class DatabaseMigrationClient {
|
|
|
972
995
|
* @param EvaluateMigrationRequest
|
|
973
996
|
* @return EvaluateMigrationResponse
|
|
974
997
|
* @throws OciError when an error occurs
|
|
975
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
998
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/EvaluateMigration.ts.html |here} to see how to use EvaluateMigration API.
|
|
976
999
|
*/
|
|
977
1000
|
evaluateMigration(evaluateMigrationRequest) {
|
|
978
1001
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1043,7 +1066,7 @@ class DatabaseMigrationClient {
|
|
|
1043
1066
|
* @param GetAdvisorReportRequest
|
|
1044
1067
|
* @return GetAdvisorReportResponse
|
|
1045
1068
|
* @throws OciError when an error occurs
|
|
1046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1069
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetAdvisorReport.ts.html |here} to see how to use GetAdvisorReport API.
|
|
1047
1070
|
*/
|
|
1048
1071
|
getAdvisorReport(getAdvisorReportRequest) {
|
|
1049
1072
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1107,7 +1130,7 @@ class DatabaseMigrationClient {
|
|
|
1107
1130
|
* @param GetAgentRequest
|
|
1108
1131
|
* @return GetAgentResponse
|
|
1109
1132
|
* @throws OciError when an error occurs
|
|
1110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetAgent.ts.html |here} to see how to use GetAgent API.
|
|
1111
1134
|
*/
|
|
1112
1135
|
getAgent(getAgentRequest) {
|
|
1113
1136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1171,7 +1194,7 @@ class DatabaseMigrationClient {
|
|
|
1171
1194
|
* @param GetConnectionRequest
|
|
1172
1195
|
* @return GetConnectionResponse
|
|
1173
1196
|
* @throws OciError when an error occurs
|
|
1174
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetConnection.ts.html |here} to see how to use GetConnection API.
|
|
1175
1198
|
*/
|
|
1176
1199
|
getConnection(getConnectionRequest) {
|
|
1177
1200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1235,7 +1258,7 @@ class DatabaseMigrationClient {
|
|
|
1235
1258
|
* @param GetJobRequest
|
|
1236
1259
|
* @return GetJobResponse
|
|
1237
1260
|
* @throws OciError when an error occurs
|
|
1238
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetJob.ts.html |here} to see how to use GetJob API.
|
|
1239
1262
|
*/
|
|
1240
1263
|
getJob(getJobRequest) {
|
|
1241
1264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1299,7 +1322,7 @@ class DatabaseMigrationClient {
|
|
|
1299
1322
|
* @param GetJobOutputContentRequest
|
|
1300
1323
|
* @return GetJobOutputContentResponse
|
|
1301
1324
|
* @throws OciError when an error occurs
|
|
1302
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetJobOutputContent.ts.html |here} to see how to use GetJobOutputContent API.
|
|
1303
1326
|
*/
|
|
1304
1327
|
getJobOutputContent(getJobOutputContentRequest) {
|
|
1305
1328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1357,7 +1380,7 @@ class DatabaseMigrationClient {
|
|
|
1357
1380
|
* @param GetMigrationRequest
|
|
1358
1381
|
* @return GetMigrationResponse
|
|
1359
1382
|
* @throws OciError when an error occurs
|
|
1360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1383
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetMigration.ts.html |here} to see how to use GetMigration API.
|
|
1361
1384
|
*/
|
|
1362
1385
|
getMigration(getMigrationRequest) {
|
|
1363
1386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1422,7 +1445,7 @@ class DatabaseMigrationClient {
|
|
|
1422
1445
|
* @param GetWorkRequestRequest
|
|
1423
1446
|
* @return GetWorkRequestResponse
|
|
1424
1447
|
* @throws OciError when an error occurs
|
|
1425
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1426
1449
|
*/
|
|
1427
1450
|
getWorkRequest(getWorkRequestRequest) {
|
|
1428
1451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1481,7 +1504,7 @@ class DatabaseMigrationClient {
|
|
|
1481
1504
|
* @param ListAgentImagesRequest
|
|
1482
1505
|
* @return ListAgentImagesResponse
|
|
1483
1506
|
* @throws OciError when an error occurs
|
|
1484
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListAgentImages.ts.html |here} to see how to use ListAgentImages API.
|
|
1485
1508
|
*/
|
|
1486
1509
|
listAgentImages(listAgentImagesRequest) {
|
|
1487
1510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1547,7 +1570,7 @@ class DatabaseMigrationClient {
|
|
|
1547
1570
|
* @param ListAgentsRequest
|
|
1548
1571
|
* @return ListAgentsResponse
|
|
1549
1572
|
* @throws OciError when an error occurs
|
|
1550
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListAgents.ts.html |here} to see how to use ListAgents API.
|
|
1551
1574
|
*/
|
|
1552
1575
|
listAgents(listAgentsRequest) {
|
|
1553
1576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1617,7 +1640,7 @@ class DatabaseMigrationClient {
|
|
|
1617
1640
|
* @param ListConnectionsRequest
|
|
1618
1641
|
* @return ListConnectionsResponse
|
|
1619
1642
|
* @throws OciError when an error occurs
|
|
1620
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1643
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListConnections.ts.html |here} to see how to use ListConnections API.
|
|
1621
1644
|
*/
|
|
1622
1645
|
listConnections(listConnectionsRequest) {
|
|
1623
1646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1687,7 +1710,7 @@ class DatabaseMigrationClient {
|
|
|
1687
1710
|
* @param ListExcludedObjectsRequest
|
|
1688
1711
|
* @return ListExcludedObjectsResponse
|
|
1689
1712
|
* @throws OciError when an error occurs
|
|
1690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1713
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListExcludedObjects.ts.html |here} to see how to use ListExcludedObjects API.
|
|
1691
1714
|
*/
|
|
1692
1715
|
listExcludedObjects(listExcludedObjectsRequest) {
|
|
1693
1716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1763,7 +1786,7 @@ class DatabaseMigrationClient {
|
|
|
1763
1786
|
* @param ListJobOutputsRequest
|
|
1764
1787
|
* @return ListJobOutputsResponse
|
|
1765
1788
|
* @throws OciError when an error occurs
|
|
1766
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListJobOutputs.ts.html |here} to see how to use ListJobOutputs API.
|
|
1767
1790
|
*/
|
|
1768
1791
|
listJobOutputs(listJobOutputsRequest) {
|
|
1769
1792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1831,7 +1854,7 @@ class DatabaseMigrationClient {
|
|
|
1831
1854
|
* @param ListJobsRequest
|
|
1832
1855
|
* @return ListJobsResponse
|
|
1833
1856
|
* @throws OciError when an error occurs
|
|
1834
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1857
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
1835
1858
|
*/
|
|
1836
1859
|
listJobs(listJobsRequest) {
|
|
1837
1860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1901,7 +1924,7 @@ class DatabaseMigrationClient {
|
|
|
1901
1924
|
* @param ListMigrationObjectTypesRequest
|
|
1902
1925
|
* @return ListMigrationObjectTypesResponse
|
|
1903
1926
|
* @throws OciError when an error occurs
|
|
1904
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListMigrationObjectTypes.ts.html |here} to see how to use ListMigrationObjectTypes API.
|
|
1905
1928
|
*/
|
|
1906
1929
|
listMigrationObjectTypes(listMigrationObjectTypesRequest) {
|
|
1907
1930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1968,7 +1991,7 @@ class DatabaseMigrationClient {
|
|
|
1968
1991
|
* @param ListMigrationObjectsRequest
|
|
1969
1992
|
* @return ListMigrationObjectsResponse
|
|
1970
1993
|
* @throws OciError when an error occurs
|
|
1971
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1994
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListMigrationObjects.ts.html |here} to see how to use ListMigrationObjects API.
|
|
1972
1995
|
*/
|
|
1973
1996
|
listMigrationObjects(listMigrationObjectsRequest) {
|
|
1974
1997
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2036,7 +2059,7 @@ class DatabaseMigrationClient {
|
|
|
2036
2059
|
* @param ListMigrationsRequest
|
|
2037
2060
|
* @return ListMigrationsResponse
|
|
2038
2061
|
* @throws OciError when an error occurs
|
|
2039
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2062
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListMigrations.ts.html |here} to see how to use ListMigrations API.
|
|
2040
2063
|
*/
|
|
2041
2064
|
listMigrations(listMigrationsRequest) {
|
|
2042
2065
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2107,7 +2130,7 @@ class DatabaseMigrationClient {
|
|
|
2107
2130
|
* @param ListWorkRequestErrorsRequest
|
|
2108
2131
|
* @return ListWorkRequestErrorsResponse
|
|
2109
2132
|
* @throws OciError when an error occurs
|
|
2110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2111
2134
|
*/
|
|
2112
2135
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2113
2136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2176,7 +2199,7 @@ class DatabaseMigrationClient {
|
|
|
2176
2199
|
* @param ListWorkRequestLogsRequest
|
|
2177
2200
|
* @return ListWorkRequestLogsResponse
|
|
2178
2201
|
* @throws OciError when an error occurs
|
|
2179
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2180
2203
|
*/
|
|
2181
2204
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2182
2205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2245,7 +2268,7 @@ class DatabaseMigrationClient {
|
|
|
2245
2268
|
* @param ListWorkRequestsRequest
|
|
2246
2269
|
* @return ListWorkRequestsResponse
|
|
2247
2270
|
* @throws OciError when an error occurs
|
|
2248
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2271
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2249
2272
|
*/
|
|
2250
2273
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2251
2274
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2315,7 +2338,7 @@ class DatabaseMigrationClient {
|
|
|
2315
2338
|
* @param RemoveMigrationObjectsRequest
|
|
2316
2339
|
* @return RemoveMigrationObjectsResponse
|
|
2317
2340
|
* @throws OciError when an error occurs
|
|
2318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/RemoveMigrationObjects.ts.html |here} to see how to use RemoveMigrationObjects API.
|
|
2319
2342
|
*/
|
|
2320
2343
|
removeMigrationObjects(removeMigrationObjectsRequest) {
|
|
2321
2344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2372,7 +2395,7 @@ class DatabaseMigrationClient {
|
|
|
2372
2395
|
* @param ResumeJobRequest
|
|
2373
2396
|
* @return ResumeJobResponse
|
|
2374
2397
|
* @throws OciError when an error occurs
|
|
2375
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2398
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/ResumeJob.ts.html |here} to see how to use ResumeJob API.
|
|
2376
2399
|
*/
|
|
2377
2400
|
resumeJob(resumeJobRequest) {
|
|
2378
2401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2439,7 +2462,7 @@ class DatabaseMigrationClient {
|
|
|
2439
2462
|
* @param RetrieveSupportedPhasesRequest
|
|
2440
2463
|
* @return RetrieveSupportedPhasesResponse
|
|
2441
2464
|
* @throws OciError when an error occurs
|
|
2442
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/RetrieveSupportedPhases.ts.html |here} to see how to use RetrieveSupportedPhases API.
|
|
2443
2466
|
*/
|
|
2444
2467
|
retrieveSupportedPhases(retrieveSupportedPhasesRequest) {
|
|
2445
2468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2498,7 +2521,7 @@ class DatabaseMigrationClient {
|
|
|
2498
2521
|
* @param StartMigrationRequest
|
|
2499
2522
|
* @return StartMigrationResponse
|
|
2500
2523
|
* @throws OciError when an error occurs
|
|
2501
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2524
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/StartMigration.ts.html |here} to see how to use StartMigration API.
|
|
2502
2525
|
*/
|
|
2503
2526
|
startMigration(startMigrationRequest) {
|
|
2504
2527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2570,7 +2593,7 @@ class DatabaseMigrationClient {
|
|
|
2570
2593
|
* @param UpdateAgentRequest
|
|
2571
2594
|
* @return UpdateAgentResponse
|
|
2572
2595
|
* @throws OciError when an error occurs
|
|
2573
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2596
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
|
|
2574
2597
|
*/
|
|
2575
2598
|
updateAgent(updateAgentRequest) {
|
|
2576
2599
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2637,7 +2660,7 @@ class DatabaseMigrationClient {
|
|
|
2637
2660
|
* @param UpdateConnectionRequest
|
|
2638
2661
|
* @return UpdateConnectionResponse
|
|
2639
2662
|
* @throws OciError when an error occurs
|
|
2640
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
|
|
2641
2664
|
*/
|
|
2642
2665
|
updateConnection(updateConnectionRequest) {
|
|
2643
2666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2699,7 +2722,7 @@ class DatabaseMigrationClient {
|
|
|
2699
2722
|
* @param UpdateJobRequest
|
|
2700
2723
|
* @return UpdateJobResponse
|
|
2701
2724
|
* @throws OciError when an error occurs
|
|
2702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
2703
2726
|
*/
|
|
2704
2727
|
updateJob(updateJobRequest) {
|
|
2705
2728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2765,7 +2788,7 @@ class DatabaseMigrationClient {
|
|
|
2765
2788
|
* @param UpdateMigrationRequest
|
|
2766
2789
|
* @return UpdateMigrationResponse
|
|
2767
2790
|
* @throws OciError when an error occurs
|
|
2768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/databasemigration/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
|
|
2769
2792
|
*/
|
|
2770
2793
|
updateMigration(updateMigrationRequest) {
|
|
2771
2794
|
return __awaiter(this, void 0, void 0, function* () {
|