oci-databasemigration 2.54.0 → 2.55.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 +50 -40
- package/lib/client.js +106 -40
- package/lib/client.js.map +1 -1
- package/lib/model/diagnostics-result.d.ts +29 -0
- package/lib/model/diagnostics-result.js +53 -0
- package/lib/model/diagnostics-result.js.map +1 -0
- package/lib/model/index.d.ts +6 -0
- package/lib/model/index.js +9 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/result-error.d.ts +42 -0
- package/lib/model/result-error.js +29 -0
- package/lib/model/result-error.js.map +1 -0
- package/lib/model/result-type.d.ts +30 -0
- package/lib/model/result-type.js +41 -0
- package/lib/model/result-type.js.map +1 -0
- 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 +47 -0
- package/lib/request/connection-diagnostics-request.js +15 -0
- package/lib/request/connection-diagnostics-request.js.map +1 -0
- 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/index.d.ts +2 -0
- package/lib/request/index.js.map +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/lib/response/connection-diagnostics-response.d.ts +30 -0
- package/lib/response/connection-diagnostics-response.js +15 -0
- package/lib/response/connection-diagnostics-response.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -157,7 +157,7 @@ class DatabaseMigrationClient {
|
|
|
157
157
|
* @param AbortJobRequest
|
|
158
158
|
* @return AbortJobResponse
|
|
159
159
|
* @throws OciError when an error occurs
|
|
160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/AbortJob.ts.html |here} to see how to use AbortJob API.
|
|
161
161
|
*/
|
|
162
162
|
abortJob(abortJobRequest) {
|
|
163
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -223,7 +223,7 @@ class DatabaseMigrationClient {
|
|
|
223
223
|
* @param AddMigrationObjectsRequest
|
|
224
224
|
* @return AddMigrationObjectsResponse
|
|
225
225
|
* @throws OciError when an error occurs
|
|
226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/AddMigrationObjects.ts.html |here} to see how to use AddMigrationObjects API.
|
|
227
227
|
*/
|
|
228
228
|
addMigrationObjects(addMigrationObjectsRequest) {
|
|
229
229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -280,7 +280,7 @@ class DatabaseMigrationClient {
|
|
|
280
280
|
* @param ChangeAgentCompartmentRequest
|
|
281
281
|
* @return ChangeAgentCompartmentResponse
|
|
282
282
|
* @throws OciError when an error occurs
|
|
283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
|
|
284
284
|
*/
|
|
285
285
|
changeAgentCompartment(changeAgentCompartmentRequest) {
|
|
286
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -338,7 +338,7 @@ class DatabaseMigrationClient {
|
|
|
338
338
|
* @param ChangeConnectionCompartmentRequest
|
|
339
339
|
* @return ChangeConnectionCompartmentResponse
|
|
340
340
|
* @throws OciError when an error occurs
|
|
341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
|
|
342
342
|
*/
|
|
343
343
|
changeConnectionCompartment(changeConnectionCompartmentRequest) {
|
|
344
344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -396,7 +396,7 @@ class DatabaseMigrationClient {
|
|
|
396
396
|
* @param ChangeMigrationCompartmentRequest
|
|
397
397
|
* @return ChangeMigrationCompartmentResponse
|
|
398
398
|
* @throws OciError when an error occurs
|
|
399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
399
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
|
|
400
400
|
*/
|
|
401
401
|
changeMigrationCompartment(changeMigrationCompartmentRequest) {
|
|
402
402
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -454,7 +454,7 @@ class DatabaseMigrationClient {
|
|
|
454
454
|
* @param CloneMigrationRequest
|
|
455
455
|
* @return CloneMigrationResponse
|
|
456
456
|
* @throws OciError when an error occurs
|
|
457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
457
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/CloneMigration.ts.html |here} to see how to use CloneMigration API.
|
|
458
458
|
*/
|
|
459
459
|
cloneMigration(cloneMigrationRequest) {
|
|
460
460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -519,6 +519,72 @@ class DatabaseMigrationClient {
|
|
|
519
519
|
}
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
|
+
/**
|
|
523
|
+
* Perform connection test for a database connection.
|
|
524
|
+
*
|
|
525
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
526
|
+
* @param ConnectionDiagnosticsRequest
|
|
527
|
+
* @return ConnectionDiagnosticsResponse
|
|
528
|
+
* @throws OciError when an error occurs
|
|
529
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ConnectionDiagnostics.ts.html |here} to see how to use ConnectionDiagnostics API.
|
|
530
|
+
*/
|
|
531
|
+
connectionDiagnostics(connectionDiagnosticsRequest) {
|
|
532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
533
|
+
if (this.logger)
|
|
534
|
+
this.logger.debug("Calling operation DatabaseMigrationClient#connectionDiagnostics.");
|
|
535
|
+
const operationName = "connectionDiagnostics";
|
|
536
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/ConnectionDiagnostics";
|
|
537
|
+
const pathParams = {
|
|
538
|
+
"{connectionId}": connectionDiagnosticsRequest.connectionId
|
|
539
|
+
};
|
|
540
|
+
const queryParams = {};
|
|
541
|
+
let headerParams = {
|
|
542
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
543
|
+
"if-match": connectionDiagnosticsRequest.ifMatch,
|
|
544
|
+
"opc-request-id": connectionDiagnosticsRequest.opcRequestId,
|
|
545
|
+
"opc-retry-token": connectionDiagnosticsRequest.opcRetryToken
|
|
546
|
+
};
|
|
547
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
548
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, connectionDiagnosticsRequest.retryConfiguration, specRetryConfiguration);
|
|
549
|
+
if (this.logger)
|
|
550
|
+
retrier.logger = this.logger;
|
|
551
|
+
const request = yield oci_common_1.composeRequest({
|
|
552
|
+
baseEndpoint: this._endpoint,
|
|
553
|
+
defaultHeaders: this._defaultHeaders,
|
|
554
|
+
path: "/connections/{connectionId}/actions/diagnostics",
|
|
555
|
+
method: "POST",
|
|
556
|
+
pathParams: pathParams,
|
|
557
|
+
headerParams: headerParams,
|
|
558
|
+
queryParams: queryParams
|
|
559
|
+
});
|
|
560
|
+
try {
|
|
561
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
562
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
563
|
+
responseObject: {},
|
|
564
|
+
body: yield response.json(),
|
|
565
|
+
bodyKey: "diagnosticsResult",
|
|
566
|
+
bodyModel: model.DiagnosticsResult,
|
|
567
|
+
type: "model.DiagnosticsResult",
|
|
568
|
+
responseHeaders: [
|
|
569
|
+
{
|
|
570
|
+
value: response.headers.get("opc-request-id"),
|
|
571
|
+
key: "opcRequestId",
|
|
572
|
+
dataType: "string"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
value: response.headers.get("etag"),
|
|
576
|
+
key: "etag",
|
|
577
|
+
dataType: "string"
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
});
|
|
581
|
+
return sdkResponse;
|
|
582
|
+
}
|
|
583
|
+
catch (err) {
|
|
584
|
+
throw err;
|
|
585
|
+
}
|
|
586
|
+
});
|
|
587
|
+
}
|
|
522
588
|
/**
|
|
523
589
|
* Create a Database Connection resource that contains the details to connect to either a Source or Target Database
|
|
524
590
|
* in the migration.
|
|
@@ -527,7 +593,7 @@ class DatabaseMigrationClient {
|
|
|
527
593
|
* @param CreateConnectionRequest
|
|
528
594
|
* @return CreateConnectionResponse
|
|
529
595
|
* @throws OciError when an error occurs
|
|
530
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
596
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/CreateConnection.ts.html |here} to see how to use CreateConnection API.
|
|
531
597
|
*/
|
|
532
598
|
createConnection(createConnectionRequest) {
|
|
533
599
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -598,7 +664,7 @@ class DatabaseMigrationClient {
|
|
|
598
664
|
* @param CreateMigrationRequest
|
|
599
665
|
* @return CreateMigrationResponse
|
|
600
666
|
* @throws OciError when an error occurs
|
|
601
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
667
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/CreateMigration.ts.html |here} to see how to use CreateMigration API.
|
|
602
668
|
*/
|
|
603
669
|
createMigration(createMigrationRequest) {
|
|
604
670
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -667,7 +733,7 @@ class DatabaseMigrationClient {
|
|
|
667
733
|
* @param DeleteAgentRequest
|
|
668
734
|
* @return DeleteAgentResponse
|
|
669
735
|
* @throws OciError when an error occurs
|
|
670
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
736
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
|
|
671
737
|
*/
|
|
672
738
|
deleteAgent(deleteAgentRequest) {
|
|
673
739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -728,7 +794,7 @@ class DatabaseMigrationClient {
|
|
|
728
794
|
* @param DeleteConnectionRequest
|
|
729
795
|
* @return DeleteConnectionResponse
|
|
730
796
|
* @throws OciError when an error occurs
|
|
731
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
|
|
732
798
|
*/
|
|
733
799
|
deleteConnection(deleteConnectionRequest) {
|
|
734
800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -789,7 +855,7 @@ class DatabaseMigrationClient {
|
|
|
789
855
|
* @param DeleteJobRequest
|
|
790
856
|
* @return DeleteJobResponse
|
|
791
857
|
* @throws OciError when an error occurs
|
|
792
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
858
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
793
859
|
*/
|
|
794
860
|
deleteJob(deleteJobRequest) {
|
|
795
861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -845,7 +911,7 @@ class DatabaseMigrationClient {
|
|
|
845
911
|
* @param DeleteMigrationRequest
|
|
846
912
|
* @return DeleteMigrationResponse
|
|
847
913
|
* @throws OciError when an error occurs
|
|
848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
914
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
|
|
849
915
|
*/
|
|
850
916
|
deleteMigration(deleteMigrationRequest) {
|
|
851
917
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -906,7 +972,7 @@ class DatabaseMigrationClient {
|
|
|
906
972
|
* @param EvaluateMigrationRequest
|
|
907
973
|
* @return EvaluateMigrationResponse
|
|
908
974
|
* @throws OciError when an error occurs
|
|
909
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
975
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/EvaluateMigration.ts.html |here} to see how to use EvaluateMigration API.
|
|
910
976
|
*/
|
|
911
977
|
evaluateMigration(evaluateMigrationRequest) {
|
|
912
978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -977,7 +1043,7 @@ class DatabaseMigrationClient {
|
|
|
977
1043
|
* @param GetAdvisorReportRequest
|
|
978
1044
|
* @return GetAdvisorReportResponse
|
|
979
1045
|
* @throws OciError when an error occurs
|
|
980
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetAdvisorReport.ts.html |here} to see how to use GetAdvisorReport API.
|
|
981
1047
|
*/
|
|
982
1048
|
getAdvisorReport(getAdvisorReportRequest) {
|
|
983
1049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1041,7 +1107,7 @@ class DatabaseMigrationClient {
|
|
|
1041
1107
|
* @param GetAgentRequest
|
|
1042
1108
|
* @return GetAgentResponse
|
|
1043
1109
|
* @throws OciError when an error occurs
|
|
1044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetAgent.ts.html |here} to see how to use GetAgent API.
|
|
1045
1111
|
*/
|
|
1046
1112
|
getAgent(getAgentRequest) {
|
|
1047
1113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1105,7 +1171,7 @@ class DatabaseMigrationClient {
|
|
|
1105
1171
|
* @param GetConnectionRequest
|
|
1106
1172
|
* @return GetConnectionResponse
|
|
1107
1173
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1174
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetConnection.ts.html |here} to see how to use GetConnection API.
|
|
1109
1175
|
*/
|
|
1110
1176
|
getConnection(getConnectionRequest) {
|
|
1111
1177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1169,7 +1235,7 @@ class DatabaseMigrationClient {
|
|
|
1169
1235
|
* @param GetJobRequest
|
|
1170
1236
|
* @return GetJobResponse
|
|
1171
1237
|
* @throws OciError when an error occurs
|
|
1172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetJob.ts.html |here} to see how to use GetJob API.
|
|
1173
1239
|
*/
|
|
1174
1240
|
getJob(getJobRequest) {
|
|
1175
1241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1233,7 +1299,7 @@ class DatabaseMigrationClient {
|
|
|
1233
1299
|
* @param GetJobOutputContentRequest
|
|
1234
1300
|
* @return GetJobOutputContentResponse
|
|
1235
1301
|
* @throws OciError when an error occurs
|
|
1236
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1302
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetJobOutputContent.ts.html |here} to see how to use GetJobOutputContent API.
|
|
1237
1303
|
*/
|
|
1238
1304
|
getJobOutputContent(getJobOutputContentRequest) {
|
|
1239
1305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1291,7 +1357,7 @@ class DatabaseMigrationClient {
|
|
|
1291
1357
|
* @param GetMigrationRequest
|
|
1292
1358
|
* @return GetMigrationResponse
|
|
1293
1359
|
* @throws OciError when an error occurs
|
|
1294
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1360
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetMigration.ts.html |here} to see how to use GetMigration API.
|
|
1295
1361
|
*/
|
|
1296
1362
|
getMigration(getMigrationRequest) {
|
|
1297
1363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1356,7 +1422,7 @@ class DatabaseMigrationClient {
|
|
|
1356
1422
|
* @param GetWorkRequestRequest
|
|
1357
1423
|
* @return GetWorkRequestResponse
|
|
1358
1424
|
* @throws OciError when an error occurs
|
|
1359
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1360
1426
|
*/
|
|
1361
1427
|
getWorkRequest(getWorkRequestRequest) {
|
|
1362
1428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1415,7 +1481,7 @@ class DatabaseMigrationClient {
|
|
|
1415
1481
|
* @param ListAgentImagesRequest
|
|
1416
1482
|
* @return ListAgentImagesResponse
|
|
1417
1483
|
* @throws OciError when an error occurs
|
|
1418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1484
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListAgentImages.ts.html |here} to see how to use ListAgentImages API.
|
|
1419
1485
|
*/
|
|
1420
1486
|
listAgentImages(listAgentImagesRequest) {
|
|
1421
1487
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1481,7 +1547,7 @@ class DatabaseMigrationClient {
|
|
|
1481
1547
|
* @param ListAgentsRequest
|
|
1482
1548
|
* @return ListAgentsResponse
|
|
1483
1549
|
* @throws OciError when an error occurs
|
|
1484
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1550
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListAgents.ts.html |here} to see how to use ListAgents API.
|
|
1485
1551
|
*/
|
|
1486
1552
|
listAgents(listAgentsRequest) {
|
|
1487
1553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1551,7 +1617,7 @@ class DatabaseMigrationClient {
|
|
|
1551
1617
|
* @param ListConnectionsRequest
|
|
1552
1618
|
* @return ListConnectionsResponse
|
|
1553
1619
|
* @throws OciError when an error occurs
|
|
1554
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1620
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListConnections.ts.html |here} to see how to use ListConnections API.
|
|
1555
1621
|
*/
|
|
1556
1622
|
listConnections(listConnectionsRequest) {
|
|
1557
1623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1621,7 +1687,7 @@ class DatabaseMigrationClient {
|
|
|
1621
1687
|
* @param ListExcludedObjectsRequest
|
|
1622
1688
|
* @return ListExcludedObjectsResponse
|
|
1623
1689
|
* @throws OciError when an error occurs
|
|
1624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListExcludedObjects.ts.html |here} to see how to use ListExcludedObjects API.
|
|
1625
1691
|
*/
|
|
1626
1692
|
listExcludedObjects(listExcludedObjectsRequest) {
|
|
1627
1693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1697,7 +1763,7 @@ class DatabaseMigrationClient {
|
|
|
1697
1763
|
* @param ListJobOutputsRequest
|
|
1698
1764
|
* @return ListJobOutputsResponse
|
|
1699
1765
|
* @throws OciError when an error occurs
|
|
1700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1766
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListJobOutputs.ts.html |here} to see how to use ListJobOutputs API.
|
|
1701
1767
|
*/
|
|
1702
1768
|
listJobOutputs(listJobOutputsRequest) {
|
|
1703
1769
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1765,7 +1831,7 @@ class DatabaseMigrationClient {
|
|
|
1765
1831
|
* @param ListJobsRequest
|
|
1766
1832
|
* @return ListJobsResponse
|
|
1767
1833
|
* @throws OciError when an error occurs
|
|
1768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
1769
1835
|
*/
|
|
1770
1836
|
listJobs(listJobsRequest) {
|
|
1771
1837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1835,7 +1901,7 @@ class DatabaseMigrationClient {
|
|
|
1835
1901
|
* @param ListMigrationObjectTypesRequest
|
|
1836
1902
|
* @return ListMigrationObjectTypesResponse
|
|
1837
1903
|
* @throws OciError when an error occurs
|
|
1838
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListMigrationObjectTypes.ts.html |here} to see how to use ListMigrationObjectTypes API.
|
|
1839
1905
|
*/
|
|
1840
1906
|
listMigrationObjectTypes(listMigrationObjectTypesRequest) {
|
|
1841
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1902,7 +1968,7 @@ class DatabaseMigrationClient {
|
|
|
1902
1968
|
* @param ListMigrationObjectsRequest
|
|
1903
1969
|
* @return ListMigrationObjectsResponse
|
|
1904
1970
|
* @throws OciError when an error occurs
|
|
1905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1971
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListMigrationObjects.ts.html |here} to see how to use ListMigrationObjects API.
|
|
1906
1972
|
*/
|
|
1907
1973
|
listMigrationObjects(listMigrationObjectsRequest) {
|
|
1908
1974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1970,7 +2036,7 @@ class DatabaseMigrationClient {
|
|
|
1970
2036
|
* @param ListMigrationsRequest
|
|
1971
2037
|
* @return ListMigrationsResponse
|
|
1972
2038
|
* @throws OciError when an error occurs
|
|
1973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2039
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListMigrations.ts.html |here} to see how to use ListMigrations API.
|
|
1974
2040
|
*/
|
|
1975
2041
|
listMigrations(listMigrationsRequest) {
|
|
1976
2042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2041,7 +2107,7 @@ class DatabaseMigrationClient {
|
|
|
2041
2107
|
* @param ListWorkRequestErrorsRequest
|
|
2042
2108
|
* @return ListWorkRequestErrorsResponse
|
|
2043
2109
|
* @throws OciError when an error occurs
|
|
2044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2045
2111
|
*/
|
|
2046
2112
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2047
2113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2110,7 +2176,7 @@ class DatabaseMigrationClient {
|
|
|
2110
2176
|
* @param ListWorkRequestLogsRequest
|
|
2111
2177
|
* @return ListWorkRequestLogsResponse
|
|
2112
2178
|
* @throws OciError when an error occurs
|
|
2113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2179
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2114
2180
|
*/
|
|
2115
2181
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2116
2182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2179,7 +2245,7 @@ class DatabaseMigrationClient {
|
|
|
2179
2245
|
* @param ListWorkRequestsRequest
|
|
2180
2246
|
* @return ListWorkRequestsResponse
|
|
2181
2247
|
* @throws OciError when an error occurs
|
|
2182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2248
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2183
2249
|
*/
|
|
2184
2250
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2185
2251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2249,7 +2315,7 @@ class DatabaseMigrationClient {
|
|
|
2249
2315
|
* @param RemoveMigrationObjectsRequest
|
|
2250
2316
|
* @return RemoveMigrationObjectsResponse
|
|
2251
2317
|
* @throws OciError when an error occurs
|
|
2252
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2318
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/RemoveMigrationObjects.ts.html |here} to see how to use RemoveMigrationObjects API.
|
|
2253
2319
|
*/
|
|
2254
2320
|
removeMigrationObjects(removeMigrationObjectsRequest) {
|
|
2255
2321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2306,7 +2372,7 @@ class DatabaseMigrationClient {
|
|
|
2306
2372
|
* @param ResumeJobRequest
|
|
2307
2373
|
* @return ResumeJobResponse
|
|
2308
2374
|
* @throws OciError when an error occurs
|
|
2309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2375
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/ResumeJob.ts.html |here} to see how to use ResumeJob API.
|
|
2310
2376
|
*/
|
|
2311
2377
|
resumeJob(resumeJobRequest) {
|
|
2312
2378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2373,7 +2439,7 @@ class DatabaseMigrationClient {
|
|
|
2373
2439
|
* @param RetrieveSupportedPhasesRequest
|
|
2374
2440
|
* @return RetrieveSupportedPhasesResponse
|
|
2375
2441
|
* @throws OciError when an error occurs
|
|
2376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2442
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/RetrieveSupportedPhases.ts.html |here} to see how to use RetrieveSupportedPhases API.
|
|
2377
2443
|
*/
|
|
2378
2444
|
retrieveSupportedPhases(retrieveSupportedPhasesRequest) {
|
|
2379
2445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2432,7 +2498,7 @@ class DatabaseMigrationClient {
|
|
|
2432
2498
|
* @param StartMigrationRequest
|
|
2433
2499
|
* @return StartMigrationResponse
|
|
2434
2500
|
* @throws OciError when an error occurs
|
|
2435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2501
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/StartMigration.ts.html |here} to see how to use StartMigration API.
|
|
2436
2502
|
*/
|
|
2437
2503
|
startMigration(startMigrationRequest) {
|
|
2438
2504
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2504,7 +2570,7 @@ class DatabaseMigrationClient {
|
|
|
2504
2570
|
* @param UpdateAgentRequest
|
|
2505
2571
|
* @return UpdateAgentResponse
|
|
2506
2572
|
* @throws OciError when an error occurs
|
|
2507
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
|
|
2508
2574
|
*/
|
|
2509
2575
|
updateAgent(updateAgentRequest) {
|
|
2510
2576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2571,7 +2637,7 @@ class DatabaseMigrationClient {
|
|
|
2571
2637
|
* @param UpdateConnectionRequest
|
|
2572
2638
|
* @return UpdateConnectionResponse
|
|
2573
2639
|
* @throws OciError when an error occurs
|
|
2574
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
|
|
2575
2641
|
*/
|
|
2576
2642
|
updateConnection(updateConnectionRequest) {
|
|
2577
2643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2633,7 +2699,7 @@ class DatabaseMigrationClient {
|
|
|
2633
2699
|
* @param UpdateJobRequest
|
|
2634
2700
|
* @return UpdateJobResponse
|
|
2635
2701
|
* @throws OciError when an error occurs
|
|
2636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
2637
2703
|
*/
|
|
2638
2704
|
updateJob(updateJobRequest) {
|
|
2639
2705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2699,7 +2765,7 @@ class DatabaseMigrationClient {
|
|
|
2699
2765
|
* @param UpdateMigrationRequest
|
|
2700
2766
|
* @return UpdateMigrationResponse
|
|
2701
2767
|
* @throws OciError when an error occurs
|
|
2702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2768
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/databasemigration/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
|
|
2703
2769
|
*/
|
|
2704
2770
|
updateMigration(updateMigrationRequest) {
|
|
2705
2771
|
return __awaiter(this, void 0, void 0, function* () {
|