oci-database 2.125.3 → 2.126.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 (86) hide show
  1. package/lib/client.d.ts +30 -0
  2. package/lib/client.js +194 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +18 -0
  5. package/lib/database-waiter.js +30 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/autonomous-database-backup-summary.d.ts +2 -0
  8. package/lib/model/autonomous-database-backup-summary.js.map +1 -1
  9. package/lib/model/autonomous-database-backup.d.ts +2 -0
  10. package/lib/model/autonomous-database-backup.js.map +1 -1
  11. package/lib/model/autonomous-database-summary.d.ts +4 -0
  12. package/lib/model/autonomous-database-summary.js.map +1 -1
  13. package/lib/model/autonomous-database.d.ts +4 -0
  14. package/lib/model/autonomous-database.js.map +1 -1
  15. package/lib/model/autonomous-db-preview-version-summary.d.ts +2 -0
  16. package/lib/model/autonomous-db-preview-version-summary.js.map +1 -1
  17. package/lib/model/autonomous-db-version-summary.d.ts +4 -0
  18. package/lib/model/autonomous-db-version-summary.js.map +1 -1
  19. package/lib/model/autonomous-dw-database.d.ts +4 -0
  20. package/lib/model/autonomous-dw-database.js.map +1 -1
  21. package/lib/model/create-autonomous-database-base.d.ts +4 -0
  22. package/lib/model/create-autonomous-database-base.js.map +1 -1
  23. package/lib/model/create-database-for-standby-db-system-details.d.ts +109 -0
  24. package/lib/model/create-database-for-standby-db-system-details.js +76 -0
  25. package/lib/model/create-database-for-standby-db-system-details.js.map +1 -0
  26. package/lib/model/create-db-home-for-standby-db-system.d.ts +31 -0
  27. package/lib/model/create-db-home-for-standby-db-system.js +58 -0
  28. package/lib/model/create-db-home-for-standby-db-system.js.map +1 -0
  29. package/lib/model/db-node-summary.d.ts +6 -0
  30. package/lib/model/db-node-summary.js.map +1 -1
  31. package/lib/model/db-node.d.ts +6 -0
  32. package/lib/model/db-node.js.map +1 -1
  33. package/lib/model/db-system-os-patch-details-collection.d.ts +27 -0
  34. package/lib/model/db-system-os-patch-details-collection.js +62 -0
  35. package/lib/model/db-system-os-patch-details-collection.js.map +1 -0
  36. package/lib/model/db-system-os-patch-details-summary.d.ts +34 -0
  37. package/lib/model/db-system-os-patch-details-summary.js +30 -0
  38. package/lib/model/db-system-os-patch-details-summary.js.map +1 -0
  39. package/lib/model/db-system-os-patch-history-entry-collection.d.ts +27 -0
  40. package/lib/model/db-system-os-patch-history-entry-collection.js +62 -0
  41. package/lib/model/db-system-os-patch-history-entry-collection.js.map +1 -0
  42. package/lib/model/db-system-os-patch-history-entry-summary.d.ts +73 -0
  43. package/lib/model/db-system-os-patch-history-entry-summary.js +79 -0
  44. package/lib/model/db-system-os-patch-history-entry-summary.js.map +1 -0
  45. package/lib/model/db-system-os-patch-history-entry.d.ts +74 -0
  46. package/lib/model/db-system-os-patch-history-entry.js +79 -0
  47. package/lib/model/db-system-os-patch-history-entry.js.map +1 -0
  48. package/lib/model/execute-db-system-os-patch-details.d.ts +39 -0
  49. package/lib/model/execute-db-system-os-patch-details.js +35 -0
  50. package/lib/model/execute-db-system-os-patch-details.js.map +1 -0
  51. package/lib/model/index.d.ts +18 -0
  52. package/lib/model/index.js +27 -8
  53. package/lib/model/index.js.map +1 -1
  54. package/lib/model/launch-db-system-base.js +4 -0
  55. package/lib/model/launch-db-system-base.js.map +1 -1
  56. package/lib/model/launch-standby-db-system-details.d.ts +40 -0
  57. package/lib/model/launch-standby-db-system-details.js +68 -0
  58. package/lib/model/launch-standby-db-system-details.js.map +1 -0
  59. package/lib/model/source-database-details.d.ts +2 -0
  60. package/lib/model/source-database-details.js.map +1 -1
  61. package/lib/model/update-autonomous-database-details.d.ts +4 -0
  62. package/lib/model/update-autonomous-database-details.js.map +1 -1
  63. package/lib/request/execute-db-system-os-patch-request.d.ts +48 -0
  64. package/lib/request/execute-db-system-os-patch-request.js +15 -0
  65. package/lib/request/execute-db-system-os-patch-request.js.map +1 -0
  66. package/lib/request/get-db-system-os-patch-history-entry-request.d.ts +31 -0
  67. package/lib/request/get-db-system-os-patch-history-entry-request.js +15 -0
  68. package/lib/request/get-db-system-os-patch-history-entry-request.js.map +1 -0
  69. package/lib/request/index.d.ts +6 -0
  70. package/lib/request/index.js +4 -2
  71. package/lib/request/index.js.map +1 -1
  72. package/lib/request/launch-db-system-request.d.ts +1 -1
  73. package/lib/request/list-db-system-os-patch-history-entries-request.d.ts +62 -0
  74. package/lib/request/list-db-system-os-patch-history-entries-request.js +29 -0
  75. package/lib/request/list-db-system-os-patch-history-entries-request.js.map +1 -0
  76. package/lib/response/execute-db-system-os-patch-response.d.ts +25 -0
  77. package/lib/response/execute-db-system-os-patch-response.js +15 -0
  78. package/lib/response/execute-db-system-os-patch-response.js.map +1 -0
  79. package/lib/response/get-db-system-os-patch-history-entry-response.d.ts +25 -0
  80. package/lib/response/get-db-system-os-patch-history-entry-response.js +15 -0
  81. package/lib/response/get-db-system-os-patch-history-entry-response.js.map +1 -0
  82. package/lib/response/index.d.ts +6 -0
  83. package/lib/response/list-db-system-os-patch-history-entries-response.d.ts +33 -0
  84. package/lib/response/list-db-system-os-patch-history-entries-response.js +15 -0
  85. package/lib/response/list-db-system-os-patch-history-entries-response.js.map +1 -0
  86. package/package.json +3 -3
@@ -1531,6 +1531,16 @@ export declare class DatabaseWaiter {
1531
1531
  response: serviceResponses.EnablePluggableDatabaseManagementResponse;
1532
1532
  workRequestResponse: responses.GetWorkRequestResponse;
1533
1533
  }>;
1534
+ /**
1535
+ * Waits forExecuteDbSystemOsPatch
1536
+ *
1537
+ * @param request the request to send
1538
+ * @return response returns ExecuteDbSystemOsPatchResponse, GetWorkRequestResponse tuple
1539
+ */
1540
+ forExecuteDbSystemOsPatch(request: serviceRequests.ExecuteDbSystemOsPatchRequest): Promise<{
1541
+ response: serviceResponses.ExecuteDbSystemOsPatchResponse;
1542
+ workRequestResponse: responses.GetWorkRequestResponse;
1543
+ }>;
1534
1544
  /**
1535
1545
  * Waits forFailOverAutonomousDatabase
1536
1546
  *
@@ -1813,6 +1823,14 @@ export declare class DatabaseWaiter {
1813
1823
  * @return response returns GetDbSystemResponse | null (null in case of 404 response)
1814
1824
  */
1815
1825
  forDbSystem(request: serviceRequests.GetDbSystemRequest, ...targetStates: models.DbSystem.LifecycleState[]): Promise<serviceResponses.GetDbSystemResponse | null>;
1826
+ /**
1827
+ * Waits forDbSystemOsPatchHistoryEntry till it reaches any of the provided states
1828
+ *
1829
+ * @param request the request to send
1830
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
1831
+ * @return response returns GetDbSystemOsPatchHistoryEntryResponse
1832
+ */
1833
+ forDbSystemOsPatchHistoryEntry(request: serviceRequests.GetDbSystemOsPatchHistoryEntryRequest, ...targetStates: models.DbSystemOsPatchHistoryEntry.LifecycleState[]): Promise<serviceResponses.GetDbSystemOsPatchHistoryEntryResponse>;
1816
1834
  /**
1817
1835
  * Waits forDbSystemUpgradeHistoryEntry till it reaches any of the provided states
1818
1836
  *
@@ -2967,6 +2967,24 @@ class DatabaseWaiter {
2967
2967
  };
2968
2968
  });
2969
2969
  }
2970
+ /**
2971
+ * Waits forExecuteDbSystemOsPatch
2972
+ *
2973
+ * @param request the request to send
2974
+ * @return response returns ExecuteDbSystemOsPatchResponse, GetWorkRequestResponse tuple
2975
+ */
2976
+ forExecuteDbSystemOsPatch(request) {
2977
+ return __awaiter(this, void 0, void 0, function* () {
2978
+ const executeDbSystemOsPatchResponse = yield this.client.executeDbSystemOsPatch(request);
2979
+ if (executeDbSystemOsPatchResponse.opcWorkRequestId === undefined)
2980
+ return { response: executeDbSystemOsPatchResponse, workRequestResponse: undefined };
2981
+ const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, executeDbSystemOsPatchResponse.opcWorkRequestId);
2982
+ return {
2983
+ response: executeDbSystemOsPatchResponse,
2984
+ workRequestResponse: getWorkRequestResponse
2985
+ };
2986
+ });
2987
+ }
2970
2988
  /**
2971
2989
  * Waits forFailOverAutonomousDatabase
2972
2990
  *
@@ -3414,6 +3432,18 @@ class DatabaseWaiter {
3414
3432
  return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getDbSystem(request), response => targetStates.includes(response.dbSystem.lifecycleState), targetStates.includes(models.DbSystem.LifecycleState.Terminated));
3415
3433
  });
3416
3434
  }
3435
+ /**
3436
+ * Waits forDbSystemOsPatchHistoryEntry till it reaches any of the provided states
3437
+ *
3438
+ * @param request the request to send
3439
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
3440
+ * @return response returns GetDbSystemOsPatchHistoryEntryResponse
3441
+ */
3442
+ forDbSystemOsPatchHistoryEntry(request, ...targetStates) {
3443
+ return __awaiter(this, void 0, void 0, function* () {
3444
+ return oci_common_1.genericWaiter(this.config, () => this.client.getDbSystemOsPatchHistoryEntry(request), response => targetStates.includes(response.dbSystemOsPatchHistoryEntry.lifecycleState));
3445
+ });
3446
+ }
3417
3447
  /**
3418
3448
  * Waits forDbSystemUpgradeHistoryEntry till it reaches any of the provided states
3419
3449
  *