oci-database 2.109.0 → 2.110.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.
Files changed (101) hide show
  1. package/lib/client.d.ts +75 -39
  2. package/lib/client.js +198 -69
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/autonomous-container-database-summary.d.ts +1 -1
  5. package/lib/model/autonomous-container-database.d.ts +1 -1
  6. package/lib/model/autonomous-db-version-summary.d.ts +4 -0
  7. package/lib/model/autonomous-db-version-summary.js.map +1 -1
  8. package/lib/model/backup-summary.d.ts +3 -1
  9. package/lib/model/backup-summary.js +1 -0
  10. package/lib/model/backup-summary.js.map +1 -1
  11. package/lib/model/backup.d.ts +3 -1
  12. package/lib/model/backup.js +1 -0
  13. package/lib/model/backup.js.map +1 -1
  14. package/lib/model/create-database-base.d.ts +1 -1
  15. package/lib/model/create-external-backup-job-details.d.ts +4 -3
  16. package/lib/model/create-external-backup-job-details.js +1 -0
  17. package/lib/model/create-external-backup-job-details.js.map +1 -1
  18. package/lib/model/db-system-summary.d.ts +3 -1
  19. package/lib/model/db-system-summary.js +1 -0
  20. package/lib/model/db-system-summary.js.map +1 -1
  21. package/lib/model/db-system-upgrade-summary.d.ts +45 -0
  22. package/lib/model/db-system-upgrade-summary.js +41 -0
  23. package/lib/model/db-system-upgrade-summary.js.map +1 -0
  24. package/lib/model/db-system.d.ts +3 -1
  25. package/lib/model/db-system.js +1 -0
  26. package/lib/model/db-system.js.map +1 -1
  27. package/lib/model/external-container-database-summary.d.ts +3 -1
  28. package/lib/model/external-container-database-summary.js +1 -0
  29. package/lib/model/external-container-database-summary.js.map +1 -1
  30. package/lib/model/external-container-database.d.ts +3 -1
  31. package/lib/model/external-container-database.js +1 -0
  32. package/lib/model/external-container-database.js.map +1 -1
  33. package/lib/model/external-database-base.d.ts +3 -1
  34. package/lib/model/external-database-base.js +1 -0
  35. package/lib/model/external-database-base.js.map +1 -1
  36. package/lib/model/external-non-container-database-summary.d.ts +3 -1
  37. package/lib/model/external-non-container-database-summary.js +1 -0
  38. package/lib/model/external-non-container-database-summary.js.map +1 -1
  39. package/lib/model/external-non-container-database.d.ts +3 -1
  40. package/lib/model/external-non-container-database.js +1 -0
  41. package/lib/model/external-non-container-database.js.map +1 -1
  42. package/lib/model/external-pluggable-database-summary.d.ts +3 -1
  43. package/lib/model/external-pluggable-database-summary.js +1 -0
  44. package/lib/model/external-pluggable-database-summary.js.map +1 -1
  45. package/lib/model/external-pluggable-database.d.ts +3 -1
  46. package/lib/model/external-pluggable-database.js +1 -0
  47. package/lib/model/external-pluggable-database.js.map +1 -1
  48. package/lib/model/index.d.ts +2 -0
  49. package/lib/model/index.js +8 -6
  50. package/lib/model/index.js.map +1 -1
  51. package/lib/model/launch-db-system-details.d.ts +2 -1
  52. package/lib/model/launch-db-system-details.js +1 -0
  53. package/lib/model/launch-db-system-details.js.map +1 -1
  54. package/lib/model/launch-db-system-from-backup-details.d.ts +2 -1
  55. package/lib/model/launch-db-system-from-backup-details.js +1 -0
  56. package/lib/model/launch-db-system-from-backup-details.js.map +1 -1
  57. package/lib/model/launch-db-system-from-database-details.d.ts +2 -1
  58. package/lib/model/launch-db-system-from-database-details.js +1 -0
  59. package/lib/model/launch-db-system-from-database-details.js.map +1 -1
  60. package/lib/request/autonomous-database-manual-refresh-request.d.ts +6 -0
  61. package/lib/request/change-autonomous-database-compartment-request.d.ts +6 -0
  62. package/lib/request/change-autonomous-database-subscription-request.d.ts +6 -0
  63. package/lib/request/change-disaster-recovery-configuration-request.d.ts +6 -0
  64. package/lib/request/configure-autonomous-database-vault-key-request.d.ts +6 -0
  65. package/lib/request/configure-saas-admin-user-request.d.ts +6 -0
  66. package/lib/request/create-autonomous-database-backup-request.d.ts +6 -0
  67. package/lib/request/create-autonomous-database-request.d.ts +6 -0
  68. package/lib/request/delete-autonomous-database-backup-request.d.ts +6 -0
  69. package/lib/request/delete-autonomous-database-request.d.ts +6 -0
  70. package/lib/request/deregister-autonomous-database-data-safe-request.d.ts +6 -0
  71. package/lib/request/disable-autonomous-database-management-request.d.ts +6 -0
  72. package/lib/request/disable-autonomous-database-operations-insights-request.d.ts +6 -0
  73. package/lib/request/enable-autonomous-database-management-request.d.ts +6 -0
  74. package/lib/request/enable-autonomous-database-operations-insights-request.d.ts +6 -0
  75. package/lib/request/fail-over-autonomous-database-request.d.ts +6 -0
  76. package/lib/request/generate-autonomous-database-wallet-request.d.ts +6 -0
  77. package/lib/request/index.d.ts +2 -0
  78. package/lib/request/index.js +4 -2
  79. package/lib/request/index.js.map +1 -1
  80. package/lib/request/list-db-system-storage-performances-request.d.ts +13 -0
  81. package/lib/request/list-db-system-storage-performances-request.js +12 -0
  82. package/lib/request/list-db-system-storage-performances-request.js.map +1 -1
  83. package/lib/request/list-db-system-upgrades-request.d.ts +30 -0
  84. package/lib/request/list-db-system-upgrades-request.js +15 -0
  85. package/lib/request/list-db-system-upgrades-request.js.map +1 -0
  86. package/lib/request/register-autonomous-database-data-safe-request.d.ts +6 -0
  87. package/lib/request/restart-autonomous-database-request.d.ts +6 -0
  88. package/lib/request/restore-autonomous-database-request.d.ts +6 -0
  89. package/lib/request/shrink-autonomous-database-request.d.ts +6 -0
  90. package/lib/request/start-autonomous-database-request.d.ts +6 -0
  91. package/lib/request/stop-autonomous-database-request.d.ts +6 -0
  92. package/lib/request/switchover-autonomous-database-request.d.ts +6 -0
  93. package/lib/request/update-autonomous-database-backup-request.d.ts +6 -0
  94. package/lib/request/update-autonomous-database-regional-wallet-request.d.ts +6 -0
  95. package/lib/request/update-autonomous-database-request.d.ts +6 -0
  96. package/lib/request/update-autonomous-database-wallet-request.d.ts +6 -0
  97. package/lib/response/index.d.ts +2 -0
  98. package/lib/response/list-db-system-upgrades-response.d.ts +33 -0
  99. package/lib/response/list-db-system-upgrades-response.js +15 -0
  100. package/lib/response/list-db-system-upgrades-response.js.map +1 -0
  101. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -282,9 +282,8 @@ class DatabaseClient {
282
282
  });
283
283
  }
284
284
  /**
285
- * Create Standby Autonomous Container Database.
286
- * For more information about changing Autonomous Container Databases Add Standby, see
287
- * [Create Standby Autonomous Container Database](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).
285
+ * Add a standby Autonomous Container Database. For more information about Autonomous Data Guard,see
286
+ * [Protect Critical Databases from Failures and Disasters Using Autonomous Data Guard](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbau/GUID-C57B9A6E-7471-4CDC-8F10-B8386538E31C).
288
287
  *
289
288
  * This operation does not retry by default if the user has not defined a retry configuration.
290
289
  * @param AddStandbyAutonomousContainerDatabaseRequest
@@ -664,7 +663,8 @@ class DatabaseClient {
664
663
  "Content-Type": common.Constants.APPLICATION_JSON,
665
664
  "if-match": autonomousDatabaseManualRefreshRequest.ifMatch,
666
665
  "opc-retry-token": autonomousDatabaseManualRefreshRequest.opcRetryToken,
667
- "opc-request-id": autonomousDatabaseManualRefreshRequest.opcRequestId
666
+ "opc-request-id": autonomousDatabaseManualRefreshRequest.opcRequestId,
667
+ "opc-dry-run": autonomousDatabaseManualRefreshRequest.opcDryRun
668
668
  };
669
669
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
670
670
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, autonomousDatabaseManualRefreshRequest.retryConfiguration, specRetryConfiguration);
@@ -911,7 +911,7 @@ class DatabaseClient {
911
911
  /**
912
912
  * Move the Autonomous Container Database and its dependent resources to the specified compartment.
913
913
  * For more information about moving Autonomous Container Databases, see
914
- * [Moving Database Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm#moveRes).
914
+ * [Moving Database Resources to a Different Compartment](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/raqyy/#articletitle.html).
915
915
  *
916
916
  * This operation does not retry by default if the user has not defined a retry configuration.
917
917
  * @param ChangeAutonomousContainerDatabaseCompartmentRequest
@@ -1003,7 +1003,8 @@ class DatabaseClient {
1003
1003
  "Content-Type": common.Constants.APPLICATION_JSON,
1004
1004
  "opc-retry-token": changeAutonomousDatabaseCompartmentRequest.opcRetryToken,
1005
1005
  "opc-request-id": changeAutonomousDatabaseCompartmentRequest.opcRequestId,
1006
- "if-match": changeAutonomousDatabaseCompartmentRequest.ifMatch
1006
+ "if-match": changeAutonomousDatabaseCompartmentRequest.ifMatch,
1007
+ "opc-dry-run": changeAutonomousDatabaseCompartmentRequest.opcDryRun
1007
1008
  };
1008
1009
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1009
1010
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAutonomousDatabaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
@@ -1139,7 +1140,8 @@ class DatabaseClient {
1139
1140
  "Content-Type": common.Constants.APPLICATION_JSON,
1140
1141
  "opc-retry-token": changeAutonomousDatabaseSubscriptionRequest.opcRetryToken,
1141
1142
  "opc-request-id": changeAutonomousDatabaseSubscriptionRequest.opcRequestId,
1142
- "if-match": changeAutonomousDatabaseSubscriptionRequest.ifMatch
1143
+ "if-match": changeAutonomousDatabaseSubscriptionRequest.ifMatch,
1144
+ "opc-dry-run": changeAutonomousDatabaseSubscriptionRequest.opcDryRun
1143
1145
  };
1144
1146
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1145
1147
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAutonomousDatabaseSubscriptionRequest.retryConfiguration, specRetryConfiguration);
@@ -1768,8 +1770,8 @@ class DatabaseClient {
1768
1770
  });
1769
1771
  }
1770
1772
  /**
1771
- * Switch the Autonomous Container Database role between Standby and Snapshot Standby.
1772
- * For more information about changing Autonomous Container Databases Dataguard Role, see
1773
+ * **Deprecated.** Use the {@link #convertStandbyAutonomousContainerDatabase(ConvertStandbyAutonomousContainerDatabaseRequest) convertStandbyAutonomousContainerDatabase} operation to switch the Autonomous Container Database (ACD) role between Standby and Snapshot Standby.
1774
+ * For more information about changing ACD Role, see
1773
1775
  * [Convert Physical Standby to Snapshot Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).
1774
1776
  *
1775
1777
  * This operation does not retry by default if the user has not defined a retry configuration.
@@ -1932,7 +1934,8 @@ class DatabaseClient {
1932
1934
  let headerParams = {
1933
1935
  "Content-Type": common.Constants.APPLICATION_JSON,
1934
1936
  "if-match": changeDisasterRecoveryConfigurationRequest.ifMatch,
1935
- "opc-request-id": changeDisasterRecoveryConfigurationRequest.opcRequestId
1937
+ "opc-request-id": changeDisasterRecoveryConfigurationRequest.opcRequestId,
1938
+ "opc-dry-run": changeDisasterRecoveryConfigurationRequest.opcDryRun
1936
1939
  };
1937
1940
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1938
1941
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDisasterRecoveryConfigurationRequest.retryConfiguration, specRetryConfiguration);
@@ -3115,7 +3118,8 @@ class DatabaseClient {
3115
3118
  "Content-Type": common.Constants.APPLICATION_JSON,
3116
3119
  "if-match": configureAutonomousDatabaseVaultKeyRequest.ifMatch,
3117
3120
  "opc-request-id": configureAutonomousDatabaseVaultKeyRequest.opcRequestId,
3118
- "opc-retry-token": configureAutonomousDatabaseVaultKeyRequest.opcRetryToken
3121
+ "opc-retry-token": configureAutonomousDatabaseVaultKeyRequest.opcRetryToken,
3122
+ "opc-dry-run": configureAutonomousDatabaseVaultKeyRequest.opcDryRun
3119
3123
  };
3120
3124
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3121
3125
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureAutonomousDatabaseVaultKeyRequest.retryConfiguration, specRetryConfiguration);
@@ -3248,7 +3252,8 @@ class DatabaseClient {
3248
3252
  let headerParams = {
3249
3253
  "Content-Type": common.Constants.APPLICATION_JSON,
3250
3254
  "if-match": configureSaasAdminUserRequest.ifMatch,
3251
- "opc-request-id": configureSaasAdminUserRequest.opcRequestId
3255
+ "opc-request-id": configureSaasAdminUserRequest.opcRequestId,
3256
+ "opc-dry-run": configureSaasAdminUserRequest.opcDryRun
3252
3257
  };
3253
3258
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3254
3259
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureSaasAdminUserRequest.retryConfiguration, specRetryConfiguration);
@@ -3361,9 +3366,8 @@ class DatabaseClient {
3361
3366
  });
3362
3367
  }
3363
3368
  /**
3364
- * Convert between and SnapshotStandby Standby Autonomous Container Database .
3365
- * For more information about changing Autonomous Container Databases Add Standby, see
3366
- * [Convert Standby Autonomous Container Database](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).
3369
+ * Convert the standby Autonomous Container Database (ACD) between physical standby and snapshot standby ACD. For more information about converting standby ACDs, see
3370
+ * [Convert Physical Standby to Snapshot Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).
3367
3371
  *
3368
3372
  * This operation does not retry by default if the user has not defined a retry configuration.
3369
3373
  * @param ConvertStandbyAutonomousContainerDatabaseRequest
@@ -3792,21 +3796,15 @@ class DatabaseClient {
3792
3796
  });
3793
3797
  }
3794
3798
  /**
3795
- * Create a new Autonomous Data Guard association. An Autonomous Data Guard association represents the replication relationship between the
3796
- * specified Autonomous Container database and a peer Autonomous Container database. For more information, see [Using Oracle Data Guard](https://docs.oracle.com/iaas/Content/Database/Tasks/usingdataguard.htm).
3797
- * <p>
3798
- All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID
3799
- * called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.
3800
- * You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the
3801
- * resource in the Console. For more information, see
3802
- * [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
3803
- *
3804
- * This operation does not retry by default if the user has not defined a retry configuration.
3805
- * @param CreateAutonomousContainerDatabaseDataguardAssociationRequest
3806
- * @return CreateAutonomousContainerDatabaseDataguardAssociationResponse
3807
- * @throws OciError when an error occurs
3808
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateAutonomousContainerDatabaseDataguardAssociation.ts.html |here} to see how to use CreateAutonomousContainerDatabaseDataguardAssociation API.
3809
- */
3799
+ * **Deprecated.** Use the {@link #addStandbyAutonomousContainerDatabase(AddStandbyAutonomousContainerDatabaseRequest) addStandbyAutonomousContainerDatabase} operation to create a new Autonomous Data Guard association. An Autonomous Data Guard association represents the replication relationship between the
3800
+ * specified Autonomous Container database and a peer Autonomous Container database. For more information, see [Using Oracle Data Guard](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbau/#articletitle.html).
3801
+ *
3802
+ * This operation does not retry by default if the user has not defined a retry configuration.
3803
+ * @param CreateAutonomousContainerDatabaseDataguardAssociationRequest
3804
+ * @return CreateAutonomousContainerDatabaseDataguardAssociationResponse
3805
+ * @throws OciError when an error occurs
3806
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateAutonomousContainerDatabaseDataguardAssociation.ts.html |here} to see how to use CreateAutonomousContainerDatabaseDataguardAssociation API.
3807
+ */
3810
3808
  createAutonomousContainerDatabaseDataguardAssociation(createAutonomousContainerDatabaseDataguardAssociationRequest) {
3811
3809
  return __awaiter(this, void 0, void 0, function* () {
3812
3810
  if (this.logger)
@@ -3888,7 +3886,8 @@ class DatabaseClient {
3888
3886
  let headerParams = {
3889
3887
  "Content-Type": common.Constants.APPLICATION_JSON,
3890
3888
  "opc-retry-token": createAutonomousDatabaseRequest.opcRetryToken,
3891
- "opc-request-id": createAutonomousDatabaseRequest.opcRequestId
3889
+ "opc-request-id": createAutonomousDatabaseRequest.opcRequestId,
3890
+ "opc-dry-run": createAutonomousDatabaseRequest.opcDryRun
3892
3891
  };
3893
3892
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3894
3893
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -3957,7 +3956,8 @@ class DatabaseClient {
3957
3956
  let headerParams = {
3958
3957
  "Content-Type": common.Constants.APPLICATION_JSON,
3959
3958
  "opc-retry-token": createAutonomousDatabaseBackupRequest.opcRetryToken,
3960
- "opc-request-id": createAutonomousDatabaseBackupRequest.opcRequestId
3959
+ "opc-request-id": createAutonomousDatabaseBackupRequest.opcRequestId,
3960
+ "opc-dry-run": createAutonomousDatabaseBackupRequest.opcDryRun
3961
3961
  };
3962
3962
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3963
3963
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAutonomousDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
@@ -6458,7 +6458,8 @@ class DatabaseClient {
6458
6458
  let headerParams = {
6459
6459
  "Content-Type": common.Constants.APPLICATION_JSON,
6460
6460
  "if-match": deleteAutonomousDatabaseRequest.ifMatch,
6461
- "opc-request-id": deleteAutonomousDatabaseRequest.opcRequestId
6461
+ "opc-request-id": deleteAutonomousDatabaseRequest.opcRequestId,
6462
+ "opc-dry-run": deleteAutonomousDatabaseRequest.opcDryRun
6462
6463
  };
6463
6464
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
6464
6465
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -6518,7 +6519,8 @@ class DatabaseClient {
6518
6519
  let headerParams = {
6519
6520
  "Content-Type": common.Constants.APPLICATION_JSON,
6520
6521
  "if-match": deleteAutonomousDatabaseBackupRequest.ifMatch,
6521
- "opc-request-id": deleteAutonomousDatabaseBackupRequest.opcRequestId
6522
+ "opc-request-id": deleteAutonomousDatabaseBackupRequest.opcRequestId,
6523
+ "opc-dry-run": deleteAutonomousDatabaseBackupRequest.opcDryRun
6522
6524
  };
6523
6525
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
6524
6526
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAutonomousDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
@@ -8394,7 +8396,8 @@ class DatabaseClient {
8394
8396
  const queryParams = {};
8395
8397
  let headerParams = {
8396
8398
  "Content-Type": common.Constants.APPLICATION_JSON,
8397
- "opc-request-id": deregisterAutonomousDatabaseDataSafeRequest.opcRequestId
8399
+ "opc-request-id": deregisterAutonomousDatabaseDataSafeRequest.opcRequestId,
8400
+ "opc-dry-run": deregisterAutonomousDatabaseDataSafeRequest.opcDryRun
8398
8401
  };
8399
8402
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
8400
8403
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deregisterAutonomousDatabaseDataSafeRequest.retryConfiguration, specRetryConfiguration);
@@ -8455,7 +8458,8 @@ class DatabaseClient {
8455
8458
  const queryParams = {};
8456
8459
  let headerParams = {
8457
8460
  "Content-Type": common.Constants.APPLICATION_JSON,
8458
- "opc-request-id": disableAutonomousDatabaseManagementRequest.opcRequestId
8461
+ "opc-request-id": disableAutonomousDatabaseManagementRequest.opcRequestId,
8462
+ "opc-dry-run": disableAutonomousDatabaseManagementRequest.opcDryRun
8459
8463
  };
8460
8464
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
8461
8465
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutonomousDatabaseManagementRequest.retryConfiguration, specRetryConfiguration);
@@ -8515,7 +8519,8 @@ class DatabaseClient {
8515
8519
  const queryParams = {};
8516
8520
  let headerParams = {
8517
8521
  "Content-Type": common.Constants.APPLICATION_JSON,
8518
- "opc-request-id": disableAutonomousDatabaseOperationsInsightsRequest.opcRequestId
8522
+ "opc-request-id": disableAutonomousDatabaseOperationsInsightsRequest.opcRequestId,
8523
+ "opc-dry-run": disableAutonomousDatabaseOperationsInsightsRequest.opcDryRun
8519
8524
  };
8520
8525
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
8521
8526
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutonomousDatabaseOperationsInsightsRequest.retryConfiguration, specRetryConfiguration);
@@ -9512,9 +9517,8 @@ class DatabaseClient {
9512
9517
  });
9513
9518
  }
9514
9519
  /**
9515
- * Edit Autonomous Container Database Dataguard.
9516
- * For more information about changing Autonomous Container Databases Add Standby, see
9517
- * [Update Autonomous Container Database Dataguard](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).
9520
+ * Modify Autonomous Container Database Data Guard settings such as protection mode, automatic failover, and fast start failover lag limit. For more information, see
9521
+ * [Update Autonomous Container Database Dataguard](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-3A936EC7-7A49-4FD2-9F39-8DB6B22011CE).
9518
9522
  *
9519
9523
  * This operation does not retry by default if the user has not defined a retry configuration.
9520
9524
  * @param EditAutonomousContainerDatabaseDataguardRequest
@@ -9606,7 +9610,8 @@ class DatabaseClient {
9606
9610
  const queryParams = {};
9607
9611
  let headerParams = {
9608
9612
  "Content-Type": common.Constants.APPLICATION_JSON,
9609
- "opc-request-id": enableAutonomousDatabaseManagementRequest.opcRequestId
9613
+ "opc-request-id": enableAutonomousDatabaseManagementRequest.opcRequestId,
9614
+ "opc-dry-run": enableAutonomousDatabaseManagementRequest.opcDryRun
9610
9615
  };
9611
9616
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
9612
9617
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutonomousDatabaseManagementRequest.retryConfiguration, specRetryConfiguration);
@@ -9666,7 +9671,8 @@ class DatabaseClient {
9666
9671
  const queryParams = {};
9667
9672
  let headerParams = {
9668
9673
  "Content-Type": common.Constants.APPLICATION_JSON,
9669
- "opc-request-id": enableAutonomousDatabaseOperationsInsightsRequest.opcRequestId
9674
+ "opc-request-id": enableAutonomousDatabaseOperationsInsightsRequest.opcRequestId,
9675
+ "opc-dry-run": enableAutonomousDatabaseOperationsInsightsRequest.opcDryRun
9670
9676
  };
9671
9677
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
9672
9678
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutonomousDatabaseOperationsInsightsRequest.retryConfiguration, specRetryConfiguration);
@@ -10412,7 +10418,8 @@ class DatabaseClient {
10412
10418
  "Content-Type": common.Constants.APPLICATION_JSON,
10413
10419
  "if-match": failOverAutonomousDatabaseRequest.ifMatch,
10414
10420
  "opc-retry-token": failOverAutonomousDatabaseRequest.opcRetryToken,
10415
- "opc-request-id": failOverAutonomousDatabaseRequest.opcRequestId
10421
+ "opc-request-id": failOverAutonomousDatabaseRequest.opcRequestId,
10422
+ "opc-dry-run": failOverAutonomousDatabaseRequest.opcDryRun
10416
10423
  };
10417
10424
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
10418
10425
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, failOverAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -10461,7 +10468,8 @@ class DatabaseClient {
10461
10468
  });
10462
10469
  }
10463
10470
  /**
10464
- * Failover Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter, to an active standby Autonomous Container Database.
10471
+ * Performs failover to a standby Autonomous Container Database (ACD) identified by the autonomousContainerDatabaseId parameter. This standby ACD will become the new primary ACD when the failover completes successfully. For more information, see
10472
+ * [Fail Over to the Standby in an Autonomous Data Guard Configuration](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-C8FFA343-223C-4F41-9656-AEC356AD90A0).
10465
10473
  *
10466
10474
  * This operation does not retry by default if the user has not defined a retry configuration.
10467
10475
  * @param FailoverAutonomousContainerDatabaseDataguardRequest
@@ -10531,7 +10539,7 @@ class DatabaseClient {
10531
10539
  });
10532
10540
  }
10533
10541
  /**
10534
- * Fails over the standby Autonomous Container Database identified by the autonomousContainerDatabaseId parameter to the primary Autonomous Container Database after the existing primary Autonomous Container Database fails or becomes unreachable.
10542
+ * **Deprecated.** Use the {@link #failoverAutonomousContainerDatabaseDataguard(FailoverAutonomousContainerDatabaseDataguardRequest) failoverAutonomousContainerDatabaseDataguard} operation to fail over the standby Autonomous Container Database (ACD) to the primary ACD after the existing primary ACD fails or becomes unreachable.
10535
10543
  * <p>
10536
10544
  A failover can result in data loss, depending on the protection mode in effect at the time the primary Autonomous Container Database fails.
10537
10545
  *
@@ -10777,7 +10785,8 @@ class DatabaseClient {
10777
10785
  let headerParams = {
10778
10786
  "Content-Type": common.Constants.APPLICATION_JSON,
10779
10787
  "opc-request-id": generateAutonomousDatabaseWalletRequest.opcRequestId,
10780
- "opc-retry-token": generateAutonomousDatabaseWalletRequest.opcRetryToken
10788
+ "opc-retry-token": generateAutonomousDatabaseWalletRequest.opcRetryToken,
10789
+ "opc-dry-run": generateAutonomousDatabaseWalletRequest.opcDryRun
10781
10790
  };
10782
10791
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
10783
10792
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAutonomousDatabaseWalletRequest.retryConfiguration, specRetryConfiguration);
@@ -11022,7 +11031,7 @@ class DatabaseClient {
11022
11031
  });
11023
11032
  }
11024
11033
  /**
11025
- * Gets an Autonomous Container Database enabled with Autonomous Data Guard associated with the specified Autonomous Container Database.
11034
+ * **Deprecated.** Use the {@link #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest) getAutonomousContainerDatabase} operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
11026
11035
  *
11027
11036
  * This operation does not retry by default if the user has not defined a retry configuration.
11028
11037
  * @param GetAutonomousContainerDatabaseDataguardAssociationRequest
@@ -11277,7 +11286,7 @@ class DatabaseClient {
11277
11286
  });
11278
11287
  }
11279
11288
  /**
11280
- * Gets an Autonomous Data Guard-enabled database associated with the specified Autonomous Database.
11289
+ * *Deprecated.* Use the {@link #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest) getAutonomousContainerDatabase} operation to gets an Autonomous Data Guard-enabled database associated with the specified Autonomous Database.
11281
11290
  *
11282
11291
  * This operation does not retry by default if the user has not defined a retry configuration.
11283
11292
  * @param GetAutonomousDatabaseDataguardAssociationRequest
@@ -12169,7 +12178,7 @@ class DatabaseClient {
12169
12178
  if (this.logger)
12170
12179
  this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructureUnallocatedResources.");
12171
12180
  const operationName = "getCloudExadataInfrastructureUnallocatedResources";
12172
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructureUnallocatedResources/GetCloudExadataInfrastructureUnallocatedResources";
12181
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructureUnallocatedResources";
12173
12182
  const pathParams = {
12174
12183
  "{cloudExadataInfrastructureId}": getCloudExadataInfrastructureUnallocatedResourcesRequest.cloudExadataInfrastructureId
12175
12184
  };
@@ -15770,7 +15779,7 @@ class DatabaseClient {
15770
15779
  return oci_common_1.paginateResponses(request, req => this.listApplicationVips(req));
15771
15780
  }
15772
15781
  /**
15773
- * Gets a list of the Autonomous Container Databases with Autonomous Data Guard-enabled associated with the specified Autonomous Container Database.
15782
+ * **Deprecated.** Use the {@link #listAutonomousContainerDatabases(ListAutonomousContainerDatabasesRequest) listAutonomousContainerDatabases} operation to get a list of the Autonomous Container Databases (ACDs)with Autonomous Data Guard-enabled associated with the specified ACD.
15774
15783
  *
15775
15784
  * This operation does not retry by default if the user has not defined a retry configuration.
15776
15785
  * @param ListAutonomousContainerDatabaseDataguardAssociationsRequest
@@ -16388,7 +16397,7 @@ class DatabaseClient {
16388
16397
  return oci_common_1.paginateResponses(request, req => this.listAutonomousDatabaseClones(req));
16389
16398
  }
16390
16399
  /**
16391
- * Gets a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous Database.
16400
+ * *Deprecated.* Use the {@link #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest) getAutonomousContainerDatabase} operation to get a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous Database.
16392
16401
  *
16393
16402
  * This operation does not retry by default if the user has not defined a retry configuration.
16394
16403
  * @param ListAutonomousDatabaseDataguardAssociationsRequest
@@ -19473,7 +19482,7 @@ class DatabaseClient {
19473
19482
  return oci_common_1.paginateResponses(request, req => this.listDbHomes(req));
19474
19483
  }
19475
19484
  /**
19476
- * Lists the database nodes in the specified DB system and compartment. A database node is a server running database software.
19485
+ * Lists the database nodes in the specified DB system and compartment. In addition to the other required parameters, either '--db-system-id' or '--vm-cluster-id' also must be provided, depending on the service being accessed.
19477
19486
  *
19478
19487
  * This operation does not retry by default if the user has not defined a retry configuration.
19479
19488
  * @param ListDbNodesRequest
@@ -20093,7 +20102,8 @@ class DatabaseClient {
20093
20102
  const pathParams = {};
20094
20103
  const queryParams = {
20095
20104
  "storageManagement": listDbSystemStoragePerformancesRequest.storageManagement,
20096
- "shapeType": listDbSystemStoragePerformancesRequest.shapeType
20105
+ "shapeType": listDbSystemStoragePerformancesRequest.shapeType,
20106
+ "databaseEdition": listDbSystemStoragePerformancesRequest.databaseEdition
20097
20107
  };
20098
20108
  let headerParams = {
20099
20109
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -20251,6 +20261,112 @@ class DatabaseClient {
20251
20261
  listDbSystemUpgradeHistoryEntriesResponseIterator(request) {
20252
20262
  return oci_common_1.paginateResponses(request, req => this.listDbSystemUpgradeHistoryEntries(req));
20253
20263
  }
20264
+ /**
20265
+ * Lists the applicable upgrade components for a DB systems.
20266
+ *
20267
+ * This operation does not retry by default if the user has not defined a retry configuration.
20268
+ * @param ListDbSystemUpgradesRequest
20269
+ * @return ListDbSystemUpgradesResponse
20270
+ * @throws OciError when an error occurs
20271
+ * @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.
20272
+ */
20273
+ listDbSystemUpgrades(listDbSystemUpgradesRequest) {
20274
+ return __awaiter(this, void 0, void 0, function* () {
20275
+ if (this.logger)
20276
+ this.logger.debug("Calling operation DatabaseClient#listDbSystemUpgrades.");
20277
+ const operationName = "listDbSystemUpgrades";
20278
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystemUpgradeSummary/ListDbSystemUpgrades";
20279
+ const pathParams = {
20280
+ "{dbSystemId}": listDbSystemUpgradesRequest.dbSystemId
20281
+ };
20282
+ const queryParams = {
20283
+ "limit": listDbSystemUpgradesRequest.limit,
20284
+ "page": listDbSystemUpgradesRequest.page
20285
+ };
20286
+ let headerParams = {
20287
+ "Content-Type": common.Constants.APPLICATION_JSON
20288
+ };
20289
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
20290
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemUpgradesRequest.retryConfiguration, specRetryConfiguration);
20291
+ if (this.logger)
20292
+ retrier.logger = this.logger;
20293
+ const request = yield oci_common_2.composeRequest({
20294
+ baseEndpoint: this._endpoint,
20295
+ defaultHeaders: this._defaultHeaders,
20296
+ path: "/dbSystems/{dbSystemId}/dbSystemUpgrades",
20297
+ method: "GET",
20298
+ pathParams: pathParams,
20299
+ headerParams: headerParams,
20300
+ queryParams: queryParams
20301
+ });
20302
+ try {
20303
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
20304
+ const sdkResponse = oci_common_2.composeResponse({
20305
+ responseObject: {},
20306
+ body: yield response.json(),
20307
+ bodyKey: "items",
20308
+ bodyModel: model.DbSystemUpgradeSummary,
20309
+ type: "Array<model.DbSystemUpgradeSummary>",
20310
+ responseHeaders: [
20311
+ {
20312
+ value: response.headers.get("opc-request-id"),
20313
+ key: "opcRequestId",
20314
+ dataType: "string"
20315
+ },
20316
+ {
20317
+ value: response.headers.get("opc-next-page"),
20318
+ key: "opcNextPage",
20319
+ dataType: "string"
20320
+ }
20321
+ ]
20322
+ });
20323
+ return sdkResponse;
20324
+ }
20325
+ catch (err) {
20326
+ throw err;
20327
+ }
20328
+ });
20329
+ }
20330
+ /**
20331
+ * NOTE: This function is deprecated in favor of listDbSystemUpgradesRecordIterator function.
20332
+ * Creates a new async iterator which will iterate over the models.DbSystemUpgradeSummary objects
20333
+ * contained in responses from the listDbSystemUpgrades operation. This iterator will fetch more data from the
20334
+ * server as needed.
20335
+ *
20336
+ * @param request a request which can be sent to the service operation
20337
+ */
20338
+ listAllDbSystemUpgrades(request) {
20339
+ return oci_common_1.paginateRecords(request, req => this.listDbSystemUpgrades(req));
20340
+ }
20341
+ /**
20342
+ * NOTE: This function is deprecated in favor of listDbSystemUpgradesResponseIterator function.
20343
+ * Creates a new async iterator which will iterate over the responses received from the listDbSystemUpgrades operation. This iterator
20344
+ * will fetch more data from the server as needed.
20345
+ *
20346
+ * @param request a request which can be sent to the service operation
20347
+ */
20348
+ listAllDbSystemUpgradesResponses(request) {
20349
+ return oci_common_1.paginateResponses(request, req => this.listDbSystemUpgrades(req));
20350
+ }
20351
+ /**
20352
+ * Creates a new async iterator which will iterate over the models.DbSystemUpgradeSummary objects
20353
+ * contained in responses from the listDbSystemUpgrades operation. This iterator will fetch more data from the
20354
+ * server as needed.
20355
+ *
20356
+ * @param request a request which can be sent to the service operation
20357
+ */
20358
+ listDbSystemUpgradesRecordIterator(request) {
20359
+ return oci_common_1.paginateRecords(request, req => this.listDbSystemUpgrades(req));
20360
+ }
20361
+ /**
20362
+ * Creates a new async iterator which will iterate over the responses received from the listDbSystemUpgrades operation. This iterator
20363
+ * will fetch more data from the server as needed.
20364
+ *
20365
+ * @param request a request which can be sent to the service operation
20366
+ */
20367
+ listDbSystemUpgradesResponseIterator(request) {
20368
+ return oci_common_1.paginateResponses(request, req => this.listDbSystemUpgrades(req));
20369
+ }
20254
20370
  /**
20255
20371
  * 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
20372
  * <p>
@@ -24613,7 +24729,8 @@ class DatabaseClient {
24613
24729
  const queryParams = {};
24614
24730
  let headerParams = {
24615
24731
  "Content-Type": common.Constants.APPLICATION_JSON,
24616
- "opc-request-id": registerAutonomousDatabaseDataSafeRequest.opcRequestId
24732
+ "opc-request-id": registerAutonomousDatabaseDataSafeRequest.opcRequestId,
24733
+ "opc-dry-run": registerAutonomousDatabaseDataSafeRequest.opcDryRun
24617
24734
  };
24618
24735
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
24619
24736
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, registerAutonomousDatabaseDataSafeRequest.retryConfiguration, specRetryConfiguration);
@@ -24654,7 +24771,8 @@ class DatabaseClient {
24654
24771
  });
24655
24772
  }
24656
24773
  /**
24657
- * Reinstates a disabled standby Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter, to an active standby Autonomous Container Database.
24774
+ * Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see
24775
+ * [Reinstate the Disabled Standby in an Autonomous Data Guard Configuration](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-B5C6A90D-72E3-4F32-988D-8AECC0A2D947).
24658
24776
  *
24659
24777
  * This operation does not retry by default if the user has not defined a retry configuration.
24660
24778
  * @param ReinstateAutonomousContainerDatabaseDataguardRequest
@@ -24724,7 +24842,7 @@ class DatabaseClient {
24724
24842
  });
24725
24843
  }
24726
24844
  /**
24727
- * Reinstates a disabled standby Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter, to an active standby Autonomous Container Database.
24845
+ * **Deprecated.** Use the {@link #reinstateAutonomousContainerDatabaseDataguard(ReinstateAutonomousContainerDatabaseDataguardRequest) reinstateAutonomousContainerDatabaseDataguard} operation to reinstate a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD.
24728
24846
  *
24729
24847
  * This operation does not retry by default if the user has not defined a retry configuration.
24730
24848
  * @param ReinstateAutonomousContainerDatabaseDataguardAssociationRequest
@@ -25613,7 +25731,8 @@ class DatabaseClient {
25613
25731
  const queryParams = {};
25614
25732
  let headerParams = {
25615
25733
  "Content-Type": common.Constants.APPLICATION_JSON,
25616
- "if-match": restartAutonomousDatabaseRequest.ifMatch
25734
+ "if-match": restartAutonomousDatabaseRequest.ifMatch,
25735
+ "opc-dry-run": restartAutonomousDatabaseRequest.opcDryRun
25617
25736
  };
25618
25737
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
25619
25738
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -25682,7 +25801,8 @@ class DatabaseClient {
25682
25801
  const queryParams = {};
25683
25802
  let headerParams = {
25684
25803
  "Content-Type": common.Constants.APPLICATION_JSON,
25685
- "if-match": restoreAutonomousDatabaseRequest.ifMatch
25804
+ "if-match": restoreAutonomousDatabaseRequest.ifMatch,
25805
+ "opc-dry-run": restoreAutonomousDatabaseRequest.opcDryRun
25686
25806
  };
25687
25807
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
25688
25808
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -26740,7 +26860,8 @@ class DatabaseClient {
26740
26860
  const queryParams = {};
26741
26861
  let headerParams = {
26742
26862
  "Content-Type": common.Constants.APPLICATION_JSON,
26743
- "if-match": shrinkAutonomousDatabaseRequest.ifMatch
26863
+ "if-match": shrinkAutonomousDatabaseRequest.ifMatch,
26864
+ "opc-dry-run": shrinkAutonomousDatabaseRequest.opcDryRun
26744
26865
  };
26745
26866
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
26746
26867
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, shrinkAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -26809,7 +26930,8 @@ class DatabaseClient {
26809
26930
  const queryParams = {};
26810
26931
  let headerParams = {
26811
26932
  "Content-Type": common.Constants.APPLICATION_JSON,
26812
- "if-match": startAutonomousDatabaseRequest.ifMatch
26933
+ "if-match": startAutonomousDatabaseRequest.ifMatch,
26934
+ "opc-dry-run": startAutonomousDatabaseRequest.opcDryRun
26813
26935
  };
26814
26936
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
26815
26937
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -26949,7 +27071,8 @@ class DatabaseClient {
26949
27071
  let headerParams = {
26950
27072
  "Content-Type": common.Constants.APPLICATION_JSON,
26951
27073
  "if-match": stopAutonomousDatabaseRequest.ifMatch,
26952
- "opc-request-id": stopAutonomousDatabaseRequest.opcRequestId
27074
+ "opc-request-id": stopAutonomousDatabaseRequest.opcRequestId,
27075
+ "opc-dry-run": stopAutonomousDatabaseRequest.opcDryRun
26953
27076
  };
26954
27077
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
26955
27078
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -27145,7 +27268,8 @@ class DatabaseClient {
27145
27268
  });
27146
27269
  }
27147
27270
  /**
27148
- * Switchover Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter, to an active standby Autonomous Container Database.
27271
+ * Switchover an Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD. This standby ACD will become the new primary ACD when the switchover completes successfully. For more information, see
27272
+ * [Switch Roles in an Autonomous Data Guard Configuration](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-A2AB31F6-D52D-493C-9BA7-D87A0F17078F).
27149
27273
  *
27150
27274
  * This operation does not retry by default if the user has not defined a retry configuration.
27151
27275
  * @param SwitchoverAutonomousContainerDatabaseDataguardRequest
@@ -27215,7 +27339,7 @@ class DatabaseClient {
27215
27339
  });
27216
27340
  }
27217
27341
  /**
27218
- * Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association to standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role.
27342
+ * **Deprecated.** Use the {@link #switchoverAutonomousContainerDatabaseDataguard(SwitchoverAutonomousContainerDatabaseDataguardRequest) switchoverAutonomousContainerDatabaseDataguard} operation to switches over the primary Autonomous Container Database (ACD) of an Autonomous Data Guard peer association to standby role. The standby ACD associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary ACD role.
27219
27343
  * <p>
27220
27344
  A switchover incurs no data loss.
27221
27345
  *
@@ -27316,7 +27440,8 @@ class DatabaseClient {
27316
27440
  "Content-Type": common.Constants.APPLICATION_JSON,
27317
27441
  "if-match": switchoverAutonomousDatabaseRequest.ifMatch,
27318
27442
  "opc-retry-token": switchoverAutonomousDatabaseRequest.opcRetryToken,
27319
- "opc-request-id": switchoverAutonomousDatabaseRequest.opcRequestId
27443
+ "opc-request-id": switchoverAutonomousDatabaseRequest.opcRequestId,
27444
+ "opc-dry-run": switchoverAutonomousDatabaseRequest.opcDryRun
27320
27445
  };
27321
27446
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
27322
27447
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, switchoverAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -27691,7 +27816,7 @@ class DatabaseClient {
27691
27816
  });
27692
27817
  }
27693
27818
  /**
27694
- * Update Autonomous Data Guard association.
27819
+ * **Deprecated.** Use the {@link #editAutonomousContainerDatabaseDataguard(EditAutonomousContainerDatabaseDataguardRequest) editAutonomousContainerDatabaseDataguard} operation to update an Autonomous Data Guard association.
27695
27820
  *
27696
27821
  * This operation does not retry by default if the user has not defined a retry configuration.
27697
27822
  * @param UpdateAutonomousContainerDatabaseDataguardAssociationRequest
@@ -27784,7 +27909,8 @@ class DatabaseClient {
27784
27909
  let headerParams = {
27785
27910
  "Content-Type": common.Constants.APPLICATION_JSON,
27786
27911
  "if-match": updateAutonomousDatabaseRequest.ifMatch,
27787
- "opc-request-id": updateAutonomousDatabaseRequest.opcRequestId
27912
+ "opc-request-id": updateAutonomousDatabaseRequest.opcRequestId,
27913
+ "opc-dry-run": updateAutonomousDatabaseRequest.opcDryRun
27788
27914
  };
27789
27915
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
27790
27916
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseRequest.retryConfiguration, specRetryConfiguration);
@@ -27855,7 +27981,8 @@ class DatabaseClient {
27855
27981
  let headerParams = {
27856
27982
  "Content-Type": common.Constants.APPLICATION_JSON,
27857
27983
  "if-match": updateAutonomousDatabaseBackupRequest.ifMatch,
27858
- "opc-request-id": updateAutonomousDatabaseBackupRequest.opcRequestId
27984
+ "opc-request-id": updateAutonomousDatabaseBackupRequest.opcRequestId,
27985
+ "opc-dry-run": updateAutonomousDatabaseBackupRequest.opcDryRun
27859
27986
  };
27860
27987
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
27861
27988
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
@@ -27923,7 +28050,8 @@ class DatabaseClient {
27923
28050
  const queryParams = {};
27924
28051
  let headerParams = {
27925
28052
  "Content-Type": common.Constants.APPLICATION_JSON,
27926
- "opc-request-id": updateAutonomousDatabaseRegionalWalletRequest.opcRequestId
28053
+ "opc-request-id": updateAutonomousDatabaseRegionalWalletRequest.opcRequestId,
28054
+ "opc-dry-run": updateAutonomousDatabaseRegionalWalletRequest.opcDryRun
27927
28055
  };
27928
28056
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
27929
28057
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseRegionalWalletRequest.retryConfiguration, specRetryConfiguration);
@@ -28049,7 +28177,8 @@ class DatabaseClient {
28049
28177
  const queryParams = {};
28050
28178
  let headerParams = {
28051
28179
  "Content-Type": common.Constants.APPLICATION_JSON,
28052
- "opc-request-id": updateAutonomousDatabaseWalletRequest.opcRequestId
28180
+ "opc-request-id": updateAutonomousDatabaseWalletRequest.opcRequestId,
28181
+ "opc-dry-run": updateAutonomousDatabaseWalletRequest.opcDryRun
28053
28182
  };
28054
28183
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
28055
28184
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutonomousDatabaseWalletRequest.retryConfiguration, specRetryConfiguration);