oci-database 2.115.0 → 2.116.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/lib/client.d.ts +72 -0
  2. package/lib/client.js +317 -3
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +28 -0
  5. package/lib/database-waiter.js +54 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/autonomous-container-database-summary.d.ts +2 -1
  8. package/lib/model/autonomous-container-database-summary.js.map +1 -1
  9. package/lib/model/autonomous-container-database.d.ts +2 -1
  10. package/lib/model/autonomous-container-database.js.map +1 -1
  11. package/lib/model/autonomous-database-summary.d.ts +1 -1
  12. package/lib/model/autonomous-database.d.ts +1 -1
  13. package/lib/model/autonomous-dw-database.d.ts +1 -1
  14. package/lib/model/autonomous-vm-cluster-resource-usage.d.ts +2 -1
  15. package/lib/model/autonomous-vm-cluster-resource-usage.js.map +1 -1
  16. package/lib/model/autonomous-vm-cluster-summary.d.ts +1 -1
  17. package/lib/model/autonomous-vm-cluster.d.ts +1 -1
  18. package/lib/model/backup-destination-configuration-summary.d.ts +6 -7
  19. package/lib/model/backup-destination-configuration-summary.js.map +1 -1
  20. package/lib/model/backup-destination-details-summary.d.ts +6 -7
  21. package/lib/model/backup-destination-details-summary.js.map +1 -1
  22. package/lib/model/backup-destination-details.d.ts +6 -7
  23. package/lib/model/backup-destination-details.js.map +1 -1
  24. package/lib/model/cloud-autonomous-vm-cluster-resource-usage.d.ts +2 -1
  25. package/lib/model/cloud-autonomous-vm-cluster-resource-usage.js.map +1 -1
  26. package/lib/model/cloud-autonomous-vm-cluster-summary.d.ts +1 -1
  27. package/lib/model/cloud-autonomous-vm-cluster.d.ts +1 -1
  28. package/lib/model/compute-performance-summary.d.ts +21 -4
  29. package/lib/model/compute-performance-summary.js +10 -0
  30. package/lib/model/compute-performance-summary.js.map +1 -1
  31. package/lib/model/create-autonomous-container-database-details.d.ts +1 -1
  32. package/lib/model/create-autonomous-container-database-from-backup-details.d.ts +2 -2
  33. package/lib/model/create-data-guard-association-with-new-db-system-details.d.ts +12 -0
  34. package/lib/model/create-data-guard-association-with-new-db-system-details.js +5 -0
  35. package/lib/model/create-data-guard-association-with-new-db-system-details.js.map +1 -1
  36. package/lib/model/create-database-details.d.ts +1 -0
  37. package/lib/model/create-database-details.js +6 -0
  38. package/lib/model/create-database-details.js.map +1 -1
  39. package/lib/model/create-database-from-backup-details.d.ts +1 -0
  40. package/lib/model/create-database-from-backup-details.js +6 -0
  41. package/lib/model/create-database-from-backup-details.js.map +1 -1
  42. package/lib/model/create-exadb-vm-cluster-details.d.ts +9 -0
  43. package/lib/model/create-exadb-vm-cluster-details.js +5 -0
  44. package/lib/model/create-exadb-vm-cluster-details.js.map +1 -1
  45. package/lib/model/create-pluggable-database-creation-type-details.d.ts +2 -0
  46. package/lib/model/create-pluggable-database-creation-type-details.js.map +1 -1
  47. package/lib/model/create-pluggable-database-from-local-clone-details.d.ts +4 -0
  48. package/lib/model/create-pluggable-database-from-local-clone-details.js.map +1 -1
  49. package/lib/model/create-pluggable-database-from-remote-clone-details.d.ts +4 -0
  50. package/lib/model/create-pluggable-database-from-remote-clone-details.js.map +1 -1
  51. package/lib/model/create-pluggable-database-snapshot-details.d.ts +51 -0
  52. package/lib/model/create-pluggable-database-snapshot-details.js +30 -0
  53. package/lib/model/create-pluggable-database-snapshot-details.js.map +1 -0
  54. package/lib/model/create-standby-details.d.ts +1 -0
  55. package/lib/model/create-standby-details.js +6 -0
  56. package/lib/model/create-standby-details.js.map +1 -1
  57. package/lib/model/database-storage-size-details.d.ts +33 -0
  58. package/lib/model/database-storage-size-details.js +30 -0
  59. package/lib/model/database-storage-size-details.js.map +1 -0
  60. package/lib/model/database-storage-size-response-details.d.ts +38 -0
  61. package/lib/model/database-storage-size-response-details.js +30 -0
  62. package/lib/model/database-storage-size-response-details.js.map +1 -0
  63. package/lib/model/database-summary.d.ts +1 -0
  64. package/lib/model/database-summary.js +6 -0
  65. package/lib/model/database-summary.js.map +1 -1
  66. package/lib/model/database.d.ts +1 -0
  67. package/lib/model/database.js +6 -0
  68. package/lib/model/database.js.map +1 -1
  69. package/lib/model/db-node-summary.d.ts +17 -0
  70. package/lib/model/db-node-summary.js +10 -0
  71. package/lib/model/db-node-summary.js.map +1 -1
  72. package/lib/model/db-node.d.ts +17 -0
  73. package/lib/model/db-node.js +10 -0
  74. package/lib/model/db-node.js.map +1 -1
  75. package/lib/model/db-system-shape-summary.d.ts +6 -0
  76. package/lib/model/db-system-shape-summary.js +1 -0
  77. package/lib/model/db-system-shape-summary.js.map +1 -1
  78. package/lib/model/db-system-storage-performance-summary.d.ts +5 -0
  79. package/lib/model/db-system-storage-performance-summary.js +1 -0
  80. package/lib/model/db-system-storage-performance-summary.js.map +1 -1
  81. package/lib/model/db-system-summary.d.ts +18 -1
  82. package/lib/model/db-system-summary.js +10 -0
  83. package/lib/model/db-system-summary.js.map +1 -1
  84. package/lib/model/db-system.d.ts +18 -1
  85. package/lib/model/db-system.js +10 -0
  86. package/lib/model/db-system.js.map +1 -1
  87. package/lib/model/exadb-vm-cluster-summary.d.ts +14 -0
  88. package/lib/model/exadb-vm-cluster-summary.js +10 -0
  89. package/lib/model/exadb-vm-cluster-summary.js.map +1 -1
  90. package/lib/model/exadb-vm-cluster.d.ts +14 -0
  91. package/lib/model/exadb-vm-cluster.js +10 -0
  92. package/lib/model/exadb-vm-cluster.js.map +1 -1
  93. package/lib/model/exascale-db-storage-vault-summary.d.ts +14 -0
  94. package/lib/model/exascale-db-storage-vault-summary.js +10 -0
  95. package/lib/model/exascale-db-storage-vault-summary.js.map +1 -1
  96. package/lib/model/exascale-db-storage-vault.d.ts +14 -0
  97. package/lib/model/exascale-db-storage-vault.js +10 -0
  98. package/lib/model/exascale-db-storage-vault.js.map +1 -1
  99. package/lib/model/index.d.ts +10 -0
  100. package/lib/model/index.js +18 -7
  101. package/lib/model/index.js.map +1 -1
  102. package/lib/model/launch-db-system-base.d.ts +15 -3
  103. package/lib/model/launch-db-system-base.js +5 -0
  104. package/lib/model/launch-db-system-base.js.map +1 -1
  105. package/lib/model/pluggable-database-snapshot-summary.d.ts +86 -0
  106. package/lib/model/pluggable-database-snapshot-summary.js +30 -0
  107. package/lib/model/pluggable-database-snapshot-summary.js.map +1 -0
  108. package/lib/model/pluggable-database-snapshot.d.ts +98 -0
  109. package/lib/model/pluggable-database-snapshot.js +43 -0
  110. package/lib/model/pluggable-database-snapshot.js.map +1 -0
  111. package/lib/model/update-database-details.d.ts +1 -0
  112. package/lib/model/update-database-details.js +6 -0
  113. package/lib/model/update-database-details.js.map +1 -1
  114. package/lib/model/update-db-system-details.d.ts +12 -0
  115. package/lib/model/update-db-system-details.js +5 -0
  116. package/lib/model/update-db-system-details.js.map +1 -1
  117. package/lib/request/create-pluggable-database-snapshot-request.d.ts +38 -0
  118. package/lib/request/create-pluggable-database-snapshot-request.js +15 -0
  119. package/lib/request/create-pluggable-database-snapshot-request.js.map +1 -0
  120. package/lib/request/delete-pluggable-database-snapshot-request.d.ts +34 -0
  121. package/lib/request/delete-pluggable-database-snapshot-request.js +15 -0
  122. package/lib/request/delete-pluggable-database-snapshot-request.js.map +1 -0
  123. package/lib/request/get-pluggable-database-snapshot-request.d.ts +27 -0
  124. package/lib/request/get-pluggable-database-snapshot-request.js +15 -0
  125. package/lib/request/get-pluggable-database-snapshot-request.js.map +1 -0
  126. package/lib/request/index.d.ts +8 -0
  127. package/lib/request/index.js +4 -2
  128. package/lib/request/index.js.map +1 -1
  129. package/lib/request/list-autonomous-container-database-backups-request.d.ts +1 -1
  130. package/lib/request/list-db-system-shapes-request.d.ts +4 -0
  131. package/lib/request/list-db-system-storage-performances-request.d.ts +4 -0
  132. package/lib/request/list-db-system-storage-performances-request.js.map +1 -1
  133. package/lib/request/list-db-versions-request.d.ts +4 -0
  134. package/lib/request/list-exascale-db-storage-vaults-request.d.ts +16 -0
  135. package/lib/request/list-exascale-db-storage-vaults-request.js.map +1 -1
  136. package/lib/request/list-gi-versions-request.d.ts +4 -0
  137. package/lib/request/list-gi-versions-request.js.map +1 -1
  138. package/lib/request/list-pluggable-database-snapshots-request.d.ts +70 -0
  139. package/lib/request/list-pluggable-database-snapshots-request.js +29 -0
  140. package/lib/request/list-pluggable-database-snapshots-request.js.map +1 -0
  141. package/lib/response/create-pluggable-database-snapshot-response.d.ts +34 -0
  142. package/lib/response/create-pluggable-database-snapshot-response.js +15 -0
  143. package/lib/response/create-pluggable-database-snapshot-response.js.map +1 -0
  144. package/lib/response/delete-pluggable-database-snapshot-response.d.ts +25 -0
  145. package/lib/response/delete-pluggable-database-snapshot-response.js +15 -0
  146. package/lib/response/delete-pluggable-database-snapshot-response.js.map +1 -0
  147. package/lib/response/get-pluggable-database-snapshot-response.d.ts +29 -0
  148. package/lib/response/get-pluggable-database-snapshot-response.js +15 -0
  149. package/lib/response/get-pluggable-database-snapshot-response.js.map +1 -0
  150. package/lib/response/index.d.ts +8 -0
  151. package/lib/response/list-pluggable-database-snapshots-response.d.ts +33 -0
  152. package/lib/response/list-pluggable-database-snapshots-response.js +15 -0
  153. package/lib/response/list-pluggable-database-snapshots-response.js.map +1 -0
  154. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -987,6 +987,16 @@ export declare class DatabaseClient {
987
987
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreatePluggableDatabase.ts.html |here} to see how to use CreatePluggableDatabase API.
988
988
  */
989
989
  createPluggableDatabase(createPluggableDatabaseRequest: requests.CreatePluggableDatabaseRequest): Promise<responses.CreatePluggableDatabaseResponse>;
990
+ /**
991
+ * Creates a Pluggable Database Snapshot
992
+ *
993
+ * This operation does not retry by default if the user has not defined a retry configuration.
994
+ * @param CreatePluggableDatabaseSnapshotRequest
995
+ * @return CreatePluggableDatabaseSnapshotResponse
996
+ * @throws OciError when an error occurs
997
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreatePluggableDatabaseSnapshot.ts.html |here} to see how to use CreatePluggableDatabaseSnapshot API.
998
+ */
999
+ createPluggableDatabaseSnapshot(createPluggableDatabaseSnapshotRequest: requests.CreatePluggableDatabaseSnapshotRequest): Promise<responses.CreatePluggableDatabaseSnapshotResponse>;
990
1000
  /**
991
1001
  * Creates a Scheduled Action resource.
992
1002
  *
@@ -1343,6 +1353,16 @@ export declare class DatabaseClient {
1343
1353
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeletePluggableDatabase.ts.html |here} to see how to use DeletePluggableDatabase API.
1344
1354
  */
1345
1355
  deletePluggableDatabase(deletePluggableDatabaseRequest: requests.DeletePluggableDatabaseRequest): Promise<responses.DeletePluggableDatabaseResponse>;
1356
+ /**
1357
+ * Deletes the specified Exadata Pluggable Database Snapshot.
1358
+ *
1359
+ * This operation does not retry by default if the user has not defined a retry configuration.
1360
+ * @param DeletePluggableDatabaseSnapshotRequest
1361
+ * @return DeletePluggableDatabaseSnapshotResponse
1362
+ * @throws OciError when an error occurs
1363
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeletePluggableDatabaseSnapshot.ts.html |here} to see how to use DeletePluggableDatabaseSnapshot API.
1364
+ */
1365
+ deletePluggableDatabaseSnapshot(deletePluggableDatabaseSnapshotRequest: requests.DeletePluggableDatabaseSnapshotRequest): Promise<responses.DeletePluggableDatabaseSnapshotResponse>;
1346
1366
  /**
1347
1367
  * Deletes the scheduled action.
1348
1368
  *
@@ -2432,6 +2452,16 @@ export declare class DatabaseClient {
2432
2452
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetPluggableDatabase.ts.html |here} to see how to use GetPluggableDatabase API.
2433
2453
  */
2434
2454
  getPluggableDatabase(getPluggableDatabaseRequest: requests.GetPluggableDatabaseRequest): Promise<responses.GetPluggableDatabaseResponse>;
2455
+ /**
2456
+ * Gets information about the specified Exadata Pluggable Database Snapshot in the specified compartment.
2457
+ *
2458
+ * This operation does not retry by default if the user has not defined a retry configuration.
2459
+ * @param GetPluggableDatabaseSnapshotRequest
2460
+ * @return GetPluggableDatabaseSnapshotResponse
2461
+ * @throws OciError when an error occurs
2462
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetPluggableDatabaseSnapshot.ts.html |here} to see how to use GetPluggableDatabaseSnapshot API.
2463
+ */
2464
+ getPluggableDatabaseSnapshot(getPluggableDatabaseSnapshotRequest: requests.GetPluggableDatabaseSnapshotRequest): Promise<responses.GetPluggableDatabaseSnapshotResponse>;
2435
2465
  /**
2436
2466
  * Gets information about the specified Scheduled Action.
2437
2467
  *
@@ -5109,6 +5139,48 @@ export declare class DatabaseClient {
5109
5139
  * @param request a request which can be sent to the service operation
5110
5140
  */
5111
5141
  listPdbConversionHistoryEntriesResponseIterator(request: requests.ListPdbConversionHistoryEntriesRequest): AsyncIterableIterator<responses.ListPdbConversionHistoryEntriesResponse>;
5142
+ /**
5143
+ * Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment.
5144
+ *
5145
+ * This operation does not retry by default if the user has not defined a retry configuration.
5146
+ * @param ListPluggableDatabaseSnapshotsRequest
5147
+ * @return ListPluggableDatabaseSnapshotsResponse
5148
+ * @throws OciError when an error occurs
5149
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListPluggableDatabaseSnapshots.ts.html |here} to see how to use ListPluggableDatabaseSnapshots API.
5150
+ */
5151
+ listPluggableDatabaseSnapshots(listPluggableDatabaseSnapshotsRequest: requests.ListPluggableDatabaseSnapshotsRequest): Promise<responses.ListPluggableDatabaseSnapshotsResponse>;
5152
+ /**
5153
+ * NOTE: This function is deprecated in favor of listPluggableDatabaseSnapshotsRecordIterator function.
5154
+ * Creates a new async iterator which will iterate over the models.PluggableDatabaseSnapshotSummary objects
5155
+ * contained in responses from the listPluggableDatabaseSnapshots operation. This iterator will fetch more data from the
5156
+ * server as needed.
5157
+ *
5158
+ * @param request a request which can be sent to the service operation
5159
+ */
5160
+ listAllPluggableDatabaseSnapshots(request: requests.ListPluggableDatabaseSnapshotsRequest): AsyncIterableIterator<model.PluggableDatabaseSnapshotSummary>;
5161
+ /**
5162
+ * NOTE: This function is deprecated in favor of listPluggableDatabaseSnapshotsResponseIterator function.
5163
+ * Creates a new async iterator which will iterate over the responses received from the listPluggableDatabaseSnapshots operation. This iterator
5164
+ * will fetch more data from the server as needed.
5165
+ *
5166
+ * @param request a request which can be sent to the service operation
5167
+ */
5168
+ listAllPluggableDatabaseSnapshotsResponses(request: requests.ListPluggableDatabaseSnapshotsRequest): AsyncIterableIterator<responses.ListPluggableDatabaseSnapshotsResponse>;
5169
+ /**
5170
+ * Creates a new async iterator which will iterate over the models.PluggableDatabaseSnapshotSummary objects
5171
+ * contained in responses from the listPluggableDatabaseSnapshots operation. This iterator will fetch more data from the
5172
+ * server as needed.
5173
+ *
5174
+ * @param request a request which can be sent to the service operation
5175
+ */
5176
+ listPluggableDatabaseSnapshotsRecordIterator(request: requests.ListPluggableDatabaseSnapshotsRequest): AsyncIterableIterator<model.PluggableDatabaseSnapshotSummary>;
5177
+ /**
5178
+ * Creates a new async iterator which will iterate over the responses received from the listPluggableDatabaseSnapshots operation. This iterator
5179
+ * will fetch more data from the server as needed.
5180
+ *
5181
+ * @param request a request which can be sent to the service operation
5182
+ */
5183
+ listPluggableDatabaseSnapshotsResponseIterator(request: requests.ListPluggableDatabaseSnapshotsRequest): AsyncIterableIterator<responses.ListPluggableDatabaseSnapshotsResponse>;
5112
5184
  /**
5113
5185
  * Gets a list of the pluggable databases in a database or compartment. You must provide either a `databaseId` or `compartmentId` value.
5114
5186
  *
package/lib/client.js CHANGED
@@ -5937,6 +5937,75 @@ class DatabaseClient {
5937
5937
  }
5938
5938
  });
5939
5939
  }
5940
+ /**
5941
+ * Creates a Pluggable Database Snapshot
5942
+ *
5943
+ * This operation does not retry by default if the user has not defined a retry configuration.
5944
+ * @param CreatePluggableDatabaseSnapshotRequest
5945
+ * @return CreatePluggableDatabaseSnapshotResponse
5946
+ * @throws OciError when an error occurs
5947
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreatePluggableDatabaseSnapshot.ts.html |here} to see how to use CreatePluggableDatabaseSnapshot API.
5948
+ */
5949
+ createPluggableDatabaseSnapshot(createPluggableDatabaseSnapshotRequest) {
5950
+ return __awaiter(this, void 0, void 0, function* () {
5951
+ if (this.logger)
5952
+ this.logger.debug("Calling operation DatabaseClient#createPluggableDatabaseSnapshot.");
5953
+ const operationName = "createPluggableDatabaseSnapshot";
5954
+ const apiReferenceLink = "";
5955
+ const pathParams = {};
5956
+ const queryParams = {};
5957
+ let headerParams = {
5958
+ "Content-Type": common.Constants.APPLICATION_JSON,
5959
+ "opc-retry-token": createPluggableDatabaseSnapshotRequest.opcRetryToken,
5960
+ "opc-request-id": createPluggableDatabaseSnapshotRequest.opcRequestId
5961
+ };
5962
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5963
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPluggableDatabaseSnapshotRequest.retryConfiguration, specRetryConfiguration);
5964
+ if (this.logger)
5965
+ retrier.logger = this.logger;
5966
+ const request = yield oci_common_2.composeRequest({
5967
+ baseEndpoint: this._endpoint,
5968
+ defaultHeaders: this._defaultHeaders,
5969
+ path: "/pluggableDatabaseSnapshots",
5970
+ method: "POST",
5971
+ bodyContent: common.ObjectSerializer.serialize(createPluggableDatabaseSnapshotRequest.createPluggableDatabaseSnapshotDetails, "CreatePluggableDatabaseSnapshotDetails", model.CreatePluggableDatabaseSnapshotDetails.getJsonObj),
5972
+ pathParams: pathParams,
5973
+ headerParams: headerParams,
5974
+ queryParams: queryParams
5975
+ });
5976
+ try {
5977
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5978
+ const sdkResponse = oci_common_2.composeResponse({
5979
+ responseObject: {},
5980
+ body: yield response.json(),
5981
+ bodyKey: "pluggableDatabaseSnapshot",
5982
+ bodyModel: model.PluggableDatabaseSnapshot,
5983
+ type: "model.PluggableDatabaseSnapshot",
5984
+ responseHeaders: [
5985
+ {
5986
+ value: response.headers.get("opc-work-request-id"),
5987
+ key: "opcWorkRequestId",
5988
+ dataType: "string"
5989
+ },
5990
+ {
5991
+ value: response.headers.get("etag"),
5992
+ key: "etag",
5993
+ dataType: "string"
5994
+ },
5995
+ {
5996
+ value: response.headers.get("opc-request-id"),
5997
+ key: "opcRequestId",
5998
+ dataType: "string"
5999
+ }
6000
+ ]
6001
+ });
6002
+ return sdkResponse;
6003
+ }
6004
+ catch (err) {
6005
+ throw err;
6006
+ }
6007
+ });
6008
+ }
5940
6009
  /**
5941
6010
  * Creates a Scheduled Action resource.
5942
6011
  *
@@ -8081,6 +8150,67 @@ class DatabaseClient {
8081
8150
  }
8082
8151
  });
8083
8152
  }
8153
+ /**
8154
+ * Deletes the specified Exadata Pluggable Database Snapshot.
8155
+ *
8156
+ * This operation does not retry by default if the user has not defined a retry configuration.
8157
+ * @param DeletePluggableDatabaseSnapshotRequest
8158
+ * @return DeletePluggableDatabaseSnapshotResponse
8159
+ * @throws OciError when an error occurs
8160
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeletePluggableDatabaseSnapshot.ts.html |here} to see how to use DeletePluggableDatabaseSnapshot API.
8161
+ */
8162
+ deletePluggableDatabaseSnapshot(deletePluggableDatabaseSnapshotRequest) {
8163
+ return __awaiter(this, void 0, void 0, function* () {
8164
+ if (this.logger)
8165
+ this.logger.debug("Calling operation DatabaseClient#deletePluggableDatabaseSnapshot.");
8166
+ const operationName = "deletePluggableDatabaseSnapshot";
8167
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/PluggableDatabaseSnapshot/DeletePluggableDatabaseSnapshot";
8168
+ const pathParams = {
8169
+ "{pluggableDatabaseSnapshotId}": deletePluggableDatabaseSnapshotRequest.pluggableDatabaseSnapshotId
8170
+ };
8171
+ const queryParams = {};
8172
+ let headerParams = {
8173
+ "Content-Type": common.Constants.APPLICATION_JSON,
8174
+ "if-match": deletePluggableDatabaseSnapshotRequest.ifMatch,
8175
+ "opc-request-id": deletePluggableDatabaseSnapshotRequest.opcRequestId
8176
+ };
8177
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
8178
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePluggableDatabaseSnapshotRequest.retryConfiguration, specRetryConfiguration);
8179
+ if (this.logger)
8180
+ retrier.logger = this.logger;
8181
+ const request = yield oci_common_2.composeRequest({
8182
+ baseEndpoint: this._endpoint,
8183
+ defaultHeaders: this._defaultHeaders,
8184
+ path: "/pluggableDatabaseSnapshots/{pluggableDatabaseSnapshotId}",
8185
+ method: "DELETE",
8186
+ pathParams: pathParams,
8187
+ headerParams: headerParams,
8188
+ queryParams: queryParams
8189
+ });
8190
+ try {
8191
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
8192
+ const sdkResponse = oci_common_2.composeResponse({
8193
+ responseObject: {},
8194
+ responseHeaders: [
8195
+ {
8196
+ value: response.headers.get("opc-work-request-id"),
8197
+ key: "opcWorkRequestId",
8198
+ dataType: "string"
8199
+ },
8200
+ {
8201
+ value: response.headers.get("opc-request-id"),
8202
+ key: "opcRequestId",
8203
+ dataType: "string"
8204
+ }
8205
+ ]
8206
+ });
8207
+ return sdkResponse;
8208
+ }
8209
+ catch (err) {
8210
+ throw err;
8211
+ }
8212
+ });
8213
+ }
8084
8214
  /**
8085
8215
  * Deletes the scheduled action.
8086
8216
  *
@@ -14952,6 +15082,70 @@ class DatabaseClient {
14952
15082
  }
14953
15083
  });
14954
15084
  }
15085
+ /**
15086
+ * Gets information about the specified Exadata Pluggable Database Snapshot in the specified compartment.
15087
+ *
15088
+ * This operation does not retry by default if the user has not defined a retry configuration.
15089
+ * @param GetPluggableDatabaseSnapshotRequest
15090
+ * @return GetPluggableDatabaseSnapshotResponse
15091
+ * @throws OciError when an error occurs
15092
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetPluggableDatabaseSnapshot.ts.html |here} to see how to use GetPluggableDatabaseSnapshot API.
15093
+ */
15094
+ getPluggableDatabaseSnapshot(getPluggableDatabaseSnapshotRequest) {
15095
+ return __awaiter(this, void 0, void 0, function* () {
15096
+ if (this.logger)
15097
+ this.logger.debug("Calling operation DatabaseClient#getPluggableDatabaseSnapshot.");
15098
+ const operationName = "getPluggableDatabaseSnapshot";
15099
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/PluggableDatabaseSnapshot/GetPluggableDatabaseSnapshot";
15100
+ const pathParams = {
15101
+ "{pluggableDatabaseSnapshotId}": getPluggableDatabaseSnapshotRequest.pluggableDatabaseSnapshotId
15102
+ };
15103
+ const queryParams = {};
15104
+ let headerParams = {
15105
+ "Content-Type": common.Constants.APPLICATION_JSON,
15106
+ "opc-request-id": getPluggableDatabaseSnapshotRequest.opcRequestId
15107
+ };
15108
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
15109
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPluggableDatabaseSnapshotRequest.retryConfiguration, specRetryConfiguration);
15110
+ if (this.logger)
15111
+ retrier.logger = this.logger;
15112
+ const request = yield oci_common_2.composeRequest({
15113
+ baseEndpoint: this._endpoint,
15114
+ defaultHeaders: this._defaultHeaders,
15115
+ path: "/pluggableDatabaseSnapshots/{pluggableDatabaseSnapshotId}",
15116
+ method: "GET",
15117
+ pathParams: pathParams,
15118
+ headerParams: headerParams,
15119
+ queryParams: queryParams
15120
+ });
15121
+ try {
15122
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
15123
+ const sdkResponse = oci_common_2.composeResponse({
15124
+ responseObject: {},
15125
+ body: yield response.json(),
15126
+ bodyKey: "pluggableDatabaseSnapshot",
15127
+ bodyModel: model.PluggableDatabaseSnapshot,
15128
+ type: "model.PluggableDatabaseSnapshot",
15129
+ responseHeaders: [
15130
+ {
15131
+ value: response.headers.get("etag"),
15132
+ key: "etag",
15133
+ dataType: "string"
15134
+ },
15135
+ {
15136
+ value: response.headers.get("opc-request-id"),
15137
+ key: "opcRequestId",
15138
+ dataType: "string"
15139
+ }
15140
+ ]
15141
+ });
15142
+ return sdkResponse;
15143
+ }
15144
+ catch (err) {
15145
+ throw err;
15146
+ }
15147
+ });
15148
+ }
14955
15149
  /**
14956
15150
  * Gets information about the specified Scheduled Action.
14957
15151
  *
@@ -20136,7 +20330,8 @@ class DatabaseClient {
20136
20330
  "availabilityDomain": listDbSystemShapesRequest.availabilityDomain,
20137
20331
  "compartmentId": listDbSystemShapesRequest.compartmentId,
20138
20332
  "limit": listDbSystemShapesRequest.limit,
20139
- "page": listDbSystemShapesRequest.page
20333
+ "page": listDbSystemShapesRequest.page,
20334
+ "shapeAttribute": listDbSystemShapesRequest.shapeAttribute
20140
20335
  };
20141
20336
  let headerParams = {
20142
20337
  "Content-Type": common.Constants.APPLICATION_JSON
@@ -20241,7 +20436,8 @@ class DatabaseClient {
20241
20436
  const queryParams = {
20242
20437
  "storageManagement": listDbSystemStoragePerformancesRequest.storageManagement,
20243
20438
  "shapeType": listDbSystemStoragePerformancesRequest.shapeType,
20244
- "databaseEdition": listDbSystemStoragePerformancesRequest.databaseEdition
20439
+ "databaseEdition": listDbSystemStoragePerformancesRequest.databaseEdition,
20440
+ "compartmentId": listDbSystemStoragePerformancesRequest.compartmentId
20245
20441
  };
20246
20442
  let headerParams = {
20247
20443
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -20642,6 +20838,7 @@ class DatabaseClient {
20642
20838
  "dbSystemShape": listDbVersionsRequest.dbSystemShape,
20643
20839
  "dbSystemId": listDbVersionsRequest.dbSystemId,
20644
20840
  "storageManagement": listDbVersionsRequest.storageManagement,
20841
+ "shapeAttribute": listDbVersionsRequest.shapeAttribute,
20645
20842
  "isUpgradeSupported": listDbVersionsRequest.isUpgradeSupported,
20646
20843
  "isDatabaseSoftwareImageSupported": listDbVersionsRequest.isDatabaseSoftwareImageSupported
20647
20844
  };
@@ -21194,6 +21391,10 @@ class DatabaseClient {
21194
21391
  "sortOrder": listExascaleDbStorageVaultsRequest.sortOrder,
21195
21392
  "lifecycleState": listExascaleDbStorageVaultsRequest.lifecycleState,
21196
21393
  "clusterPlacementGroupId": listExascaleDbStorageVaultsRequest.clusterPlacementGroupId,
21394
+ "attachedShapeAttributesNotEqualTo": listExascaleDbStorageVaultsRequest.attachedShapeAttributesNotEqualTo,
21395
+ "attachedShapeAttributes": listExascaleDbStorageVaultsRequest.attachedShapeAttributes,
21396
+ "vmClusterCountLessThanOrEqualTo": listExascaleDbStorageVaultsRequest.vmClusterCountLessThanOrEqualTo,
21397
+ "vmClusterCountGreaterThanOrEqualTo": listExascaleDbStorageVaultsRequest.vmClusterCountGreaterThanOrEqualTo,
21197
21398
  "displayName": listExascaleDbStorageVaultsRequest.displayName,
21198
21399
  "exadataInfrastructureId": listExascaleDbStorageVaultsRequest.exadataInfrastructureId
21199
21400
  };
@@ -22150,7 +22351,8 @@ class DatabaseClient {
22150
22351
  "sortOrder": listGiVersionsRequest.sortOrder,
22151
22352
  "shape": listGiVersionsRequest.shape,
22152
22353
  "availabilityDomain": listGiVersionsRequest.availabilityDomain,
22153
- "resourceId": listGiVersionsRequest.resourceId
22354
+ "resourceId": listGiVersionsRequest.resourceId,
22355
+ "shapeAttribute": listGiVersionsRequest.shapeAttribute
22154
22356
  };
22155
22357
  let headerParams = {
22156
22358
  "Content-Type": common.Constants.APPLICATION_JSON
@@ -22856,6 +23058,118 @@ class DatabaseClient {
22856
23058
  listPdbConversionHistoryEntriesResponseIterator(request) {
22857
23059
  return oci_common_1.paginateResponses(request, req => this.listPdbConversionHistoryEntries(req));
22858
23060
  }
23061
+ /**
23062
+ * Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment.
23063
+ *
23064
+ * This operation does not retry by default if the user has not defined a retry configuration.
23065
+ * @param ListPluggableDatabaseSnapshotsRequest
23066
+ * @return ListPluggableDatabaseSnapshotsResponse
23067
+ * @throws OciError when an error occurs
23068
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListPluggableDatabaseSnapshots.ts.html |here} to see how to use ListPluggableDatabaseSnapshots API.
23069
+ */
23070
+ listPluggableDatabaseSnapshots(listPluggableDatabaseSnapshotsRequest) {
23071
+ return __awaiter(this, void 0, void 0, function* () {
23072
+ if (this.logger)
23073
+ this.logger.debug("Calling operation DatabaseClient#listPluggableDatabaseSnapshots.");
23074
+ const operationName = "listPluggableDatabaseSnapshots";
23075
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/PluggableDatabaseSnapshot/ListPluggableDatabaseSnapshots";
23076
+ const pathParams = {};
23077
+ const queryParams = {
23078
+ "compartmentId": listPluggableDatabaseSnapshotsRequest.compartmentId,
23079
+ "limit": listPluggableDatabaseSnapshotsRequest.limit,
23080
+ "page": listPluggableDatabaseSnapshotsRequest.page,
23081
+ "sortBy": listPluggableDatabaseSnapshotsRequest.sortBy,
23082
+ "name": listPluggableDatabaseSnapshotsRequest.name,
23083
+ "sortOrder": listPluggableDatabaseSnapshotsRequest.sortOrder,
23084
+ "lifecycleState": listPluggableDatabaseSnapshotsRequest.lifecycleState,
23085
+ "clusterId": listPluggableDatabaseSnapshotsRequest.clusterId,
23086
+ "pluggableDatabaseId": listPluggableDatabaseSnapshotsRequest.pluggableDatabaseId
23087
+ };
23088
+ let headerParams = {
23089
+ "Content-Type": common.Constants.APPLICATION_JSON,
23090
+ "opc-request-id": listPluggableDatabaseSnapshotsRequest.opcRequestId
23091
+ };
23092
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
23093
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPluggableDatabaseSnapshotsRequest.retryConfiguration, specRetryConfiguration);
23094
+ if (this.logger)
23095
+ retrier.logger = this.logger;
23096
+ const request = yield oci_common_2.composeRequest({
23097
+ baseEndpoint: this._endpoint,
23098
+ defaultHeaders: this._defaultHeaders,
23099
+ path: "/pluggableDatabaseSnapshots",
23100
+ method: "GET",
23101
+ pathParams: pathParams,
23102
+ headerParams: headerParams,
23103
+ queryParams: queryParams
23104
+ });
23105
+ try {
23106
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
23107
+ const sdkResponse = oci_common_2.composeResponse({
23108
+ responseObject: {},
23109
+ body: yield response.json(),
23110
+ bodyKey: "items",
23111
+ bodyModel: model.PluggableDatabaseSnapshotSummary,
23112
+ type: "Array<model.PluggableDatabaseSnapshotSummary>",
23113
+ responseHeaders: [
23114
+ {
23115
+ value: response.headers.get("opc-request-id"),
23116
+ key: "opcRequestId",
23117
+ dataType: "string"
23118
+ },
23119
+ {
23120
+ value: response.headers.get("opc-next-page"),
23121
+ key: "opcNextPage",
23122
+ dataType: "string"
23123
+ }
23124
+ ]
23125
+ });
23126
+ return sdkResponse;
23127
+ }
23128
+ catch (err) {
23129
+ throw err;
23130
+ }
23131
+ });
23132
+ }
23133
+ /**
23134
+ * NOTE: This function is deprecated in favor of listPluggableDatabaseSnapshotsRecordIterator function.
23135
+ * Creates a new async iterator which will iterate over the models.PluggableDatabaseSnapshotSummary objects
23136
+ * contained in responses from the listPluggableDatabaseSnapshots operation. This iterator will fetch more data from the
23137
+ * server as needed.
23138
+ *
23139
+ * @param request a request which can be sent to the service operation
23140
+ */
23141
+ listAllPluggableDatabaseSnapshots(request) {
23142
+ return oci_common_1.paginateRecords(request, req => this.listPluggableDatabaseSnapshots(req));
23143
+ }
23144
+ /**
23145
+ * NOTE: This function is deprecated in favor of listPluggableDatabaseSnapshotsResponseIterator function.
23146
+ * Creates a new async iterator which will iterate over the responses received from the listPluggableDatabaseSnapshots operation. This iterator
23147
+ * will fetch more data from the server as needed.
23148
+ *
23149
+ * @param request a request which can be sent to the service operation
23150
+ */
23151
+ listAllPluggableDatabaseSnapshotsResponses(request) {
23152
+ return oci_common_1.paginateResponses(request, req => this.listPluggableDatabaseSnapshots(req));
23153
+ }
23154
+ /**
23155
+ * Creates a new async iterator which will iterate over the models.PluggableDatabaseSnapshotSummary objects
23156
+ * contained in responses from the listPluggableDatabaseSnapshots operation. This iterator will fetch more data from the
23157
+ * server as needed.
23158
+ *
23159
+ * @param request a request which can be sent to the service operation
23160
+ */
23161
+ listPluggableDatabaseSnapshotsRecordIterator(request) {
23162
+ return oci_common_1.paginateRecords(request, req => this.listPluggableDatabaseSnapshots(req));
23163
+ }
23164
+ /**
23165
+ * Creates a new async iterator which will iterate over the responses received from the listPluggableDatabaseSnapshots operation. This iterator
23166
+ * will fetch more data from the server as needed.
23167
+ *
23168
+ * @param request a request which can be sent to the service operation
23169
+ */
23170
+ listPluggableDatabaseSnapshotsResponseIterator(request) {
23171
+ return oci_common_1.paginateResponses(request, req => this.listPluggableDatabaseSnapshots(req));
23172
+ }
22859
23173
  /**
22860
23174
  * Gets a list of the pluggable databases in a database or compartment. You must provide either a `databaseId` or `compartmentId` value.
22861
23175
  *