oci-database 2.98.0 → 2.99.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 (60) hide show
  1. package/lib/client.d.ts +10 -0
  2. package/lib/client.js +74 -1
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +10 -0
  5. package/lib/database-waiter.js +21 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/autonomous-database-summary.d.ts +3 -1
  8. package/lib/model/autonomous-database-summary.js.map +1 -1
  9. package/lib/model/autonomous-database.d.ts +3 -1
  10. package/lib/model/autonomous-database.js.map +1 -1
  11. package/lib/model/configure-exascale-exadata-infrastructure-details.d.ts +27 -0
  12. package/lib/model/configure-exascale-exadata-infrastructure-details.js +30 -0
  13. package/lib/model/configure-exascale-exadata-infrastructure-details.js.map +1 -0
  14. package/lib/model/create-autonomous-database-base.d.ts +1 -1
  15. package/lib/model/create-db-home-details.d.ts +5 -0
  16. package/lib/model/create-db-home-details.js.map +1 -1
  17. package/lib/model/create-db-home-from-backup-details.d.ts +5 -0
  18. package/lib/model/create-db-home-from-backup-details.js.map +1 -1
  19. package/lib/model/create-db-home-from-database-details.d.ts +5 -0
  20. package/lib/model/create-db-home-from-database-details.js.map +1 -1
  21. package/lib/model/create-exascale-db-storage-vault-details.d.ts +4 -0
  22. package/lib/model/create-exascale-db-storage-vault-details.js.map +1 -1
  23. package/lib/model/create-pluggable-database-creation-type-details.d.ts +2 -2
  24. package/lib/model/create-vm-cluster-details.d.ts +4 -0
  25. package/lib/model/create-vm-cluster-details.js.map +1 -1
  26. package/lib/model/exadata-infrastructure-summary.d.ts +1 -0
  27. package/lib/model/exadata-infrastructure-summary.js +6 -0
  28. package/lib/model/exadata-infrastructure-summary.js.map +1 -1
  29. package/lib/model/exadata-infrastructure.d.ts +1 -0
  30. package/lib/model/exadata-infrastructure.js +6 -0
  31. package/lib/model/exadata-infrastructure.js.map +1 -1
  32. package/lib/model/exascale-config-details.d.ts +31 -0
  33. package/lib/model/exascale-config-details.js +30 -0
  34. package/lib/model/exascale-config-details.js.map +1 -0
  35. package/lib/model/exascale-db-storage-vault-summary.d.ts +4 -0
  36. package/lib/model/exascale-db-storage-vault-summary.js.map +1 -1
  37. package/lib/model/exascale-db-storage-vault.d.ts +4 -0
  38. package/lib/model/exascale-db-storage-vault.js.map +1 -1
  39. package/lib/model/index.d.ts +4 -0
  40. package/lib/model/index.js +12 -8
  41. package/lib/model/index.js.map +1 -1
  42. package/lib/model/update-autonomous-database-details.d.ts +1 -1
  43. package/lib/model/vm-cluster-summary.d.ts +17 -0
  44. package/lib/model/vm-cluster-summary.js +10 -0
  45. package/lib/model/vm-cluster-summary.js.map +1 -1
  46. package/lib/model/vm-cluster.d.ts +17 -0
  47. package/lib/model/vm-cluster.js +10 -0
  48. package/lib/model/vm-cluster.js.map +1 -1
  49. package/lib/request/configure-exascale-exadata-infrastructure-request.d.ts +48 -0
  50. package/lib/request/configure-exascale-exadata-infrastructure-request.js +15 -0
  51. package/lib/request/configure-exascale-exadata-infrastructure-request.js.map +1 -0
  52. package/lib/request/index.d.ts +2 -0
  53. package/lib/request/index.js.map +1 -1
  54. package/lib/request/list-exascale-db-storage-vaults-request.d.ts +4 -0
  55. package/lib/request/list-exascale-db-storage-vaults-request.js.map +1 -1
  56. package/lib/response/configure-exascale-exadata-infrastructure-response.d.ts +34 -0
  57. package/lib/response/configure-exascale-exadata-infrastructure-response.js +15 -0
  58. package/lib/response/configure-exascale-exadata-infrastructure-response.js.map +1 -0
  59. package/lib/response/index.d.ts +2 -0
  60. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -519,6 +519,16 @@ export declare class DatabaseClient {
519
519
  * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureAutonomousDatabaseVaultKey.ts.html |here} to see how to use ConfigureAutonomousDatabaseVaultKey API.
520
520
  */
521
521
  configureAutonomousDatabaseVaultKey(configureAutonomousDatabaseVaultKeyRequest: requests.ConfigureAutonomousDatabaseVaultKeyRequest): Promise<responses.ConfigureAutonomousDatabaseVaultKeyResponse>;
522
+ /**
523
+ * Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
524
+ *
525
+ * This operation does not retry by default if the user has not defined a retry configuration.
526
+ * @param ConfigureExascaleExadataInfrastructureRequest
527
+ * @return ConfigureExascaleExadataInfrastructureResponse
528
+ * @throws OciError when an error occurs
529
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureExascaleExadataInfrastructure.ts.html |here} to see how to use ConfigureExascaleExadataInfrastructure API.
530
+ */
531
+ configureExascaleExadataInfrastructure(configureExascaleExadataInfrastructureRequest: requests.ConfigureExascaleExadataInfrastructureRequest): Promise<responses.ConfigureExascaleExadataInfrastructureResponse>;
522
532
  /**
523
533
  * This operation updates SaaS administrative user configuration of the Autonomous Database.
524
534
  * This operation does not retry by default if the user has not defined a retry configuration.
package/lib/client.js CHANGED
@@ -2882,6 +2882,78 @@ class DatabaseClient {
2882
2882
  }
2883
2883
  });
2884
2884
  }
2885
+ /**
2886
+ * Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
2887
+ *
2888
+ * This operation does not retry by default if the user has not defined a retry configuration.
2889
+ * @param ConfigureExascaleExadataInfrastructureRequest
2890
+ * @return ConfigureExascaleExadataInfrastructureResponse
2891
+ * @throws OciError when an error occurs
2892
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureExascaleExadataInfrastructure.ts.html |here} to see how to use ConfigureExascaleExadataInfrastructure API.
2893
+ */
2894
+ configureExascaleExadataInfrastructure(configureExascaleExadataInfrastructureRequest) {
2895
+ return __awaiter(this, void 0, void 0, function* () {
2896
+ if (this.logger)
2897
+ this.logger.debug("Calling operation DatabaseClient#configureExascaleExadataInfrastructure.");
2898
+ const operationName = "configureExascaleExadataInfrastructure";
2899
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadataInfrastructure/ConfigureExascaleExadataInfrastructure";
2900
+ const pathParams = {
2901
+ "{exadataInfrastructureId}": configureExascaleExadataInfrastructureRequest.exadataInfrastructureId
2902
+ };
2903
+ const queryParams = {};
2904
+ let headerParams = {
2905
+ "Content-Type": common.Constants.APPLICATION_JSON,
2906
+ "if-match": configureExascaleExadataInfrastructureRequest.ifMatch,
2907
+ "opc-request-id": configureExascaleExadataInfrastructureRequest.opcRequestId,
2908
+ "opc-retry-token": configureExascaleExadataInfrastructureRequest.opcRetryToken
2909
+ };
2910
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2911
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureExascaleExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
2912
+ if (this.logger)
2913
+ retrier.logger = this.logger;
2914
+ const request = yield oci_common_2.composeRequest({
2915
+ baseEndpoint: this._endpoint,
2916
+ defaultHeaders: this._defaultHeaders,
2917
+ path: "/exadataInfrastructures/{exadataInfrastructureId}/actions/configureExascale",
2918
+ method: "POST",
2919
+ bodyContent: common.ObjectSerializer.serialize(configureExascaleExadataInfrastructureRequest.configureExascaleExadataInfrastructureDetails, "ConfigureExascaleExadataInfrastructureDetails", model.ConfigureExascaleExadataInfrastructureDetails.getJsonObj),
2920
+ pathParams: pathParams,
2921
+ headerParams: headerParams,
2922
+ queryParams: queryParams
2923
+ });
2924
+ try {
2925
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2926
+ const sdkResponse = oci_common_2.composeResponse({
2927
+ responseObject: {},
2928
+ body: yield response.json(),
2929
+ bodyKey: "exadataInfrastructure",
2930
+ bodyModel: model.ExadataInfrastructure,
2931
+ type: "model.ExadataInfrastructure",
2932
+ responseHeaders: [
2933
+ {
2934
+ value: response.headers.get("opc-work-request-id"),
2935
+ key: "opcWorkRequestId",
2936
+ dataType: "string"
2937
+ },
2938
+ {
2939
+ value: response.headers.get("etag"),
2940
+ key: "etag",
2941
+ dataType: "string"
2942
+ },
2943
+ {
2944
+ value: response.headers.get("opc-request-id"),
2945
+ key: "opcRequestId",
2946
+ dataType: "string"
2947
+ }
2948
+ ]
2949
+ });
2950
+ return sdkResponse;
2951
+ }
2952
+ catch (err) {
2953
+ throw err;
2954
+ }
2955
+ });
2956
+ }
2885
2957
  /**
2886
2958
  * This operation updates SaaS administrative user configuration of the Autonomous Database.
2887
2959
  * This operation does not retry by default if the user has not defined a retry configuration.
@@ -20211,7 +20283,8 @@ class DatabaseClient {
20211
20283
  "sortBy": listExascaleDbStorageVaultsRequest.sortBy,
20212
20284
  "sortOrder": listExascaleDbStorageVaultsRequest.sortOrder,
20213
20285
  "lifecycleState": listExascaleDbStorageVaultsRequest.lifecycleState,
20214
- "displayName": listExascaleDbStorageVaultsRequest.displayName
20286
+ "displayName": listExascaleDbStorageVaultsRequest.displayName,
20287
+ "exadataInfrastructureId": listExascaleDbStorageVaultsRequest.exadataInfrastructureId
20215
20288
  };
20216
20289
  let headerParams = {
20217
20290
  "Content-Type": common.Constants.APPLICATION_JSON,