oci-database 2.137.0 → 2.138.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 (184) hide show
  1. package/lib/client.d.ts +216 -0
  2. package/lib/client.js +1091 -180
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +84 -0
  5. package/lib/database-waiter.js +144 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/basecc-vm-cluster-summary.d.ts +227 -0
  8. package/lib/model/basecc-vm-cluster-summary.js +112 -0
  9. package/lib/model/basecc-vm-cluster-summary.js.map +1 -0
  10. package/lib/model/basecc-vm-cluster-update-details.d.ts +40 -0
  11. package/lib/model/basecc-vm-cluster-update-details.js +36 -0
  12. package/lib/model/basecc-vm-cluster-update-details.js.map +1 -0
  13. package/lib/model/basecc-vm-cluster-update-history-entry-summary.d.ts +89 -0
  14. package/lib/model/basecc-vm-cluster-update-history-entry-summary.js +62 -0
  15. package/lib/model/basecc-vm-cluster-update-history-entry-summary.js.map +1 -0
  16. package/lib/model/basecc-vm-cluster-update-history-entry.d.ts +89 -0
  17. package/lib/model/basecc-vm-cluster-update-history-entry.js +62 -0
  18. package/lib/model/basecc-vm-cluster-update-history-entry.js.map +1 -0
  19. package/lib/model/basecc-vm-cluster-update-summary.d.ts +104 -0
  20. package/lib/model/basecc-vm-cluster-update-summary.js +74 -0
  21. package/lib/model/basecc-vm-cluster-update-summary.js.map +1 -0
  22. package/lib/model/basecc-vm-cluster-update.d.ts +100 -0
  23. package/lib/model/basecc-vm-cluster-update.js +74 -0
  24. package/lib/model/basecc-vm-cluster-update.js.map +1 -0
  25. package/lib/model/basecc-vm-cluster.d.ts +227 -0
  26. package/lib/model/basecc-vm-cluster.js +112 -0
  27. package/lib/model/basecc-vm-cluster.js.map +1 -0
  28. package/lib/model/change-basecc-vm-cluster-compartment-details.d.ts +27 -0
  29. package/lib/model/change-basecc-vm-cluster-compartment-details.js +30 -0
  30. package/lib/model/change-basecc-vm-cluster-compartment-details.js.map +1 -0
  31. package/lib/model/cloud-vm-cluster-summary.d.ts +5 -0
  32. package/lib/model/cloud-vm-cluster-summary.js +6 -0
  33. package/lib/model/cloud-vm-cluster-summary.js.map +1 -1
  34. package/lib/model/cloud-vm-cluster.d.ts +5 -0
  35. package/lib/model/cloud-vm-cluster.js +6 -0
  36. package/lib/model/cloud-vm-cluster.js.map +1 -1
  37. package/lib/model/create-basecc-vm-cluster-details.d.ts +143 -0
  38. package/lib/model/create-basecc-vm-cluster-details.js +82 -0
  39. package/lib/model/create-basecc-vm-cluster-details.js.map +1 -0
  40. package/lib/model/create-database-software-image-details.d.ts +2 -1
  41. package/lib/model/create-database-software-image-details.js +1 -0
  42. package/lib/model/create-database-software-image-details.js.map +1 -1
  43. package/lib/model/database-software-image-summary.d.ts +1 -0
  44. package/lib/model/database-software-image-summary.js +1 -0
  45. package/lib/model/database-software-image-summary.js.map +1 -1
  46. package/lib/model/database-software-image.d.ts +1 -0
  47. package/lib/model/database-software-image.js +1 -0
  48. package/lib/model/database-software-image.js.map +1 -1
  49. package/lib/model/exadata-live-image-version-details.d.ts +50 -0
  50. package/lib/model/exadata-live-image-version-details.js +41 -0
  51. package/lib/model/exadata-live-image-version-details.js.map +1 -0
  52. package/lib/model/exadb-vm-cluster-summary.d.ts +19 -0
  53. package/lib/model/exadb-vm-cluster-summary.js +22 -0
  54. package/lib/model/exadb-vm-cluster-summary.js.map +1 -1
  55. package/lib/model/exadb-vm-cluster.d.ts +19 -0
  56. package/lib/model/exadb-vm-cluster.js +22 -0
  57. package/lib/model/exadb-vm-cluster.js.map +1 -1
  58. package/lib/model/index.d.ts +26 -0
  59. package/lib/model/index.js +37 -11
  60. package/lib/model/index.js.map +1 -1
  61. package/lib/model/register-exadb-vm-cluster-pkcs-details.d.ts +33 -0
  62. package/lib/model/register-exadb-vm-cluster-pkcs-details.js +37 -0
  63. package/lib/model/register-exadb-vm-cluster-pkcs-details.js.map +1 -0
  64. package/lib/model/unregister-exadb-vm-cluster-pkcs-details.d.ts +33 -0
  65. package/lib/model/unregister-exadb-vm-cluster-pkcs-details.js +37 -0
  66. package/lib/model/unregister-exadb-vm-cluster-pkcs-details.js.map +1 -0
  67. package/lib/model/update-basecc-vm-cluster-details.d.ts +88 -0
  68. package/lib/model/update-basecc-vm-cluster-details.js +75 -0
  69. package/lib/model/update-basecc-vm-cluster-details.js.map +1 -0
  70. package/lib/model/update-details.d.ts +11 -0
  71. package/lib/model/update-details.js +8 -0
  72. package/lib/model/update-details.js.map +1 -1
  73. package/lib/model/update-history-entry-summary.d.ts +18 -0
  74. package/lib/model/update-history-entry-summary.js +15 -0
  75. package/lib/model/update-history-entry-summary.js.map +1 -1
  76. package/lib/model/update-history-entry.d.ts +18 -0
  77. package/lib/model/update-history-entry.js +15 -0
  78. package/lib/model/update-history-entry.js.map +1 -1
  79. package/lib/model/update-summary.d.ts +36 -0
  80. package/lib/model/update-summary.js +26 -0
  81. package/lib/model/update-summary.js.map +1 -1
  82. package/lib/model/update.d.ts +36 -0
  83. package/lib/model/update.js +26 -0
  84. package/lib/model/update.js.map +1 -1
  85. package/lib/model/vm-cluster-summary.d.ts +5 -0
  86. package/lib/model/vm-cluster-summary.js +6 -0
  87. package/lib/model/vm-cluster-summary.js.map +1 -1
  88. package/lib/model/vm-cluster-update-details.d.ts +11 -0
  89. package/lib/model/vm-cluster-update-details.js +8 -0
  90. package/lib/model/vm-cluster-update-details.js.map +1 -1
  91. package/lib/model/vm-cluster-update-history-entry-summary.d.ts +18 -0
  92. package/lib/model/vm-cluster-update-history-entry-summary.js +15 -0
  93. package/lib/model/vm-cluster-update-history-entry-summary.js.map +1 -1
  94. package/lib/model/vm-cluster-update-history-entry.d.ts +18 -0
  95. package/lib/model/vm-cluster-update-history-entry.js +15 -0
  96. package/lib/model/vm-cluster-update-history-entry.js.map +1 -1
  97. package/lib/model/vm-cluster-update-summary.d.ts +36 -0
  98. package/lib/model/vm-cluster-update-summary.js +26 -0
  99. package/lib/model/vm-cluster-update-summary.js.map +1 -1
  100. package/lib/model/vm-cluster-update.d.ts +36 -0
  101. package/lib/model/vm-cluster-update.js +26 -0
  102. package/lib/model/vm-cluster-update.js.map +1 -1
  103. package/lib/model/vm-cluster.d.ts +5 -0
  104. package/lib/model/vm-cluster.js +6 -0
  105. package/lib/model/vm-cluster.js.map +1 -1
  106. package/lib/request/change-basecc-vm-cluster-compartment-request.d.ts +48 -0
  107. package/lib/request/change-basecc-vm-cluster-compartment-request.js +15 -0
  108. package/lib/request/change-basecc-vm-cluster-compartment-request.js.map +1 -0
  109. package/lib/request/create-basecc-vm-cluster-request.d.ts +38 -0
  110. package/lib/request/create-basecc-vm-cluster-request.js +15 -0
  111. package/lib/request/create-basecc-vm-cluster-request.js.map +1 -0
  112. package/lib/request/delete-basecc-vm-cluster-request.d.ts +34 -0
  113. package/lib/request/delete-basecc-vm-cluster-request.js +15 -0
  114. package/lib/request/delete-basecc-vm-cluster-request.js.map +1 -0
  115. package/lib/request/get-basecc-vm-cluster-request.d.ts +27 -0
  116. package/lib/request/get-basecc-vm-cluster-request.js +15 -0
  117. package/lib/request/get-basecc-vm-cluster-request.js.map +1 -0
  118. package/lib/request/get-basecc-vm-cluster-update-history-entry-request.d.ts +31 -0
  119. package/lib/request/get-basecc-vm-cluster-update-history-entry-request.js +15 -0
  120. package/lib/request/get-basecc-vm-cluster-update-history-entry-request.js.map +1 -0
  121. package/lib/request/get-basecc-vm-cluster-update-request.d.ts +31 -0
  122. package/lib/request/get-basecc-vm-cluster-update-request.js +15 -0
  123. package/lib/request/get-basecc-vm-cluster-update-request.js.map +1 -0
  124. package/lib/request/index.d.ts +24 -0
  125. package/lib/request/index.js +8 -2
  126. package/lib/request/index.js.map +1 -1
  127. package/lib/request/list-basecc-vm-cluster-update-history-entries-request.d.ts +50 -0
  128. package/lib/request/list-basecc-vm-cluster-update-history-entries-request.js +25 -0
  129. package/lib/request/list-basecc-vm-cluster-update-history-entries-request.js.map +1 -0
  130. package/lib/request/list-basecc-vm-cluster-updates-request.d.ts +50 -0
  131. package/lib/request/list-basecc-vm-cluster-updates-request.js +25 -0
  132. package/lib/request/list-basecc-vm-cluster-updates-request.js.map +1 -0
  133. package/lib/request/list-basecc-vm-clusters-request.d.ts +74 -0
  134. package/lib/request/list-basecc-vm-clusters-request.js +29 -0
  135. package/lib/request/list-basecc-vm-clusters-request.js.map +1 -0
  136. package/lib/request/list-gi-version-minor-versions-request.d.ts +4 -0
  137. package/lib/request/list-gi-version-minor-versions-request.js.map +1 -1
  138. package/lib/request/register-exadb-vm-cluster-pkcs-request.d.ts +48 -0
  139. package/lib/request/register-exadb-vm-cluster-pkcs-request.js +15 -0
  140. package/lib/request/register-exadb-vm-cluster-pkcs-request.js.map +1 -0
  141. package/lib/request/unregister-exadb-vm-cluster-pkcs-request.d.ts +48 -0
  142. package/lib/request/unregister-exadb-vm-cluster-pkcs-request.js +15 -0
  143. package/lib/request/unregister-exadb-vm-cluster-pkcs-request.js.map +1 -0
  144. package/lib/request/update-basecc-vm-cluster-request.d.ts +39 -0
  145. package/lib/request/update-basecc-vm-cluster-request.js +15 -0
  146. package/lib/request/update-basecc-vm-cluster-request.js.map +1 -0
  147. package/lib/response/change-basecc-vm-cluster-compartment-response.d.ts +24 -0
  148. package/lib/response/change-basecc-vm-cluster-compartment-response.js +15 -0
  149. package/lib/response/change-basecc-vm-cluster-compartment-response.js.map +1 -0
  150. package/lib/response/create-basecc-vm-cluster-response.d.ts +34 -0
  151. package/lib/response/create-basecc-vm-cluster-response.js +15 -0
  152. package/lib/response/create-basecc-vm-cluster-response.js.map +1 -0
  153. package/lib/response/delete-basecc-vm-cluster-response.d.ts +25 -0
  154. package/lib/response/delete-basecc-vm-cluster-response.js +15 -0
  155. package/lib/response/delete-basecc-vm-cluster-response.js.map +1 -0
  156. package/lib/response/get-basecc-vm-cluster-response.d.ts +29 -0
  157. package/lib/response/get-basecc-vm-cluster-response.js +15 -0
  158. package/lib/response/get-basecc-vm-cluster-response.js.map +1 -0
  159. package/lib/response/get-basecc-vm-cluster-update-history-entry-response.d.ts +29 -0
  160. package/lib/response/get-basecc-vm-cluster-update-history-entry-response.js +15 -0
  161. package/lib/response/get-basecc-vm-cluster-update-history-entry-response.js.map +1 -0
  162. package/lib/response/get-basecc-vm-cluster-update-response.d.ts +25 -0
  163. package/lib/response/get-basecc-vm-cluster-update-response.js +15 -0
  164. package/lib/response/get-basecc-vm-cluster-update-response.js.map +1 -0
  165. package/lib/response/index.d.ts +24 -0
  166. package/lib/response/list-basecc-vm-cluster-update-history-entries-response.d.ts +33 -0
  167. package/lib/response/list-basecc-vm-cluster-update-history-entries-response.js +15 -0
  168. package/lib/response/list-basecc-vm-cluster-update-history-entries-response.js.map +1 -0
  169. package/lib/response/list-basecc-vm-cluster-updates-response.d.ts +33 -0
  170. package/lib/response/list-basecc-vm-cluster-updates-response.js +15 -0
  171. package/lib/response/list-basecc-vm-cluster-updates-response.js.map +1 -0
  172. package/lib/response/list-basecc-vm-clusters-response.d.ts +33 -0
  173. package/lib/response/list-basecc-vm-clusters-response.js +15 -0
  174. package/lib/response/list-basecc-vm-clusters-response.js.map +1 -0
  175. package/lib/response/register-exadb-vm-cluster-pkcs-response.d.ts +25 -0
  176. package/lib/response/register-exadb-vm-cluster-pkcs-response.js +15 -0
  177. package/lib/response/register-exadb-vm-cluster-pkcs-response.js.map +1 -0
  178. package/lib/response/unregister-exadb-vm-cluster-pkcs-response.d.ts +25 -0
  179. package/lib/response/unregister-exadb-vm-cluster-pkcs-response.js +15 -0
  180. package/lib/response/unregister-exadb-vm-cluster-pkcs-response.js.map +1 -0
  181. package/lib/response/update-basecc-vm-cluster-response.d.ts +34 -0
  182. package/lib/response/update-basecc-vm-cluster-response.js +15 -0
  183. package/lib/response/update-basecc-vm-cluster-response.js.map +1 -0
  184. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -1456,6 +1456,69 @@ class DatabaseClient {
1456
1456
  }
1457
1457
  });
1458
1458
  }
1459
+ /**
1460
+ * Moves a BaseDB-C@C VM cluster and its dependent resources to another compartment. Applies to Base Database Service on Cloud@Customer instances only.
1461
+ *
1462
+ * This operation does not retry by default if the user has not defined a retry configuration.
1463
+ * @param ChangeBaseccVmClusterCompartmentRequest
1464
+ * @return ChangeBaseccVmClusterCompartmentResponse
1465
+ * @throws OciError when an error occurs
1466
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeBaseccVmClusterCompartment.ts.html |here} to see how to use ChangeBaseccVmClusterCompartment API.
1467
+ */
1468
+ changeBaseccVmClusterCompartment(changeBaseccVmClusterCompartmentRequest) {
1469
+ return __awaiter(this, void 0, void 0, function* () {
1470
+ if (this.logger)
1471
+ this.logger.debug("Calling operation DatabaseClient#changeBaseccVmClusterCompartment.");
1472
+ const operationName = "changeBaseccVmClusterCompartment";
1473
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/ChangeBaseccVmClusterCompartment";
1474
+ const pathParams = {
1475
+ "{baseccVmClusterId}": changeBaseccVmClusterCompartmentRequest.baseccVmClusterId
1476
+ };
1477
+ const queryParams = {};
1478
+ let headerParams = {
1479
+ "Content-Type": common.Constants.APPLICATION_JSON,
1480
+ "opc-retry-token": changeBaseccVmClusterCompartmentRequest.opcRetryToken,
1481
+ "opc-request-id": changeBaseccVmClusterCompartmentRequest.opcRequestId,
1482
+ "if-match": changeBaseccVmClusterCompartmentRequest.ifMatch
1483
+ };
1484
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1485
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBaseccVmClusterCompartmentRequest.retryConfiguration, specRetryConfiguration);
1486
+ if (this.logger)
1487
+ retrier.logger = this.logger;
1488
+ const request = yield oci_common_2.composeRequest({
1489
+ baseEndpoint: this._endpoint,
1490
+ defaultHeaders: this._defaultHeaders,
1491
+ path: "/baseccVmClusters/{baseccVmClusterId}/actions/changeCompartment",
1492
+ method: "POST",
1493
+ bodyContent: common.ObjectSerializer.serialize(changeBaseccVmClusterCompartmentRequest.changeBaseccVmClusterCompartmentDetails, "ChangeBaseccVmClusterCompartmentDetails", model.ChangeBaseccVmClusterCompartmentDetails.getJsonObj),
1494
+ pathParams: pathParams,
1495
+ headerParams: headerParams,
1496
+ queryParams: queryParams
1497
+ });
1498
+ try {
1499
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1500
+ const sdkResponse = oci_common_2.composeResponse({
1501
+ responseObject: {},
1502
+ responseHeaders: [
1503
+ {
1504
+ value: response.headers.get("opc-work-request-id"),
1505
+ key: "opcWorkRequestId",
1506
+ dataType: "string"
1507
+ },
1508
+ {
1509
+ value: response.headers.get("opc-request-id"),
1510
+ key: "opcRequestId",
1511
+ dataType: "string"
1512
+ }
1513
+ ]
1514
+ });
1515
+ return sdkResponse;
1516
+ }
1517
+ catch (err) {
1518
+ throw err;
1519
+ }
1520
+ });
1521
+ }
1459
1522
  /**
1460
1523
  * Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to another compartment. For Exadata Cloud@Customer systems, see {@link #changeAutonomousVmClusterCompartment(ChangeAutonomousVmClusterCompartmentRequest) changeAutonomousVmClusterCompartment}.
1461
1524
  *
@@ -4690,6 +4753,75 @@ class DatabaseClient {
4690
4753
  }
4691
4754
  });
4692
4755
  }
4756
+ /**
4757
+ * Creates a BaseDB-C@C VM cluster.
4758
+ *
4759
+ * This operation does not retry by default if the user has not defined a retry configuration.
4760
+ * @param CreateBaseccVmClusterRequest
4761
+ * @return CreateBaseccVmClusterResponse
4762
+ * @throws OciError when an error occurs
4763
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateBaseccVmCluster.ts.html |here} to see how to use CreateBaseccVmCluster API.
4764
+ */
4765
+ createBaseccVmCluster(createBaseccVmClusterRequest) {
4766
+ return __awaiter(this, void 0, void 0, function* () {
4767
+ if (this.logger)
4768
+ this.logger.debug("Calling operation DatabaseClient#createBaseccVmCluster.");
4769
+ const operationName = "createBaseccVmCluster";
4770
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/CreateBaseccVmCluster";
4771
+ const pathParams = {};
4772
+ const queryParams = {};
4773
+ let headerParams = {
4774
+ "Content-Type": common.Constants.APPLICATION_JSON,
4775
+ "opc-retry-token": createBaseccVmClusterRequest.opcRetryToken,
4776
+ "opc-request-id": createBaseccVmClusterRequest.opcRequestId
4777
+ };
4778
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4779
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
4780
+ if (this.logger)
4781
+ retrier.logger = this.logger;
4782
+ const request = yield oci_common_2.composeRequest({
4783
+ baseEndpoint: this._endpoint,
4784
+ defaultHeaders: this._defaultHeaders,
4785
+ path: "/baseccVmClusters",
4786
+ method: "POST",
4787
+ bodyContent: common.ObjectSerializer.serialize(createBaseccVmClusterRequest.createBaseccVmClusterDetails, "CreateBaseccVmClusterDetails", model.CreateBaseccVmClusterDetails.getJsonObj),
4788
+ pathParams: pathParams,
4789
+ headerParams: headerParams,
4790
+ queryParams: queryParams
4791
+ });
4792
+ try {
4793
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4794
+ const sdkResponse = oci_common_2.composeResponse({
4795
+ responseObject: {},
4796
+ body: yield response.json(),
4797
+ bodyKey: "baseccVmCluster",
4798
+ bodyModel: model.BaseccVmCluster,
4799
+ type: "model.BaseccVmCluster",
4800
+ responseHeaders: [
4801
+ {
4802
+ value: response.headers.get("opc-work-request-id"),
4803
+ key: "opcWorkRequestId",
4804
+ dataType: "string"
4805
+ },
4806
+ {
4807
+ value: response.headers.get("etag"),
4808
+ key: "etag",
4809
+ dataType: "string"
4810
+ },
4811
+ {
4812
+ value: response.headers.get("opc-request-id"),
4813
+ key: "opcRequestId",
4814
+ dataType: "string"
4815
+ }
4816
+ ]
4817
+ });
4818
+ return sdkResponse;
4819
+ }
4820
+ catch (err) {
4821
+ throw err;
4822
+ }
4823
+ });
4824
+ }
4693
4825
  /**
4694
4826
  * Creates an Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {@link #createAutonomousVmCluster(CreateAutonomousVmClusterRequest) createAutonomousVmCluster}.
4695
4827
  *
@@ -7345,6 +7477,67 @@ class DatabaseClient {
7345
7477
  }
7346
7478
  });
7347
7479
  }
7480
+ /**
7481
+ * Deletes the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
7482
+ *
7483
+ * This operation does not retry by default if the user has not defined a retry configuration.
7484
+ * @param DeleteBaseccVmClusterRequest
7485
+ * @return DeleteBaseccVmClusterResponse
7486
+ * @throws OciError when an error occurs
7487
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteBaseccVmCluster.ts.html |here} to see how to use DeleteBaseccVmCluster API.
7488
+ */
7489
+ deleteBaseccVmCluster(deleteBaseccVmClusterRequest) {
7490
+ return __awaiter(this, void 0, void 0, function* () {
7491
+ if (this.logger)
7492
+ this.logger.debug("Calling operation DatabaseClient#deleteBaseccVmCluster.");
7493
+ const operationName = "deleteBaseccVmCluster";
7494
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/DeleteBaseccVmCluster";
7495
+ const pathParams = {
7496
+ "{baseccVmClusterId}": deleteBaseccVmClusterRequest.baseccVmClusterId
7497
+ };
7498
+ const queryParams = {};
7499
+ let headerParams = {
7500
+ "Content-Type": common.Constants.APPLICATION_JSON,
7501
+ "if-match": deleteBaseccVmClusterRequest.ifMatch,
7502
+ "opc-request-id": deleteBaseccVmClusterRequest.opcRequestId
7503
+ };
7504
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
7505
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
7506
+ if (this.logger)
7507
+ retrier.logger = this.logger;
7508
+ const request = yield oci_common_2.composeRequest({
7509
+ baseEndpoint: this._endpoint,
7510
+ defaultHeaders: this._defaultHeaders,
7511
+ path: "/baseccVmClusters/{baseccVmClusterId}",
7512
+ method: "DELETE",
7513
+ pathParams: pathParams,
7514
+ headerParams: headerParams,
7515
+ queryParams: queryParams
7516
+ });
7517
+ try {
7518
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
7519
+ const sdkResponse = oci_common_2.composeResponse({
7520
+ responseObject: {},
7521
+ responseHeaders: [
7522
+ {
7523
+ value: response.headers.get("opc-work-request-id"),
7524
+ key: "opcWorkRequestId",
7525
+ dataType: "string"
7526
+ },
7527
+ {
7528
+ value: response.headers.get("opc-request-id"),
7529
+ key: "opcRequestId",
7530
+ dataType: "string"
7531
+ }
7532
+ ]
7533
+ });
7534
+ return sdkResponse;
7535
+ }
7536
+ catch (err) {
7537
+ throw err;
7538
+ }
7539
+ });
7540
+ }
7348
7541
  /**
7349
7542
  * Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {@link #deleteAutonomousVmCluster(DeleteAutonomousVmClusterRequest) deleteAutonomousVmCluster}.
7350
7543
  *
@@ -12859,36 +13052,36 @@ class DatabaseClient {
12859
13052
  });
12860
13053
  }
12861
13054
  /**
12862
- * Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see {@link #getAutonomousVmCluster(GetAutonomousVmClusterRequest) getAutonomousVmCluster}.
13055
+ * Gets information about the BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
12863
13056
  *
12864
13057
  * This operation does not retry by default if the user has not defined a retry configuration.
12865
- * @param GetCloudAutonomousVmClusterRequest
12866
- * @return GetCloudAutonomousVmClusterResponse
13058
+ * @param GetBaseccVmClusterRequest
13059
+ * @return GetBaseccVmClusterResponse
12867
13060
  * @throws OciError when an error occurs
12868
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudAutonomousVmCluster.ts.html |here} to see how to use GetCloudAutonomousVmCluster API.
13061
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetBaseccVmCluster.ts.html |here} to see how to use GetBaseccVmCluster API.
12869
13062
  */
12870
- getCloudAutonomousVmCluster(getCloudAutonomousVmClusterRequest) {
13063
+ getBaseccVmCluster(getBaseccVmClusterRequest) {
12871
13064
  return __awaiter(this, void 0, void 0, function* () {
12872
13065
  if (this.logger)
12873
- this.logger.debug("Calling operation DatabaseClient#getCloudAutonomousVmCluster.");
12874
- const operationName = "getCloudAutonomousVmCluster";
12875
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster";
13066
+ this.logger.debug("Calling operation DatabaseClient#getBaseccVmCluster.");
13067
+ const operationName = "getBaseccVmCluster";
13068
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/GetBaseccVmCluster";
12876
13069
  const pathParams = {
12877
- "{cloudAutonomousVmClusterId}": getCloudAutonomousVmClusterRequest.cloudAutonomousVmClusterId
13070
+ "{baseccVmClusterId}": getBaseccVmClusterRequest.baseccVmClusterId
12878
13071
  };
12879
13072
  const queryParams = {};
12880
13073
  let headerParams = {
12881
13074
  "Content-Type": common.Constants.APPLICATION_JSON,
12882
- "opc-request-id": getCloudAutonomousVmClusterRequest.opcRequestId
13075
+ "opc-request-id": getBaseccVmClusterRequest.opcRequestId
12883
13076
  };
12884
13077
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
12885
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudAutonomousVmClusterRequest.retryConfiguration, specRetryConfiguration);
13078
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
12886
13079
  if (this.logger)
12887
13080
  retrier.logger = this.logger;
12888
13081
  const request = yield oci_common_2.composeRequest({
12889
13082
  baseEndpoint: this._endpoint,
12890
13083
  defaultHeaders: this._defaultHeaders,
12891
- path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}",
13084
+ path: "/baseccVmClusters/{baseccVmClusterId}",
12892
13085
  method: "GET",
12893
13086
  pathParams: pathParams,
12894
13087
  headerParams: headerParams,
@@ -12899,9 +13092,9 @@ class DatabaseClient {
12899
13092
  const sdkResponse = oci_common_2.composeResponse({
12900
13093
  responseObject: {},
12901
13094
  body: yield response.json(),
12902
- bodyKey: "cloudAutonomousVmCluster",
12903
- bodyModel: model.CloudAutonomousVmCluster,
12904
- type: "model.CloudAutonomousVmCluster",
13095
+ bodyKey: "baseccVmCluster",
13096
+ bodyModel: model.BaseccVmCluster,
13097
+ type: "model.BaseccVmCluster",
12905
13098
  responseHeaders: [
12906
13099
  {
12907
13100
  value: response.headers.get("etag"),
@@ -12923,36 +13116,37 @@ class DatabaseClient {
12923
13116
  });
12924
13117
  }
12925
13118
  /**
12926
- * Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
13119
+ * Gets information about a specified maintenance update package for a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
12927
13120
  *
12928
13121
  * This operation does not retry by default if the user has not defined a retry configuration.
12929
- * @param GetCloudAutonomousVmClusterResourceUsageRequest
12930
- * @return GetCloudAutonomousVmClusterResourceUsageResponse
13122
+ * @param GetBaseccVmClusterUpdateRequest
13123
+ * @return GetBaseccVmClusterUpdateResponse
12931
13124
  * @throws OciError when an error occurs
12932
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudAutonomousVmClusterResourceUsage.ts.html |here} to see how to use GetCloudAutonomousVmClusterResourceUsage API.
13125
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetBaseccVmClusterUpdate.ts.html |here} to see how to use GetBaseccVmClusterUpdate API.
12933
13126
  */
12934
- getCloudAutonomousVmClusterResourceUsage(getCloudAutonomousVmClusterResourceUsageRequest) {
13127
+ getBaseccVmClusterUpdate(getBaseccVmClusterUpdateRequest) {
12935
13128
  return __awaiter(this, void 0, void 0, function* () {
12936
13129
  if (this.logger)
12937
- this.logger.debug("Calling operation DatabaseClient#getCloudAutonomousVmClusterResourceUsage.");
12938
- const operationName = "getCloudAutonomousVmClusterResourceUsage";
12939
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmClusterResourceUsage";
13130
+ this.logger.debug("Calling operation DatabaseClient#getBaseccVmClusterUpdate.");
13131
+ const operationName = "getBaseccVmClusterUpdate";
13132
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdate/GetBaseccVmClusterUpdate";
12940
13133
  const pathParams = {
12941
- "{cloudAutonomousVmClusterId}": getCloudAutonomousVmClusterResourceUsageRequest.cloudAutonomousVmClusterId
13134
+ "{baseccVmClusterId}": getBaseccVmClusterUpdateRequest.baseccVmClusterId,
13135
+ "{updateId}": getBaseccVmClusterUpdateRequest.updateId
12942
13136
  };
12943
13137
  const queryParams = {};
12944
13138
  let headerParams = {
12945
13139
  "Content-Type": common.Constants.APPLICATION_JSON,
12946
- "opc-request-id": getCloudAutonomousVmClusterResourceUsageRequest.opcRequestId
13140
+ "opc-request-id": getBaseccVmClusterUpdateRequest.opcRequestId
12947
13141
  };
12948
13142
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
12949
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudAutonomousVmClusterResourceUsageRequest.retryConfiguration, specRetryConfiguration);
13143
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaseccVmClusterUpdateRequest.retryConfiguration, specRetryConfiguration);
12950
13144
  if (this.logger)
12951
13145
  retrier.logger = this.logger;
12952
13146
  const request = yield oci_common_2.composeRequest({
12953
13147
  baseEndpoint: this._endpoint,
12954
13148
  defaultHeaders: this._defaultHeaders,
12955
- path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage",
13149
+ path: "/baseccVmClusters/{baseccVmClusterId}/updates/{updateId}",
12956
13150
  method: "GET",
12957
13151
  pathParams: pathParams,
12958
13152
  headerParams: headerParams,
@@ -12963,15 +13157,10 @@ class DatabaseClient {
12963
13157
  const sdkResponse = oci_common_2.composeResponse({
12964
13158
  responseObject: {},
12965
13159
  body: yield response.json(),
12966
- bodyKey: "cloudAutonomousVmClusterResourceUsage",
12967
- bodyModel: model.CloudAutonomousVmClusterResourceUsage,
12968
- type: "model.CloudAutonomousVmClusterResourceUsage",
13160
+ bodyKey: "baseccVmClusterUpdate",
13161
+ bodyModel: model.BaseccVmClusterUpdate,
13162
+ type: "model.BaseccVmClusterUpdate",
12969
13163
  responseHeaders: [
12970
- {
12971
- value: response.headers.get("etag"),
12972
- key: "etag",
12973
- dataType: "string"
12974
- },
12975
13164
  {
12976
13165
  value: response.headers.get("opc-request-id"),
12977
13166
  key: "opcRequestId",
@@ -12987,36 +13176,37 @@ class DatabaseClient {
12987
13176
  });
12988
13177
  }
12989
13178
  /**
12990
- * Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
13179
+ * Gets the maintenance update history details for the specified update history entry. Applies to Base Database Service on Cloud@Customer instances only.
12991
13180
  *
12992
13181
  * This operation does not retry by default if the user has not defined a retry configuration.
12993
- * @param GetCloudExadataInfrastructureRequest
12994
- * @return GetCloudExadataInfrastructureResponse
13182
+ * @param GetBaseccVmClusterUpdateHistoryEntryRequest
13183
+ * @return GetBaseccVmClusterUpdateHistoryEntryResponse
12995
13184
  * @throws OciError when an error occurs
12996
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudExadataInfrastructure.ts.html |here} to see how to use GetCloudExadataInfrastructure API.
13185
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetBaseccVmClusterUpdateHistoryEntry.ts.html |here} to see how to use GetBaseccVmClusterUpdateHistoryEntry API.
12997
13186
  */
12998
- getCloudExadataInfrastructure(getCloudExadataInfrastructureRequest) {
13187
+ getBaseccVmClusterUpdateHistoryEntry(getBaseccVmClusterUpdateHistoryEntryRequest) {
12999
13188
  return __awaiter(this, void 0, void 0, function* () {
13000
13189
  if (this.logger)
13001
- this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructure.");
13002
- const operationName = "getCloudExadataInfrastructure";
13003
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructure";
13190
+ this.logger.debug("Calling operation DatabaseClient#getBaseccVmClusterUpdateHistoryEntry.");
13191
+ const operationName = "getBaseccVmClusterUpdateHistoryEntry";
13192
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdateHistoryEntry/GetBaseccVmClusterUpdateHistoryEntry";
13004
13193
  const pathParams = {
13005
- "{cloudExadataInfrastructureId}": getCloudExadataInfrastructureRequest.cloudExadataInfrastructureId
13194
+ "{baseccVmClusterId}": getBaseccVmClusterUpdateHistoryEntryRequest.baseccVmClusterId,
13195
+ "{updateHistoryEntryId}": getBaseccVmClusterUpdateHistoryEntryRequest.updateHistoryEntryId
13006
13196
  };
13007
13197
  const queryParams = {};
13008
13198
  let headerParams = {
13009
13199
  "Content-Type": common.Constants.APPLICATION_JSON,
13010
- "opc-request-id": getCloudExadataInfrastructureRequest.opcRequestId
13200
+ "opc-request-id": getBaseccVmClusterUpdateHistoryEntryRequest.opcRequestId
13011
13201
  };
13012
13202
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
13013
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
13203
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaseccVmClusterUpdateHistoryEntryRequest.retryConfiguration, specRetryConfiguration);
13014
13204
  if (this.logger)
13015
13205
  retrier.logger = this.logger;
13016
13206
  const request = yield oci_common_2.composeRequest({
13017
13207
  baseEndpoint: this._endpoint,
13018
13208
  defaultHeaders: this._defaultHeaders,
13019
- path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}",
13209
+ path: "/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}",
13020
13210
  method: "GET",
13021
13211
  pathParams: pathParams,
13022
13212
  headerParams: headerParams,
@@ -13027,9 +13217,9 @@ class DatabaseClient {
13027
13217
  const sdkResponse = oci_common_2.composeResponse({
13028
13218
  responseObject: {},
13029
13219
  body: yield response.json(),
13030
- bodyKey: "cloudExadataInfrastructure",
13031
- bodyModel: model.CloudExadataInfrastructure,
13032
- type: "model.CloudExadataInfrastructure",
13220
+ bodyKey: "baseccVmClusterUpdateHistoryEntry",
13221
+ bodyModel: model.BaseccVmClusterUpdateHistoryEntry,
13222
+ type: "model.BaseccVmClusterUpdateHistoryEntry",
13033
13223
  responseHeaders: [
13034
13224
  {
13035
13225
  value: response.headers.get("etag"),
@@ -13051,38 +13241,36 @@ class DatabaseClient {
13051
13241
  });
13052
13242
  }
13053
13243
  /**
13054
- * Gets unallocated resources information for the specified Cloud Exadata infrastructure.
13244
+ * Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see {@link #getAutonomousVmCluster(GetAutonomousVmClusterRequest) getAutonomousVmCluster}.
13055
13245
  *
13056
13246
  * This operation does not retry by default if the user has not defined a retry configuration.
13057
- * @param GetCloudExadataInfrastructureUnallocatedResourcesRequest
13058
- * @return GetCloudExadataInfrastructureUnallocatedResourcesResponse
13247
+ * @param GetCloudAutonomousVmClusterRequest
13248
+ * @return GetCloudAutonomousVmClusterResponse
13059
13249
  * @throws OciError when an error occurs
13060
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudExadataInfrastructureUnallocatedResources.ts.html |here} to see how to use GetCloudExadataInfrastructureUnallocatedResources API.
13250
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudAutonomousVmCluster.ts.html |here} to see how to use GetCloudAutonomousVmCluster API.
13061
13251
  */
13062
- getCloudExadataInfrastructureUnallocatedResources(getCloudExadataInfrastructureUnallocatedResourcesRequest) {
13252
+ getCloudAutonomousVmCluster(getCloudAutonomousVmClusterRequest) {
13063
13253
  return __awaiter(this, void 0, void 0, function* () {
13064
13254
  if (this.logger)
13065
- this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructureUnallocatedResources.");
13066
- const operationName = "getCloudExadataInfrastructureUnallocatedResources";
13067
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructureUnallocatedResources";
13255
+ this.logger.debug("Calling operation DatabaseClient#getCloudAutonomousVmCluster.");
13256
+ const operationName = "getCloudAutonomousVmCluster";
13257
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster";
13068
13258
  const pathParams = {
13069
- "{cloudExadataInfrastructureId}": getCloudExadataInfrastructureUnallocatedResourcesRequest.cloudExadataInfrastructureId
13070
- };
13071
- const queryParams = {
13072
- "dbServers": getCloudExadataInfrastructureUnallocatedResourcesRequest.dbServers
13259
+ "{cloudAutonomousVmClusterId}": getCloudAutonomousVmClusterRequest.cloudAutonomousVmClusterId
13073
13260
  };
13261
+ const queryParams = {};
13074
13262
  let headerParams = {
13075
13263
  "Content-Type": common.Constants.APPLICATION_JSON,
13076
- "opc-request-id": getCloudExadataInfrastructureUnallocatedResourcesRequest.opcRequestId
13264
+ "opc-request-id": getCloudAutonomousVmClusterRequest.opcRequestId
13077
13265
  };
13078
13266
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
13079
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudExadataInfrastructureUnallocatedResourcesRequest.retryConfiguration, specRetryConfiguration);
13267
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudAutonomousVmClusterRequest.retryConfiguration, specRetryConfiguration);
13080
13268
  if (this.logger)
13081
13269
  retrier.logger = this.logger;
13082
13270
  const request = yield oci_common_2.composeRequest({
13083
13271
  baseEndpoint: this._endpoint,
13084
13272
  defaultHeaders: this._defaultHeaders,
13085
- path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/unAllocatedResources",
13273
+ path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}",
13086
13274
  method: "GET",
13087
13275
  pathParams: pathParams,
13088
13276
  headerParams: headerParams,
@@ -13093,9 +13281,9 @@ class DatabaseClient {
13093
13281
  const sdkResponse = oci_common_2.composeResponse({
13094
13282
  responseObject: {},
13095
13283
  body: yield response.json(),
13096
- bodyKey: "cloudExadataInfrastructureUnallocatedResources",
13097
- bodyModel: model.CloudExadataInfrastructureUnallocatedResources,
13098
- type: "model.CloudExadataInfrastructureUnallocatedResources",
13284
+ bodyKey: "cloudAutonomousVmCluster",
13285
+ bodyModel: model.CloudAutonomousVmCluster,
13286
+ type: "model.CloudAutonomousVmCluster",
13099
13287
  responseHeaders: [
13100
13288
  {
13101
13289
  value: response.headers.get("etag"),
@@ -13117,36 +13305,230 @@ class DatabaseClient {
13117
13305
  });
13118
13306
  }
13119
13307
  /**
13120
- * Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
13308
+ * Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
13121
13309
  *
13122
13310
  * This operation does not retry by default if the user has not defined a retry configuration.
13123
- * @param GetCloudVmClusterRequest
13124
- * @return GetCloudVmClusterResponse
13311
+ * @param GetCloudAutonomousVmClusterResourceUsageRequest
13312
+ * @return GetCloudAutonomousVmClusterResourceUsageResponse
13125
13313
  * @throws OciError when an error occurs
13126
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudVmCluster.ts.html |here} to see how to use GetCloudVmCluster API.
13314
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudAutonomousVmClusterResourceUsage.ts.html |here} to see how to use GetCloudAutonomousVmClusterResourceUsage API.
13127
13315
  */
13128
- getCloudVmCluster(getCloudVmClusterRequest) {
13316
+ getCloudAutonomousVmClusterResourceUsage(getCloudAutonomousVmClusterResourceUsageRequest) {
13129
13317
  return __awaiter(this, void 0, void 0, function* () {
13130
13318
  if (this.logger)
13131
- this.logger.debug("Calling operation DatabaseClient#getCloudVmCluster.");
13132
- const operationName = "getCloudVmCluster";
13133
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/GetCloudVmCluster";
13319
+ this.logger.debug("Calling operation DatabaseClient#getCloudAutonomousVmClusterResourceUsage.");
13320
+ const operationName = "getCloudAutonomousVmClusterResourceUsage";
13321
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmClusterResourceUsage";
13134
13322
  const pathParams = {
13135
- "{cloudVmClusterId}": getCloudVmClusterRequest.cloudVmClusterId
13323
+ "{cloudAutonomousVmClusterId}": getCloudAutonomousVmClusterResourceUsageRequest.cloudAutonomousVmClusterId
13136
13324
  };
13137
13325
  const queryParams = {};
13138
13326
  let headerParams = {
13139
13327
  "Content-Type": common.Constants.APPLICATION_JSON,
13140
- "opc-request-id": getCloudVmClusterRequest.opcRequestId
13328
+ "opc-request-id": getCloudAutonomousVmClusterResourceUsageRequest.opcRequestId
13141
13329
  };
13142
13330
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
13143
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudVmClusterRequest.retryConfiguration, specRetryConfiguration);
13331
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudAutonomousVmClusterResourceUsageRequest.retryConfiguration, specRetryConfiguration);
13144
13332
  if (this.logger)
13145
13333
  retrier.logger = this.logger;
13146
13334
  const request = yield oci_common_2.composeRequest({
13147
13335
  baseEndpoint: this._endpoint,
13148
13336
  defaultHeaders: this._defaultHeaders,
13149
- path: "/cloudVmClusters/{cloudVmClusterId}",
13337
+ path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage",
13338
+ method: "GET",
13339
+ pathParams: pathParams,
13340
+ headerParams: headerParams,
13341
+ queryParams: queryParams
13342
+ });
13343
+ try {
13344
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
13345
+ const sdkResponse = oci_common_2.composeResponse({
13346
+ responseObject: {},
13347
+ body: yield response.json(),
13348
+ bodyKey: "cloudAutonomousVmClusterResourceUsage",
13349
+ bodyModel: model.CloudAutonomousVmClusterResourceUsage,
13350
+ type: "model.CloudAutonomousVmClusterResourceUsage",
13351
+ responseHeaders: [
13352
+ {
13353
+ value: response.headers.get("etag"),
13354
+ key: "etag",
13355
+ dataType: "string"
13356
+ },
13357
+ {
13358
+ value: response.headers.get("opc-request-id"),
13359
+ key: "opcRequestId",
13360
+ dataType: "string"
13361
+ }
13362
+ ]
13363
+ });
13364
+ return sdkResponse;
13365
+ }
13366
+ catch (err) {
13367
+ throw err;
13368
+ }
13369
+ });
13370
+ }
13371
+ /**
13372
+ * Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
13373
+ *
13374
+ * This operation does not retry by default if the user has not defined a retry configuration.
13375
+ * @param GetCloudExadataInfrastructureRequest
13376
+ * @return GetCloudExadataInfrastructureResponse
13377
+ * @throws OciError when an error occurs
13378
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudExadataInfrastructure.ts.html |here} to see how to use GetCloudExadataInfrastructure API.
13379
+ */
13380
+ getCloudExadataInfrastructure(getCloudExadataInfrastructureRequest) {
13381
+ return __awaiter(this, void 0, void 0, function* () {
13382
+ if (this.logger)
13383
+ this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructure.");
13384
+ const operationName = "getCloudExadataInfrastructure";
13385
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructure";
13386
+ const pathParams = {
13387
+ "{cloudExadataInfrastructureId}": getCloudExadataInfrastructureRequest.cloudExadataInfrastructureId
13388
+ };
13389
+ const queryParams = {};
13390
+ let headerParams = {
13391
+ "Content-Type": common.Constants.APPLICATION_JSON,
13392
+ "opc-request-id": getCloudExadataInfrastructureRequest.opcRequestId
13393
+ };
13394
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
13395
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
13396
+ if (this.logger)
13397
+ retrier.logger = this.logger;
13398
+ const request = yield oci_common_2.composeRequest({
13399
+ baseEndpoint: this._endpoint,
13400
+ defaultHeaders: this._defaultHeaders,
13401
+ path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}",
13402
+ method: "GET",
13403
+ pathParams: pathParams,
13404
+ headerParams: headerParams,
13405
+ queryParams: queryParams
13406
+ });
13407
+ try {
13408
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
13409
+ const sdkResponse = oci_common_2.composeResponse({
13410
+ responseObject: {},
13411
+ body: yield response.json(),
13412
+ bodyKey: "cloudExadataInfrastructure",
13413
+ bodyModel: model.CloudExadataInfrastructure,
13414
+ type: "model.CloudExadataInfrastructure",
13415
+ responseHeaders: [
13416
+ {
13417
+ value: response.headers.get("etag"),
13418
+ key: "etag",
13419
+ dataType: "string"
13420
+ },
13421
+ {
13422
+ value: response.headers.get("opc-request-id"),
13423
+ key: "opcRequestId",
13424
+ dataType: "string"
13425
+ }
13426
+ ]
13427
+ });
13428
+ return sdkResponse;
13429
+ }
13430
+ catch (err) {
13431
+ throw err;
13432
+ }
13433
+ });
13434
+ }
13435
+ /**
13436
+ * Gets unallocated resources information for the specified Cloud Exadata infrastructure.
13437
+ *
13438
+ * This operation does not retry by default if the user has not defined a retry configuration.
13439
+ * @param GetCloudExadataInfrastructureUnallocatedResourcesRequest
13440
+ * @return GetCloudExadataInfrastructureUnallocatedResourcesResponse
13441
+ * @throws OciError when an error occurs
13442
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudExadataInfrastructureUnallocatedResources.ts.html |here} to see how to use GetCloudExadataInfrastructureUnallocatedResources API.
13443
+ */
13444
+ getCloudExadataInfrastructureUnallocatedResources(getCloudExadataInfrastructureUnallocatedResourcesRequest) {
13445
+ return __awaiter(this, void 0, void 0, function* () {
13446
+ if (this.logger)
13447
+ this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructureUnallocatedResources.");
13448
+ const operationName = "getCloudExadataInfrastructureUnallocatedResources";
13449
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructureUnallocatedResources";
13450
+ const pathParams = {
13451
+ "{cloudExadataInfrastructureId}": getCloudExadataInfrastructureUnallocatedResourcesRequest.cloudExadataInfrastructureId
13452
+ };
13453
+ const queryParams = {
13454
+ "dbServers": getCloudExadataInfrastructureUnallocatedResourcesRequest.dbServers
13455
+ };
13456
+ let headerParams = {
13457
+ "Content-Type": common.Constants.APPLICATION_JSON,
13458
+ "opc-request-id": getCloudExadataInfrastructureUnallocatedResourcesRequest.opcRequestId
13459
+ };
13460
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
13461
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudExadataInfrastructureUnallocatedResourcesRequest.retryConfiguration, specRetryConfiguration);
13462
+ if (this.logger)
13463
+ retrier.logger = this.logger;
13464
+ const request = yield oci_common_2.composeRequest({
13465
+ baseEndpoint: this._endpoint,
13466
+ defaultHeaders: this._defaultHeaders,
13467
+ path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/unAllocatedResources",
13468
+ method: "GET",
13469
+ pathParams: pathParams,
13470
+ headerParams: headerParams,
13471
+ queryParams: queryParams
13472
+ });
13473
+ try {
13474
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
13475
+ const sdkResponse = oci_common_2.composeResponse({
13476
+ responseObject: {},
13477
+ body: yield response.json(),
13478
+ bodyKey: "cloudExadataInfrastructureUnallocatedResources",
13479
+ bodyModel: model.CloudExadataInfrastructureUnallocatedResources,
13480
+ type: "model.CloudExadataInfrastructureUnallocatedResources",
13481
+ responseHeaders: [
13482
+ {
13483
+ value: response.headers.get("etag"),
13484
+ key: "etag",
13485
+ dataType: "string"
13486
+ },
13487
+ {
13488
+ value: response.headers.get("opc-request-id"),
13489
+ key: "opcRequestId",
13490
+ dataType: "string"
13491
+ }
13492
+ ]
13493
+ });
13494
+ return sdkResponse;
13495
+ }
13496
+ catch (err) {
13497
+ throw err;
13498
+ }
13499
+ });
13500
+ }
13501
+ /**
13502
+ * Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
13503
+ *
13504
+ * This operation does not retry by default if the user has not defined a retry configuration.
13505
+ * @param GetCloudVmClusterRequest
13506
+ * @return GetCloudVmClusterResponse
13507
+ * @throws OciError when an error occurs
13508
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudVmCluster.ts.html |here} to see how to use GetCloudVmCluster API.
13509
+ */
13510
+ getCloudVmCluster(getCloudVmClusterRequest) {
13511
+ return __awaiter(this, void 0, void 0, function* () {
13512
+ if (this.logger)
13513
+ this.logger.debug("Calling operation DatabaseClient#getCloudVmCluster.");
13514
+ const operationName = "getCloudVmCluster";
13515
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/GetCloudVmCluster";
13516
+ const pathParams = {
13517
+ "{cloudVmClusterId}": getCloudVmClusterRequest.cloudVmClusterId
13518
+ };
13519
+ const queryParams = {};
13520
+ let headerParams = {
13521
+ "Content-Type": common.Constants.APPLICATION_JSON,
13522
+ "opc-request-id": getCloudVmClusterRequest.opcRequestId
13523
+ };
13524
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
13525
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudVmClusterRequest.retryConfiguration, specRetryConfiguration);
13526
+ if (this.logger)
13527
+ retrier.logger = this.logger;
13528
+ const request = yield oci_common_2.composeRequest({
13529
+ baseEndpoint: this._endpoint,
13530
+ defaultHeaders: this._defaultHeaders,
13531
+ path: "/cloudVmClusters/{cloudVmClusterId}",
13150
13532
  method: "GET",
13151
13533
  pathParams: pathParams,
13152
13534
  headerParams: headerParams,
@@ -18863,16 +19245,350 @@ class DatabaseClient {
18863
19245
  };
18864
19246
  let headerParams = {
18865
19247
  "Content-Type": common.Constants.APPLICATION_JSON,
18866
- "opc-request-id": listAutonomousVmClustersRequest.opcRequestId
19248
+ "opc-request-id": listAutonomousVmClustersRequest.opcRequestId
19249
+ };
19250
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
19251
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutonomousVmClustersRequest.retryConfiguration, specRetryConfiguration);
19252
+ if (this.logger)
19253
+ retrier.logger = this.logger;
19254
+ const request = yield oci_common_2.composeRequest({
19255
+ baseEndpoint: this._endpoint,
19256
+ defaultHeaders: this._defaultHeaders,
19257
+ path: "/autonomousVmClusters",
19258
+ method: "GET",
19259
+ pathParams: pathParams,
19260
+ headerParams: headerParams,
19261
+ queryParams: queryParams
19262
+ });
19263
+ try {
19264
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
19265
+ const sdkResponse = oci_common_2.composeResponse({
19266
+ responseObject: {},
19267
+ body: yield response.json(),
19268
+ bodyKey: "items",
19269
+ bodyModel: model.AutonomousVmClusterSummary,
19270
+ type: "Array<model.AutonomousVmClusterSummary>",
19271
+ responseHeaders: [
19272
+ {
19273
+ value: response.headers.get("opc-request-id"),
19274
+ key: "opcRequestId",
19275
+ dataType: "string"
19276
+ },
19277
+ {
19278
+ value: response.headers.get("opc-next-page"),
19279
+ key: "opcNextPage",
19280
+ dataType: "string"
19281
+ }
19282
+ ]
19283
+ });
19284
+ return sdkResponse;
19285
+ }
19286
+ catch (err) {
19287
+ throw err;
19288
+ }
19289
+ });
19290
+ }
19291
+ /**
19292
+ * NOTE: This function is deprecated in favor of listAutonomousVmClustersRecordIterator function.
19293
+ * Creates a new async iterator which will iterate over the models.AutonomousVmClusterSummary objects
19294
+ * contained in responses from the listAutonomousVmClusters operation. This iterator will fetch more data from the
19295
+ * server as needed.
19296
+ *
19297
+ * @param request a request which can be sent to the service operation
19298
+ */
19299
+ listAllAutonomousVmClusters(request) {
19300
+ return oci_common_1.paginateRecords(request, req => this.listAutonomousVmClusters(req));
19301
+ }
19302
+ /**
19303
+ * NOTE: This function is deprecated in favor of listAutonomousVmClustersResponseIterator function.
19304
+ * Creates a new async iterator which will iterate over the responses received from the listAutonomousVmClusters operation. This iterator
19305
+ * will fetch more data from the server as needed.
19306
+ *
19307
+ * @param request a request which can be sent to the service operation
19308
+ */
19309
+ listAllAutonomousVmClustersResponses(request) {
19310
+ return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
19311
+ }
19312
+ /**
19313
+ * Creates a new async iterator which will iterate over the models.AutonomousVmClusterSummary objects
19314
+ * contained in responses from the listAutonomousVmClusters operation. This iterator will fetch more data from the
19315
+ * server as needed.
19316
+ *
19317
+ * @param request a request which can be sent to the service operation
19318
+ */
19319
+ listAutonomousVmClustersRecordIterator(request) {
19320
+ return oci_common_1.paginateRecords(request, req => this.listAutonomousVmClusters(req));
19321
+ }
19322
+ /**
19323
+ * Creates a new async iterator which will iterate over the responses received from the listAutonomousVmClusters operation. This iterator
19324
+ * will fetch more data from the server as needed.
19325
+ *
19326
+ * @param request a request which can be sent to the service operation
19327
+ */
19328
+ listAutonomousVmClustersResponseIterator(request) {
19329
+ return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
19330
+ }
19331
+ /**
19332
+ * Gets a list of backup destinations in the specified compartment.
19333
+ *
19334
+ * This operation does not retry by default if the user has not defined a retry configuration.
19335
+ * @param ListBackupDestinationRequest
19336
+ * @return ListBackupDestinationResponse
19337
+ * @throws OciError when an error occurs
19338
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBackupDestination.ts.html |here} to see how to use ListBackupDestination API.
19339
+ */
19340
+ listBackupDestination(listBackupDestinationRequest) {
19341
+ return __awaiter(this, void 0, void 0, function* () {
19342
+ if (this.logger)
19343
+ this.logger.debug("Calling operation DatabaseClient#listBackupDestination.");
19344
+ const operationName = "listBackupDestination";
19345
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BackupDestinationSummary/ListBackupDestination";
19346
+ const pathParams = {};
19347
+ const queryParams = {
19348
+ "compartmentId": listBackupDestinationRequest.compartmentId,
19349
+ "limit": listBackupDestinationRequest.limit,
19350
+ "page": listBackupDestinationRequest.page,
19351
+ "type": listBackupDestinationRequest.type
19352
+ };
19353
+ let headerParams = {
19354
+ "Content-Type": common.Constants.APPLICATION_JSON,
19355
+ "opc-request-id": listBackupDestinationRequest.opcRequestId
19356
+ };
19357
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
19358
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupDestinationRequest.retryConfiguration, specRetryConfiguration);
19359
+ if (this.logger)
19360
+ retrier.logger = this.logger;
19361
+ const request = yield oci_common_2.composeRequest({
19362
+ baseEndpoint: this._endpoint,
19363
+ defaultHeaders: this._defaultHeaders,
19364
+ path: "/backupDestinations",
19365
+ method: "GET",
19366
+ pathParams: pathParams,
19367
+ headerParams: headerParams,
19368
+ queryParams: queryParams
19369
+ });
19370
+ try {
19371
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
19372
+ const sdkResponse = oci_common_2.composeResponse({
19373
+ responseObject: {},
19374
+ body: yield response.json(),
19375
+ bodyKey: "items",
19376
+ bodyModel: model.BackupDestinationSummary,
19377
+ type: "Array<model.BackupDestinationSummary>",
19378
+ responseHeaders: [
19379
+ {
19380
+ value: response.headers.get("etag"),
19381
+ key: "etag",
19382
+ dataType: "string"
19383
+ },
19384
+ {
19385
+ value: response.headers.get("opc-request-id"),
19386
+ key: "opcRequestId",
19387
+ dataType: "string"
19388
+ },
19389
+ {
19390
+ value: response.headers.get("opc-next-page"),
19391
+ key: "opcNextPage",
19392
+ dataType: "string"
19393
+ }
19394
+ ]
19395
+ });
19396
+ return sdkResponse;
19397
+ }
19398
+ catch (err) {
19399
+ throw err;
19400
+ }
19401
+ });
19402
+ }
19403
+ /**
19404
+ * NOTE: This function is deprecated in favor of listBackupDestinationRecordIterator function.
19405
+ * Creates a new async iterator which will iterate over the models.BackupDestinationSummary objects
19406
+ * contained in responses from the listBackupDestination operation. This iterator will fetch more data from the
19407
+ * server as needed.
19408
+ *
19409
+ * @param request a request which can be sent to the service operation
19410
+ */
19411
+ listAllBackupDestination(request) {
19412
+ return oci_common_1.paginateRecords(request, req => this.listBackupDestination(req));
19413
+ }
19414
+ /**
19415
+ * NOTE: This function is deprecated in favor of listBackupDestinationResponseIterator function.
19416
+ * Creates a new async iterator which will iterate over the responses received from the listBackupDestination operation. This iterator
19417
+ * will fetch more data from the server as needed.
19418
+ *
19419
+ * @param request a request which can be sent to the service operation
19420
+ */
19421
+ listAllBackupDestinationResponses(request) {
19422
+ return oci_common_1.paginateResponses(request, req => this.listBackupDestination(req));
19423
+ }
19424
+ /**
19425
+ * Creates a new async iterator which will iterate over the models.BackupDestinationSummary objects
19426
+ * contained in responses from the listBackupDestination operation. This iterator will fetch more data from the
19427
+ * server as needed.
19428
+ *
19429
+ * @param request a request which can be sent to the service operation
19430
+ */
19431
+ listBackupDestinationRecordIterator(request) {
19432
+ return oci_common_1.paginateRecords(request, req => this.listBackupDestination(req));
19433
+ }
19434
+ /**
19435
+ * Creates a new async iterator which will iterate over the responses received from the listBackupDestination operation. This iterator
19436
+ * will fetch more data from the server as needed.
19437
+ *
19438
+ * @param request a request which can be sent to the service operation
19439
+ */
19440
+ listBackupDestinationResponseIterator(request) {
19441
+ return oci_common_1.paginateResponses(request, req => this.listBackupDestination(req));
19442
+ }
19443
+ /**
19444
+ * Gets a list of backups based on the `databaseId` or `compartmentId` specified. Either one of these query parameters must be provided.
19445
+ *
19446
+ * This operation does not retry by default if the user has not defined a retry configuration.
19447
+ * @param ListBackupsRequest
19448
+ * @return ListBackupsResponse
19449
+ * @throws OciError when an error occurs
19450
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBackups.ts.html |here} to see how to use ListBackups API.
19451
+ */
19452
+ listBackups(listBackupsRequest) {
19453
+ return __awaiter(this, void 0, void 0, function* () {
19454
+ if (this.logger)
19455
+ this.logger.debug("Calling operation DatabaseClient#listBackups.");
19456
+ const operationName = "listBackups";
19457
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Backup/ListBackups";
19458
+ const pathParams = {};
19459
+ const queryParams = {
19460
+ "databaseId": listBackupsRequest.databaseId,
19461
+ "compartmentId": listBackupsRequest.compartmentId,
19462
+ "limit": listBackupsRequest.limit,
19463
+ "page": listBackupsRequest.page,
19464
+ "shapeFamily": listBackupsRequest.shapeFamily,
19465
+ "version": listBackupsRequest.version,
19466
+ "type": listBackupsRequest.type,
19467
+ "lifecycleState": listBackupsRequest.lifecycleState,
19468
+ "timeExpiryScheduledGreaterThanOrEqualTo": listBackupsRequest.timeExpiryScheduledGreaterThanOrEqualTo,
19469
+ "timeExpiryScheduledLessThan": listBackupsRequest.timeExpiryScheduledLessThan,
19470
+ "backupDestinationType": listBackupsRequest.backupDestinationType
19471
+ };
19472
+ let headerParams = {
19473
+ "Content-Type": common.Constants.APPLICATION_JSON
19474
+ };
19475
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
19476
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
19477
+ if (this.logger)
19478
+ retrier.logger = this.logger;
19479
+ const request = yield oci_common_2.composeRequest({
19480
+ baseEndpoint: this._endpoint,
19481
+ defaultHeaders: this._defaultHeaders,
19482
+ path: "/backups",
19483
+ method: "GET",
19484
+ pathParams: pathParams,
19485
+ headerParams: headerParams,
19486
+ queryParams: queryParams
19487
+ });
19488
+ try {
19489
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
19490
+ const sdkResponse = oci_common_2.composeResponse({
19491
+ responseObject: {},
19492
+ body: yield response.json(),
19493
+ bodyKey: "items",
19494
+ bodyModel: model.BackupSummary,
19495
+ type: "Array<model.BackupSummary>",
19496
+ responseHeaders: [
19497
+ {
19498
+ value: response.headers.get("opc-request-id"),
19499
+ key: "opcRequestId",
19500
+ dataType: "string"
19501
+ },
19502
+ {
19503
+ value: response.headers.get("opc-next-page"),
19504
+ key: "opcNextPage",
19505
+ dataType: "string"
19506
+ }
19507
+ ]
19508
+ });
19509
+ return sdkResponse;
19510
+ }
19511
+ catch (err) {
19512
+ throw err;
19513
+ }
19514
+ });
19515
+ }
19516
+ /**
19517
+ * NOTE: This function is deprecated in favor of listBackupsRecordIterator function.
19518
+ * Creates a new async iterator which will iterate over the models.BackupSummary objects
19519
+ * contained in responses from the listBackups operation. This iterator will fetch more data from the
19520
+ * server as needed.
19521
+ *
19522
+ * @param request a request which can be sent to the service operation
19523
+ */
19524
+ listAllBackups(request) {
19525
+ return oci_common_1.paginateRecords(request, req => this.listBackups(req));
19526
+ }
19527
+ /**
19528
+ * NOTE: This function is deprecated in favor of listBackupsResponseIterator function.
19529
+ * Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
19530
+ * will fetch more data from the server as needed.
19531
+ *
19532
+ * @param request a request which can be sent to the service operation
19533
+ */
19534
+ listAllBackupsResponses(request) {
19535
+ return oci_common_1.paginateResponses(request, req => this.listBackups(req));
19536
+ }
19537
+ /**
19538
+ * Creates a new async iterator which will iterate over the models.BackupSummary objects
19539
+ * contained in responses from the listBackups operation. This iterator will fetch more data from the
19540
+ * server as needed.
19541
+ *
19542
+ * @param request a request which can be sent to the service operation
19543
+ */
19544
+ listBackupsRecordIterator(request) {
19545
+ return oci_common_1.paginateRecords(request, req => this.listBackups(req));
19546
+ }
19547
+ /**
19548
+ * Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
19549
+ * will fetch more data from the server as needed.
19550
+ *
19551
+ * @param request a request which can be sent to the service operation
19552
+ */
19553
+ listBackupsResponseIterator(request) {
19554
+ return oci_common_1.paginateResponses(request, req => this.listBackups(req));
19555
+ }
19556
+ /**
19557
+ * Gets the history of the maintenance update actions performed on the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
19558
+ *
19559
+ * This operation does not retry by default if the user has not defined a retry configuration.
19560
+ * @param ListBaseccVmClusterUpdateHistoryEntriesRequest
19561
+ * @return ListBaseccVmClusterUpdateHistoryEntriesResponse
19562
+ * @throws OciError when an error occurs
19563
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBaseccVmClusterUpdateHistoryEntries.ts.html |here} to see how to use ListBaseccVmClusterUpdateHistoryEntries API.
19564
+ */
19565
+ listBaseccVmClusterUpdateHistoryEntries(listBaseccVmClusterUpdateHistoryEntriesRequest) {
19566
+ return __awaiter(this, void 0, void 0, function* () {
19567
+ if (this.logger)
19568
+ this.logger.debug("Calling operation DatabaseClient#listBaseccVmClusterUpdateHistoryEntries.");
19569
+ const operationName = "listBaseccVmClusterUpdateHistoryEntries";
19570
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdateHistoryEntry/ListBaseccVmClusterUpdateHistoryEntries";
19571
+ const pathParams = {
19572
+ "{baseccVmClusterId}": listBaseccVmClusterUpdateHistoryEntriesRequest.baseccVmClusterId
19573
+ };
19574
+ const queryParams = {
19575
+ "updateType": listBaseccVmClusterUpdateHistoryEntriesRequest.updateType,
19576
+ "lifecycleState": listBaseccVmClusterUpdateHistoryEntriesRequest.lifecycleState,
19577
+ "limit": listBaseccVmClusterUpdateHistoryEntriesRequest.limit,
19578
+ "page": listBaseccVmClusterUpdateHistoryEntriesRequest.page
19579
+ };
19580
+ let headerParams = {
19581
+ "Content-Type": common.Constants.APPLICATION_JSON,
19582
+ "opc-request-id": listBaseccVmClusterUpdateHistoryEntriesRequest.opcRequestId
18867
19583
  };
18868
19584
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
18869
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutonomousVmClustersRequest.retryConfiguration, specRetryConfiguration);
19585
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaseccVmClusterUpdateHistoryEntriesRequest.retryConfiguration, specRetryConfiguration);
18870
19586
  if (this.logger)
18871
19587
  retrier.logger = this.logger;
18872
19588
  const request = yield oci_common_2.composeRequest({
18873
19589
  baseEndpoint: this._endpoint,
18874
19590
  defaultHeaders: this._defaultHeaders,
18875
- path: "/autonomousVmClusters",
19591
+ path: "/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries",
18876
19592
  method: "GET",
18877
19593
  pathParams: pathParams,
18878
19594
  headerParams: headerParams,
@@ -18884,8 +19600,8 @@ class DatabaseClient {
18884
19600
  responseObject: {},
18885
19601
  body: yield response.json(),
18886
19602
  bodyKey: "items",
18887
- bodyModel: model.AutonomousVmClusterSummary,
18888
- type: "Array<model.AutonomousVmClusterSummary>",
19603
+ bodyModel: model.BaseccVmClusterUpdateHistoryEntrySummary,
19604
+ type: "Array<model.BaseccVmClusterUpdateHistoryEntrySummary>",
18889
19605
  responseHeaders: [
18890
19606
  {
18891
19607
  value: response.headers.get("opc-request-id"),
@@ -18907,79 +19623,81 @@ class DatabaseClient {
18907
19623
  });
18908
19624
  }
18909
19625
  /**
18910
- * NOTE: This function is deprecated in favor of listAutonomousVmClustersRecordIterator function.
18911
- * Creates a new async iterator which will iterate over the models.AutonomousVmClusterSummary objects
18912
- * contained in responses from the listAutonomousVmClusters operation. This iterator will fetch more data from the
19626
+ * NOTE: This function is deprecated in favor of listBaseccVmClusterUpdateHistoryEntriesRecordIterator function.
19627
+ * Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateHistoryEntrySummary objects
19628
+ * contained in responses from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator will fetch more data from the
18913
19629
  * server as needed.
18914
19630
  *
18915
19631
  * @param request a request which can be sent to the service operation
18916
19632
  */
18917
- listAllAutonomousVmClusters(request) {
18918
- return oci_common_1.paginateRecords(request, req => this.listAutonomousVmClusters(req));
19633
+ listAllBaseccVmClusterUpdateHistoryEntries(request) {
19634
+ return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
18919
19635
  }
18920
19636
  /**
18921
- * NOTE: This function is deprecated in favor of listAutonomousVmClustersResponseIterator function.
18922
- * Creates a new async iterator which will iterate over the responses received from the listAutonomousVmClusters operation. This iterator
19637
+ * NOTE: This function is deprecated in favor of listBaseccVmClusterUpdateHistoryEntriesResponseIterator function.
19638
+ * Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator
18923
19639
  * will fetch more data from the server as needed.
18924
19640
  *
18925
19641
  * @param request a request which can be sent to the service operation
18926
19642
  */
18927
- listAllAutonomousVmClustersResponses(request) {
18928
- return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
19643
+ listAllBaseccVmClusterUpdateHistoryEntriesResponses(request) {
19644
+ return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
18929
19645
  }
18930
19646
  /**
18931
- * Creates a new async iterator which will iterate over the models.AutonomousVmClusterSummary objects
18932
- * contained in responses from the listAutonomousVmClusters operation. This iterator will fetch more data from the
19647
+ * Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateHistoryEntrySummary objects
19648
+ * contained in responses from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator will fetch more data from the
18933
19649
  * server as needed.
18934
19650
  *
18935
19651
  * @param request a request which can be sent to the service operation
18936
19652
  */
18937
- listAutonomousVmClustersRecordIterator(request) {
18938
- return oci_common_1.paginateRecords(request, req => this.listAutonomousVmClusters(req));
19653
+ listBaseccVmClusterUpdateHistoryEntriesRecordIterator(request) {
19654
+ return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
18939
19655
  }
18940
19656
  /**
18941
- * Creates a new async iterator which will iterate over the responses received from the listAutonomousVmClusters operation. This iterator
19657
+ * Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator
18942
19658
  * will fetch more data from the server as needed.
18943
19659
  *
18944
19660
  * @param request a request which can be sent to the service operation
18945
19661
  */
18946
- listAutonomousVmClustersResponseIterator(request) {
18947
- return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
19662
+ listBaseccVmClusterUpdateHistoryEntriesResponseIterator(request) {
19663
+ return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
18948
19664
  }
18949
19665
  /**
18950
- * Gets a list of backup destinations in the specified compartment.
19666
+ * Lists the maintenance updates that can be applied to the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
18951
19667
  *
18952
19668
  * This operation does not retry by default if the user has not defined a retry configuration.
18953
- * @param ListBackupDestinationRequest
18954
- * @return ListBackupDestinationResponse
19669
+ * @param ListBaseccVmClusterUpdatesRequest
19670
+ * @return ListBaseccVmClusterUpdatesResponse
18955
19671
  * @throws OciError when an error occurs
18956
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBackupDestination.ts.html |here} to see how to use ListBackupDestination API.
19672
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBaseccVmClusterUpdates.ts.html |here} to see how to use ListBaseccVmClusterUpdates API.
18957
19673
  */
18958
- listBackupDestination(listBackupDestinationRequest) {
19674
+ listBaseccVmClusterUpdates(listBaseccVmClusterUpdatesRequest) {
18959
19675
  return __awaiter(this, void 0, void 0, function* () {
18960
19676
  if (this.logger)
18961
- this.logger.debug("Calling operation DatabaseClient#listBackupDestination.");
18962
- const operationName = "listBackupDestination";
18963
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BackupDestinationSummary/ListBackupDestination";
18964
- const pathParams = {};
19677
+ this.logger.debug("Calling operation DatabaseClient#listBaseccVmClusterUpdates.");
19678
+ const operationName = "listBaseccVmClusterUpdates";
19679
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdate/ListBaseccVmClusterUpdates";
19680
+ const pathParams = {
19681
+ "{baseccVmClusterId}": listBaseccVmClusterUpdatesRequest.baseccVmClusterId
19682
+ };
18965
19683
  const queryParams = {
18966
- "compartmentId": listBackupDestinationRequest.compartmentId,
18967
- "limit": listBackupDestinationRequest.limit,
18968
- "page": listBackupDestinationRequest.page,
18969
- "type": listBackupDestinationRequest.type
19684
+ "updateType": listBaseccVmClusterUpdatesRequest.updateType,
19685
+ "lifecycleState": listBaseccVmClusterUpdatesRequest.lifecycleState,
19686
+ "limit": listBaseccVmClusterUpdatesRequest.limit,
19687
+ "page": listBaseccVmClusterUpdatesRequest.page
18970
19688
  };
18971
19689
  let headerParams = {
18972
19690
  "Content-Type": common.Constants.APPLICATION_JSON,
18973
- "opc-request-id": listBackupDestinationRequest.opcRequestId
19691
+ "opc-request-id": listBaseccVmClusterUpdatesRequest.opcRequestId
18974
19692
  };
18975
19693
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
18976
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupDestinationRequest.retryConfiguration, specRetryConfiguration);
19694
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaseccVmClusterUpdatesRequest.retryConfiguration, specRetryConfiguration);
18977
19695
  if (this.logger)
18978
19696
  retrier.logger = this.logger;
18979
19697
  const request = yield oci_common_2.composeRequest({
18980
19698
  baseEndpoint: this._endpoint,
18981
19699
  defaultHeaders: this._defaultHeaders,
18982
- path: "/backupDestinations",
19700
+ path: "/baseccVmClusters/{baseccVmClusterId}/updates",
18983
19701
  method: "GET",
18984
19702
  pathParams: pathParams,
18985
19703
  headerParams: headerParams,
@@ -18991,14 +19709,9 @@ class DatabaseClient {
18991
19709
  responseObject: {},
18992
19710
  body: yield response.json(),
18993
19711
  bodyKey: "items",
18994
- bodyModel: model.BackupDestinationSummary,
18995
- type: "Array<model.BackupDestinationSummary>",
19712
+ bodyModel: model.BaseccVmClusterUpdateSummary,
19713
+ type: "Array<model.BaseccVmClusterUpdateSummary>",
18996
19714
  responseHeaders: [
18997
- {
18998
- value: response.headers.get("etag"),
18999
- key: "etag",
19000
- dataType: "string"
19001
- },
19002
19715
  {
19003
19716
  value: response.headers.get("opc-request-id"),
19004
19717
  key: "opcRequestId",
@@ -19019,85 +19732,85 @@ class DatabaseClient {
19019
19732
  });
19020
19733
  }
19021
19734
  /**
19022
- * NOTE: This function is deprecated in favor of listBackupDestinationRecordIterator function.
19023
- * Creates a new async iterator which will iterate over the models.BackupDestinationSummary objects
19024
- * contained in responses from the listBackupDestination operation. This iterator will fetch more data from the
19735
+ * NOTE: This function is deprecated in favor of listBaseccVmClusterUpdatesRecordIterator function.
19736
+ * Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateSummary objects
19737
+ * contained in responses from the listBaseccVmClusterUpdates operation. This iterator will fetch more data from the
19025
19738
  * server as needed.
19026
19739
  *
19027
19740
  * @param request a request which can be sent to the service operation
19028
19741
  */
19029
- listAllBackupDestination(request) {
19030
- return oci_common_1.paginateRecords(request, req => this.listBackupDestination(req));
19742
+ listAllBaseccVmClusterUpdates(request) {
19743
+ return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdates(req));
19031
19744
  }
19032
19745
  /**
19033
- * NOTE: This function is deprecated in favor of listBackupDestinationResponseIterator function.
19034
- * Creates a new async iterator which will iterate over the responses received from the listBackupDestination operation. This iterator
19746
+ * NOTE: This function is deprecated in favor of listBaseccVmClusterUpdatesResponseIterator function.
19747
+ * Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdates operation. This iterator
19035
19748
  * will fetch more data from the server as needed.
19036
19749
  *
19037
19750
  * @param request a request which can be sent to the service operation
19038
19751
  */
19039
- listAllBackupDestinationResponses(request) {
19040
- return oci_common_1.paginateResponses(request, req => this.listBackupDestination(req));
19752
+ listAllBaseccVmClusterUpdatesResponses(request) {
19753
+ return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdates(req));
19041
19754
  }
19042
19755
  /**
19043
- * Creates a new async iterator which will iterate over the models.BackupDestinationSummary objects
19044
- * contained in responses from the listBackupDestination operation. This iterator will fetch more data from the
19756
+ * Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateSummary objects
19757
+ * contained in responses from the listBaseccVmClusterUpdates operation. This iterator will fetch more data from the
19045
19758
  * server as needed.
19046
19759
  *
19047
19760
  * @param request a request which can be sent to the service operation
19048
19761
  */
19049
- listBackupDestinationRecordIterator(request) {
19050
- return oci_common_1.paginateRecords(request, req => this.listBackupDestination(req));
19762
+ listBaseccVmClusterUpdatesRecordIterator(request) {
19763
+ return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdates(req));
19051
19764
  }
19052
19765
  /**
19053
- * Creates a new async iterator which will iterate over the responses received from the listBackupDestination operation. This iterator
19766
+ * Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdates operation. This iterator
19054
19767
  * will fetch more data from the server as needed.
19055
19768
  *
19056
19769
  * @param request a request which can be sent to the service operation
19057
19770
  */
19058
- listBackupDestinationResponseIterator(request) {
19059
- return oci_common_1.paginateResponses(request, req => this.listBackupDestination(req));
19771
+ listBaseccVmClusterUpdatesResponseIterator(request) {
19772
+ return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdates(req));
19060
19773
  }
19061
19774
  /**
19062
- * Gets a list of backups based on the `databaseId` or `compartmentId` specified. Either one of these query parameters must be provided.
19775
+ * Lists the BaseDB-C@C VM clusters in the specified compartment. Applies to Base Database Service on Cloud@Customer instances only.
19063
19776
  *
19064
19777
  * This operation does not retry by default if the user has not defined a retry configuration.
19065
- * @param ListBackupsRequest
19066
- * @return ListBackupsResponse
19778
+ * @param ListBaseccVmClustersRequest
19779
+ * @return ListBaseccVmClustersResponse
19067
19780
  * @throws OciError when an error occurs
19068
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBackups.ts.html |here} to see how to use ListBackups API.
19781
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBaseccVmClusters.ts.html |here} to see how to use ListBaseccVmClusters API.
19069
19782
  */
19070
- listBackups(listBackupsRequest) {
19783
+ listBaseccVmClusters(listBaseccVmClustersRequest) {
19071
19784
  return __awaiter(this, void 0, void 0, function* () {
19072
19785
  if (this.logger)
19073
- this.logger.debug("Calling operation DatabaseClient#listBackups.");
19074
- const operationName = "listBackups";
19075
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Backup/ListBackups";
19786
+ this.logger.debug("Calling operation DatabaseClient#listBaseccVmClusters.");
19787
+ const operationName = "listBaseccVmClusters";
19788
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/ListBaseccVmClusters";
19076
19789
  const pathParams = {};
19077
19790
  const queryParams = {
19078
- "databaseId": listBackupsRequest.databaseId,
19079
- "compartmentId": listBackupsRequest.compartmentId,
19080
- "limit": listBackupsRequest.limit,
19081
- "page": listBackupsRequest.page,
19082
- "shapeFamily": listBackupsRequest.shapeFamily,
19083
- "version": listBackupsRequest.version,
19084
- "type": listBackupsRequest.type,
19085
- "lifecycleState": listBackupsRequest.lifecycleState,
19086
- "timeExpiryScheduledGreaterThanOrEqualTo": listBackupsRequest.timeExpiryScheduledGreaterThanOrEqualTo,
19087
- "timeExpiryScheduledLessThan": listBackupsRequest.timeExpiryScheduledLessThan,
19088
- "backupDestinationType": listBackupsRequest.backupDestinationType
19791
+ "compartmentId": listBaseccVmClustersRequest.compartmentId,
19792
+ "baseInfrastructureId": listBaseccVmClustersRequest.baseInfrastructureId,
19793
+ "limit": listBaseccVmClustersRequest.limit,
19794
+ "page": listBaseccVmClustersRequest.page,
19795
+ "sortBy": listBaseccVmClustersRequest.sortBy,
19796
+ "sortOrder": listBaseccVmClustersRequest.sortOrder,
19797
+ "lifecycleState": listBaseccVmClustersRequest.lifecycleState,
19798
+ "availabilityDomain": listBaseccVmClustersRequest.availabilityDomain,
19799
+ "displayName": listBaseccVmClustersRequest.displayName,
19800
+ "vmClusterType": listBaseccVmClustersRequest.vmClusterType
19089
19801
  };
19090
19802
  let headerParams = {
19091
- "Content-Type": common.Constants.APPLICATION_JSON
19803
+ "Content-Type": common.Constants.APPLICATION_JSON,
19804
+ "opc-request-id": listBaseccVmClustersRequest.opcRequestId
19092
19805
  };
19093
19806
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
19094
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
19807
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaseccVmClustersRequest.retryConfiguration, specRetryConfiguration);
19095
19808
  if (this.logger)
19096
19809
  retrier.logger = this.logger;
19097
19810
  const request = yield oci_common_2.composeRequest({
19098
19811
  baseEndpoint: this._endpoint,
19099
19812
  defaultHeaders: this._defaultHeaders,
19100
- path: "/backups",
19813
+ path: "/baseccVmClusters",
19101
19814
  method: "GET",
19102
19815
  pathParams: pathParams,
19103
19816
  headerParams: headerParams,
@@ -19109,8 +19822,8 @@ class DatabaseClient {
19109
19822
  responseObject: {},
19110
19823
  body: yield response.json(),
19111
19824
  bodyKey: "items",
19112
- bodyModel: model.BackupSummary,
19113
- type: "Array<model.BackupSummary>",
19825
+ bodyModel: model.BaseccVmClusterSummary,
19826
+ type: "Array<model.BaseccVmClusterSummary>",
19114
19827
  responseHeaders: [
19115
19828
  {
19116
19829
  value: response.headers.get("opc-request-id"),
@@ -19132,44 +19845,44 @@ class DatabaseClient {
19132
19845
  });
19133
19846
  }
19134
19847
  /**
19135
- * NOTE: This function is deprecated in favor of listBackupsRecordIterator function.
19136
- * Creates a new async iterator which will iterate over the models.BackupSummary objects
19137
- * contained in responses from the listBackups operation. This iterator will fetch more data from the
19848
+ * NOTE: This function is deprecated in favor of listBaseccVmClustersRecordIterator function.
19849
+ * Creates a new async iterator which will iterate over the models.BaseccVmClusterSummary objects
19850
+ * contained in responses from the listBaseccVmClusters operation. This iterator will fetch more data from the
19138
19851
  * server as needed.
19139
19852
  *
19140
19853
  * @param request a request which can be sent to the service operation
19141
19854
  */
19142
- listAllBackups(request) {
19143
- return oci_common_1.paginateRecords(request, req => this.listBackups(req));
19855
+ listAllBaseccVmClusters(request) {
19856
+ return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusters(req));
19144
19857
  }
19145
19858
  /**
19146
- * NOTE: This function is deprecated in favor of listBackupsResponseIterator function.
19147
- * Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
19859
+ * NOTE: This function is deprecated in favor of listBaseccVmClustersResponseIterator function.
19860
+ * Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusters operation. This iterator
19148
19861
  * will fetch more data from the server as needed.
19149
19862
  *
19150
19863
  * @param request a request which can be sent to the service operation
19151
19864
  */
19152
- listAllBackupsResponses(request) {
19153
- return oci_common_1.paginateResponses(request, req => this.listBackups(req));
19865
+ listAllBaseccVmClustersResponses(request) {
19866
+ return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusters(req));
19154
19867
  }
19155
19868
  /**
19156
- * Creates a new async iterator which will iterate over the models.BackupSummary objects
19157
- * contained in responses from the listBackups operation. This iterator will fetch more data from the
19869
+ * Creates a new async iterator which will iterate over the models.BaseccVmClusterSummary objects
19870
+ * contained in responses from the listBaseccVmClusters operation. This iterator will fetch more data from the
19158
19871
  * server as needed.
19159
19872
  *
19160
19873
  * @param request a request which can be sent to the service operation
19161
19874
  */
19162
- listBackupsRecordIterator(request) {
19163
- return oci_common_1.paginateRecords(request, req => this.listBackups(req));
19875
+ listBaseccVmClustersRecordIterator(request) {
19876
+ return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusters(req));
19164
19877
  }
19165
19878
  /**
19166
- * Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
19879
+ * Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusters operation. This iterator
19167
19880
  * will fetch more data from the server as needed.
19168
19881
  *
19169
19882
  * @param request a request which can be sent to the service operation
19170
19883
  */
19171
- listBackupsResponseIterator(request) {
19172
- return oci_common_1.paginateResponses(request, req => this.listBackups(req));
19884
+ listBaseccVmClustersResponseIterator(request) {
19885
+ return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusters(req));
19173
19886
  }
19174
19887
  /**
19175
19888
  * Gets the list of resource usage details for all the Cloud Autonomous Container Database
@@ -23626,6 +24339,7 @@ class DatabaseClient {
23626
24339
  const queryParams = {
23627
24340
  "availabilityDomain": listGiVersionMinorVersionsRequest.availabilityDomain,
23628
24341
  "compartmentId": listGiVersionMinorVersionsRequest.compartmentId,
24342
+ "exadataInfrastructureId": listGiVersionMinorVersionsRequest.exadataInfrastructureId,
23629
24343
  "shapeFamily": listGiVersionMinorVersionsRequest.shapeFamily,
23630
24344
  "isGiVersionForProvisioning": listGiVersionMinorVersionsRequest.isGiVersionForProvisioning,
23631
24345
  "shape": listGiVersionMinorVersionsRequest.shape,
@@ -27022,6 +27736,69 @@ class DatabaseClient {
27022
27736
  }
27023
27737
  });
27024
27738
  }
27739
+ /**
27740
+ * Install the PKCS11 driver for given keystore type
27741
+ *
27742
+ * This operation does not retry by default if the user has not defined a retry configuration.
27743
+ * @param RegisterExadbVmClusterPkcsRequest
27744
+ * @return RegisterExadbVmClusterPkcsResponse
27745
+ * @throws OciError when an error occurs
27746
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RegisterExadbVmClusterPkcs.ts.html |here} to see how to use RegisterExadbVmClusterPkcs API.
27747
+ */
27748
+ registerExadbVmClusterPkcs(registerExadbVmClusterPkcsRequest) {
27749
+ return __awaiter(this, void 0, void 0, function* () {
27750
+ if (this.logger)
27751
+ this.logger.debug("Calling operation DatabaseClient#registerExadbVmClusterPkcs.");
27752
+ const operationName = "registerExadbVmClusterPkcs";
27753
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/RegisterExadbVmClusterPkcs";
27754
+ const pathParams = {
27755
+ "{exadbVmClusterId}": registerExadbVmClusterPkcsRequest.exadbVmClusterId
27756
+ };
27757
+ const queryParams = {};
27758
+ let headerParams = {
27759
+ "Content-Type": common.Constants.APPLICATION_JSON,
27760
+ "opc-retry-token": registerExadbVmClusterPkcsRequest.opcRetryToken,
27761
+ "opc-request-id": registerExadbVmClusterPkcsRequest.opcRequestId,
27762
+ "if-match": registerExadbVmClusterPkcsRequest.ifMatch
27763
+ };
27764
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
27765
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, registerExadbVmClusterPkcsRequest.retryConfiguration, specRetryConfiguration);
27766
+ if (this.logger)
27767
+ retrier.logger = this.logger;
27768
+ const request = yield oci_common_2.composeRequest({
27769
+ baseEndpoint: this._endpoint,
27770
+ defaultHeaders: this._defaultHeaders,
27771
+ path: "/exadbVmClusters/{exadbVmClusterId}/actions/registerPkcs",
27772
+ method: "POST",
27773
+ bodyContent: common.ObjectSerializer.serialize(registerExadbVmClusterPkcsRequest.registerExadbVmClusterPkcsDetails, "RegisterExadbVmClusterPkcsDetails", model.RegisterExadbVmClusterPkcsDetails.getJsonObj),
27774
+ pathParams: pathParams,
27775
+ headerParams: headerParams,
27776
+ queryParams: queryParams
27777
+ });
27778
+ try {
27779
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
27780
+ const sdkResponse = oci_common_2.composeResponse({
27781
+ responseObject: {},
27782
+ responseHeaders: [
27783
+ {
27784
+ value: response.headers.get("opc-work-request-id"),
27785
+ key: "opcWorkRequestId",
27786
+ dataType: "string"
27787
+ },
27788
+ {
27789
+ value: response.headers.get("opc-request-id"),
27790
+ key: "opcRequestId",
27791
+ dataType: "string"
27792
+ }
27793
+ ]
27794
+ });
27795
+ return sdkResponse;
27796
+ }
27797
+ catch (err) {
27798
+ throw err;
27799
+ }
27800
+ });
27801
+ }
27025
27802
  /**
27026
27803
  * Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see
27027
27804
  * [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).
@@ -30539,6 +31316,69 @@ class DatabaseClient {
30539
31316
  }
30540
31317
  });
30541
31318
  }
31319
+ /**
31320
+ * Uninstall the PKCS11 driver for given keystore type
31321
+ *
31322
+ * This operation does not retry by default if the user has not defined a retry configuration.
31323
+ * @param UnregisterExadbVmClusterPkcsRequest
31324
+ * @return UnregisterExadbVmClusterPkcsResponse
31325
+ * @throws OciError when an error occurs
31326
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnregisterExadbVmClusterPkcs.ts.html |here} to see how to use UnregisterExadbVmClusterPkcs API.
31327
+ */
31328
+ unregisterExadbVmClusterPkcs(unregisterExadbVmClusterPkcsRequest) {
31329
+ return __awaiter(this, void 0, void 0, function* () {
31330
+ if (this.logger)
31331
+ this.logger.debug("Calling operation DatabaseClient#unregisterExadbVmClusterPkcs.");
31332
+ const operationName = "unregisterExadbVmClusterPkcs";
31333
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/UnregisterExadbVmClusterPkcs";
31334
+ const pathParams = {
31335
+ "{exadbVmClusterId}": unregisterExadbVmClusterPkcsRequest.exadbVmClusterId
31336
+ };
31337
+ const queryParams = {};
31338
+ let headerParams = {
31339
+ "Content-Type": common.Constants.APPLICATION_JSON,
31340
+ "opc-retry-token": unregisterExadbVmClusterPkcsRequest.opcRetryToken,
31341
+ "opc-request-id": unregisterExadbVmClusterPkcsRequest.opcRequestId,
31342
+ "if-match": unregisterExadbVmClusterPkcsRequest.ifMatch
31343
+ };
31344
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
31345
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unregisterExadbVmClusterPkcsRequest.retryConfiguration, specRetryConfiguration);
31346
+ if (this.logger)
31347
+ retrier.logger = this.logger;
31348
+ const request = yield oci_common_2.composeRequest({
31349
+ baseEndpoint: this._endpoint,
31350
+ defaultHeaders: this._defaultHeaders,
31351
+ path: "/exadbVmClusters/{exadbVmClusterId}/actions/unregisterPkcs",
31352
+ method: "POST",
31353
+ bodyContent: common.ObjectSerializer.serialize(unregisterExadbVmClusterPkcsRequest.unregisterExadbVmClusterPkcsDetails, "UnregisterExadbVmClusterPkcsDetails", model.UnregisterExadbVmClusterPkcsDetails.getJsonObj),
31354
+ pathParams: pathParams,
31355
+ headerParams: headerParams,
31356
+ queryParams: queryParams
31357
+ });
31358
+ try {
31359
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
31360
+ const sdkResponse = oci_common_2.composeResponse({
31361
+ responseObject: {},
31362
+ responseHeaders: [
31363
+ {
31364
+ value: response.headers.get("opc-work-request-id"),
31365
+ key: "opcWorkRequestId",
31366
+ dataType: "string"
31367
+ },
31368
+ {
31369
+ value: response.headers.get("opc-request-id"),
31370
+ key: "opcRequestId",
31371
+ dataType: "string"
31372
+ }
31373
+ ]
31374
+ });
31375
+ return sdkResponse;
31376
+ }
31377
+ catch (err) {
31378
+ throw err;
31379
+ }
31380
+ });
31381
+ }
30542
31382
  /**
30543
31383
  * Updates the advanced cluster file system resource.
30544
31384
  *
@@ -31361,6 +32201,77 @@ class DatabaseClient {
31361
32201
  }
31362
32202
  });
31363
32203
  }
32204
+ /**
32205
+ * Updates the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
32206
+ *
32207
+ * This operation does not retry by default if the user has not defined a retry configuration.
32208
+ * @param UpdateBaseccVmClusterRequest
32209
+ * @return UpdateBaseccVmClusterResponse
32210
+ * @throws OciError when an error occurs
32211
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateBaseccVmCluster.ts.html |here} to see how to use UpdateBaseccVmCluster API.
32212
+ */
32213
+ updateBaseccVmCluster(updateBaseccVmClusterRequest) {
32214
+ return __awaiter(this, void 0, void 0, function* () {
32215
+ if (this.logger)
32216
+ this.logger.debug("Calling operation DatabaseClient#updateBaseccVmCluster.");
32217
+ const operationName = "updateBaseccVmCluster";
32218
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/UpdateBaseccVmCluster";
32219
+ const pathParams = {
32220
+ "{baseccVmClusterId}": updateBaseccVmClusterRequest.baseccVmClusterId
32221
+ };
32222
+ const queryParams = {};
32223
+ let headerParams = {
32224
+ "Content-Type": common.Constants.APPLICATION_JSON,
32225
+ "if-match": updateBaseccVmClusterRequest.ifMatch,
32226
+ "opc-request-id": updateBaseccVmClusterRequest.opcRequestId
32227
+ };
32228
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
32229
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
32230
+ if (this.logger)
32231
+ retrier.logger = this.logger;
32232
+ const request = yield oci_common_2.composeRequest({
32233
+ baseEndpoint: this._endpoint,
32234
+ defaultHeaders: this._defaultHeaders,
32235
+ path: "/baseccVmClusters/{baseccVmClusterId}",
32236
+ method: "PUT",
32237
+ bodyContent: common.ObjectSerializer.serialize(updateBaseccVmClusterRequest.updateBaseccVmClusterDetails, "UpdateBaseccVmClusterDetails", model.UpdateBaseccVmClusterDetails.getJsonObj),
32238
+ pathParams: pathParams,
32239
+ headerParams: headerParams,
32240
+ queryParams: queryParams
32241
+ });
32242
+ try {
32243
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
32244
+ const sdkResponse = oci_common_2.composeResponse({
32245
+ responseObject: {},
32246
+ body: yield response.json(),
32247
+ bodyKey: "baseccVmCluster",
32248
+ bodyModel: model.BaseccVmCluster,
32249
+ type: "model.BaseccVmCluster",
32250
+ responseHeaders: [
32251
+ {
32252
+ value: response.headers.get("opc-work-request-id"),
32253
+ key: "opcWorkRequestId",
32254
+ dataType: "string"
32255
+ },
32256
+ {
32257
+ value: response.headers.get("etag"),
32258
+ key: "etag",
32259
+ dataType: "string"
32260
+ },
32261
+ {
32262
+ value: response.headers.get("opc-request-id"),
32263
+ key: "opcRequestId",
32264
+ dataType: "string"
32265
+ }
32266
+ ]
32267
+ });
32268
+ return sdkResponse;
32269
+ }
32270
+ catch (err) {
32271
+ throw err;
32272
+ }
32273
+ });
32274
+ }
31364
32275
  /**
31365
32276
  * Updates the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {@link #updateAutonomousVmCluster(UpdateAutonomousVmClusterRequest) updateAutonomousVmCluster}.
31366
32277
  *