oci-database 2.117.0 → 2.118.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 (73) hide show
  1. package/lib/client.d.ts +20 -0
  2. package/lib/client.js +139 -2
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +20 -0
  5. package/lib/database-waiter.js +42 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/autonomous-database-summary.d.ts +14 -0
  8. package/lib/model/autonomous-database-summary.js +11 -0
  9. package/lib/model/autonomous-database-summary.js.map +1 -1
  10. package/lib/model/autonomous-database.d.ts +14 -0
  11. package/lib/model/autonomous-database.js +11 -0
  12. package/lib/model/autonomous-database.js.map +1 -1
  13. package/lib/model/autonomous-dw-database.d.ts +9 -0
  14. package/lib/model/autonomous-dw-database.js +6 -0
  15. package/lib/model/autonomous-dw-database.js.map +1 -1
  16. package/lib/model/change-cloud-db-system-subscription-details.d.ts +32 -0
  17. package/lib/model/change-cloud-db-system-subscription-details.js +30 -0
  18. package/lib/model/change-cloud-db-system-subscription-details.js.map +1 -0
  19. package/lib/model/cloud-exadata-infrastructure-summary.d.ts +2 -1
  20. package/lib/model/cloud-exadata-infrastructure-summary.js +6 -0
  21. package/lib/model/cloud-exadata-infrastructure-summary.js.map +1 -1
  22. package/lib/model/cloud-exadata-infrastructure.d.ts +2 -1
  23. package/lib/model/cloud-exadata-infrastructure.js +6 -0
  24. package/lib/model/cloud-exadata-infrastructure.js.map +1 -1
  25. package/lib/model/cloud-vm-cluster-summary.d.ts +17 -0
  26. package/lib/model/cloud-vm-cluster-summary.js +10 -0
  27. package/lib/model/cloud-vm-cluster-summary.js.map +1 -1
  28. package/lib/model/cloud-vm-cluster.d.ts +17 -0
  29. package/lib/model/cloud-vm-cluster.js +10 -0
  30. package/lib/model/cloud-vm-cluster.js.map +1 -1
  31. package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.d.ts +27 -0
  32. package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.js +30 -0
  33. package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.js.map +1 -0
  34. package/lib/model/create-cloud-exadata-infrastructure-details.d.ts +1 -1
  35. package/lib/model/create-cloud-vm-cluster-details.d.ts +4 -0
  36. package/lib/model/create-cloud-vm-cluster-details.js.map +1 -1
  37. package/lib/model/create-data-guard-association-with-new-db-system-details.d.ts +8 -0
  38. package/lib/model/create-data-guard-association-with-new-db-system-details.js.map +1 -1
  39. package/lib/model/create-exascale-db-storage-vault-details.d.ts +1 -1
  40. package/lib/model/create-refreshable-autonomous-database-clone-details.d.ts +9 -0
  41. package/lib/model/create-refreshable-autonomous-database-clone-details.js +6 -0
  42. package/lib/model/create-refreshable-autonomous-database-clone-details.js.map +1 -1
  43. package/lib/model/db-system-summary.d.ts +8 -0
  44. package/lib/model/db-system-summary.js.map +1 -1
  45. package/lib/model/db-system.d.ts +8 -0
  46. package/lib/model/db-system.js.map +1 -1
  47. package/lib/model/exadb-vm-cluster-summary.d.ts +1 -1
  48. package/lib/model/exadb-vm-cluster.d.ts +1 -1
  49. package/lib/model/exascale-db-storage-vault-summary.d.ts +1 -1
  50. package/lib/model/exascale-db-storage-vault.d.ts +1 -1
  51. package/lib/model/index.d.ts +4 -0
  52. package/lib/model/index.js +14 -10
  53. package/lib/model/index.js.map +1 -1
  54. package/lib/model/launch-db-system-base.d.ts +8 -0
  55. package/lib/model/launch-db-system-base.js.map +1 -1
  56. package/lib/request/change-cloud-db-system-subscription-request.d.ts +48 -0
  57. package/lib/request/change-cloud-db-system-subscription-request.js +15 -0
  58. package/lib/request/change-cloud-db-system-subscription-request.js.map +1 -0
  59. package/lib/request/configure-exascale-cloud-exadata-infrastructure-request.d.ts +48 -0
  60. package/lib/request/configure-exascale-cloud-exadata-infrastructure-request.js +15 -0
  61. package/lib/request/configure-exascale-cloud-exadata-infrastructure-request.js.map +1 -0
  62. package/lib/request/index.d.ts +4 -0
  63. package/lib/request/index.js.map +1 -1
  64. package/lib/request/launch-db-system-request.d.ts +6 -0
  65. package/lib/request/update-db-system-request.d.ts +6 -0
  66. package/lib/response/change-cloud-db-system-subscription-response.d.ts +25 -0
  67. package/lib/response/change-cloud-db-system-subscription-response.js +15 -0
  68. package/lib/response/change-cloud-db-system-subscription-response.js.map +1 -0
  69. package/lib/response/configure-exascale-cloud-exadata-infrastructure-response.d.ts +34 -0
  70. package/lib/response/configure-exascale-cloud-exadata-infrastructure-response.js +15 -0
  71. package/lib/response/configure-exascale-cloud-exadata-infrastructure-response.js.map +1 -0
  72. package/lib/response/index.d.ts +4 -0
  73. package/package.json +3 -3
@@ -211,6 +211,16 @@ export declare class DatabaseWaiter {
211
211
  response: serviceResponses.ChangeCloudAutonomousVmClusterSubscriptionResponse;
212
212
  workRequestResponse: responses.GetWorkRequestResponse;
213
213
  }>;
214
+ /**
215
+ * Waits forChangeCloudDbSystemSubscription
216
+ *
217
+ * @param request the request to send
218
+ * @return response returns ChangeCloudDbSystemSubscriptionResponse, GetWorkRequestResponse tuple
219
+ */
220
+ forChangeCloudDbSystemSubscription(request: serviceRequests.ChangeCloudDbSystemSubscriptionRequest): Promise<{
221
+ response: serviceResponses.ChangeCloudDbSystemSubscriptionResponse;
222
+ workRequestResponse: responses.GetWorkRequestResponse;
223
+ }>;
214
224
  /**
215
225
  * Waits forChangeCloudExadataInfrastructureCompartment
216
226
  *
@@ -471,6 +481,16 @@ export declare class DatabaseWaiter {
471
481
  response: serviceResponses.ConfigureAutonomousDatabaseVaultKeyResponse;
472
482
  workRequestResponse: responses.GetWorkRequestResponse;
473
483
  }>;
484
+ /**
485
+ * Waits forConfigureExascaleCloudExadataInfrastructure
486
+ *
487
+ * @param request the request to send
488
+ * @return response returns ConfigureExascaleCloudExadataInfrastructureResponse, GetWorkRequestResponse tuple
489
+ */
490
+ forConfigureExascaleCloudExadataInfrastructure(request: serviceRequests.ConfigureExascaleCloudExadataInfrastructureRequest): Promise<{
491
+ response: serviceResponses.ConfigureExascaleCloudExadataInfrastructureResponse;
492
+ workRequestResponse: responses.GetWorkRequestResponse;
493
+ }>;
474
494
  /**
475
495
  * Waits forConfigureExascaleExadataInfrastructure
476
496
  *
@@ -438,6 +438,27 @@ class DatabaseWaiter {
438
438
  };
439
439
  });
440
440
  }
441
+ /**
442
+ * Waits forChangeCloudDbSystemSubscription
443
+ *
444
+ * @param request the request to send
445
+ * @return response returns ChangeCloudDbSystemSubscriptionResponse, GetWorkRequestResponse tuple
446
+ */
447
+ forChangeCloudDbSystemSubscription(request) {
448
+ return __awaiter(this, void 0, void 0, function* () {
449
+ const changeCloudDbSystemSubscriptionResponse = yield this.client.changeCloudDbSystemSubscription(request);
450
+ if (changeCloudDbSystemSubscriptionResponse.opcWorkRequestId === undefined)
451
+ return {
452
+ response: changeCloudDbSystemSubscriptionResponse,
453
+ workRequestResponse: undefined
454
+ };
455
+ const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, changeCloudDbSystemSubscriptionResponse.opcWorkRequestId);
456
+ return {
457
+ response: changeCloudDbSystemSubscriptionResponse,
458
+ workRequestResponse: getWorkRequestResponse
459
+ };
460
+ });
461
+ }
441
462
  /**
442
463
  * Waits forChangeCloudExadataInfrastructureCompartment
443
464
  *
@@ -963,6 +984,27 @@ class DatabaseWaiter {
963
984
  };
964
985
  });
965
986
  }
987
+ /**
988
+ * Waits forConfigureExascaleCloudExadataInfrastructure
989
+ *
990
+ * @param request the request to send
991
+ * @return response returns ConfigureExascaleCloudExadataInfrastructureResponse, GetWorkRequestResponse tuple
992
+ */
993
+ forConfigureExascaleCloudExadataInfrastructure(request) {
994
+ return __awaiter(this, void 0, void 0, function* () {
995
+ const configureExascaleCloudExadataInfrastructureResponse = yield this.client.configureExascaleCloudExadataInfrastructure(request);
996
+ if (configureExascaleCloudExadataInfrastructureResponse.opcWorkRequestId === undefined)
997
+ return {
998
+ response: configureExascaleCloudExadataInfrastructureResponse,
999
+ workRequestResponse: undefined
1000
+ };
1001
+ const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, configureExascaleCloudExadataInfrastructureResponse.opcWorkRequestId);
1002
+ return {
1003
+ response: configureExascaleCloudExadataInfrastructureResponse,
1004
+ workRequestResponse: getWorkRequestResponse
1005
+ };
1006
+ });
1007
+ }
966
1008
  /**
967
1009
  * Waits forConfigureExascaleExadataInfrastructure
968
1010
  *