oci-databasemanagement 2.5.2 → 2.6.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 +109 -53
- package/lib/client.js +222 -106
- package/lib/client.js.map +1 -1
- package/lib/request/add-managed-database-to-managed-database-group-request.d.ts +1 -1
- package/lib/request/change-database-parameters-request.d.ts +1 -1
- package/lib/request/change-db-management-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-job-compartment-request.d.ts +1 -1
- package/lib/request/change-managed-database-group-compartment-request.d.ts +1 -1
- package/lib/request/create-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-job-request.d.ts +1 -1
- package/lib/request/create-managed-database-group-request.d.ts +1 -1
- package/lib/request/delete-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-job-request.d.ts +1 -1
- package/lib/request/delete-managed-database-group-request.d.ts +1 -1
- package/lib/request/get-awr-db-report-request.d.ts +1 -1
- package/lib/request/get-awr-db-sql-report-request.d.ts +1 -1
- package/lib/request/get-cluster-cache-metric-request.d.ts +1 -1
- package/lib/request/get-database-fleet-health-metrics-request.d.ts +1 -1
- package/lib/request/get-database-home-metrics-request.d.ts +1 -1
- package/lib/request/get-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-job-execution-request.d.ts +1 -1
- package/lib/request/get-job-request.d.ts +1 -1
- package/lib/request/get-job-run-request.d.ts +1 -1
- package/lib/request/get-managed-database-group-request.d.ts +1 -1
- package/lib/request/get-managed-database-request.d.ts +1 -1
- package/lib/request/get-pdb-metrics-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-associated-databases-request.d.ts +1 -1
- package/lib/request/list-awr-db-snapshots-request.d.ts +1 -1
- package/lib/request/list-awr-dbs-request.d.ts +1 -1
- package/lib/request/list-database-parameters-request.d.ts +1 -1
- package/lib/request/list-db-management-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-job-executions-request.d.ts +1 -1
- package/lib/request/list-job-runs-request.d.ts +1 -1
- package/lib/request/list-jobs-request.d.ts +1 -1
- package/lib/request/list-managed-database-groups-request.d.ts +1 -1
- package/lib/request/list-managed-databases-request.d.ts +1 -1
- package/lib/request/list-tablespaces-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-managed-database-from-managed-database-group-request.d.ts +1 -1
- package/lib/request/reset-database-parameters-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-cpu-usages-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-metrics-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-parameter-changes-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-parameters-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-snapshot-ranges-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-sysstats-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-top-wait-events-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-wait-event-buckets-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-wait-events-request.d.ts +1 -1
- package/lib/request/summarize-job-executions-statuses-request.d.ts +1 -1
- package/lib/request/update-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-job-request.d.ts +1 -1
- package/lib/request/update-managed-database-group-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -54,6 +54,9 @@ const oci_common_1 = require("oci-common");
|
|
|
54
54
|
var DbManagementApiKeys;
|
|
55
55
|
(function (DbManagementApiKeys) {
|
|
56
56
|
})(DbManagementApiKeys = exports.DbManagementApiKeys || (exports.DbManagementApiKeys = {}));
|
|
57
|
+
/**
|
|
58
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
59
|
+
*/
|
|
57
60
|
class DbManagementClient {
|
|
58
61
|
constructor(params, clientConfiguration) {
|
|
59
62
|
this["_endpoint"] = "";
|
|
@@ -68,6 +71,13 @@ class DbManagementClient {
|
|
|
68
71
|
? clientConfiguration.circuitBreaker.circuit
|
|
69
72
|
: null;
|
|
70
73
|
}
|
|
74
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
75
|
+
const specCircuitBreakerEnabled = false;
|
|
76
|
+
if (!this._circuitBreaker &&
|
|
77
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
78
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
79
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
80
|
+
}
|
|
71
81
|
this._httpClient =
|
|
72
82
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
73
83
|
if (params.authenticationDetailsProvider &&
|
|
@@ -142,10 +152,11 @@ class DbManagementClient {
|
|
|
142
152
|
* After the database is added, it will be included in the
|
|
143
153
|
* management activities performed on the Managed Database Group.
|
|
144
154
|
*
|
|
155
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
145
156
|
* @param AddManagedDatabaseToManagedDatabaseGroupRequest
|
|
146
157
|
* @return AddManagedDatabaseToManagedDatabaseGroupResponse
|
|
147
158
|
* @throws OciError when an error occurs
|
|
148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.ts.html |here} to see how to use AddManagedDatabaseToManagedDatabaseGroup API.
|
|
149
160
|
*/
|
|
150
161
|
addManagedDatabaseToManagedDatabaseGroup(addManagedDatabaseToManagedDatabaseGroupRequest) {
|
|
151
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -160,7 +171,8 @@ class DbManagementClient {
|
|
|
160
171
|
"opc-request-id": addManagedDatabaseToManagedDatabaseGroupRequest.opcRequestId,
|
|
161
172
|
"opc-retry-token": addManagedDatabaseToManagedDatabaseGroupRequest.opcRetryToken
|
|
162
173
|
};
|
|
163
|
-
const
|
|
174
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
175
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addManagedDatabaseToManagedDatabaseGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
164
176
|
if (this.logger)
|
|
165
177
|
retrier.logger = this.logger;
|
|
166
178
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -207,10 +219,11 @@ class DbManagementClient {
|
|
|
207
219
|
* current instance. You must update them manually to be passed to
|
|
208
220
|
* a future instance.
|
|
209
221
|
*
|
|
222
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
210
223
|
* @param ChangeDatabaseParametersRequest
|
|
211
224
|
* @return ChangeDatabaseParametersResponse
|
|
212
225
|
* @throws OciError when an error occurs
|
|
213
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ChangeDatabaseParameters.ts.html |here} to see how to use ChangeDatabaseParameters API.
|
|
214
227
|
*/
|
|
215
228
|
changeDatabaseParameters(changeDatabaseParametersRequest) {
|
|
216
229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -225,7 +238,8 @@ class DbManagementClient {
|
|
|
225
238
|
"opc-request-id": changeDatabaseParametersRequest.opcRequestId,
|
|
226
239
|
"opc-retry-token": changeDatabaseParametersRequest.opcRetryToken
|
|
227
240
|
};
|
|
228
|
-
const
|
|
241
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
242
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
229
243
|
if (this.logger)
|
|
230
244
|
retrier.logger = this.logger;
|
|
231
245
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -263,10 +277,11 @@ class DbManagementClient {
|
|
|
263
277
|
}
|
|
264
278
|
/**
|
|
265
279
|
* Moves the Database Management private endpoint and its dependent resources to the specified compartment.
|
|
280
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
266
281
|
* @param ChangeDbManagementPrivateEndpointCompartmentRequest
|
|
267
282
|
* @return ChangeDbManagementPrivateEndpointCompartmentResponse
|
|
268
283
|
* @throws OciError when an error occurs
|
|
269
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ChangeDbManagementPrivateEndpointCompartment.ts.html |here} to see how to use ChangeDbManagementPrivateEndpointCompartment API.
|
|
270
285
|
*/
|
|
271
286
|
changeDbManagementPrivateEndpointCompartment(changeDbManagementPrivateEndpointCompartmentRequest) {
|
|
272
287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -282,7 +297,8 @@ class DbManagementClient {
|
|
|
282
297
|
"opc-retry-token": changeDbManagementPrivateEndpointCompartmentRequest.opcRetryToken,
|
|
283
298
|
"if-match": changeDbManagementPrivateEndpointCompartmentRequest.ifMatch
|
|
284
299
|
};
|
|
285
|
-
const
|
|
300
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
301
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDbManagementPrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
286
302
|
if (this.logger)
|
|
287
303
|
retrier.logger = this.logger;
|
|
288
304
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -317,10 +333,11 @@ class DbManagementClient {
|
|
|
317
333
|
/**
|
|
318
334
|
* Moves a job.
|
|
319
335
|
*
|
|
336
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
320
337
|
* @param ChangeJobCompartmentRequest
|
|
321
338
|
* @return ChangeJobCompartmentResponse
|
|
322
339
|
* @throws OciError when an error occurs
|
|
323
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
340
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
|
|
324
341
|
*/
|
|
325
342
|
changeJobCompartment(changeJobCompartmentRequest) {
|
|
326
343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -336,7 +353,8 @@ class DbManagementClient {
|
|
|
336
353
|
"opc-retry-token": changeJobCompartmentRequest.opcRetryToken,
|
|
337
354
|
"if-match": changeJobCompartmentRequest.ifMatch
|
|
338
355
|
};
|
|
339
|
-
const
|
|
356
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
357
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeJobCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
340
358
|
if (this.logger)
|
|
341
359
|
retrier.logger = this.logger;
|
|
342
360
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -373,10 +391,11 @@ class DbManagementClient {
|
|
|
373
391
|
* The destination compartment must not have a Managed Database Group
|
|
374
392
|
* with the same name.
|
|
375
393
|
*
|
|
394
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
376
395
|
* @param ChangeManagedDatabaseGroupCompartmentRequest
|
|
377
396
|
* @return ChangeManagedDatabaseGroupCompartmentResponse
|
|
378
397
|
* @throws OciError when an error occurs
|
|
379
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
398
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ChangeManagedDatabaseGroupCompartment.ts.html |here} to see how to use ChangeManagedDatabaseGroupCompartment API.
|
|
380
399
|
*/
|
|
381
400
|
changeManagedDatabaseGroupCompartment(changeManagedDatabaseGroupCompartmentRequest) {
|
|
382
401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -392,7 +411,8 @@ class DbManagementClient {
|
|
|
392
411
|
"opc-retry-token": changeManagedDatabaseGroupCompartmentRequest.opcRetryToken,
|
|
393
412
|
"if-match": changeManagedDatabaseGroupCompartmentRequest.ifMatch
|
|
394
413
|
};
|
|
395
|
-
const
|
|
414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
415
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeManagedDatabaseGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
396
416
|
if (this.logger)
|
|
397
417
|
retrier.logger = this.logger;
|
|
398
418
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -427,10 +447,11 @@ class DbManagementClient {
|
|
|
427
447
|
/**
|
|
428
448
|
* Creates a new Database Management private endpoint.
|
|
429
449
|
*
|
|
450
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
430
451
|
* @param CreateDbManagementPrivateEndpointRequest
|
|
431
452
|
* @return CreateDbManagementPrivateEndpointResponse
|
|
432
453
|
* @throws OciError when an error occurs
|
|
433
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
454
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/CreateDbManagementPrivateEndpoint.ts.html |here} to see how to use CreateDbManagementPrivateEndpoint API.
|
|
434
455
|
*/
|
|
435
456
|
createDbManagementPrivateEndpoint(createDbManagementPrivateEndpointRequest) {
|
|
436
457
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -443,7 +464,8 @@ class DbManagementClient {
|
|
|
443
464
|
"opc-retry-token": createDbManagementPrivateEndpointRequest.opcRetryToken,
|
|
444
465
|
"opc-request-id": createDbManagementPrivateEndpointRequest.opcRequestId
|
|
445
466
|
};
|
|
446
|
-
const
|
|
467
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
468
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbManagementPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
447
469
|
if (this.logger)
|
|
448
470
|
retrier.logger = this.logger;
|
|
449
471
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -499,10 +521,11 @@ class DbManagementClient {
|
|
|
499
521
|
* of the parameters, managedDatabaseId or managedDatabaseGroupId should be provided as
|
|
500
522
|
* input in CreateJobDetails resource in request body.
|
|
501
523
|
*
|
|
524
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
502
525
|
* @param CreateJobRequest
|
|
503
526
|
* @return CreateJobResponse
|
|
504
527
|
* @throws OciError when an error occurs
|
|
505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/CreateJob.ts.html |here} to see how to use CreateJob API.
|
|
506
529
|
*/
|
|
507
530
|
createJob(createJobRequest) {
|
|
508
531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -515,7 +538,8 @@ class DbManagementClient {
|
|
|
515
538
|
"opc-request-id": createJobRequest.opcRequestId,
|
|
516
539
|
"opc-retry-token": createJobRequest.opcRetryToken
|
|
517
540
|
};
|
|
518
|
-
const
|
|
541
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
542
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createJobRequest.retryConfiguration, specRetryConfiguration);
|
|
519
543
|
if (this.logger)
|
|
520
544
|
retrier.logger = this.logger;
|
|
521
545
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -565,10 +589,11 @@ class DbManagementClient {
|
|
|
565
589
|
* Creates a Managed Database Group. The group does not contain any
|
|
566
590
|
* Managed Databases when it is created, and they must be added later.
|
|
567
591
|
*
|
|
592
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
568
593
|
* @param CreateManagedDatabaseGroupRequest
|
|
569
594
|
* @return CreateManagedDatabaseGroupResponse
|
|
570
595
|
* @throws OciError when an error occurs
|
|
571
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
596
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/CreateManagedDatabaseGroup.ts.html |here} to see how to use CreateManagedDatabaseGroup API.
|
|
572
597
|
*/
|
|
573
598
|
createManagedDatabaseGroup(createManagedDatabaseGroupRequest) {
|
|
574
599
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -581,7 +606,8 @@ class DbManagementClient {
|
|
|
581
606
|
"opc-request-id": createManagedDatabaseGroupRequest.opcRequestId,
|
|
582
607
|
"opc-retry-token": createManagedDatabaseGroupRequest.opcRetryToken
|
|
583
608
|
};
|
|
584
|
-
const
|
|
609
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
610
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createManagedDatabaseGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
585
611
|
if (this.logger)
|
|
586
612
|
retrier.logger = this.logger;
|
|
587
613
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -629,10 +655,11 @@ class DbManagementClient {
|
|
|
629
655
|
}
|
|
630
656
|
/**
|
|
631
657
|
* Deletes the specified Database Management private endpoint.
|
|
658
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
632
659
|
* @param DeleteDbManagementPrivateEndpointRequest
|
|
633
660
|
* @return DeleteDbManagementPrivateEndpointResponse
|
|
634
661
|
* @throws OciError when an error occurs
|
|
635
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
662
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/DeleteDbManagementPrivateEndpoint.ts.html |here} to see how to use DeleteDbManagementPrivateEndpoint API.
|
|
636
663
|
*/
|
|
637
664
|
deleteDbManagementPrivateEndpoint(deleteDbManagementPrivateEndpointRequest) {
|
|
638
665
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -647,7 +674,8 @@ class DbManagementClient {
|
|
|
647
674
|
"opc-request-id": deleteDbManagementPrivateEndpointRequest.opcRequestId,
|
|
648
675
|
"if-match": deleteDbManagementPrivateEndpointRequest.ifMatch
|
|
649
676
|
};
|
|
650
|
-
const
|
|
677
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
678
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbManagementPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
651
679
|
if (this.logger)
|
|
652
680
|
retrier.logger = this.logger;
|
|
653
681
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -685,10 +713,11 @@ class DbManagementClient {
|
|
|
685
713
|
}
|
|
686
714
|
/**
|
|
687
715
|
* Deletes the job specified by jobId.
|
|
716
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
688
717
|
* @param DeleteJobRequest
|
|
689
718
|
* @return DeleteJobResponse
|
|
690
719
|
* @throws OciError when an error occurs
|
|
691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
692
721
|
*/
|
|
693
722
|
deleteJob(deleteJobRequest) {
|
|
694
723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -703,7 +732,8 @@ class DbManagementClient {
|
|
|
703
732
|
"if-match": deleteJobRequest.ifMatch,
|
|
704
733
|
"opc-request-id": deleteJobRequest.opcRequestId
|
|
705
734
|
};
|
|
706
|
-
const
|
|
735
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
736
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJobRequest.retryConfiguration, specRetryConfiguration);
|
|
707
737
|
if (this.logger)
|
|
708
738
|
retrier.logger = this.logger;
|
|
709
739
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -738,10 +768,11 @@ class DbManagementClient {
|
|
|
738
768
|
* Deletes the Managed Database Group specified by managedDatabaseGroupId.
|
|
739
769
|
* If the group contains Managed Databases, then it cannot be deleted.
|
|
740
770
|
*
|
|
771
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
741
772
|
* @param DeleteManagedDatabaseGroupRequest
|
|
742
773
|
* @return DeleteManagedDatabaseGroupResponse
|
|
743
774
|
* @throws OciError when an error occurs
|
|
744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
775
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/DeleteManagedDatabaseGroup.ts.html |here} to see how to use DeleteManagedDatabaseGroup API.
|
|
745
776
|
*/
|
|
746
777
|
deleteManagedDatabaseGroup(deleteManagedDatabaseGroupRequest) {
|
|
747
778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -756,7 +787,8 @@ class DbManagementClient {
|
|
|
756
787
|
"if-match": deleteManagedDatabaseGroupRequest.ifMatch,
|
|
757
788
|
"opc-request-id": deleteManagedDatabaseGroupRequest.opcRequestId
|
|
758
789
|
};
|
|
759
|
-
const
|
|
790
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
791
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagedDatabaseGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
760
792
|
if (this.logger)
|
|
761
793
|
retrier.logger = this.logger;
|
|
762
794
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -790,10 +822,11 @@ class DbManagementClient {
|
|
|
790
822
|
/**
|
|
791
823
|
* Gets the AWR report for the specific database.
|
|
792
824
|
*
|
|
825
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
793
826
|
* @param GetAwrDbReportRequest
|
|
794
827
|
* @return GetAwrDbReportResponse
|
|
795
828
|
* @throws OciError when an error occurs
|
|
796
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
829
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetAwrDbReport.ts.html |here} to see how to use GetAwrDbReport API.
|
|
797
830
|
*/
|
|
798
831
|
getAwrDbReport(getAwrDbReportRequest) {
|
|
799
832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -818,7 +851,8 @@ class DbManagementClient {
|
|
|
818
851
|
"opc-request-id": getAwrDbReportRequest.opcRequestId,
|
|
819
852
|
"opc-retry-token": getAwrDbReportRequest.opcRetryToken
|
|
820
853
|
};
|
|
821
|
-
const
|
|
854
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
855
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAwrDbReportRequest.retryConfiguration, specRetryConfiguration);
|
|
822
856
|
if (this.logger)
|
|
823
857
|
retrier.logger = this.logger;
|
|
824
858
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -856,10 +890,11 @@ class DbManagementClient {
|
|
|
856
890
|
/**
|
|
857
891
|
* Gets the SQL health check report for one SQL of the specific database.
|
|
858
892
|
*
|
|
893
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
859
894
|
* @param GetAwrDbSqlReportRequest
|
|
860
895
|
* @return GetAwrDbSqlReportResponse
|
|
861
896
|
* @throws OciError when an error occurs
|
|
862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
897
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetAwrDbSqlReport.ts.html |here} to see how to use GetAwrDbSqlReport API.
|
|
863
898
|
*/
|
|
864
899
|
getAwrDbSqlReport(getAwrDbSqlReportRequest) {
|
|
865
900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -884,7 +919,8 @@ class DbManagementClient {
|
|
|
884
919
|
"opc-request-id": getAwrDbSqlReportRequest.opcRequestId,
|
|
885
920
|
"opc-retry-token": getAwrDbSqlReportRequest.opcRetryToken
|
|
886
921
|
};
|
|
887
|
-
const
|
|
922
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
923
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAwrDbSqlReportRequest.retryConfiguration, specRetryConfiguration);
|
|
888
924
|
if (this.logger)
|
|
889
925
|
retrier.logger = this.logger;
|
|
890
926
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -924,10 +960,11 @@ class DbManagementClient {
|
|
|
924
960
|
* Real Application Clusters (Oracle RAC) database specified
|
|
925
961
|
* by managedDatabaseId.
|
|
926
962
|
*
|
|
963
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
927
964
|
* @param GetClusterCacheMetricRequest
|
|
928
965
|
* @return GetClusterCacheMetricResponse
|
|
929
966
|
* @throws OciError when an error occurs
|
|
930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetClusterCacheMetric.ts.html |here} to see how to use GetClusterCacheMetric API.
|
|
931
968
|
*/
|
|
932
969
|
getClusterCacheMetric(getClusterCacheMetricRequest) {
|
|
933
970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -944,7 +981,8 @@ class DbManagementClient {
|
|
|
944
981
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
945
982
|
"opc-request-id": getClusterCacheMetricRequest.opcRequestId
|
|
946
983
|
};
|
|
947
|
-
const
|
|
984
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
985
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getClusterCacheMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
948
986
|
if (this.logger)
|
|
949
987
|
retrier.logger = this.logger;
|
|
950
988
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -983,10 +1021,11 @@ class DbManagementClient {
|
|
|
983
1021
|
* Gets the health metrics for a fleet of databases in a compartment or in a Managed Database Group.
|
|
984
1022
|
* Either the CompartmentId or the ManagedDatabaseGroupId query parameters must be provided to retrieve the health metrics.
|
|
985
1023
|
*
|
|
1024
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
986
1025
|
* @param GetDatabaseFleetHealthMetricsRequest
|
|
987
1026
|
* @return GetDatabaseFleetHealthMetricsResponse
|
|
988
1027
|
* @throws OciError when an error occurs
|
|
989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetDatabaseFleetHealthMetrics.ts.html |here} to see how to use GetDatabaseFleetHealthMetrics API.
|
|
990
1029
|
*/
|
|
991
1030
|
getDatabaseFleetHealthMetrics(getDatabaseFleetHealthMetricsRequest) {
|
|
992
1031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1009,7 +1048,8 @@ class DbManagementClient {
|
|
|
1009
1048
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1010
1049
|
"opc-request-id": getDatabaseFleetHealthMetricsRequest.opcRequestId
|
|
1011
1050
|
};
|
|
1012
|
-
const
|
|
1051
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1052
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseFleetHealthMetricsRequest.retryConfiguration, specRetryConfiguration);
|
|
1013
1053
|
if (this.logger)
|
|
1014
1054
|
retrier.logger = this.logger;
|
|
1015
1055
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1046,10 +1086,11 @@ class DbManagementClient {
|
|
|
1046
1086
|
}
|
|
1047
1087
|
/**
|
|
1048
1088
|
* Gets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.
|
|
1089
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1049
1090
|
* @param GetDatabaseHomeMetricsRequest
|
|
1050
1091
|
* @return GetDatabaseHomeMetricsResponse
|
|
1051
1092
|
* @throws OciError when an error occurs
|
|
1052
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetDatabaseHomeMetrics.ts.html |here} to see how to use GetDatabaseHomeMetrics API.
|
|
1053
1094
|
*/
|
|
1054
1095
|
getDatabaseHomeMetrics(getDatabaseHomeMetricsRequest) {
|
|
1055
1096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1065,7 +1106,8 @@ class DbManagementClient {
|
|
|
1065
1106
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1066
1107
|
"opc-request-id": getDatabaseHomeMetricsRequest.opcRequestId
|
|
1067
1108
|
};
|
|
1068
|
-
const
|
|
1109
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1110
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseHomeMetricsRequest.retryConfiguration, specRetryConfiguration);
|
|
1069
1111
|
if (this.logger)
|
|
1070
1112
|
retrier.logger = this.logger;
|
|
1071
1113
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1102,10 +1144,11 @@ class DbManagementClient {
|
|
|
1102
1144
|
}
|
|
1103
1145
|
/**
|
|
1104
1146
|
* Gets the details of the specified Database Management private endpoint.
|
|
1147
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1105
1148
|
* @param GetDbManagementPrivateEndpointRequest
|
|
1106
1149
|
* @return GetDbManagementPrivateEndpointResponse
|
|
1107
1150
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1151
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetDbManagementPrivateEndpoint.ts.html |here} to see how to use GetDbManagementPrivateEndpoint API.
|
|
1109
1152
|
*/
|
|
1110
1153
|
getDbManagementPrivateEndpoint(getDbManagementPrivateEndpointRequest) {
|
|
1111
1154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1119,7 +1162,8 @@ class DbManagementClient {
|
|
|
1119
1162
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1120
1163
|
"opc-request-id": getDbManagementPrivateEndpointRequest.opcRequestId
|
|
1121
1164
|
};
|
|
1122
|
-
const
|
|
1165
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1166
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbManagementPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1123
1167
|
if (this.logger)
|
|
1124
1168
|
retrier.logger = this.logger;
|
|
1125
1169
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1162,10 +1206,11 @@ class DbManagementClient {
|
|
|
1162
1206
|
/**
|
|
1163
1207
|
* Gets the details for the job specified by jobId.
|
|
1164
1208
|
*
|
|
1209
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1165
1210
|
* @param GetJobRequest
|
|
1166
1211
|
* @return GetJobResponse
|
|
1167
1212
|
* @throws OciError when an error occurs
|
|
1168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetJob.ts.html |here} to see how to use GetJob API.
|
|
1169
1214
|
*/
|
|
1170
1215
|
getJob(getJobRequest) {
|
|
1171
1216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1179,7 +1224,8 @@ class DbManagementClient {
|
|
|
1179
1224
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1180
1225
|
"opc-request-id": getJobRequest.opcRequestId
|
|
1181
1226
|
};
|
|
1182
|
-
const
|
|
1227
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1228
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1183
1229
|
if (this.logger)
|
|
1184
1230
|
retrier.logger = this.logger;
|
|
1185
1231
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1227,10 +1273,11 @@ class DbManagementClient {
|
|
|
1227
1273
|
/**
|
|
1228
1274
|
* Gets the details for the job execution specified by jobExecutionId.
|
|
1229
1275
|
*
|
|
1276
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1230
1277
|
* @param GetJobExecutionRequest
|
|
1231
1278
|
* @return GetJobExecutionResponse
|
|
1232
1279
|
* @throws OciError when an error occurs
|
|
1233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1280
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetJobExecution.ts.html |here} to see how to use GetJobExecution API.
|
|
1234
1281
|
*/
|
|
1235
1282
|
getJobExecution(getJobExecutionRequest) {
|
|
1236
1283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1244,7 +1291,8 @@ class DbManagementClient {
|
|
|
1244
1291
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1245
1292
|
"opc-request-id": getJobExecutionRequest.opcRequestId
|
|
1246
1293
|
};
|
|
1247
|
-
const
|
|
1294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1295
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
1248
1296
|
if (this.logger)
|
|
1249
1297
|
retrier.logger = this.logger;
|
|
1250
1298
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1282,10 +1330,11 @@ class DbManagementClient {
|
|
|
1282
1330
|
/**
|
|
1283
1331
|
* Gets the details for the job run specified by jobRunId.
|
|
1284
1332
|
*
|
|
1333
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1285
1334
|
* @param GetJobRunRequest
|
|
1286
1335
|
* @return GetJobRunResponse
|
|
1287
1336
|
* @throws OciError when an error occurs
|
|
1288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetJobRun.ts.html |here} to see how to use GetJobRun API.
|
|
1289
1338
|
*/
|
|
1290
1339
|
getJobRun(getJobRunRequest) {
|
|
1291
1340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1299,7 +1348,8 @@ class DbManagementClient {
|
|
|
1299
1348
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1300
1349
|
"opc-request-id": getJobRunRequest.opcRequestId
|
|
1301
1350
|
};
|
|
1302
|
-
const
|
|
1351
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1352
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1303
1353
|
if (this.logger)
|
|
1304
1354
|
retrier.logger = this.logger;
|
|
1305
1355
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1337,10 +1387,11 @@ class DbManagementClient {
|
|
|
1337
1387
|
/**
|
|
1338
1388
|
* Gets the details for the Managed Database specified by managedDatabaseId.
|
|
1339
1389
|
*
|
|
1390
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1340
1391
|
* @param GetManagedDatabaseRequest
|
|
1341
1392
|
* @return GetManagedDatabaseResponse
|
|
1342
1393
|
* @throws OciError when an error occurs
|
|
1343
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1394
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetManagedDatabase.ts.html |here} to see how to use GetManagedDatabase API.
|
|
1344
1395
|
*/
|
|
1345
1396
|
getManagedDatabase(getManagedDatabaseRequest) {
|
|
1346
1397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1354,7 +1405,8 @@ class DbManagementClient {
|
|
|
1354
1405
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1355
1406
|
"opc-request-id": getManagedDatabaseRequest.opcRequestId
|
|
1356
1407
|
};
|
|
1357
|
-
const
|
|
1408
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1409
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagedDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
1358
1410
|
if (this.logger)
|
|
1359
1411
|
retrier.logger = this.logger;
|
|
1360
1412
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1392,10 +1444,11 @@ class DbManagementClient {
|
|
|
1392
1444
|
/**
|
|
1393
1445
|
* Gets the details for the Managed Database Group specified by managedDatabaseGroupId.
|
|
1394
1446
|
*
|
|
1447
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1395
1448
|
* @param GetManagedDatabaseGroupRequest
|
|
1396
1449
|
* @return GetManagedDatabaseGroupResponse
|
|
1397
1450
|
* @throws OciError when an error occurs
|
|
1398
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetManagedDatabaseGroup.ts.html |here} to see how to use GetManagedDatabaseGroup API.
|
|
1399
1452
|
*/
|
|
1400
1453
|
getManagedDatabaseGroup(getManagedDatabaseGroupRequest) {
|
|
1401
1454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1409,7 +1462,8 @@ class DbManagementClient {
|
|
|
1409
1462
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1410
1463
|
"opc-request-id": getManagedDatabaseGroupRequest.opcRequestId
|
|
1411
1464
|
};
|
|
1412
|
-
const
|
|
1465
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1466
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagedDatabaseGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
1413
1467
|
if (this.logger)
|
|
1414
1468
|
retrier.logger = this.logger;
|
|
1415
1469
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1454,10 +1508,11 @@ class DbManagementClient {
|
|
|
1454
1508
|
* for each Pdb under specified Container database in same compartment as container database.
|
|
1455
1509
|
* If comparmentId is provided then for each Pdb under specified compartmentId.
|
|
1456
1510
|
*
|
|
1511
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1457
1512
|
* @param GetPdbMetricsRequest
|
|
1458
1513
|
* @return GetPdbMetricsResponse
|
|
1459
1514
|
* @throws OciError when an error occurs
|
|
1460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetPdbMetrics.ts.html |here} to see how to use GetPdbMetrics API.
|
|
1461
1516
|
*/
|
|
1462
1517
|
getPdbMetrics(getPdbMetricsRequest) {
|
|
1463
1518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1477,7 +1532,8 @@ class DbManagementClient {
|
|
|
1477
1532
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1478
1533
|
"opc-request-id": getPdbMetricsRequest.opcRequestId
|
|
1479
1534
|
};
|
|
1480
|
-
const
|
|
1535
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1536
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPdbMetricsRequest.retryConfiguration, specRetryConfiguration);
|
|
1481
1537
|
if (this.logger)
|
|
1482
1538
|
retrier.logger = this.logger;
|
|
1483
1539
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1514,10 +1570,11 @@ class DbManagementClient {
|
|
|
1514
1570
|
}
|
|
1515
1571
|
/**
|
|
1516
1572
|
* Gets information of the work request with the given Work Request Id.
|
|
1573
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1517
1574
|
* @param GetWorkRequestRequest
|
|
1518
1575
|
* @return GetWorkRequestResponse
|
|
1519
1576
|
* @throws OciError when an error occurs
|
|
1520
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1577
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1521
1578
|
*/
|
|
1522
1579
|
getWorkRequest(getWorkRequestRequest) {
|
|
1523
1580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1531,7 +1588,8 @@ class DbManagementClient {
|
|
|
1531
1588
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1532
1589
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1533
1590
|
};
|
|
1534
|
-
const
|
|
1591
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1592
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1535
1593
|
if (this.logger)
|
|
1536
1594
|
retrier.logger = this.logger;
|
|
1537
1595
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1573,10 +1631,11 @@ class DbManagementClient {
|
|
|
1573
1631
|
}
|
|
1574
1632
|
/**
|
|
1575
1633
|
* Gets the list of Databases using the specified Database Management private endpoint.
|
|
1634
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1576
1635
|
* @param ListAssociatedDatabasesRequest
|
|
1577
1636
|
* @return ListAssociatedDatabasesResponse
|
|
1578
1637
|
* @throws OciError when an error occurs
|
|
1579
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1638
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListAssociatedDatabases.ts.html |here} to see how to use ListAssociatedDatabases API.
|
|
1580
1639
|
*/
|
|
1581
1640
|
listAssociatedDatabases(listAssociatedDatabasesRequest) {
|
|
1582
1641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1596,7 +1655,8 @@ class DbManagementClient {
|
|
|
1596
1655
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1597
1656
|
"opc-request-id": listAssociatedDatabasesRequest.opcRequestId
|
|
1598
1657
|
};
|
|
1599
|
-
const
|
|
1658
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1659
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssociatedDatabasesRequest.retryConfiguration, specRetryConfiguration);
|
|
1600
1660
|
if (this.logger)
|
|
1601
1661
|
retrier.logger = this.logger;
|
|
1602
1662
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1639,10 +1699,11 @@ class DbManagementClient {
|
|
|
1639
1699
|
/**
|
|
1640
1700
|
* Lists AWR snapshots for the specified database in the AWR.
|
|
1641
1701
|
*
|
|
1702
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1642
1703
|
* @param ListAwrDbSnapshotsRequest
|
|
1643
1704
|
* @return ListAwrDbSnapshotsResponse
|
|
1644
1705
|
* @throws OciError when an error occurs
|
|
1645
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1706
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListAwrDbSnapshots.ts.html |here} to see how to use ListAwrDbSnapshots API.
|
|
1646
1707
|
*/
|
|
1647
1708
|
listAwrDbSnapshots(listAwrDbSnapshotsRequest) {
|
|
1648
1709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1669,7 +1730,8 @@ class DbManagementClient {
|
|
|
1669
1730
|
"opc-request-id": listAwrDbSnapshotsRequest.opcRequestId,
|
|
1670
1731
|
"opc-retry-token": listAwrDbSnapshotsRequest.opcRetryToken
|
|
1671
1732
|
};
|
|
1672
|
-
const
|
|
1733
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1734
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAwrDbSnapshotsRequest.retryConfiguration, specRetryConfiguration);
|
|
1673
1735
|
if (this.logger)
|
|
1674
1736
|
retrier.logger = this.logger;
|
|
1675
1737
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1712,10 +1774,11 @@ class DbManagementClient {
|
|
|
1712
1774
|
/**
|
|
1713
1775
|
* Gets the list of databases and their snapshot summary details available in the AWR of the specified Managed Database.
|
|
1714
1776
|
*
|
|
1777
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1715
1778
|
* @param ListAwrDbsRequest
|
|
1716
1779
|
* @return ListAwrDbsResponse
|
|
1717
1780
|
* @throws OciError when an error occurs
|
|
1718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1781
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListAwrDbs.ts.html |here} to see how to use ListAwrDbs API.
|
|
1719
1782
|
*/
|
|
1720
1783
|
listAwrDbs(listAwrDbsRequest) {
|
|
1721
1784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1738,7 +1801,8 @@ class DbManagementClient {
|
|
|
1738
1801
|
"opc-request-id": listAwrDbsRequest.opcRequestId,
|
|
1739
1802
|
"opc-retry-token": listAwrDbsRequest.opcRetryToken
|
|
1740
1803
|
};
|
|
1741
|
-
const
|
|
1804
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1805
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAwrDbsRequest.retryConfiguration, specRetryConfiguration);
|
|
1742
1806
|
if (this.logger)
|
|
1743
1807
|
retrier.logger = this.logger;
|
|
1744
1808
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1781,10 +1845,11 @@ class DbManagementClient {
|
|
|
1781
1845
|
/**
|
|
1782
1846
|
* Gets the list of database parameters for the specified Managed Database. The parameters are listed in alphabetical order, along with their current values.
|
|
1783
1847
|
*
|
|
1848
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1784
1849
|
* @param ListDatabaseParametersRequest
|
|
1785
1850
|
* @return ListDatabaseParametersResponse
|
|
1786
1851
|
* @throws OciError when an error occurs
|
|
1787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListDatabaseParameters.ts.html |here} to see how to use ListDatabaseParameters API.
|
|
1788
1853
|
*/
|
|
1789
1854
|
listDatabaseParameters(listDatabaseParametersRequest) {
|
|
1790
1855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1804,7 +1869,8 @@ class DbManagementClient {
|
|
|
1804
1869
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1805
1870
|
"opc-request-id": listDatabaseParametersRequest.opcRequestId
|
|
1806
1871
|
};
|
|
1807
|
-
const
|
|
1872
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1873
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
1808
1874
|
if (this.logger)
|
|
1809
1875
|
retrier.logger = this.logger;
|
|
1810
1876
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1842,10 +1908,11 @@ class DbManagementClient {
|
|
|
1842
1908
|
/**
|
|
1843
1909
|
* Gets a list of Database Management private endpoints.
|
|
1844
1910
|
*
|
|
1911
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1845
1912
|
* @param ListDbManagementPrivateEndpointsRequest
|
|
1846
1913
|
* @return ListDbManagementPrivateEndpointsResponse
|
|
1847
1914
|
* @throws OciError when an error occurs
|
|
1848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListDbManagementPrivateEndpoints.ts.html |here} to see how to use ListDbManagementPrivateEndpoints API.
|
|
1849
1916
|
*/
|
|
1850
1917
|
listDbManagementPrivateEndpoints(listDbManagementPrivateEndpointsRequest) {
|
|
1851
1918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1866,7 +1933,8 @@ class DbManagementClient {
|
|
|
1866
1933
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1867
1934
|
"opc-request-id": listDbManagementPrivateEndpointsRequest.opcRequestId
|
|
1868
1935
|
};
|
|
1869
|
-
const
|
|
1936
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1937
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbManagementPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
1870
1938
|
if (this.logger)
|
|
1871
1939
|
retrier.logger = this.logger;
|
|
1872
1940
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1912,10 +1980,11 @@ class DbManagementClient {
|
|
|
1912
1980
|
* If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered
|
|
1913
1981
|
* based on the name and status parameters.
|
|
1914
1982
|
*
|
|
1983
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1915
1984
|
* @param ListJobExecutionsRequest
|
|
1916
1985
|
* @return ListJobExecutionsResponse
|
|
1917
1986
|
* @throws OciError when an error occurs
|
|
1918
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListJobExecutions.ts.html |here} to see how to use ListJobExecutions API.
|
|
1919
1988
|
*/
|
|
1920
1989
|
listJobExecutions(listJobExecutionsRequest) {
|
|
1921
1990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1940,7 +2009,8 @@ class DbManagementClient {
|
|
|
1940
2009
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1941
2010
|
"opc-request-id": listJobExecutionsRequest.opcRequestId
|
|
1942
2011
|
};
|
|
1943
|
-
const
|
|
2012
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2013
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobExecutionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1944
2014
|
if (this.logger)
|
|
1945
2015
|
retrier.logger = this.logger;
|
|
1946
2016
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1986,10 +2056,11 @@ class DbManagementClient {
|
|
|
1986
2056
|
* should be provided. If none of these parameters is provided, all the job runs in the compartment are listed.
|
|
1987
2057
|
* Job runs can also be filtered based on name and runStatus parameters.
|
|
1988
2058
|
*
|
|
2059
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1989
2060
|
* @param ListJobRunsRequest
|
|
1990
2061
|
* @return ListJobRunsResponse
|
|
1991
2062
|
* @throws OciError when an error occurs
|
|
1992
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2063
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
|
|
1993
2064
|
*/
|
|
1994
2065
|
listJobRuns(listJobRunsRequest) {
|
|
1995
2066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2013,7 +2084,8 @@ class DbManagementClient {
|
|
|
2013
2084
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2014
2085
|
"opc-request-id": listJobRunsRequest.opcRequestId
|
|
2015
2086
|
};
|
|
2016
|
-
const
|
|
2087
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2088
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
2017
2089
|
if (this.logger)
|
|
2018
2090
|
retrier.logger = this.logger;
|
|
2019
2091
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2059,10 +2131,11 @@ class DbManagementClient {
|
|
|
2059
2131
|
* should be provided. If none of these parameters is provided, all the jobs in the compartment are listed.
|
|
2060
2132
|
* Jobs can also be filtered based on the name and lifecycleState parameters.
|
|
2061
2133
|
*
|
|
2134
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2062
2135
|
* @param ListJobsRequest
|
|
2063
2136
|
* @return ListJobsResponse
|
|
2064
2137
|
* @throws OciError when an error occurs
|
|
2065
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
2066
2139
|
*/
|
|
2067
2140
|
listJobs(listJobsRequest) {
|
|
2068
2141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2085,7 +2158,8 @@ class DbManagementClient {
|
|
|
2085
2158
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2086
2159
|
"opc-request-id": listJobsRequest.opcRequestId
|
|
2087
2160
|
};
|
|
2088
|
-
const
|
|
2161
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2162
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
2089
2163
|
if (this.logger)
|
|
2090
2164
|
retrier.logger = this.logger;
|
|
2091
2165
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2131,10 +2205,11 @@ class DbManagementClient {
|
|
|
2131
2205
|
* Only one of the parameters, ID or name should be provided. If none of these parameters is provided,
|
|
2132
2206
|
* all the Managed Database Groups in the compartment are listed.
|
|
2133
2207
|
*
|
|
2208
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2134
2209
|
* @param ListManagedDatabaseGroupsRequest
|
|
2135
2210
|
* @return ListManagedDatabaseGroupsResponse
|
|
2136
2211
|
* @throws OciError when an error occurs
|
|
2137
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2212
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListManagedDatabaseGroups.ts.html |here} to see how to use ListManagedDatabaseGroups API.
|
|
2138
2213
|
*/
|
|
2139
2214
|
listManagedDatabaseGroups(listManagedDatabaseGroupsRequest) {
|
|
2140
2215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2155,7 +2230,8 @@ class DbManagementClient {
|
|
|
2155
2230
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2156
2231
|
"opc-request-id": listManagedDatabaseGroupsRequest.opcRequestId
|
|
2157
2232
|
};
|
|
2158
|
-
const
|
|
2233
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2234
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagedDatabaseGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
2159
2235
|
if (this.logger)
|
|
2160
2236
|
retrier.logger = this.logger;
|
|
2161
2237
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2203,10 +2279,11 @@ class DbManagementClient {
|
|
|
2203
2279
|
* If the deployment type is not specified or if it is `ONPREMISE`, then the management option is not
|
|
2204
2280
|
* considered and Managed Databases with `ADVANCED` management option are listed.
|
|
2205
2281
|
*
|
|
2282
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2206
2283
|
* @param ListManagedDatabasesRequest
|
|
2207
2284
|
* @return ListManagedDatabasesResponse
|
|
2208
2285
|
* @throws OciError when an error occurs
|
|
2209
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListManagedDatabases.ts.html |here} to see how to use ListManagedDatabases API.
|
|
2210
2287
|
*/
|
|
2211
2288
|
listManagedDatabases(listManagedDatabasesRequest) {
|
|
2212
2289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2228,7 +2305,8 @@ class DbManagementClient {
|
|
|
2228
2305
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2229
2306
|
"opc-request-id": listManagedDatabasesRequest.opcRequestId
|
|
2230
2307
|
};
|
|
2231
|
-
const
|
|
2308
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2309
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagedDatabasesRequest.retryConfiguration, specRetryConfiguration);
|
|
2232
2310
|
if (this.logger)
|
|
2233
2311
|
retrier.logger = this.logger;
|
|
2234
2312
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2270,10 +2348,11 @@ class DbManagementClient {
|
|
|
2270
2348
|
}
|
|
2271
2349
|
/**
|
|
2272
2350
|
* Gets the list of tablespaces for the specified managedDatabaseId.
|
|
2351
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2273
2352
|
* @param ListTablespacesRequest
|
|
2274
2353
|
* @return ListTablespacesResponse
|
|
2275
2354
|
* @throws OciError when an error occurs
|
|
2276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2355
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListTablespaces.ts.html |here} to see how to use ListTablespaces API.
|
|
2277
2356
|
*/
|
|
2278
2357
|
listTablespaces(listTablespacesRequest) {
|
|
2279
2358
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2293,7 +2372,8 @@ class DbManagementClient {
|
|
|
2293
2372
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2294
2373
|
"opc-request-id": listTablespacesRequest.opcRequestId
|
|
2295
2374
|
};
|
|
2296
|
-
const
|
|
2375
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2376
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTablespacesRequest.retryConfiguration, specRetryConfiguration);
|
|
2297
2377
|
if (this.logger)
|
|
2298
2378
|
retrier.logger = this.logger;
|
|
2299
2379
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2336,10 +2416,11 @@ class DbManagementClient {
|
|
|
2336
2416
|
/**
|
|
2337
2417
|
* Returns a (paginated) list of errors for a given work request.
|
|
2338
2418
|
*
|
|
2419
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2339
2420
|
* @param ListWorkRequestErrorsRequest
|
|
2340
2421
|
* @return ListWorkRequestErrorsResponse
|
|
2341
2422
|
* @throws OciError when an error occurs
|
|
2342
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2343
2424
|
*/
|
|
2344
2425
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2345
2426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2358,7 +2439,8 @@ class DbManagementClient {
|
|
|
2358
2439
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2359
2440
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
2360
2441
|
};
|
|
2361
|
-
const
|
|
2442
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2443
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2362
2444
|
if (this.logger)
|
|
2363
2445
|
retrier.logger = this.logger;
|
|
2364
2446
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2401,10 +2483,11 @@ class DbManagementClient {
|
|
|
2401
2483
|
/**
|
|
2402
2484
|
* Returns a (paginated) list of logs for a given work request.
|
|
2403
2485
|
*
|
|
2486
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2404
2487
|
* @param ListWorkRequestLogsRequest
|
|
2405
2488
|
* @return ListWorkRequestLogsResponse
|
|
2406
2489
|
* @throws OciError when an error occurs
|
|
2407
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2408
2491
|
*/
|
|
2409
2492
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2410
2493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2423,7 +2506,8 @@ class DbManagementClient {
|
|
|
2423
2506
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2424
2507
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
2425
2508
|
};
|
|
2426
|
-
const
|
|
2509
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2510
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2427
2511
|
if (this.logger)
|
|
2428
2512
|
retrier.logger = this.logger;
|
|
2429
2513
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2466,10 +2550,11 @@ class DbManagementClient {
|
|
|
2466
2550
|
/**
|
|
2467
2551
|
* Lists all the work requests in the specified compartment.
|
|
2468
2552
|
*
|
|
2553
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2469
2554
|
* @param ListWorkRequestsRequest
|
|
2470
2555
|
* @return ListWorkRequestsResponse
|
|
2471
2556
|
* @throws OciError when an error occurs
|
|
2472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2473
2558
|
*/
|
|
2474
2559
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2475
2560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2490,7 +2575,8 @@ class DbManagementClient {
|
|
|
2490
2575
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2491
2576
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
2492
2577
|
};
|
|
2493
|
-
const
|
|
2578
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2579
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2494
2580
|
if (this.logger)
|
|
2495
2581
|
retrier.logger = this.logger;
|
|
2496
2582
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2536,10 +2622,11 @@ class DbManagementClient {
|
|
|
2536
2622
|
* run to completion. However, any activities scheduled to run in the future
|
|
2537
2623
|
* will not be performed on this database.
|
|
2538
2624
|
*
|
|
2625
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2539
2626
|
* @param RemoveManagedDatabaseFromManagedDatabaseGroupRequest
|
|
2540
2627
|
* @return RemoveManagedDatabaseFromManagedDatabaseGroupResponse
|
|
2541
2628
|
* @throws OciError when an error occurs
|
|
2542
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.ts.html |here} to see how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.
|
|
2543
2630
|
*/
|
|
2544
2631
|
removeManagedDatabaseFromManagedDatabaseGroup(removeManagedDatabaseFromManagedDatabaseGroupRequest) {
|
|
2545
2632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2554,7 +2641,8 @@ class DbManagementClient {
|
|
|
2554
2641
|
"opc-request-id": removeManagedDatabaseFromManagedDatabaseGroupRequest.opcRequestId,
|
|
2555
2642
|
"opc-retry-token": removeManagedDatabaseFromManagedDatabaseGroupRequest.opcRetryToken
|
|
2556
2643
|
};
|
|
2557
|
-
const
|
|
2644
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2645
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeManagedDatabaseFromManagedDatabaseGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
2558
2646
|
if (this.logger)
|
|
2559
2647
|
retrier.logger = this.logger;
|
|
2560
2648
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2589,10 +2677,11 @@ class DbManagementClient {
|
|
|
2589
2677
|
/**
|
|
2590
2678
|
* Resets database parameter values to their default or startup values.
|
|
2591
2679
|
*
|
|
2680
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2592
2681
|
* @param ResetDatabaseParametersRequest
|
|
2593
2682
|
* @return ResetDatabaseParametersResponse
|
|
2594
2683
|
* @throws OciError when an error occurs
|
|
2595
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2684
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/ResetDatabaseParameters.ts.html |here} to see how to use ResetDatabaseParameters API.
|
|
2596
2685
|
*/
|
|
2597
2686
|
resetDatabaseParameters(resetDatabaseParametersRequest) {
|
|
2598
2687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2607,7 +2696,8 @@ class DbManagementClient {
|
|
|
2607
2696
|
"opc-request-id": resetDatabaseParametersRequest.opcRequestId,
|
|
2608
2697
|
"opc-retry-token": resetDatabaseParametersRequest.opcRetryToken
|
|
2609
2698
|
};
|
|
2610
|
-
const
|
|
2699
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2700
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetDatabaseParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
2611
2701
|
if (this.logger)
|
|
2612
2702
|
retrier.logger = this.logger;
|
|
2613
2703
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2646,10 +2736,11 @@ class DbManagementClient {
|
|
|
2646
2736
|
/**
|
|
2647
2737
|
* Summarizes the AWR CPU resource limits and metrics for the specified database in AWR.
|
|
2648
2738
|
*
|
|
2739
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2649
2740
|
* @param SummarizeAwrDbCpuUsagesRequest
|
|
2650
2741
|
* @return SummarizeAwrDbCpuUsagesResponse
|
|
2651
2742
|
* @throws OciError when an error occurs
|
|
2652
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbCpuUsages.ts.html |here} to see how to use SummarizeAwrDbCpuUsages API.
|
|
2653
2744
|
*/
|
|
2654
2745
|
summarizeAwrDbCpuUsages(summarizeAwrDbCpuUsagesRequest) {
|
|
2655
2746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2677,7 +2768,8 @@ class DbManagementClient {
|
|
|
2677
2768
|
"opc-request-id": summarizeAwrDbCpuUsagesRequest.opcRequestId,
|
|
2678
2769
|
"opc-retry-token": summarizeAwrDbCpuUsagesRequest.opcRetryToken
|
|
2679
2770
|
};
|
|
2680
|
-
const
|
|
2771
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2772
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbCpuUsagesRequest.retryConfiguration, specRetryConfiguration);
|
|
2681
2773
|
if (this.logger)
|
|
2682
2774
|
retrier.logger = this.logger;
|
|
2683
2775
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2720,10 +2812,11 @@ class DbManagementClient {
|
|
|
2720
2812
|
/**
|
|
2721
2813
|
* Summarizes the metric samples for the specified database in the AWR. The metric samples are summarized based on the Time dimension for each metric.
|
|
2722
2814
|
*
|
|
2815
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2723
2816
|
* @param SummarizeAwrDbMetricsRequest
|
|
2724
2817
|
* @return SummarizeAwrDbMetricsResponse
|
|
2725
2818
|
* @throws OciError when an error occurs
|
|
2726
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbMetrics.ts.html |here} to see how to use SummarizeAwrDbMetrics API.
|
|
2727
2820
|
*/
|
|
2728
2821
|
summarizeAwrDbMetrics(summarizeAwrDbMetricsRequest) {
|
|
2729
2822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2751,7 +2844,8 @@ class DbManagementClient {
|
|
|
2751
2844
|
"opc-request-id": summarizeAwrDbMetricsRequest.opcRequestId,
|
|
2752
2845
|
"opc-retry-token": summarizeAwrDbMetricsRequest.opcRetryToken
|
|
2753
2846
|
};
|
|
2754
|
-
const
|
|
2847
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2848
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbMetricsRequest.retryConfiguration, specRetryConfiguration);
|
|
2755
2849
|
if (this.logger)
|
|
2756
2850
|
retrier.logger = this.logger;
|
|
2757
2851
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2798,10 +2892,11 @@ class DbManagementClient {
|
|
|
2798
2892
|
* To get a list of all the database parameters whose values were changed during a specified time range, use the following API endpoint:
|
|
2799
2893
|
* /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameters
|
|
2800
2894
|
*
|
|
2895
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2801
2896
|
* @param SummarizeAwrDbParameterChangesRequest
|
|
2802
2897
|
* @return SummarizeAwrDbParameterChangesResponse
|
|
2803
2898
|
* @throws OciError when an error occurs
|
|
2804
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbParameterChanges.ts.html |here} to see how to use SummarizeAwrDbParameterChanges API.
|
|
2805
2900
|
*/
|
|
2806
2901
|
summarizeAwrDbParameterChanges(summarizeAwrDbParameterChangesRequest) {
|
|
2807
2902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2829,7 +2924,8 @@ class DbManagementClient {
|
|
|
2829
2924
|
"opc-request-id": summarizeAwrDbParameterChangesRequest.opcRequestId,
|
|
2830
2925
|
"opc-retry-token": summarizeAwrDbParameterChangesRequest.opcRetryToken
|
|
2831
2926
|
};
|
|
2832
|
-
const
|
|
2927
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2928
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbParameterChangesRequest.retryConfiguration, specRetryConfiguration);
|
|
2833
2929
|
if (this.logger)
|
|
2834
2930
|
retrier.logger = this.logger;
|
|
2835
2931
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2882,10 +2978,11 @@ class DbManagementClient {
|
|
|
2882
2978
|
Note that this API does not return information on the number of times each database parameter has been changed within the time range. To get the database parameter value change history for a specific parameter, use the following API endpoint:
|
|
2883
2979
|
* /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameterChanges
|
|
2884
2980
|
*
|
|
2981
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2885
2982
|
* @param SummarizeAwrDbParametersRequest
|
|
2886
2983
|
* @return SummarizeAwrDbParametersResponse
|
|
2887
2984
|
* @throws OciError when an error occurs
|
|
2888
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2985
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbParameters.ts.html |here} to see how to use SummarizeAwrDbParameters API.
|
|
2889
2986
|
*/
|
|
2890
2987
|
summarizeAwrDbParameters(summarizeAwrDbParametersRequest) {
|
|
2891
2988
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2917,7 +3014,8 @@ class DbManagementClient {
|
|
|
2917
3014
|
"opc-request-id": summarizeAwrDbParametersRequest.opcRequestId,
|
|
2918
3015
|
"opc-retry-token": summarizeAwrDbParametersRequest.opcRetryToken
|
|
2919
3016
|
};
|
|
2920
|
-
const
|
|
3017
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3018
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
2921
3019
|
if (this.logger)
|
|
2922
3020
|
retrier.logger = this.logger;
|
|
2923
3021
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2960,10 +3058,11 @@ class DbManagementClient {
|
|
|
2960
3058
|
/**
|
|
2961
3059
|
* Summarizes the AWR snapshot ranges that contain continuous snapshots, for the specified Managed Database.
|
|
2962
3060
|
*
|
|
3061
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2963
3062
|
* @param SummarizeAwrDbSnapshotRangesRequest
|
|
2964
3063
|
* @return SummarizeAwrDbSnapshotRangesResponse
|
|
2965
3064
|
* @throws OciError when an error occurs
|
|
2966
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3065
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbSnapshotRanges.ts.html |here} to see how to use SummarizeAwrDbSnapshotRanges API.
|
|
2967
3066
|
*/
|
|
2968
3067
|
summarizeAwrDbSnapshotRanges(summarizeAwrDbSnapshotRangesRequest) {
|
|
2969
3068
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2986,7 +3085,8 @@ class DbManagementClient {
|
|
|
2986
3085
|
"opc-request-id": summarizeAwrDbSnapshotRangesRequest.opcRequestId,
|
|
2987
3086
|
"opc-retry-token": summarizeAwrDbSnapshotRangesRequest.opcRetryToken
|
|
2988
3087
|
};
|
|
2989
|
-
const
|
|
3088
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3089
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbSnapshotRangesRequest.retryConfiguration, specRetryConfiguration);
|
|
2990
3090
|
if (this.logger)
|
|
2991
3091
|
retrier.logger = this.logger;
|
|
2992
3092
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3029,10 +3129,11 @@ class DbManagementClient {
|
|
|
3029
3129
|
/**
|
|
3030
3130
|
* Summarizes the AWR SYSSTAT sample data for the specified database in AWR. The statistical data is summarized based on the Time dimension for each statistic.
|
|
3031
3131
|
*
|
|
3132
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3032
3133
|
* @param SummarizeAwrDbSysstatsRequest
|
|
3033
3134
|
* @return SummarizeAwrDbSysstatsResponse
|
|
3034
3135
|
* @throws OciError when an error occurs
|
|
3035
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbSysstats.ts.html |here} to see how to use SummarizeAwrDbSysstats API.
|
|
3036
3137
|
*/
|
|
3037
3138
|
summarizeAwrDbSysstats(summarizeAwrDbSysstatsRequest) {
|
|
3038
3139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3060,7 +3161,8 @@ class DbManagementClient {
|
|
|
3060
3161
|
"opc-request-id": summarizeAwrDbSysstatsRequest.opcRequestId,
|
|
3061
3162
|
"opc-retry-token": summarizeAwrDbSysstatsRequest.opcRetryToken
|
|
3062
3163
|
};
|
|
3063
|
-
const
|
|
3164
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3165
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbSysstatsRequest.retryConfiguration, specRetryConfiguration);
|
|
3064
3166
|
if (this.logger)
|
|
3065
3167
|
retrier.logger = this.logger;
|
|
3066
3168
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3103,10 +3205,11 @@ class DbManagementClient {
|
|
|
3103
3205
|
/**
|
|
3104
3206
|
* Summarizes the AWR top wait events.
|
|
3105
3207
|
*
|
|
3208
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3106
3209
|
* @param SummarizeAwrDbTopWaitEventsRequest
|
|
3107
3210
|
* @return SummarizeAwrDbTopWaitEventsResponse
|
|
3108
3211
|
* @throws OciError when an error occurs
|
|
3109
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3212
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbTopWaitEvents.ts.html |here} to see how to use SummarizeAwrDbTopWaitEvents API.
|
|
3110
3213
|
*/
|
|
3111
3214
|
summarizeAwrDbTopWaitEvents(summarizeAwrDbTopWaitEventsRequest) {
|
|
3112
3215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3133,7 +3236,8 @@ class DbManagementClient {
|
|
|
3133
3236
|
"opc-request-id": summarizeAwrDbTopWaitEventsRequest.opcRequestId,
|
|
3134
3237
|
"opc-retry-token": summarizeAwrDbTopWaitEventsRequest.opcRetryToken
|
|
3135
3238
|
};
|
|
3136
|
-
const
|
|
3239
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3240
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbTopWaitEventsRequest.retryConfiguration, specRetryConfiguration);
|
|
3137
3241
|
if (this.logger)
|
|
3138
3242
|
retrier.logger = this.logger;
|
|
3139
3243
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3176,10 +3280,11 @@ class DbManagementClient {
|
|
|
3176
3280
|
/**
|
|
3177
3281
|
* Summarizes AWR wait event data into value buckets and frequency, for the specified database in the AWR.
|
|
3178
3282
|
*
|
|
3283
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3179
3284
|
* @param SummarizeAwrDbWaitEventBucketsRequest
|
|
3180
3285
|
* @return SummarizeAwrDbWaitEventBucketsResponse
|
|
3181
3286
|
* @throws OciError when an error occurs
|
|
3182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbWaitEventBuckets.ts.html |here} to see how to use SummarizeAwrDbWaitEventBuckets API.
|
|
3183
3288
|
*/
|
|
3184
3289
|
summarizeAwrDbWaitEventBuckets(summarizeAwrDbWaitEventBucketsRequest) {
|
|
3185
3290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3210,7 +3315,8 @@ class DbManagementClient {
|
|
|
3210
3315
|
"opc-request-id": summarizeAwrDbWaitEventBucketsRequest.opcRequestId,
|
|
3211
3316
|
"opc-retry-token": summarizeAwrDbWaitEventBucketsRequest.opcRetryToken
|
|
3212
3317
|
};
|
|
3213
|
-
const
|
|
3318
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3319
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbWaitEventBucketsRequest.retryConfiguration, specRetryConfiguration);
|
|
3214
3320
|
if (this.logger)
|
|
3215
3321
|
retrier.logger = this.logger;
|
|
3216
3322
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3253,10 +3359,11 @@ class DbManagementClient {
|
|
|
3253
3359
|
/**
|
|
3254
3360
|
* Summarizes the AWR wait event sample data for the specified database in the AWR. The event data is summarized based on the Time dimension for each event.
|
|
3255
3361
|
*
|
|
3362
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3256
3363
|
* @param SummarizeAwrDbWaitEventsRequest
|
|
3257
3364
|
* @return SummarizeAwrDbWaitEventsResponse
|
|
3258
3365
|
* @throws OciError when an error occurs
|
|
3259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3366
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeAwrDbWaitEvents.ts.html |here} to see how to use SummarizeAwrDbWaitEvents API.
|
|
3260
3367
|
*/
|
|
3261
3368
|
summarizeAwrDbWaitEvents(summarizeAwrDbWaitEventsRequest) {
|
|
3262
3369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3285,7 +3392,8 @@ class DbManagementClient {
|
|
|
3285
3392
|
"opc-request-id": summarizeAwrDbWaitEventsRequest.opcRequestId,
|
|
3286
3393
|
"opc-retry-token": summarizeAwrDbWaitEventsRequest.opcRetryToken
|
|
3287
3394
|
};
|
|
3288
|
-
const
|
|
3395
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3396
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrDbWaitEventsRequest.retryConfiguration, specRetryConfiguration);
|
|
3289
3397
|
if (this.logger)
|
|
3290
3398
|
retrier.logger = this.logger;
|
|
3291
3399
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3327,10 +3435,11 @@ class DbManagementClient {
|
|
|
3327
3435
|
}
|
|
3328
3436
|
/**
|
|
3329
3437
|
* Gets the number of job executions grouped by status for a job, Managed Database, or Database Group in a specific compartment. Only one of the parameters, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided.
|
|
3438
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3330
3439
|
* @param SummarizeJobExecutionsStatusesRequest
|
|
3331
3440
|
* @return SummarizeJobExecutionsStatusesResponse
|
|
3332
3441
|
* @throws OciError when an error occurs
|
|
3333
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3442
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/SummarizeJobExecutionsStatuses.ts.html |here} to see how to use SummarizeJobExecutionsStatuses API.
|
|
3334
3443
|
*/
|
|
3335
3444
|
summarizeJobExecutionsStatuses(summarizeJobExecutionsStatusesRequest) {
|
|
3336
3445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3352,7 +3461,8 @@ class DbManagementClient {
|
|
|
3352
3461
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3353
3462
|
"opc-request-id": summarizeJobExecutionsStatusesRequest.opcRequestId
|
|
3354
3463
|
};
|
|
3355
|
-
const
|
|
3464
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3465
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJobExecutionsStatusesRequest.retryConfiguration, specRetryConfiguration);
|
|
3356
3466
|
if (this.logger)
|
|
3357
3467
|
retrier.logger = this.logger;
|
|
3358
3468
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3389,10 +3499,11 @@ class DbManagementClient {
|
|
|
3389
3499
|
}
|
|
3390
3500
|
/**
|
|
3391
3501
|
* Updates one or more attributes of the specified Database Management private endpoint.
|
|
3502
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3392
3503
|
* @param UpdateDbManagementPrivateEndpointRequest
|
|
3393
3504
|
* @return UpdateDbManagementPrivateEndpointResponse
|
|
3394
3505
|
* @throws OciError when an error occurs
|
|
3395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/UpdateDbManagementPrivateEndpoint.ts.html |here} to see how to use UpdateDbManagementPrivateEndpoint API.
|
|
3396
3507
|
*/
|
|
3397
3508
|
updateDbManagementPrivateEndpoint(updateDbManagementPrivateEndpointRequest) {
|
|
3398
3509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3407,7 +3518,8 @@ class DbManagementClient {
|
|
|
3407
3518
|
"opc-request-id": updateDbManagementPrivateEndpointRequest.opcRequestId,
|
|
3408
3519
|
"if-match": updateDbManagementPrivateEndpointRequest.ifMatch
|
|
3409
3520
|
};
|
|
3410
|
-
const
|
|
3521
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3522
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbManagementPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3411
3523
|
if (this.logger)
|
|
3412
3524
|
retrier.logger = this.logger;
|
|
3413
3525
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3451,10 +3563,11 @@ class DbManagementClient {
|
|
|
3451
3563
|
/**
|
|
3452
3564
|
* Updates the details for the recurring scheduled job specified by jobId. Note that non-recurring (one time) jobs cannot be updated.
|
|
3453
3565
|
*
|
|
3566
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3454
3567
|
* @param UpdateJobRequest
|
|
3455
3568
|
* @return UpdateJobResponse
|
|
3456
3569
|
* @throws OciError when an error occurs
|
|
3457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
3458
3571
|
*/
|
|
3459
3572
|
updateJob(updateJobRequest) {
|
|
3460
3573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3469,7 +3582,8 @@ class DbManagementClient {
|
|
|
3469
3582
|
"opc-request-id": updateJobRequest.opcRequestId,
|
|
3470
3583
|
"if-match": updateJobRequest.ifMatch
|
|
3471
3584
|
};
|
|
3472
|
-
const
|
|
3585
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3586
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJobRequest.retryConfiguration, specRetryConfiguration);
|
|
3473
3587
|
if (this.logger)
|
|
3474
3588
|
retrier.logger = this.logger;
|
|
3475
3589
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3513,10 +3627,11 @@ class DbManagementClient {
|
|
|
3513
3627
|
/**
|
|
3514
3628
|
* Updates the Managed Database Group specified by managedDatabaseGroupId.
|
|
3515
3629
|
*
|
|
3630
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3516
3631
|
* @param UpdateManagedDatabaseGroupRequest
|
|
3517
3632
|
* @return UpdateManagedDatabaseGroupResponse
|
|
3518
3633
|
* @throws OciError when an error occurs
|
|
3519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3634
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/databasemanagement/UpdateManagedDatabaseGroup.ts.html |here} to see how to use UpdateManagedDatabaseGroup API.
|
|
3520
3635
|
*/
|
|
3521
3636
|
updateManagedDatabaseGroup(updateManagedDatabaseGroupRequest) {
|
|
3522
3637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3531,7 +3646,8 @@ class DbManagementClient {
|
|
|
3531
3646
|
"if-match": updateManagedDatabaseGroupRequest.ifMatch,
|
|
3532
3647
|
"opc-request-id": updateManagedDatabaseGroupRequest.opcRequestId
|
|
3533
3648
|
};
|
|
3534
|
-
const
|
|
3649
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3650
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagedDatabaseGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
3535
3651
|
if (this.logger)
|
|
3536
3652
|
retrier.logger = this.logger;
|
|
3537
3653
|
const request = yield oci_common_1.composeRequest({
|