oci-cloudmigrations 2.57.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 +53 -43
- package/lib/client.js +66 -43
- package/lib/client.js.map +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-migration-compartment-request.d.ts +1 -1
- package/lib/request/change-migration-plan-compartment-request.d.ts +1 -1
- package/lib/request/change-replication-schedule-compartment-request.d.ts +1 -1
- package/lib/request/create-migration-asset-request.d.ts +1 -1
- package/lib/request/create-migration-plan-request.d.ts +1 -1
- package/lib/request/create-migration-request.d.ts +1 -1
- package/lib/request/create-replication-schedule-request.d.ts +1 -1
- package/lib/request/create-target-asset-request.d.ts +1 -1
- package/lib/request/delete-migration-asset-request.d.ts +1 -1
- package/lib/request/delete-migration-plan-request.d.ts +1 -1
- package/lib/request/delete-migration-request.d.ts +1 -1
- package/lib/request/delete-replication-schedule-request.d.ts +1 -1
- package/lib/request/delete-target-asset-request.d.ts +1 -1
- package/lib/request/execute-migration-plan-request.d.ts +1 -1
- package/lib/request/export-migration-plan-request.d.ts +1 -1
- package/lib/request/get-migration-asset-request.d.ts +1 -1
- package/lib/request/get-migration-plan-request.d.ts +1 -1
- package/lib/request/get-migration-request.d.ts +1 -1
- package/lib/request/get-replication-progress-request.d.ts +1 -1
- package/lib/request/get-replication-schedule-request.d.ts +1 -1
- package/lib/request/get-target-asset-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/import-migration-plan-request.d.ts +1 -1
- package/lib/request/list-available-shapes-request.d.ts +1 -1
- package/lib/request/list-migration-assets-request.d.ts +1 -1
- package/lib/request/list-migration-plans-request.d.ts +1 -1
- package/lib/request/list-migrations-request.d.ts +1 -1
- package/lib/request/list-replication-schedules-request.d.ts +1 -1
- package/lib/request/list-target-assets-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/refresh-migration-asset-request.d.ts +1 -1
- package/lib/request/refresh-migration-plan-request.d.ts +1 -1
- package/lib/request/refresh-migration-request.d.ts +1 -1
- package/lib/request/start-asset-replication-request.d.ts +1 -1
- package/lib/request/start-migration-replication-request.d.ts +1 -1
- package/lib/request/update-migration-asset-request.d.ts +1 -1
- package/lib/request/update-migration-plan-request.d.ts +1 -1
- package/lib/request/update-migration-request.d.ts +1 -1
- package/lib/request/update-replication-schedule-request.d.ts +1 -1
- package/lib/request/update-target-asset-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -56,11 +56,14 @@ var MigrationApiKeys;
|
|
|
56
56
|
*/
|
|
57
57
|
class MigrationClient {
|
|
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 = "Migration";
|
|
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 MigrationClient {
|
|
|
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(MigrationClient.serviceEndpointTemplate, this._region, MigrationClient.endpointServiceName);
|
|
127
|
+
}
|
|
128
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
129
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(MigrationClient.serviceEndpointTemplate, this._regionId, MigrationClient.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(MigrationClient.serviceEndpointTemplate, region, MigrationClient.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 MigrationClient {
|
|
|
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(MigrationClient.serviceEndpointTemplate, regionId, MigrationClient.endpointServiceName);
|
|
153
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
131
154
|
}
|
|
132
155
|
/**
|
|
133
156
|
* Creates a new MigrationWaiter for resources for this service.
|
|
@@ -156,7 +179,7 @@ class MigrationClient {
|
|
|
156
179
|
* @param CancelWorkRequestRequest
|
|
157
180
|
* @return CancelWorkRequestResponse
|
|
158
181
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
160
183
|
*/
|
|
161
184
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
162
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -211,7 +234,7 @@ class MigrationClient {
|
|
|
211
234
|
* @param ChangeMigrationCompartmentRequest
|
|
212
235
|
* @return ChangeMigrationCompartmentResponse
|
|
213
236
|
* @throws OciError when an error occurs
|
|
214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
237
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
|
|
215
238
|
*/
|
|
216
239
|
changeMigrationCompartment(changeMigrationCompartmentRequest) {
|
|
217
240
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -273,7 +296,7 @@ class MigrationClient {
|
|
|
273
296
|
* @param ChangeMigrationPlanCompartmentRequest
|
|
274
297
|
* @return ChangeMigrationPlanCompartmentResponse
|
|
275
298
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ChangeMigrationPlanCompartment.ts.html |here} to see how to use ChangeMigrationPlanCompartment API.
|
|
277
300
|
*/
|
|
278
301
|
changeMigrationPlanCompartment(changeMigrationPlanCompartmentRequest) {
|
|
279
302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -335,7 +358,7 @@ class MigrationClient {
|
|
|
335
358
|
* @param ChangeReplicationScheduleCompartmentRequest
|
|
336
359
|
* @return ChangeReplicationScheduleCompartmentResponse
|
|
337
360
|
* @throws OciError when an error occurs
|
|
338
|
-
* @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.58.1/cloudmigrations/ChangeReplicationScheduleCompartment.ts.html |here} to see how to use ChangeReplicationScheduleCompartment API.
|
|
339
362
|
*/
|
|
340
363
|
changeReplicationScheduleCompartment(changeReplicationScheduleCompartmentRequest) {
|
|
341
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -398,7 +421,7 @@ class MigrationClient {
|
|
|
398
421
|
* @param CreateMigrationRequest
|
|
399
422
|
* @return CreateMigrationResponse
|
|
400
423
|
* @throws OciError when an error occurs
|
|
401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
424
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/CreateMigration.ts.html |here} to see how to use CreateMigration API.
|
|
402
425
|
*/
|
|
403
426
|
createMigration(createMigrationRequest) {
|
|
404
427
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -462,7 +485,7 @@ class MigrationClient {
|
|
|
462
485
|
* @param CreateMigrationAssetRequest
|
|
463
486
|
* @return CreateMigrationAssetResponse
|
|
464
487
|
* @throws OciError when an error occurs
|
|
465
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/CreateMigrationAsset.ts.html |here} to see how to use CreateMigrationAsset API.
|
|
466
489
|
*/
|
|
467
490
|
createMigrationAsset(createMigrationAssetRequest) {
|
|
468
491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -541,7 +564,7 @@ class MigrationClient {
|
|
|
541
564
|
* @param CreateMigrationPlanRequest
|
|
542
565
|
* @return CreateMigrationPlanResponse
|
|
543
566
|
* @throws OciError when an error occurs
|
|
544
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/CreateMigrationPlan.ts.html |here} to see how to use CreateMigrationPlan API.
|
|
545
568
|
*/
|
|
546
569
|
createMigrationPlan(createMigrationPlanRequest) {
|
|
547
570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -620,7 +643,7 @@ class MigrationClient {
|
|
|
620
643
|
* @param CreateReplicationScheduleRequest
|
|
621
644
|
* @return CreateReplicationScheduleResponse
|
|
622
645
|
* @throws OciError when an error occurs
|
|
623
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
646
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/CreateReplicationSchedule.ts.html |here} to see how to use CreateReplicationSchedule API.
|
|
624
647
|
*/
|
|
625
648
|
createReplicationSchedule(createReplicationScheduleRequest) {
|
|
626
649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -699,7 +722,7 @@ class MigrationClient {
|
|
|
699
722
|
* @param CreateTargetAssetRequest
|
|
700
723
|
* @return CreateTargetAssetResponse
|
|
701
724
|
* @throws OciError when an error occurs
|
|
702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/CreateTargetAsset.ts.html |here} to see how to use CreateTargetAsset API.
|
|
703
726
|
*/
|
|
704
727
|
createTargetAsset(createTargetAssetRequest) {
|
|
705
728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -777,7 +800,7 @@ class MigrationClient {
|
|
|
777
800
|
* @param DeleteMigrationRequest
|
|
778
801
|
* @return DeleteMigrationResponse
|
|
779
802
|
* @throws OciError when an error occurs
|
|
780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
|
|
781
804
|
*/
|
|
782
805
|
deleteMigration(deleteMigrationRequest) {
|
|
783
806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -837,7 +860,7 @@ class MigrationClient {
|
|
|
837
860
|
* @param DeleteMigrationAssetRequest
|
|
838
861
|
* @return DeleteMigrationAssetResponse
|
|
839
862
|
* @throws OciError when an error occurs
|
|
840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/DeleteMigrationAsset.ts.html |here} to see how to use DeleteMigrationAsset API.
|
|
841
864
|
*/
|
|
842
865
|
deleteMigrationAsset(deleteMigrationAssetRequest) {
|
|
843
866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -897,7 +920,7 @@ class MigrationClient {
|
|
|
897
920
|
* @param DeleteMigrationPlanRequest
|
|
898
921
|
* @return DeleteMigrationPlanResponse
|
|
899
922
|
* @throws OciError when an error occurs
|
|
900
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
923
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/DeleteMigrationPlan.ts.html |here} to see how to use DeleteMigrationPlan API.
|
|
901
924
|
*/
|
|
902
925
|
deleteMigrationPlan(deleteMigrationPlanRequest) {
|
|
903
926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -957,7 +980,7 @@ class MigrationClient {
|
|
|
957
980
|
* @param DeleteReplicationScheduleRequest
|
|
958
981
|
* @return DeleteReplicationScheduleResponse
|
|
959
982
|
* @throws OciError when an error occurs
|
|
960
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/DeleteReplicationSchedule.ts.html |here} to see how to use DeleteReplicationSchedule API.
|
|
961
984
|
*/
|
|
962
985
|
deleteReplicationSchedule(deleteReplicationScheduleRequest) {
|
|
963
986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1040,7 @@ class MigrationClient {
|
|
|
1017
1040
|
* @param DeleteTargetAssetRequest
|
|
1018
1041
|
* @return DeleteTargetAssetResponse
|
|
1019
1042
|
* @throws OciError when an error occurs
|
|
1020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1043
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/DeleteTargetAsset.ts.html |here} to see how to use DeleteTargetAsset API.
|
|
1021
1044
|
*/
|
|
1022
1045
|
deleteTargetAsset(deleteTargetAssetRequest) {
|
|
1023
1046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1078,7 +1101,7 @@ class MigrationClient {
|
|
|
1078
1101
|
* @param ExecuteMigrationPlanRequest
|
|
1079
1102
|
* @return ExecuteMigrationPlanResponse
|
|
1080
1103
|
* @throws OciError when an error occurs
|
|
1081
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1104
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ExecuteMigrationPlan.ts.html |here} to see how to use ExecuteMigrationPlan API.
|
|
1082
1105
|
*/
|
|
1083
1106
|
executeMigrationPlan(executeMigrationPlanRequest) {
|
|
1084
1107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1139,7 +1162,7 @@ class MigrationClient {
|
|
|
1139
1162
|
* @param ExportMigrationPlanRequest
|
|
1140
1163
|
* @return ExportMigrationPlanResponse
|
|
1141
1164
|
* @throws OciError when an error occurs
|
|
1142
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ExportMigrationPlan.ts.html |here} to see how to use ExportMigrationPlan API.
|
|
1143
1166
|
*/
|
|
1144
1167
|
exportMigrationPlan(exportMigrationPlanRequest) {
|
|
1145
1168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1196,7 +1219,7 @@ class MigrationClient {
|
|
|
1196
1219
|
* @param GetMigrationRequest
|
|
1197
1220
|
* @return GetMigrationResponse
|
|
1198
1221
|
* @throws OciError when an error occurs
|
|
1199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetMigration.ts.html |here} to see how to use GetMigration API.
|
|
1200
1223
|
*/
|
|
1201
1224
|
getMigration(getMigrationRequest) {
|
|
1202
1225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1259,7 +1282,7 @@ class MigrationClient {
|
|
|
1259
1282
|
* @param GetMigrationAssetRequest
|
|
1260
1283
|
* @return GetMigrationAssetResponse
|
|
1261
1284
|
* @throws OciError when an error occurs
|
|
1262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetMigrationAsset.ts.html |here} to see how to use GetMigrationAsset API.
|
|
1263
1286
|
*/
|
|
1264
1287
|
getMigrationAsset(getMigrationAssetRequest) {
|
|
1265
1288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1322,7 +1345,7 @@ class MigrationClient {
|
|
|
1322
1345
|
* @param GetMigrationPlanRequest
|
|
1323
1346
|
* @return GetMigrationPlanResponse
|
|
1324
1347
|
* @throws OciError when an error occurs
|
|
1325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetMigrationPlan.ts.html |here} to see how to use GetMigrationPlan API.
|
|
1326
1349
|
*/
|
|
1327
1350
|
getMigrationPlan(getMigrationPlanRequest) {
|
|
1328
1351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1386,7 +1409,7 @@ class MigrationClient {
|
|
|
1386
1409
|
* @param GetReplicationProgressRequest
|
|
1387
1410
|
* @return GetReplicationProgressResponse
|
|
1388
1411
|
* @throws OciError when an error occurs
|
|
1389
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetReplicationProgress.ts.html |here} to see how to use GetReplicationProgress API.
|
|
1390
1413
|
*/
|
|
1391
1414
|
getReplicationProgress(getReplicationProgressRequest) {
|
|
1392
1415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1444,7 +1467,7 @@ class MigrationClient {
|
|
|
1444
1467
|
* @param GetReplicationScheduleRequest
|
|
1445
1468
|
* @return GetReplicationScheduleResponse
|
|
1446
1469
|
* @throws OciError when an error occurs
|
|
1447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1470
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetReplicationSchedule.ts.html |here} to see how to use GetReplicationSchedule API.
|
|
1448
1471
|
*/
|
|
1449
1472
|
getReplicationSchedule(getReplicationScheduleRequest) {
|
|
1450
1473
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1507,7 +1530,7 @@ class MigrationClient {
|
|
|
1507
1530
|
* @param GetTargetAssetRequest
|
|
1508
1531
|
* @return GetTargetAssetResponse
|
|
1509
1532
|
* @throws OciError when an error occurs
|
|
1510
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetTargetAsset.ts.html |here} to see how to use GetTargetAsset API.
|
|
1511
1534
|
*/
|
|
1512
1535
|
getTargetAsset(getTargetAssetRequest) {
|
|
1513
1536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1570,7 +1593,7 @@ class MigrationClient {
|
|
|
1570
1593
|
* @param GetWorkRequestRequest
|
|
1571
1594
|
* @return GetWorkRequestResponse
|
|
1572
1595
|
* @throws OciError when an error occurs
|
|
1573
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1596
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1574
1597
|
*/
|
|
1575
1598
|
getWorkRequest(getWorkRequestRequest) {
|
|
1576
1599
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1638,7 +1661,7 @@ class MigrationClient {
|
|
|
1638
1661
|
* @param ImportMigrationPlanRequest
|
|
1639
1662
|
* @return ImportMigrationPlanResponse
|
|
1640
1663
|
* @throws OciError when an error occurs
|
|
1641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ImportMigrationPlan.ts.html |here} to see how to use ImportMigrationPlan API.
|
|
1642
1665
|
*/
|
|
1643
1666
|
importMigrationPlan(importMigrationPlanRequest) {
|
|
1644
1667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1700,7 +1723,7 @@ class MigrationClient {
|
|
|
1700
1723
|
* @param ListAvailableShapesRequest
|
|
1701
1724
|
* @return ListAvailableShapesResponse
|
|
1702
1725
|
* @throws OciError when an error occurs
|
|
1703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1726
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListAvailableShapes.ts.html |here} to see how to use ListAvailableShapes API.
|
|
1704
1727
|
*/
|
|
1705
1728
|
listAvailableShapes(listAvailableShapesRequest) {
|
|
1706
1729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1773,7 +1796,7 @@ class MigrationClient {
|
|
|
1773
1796
|
* @param ListMigrationAssetsRequest
|
|
1774
1797
|
* @return ListMigrationAssetsResponse
|
|
1775
1798
|
* @throws OciError when an error occurs
|
|
1776
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListMigrationAssets.ts.html |here} to see how to use ListMigrationAssets API.
|
|
1777
1800
|
*/
|
|
1778
1801
|
listMigrationAssets(listMigrationAssetsRequest) {
|
|
1779
1802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1844,7 +1867,7 @@ class MigrationClient {
|
|
|
1844
1867
|
* @param ListMigrationPlansRequest
|
|
1845
1868
|
* @return ListMigrationPlansResponse
|
|
1846
1869
|
* @throws OciError when an error occurs
|
|
1847
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListMigrationPlans.ts.html |here} to see how to use ListMigrationPlans API.
|
|
1848
1871
|
*/
|
|
1849
1872
|
listMigrationPlans(listMigrationPlansRequest) {
|
|
1850
1873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1916,7 +1939,7 @@ class MigrationClient {
|
|
|
1916
1939
|
* @param ListMigrationsRequest
|
|
1917
1940
|
* @return ListMigrationsResponse
|
|
1918
1941
|
* @throws OciError when an error occurs
|
|
1919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1942
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListMigrations.ts.html |here} to see how to use ListMigrations API.
|
|
1920
1943
|
*/
|
|
1921
1944
|
listMigrations(listMigrationsRequest) {
|
|
1922
1945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1987,7 +2010,7 @@ class MigrationClient {
|
|
|
1987
2010
|
* @param ListReplicationSchedulesRequest
|
|
1988
2011
|
* @return ListReplicationSchedulesResponse
|
|
1989
2012
|
* @throws OciError when an error occurs
|
|
1990
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2013
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListReplicationSchedules.ts.html |here} to see how to use ListReplicationSchedules API.
|
|
1991
2014
|
*/
|
|
1992
2015
|
listReplicationSchedules(listReplicationSchedulesRequest) {
|
|
1993
2016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2058,7 +2081,7 @@ class MigrationClient {
|
|
|
2058
2081
|
* @param ListTargetAssetsRequest
|
|
2059
2082
|
* @return ListTargetAssetsResponse
|
|
2060
2083
|
* @throws OciError when an error occurs
|
|
2061
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2084
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListTargetAssets.ts.html |here} to see how to use ListTargetAssets API.
|
|
2062
2085
|
*/
|
|
2063
2086
|
listTargetAssets(listTargetAssetsRequest) {
|
|
2064
2087
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2129,7 +2152,7 @@ class MigrationClient {
|
|
|
2129
2152
|
* @param ListWorkRequestErrorsRequest
|
|
2130
2153
|
* @return ListWorkRequestErrorsResponse
|
|
2131
2154
|
* @throws OciError when an error occurs
|
|
2132
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2133
2156
|
*/
|
|
2134
2157
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2135
2158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2198,7 +2221,7 @@ class MigrationClient {
|
|
|
2198
2221
|
* @param ListWorkRequestLogsRequest
|
|
2199
2222
|
* @return ListWorkRequestLogsResponse
|
|
2200
2223
|
* @throws OciError when an error occurs
|
|
2201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2202
2225
|
*/
|
|
2203
2226
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2204
2227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2267,7 +2290,7 @@ class MigrationClient {
|
|
|
2267
2290
|
* @param ListWorkRequestsRequest
|
|
2268
2291
|
* @return ListWorkRequestsResponse
|
|
2269
2292
|
* @throws OciError when an error occurs
|
|
2270
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2271
2294
|
*/
|
|
2272
2295
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2273
2296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2339,7 +2362,7 @@ class MigrationClient {
|
|
|
2339
2362
|
* @param RefreshMigrationRequest
|
|
2340
2363
|
* @return RefreshMigrationResponse
|
|
2341
2364
|
* @throws OciError when an error occurs
|
|
2342
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2365
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/RefreshMigration.ts.html |here} to see how to use RefreshMigration API.
|
|
2343
2366
|
*/
|
|
2344
2367
|
refreshMigration(refreshMigrationRequest) {
|
|
2345
2368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2401,7 +2424,7 @@ class MigrationClient {
|
|
|
2401
2424
|
* @param RefreshMigrationAssetRequest
|
|
2402
2425
|
* @return RefreshMigrationAssetResponse
|
|
2403
2426
|
* @throws OciError when an error occurs
|
|
2404
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2427
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/RefreshMigrationAsset.ts.html |here} to see how to use RefreshMigrationAsset API.
|
|
2405
2428
|
*/
|
|
2406
2429
|
refreshMigrationAsset(refreshMigrationAssetRequest) {
|
|
2407
2430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2463,7 +2486,7 @@ class MigrationClient {
|
|
|
2463
2486
|
* @param RefreshMigrationPlanRequest
|
|
2464
2487
|
* @return RefreshMigrationPlanResponse
|
|
2465
2488
|
* @throws OciError when an error occurs
|
|
2466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2489
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/RefreshMigrationPlan.ts.html |here} to see how to use RefreshMigrationPlan API.
|
|
2467
2490
|
*/
|
|
2468
2491
|
refreshMigrationPlan(refreshMigrationPlanRequest) {
|
|
2469
2492
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2525,7 +2548,7 @@ class MigrationClient {
|
|
|
2525
2548
|
* @param StartAssetReplicationRequest
|
|
2526
2549
|
* @return StartAssetReplicationResponse
|
|
2527
2550
|
* @throws OciError when an error occurs
|
|
2528
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2551
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/StartAssetReplication.ts.html |here} to see how to use StartAssetReplication API.
|
|
2529
2552
|
*/
|
|
2530
2553
|
startAssetReplication(startAssetReplicationRequest) {
|
|
2531
2554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2587,7 +2610,7 @@ class MigrationClient {
|
|
|
2587
2610
|
* @param StartMigrationReplicationRequest
|
|
2588
2611
|
* @return StartMigrationReplicationResponse
|
|
2589
2612
|
* @throws OciError when an error occurs
|
|
2590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2613
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/StartMigrationReplication.ts.html |here} to see how to use StartMigrationReplication API.
|
|
2591
2614
|
*/
|
|
2592
2615
|
startMigrationReplication(startMigrationReplicationRequest) {
|
|
2593
2616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2648,7 +2671,7 @@ class MigrationClient {
|
|
|
2648
2671
|
* @param UpdateMigrationRequest
|
|
2649
2672
|
* @return UpdateMigrationResponse
|
|
2650
2673
|
* @throws OciError when an error occurs
|
|
2651
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2674
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
|
|
2652
2675
|
*/
|
|
2653
2676
|
updateMigration(updateMigrationRequest) {
|
|
2654
2677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2713,7 +2736,7 @@ class MigrationClient {
|
|
|
2713
2736
|
* @param UpdateMigrationAssetRequest
|
|
2714
2737
|
* @return UpdateMigrationAssetResponse
|
|
2715
2738
|
* @throws OciError when an error occurs
|
|
2716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2739
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/UpdateMigrationAsset.ts.html |here} to see how to use UpdateMigrationAsset API.
|
|
2717
2740
|
*/
|
|
2718
2741
|
updateMigrationAsset(updateMigrationAssetRequest) {
|
|
2719
2742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2778,7 +2801,7 @@ class MigrationClient {
|
|
|
2778
2801
|
* @param UpdateMigrationPlanRequest
|
|
2779
2802
|
* @return UpdateMigrationPlanResponse
|
|
2780
2803
|
* @throws OciError when an error occurs
|
|
2781
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2804
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/UpdateMigrationPlan.ts.html |here} to see how to use UpdateMigrationPlan API.
|
|
2782
2805
|
*/
|
|
2783
2806
|
updateMigrationPlan(updateMigrationPlanRequest) {
|
|
2784
2807
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2840,7 +2863,7 @@ class MigrationClient {
|
|
|
2840
2863
|
* @param UpdateReplicationScheduleRequest
|
|
2841
2864
|
* @return UpdateReplicationScheduleResponse
|
|
2842
2865
|
* @throws OciError when an error occurs
|
|
2843
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/UpdateReplicationSchedule.ts.html |here} to see how to use UpdateReplicationSchedule API.
|
|
2844
2867
|
*/
|
|
2845
2868
|
updateReplicationSchedule(updateReplicationScheduleRequest) {
|
|
2846
2869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2902,7 +2925,7 @@ class MigrationClient {
|
|
|
2902
2925
|
* @param UpdateTargetAssetRequest
|
|
2903
2926
|
* @return UpdateTargetAssetResponse
|
|
2904
2927
|
* @throws OciError when an error occurs
|
|
2905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudmigrations/UpdateTargetAsset.ts.html |here} to see how to use UpdateTargetAsset API.
|
|
2906
2929
|
*/
|
|
2907
2930
|
updateTargetAsset(updateTargetAssetRequest) {
|
|
2908
2931
|
return __awaiter(this, void 0, void 0, function* () {
|