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