oci-database 2.108.0 → 2.109.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +42 -0
- package/lib/client.js +162 -28
- package/lib/client.js.map +1 -1
- package/lib/model/autonomous-db-version-summary.d.ts +4 -0
- package/lib/model/autonomous-db-version-summary.js.map +1 -1
- package/lib/model/backup-summary.d.ts +2 -1
- package/lib/model/backup-summary.js.map +1 -1
- package/lib/model/backup.d.ts +2 -1
- package/lib/model/backup.js.map +1 -1
- package/lib/model/create-external-backup-job-details.d.ts +2 -2
- package/lib/model/db-system-summary.d.ts +2 -1
- package/lib/model/db-system-summary.js.map +1 -1
- package/lib/model/db-system-upgrade-summary.d.ts +45 -0
- package/lib/model/db-system-upgrade-summary.js +41 -0
- package/lib/model/db-system-upgrade-summary.js.map +1 -0
- package/lib/model/db-system.d.ts +2 -1
- package/lib/model/db-system.js.map +1 -1
- package/lib/model/external-container-database-summary.d.ts +2 -1
- package/lib/model/external-container-database-summary.js.map +1 -1
- package/lib/model/external-container-database.d.ts +2 -1
- package/lib/model/external-container-database.js.map +1 -1
- package/lib/model/external-database-base.d.ts +2 -1
- package/lib/model/external-database-base.js.map +1 -1
- package/lib/model/external-non-container-database-summary.d.ts +2 -1
- package/lib/model/external-non-container-database-summary.js.map +1 -1
- package/lib/model/external-non-container-database.d.ts +2 -1
- package/lib/model/external-non-container-database.js.map +1 -1
- package/lib/model/external-pluggable-database-summary.d.ts +2 -1
- package/lib/model/external-pluggable-database-summary.js.map +1 -1
- package/lib/model/external-pluggable-database.d.ts +2 -1
- package/lib/model/external-pluggable-database.js.map +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +8 -6
- package/lib/model/index.js.map +1 -1
- package/lib/request/autonomous-database-manual-refresh-request.d.ts +6 -0
- package/lib/request/change-autonomous-database-compartment-request.d.ts +6 -0
- package/lib/request/change-autonomous-database-subscription-request.d.ts +6 -0
- package/lib/request/change-disaster-recovery-configuration-request.d.ts +6 -0
- package/lib/request/configure-autonomous-database-vault-key-request.d.ts +6 -0
- package/lib/request/configure-saas-admin-user-request.d.ts +6 -0
- package/lib/request/create-autonomous-database-backup-request.d.ts +6 -0
- package/lib/request/create-autonomous-database-request.d.ts +6 -0
- package/lib/request/delete-autonomous-database-backup-request.d.ts +6 -0
- package/lib/request/delete-autonomous-database-request.d.ts +6 -0
- package/lib/request/deregister-autonomous-database-data-safe-request.d.ts +6 -0
- package/lib/request/disable-autonomous-database-management-request.d.ts +6 -0
- package/lib/request/disable-autonomous-database-operations-insights-request.d.ts +6 -0
- package/lib/request/enable-autonomous-database-management-request.d.ts +6 -0
- package/lib/request/enable-autonomous-database-operations-insights-request.d.ts +6 -0
- package/lib/request/fail-over-autonomous-database-request.d.ts +6 -0
- package/lib/request/generate-autonomous-database-wallet-request.d.ts +6 -0
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-db-system-upgrades-request.d.ts +30 -0
- package/lib/request/list-db-system-upgrades-request.js +15 -0
- package/lib/request/list-db-system-upgrades-request.js.map +1 -0
- package/lib/request/register-autonomous-database-data-safe-request.d.ts +6 -0
- package/lib/request/restart-autonomous-database-request.d.ts +6 -0
- package/lib/request/restore-autonomous-database-request.d.ts +6 -0
- package/lib/request/shrink-autonomous-database-request.d.ts +6 -0
- package/lib/request/start-autonomous-database-request.d.ts +6 -0
- package/lib/request/stop-autonomous-database-request.d.ts +6 -0
- package/lib/request/switchover-autonomous-database-request.d.ts +6 -0
- package/lib/request/update-autonomous-database-backup-request.d.ts +6 -0
- package/lib/request/update-autonomous-database-regional-wallet-request.d.ts +6 -0
- package/lib/request/update-autonomous-database-request.d.ts +6 -0
- package/lib/request/update-autonomous-database-wallet-request.d.ts +6 -0
- package/lib/response/index.d.ts +2 -0
- package/lib/response/list-db-system-upgrades-response.d.ts +33 -0
- package/lib/response/list-db-system-upgrades-response.js +15 -0
- package/lib/response/list-db-system-upgrades-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -4193,6 +4193,48 @@ export declare class DatabaseClient {
|
|
|
4193
4193
|
* @param request a request which can be sent to the service operation
|
|
4194
4194
|
*/
|
|
4195
4195
|
listDbSystemUpgradeHistoryEntriesResponseIterator(request: requests.ListDbSystemUpgradeHistoryEntriesRequest): AsyncIterableIterator<responses.ListDbSystemUpgradeHistoryEntriesResponse>;
|
|
4196
|
+
/**
|
|
4197
|
+
* Lists the applicable upgrade components for a DB systems.
|
|
4198
|
+
*
|
|
4199
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4200
|
+
* @param ListDbSystemUpgradesRequest
|
|
4201
|
+
* @return ListDbSystemUpgradesResponse
|
|
4202
|
+
* @throws OciError when an error occurs
|
|
4203
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbSystemUpgrades.ts.html |here} to see how to use ListDbSystemUpgrades API.
|
|
4204
|
+
*/
|
|
4205
|
+
listDbSystemUpgrades(listDbSystemUpgradesRequest: requests.ListDbSystemUpgradesRequest): Promise<responses.ListDbSystemUpgradesResponse>;
|
|
4206
|
+
/**
|
|
4207
|
+
* NOTE: This function is deprecated in favor of listDbSystemUpgradesRecordIterator function.
|
|
4208
|
+
* Creates a new async iterator which will iterate over the models.DbSystemUpgradeSummary objects
|
|
4209
|
+
* contained in responses from the listDbSystemUpgrades operation. This iterator will fetch more data from the
|
|
4210
|
+
* server as needed.
|
|
4211
|
+
*
|
|
4212
|
+
* @param request a request which can be sent to the service operation
|
|
4213
|
+
*/
|
|
4214
|
+
listAllDbSystemUpgrades(request: requests.ListDbSystemUpgradesRequest): AsyncIterableIterator<model.DbSystemUpgradeSummary>;
|
|
4215
|
+
/**
|
|
4216
|
+
* NOTE: This function is deprecated in favor of listDbSystemUpgradesResponseIterator function.
|
|
4217
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbSystemUpgrades operation. This iterator
|
|
4218
|
+
* will fetch more data from the server as needed.
|
|
4219
|
+
*
|
|
4220
|
+
* @param request a request which can be sent to the service operation
|
|
4221
|
+
*/
|
|
4222
|
+
listAllDbSystemUpgradesResponses(request: requests.ListDbSystemUpgradesRequest): AsyncIterableIterator<responses.ListDbSystemUpgradesResponse>;
|
|
4223
|
+
/**
|
|
4224
|
+
* Creates a new async iterator which will iterate over the models.DbSystemUpgradeSummary objects
|
|
4225
|
+
* contained in responses from the listDbSystemUpgrades operation. This iterator will fetch more data from the
|
|
4226
|
+
* server as needed.
|
|
4227
|
+
*
|
|
4228
|
+
* @param request a request which can be sent to the service operation
|
|
4229
|
+
*/
|
|
4230
|
+
listDbSystemUpgradesRecordIterator(request: requests.ListDbSystemUpgradesRequest): AsyncIterableIterator<model.DbSystemUpgradeSummary>;
|
|
4231
|
+
/**
|
|
4232
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbSystemUpgrades operation. This iterator
|
|
4233
|
+
* will fetch more data from the server as needed.
|
|
4234
|
+
*
|
|
4235
|
+
* @param request a request which can be sent to the service operation
|
|
4236
|
+
*/
|
|
4237
|
+
listDbSystemUpgradesResponseIterator(request: requests.ListDbSystemUpgradesRequest): AsyncIterableIterator<responses.ListDbSystemUpgradesResponse>;
|
|
4196
4238
|
/**
|
|
4197
4239
|
* Lists the DB systems in the specified compartment. You can specify a `backupId` to list only the DB systems that support creating a database using this backup in this compartment.
|
|
4198
4240
|
* <p>
|
package/lib/client.js
CHANGED
|
@@ -664,7 +664,8 @@ class DatabaseClient {
|
|
|
664
664
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
665
665
|
"if-match": autonomousDatabaseManualRefreshRequest.ifMatch,
|
|
666
666
|
"opc-retry-token": autonomousDatabaseManualRefreshRequest.opcRetryToken,
|
|
667
|
-
"opc-request-id": autonomousDatabaseManualRefreshRequest.opcRequestId
|
|
667
|
+
"opc-request-id": autonomousDatabaseManualRefreshRequest.opcRequestId,
|
|
668
|
+
"opc-dry-run": autonomousDatabaseManualRefreshRequest.opcDryRun
|
|
668
669
|
};
|
|
669
670
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
670
671
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, autonomousDatabaseManualRefreshRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -1003,7 +1004,8 @@ class DatabaseClient {
|
|
|
1003
1004
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1004
1005
|
"opc-retry-token": changeAutonomousDatabaseCompartmentRequest.opcRetryToken,
|
|
1005
1006
|
"opc-request-id": changeAutonomousDatabaseCompartmentRequest.opcRequestId,
|
|
1006
|
-
"if-match": changeAutonomousDatabaseCompartmentRequest.ifMatch
|
|
1007
|
+
"if-match": changeAutonomousDatabaseCompartmentRequest.ifMatch,
|
|
1008
|
+
"opc-dry-run": changeAutonomousDatabaseCompartmentRequest.opcDryRun
|
|
1007
1009
|
};
|
|
1008
1010
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1009
1011
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAutonomousDatabaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -1139,7 +1141,8 @@ class DatabaseClient {
|
|
|
1139
1141
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1140
1142
|
"opc-retry-token": changeAutonomousDatabaseSubscriptionRequest.opcRetryToken,
|
|
1141
1143
|
"opc-request-id": changeAutonomousDatabaseSubscriptionRequest.opcRequestId,
|
|
1142
|
-
"if-match": changeAutonomousDatabaseSubscriptionRequest.ifMatch
|
|
1144
|
+
"if-match": changeAutonomousDatabaseSubscriptionRequest.ifMatch,
|
|
1145
|
+
"opc-dry-run": changeAutonomousDatabaseSubscriptionRequest.opcDryRun
|
|
1143
1146
|
};
|
|
1144
1147
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1145
1148
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAutonomousDatabaseSubscriptionRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -1932,7 +1935,8 @@ class DatabaseClient {
|
|
|
1932
1935
|
let headerParams = {
|
|
1933
1936
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1934
1937
|
"if-match": changeDisasterRecoveryConfigurationRequest.ifMatch,
|
|
1935
|
-
"opc-request-id": changeDisasterRecoveryConfigurationRequest.opcRequestId
|
|
1938
|
+
"opc-request-id": changeDisasterRecoveryConfigurationRequest.opcRequestId,
|
|
1939
|
+
"opc-dry-run": changeDisasterRecoveryConfigurationRequest.opcDryRun
|
|
1936
1940
|
};
|
|
1937
1941
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1938
1942
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDisasterRecoveryConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -3115,7 +3119,8 @@ class DatabaseClient {
|
|
|
3115
3119
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3116
3120
|
"if-match": configureAutonomousDatabaseVaultKeyRequest.ifMatch,
|
|
3117
3121
|
"opc-request-id": configureAutonomousDatabaseVaultKeyRequest.opcRequestId,
|
|
3118
|
-
"opc-retry-token": configureAutonomousDatabaseVaultKeyRequest.opcRetryToken
|
|
3122
|
+
"opc-retry-token": configureAutonomousDatabaseVaultKeyRequest.opcRetryToken,
|
|
3123
|
+
"opc-dry-run": configureAutonomousDatabaseVaultKeyRequest.opcDryRun
|
|
3119
3124
|
};
|
|
3120
3125
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3121
3126
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureAutonomousDatabaseVaultKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -3248,7 +3253,8 @@ class DatabaseClient {
|
|
|
3248
3253
|
let headerParams = {
|
|
3249
3254
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3250
3255
|
"if-match": configureSaasAdminUserRequest.ifMatch,
|
|
3251
|
-
"opc-request-id": configureSaasAdminUserRequest.opcRequestId
|
|
3256
|
+
"opc-request-id": configureSaasAdminUserRequest.opcRequestId,
|
|
3257
|
+
"opc-dry-run": configureSaasAdminUserRequest.opcDryRun
|
|
3252
3258
|
};
|
|
3253
3259
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3254
3260
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureSaasAdminUserRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -3888,7 +3894,8 @@ class DatabaseClient {
|
|
|
3888
3894
|
let headerParams = {
|
|
3889
3895
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3890
3896
|
"opc-retry-token": createAutonomousDatabaseRequest.opcRetryToken,
|
|
3891
|
-
"opc-request-id": createAutonomousDatabaseRequest.opcRequestId
|
|
3897
|
+
"opc-request-id": createAutonomousDatabaseRequest.opcRequestId,
|
|
3898
|
+
"opc-dry-run": createAutonomousDatabaseRequest.opcDryRun
|
|
3892
3899
|
};
|
|
3893
3900
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3894
3901
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -3957,7 +3964,8 @@ class DatabaseClient {
|
|
|
3957
3964
|
let headerParams = {
|
|
3958
3965
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3959
3966
|
"opc-retry-token": createAutonomousDatabaseBackupRequest.opcRetryToken,
|
|
3960
|
-
"opc-request-id": createAutonomousDatabaseBackupRequest.opcRequestId
|
|
3967
|
+
"opc-request-id": createAutonomousDatabaseBackupRequest.opcRequestId,
|
|
3968
|
+
"opc-dry-run": createAutonomousDatabaseBackupRequest.opcDryRun
|
|
3961
3969
|
};
|
|
3962
3970
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3963
3971
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAutonomousDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6458,7 +6466,8 @@ class DatabaseClient {
|
|
|
6458
6466
|
let headerParams = {
|
|
6459
6467
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6460
6468
|
"if-match": deleteAutonomousDatabaseRequest.ifMatch,
|
|
6461
|
-
"opc-request-id": deleteAutonomousDatabaseRequest.opcRequestId
|
|
6469
|
+
"opc-request-id": deleteAutonomousDatabaseRequest.opcRequestId,
|
|
6470
|
+
"opc-dry-run": deleteAutonomousDatabaseRequest.opcDryRun
|
|
6462
6471
|
};
|
|
6463
6472
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6464
6473
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6518,7 +6527,8 @@ class DatabaseClient {
|
|
|
6518
6527
|
let headerParams = {
|
|
6519
6528
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6520
6529
|
"if-match": deleteAutonomousDatabaseBackupRequest.ifMatch,
|
|
6521
|
-
"opc-request-id": deleteAutonomousDatabaseBackupRequest.opcRequestId
|
|
6530
|
+
"opc-request-id": deleteAutonomousDatabaseBackupRequest.opcRequestId,
|
|
6531
|
+
"opc-dry-run": deleteAutonomousDatabaseBackupRequest.opcDryRun
|
|
6522
6532
|
};
|
|
6523
6533
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6524
6534
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAutonomousDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8394,7 +8404,8 @@ class DatabaseClient {
|
|
|
8394
8404
|
const queryParams = {};
|
|
8395
8405
|
let headerParams = {
|
|
8396
8406
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8397
|
-
"opc-request-id": deregisterAutonomousDatabaseDataSafeRequest.opcRequestId
|
|
8407
|
+
"opc-request-id": deregisterAutonomousDatabaseDataSafeRequest.opcRequestId,
|
|
8408
|
+
"opc-dry-run": deregisterAutonomousDatabaseDataSafeRequest.opcDryRun
|
|
8398
8409
|
};
|
|
8399
8410
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8400
8411
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deregisterAutonomousDatabaseDataSafeRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8455,7 +8466,8 @@ class DatabaseClient {
|
|
|
8455
8466
|
const queryParams = {};
|
|
8456
8467
|
let headerParams = {
|
|
8457
8468
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8458
|
-
"opc-request-id": disableAutonomousDatabaseManagementRequest.opcRequestId
|
|
8469
|
+
"opc-request-id": disableAutonomousDatabaseManagementRequest.opcRequestId,
|
|
8470
|
+
"opc-dry-run": disableAutonomousDatabaseManagementRequest.opcDryRun
|
|
8459
8471
|
};
|
|
8460
8472
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8461
8473
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutonomousDatabaseManagementRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8515,7 +8527,8 @@ class DatabaseClient {
|
|
|
8515
8527
|
const queryParams = {};
|
|
8516
8528
|
let headerParams = {
|
|
8517
8529
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8518
|
-
"opc-request-id": disableAutonomousDatabaseOperationsInsightsRequest.opcRequestId
|
|
8530
|
+
"opc-request-id": disableAutonomousDatabaseOperationsInsightsRequest.opcRequestId,
|
|
8531
|
+
"opc-dry-run": disableAutonomousDatabaseOperationsInsightsRequest.opcDryRun
|
|
8519
8532
|
};
|
|
8520
8533
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8521
8534
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutonomousDatabaseOperationsInsightsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -9606,7 +9619,8 @@ class DatabaseClient {
|
|
|
9606
9619
|
const queryParams = {};
|
|
9607
9620
|
let headerParams = {
|
|
9608
9621
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9609
|
-
"opc-request-id": enableAutonomousDatabaseManagementRequest.opcRequestId
|
|
9622
|
+
"opc-request-id": enableAutonomousDatabaseManagementRequest.opcRequestId,
|
|
9623
|
+
"opc-dry-run": enableAutonomousDatabaseManagementRequest.opcDryRun
|
|
9610
9624
|
};
|
|
9611
9625
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9612
9626
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutonomousDatabaseManagementRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -9666,7 +9680,8 @@ class DatabaseClient {
|
|
|
9666
9680
|
const queryParams = {};
|
|
9667
9681
|
let headerParams = {
|
|
9668
9682
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9669
|
-
"opc-request-id": enableAutonomousDatabaseOperationsInsightsRequest.opcRequestId
|
|
9683
|
+
"opc-request-id": enableAutonomousDatabaseOperationsInsightsRequest.opcRequestId,
|
|
9684
|
+
"opc-dry-run": enableAutonomousDatabaseOperationsInsightsRequest.opcDryRun
|
|
9670
9685
|
};
|
|
9671
9686
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9672
9687
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutonomousDatabaseOperationsInsightsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -10412,7 +10427,8 @@ class DatabaseClient {
|
|
|
10412
10427
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10413
10428
|
"if-match": failOverAutonomousDatabaseRequest.ifMatch,
|
|
10414
10429
|
"opc-retry-token": failOverAutonomousDatabaseRequest.opcRetryToken,
|
|
10415
|
-
"opc-request-id": failOverAutonomousDatabaseRequest.opcRequestId
|
|
10430
|
+
"opc-request-id": failOverAutonomousDatabaseRequest.opcRequestId,
|
|
10431
|
+
"opc-dry-run": failOverAutonomousDatabaseRequest.opcDryRun
|
|
10416
10432
|
};
|
|
10417
10433
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10418
10434
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, failOverAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -10777,7 +10793,8 @@ class DatabaseClient {
|
|
|
10777
10793
|
let headerParams = {
|
|
10778
10794
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10779
10795
|
"opc-request-id": generateAutonomousDatabaseWalletRequest.opcRequestId,
|
|
10780
|
-
"opc-retry-token": generateAutonomousDatabaseWalletRequest.opcRetryToken
|
|
10796
|
+
"opc-retry-token": generateAutonomousDatabaseWalletRequest.opcRetryToken,
|
|
10797
|
+
"opc-dry-run": generateAutonomousDatabaseWalletRequest.opcDryRun
|
|
10781
10798
|
};
|
|
10782
10799
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10783
10800
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAutonomousDatabaseWalletRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -20251,6 +20268,112 @@ class DatabaseClient {
|
|
|
20251
20268
|
listDbSystemUpgradeHistoryEntriesResponseIterator(request) {
|
|
20252
20269
|
return oci_common_1.paginateResponses(request, req => this.listDbSystemUpgradeHistoryEntries(req));
|
|
20253
20270
|
}
|
|
20271
|
+
/**
|
|
20272
|
+
* Lists the applicable upgrade components for a DB systems.
|
|
20273
|
+
*
|
|
20274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
20275
|
+
* @param ListDbSystemUpgradesRequest
|
|
20276
|
+
* @return ListDbSystemUpgradesResponse
|
|
20277
|
+
* @throws OciError when an error occurs
|
|
20278
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbSystemUpgrades.ts.html |here} to see how to use ListDbSystemUpgrades API.
|
|
20279
|
+
*/
|
|
20280
|
+
listDbSystemUpgrades(listDbSystemUpgradesRequest) {
|
|
20281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20282
|
+
if (this.logger)
|
|
20283
|
+
this.logger.debug("Calling operation DatabaseClient#listDbSystemUpgrades.");
|
|
20284
|
+
const operationName = "listDbSystemUpgrades";
|
|
20285
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystemUpgradeSummary/ListDbSystemUpgrades";
|
|
20286
|
+
const pathParams = {
|
|
20287
|
+
"{dbSystemId}": listDbSystemUpgradesRequest.dbSystemId
|
|
20288
|
+
};
|
|
20289
|
+
const queryParams = {
|
|
20290
|
+
"limit": listDbSystemUpgradesRequest.limit,
|
|
20291
|
+
"page": listDbSystemUpgradesRequest.page
|
|
20292
|
+
};
|
|
20293
|
+
let headerParams = {
|
|
20294
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
20295
|
+
};
|
|
20296
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
20297
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemUpgradesRequest.retryConfiguration, specRetryConfiguration);
|
|
20298
|
+
if (this.logger)
|
|
20299
|
+
retrier.logger = this.logger;
|
|
20300
|
+
const request = yield oci_common_2.composeRequest({
|
|
20301
|
+
baseEndpoint: this._endpoint,
|
|
20302
|
+
defaultHeaders: this._defaultHeaders,
|
|
20303
|
+
path: "/dbSystems/{dbSystemId}/dbSystemUpgrades",
|
|
20304
|
+
method: "GET",
|
|
20305
|
+
pathParams: pathParams,
|
|
20306
|
+
headerParams: headerParams,
|
|
20307
|
+
queryParams: queryParams
|
|
20308
|
+
});
|
|
20309
|
+
try {
|
|
20310
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
20311
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
20312
|
+
responseObject: {},
|
|
20313
|
+
body: yield response.json(),
|
|
20314
|
+
bodyKey: "items",
|
|
20315
|
+
bodyModel: model.DbSystemUpgradeSummary,
|
|
20316
|
+
type: "Array<model.DbSystemUpgradeSummary>",
|
|
20317
|
+
responseHeaders: [
|
|
20318
|
+
{
|
|
20319
|
+
value: response.headers.get("opc-request-id"),
|
|
20320
|
+
key: "opcRequestId",
|
|
20321
|
+
dataType: "string"
|
|
20322
|
+
},
|
|
20323
|
+
{
|
|
20324
|
+
value: response.headers.get("opc-next-page"),
|
|
20325
|
+
key: "opcNextPage",
|
|
20326
|
+
dataType: "string"
|
|
20327
|
+
}
|
|
20328
|
+
]
|
|
20329
|
+
});
|
|
20330
|
+
return sdkResponse;
|
|
20331
|
+
}
|
|
20332
|
+
catch (err) {
|
|
20333
|
+
throw err;
|
|
20334
|
+
}
|
|
20335
|
+
});
|
|
20336
|
+
}
|
|
20337
|
+
/**
|
|
20338
|
+
* NOTE: This function is deprecated in favor of listDbSystemUpgradesRecordIterator function.
|
|
20339
|
+
* Creates a new async iterator which will iterate over the models.DbSystemUpgradeSummary objects
|
|
20340
|
+
* contained in responses from the listDbSystemUpgrades operation. This iterator will fetch more data from the
|
|
20341
|
+
* server as needed.
|
|
20342
|
+
*
|
|
20343
|
+
* @param request a request which can be sent to the service operation
|
|
20344
|
+
*/
|
|
20345
|
+
listAllDbSystemUpgrades(request) {
|
|
20346
|
+
return oci_common_1.paginateRecords(request, req => this.listDbSystemUpgrades(req));
|
|
20347
|
+
}
|
|
20348
|
+
/**
|
|
20349
|
+
* NOTE: This function is deprecated in favor of listDbSystemUpgradesResponseIterator function.
|
|
20350
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbSystemUpgrades operation. This iterator
|
|
20351
|
+
* will fetch more data from the server as needed.
|
|
20352
|
+
*
|
|
20353
|
+
* @param request a request which can be sent to the service operation
|
|
20354
|
+
*/
|
|
20355
|
+
listAllDbSystemUpgradesResponses(request) {
|
|
20356
|
+
return oci_common_1.paginateResponses(request, req => this.listDbSystemUpgrades(req));
|
|
20357
|
+
}
|
|
20358
|
+
/**
|
|
20359
|
+
* Creates a new async iterator which will iterate over the models.DbSystemUpgradeSummary objects
|
|
20360
|
+
* contained in responses from the listDbSystemUpgrades operation. This iterator will fetch more data from the
|
|
20361
|
+
* server as needed.
|
|
20362
|
+
*
|
|
20363
|
+
* @param request a request which can be sent to the service operation
|
|
20364
|
+
*/
|
|
20365
|
+
listDbSystemUpgradesRecordIterator(request) {
|
|
20366
|
+
return oci_common_1.paginateRecords(request, req => this.listDbSystemUpgrades(req));
|
|
20367
|
+
}
|
|
20368
|
+
/**
|
|
20369
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbSystemUpgrades operation. This iterator
|
|
20370
|
+
* will fetch more data from the server as needed.
|
|
20371
|
+
*
|
|
20372
|
+
* @param request a request which can be sent to the service operation
|
|
20373
|
+
*/
|
|
20374
|
+
listDbSystemUpgradesResponseIterator(request) {
|
|
20375
|
+
return oci_common_1.paginateResponses(request, req => this.listDbSystemUpgrades(req));
|
|
20376
|
+
}
|
|
20254
20377
|
/**
|
|
20255
20378
|
* Lists the DB systems in the specified compartment. You can specify a `backupId` to list only the DB systems that support creating a database using this backup in this compartment.
|
|
20256
20379
|
* <p>
|
|
@@ -24613,7 +24736,8 @@ class DatabaseClient {
|
|
|
24613
24736
|
const queryParams = {};
|
|
24614
24737
|
let headerParams = {
|
|
24615
24738
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
24616
|
-
"opc-request-id": registerAutonomousDatabaseDataSafeRequest.opcRequestId
|
|
24739
|
+
"opc-request-id": registerAutonomousDatabaseDataSafeRequest.opcRequestId,
|
|
24740
|
+
"opc-dry-run": registerAutonomousDatabaseDataSafeRequest.opcDryRun
|
|
24617
24741
|
};
|
|
24618
24742
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
24619
24743
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, registerAutonomousDatabaseDataSafeRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -25613,7 +25737,8 @@ class DatabaseClient {
|
|
|
25613
25737
|
const queryParams = {};
|
|
25614
25738
|
let headerParams = {
|
|
25615
25739
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
25616
|
-
"if-match": restartAutonomousDatabaseRequest.ifMatch
|
|
25740
|
+
"if-match": restartAutonomousDatabaseRequest.ifMatch,
|
|
25741
|
+
"opc-dry-run": restartAutonomousDatabaseRequest.opcDryRun
|
|
25617
25742
|
};
|
|
25618
25743
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
25619
25744
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -25682,7 +25807,8 @@ class DatabaseClient {
|
|
|
25682
25807
|
const queryParams = {};
|
|
25683
25808
|
let headerParams = {
|
|
25684
25809
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
25685
|
-
"if-match": restoreAutonomousDatabaseRequest.ifMatch
|
|
25810
|
+
"if-match": restoreAutonomousDatabaseRequest.ifMatch,
|
|
25811
|
+
"opc-dry-run": restoreAutonomousDatabaseRequest.opcDryRun
|
|
25686
25812
|
};
|
|
25687
25813
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
25688
25814
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -26740,7 +26866,8 @@ class DatabaseClient {
|
|
|
26740
26866
|
const queryParams = {};
|
|
26741
26867
|
let headerParams = {
|
|
26742
26868
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
26743
|
-
"if-match": shrinkAutonomousDatabaseRequest.ifMatch
|
|
26869
|
+
"if-match": shrinkAutonomousDatabaseRequest.ifMatch,
|
|
26870
|
+
"opc-dry-run": shrinkAutonomousDatabaseRequest.opcDryRun
|
|
26744
26871
|
};
|
|
26745
26872
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
26746
26873
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, shrinkAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -26809,7 +26936,8 @@ class DatabaseClient {
|
|
|
26809
26936
|
const queryParams = {};
|
|
26810
26937
|
let headerParams = {
|
|
26811
26938
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
26812
|
-
"if-match": startAutonomousDatabaseRequest.ifMatch
|
|
26939
|
+
"if-match": startAutonomousDatabaseRequest.ifMatch,
|
|
26940
|
+
"opc-dry-run": startAutonomousDatabaseRequest.opcDryRun
|
|
26813
26941
|
};
|
|
26814
26942
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
26815
26943
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -26949,7 +27077,8 @@ class DatabaseClient {
|
|
|
26949
27077
|
let headerParams = {
|
|
26950
27078
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
26951
27079
|
"if-match": stopAutonomousDatabaseRequest.ifMatch,
|
|
26952
|
-
"opc-request-id": stopAutonomousDatabaseRequest.opcRequestId
|
|
27080
|
+
"opc-request-id": stopAutonomousDatabaseRequest.opcRequestId,
|
|
27081
|
+
"opc-dry-run": stopAutonomousDatabaseRequest.opcDryRun
|
|
26953
27082
|
};
|
|
26954
27083
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
26955
27084
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -27316,7 +27445,8 @@ class DatabaseClient {
|
|
|
27316
27445
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27317
27446
|
"if-match": switchoverAutonomousDatabaseRequest.ifMatch,
|
|
27318
27447
|
"opc-retry-token": switchoverAutonomousDatabaseRequest.opcRetryToken,
|
|
27319
|
-
"opc-request-id": switchoverAutonomousDatabaseRequest.opcRequestId
|
|
27448
|
+
"opc-request-id": switchoverAutonomousDatabaseRequest.opcRequestId,
|
|
27449
|
+
"opc-dry-run": switchoverAutonomousDatabaseRequest.opcDryRun
|
|
27320
27450
|
};
|
|
27321
27451
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
27322
27452
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, switchoverAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -27784,7 +27914,8 @@ class DatabaseClient {
|
|
|
27784
27914
|
let headerParams = {
|
|
27785
27915
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27786
27916
|
"if-match": updateAutonomousDatabaseRequest.ifMatch,
|
|
27787
|
-
"opc-request-id": updateAutonomousDatabaseRequest.opcRequestId
|
|
27917
|
+
"opc-request-id": updateAutonomousDatabaseRequest.opcRequestId,
|
|
27918
|
+
"opc-dry-run": updateAutonomousDatabaseRequest.opcDryRun
|
|
27788
27919
|
};
|
|
27789
27920
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
27790
27921
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -27855,7 +27986,8 @@ class DatabaseClient {
|
|
|
27855
27986
|
let headerParams = {
|
|
27856
27987
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27857
27988
|
"if-match": updateAutonomousDatabaseBackupRequest.ifMatch,
|
|
27858
|
-
"opc-request-id": updateAutonomousDatabaseBackupRequest.opcRequestId
|
|
27989
|
+
"opc-request-id": updateAutonomousDatabaseBackupRequest.opcRequestId,
|
|
27990
|
+
"opc-dry-run": updateAutonomousDatabaseBackupRequest.opcDryRun
|
|
27859
27991
|
};
|
|
27860
27992
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
27861
27993
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -27923,7 +28055,8 @@ class DatabaseClient {
|
|
|
27923
28055
|
const queryParams = {};
|
|
27924
28056
|
let headerParams = {
|
|
27925
28057
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27926
|
-
"opc-request-id": updateAutonomousDatabaseRegionalWalletRequest.opcRequestId
|
|
28058
|
+
"opc-request-id": updateAutonomousDatabaseRegionalWalletRequest.opcRequestId,
|
|
28059
|
+
"opc-dry-run": updateAutonomousDatabaseRegionalWalletRequest.opcDryRun
|
|
27927
28060
|
};
|
|
27928
28061
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
27929
28062
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseRegionalWalletRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -28049,7 +28182,8 @@ class DatabaseClient {
|
|
|
28049
28182
|
const queryParams = {};
|
|
28050
28183
|
let headerParams = {
|
|
28051
28184
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
28052
|
-
"opc-request-id": updateAutonomousDatabaseWalletRequest.opcRequestId
|
|
28185
|
+
"opc-request-id": updateAutonomousDatabaseWalletRequest.opcRequestId,
|
|
28186
|
+
"opc-dry-run": updateAutonomousDatabaseWalletRequest.opcDryRun
|
|
28053
28187
|
};
|
|
28054
28188
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
28055
28189
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseWalletRequest.retryConfiguration, specRetryConfiguration);
|