oci-databasemigration 2.79.0 → 2.79.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 +41 -42
- package/lib/client.js +84 -212
- package/lib/client.js.map +1 -1
- package/lib/model/create-host-dump-transfer-details.js +2 -4
- package/lib/model/create-host-dump-transfer-details.js.map +1 -1
- package/lib/model/create-target-type-tablespace-details.js +2 -4
- package/lib/model/create-target-type-tablespace-details.js.map +1 -1
- package/lib/model/data-transfer-medium-details-v2.js +2 -4
- package/lib/model/data-transfer-medium-details-v2.js.map +1 -1
- package/lib/model/host-dump-transfer-details.js +2 -4
- package/lib/model/host-dump-transfer-details.js.map +1 -1
- package/lib/model/target-type-tablespace-details.js +2 -4
- package/lib/model/target-type-tablespace-details.js.map +1 -1
- package/lib/model/update-host-dump-transfer-details.js +2 -4
- package/lib/model/update-host-dump-transfer-details.js.map +1 -1
- package/lib/model/update-target-type-tablespace-details.js +2 -4
- package/lib/model/update-target-type-tablespace-details.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
|
@@ -116,11 +116,7 @@ class DatabaseMigrationClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20210929";
|
|
119
|
-
|
|
120
|
-
this.logger.info(`DatabaseMigrationClient endpoint set to ${this._endpoint}`);
|
|
121
|
-
}
|
|
122
|
-
get logger() {
|
|
123
|
-
return common.LOG.logger;
|
|
119
|
+
oci_common_1.logger.info(`DatabaseMigrationClient endpoint set to ${this._endpoint}`);
|
|
124
120
|
}
|
|
125
121
|
/**
|
|
126
122
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -129,8 +125,7 @@ class DatabaseMigrationClient {
|
|
|
129
125
|
*/
|
|
130
126
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
131
127
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
132
|
-
|
|
133
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
128
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
134
129
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
135
130
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DatabaseMigrationClient.serviceEndpointTemplate, this._region, DatabaseMigrationClient.endpointServiceName);
|
|
136
131
|
}
|
|
@@ -197,12 +192,11 @@ class DatabaseMigrationClient {
|
|
|
197
192
|
* @param AbortJobRequest
|
|
198
193
|
* @return AbortJobResponse
|
|
199
194
|
* @throws OciError when an error occurs
|
|
200
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/AbortJob.ts.html |here} to see how to use AbortJob API.
|
|
201
196
|
*/
|
|
202
197
|
abortJob(abortJobRequest) {
|
|
203
198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
-
|
|
205
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#abortJob.");
|
|
199
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#abortJob.");
|
|
206
200
|
const operationName = "abortJob";
|
|
207
201
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/AbortJob";
|
|
208
202
|
const pathParams = {
|
|
@@ -217,8 +211,6 @@ class DatabaseMigrationClient {
|
|
|
217
211
|
};
|
|
218
212
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
219
213
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, abortJobRequest.retryConfiguration, specRetryConfiguration);
|
|
220
|
-
if (this.logger)
|
|
221
|
-
retrier.logger = this.logger;
|
|
222
214
|
const request = yield oci_common_1.composeRequest({
|
|
223
215
|
baseEndpoint: this._endpoint,
|
|
224
216
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -263,12 +255,11 @@ class DatabaseMigrationClient {
|
|
|
263
255
|
* @param AddMigrationObjectsRequest
|
|
264
256
|
* @return AddMigrationObjectsResponse
|
|
265
257
|
* @throws OciError when an error occurs
|
|
266
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/AddMigrationObjects.ts.html |here} to see how to use AddMigrationObjects API.
|
|
267
259
|
*/
|
|
268
260
|
addMigrationObjects(addMigrationObjectsRequest) {
|
|
269
261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
270
|
-
|
|
271
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#addMigrationObjects.");
|
|
262
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#addMigrationObjects.");
|
|
272
263
|
const operationName = "addMigrationObjects";
|
|
273
264
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/AddMigrationObjects";
|
|
274
265
|
const pathParams = {
|
|
@@ -282,8 +273,6 @@ class DatabaseMigrationClient {
|
|
|
282
273
|
};
|
|
283
274
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
284
275
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMigrationObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
285
|
-
if (this.logger)
|
|
286
|
-
retrier.logger = this.logger;
|
|
287
276
|
const request = yield oci_common_1.composeRequest({
|
|
288
277
|
baseEndpoint: this._endpoint,
|
|
289
278
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -320,12 +309,11 @@ class DatabaseMigrationClient {
|
|
|
320
309
|
* @param ChangeAgentCompartmentRequest
|
|
321
310
|
* @return ChangeAgentCompartmentResponse
|
|
322
311
|
* @throws OciError when an error occurs
|
|
323
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
312
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
|
|
324
313
|
*/
|
|
325
314
|
changeAgentCompartment(changeAgentCompartmentRequest) {
|
|
326
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
327
|
-
|
|
328
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#changeAgentCompartment.");
|
|
316
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#changeAgentCompartment.");
|
|
329
317
|
const operationName = "changeAgentCompartment";
|
|
330
318
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/ChangeAgentCompartment";
|
|
331
319
|
const pathParams = {
|
|
@@ -340,8 +328,6 @@ class DatabaseMigrationClient {
|
|
|
340
328
|
};
|
|
341
329
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
342
330
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAgentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
343
|
-
if (this.logger)
|
|
344
|
-
retrier.logger = this.logger;
|
|
345
331
|
const request = yield oci_common_1.composeRequest({
|
|
346
332
|
baseEndpoint: this._endpoint,
|
|
347
333
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -378,12 +364,11 @@ class DatabaseMigrationClient {
|
|
|
378
364
|
* @param ChangeConnectionCompartmentRequest
|
|
379
365
|
* @return ChangeConnectionCompartmentResponse
|
|
380
366
|
* @throws OciError when an error occurs
|
|
381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
367
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
|
|
382
368
|
*/
|
|
383
369
|
changeConnectionCompartment(changeConnectionCompartmentRequest) {
|
|
384
370
|
return __awaiter(this, void 0, void 0, function* () {
|
|
385
|
-
|
|
386
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#changeConnectionCompartment.");
|
|
371
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#changeConnectionCompartment.");
|
|
387
372
|
const operationName = "changeConnectionCompartment";
|
|
388
373
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/ChangeConnectionCompartment";
|
|
389
374
|
const pathParams = {
|
|
@@ -398,8 +383,6 @@ class DatabaseMigrationClient {
|
|
|
398
383
|
};
|
|
399
384
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
400
385
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConnectionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
401
|
-
if (this.logger)
|
|
402
|
-
retrier.logger = this.logger;
|
|
403
386
|
const request = yield oci_common_1.composeRequest({
|
|
404
387
|
baseEndpoint: this._endpoint,
|
|
405
388
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -436,12 +419,11 @@ class DatabaseMigrationClient {
|
|
|
436
419
|
* @param ChangeMigrationCompartmentRequest
|
|
437
420
|
* @return ChangeMigrationCompartmentResponse
|
|
438
421
|
* @throws OciError when an error occurs
|
|
439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
422
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
|
|
440
423
|
*/
|
|
441
424
|
changeMigrationCompartment(changeMigrationCompartmentRequest) {
|
|
442
425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
443
|
-
|
|
444
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#changeMigrationCompartment.");
|
|
426
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#changeMigrationCompartment.");
|
|
445
427
|
const operationName = "changeMigrationCompartment";
|
|
446
428
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/ChangeMigrationCompartment";
|
|
447
429
|
const pathParams = {
|
|
@@ -456,8 +438,6 @@ class DatabaseMigrationClient {
|
|
|
456
438
|
};
|
|
457
439
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
458
440
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMigrationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
459
|
-
if (this.logger)
|
|
460
|
-
retrier.logger = this.logger;
|
|
461
441
|
const request = yield oci_common_1.composeRequest({
|
|
462
442
|
baseEndpoint: this._endpoint,
|
|
463
443
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -494,12 +474,11 @@ class DatabaseMigrationClient {
|
|
|
494
474
|
* @param CloneMigrationRequest
|
|
495
475
|
* @return CloneMigrationResponse
|
|
496
476
|
* @throws OciError when an error occurs
|
|
497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/CloneMigration.ts.html |here} to see how to use CloneMigration API.
|
|
498
478
|
*/
|
|
499
479
|
cloneMigration(cloneMigrationRequest) {
|
|
500
480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
501
|
-
|
|
502
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#cloneMigration.");
|
|
481
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#cloneMigration.");
|
|
503
482
|
const operationName = "cloneMigration";
|
|
504
483
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/CloneMigration";
|
|
505
484
|
const pathParams = {
|
|
@@ -514,8 +493,6 @@ class DatabaseMigrationClient {
|
|
|
514
493
|
};
|
|
515
494
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
516
495
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cloneMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
517
|
-
if (this.logger)
|
|
518
|
-
retrier.logger = this.logger;
|
|
519
496
|
const request = yield oci_common_1.composeRequest({
|
|
520
497
|
baseEndpoint: this._endpoint,
|
|
521
498
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -566,12 +543,11 @@ class DatabaseMigrationClient {
|
|
|
566
543
|
* @param ConnectionDiagnosticsRequest
|
|
567
544
|
* @return ConnectionDiagnosticsResponse
|
|
568
545
|
* @throws OciError when an error occurs
|
|
569
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ConnectionDiagnostics.ts.html |here} to see how to use ConnectionDiagnostics API.
|
|
570
547
|
*/
|
|
571
548
|
connectionDiagnostics(connectionDiagnosticsRequest) {
|
|
572
549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
573
|
-
|
|
574
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#connectionDiagnostics.");
|
|
550
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#connectionDiagnostics.");
|
|
575
551
|
const operationName = "connectionDiagnostics";
|
|
576
552
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/ConnectionDiagnostics";
|
|
577
553
|
const pathParams = {
|
|
@@ -586,8 +562,6 @@ class DatabaseMigrationClient {
|
|
|
586
562
|
};
|
|
587
563
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
588
564
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, connectionDiagnosticsRequest.retryConfiguration, specRetryConfiguration);
|
|
589
|
-
if (this.logger)
|
|
590
|
-
retrier.logger = this.logger;
|
|
591
565
|
const request = yield oci_common_1.composeRequest({
|
|
592
566
|
baseEndpoint: this._endpoint,
|
|
593
567
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -633,12 +607,11 @@ class DatabaseMigrationClient {
|
|
|
633
607
|
* @param CreateConnectionRequest
|
|
634
608
|
* @return CreateConnectionResponse
|
|
635
609
|
* @throws OciError when an error occurs
|
|
636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
610
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/CreateConnection.ts.html |here} to see how to use CreateConnection API.
|
|
637
611
|
*/
|
|
638
612
|
createConnection(createConnectionRequest) {
|
|
639
613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
640
|
-
|
|
641
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#createConnection.");
|
|
614
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#createConnection.");
|
|
642
615
|
const operationName = "createConnection";
|
|
643
616
|
const apiReferenceLink = "";
|
|
644
617
|
const pathParams = {};
|
|
@@ -650,8 +623,6 @@ class DatabaseMigrationClient {
|
|
|
650
623
|
};
|
|
651
624
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
652
625
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
653
|
-
if (this.logger)
|
|
654
|
-
retrier.logger = this.logger;
|
|
655
626
|
const request = yield oci_common_1.composeRequest({
|
|
656
627
|
baseEndpoint: this._endpoint,
|
|
657
628
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -704,12 +675,11 @@ class DatabaseMigrationClient {
|
|
|
704
675
|
* @param CreateMigrationRequest
|
|
705
676
|
* @return CreateMigrationResponse
|
|
706
677
|
* @throws OciError when an error occurs
|
|
707
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/CreateMigration.ts.html |here} to see how to use CreateMigration API.
|
|
708
679
|
*/
|
|
709
680
|
createMigration(createMigrationRequest) {
|
|
710
681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
711
|
-
|
|
712
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#createMigration.");
|
|
682
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#createMigration.");
|
|
713
683
|
const operationName = "createMigration";
|
|
714
684
|
const apiReferenceLink = "";
|
|
715
685
|
const pathParams = {};
|
|
@@ -721,8 +691,6 @@ class DatabaseMigrationClient {
|
|
|
721
691
|
};
|
|
722
692
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
723
693
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
724
|
-
if (this.logger)
|
|
725
|
-
retrier.logger = this.logger;
|
|
726
694
|
const request = yield oci_common_1.composeRequest({
|
|
727
695
|
baseEndpoint: this._endpoint,
|
|
728
696
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -773,12 +741,11 @@ class DatabaseMigrationClient {
|
|
|
773
741
|
* @param DeleteAgentRequest
|
|
774
742
|
* @return DeleteAgentResponse
|
|
775
743
|
* @throws OciError when an error occurs
|
|
776
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
744
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
|
|
777
745
|
*/
|
|
778
746
|
deleteAgent(deleteAgentRequest) {
|
|
779
747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
780
|
-
|
|
781
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#deleteAgent.");
|
|
748
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#deleteAgent.");
|
|
782
749
|
const operationName = "deleteAgent";
|
|
783
750
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/DeleteAgent";
|
|
784
751
|
const pathParams = {
|
|
@@ -792,8 +759,6 @@ class DatabaseMigrationClient {
|
|
|
792
759
|
};
|
|
793
760
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
794
761
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
795
|
-
if (this.logger)
|
|
796
|
-
retrier.logger = this.logger;
|
|
797
762
|
const request = yield oci_common_1.composeRequest({
|
|
798
763
|
baseEndpoint: this._endpoint,
|
|
799
764
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -834,12 +799,11 @@ class DatabaseMigrationClient {
|
|
|
834
799
|
* @param DeleteConnectionRequest
|
|
835
800
|
* @return DeleteConnectionResponse
|
|
836
801
|
* @throws OciError when an error occurs
|
|
837
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
802
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
|
|
838
803
|
*/
|
|
839
804
|
deleteConnection(deleteConnectionRequest) {
|
|
840
805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
841
|
-
|
|
842
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#deleteConnection.");
|
|
806
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#deleteConnection.");
|
|
843
807
|
const operationName = "deleteConnection";
|
|
844
808
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/DeleteConnection";
|
|
845
809
|
const pathParams = {
|
|
@@ -853,8 +817,6 @@ class DatabaseMigrationClient {
|
|
|
853
817
|
};
|
|
854
818
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
855
819
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
856
|
-
if (this.logger)
|
|
857
|
-
retrier.logger = this.logger;
|
|
858
820
|
const request = yield oci_common_1.composeRequest({
|
|
859
821
|
baseEndpoint: this._endpoint,
|
|
860
822
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -895,12 +857,11 @@ class DatabaseMigrationClient {
|
|
|
895
857
|
* @param DeleteJobRequest
|
|
896
858
|
* @return DeleteJobResponse
|
|
897
859
|
* @throws OciError when an error occurs
|
|
898
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
899
861
|
*/
|
|
900
862
|
deleteJob(deleteJobRequest) {
|
|
901
863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
902
|
-
|
|
903
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#deleteJob.");
|
|
864
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#deleteJob.");
|
|
904
865
|
const operationName = "deleteJob";
|
|
905
866
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/DeleteJob";
|
|
906
867
|
const pathParams = {
|
|
@@ -914,8 +875,6 @@ class DatabaseMigrationClient {
|
|
|
914
875
|
};
|
|
915
876
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
916
877
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJobRequest.retryConfiguration, specRetryConfiguration);
|
|
917
|
-
if (this.logger)
|
|
918
|
-
retrier.logger = this.logger;
|
|
919
878
|
const request = yield oci_common_1.composeRequest({
|
|
920
879
|
baseEndpoint: this._endpoint,
|
|
921
880
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -951,12 +910,11 @@ class DatabaseMigrationClient {
|
|
|
951
910
|
* @param DeleteMigrationRequest
|
|
952
911
|
* @return DeleteMigrationResponse
|
|
953
912
|
* @throws OciError when an error occurs
|
|
954
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
913
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
|
|
955
914
|
*/
|
|
956
915
|
deleteMigration(deleteMigrationRequest) {
|
|
957
916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
958
|
-
|
|
959
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#deleteMigration.");
|
|
917
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#deleteMigration.");
|
|
960
918
|
const operationName = "deleteMigration";
|
|
961
919
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/DeleteMigration";
|
|
962
920
|
const pathParams = {
|
|
@@ -970,8 +928,6 @@ class DatabaseMigrationClient {
|
|
|
970
928
|
};
|
|
971
929
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
972
930
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
973
|
-
if (this.logger)
|
|
974
|
-
retrier.logger = this.logger;
|
|
975
931
|
const request = yield oci_common_1.composeRequest({
|
|
976
932
|
baseEndpoint: this._endpoint,
|
|
977
933
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1012,12 +968,11 @@ class DatabaseMigrationClient {
|
|
|
1012
968
|
* @param EvaluateMigrationRequest
|
|
1013
969
|
* @return EvaluateMigrationResponse
|
|
1014
970
|
* @throws OciError when an error occurs
|
|
1015
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
971
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/EvaluateMigration.ts.html |here} to see how to use EvaluateMigration API.
|
|
1016
972
|
*/
|
|
1017
973
|
evaluateMigration(evaluateMigrationRequest) {
|
|
1018
974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1019
|
-
|
|
1020
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#evaluateMigration.");
|
|
975
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#evaluateMigration.");
|
|
1021
976
|
const operationName = "evaluateMigration";
|
|
1022
977
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/EvaluateMigration";
|
|
1023
978
|
const pathParams = {
|
|
@@ -1032,8 +987,6 @@ class DatabaseMigrationClient {
|
|
|
1032
987
|
};
|
|
1033
988
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1034
989
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, evaluateMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
1035
|
-
if (this.logger)
|
|
1036
|
-
retrier.logger = this.logger;
|
|
1037
990
|
const request = yield oci_common_1.composeRequest({
|
|
1038
991
|
baseEndpoint: this._endpoint,
|
|
1039
992
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1083,12 +1036,11 @@ class DatabaseMigrationClient {
|
|
|
1083
1036
|
* @param GetAdvisorReportRequest
|
|
1084
1037
|
* @return GetAdvisorReportResponse
|
|
1085
1038
|
* @throws OciError when an error occurs
|
|
1086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1039
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetAdvisorReport.ts.html |here} to see how to use GetAdvisorReport API.
|
|
1087
1040
|
*/
|
|
1088
1041
|
getAdvisorReport(getAdvisorReportRequest) {
|
|
1089
1042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1090
|
-
|
|
1091
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getAdvisorReport.");
|
|
1043
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getAdvisorReport.");
|
|
1092
1044
|
const operationName = "getAdvisorReport";
|
|
1093
1045
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/GetAdvisorReport";
|
|
1094
1046
|
const pathParams = {
|
|
@@ -1101,8 +1053,6 @@ class DatabaseMigrationClient {
|
|
|
1101
1053
|
};
|
|
1102
1054
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1103
1055
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAdvisorReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1104
|
-
if (this.logger)
|
|
1105
|
-
retrier.logger = this.logger;
|
|
1106
1056
|
const request = yield oci_common_1.composeRequest({
|
|
1107
1057
|
baseEndpoint: this._endpoint,
|
|
1108
1058
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1147,12 +1097,11 @@ class DatabaseMigrationClient {
|
|
|
1147
1097
|
* @param GetAgentRequest
|
|
1148
1098
|
* @return GetAgentResponse
|
|
1149
1099
|
* @throws OciError when an error occurs
|
|
1150
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetAgent.ts.html |here} to see how to use GetAgent API.
|
|
1151
1101
|
*/
|
|
1152
1102
|
getAgent(getAgentRequest) {
|
|
1153
1103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1154
|
-
|
|
1155
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getAgent.");
|
|
1104
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getAgent.");
|
|
1156
1105
|
const operationName = "getAgent";
|
|
1157
1106
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/GetAgent";
|
|
1158
1107
|
const pathParams = {
|
|
@@ -1165,8 +1114,6 @@ class DatabaseMigrationClient {
|
|
|
1165
1114
|
};
|
|
1166
1115
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1167
1116
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
1168
|
-
if (this.logger)
|
|
1169
|
-
retrier.logger = this.logger;
|
|
1170
1117
|
const request = yield oci_common_1.composeRequest({
|
|
1171
1118
|
baseEndpoint: this._endpoint,
|
|
1172
1119
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1211,12 +1158,11 @@ class DatabaseMigrationClient {
|
|
|
1211
1158
|
* @param GetConnectionRequest
|
|
1212
1159
|
* @return GetConnectionResponse
|
|
1213
1160
|
* @throws OciError when an error occurs
|
|
1214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetConnection.ts.html |here} to see how to use GetConnection API.
|
|
1215
1162
|
*/
|
|
1216
1163
|
getConnection(getConnectionRequest) {
|
|
1217
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1218
|
-
|
|
1219
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getConnection.");
|
|
1165
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getConnection.");
|
|
1220
1166
|
const operationName = "getConnection";
|
|
1221
1167
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/GetConnection";
|
|
1222
1168
|
const pathParams = {
|
|
@@ -1229,8 +1175,6 @@ class DatabaseMigrationClient {
|
|
|
1229
1175
|
};
|
|
1230
1176
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1231
1177
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
1232
|
-
if (this.logger)
|
|
1233
|
-
retrier.logger = this.logger;
|
|
1234
1178
|
const request = yield oci_common_1.composeRequest({
|
|
1235
1179
|
baseEndpoint: this._endpoint,
|
|
1236
1180
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1275,12 +1219,11 @@ class DatabaseMigrationClient {
|
|
|
1275
1219
|
* @param GetJobRequest
|
|
1276
1220
|
* @return GetJobResponse
|
|
1277
1221
|
* @throws OciError when an error occurs
|
|
1278
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetJob.ts.html |here} to see how to use GetJob API.
|
|
1279
1223
|
*/
|
|
1280
1224
|
getJob(getJobRequest) {
|
|
1281
1225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1282
|
-
|
|
1283
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getJob.");
|
|
1226
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getJob.");
|
|
1284
1227
|
const operationName = "getJob";
|
|
1285
1228
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/GetJob";
|
|
1286
1229
|
const pathParams = {
|
|
@@ -1293,8 +1236,6 @@ class DatabaseMigrationClient {
|
|
|
1293
1236
|
};
|
|
1294
1237
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1295
1238
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1296
|
-
if (this.logger)
|
|
1297
|
-
retrier.logger = this.logger;
|
|
1298
1239
|
const request = yield oci_common_1.composeRequest({
|
|
1299
1240
|
baseEndpoint: this._endpoint,
|
|
1300
1241
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1339,12 +1280,11 @@ class DatabaseMigrationClient {
|
|
|
1339
1280
|
* @param GetJobOutputContentRequest
|
|
1340
1281
|
* @return GetJobOutputContentResponse
|
|
1341
1282
|
* @throws OciError when an error occurs
|
|
1342
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetJobOutputContent.ts.html |here} to see how to use GetJobOutputContent API.
|
|
1343
1284
|
*/
|
|
1344
1285
|
getJobOutputContent(getJobOutputContentRequest) {
|
|
1345
1286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1346
|
-
|
|
1347
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getJobOutputContent.");
|
|
1287
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getJobOutputContent.");
|
|
1348
1288
|
const operationName = "getJobOutputContent";
|
|
1349
1289
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/GetJobOutputContent";
|
|
1350
1290
|
const pathParams = {
|
|
@@ -1357,8 +1297,6 @@ class DatabaseMigrationClient {
|
|
|
1357
1297
|
};
|
|
1358
1298
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1359
1299
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobOutputContentRequest.retryConfiguration, specRetryConfiguration);
|
|
1360
|
-
if (this.logger)
|
|
1361
|
-
retrier.logger = this.logger;
|
|
1362
1300
|
const request = yield oci_common_1.composeRequest({
|
|
1363
1301
|
baseEndpoint: this._endpoint,
|
|
1364
1302
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1397,12 +1335,11 @@ class DatabaseMigrationClient {
|
|
|
1397
1335
|
* @param GetMigrationRequest
|
|
1398
1336
|
* @return GetMigrationResponse
|
|
1399
1337
|
* @throws OciError when an error occurs
|
|
1400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetMigration.ts.html |here} to see how to use GetMigration API.
|
|
1401
1339
|
*/
|
|
1402
1340
|
getMigration(getMigrationRequest) {
|
|
1403
1341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1404
|
-
|
|
1405
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getMigration.");
|
|
1342
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getMigration.");
|
|
1406
1343
|
const operationName = "getMigration";
|
|
1407
1344
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/GetMigration";
|
|
1408
1345
|
const pathParams = {
|
|
@@ -1416,8 +1353,6 @@ class DatabaseMigrationClient {
|
|
|
1416
1353
|
};
|
|
1417
1354
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1418
1355
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
1419
|
-
if (this.logger)
|
|
1420
|
-
retrier.logger = this.logger;
|
|
1421
1356
|
const request = yield oci_common_1.composeRequest({
|
|
1422
1357
|
baseEndpoint: this._endpoint,
|
|
1423
1358
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1462,12 +1397,11 @@ class DatabaseMigrationClient {
|
|
|
1462
1397
|
* @param GetWorkRequestRequest
|
|
1463
1398
|
* @return GetWorkRequestResponse
|
|
1464
1399
|
* @throws OciError when an error occurs
|
|
1465
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1466
1401
|
*/
|
|
1467
1402
|
getWorkRequest(getWorkRequestRequest) {
|
|
1468
1403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1469
|
-
|
|
1470
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#getWorkRequest.");
|
|
1404
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#getWorkRequest.");
|
|
1471
1405
|
const operationName = "getWorkRequest";
|
|
1472
1406
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequest/GetWorkRequest";
|
|
1473
1407
|
const pathParams = {
|
|
@@ -1480,8 +1414,6 @@ class DatabaseMigrationClient {
|
|
|
1480
1414
|
};
|
|
1481
1415
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1482
1416
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1483
|
-
if (this.logger)
|
|
1484
|
-
retrier.logger = this.logger;
|
|
1485
1417
|
const request = yield oci_common_1.composeRequest({
|
|
1486
1418
|
baseEndpoint: this._endpoint,
|
|
1487
1419
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1521,12 +1453,11 @@ class DatabaseMigrationClient {
|
|
|
1521
1453
|
* @param ListAgentImagesRequest
|
|
1522
1454
|
* @return ListAgentImagesResponse
|
|
1523
1455
|
* @throws OciError when an error occurs
|
|
1524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListAgentImages.ts.html |here} to see how to use ListAgentImages API.
|
|
1525
1457
|
*/
|
|
1526
1458
|
listAgentImages(listAgentImagesRequest) {
|
|
1527
1459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1528
|
-
|
|
1529
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listAgentImages.");
|
|
1460
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listAgentImages.");
|
|
1530
1461
|
const operationName = "listAgentImages";
|
|
1531
1462
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/AgentImageSummary/ListAgentImages";
|
|
1532
1463
|
const pathParams = {};
|
|
@@ -1541,8 +1472,6 @@ class DatabaseMigrationClient {
|
|
|
1541
1472
|
};
|
|
1542
1473
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1543
1474
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentImagesRequest.retryConfiguration, specRetryConfiguration);
|
|
1544
|
-
if (this.logger)
|
|
1545
|
-
retrier.logger = this.logger;
|
|
1546
1475
|
const request = yield oci_common_1.composeRequest({
|
|
1547
1476
|
baseEndpoint: this._endpoint,
|
|
1548
1477
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1587,12 +1516,11 @@ class DatabaseMigrationClient {
|
|
|
1587
1516
|
* @param ListAgentsRequest
|
|
1588
1517
|
* @return ListAgentsResponse
|
|
1589
1518
|
* @throws OciError when an error occurs
|
|
1590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListAgents.ts.html |here} to see how to use ListAgents API.
|
|
1591
1520
|
*/
|
|
1592
1521
|
listAgents(listAgentsRequest) {
|
|
1593
1522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1594
|
-
|
|
1595
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listAgents.");
|
|
1523
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listAgents.");
|
|
1596
1524
|
const operationName = "listAgents";
|
|
1597
1525
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/AgentSummary/ListAgents";
|
|
1598
1526
|
const pathParams = {};
|
|
@@ -1611,8 +1539,6 @@ class DatabaseMigrationClient {
|
|
|
1611
1539
|
};
|
|
1612
1540
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1613
1541
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1614
|
-
if (this.logger)
|
|
1615
|
-
retrier.logger = this.logger;
|
|
1616
1542
|
const request = yield oci_common_1.composeRequest({
|
|
1617
1543
|
baseEndpoint: this._endpoint,
|
|
1618
1544
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1657,12 +1583,11 @@ class DatabaseMigrationClient {
|
|
|
1657
1583
|
* @param ListConnectionsRequest
|
|
1658
1584
|
* @return ListConnectionsResponse
|
|
1659
1585
|
* @throws OciError when an error occurs
|
|
1660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1586
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListConnections.ts.html |here} to see how to use ListConnections API.
|
|
1661
1587
|
*/
|
|
1662
1588
|
listConnections(listConnectionsRequest) {
|
|
1663
1589
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1664
|
-
|
|
1665
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listConnections.");
|
|
1590
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listConnections.");
|
|
1666
1591
|
const operationName = "listConnections";
|
|
1667
1592
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/ConnectionSummary/ListConnections";
|
|
1668
1593
|
const pathParams = {};
|
|
@@ -1681,8 +1606,6 @@ class DatabaseMigrationClient {
|
|
|
1681
1606
|
};
|
|
1682
1607
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1683
1608
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1684
|
-
if (this.logger)
|
|
1685
|
-
retrier.logger = this.logger;
|
|
1686
1609
|
const request = yield oci_common_1.composeRequest({
|
|
1687
1610
|
baseEndpoint: this._endpoint,
|
|
1688
1611
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1727,12 +1650,11 @@ class DatabaseMigrationClient {
|
|
|
1727
1650
|
* @param ListExcludedObjectsRequest
|
|
1728
1651
|
* @return ListExcludedObjectsResponse
|
|
1729
1652
|
* @throws OciError when an error occurs
|
|
1730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1653
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListExcludedObjects.ts.html |here} to see how to use ListExcludedObjects API.
|
|
1731
1654
|
*/
|
|
1732
1655
|
listExcludedObjects(listExcludedObjectsRequest) {
|
|
1733
1656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1734
|
-
|
|
1735
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listExcludedObjects.");
|
|
1657
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listExcludedObjects.");
|
|
1736
1658
|
const operationName = "listExcludedObjects";
|
|
1737
1659
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/ExcludedObjectSummary/ListExcludedObjects";
|
|
1738
1660
|
const pathParams = {
|
|
@@ -1757,8 +1679,6 @@ class DatabaseMigrationClient {
|
|
|
1757
1679
|
};
|
|
1758
1680
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1759
1681
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExcludedObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
1760
|
-
if (this.logger)
|
|
1761
|
-
retrier.logger = this.logger;
|
|
1762
1682
|
const request = yield oci_common_1.composeRequest({
|
|
1763
1683
|
baseEndpoint: this._endpoint,
|
|
1764
1684
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1803,12 +1723,11 @@ class DatabaseMigrationClient {
|
|
|
1803
1723
|
* @param ListJobOutputsRequest
|
|
1804
1724
|
* @return ListJobOutputsResponse
|
|
1805
1725
|
* @throws OciError when an error occurs
|
|
1806
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1726
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListJobOutputs.ts.html |here} to see how to use ListJobOutputs API.
|
|
1807
1727
|
*/
|
|
1808
1728
|
listJobOutputs(listJobOutputsRequest) {
|
|
1809
1729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1810
|
-
|
|
1811
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listJobOutputs.");
|
|
1730
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listJobOutputs.");
|
|
1812
1731
|
const operationName = "listJobOutputs";
|
|
1813
1732
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/JobOutputSummary/ListJobOutputs";
|
|
1814
1733
|
const pathParams = {
|
|
@@ -1824,8 +1743,6 @@ class DatabaseMigrationClient {
|
|
|
1824
1743
|
};
|
|
1825
1744
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1826
1745
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobOutputsRequest.retryConfiguration, specRetryConfiguration);
|
|
1827
|
-
if (this.logger)
|
|
1828
|
-
retrier.logger = this.logger;
|
|
1829
1746
|
const request = yield oci_common_1.composeRequest({
|
|
1830
1747
|
baseEndpoint: this._endpoint,
|
|
1831
1748
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1871,12 +1788,11 @@ class DatabaseMigrationClient {
|
|
|
1871
1788
|
* @param ListJobsRequest
|
|
1872
1789
|
* @return ListJobsResponse
|
|
1873
1790
|
* @throws OciError when an error occurs
|
|
1874
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
1875
1792
|
*/
|
|
1876
1793
|
listJobs(listJobsRequest) {
|
|
1877
1794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1878
|
-
|
|
1879
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listJobs.");
|
|
1795
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listJobs.");
|
|
1880
1796
|
const operationName = "listJobs";
|
|
1881
1797
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/JobSummary/ListJobs";
|
|
1882
1798
|
const pathParams = {};
|
|
@@ -1895,8 +1811,6 @@ class DatabaseMigrationClient {
|
|
|
1895
1811
|
};
|
|
1896
1812
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1897
1813
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
1898
|
-
if (this.logger)
|
|
1899
|
-
retrier.logger = this.logger;
|
|
1900
1814
|
const request = yield oci_common_1.composeRequest({
|
|
1901
1815
|
baseEndpoint: this._endpoint,
|
|
1902
1816
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1941,12 +1855,11 @@ class DatabaseMigrationClient {
|
|
|
1941
1855
|
* @param ListMigrationObjectTypesRequest
|
|
1942
1856
|
* @return ListMigrationObjectTypesResponse
|
|
1943
1857
|
* @throws OciError when an error occurs
|
|
1944
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1858
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListMigrationObjectTypes.ts.html |here} to see how to use ListMigrationObjectTypes API.
|
|
1945
1859
|
*/
|
|
1946
1860
|
listMigrationObjectTypes(listMigrationObjectTypesRequest) {
|
|
1947
1861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1948
|
-
|
|
1949
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listMigrationObjectTypes.");
|
|
1862
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listMigrationObjectTypes.");
|
|
1950
1863
|
const operationName = "listMigrationObjectTypes";
|
|
1951
1864
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/MigrationObjectTypeSummary/ListMigrationObjectTypes";
|
|
1952
1865
|
const pathParams = {};
|
|
@@ -1962,8 +1875,6 @@ class DatabaseMigrationClient {
|
|
|
1962
1875
|
};
|
|
1963
1876
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1964
1877
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationObjectTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
1965
|
-
if (this.logger)
|
|
1966
|
-
retrier.logger = this.logger;
|
|
1967
1878
|
const request = yield oci_common_1.composeRequest({
|
|
1968
1879
|
baseEndpoint: this._endpoint,
|
|
1969
1880
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2008,12 +1919,11 @@ class DatabaseMigrationClient {
|
|
|
2008
1919
|
* @param ListMigrationObjectsRequest
|
|
2009
1920
|
* @return ListMigrationObjectsResponse
|
|
2010
1921
|
* @throws OciError when an error occurs
|
|
2011
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListMigrationObjects.ts.html |here} to see how to use ListMigrationObjects API.
|
|
2012
1923
|
*/
|
|
2013
1924
|
listMigrationObjects(listMigrationObjectsRequest) {
|
|
2014
1925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2015
|
-
|
|
2016
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listMigrationObjects.");
|
|
1926
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listMigrationObjects.");
|
|
2017
1927
|
const operationName = "listMigrationObjects";
|
|
2018
1928
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/MigrationObjectCollection/ListMigrationObjects";
|
|
2019
1929
|
const pathParams = {
|
|
@@ -2030,8 +1940,6 @@ class DatabaseMigrationClient {
|
|
|
2030
1940
|
};
|
|
2031
1941
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2032
1942
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
2033
|
-
if (this.logger)
|
|
2034
|
-
retrier.logger = this.logger;
|
|
2035
1943
|
const request = yield oci_common_1.composeRequest({
|
|
2036
1944
|
baseEndpoint: this._endpoint,
|
|
2037
1945
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2076,12 +1984,11 @@ class DatabaseMigrationClient {
|
|
|
2076
1984
|
* @param ListMigrationsRequest
|
|
2077
1985
|
* @return ListMigrationsResponse
|
|
2078
1986
|
* @throws OciError when an error occurs
|
|
2079
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListMigrations.ts.html |here} to see how to use ListMigrations API.
|
|
2080
1988
|
*/
|
|
2081
1989
|
listMigrations(listMigrationsRequest) {
|
|
2082
1990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2083
|
-
|
|
2084
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listMigrations.");
|
|
1991
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listMigrations.");
|
|
2085
1992
|
const operationName = "listMigrations";
|
|
2086
1993
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/MigrationSummary/ListMigrations";
|
|
2087
1994
|
const pathParams = {};
|
|
@@ -2101,8 +2008,6 @@ class DatabaseMigrationClient {
|
|
|
2101
2008
|
};
|
|
2102
2009
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2103
2010
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2104
|
-
if (this.logger)
|
|
2105
|
-
retrier.logger = this.logger;
|
|
2106
2011
|
const request = yield oci_common_1.composeRequest({
|
|
2107
2012
|
baseEndpoint: this._endpoint,
|
|
2108
2013
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2147,12 +2052,11 @@ class DatabaseMigrationClient {
|
|
|
2147
2052
|
* @param ListWorkRequestErrorsRequest
|
|
2148
2053
|
* @return ListWorkRequestErrorsResponse
|
|
2149
2054
|
* @throws OciError when an error occurs
|
|
2150
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2151
2056
|
*/
|
|
2152
2057
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2153
2058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2154
|
-
|
|
2155
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listWorkRequestErrors.");
|
|
2059
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listWorkRequestErrors.");
|
|
2156
2060
|
const operationName = "listWorkRequestErrors";
|
|
2157
2061
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequestError/ListWorkRequestErrors";
|
|
2158
2062
|
const pathParams = {
|
|
@@ -2170,8 +2074,6 @@ class DatabaseMigrationClient {
|
|
|
2170
2074
|
};
|
|
2171
2075
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2172
2076
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2173
|
-
if (this.logger)
|
|
2174
|
-
retrier.logger = this.logger;
|
|
2175
2077
|
const request = yield oci_common_1.composeRequest({
|
|
2176
2078
|
baseEndpoint: this._endpoint,
|
|
2177
2079
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2216,12 +2118,11 @@ class DatabaseMigrationClient {
|
|
|
2216
2118
|
* @param ListWorkRequestLogsRequest
|
|
2217
2119
|
* @return ListWorkRequestLogsResponse
|
|
2218
2120
|
* @throws OciError when an error occurs
|
|
2219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2121
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2220
2122
|
*/
|
|
2221
2123
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2222
2124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2223
|
-
|
|
2224
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listWorkRequestLogs.");
|
|
2125
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listWorkRequestLogs.");
|
|
2225
2126
|
const operationName = "listWorkRequestLogs";
|
|
2226
2127
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
2227
2128
|
const pathParams = {
|
|
@@ -2239,8 +2140,6 @@ class DatabaseMigrationClient {
|
|
|
2239
2140
|
};
|
|
2240
2141
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2241
2142
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2242
|
-
if (this.logger)
|
|
2243
|
-
retrier.logger = this.logger;
|
|
2244
2143
|
const request = yield oci_common_1.composeRequest({
|
|
2245
2144
|
baseEndpoint: this._endpoint,
|
|
2246
2145
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2285,12 +2184,11 @@ class DatabaseMigrationClient {
|
|
|
2285
2184
|
* @param ListWorkRequestsRequest
|
|
2286
2185
|
* @return ListWorkRequestsResponse
|
|
2287
2186
|
* @throws OciError when an error occurs
|
|
2288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2187
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2289
2188
|
*/
|
|
2290
2189
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2291
2190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2292
|
-
|
|
2293
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#listWorkRequests.");
|
|
2191
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#listWorkRequests.");
|
|
2294
2192
|
const operationName = "listWorkRequests";
|
|
2295
2193
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequestSummary/ListWorkRequests";
|
|
2296
2194
|
const pathParams = {};
|
|
@@ -2309,8 +2207,6 @@ class DatabaseMigrationClient {
|
|
|
2309
2207
|
};
|
|
2310
2208
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2311
2209
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2312
|
-
if (this.logger)
|
|
2313
|
-
retrier.logger = this.logger;
|
|
2314
2210
|
const request = yield oci_common_1.composeRequest({
|
|
2315
2211
|
baseEndpoint: this._endpoint,
|
|
2316
2212
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2355,12 +2251,11 @@ class DatabaseMigrationClient {
|
|
|
2355
2251
|
* @param RemoveMigrationObjectsRequest
|
|
2356
2252
|
* @return RemoveMigrationObjectsResponse
|
|
2357
2253
|
* @throws OciError when an error occurs
|
|
2358
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2254
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/RemoveMigrationObjects.ts.html |here} to see how to use RemoveMigrationObjects API.
|
|
2359
2255
|
*/
|
|
2360
2256
|
removeMigrationObjects(removeMigrationObjectsRequest) {
|
|
2361
2257
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2362
|
-
|
|
2363
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#removeMigrationObjects.");
|
|
2258
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#removeMigrationObjects.");
|
|
2364
2259
|
const operationName = "removeMigrationObjects";
|
|
2365
2260
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/RemoveMigrationObjects";
|
|
2366
2261
|
const pathParams = {
|
|
@@ -2374,8 +2269,6 @@ class DatabaseMigrationClient {
|
|
|
2374
2269
|
};
|
|
2375
2270
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2376
2271
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMigrationObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
2377
|
-
if (this.logger)
|
|
2378
|
-
retrier.logger = this.logger;
|
|
2379
2272
|
const request = yield oci_common_1.composeRequest({
|
|
2380
2273
|
baseEndpoint: this._endpoint,
|
|
2381
2274
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2412,12 +2305,11 @@ class DatabaseMigrationClient {
|
|
|
2412
2305
|
* @param ResumeJobRequest
|
|
2413
2306
|
* @return ResumeJobResponse
|
|
2414
2307
|
* @throws OciError when an error occurs
|
|
2415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2308
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/ResumeJob.ts.html |here} to see how to use ResumeJob API.
|
|
2416
2309
|
*/
|
|
2417
2310
|
resumeJob(resumeJobRequest) {
|
|
2418
2311
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2419
|
-
|
|
2420
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#resumeJob.");
|
|
2312
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#resumeJob.");
|
|
2421
2313
|
const operationName = "resumeJob";
|
|
2422
2314
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/ResumeJob";
|
|
2423
2315
|
const pathParams = {
|
|
@@ -2432,8 +2324,6 @@ class DatabaseMigrationClient {
|
|
|
2432
2324
|
};
|
|
2433
2325
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2434
2326
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeJobRequest.retryConfiguration, specRetryConfiguration);
|
|
2435
|
-
if (this.logger)
|
|
2436
|
-
retrier.logger = this.logger;
|
|
2437
2327
|
const request = yield oci_common_1.composeRequest({
|
|
2438
2328
|
baseEndpoint: this._endpoint,
|
|
2439
2329
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2479,12 +2369,11 @@ class DatabaseMigrationClient {
|
|
|
2479
2369
|
* @param RetrieveSupportedPhasesRequest
|
|
2480
2370
|
* @return RetrieveSupportedPhasesResponse
|
|
2481
2371
|
* @throws OciError when an error occurs
|
|
2482
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2372
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/RetrieveSupportedPhases.ts.html |here} to see how to use RetrieveSupportedPhases API.
|
|
2483
2373
|
*/
|
|
2484
2374
|
retrieveSupportedPhases(retrieveSupportedPhasesRequest) {
|
|
2485
2375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2486
|
-
|
|
2487
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#retrieveSupportedPhases.");
|
|
2376
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#retrieveSupportedPhases.");
|
|
2488
2377
|
const operationName = "retrieveSupportedPhases";
|
|
2489
2378
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/RetrieveSupportedPhases";
|
|
2490
2379
|
const pathParams = {
|
|
@@ -2497,8 +2386,6 @@ class DatabaseMigrationClient {
|
|
|
2497
2386
|
};
|
|
2498
2387
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2499
2388
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveSupportedPhasesRequest.retryConfiguration, specRetryConfiguration);
|
|
2500
|
-
if (this.logger)
|
|
2501
|
-
retrier.logger = this.logger;
|
|
2502
2389
|
const request = yield oci_common_1.composeRequest({
|
|
2503
2390
|
baseEndpoint: this._endpoint,
|
|
2504
2391
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2538,12 +2425,11 @@ class DatabaseMigrationClient {
|
|
|
2538
2425
|
* @param StartMigrationRequest
|
|
2539
2426
|
* @return StartMigrationResponse
|
|
2540
2427
|
* @throws OciError when an error occurs
|
|
2541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2428
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/StartMigration.ts.html |here} to see how to use StartMigration API.
|
|
2542
2429
|
*/
|
|
2543
2430
|
startMigration(startMigrationRequest) {
|
|
2544
2431
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2545
|
-
|
|
2546
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#startMigration.");
|
|
2432
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#startMigration.");
|
|
2547
2433
|
const operationName = "startMigration";
|
|
2548
2434
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/StartMigration";
|
|
2549
2435
|
const pathParams = {
|
|
@@ -2558,8 +2444,6 @@ class DatabaseMigrationClient {
|
|
|
2558
2444
|
};
|
|
2559
2445
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2560
2446
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
2561
|
-
if (this.logger)
|
|
2562
|
-
retrier.logger = this.logger;
|
|
2563
2447
|
const request = yield oci_common_1.composeRequest({
|
|
2564
2448
|
baseEndpoint: this._endpoint,
|
|
2565
2449
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2610,12 +2494,11 @@ class DatabaseMigrationClient {
|
|
|
2610
2494
|
* @param UpdateAgentRequest
|
|
2611
2495
|
* @return UpdateAgentResponse
|
|
2612
2496
|
* @throws OciError when an error occurs
|
|
2613
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2497
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
|
|
2614
2498
|
*/
|
|
2615
2499
|
updateAgent(updateAgentRequest) {
|
|
2616
2500
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2617
|
-
|
|
2618
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#updateAgent.");
|
|
2501
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#updateAgent.");
|
|
2619
2502
|
const operationName = "updateAgent";
|
|
2620
2503
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/UpdateAgent";
|
|
2621
2504
|
const pathParams = {
|
|
@@ -2630,8 +2513,6 @@ class DatabaseMigrationClient {
|
|
|
2630
2513
|
};
|
|
2631
2514
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2632
2515
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
2633
|
-
if (this.logger)
|
|
2634
|
-
retrier.logger = this.logger;
|
|
2635
2516
|
const request = yield oci_common_1.composeRequest({
|
|
2636
2517
|
baseEndpoint: this._endpoint,
|
|
2637
2518
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2677,12 +2558,11 @@ class DatabaseMigrationClient {
|
|
|
2677
2558
|
* @param UpdateConnectionRequest
|
|
2678
2559
|
* @return UpdateConnectionResponse
|
|
2679
2560
|
* @throws OciError when an error occurs
|
|
2680
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2561
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
|
|
2681
2562
|
*/
|
|
2682
2563
|
updateConnection(updateConnectionRequest) {
|
|
2683
2564
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2684
|
-
|
|
2685
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#updateConnection.");
|
|
2565
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#updateConnection.");
|
|
2686
2566
|
const operationName = "updateConnection";
|
|
2687
2567
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/UpdateConnection";
|
|
2688
2568
|
const pathParams = {
|
|
@@ -2696,8 +2576,6 @@ class DatabaseMigrationClient {
|
|
|
2696
2576
|
};
|
|
2697
2577
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2698
2578
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
2699
|
-
if (this.logger)
|
|
2700
|
-
retrier.logger = this.logger;
|
|
2701
2579
|
const request = yield oci_common_1.composeRequest({
|
|
2702
2580
|
baseEndpoint: this._endpoint,
|
|
2703
2581
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2739,12 +2617,11 @@ class DatabaseMigrationClient {
|
|
|
2739
2617
|
* @param UpdateJobRequest
|
|
2740
2618
|
* @return UpdateJobResponse
|
|
2741
2619
|
* @throws OciError when an error occurs
|
|
2742
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2620
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
2743
2621
|
*/
|
|
2744
2622
|
updateJob(updateJobRequest) {
|
|
2745
2623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2746
|
-
|
|
2747
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#updateJob.");
|
|
2624
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#updateJob.");
|
|
2748
2625
|
const operationName = "updateJob";
|
|
2749
2626
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/UpdateJob";
|
|
2750
2627
|
const pathParams = {
|
|
@@ -2758,8 +2635,6 @@ class DatabaseMigrationClient {
|
|
|
2758
2635
|
};
|
|
2759
2636
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2760
2637
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJobRequest.retryConfiguration, specRetryConfiguration);
|
|
2761
|
-
if (this.logger)
|
|
2762
|
-
retrier.logger = this.logger;
|
|
2763
2638
|
const request = yield oci_common_1.composeRequest({
|
|
2764
2639
|
baseEndpoint: this._endpoint,
|
|
2765
2640
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2805,12 +2680,11 @@ class DatabaseMigrationClient {
|
|
|
2805
2680
|
* @param UpdateMigrationRequest
|
|
2806
2681
|
* @return UpdateMigrationResponse
|
|
2807
2682
|
* @throws OciError when an error occurs
|
|
2808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2683
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/databasemigration/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
|
|
2809
2684
|
*/
|
|
2810
2685
|
updateMigration(updateMigrationRequest) {
|
|
2811
2686
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2812
|
-
|
|
2813
|
-
this.logger.debug("Calling operation DatabaseMigrationClient#updateMigration.");
|
|
2687
|
+
oci_common_1.logger.debug("Calling operation DatabaseMigrationClient#updateMigration.");
|
|
2814
2688
|
const operationName = "updateMigration";
|
|
2815
2689
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/UpdateMigration";
|
|
2816
2690
|
const pathParams = {
|
|
@@ -2824,8 +2698,6 @@ class DatabaseMigrationClient {
|
|
|
2824
2698
|
};
|
|
2825
2699
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2826
2700
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMigrationRequest.retryConfiguration, specRetryConfiguration);
|
|
2827
|
-
if (this.logger)
|
|
2828
|
-
retrier.logger = this.logger;
|
|
2829
2701
|
const request = yield oci_common_1.composeRequest({
|
|
2830
2702
|
baseEndpoint: this._endpoint,
|
|
2831
2703
|
defaultHeaders: this._defaultHeaders,
|