oci-databasemanagement 2.107.3 → 2.109.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 (51) hide show
  1. package/lib/client.d.ts +12 -22
  2. package/lib/client.js +67 -120
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/database-diagnostics-and-management-feature-details.d.ts +5 -1
  5. package/lib/model/database-diagnostics-and-management-feature-details.js.map +1 -1
  6. package/lib/model/disable-database-management-feature-details.d.ts +4 -0
  7. package/lib/model/disable-database-management-feature-details.js.map +1 -1
  8. package/lib/model/disable-external-container-database-management-feature-details.d.ts +4 -0
  9. package/lib/model/disable-external-container-database-management-feature-details.js.map +1 -1
  10. package/lib/model/discovered-external-database.d.ts +8 -0
  11. package/lib/model/discovered-external-database.js.map +1 -1
  12. package/lib/model/exadata-infrastructure-lifecycle-state-values.d.ts +5 -4
  13. package/lib/model/exadata-infrastructure-lifecycle-state-values.js +11 -10
  14. package/lib/model/exadata-infrastructure-lifecycle-state-values.js.map +1 -1
  15. package/lib/model/external-database-diagnostics-and-management-feature-details.d.ts +8 -0
  16. package/lib/model/external-database-diagnostics-and-management-feature-details.js.map +1 -1
  17. package/lib/model/index.d.ts +0 -6
  18. package/lib/model/index.js +10 -16
  19. package/lib/model/index.js.map +1 -1
  20. package/lib/model/managed-database-summary.d.ts +1 -2
  21. package/lib/model/managed-database-summary.js.map +1 -1
  22. package/lib/model/managed-database.d.ts +1 -2
  23. package/lib/model/managed-database.js.map +1 -1
  24. package/lib/model/modify-database-management-feature-details.d.ts +1 -1
  25. package/lib/request/index.d.ts +2 -4
  26. package/lib/request/index.js.map +1 -1
  27. package/lib/request/{enable-external-mysql-associated-service-request.d.ts → modify-external-container-database-management-feature-request.d.ts} +10 -10
  28. package/lib/{response/disable-external-mysql-associated-service-response.js → request/modify-external-container-database-management-feature-request.js} +1 -1
  29. package/lib/request/modify-external-container-database-management-feature-request.js.map +1 -0
  30. package/lib/response/index.d.ts +2 -4
  31. package/lib/response/{enable-external-mysql-associated-service-response.d.ts → modify-external-container-database-management-feature-response.d.ts} +6 -1
  32. package/lib/{request/disable-external-mysql-associated-service-request.js → response/modify-external-container-database-management-feature-response.js} +1 -1
  33. package/lib/response/modify-external-container-database-management-feature-response.js.map +1 -0
  34. package/package.json +3 -3
  35. package/lib/model/disable-external-mysql-associated-service-details.d.ts +0 -37
  36. package/lib/model/disable-external-mysql-associated-service-details.js +0 -32
  37. package/lib/model/disable-external-mysql-associated-service-details.js.map +0 -1
  38. package/lib/model/enable-external-mysql-associated-service-details.d.ts +0 -37
  39. package/lib/model/enable-external-mysql-associated-service-details.js +0 -32
  40. package/lib/model/enable-external-mysql-associated-service-details.js.map +0 -1
  41. package/lib/model/external-mysql-associated-service-name.d.ts +0 -25
  42. package/lib/model/external-mysql-associated-service-name.js +0 -36
  43. package/lib/model/external-mysql-associated-service-name.js.map +0 -1
  44. package/lib/request/disable-external-mysql-associated-service-request.d.ts +0 -49
  45. package/lib/request/disable-external-mysql-associated-service-request.js.map +0 -1
  46. package/lib/request/enable-external-mysql-associated-service-request.js +0 -15
  47. package/lib/request/enable-external-mysql-associated-service-request.js.map +0 -1
  48. package/lib/response/disable-external-mysql-associated-service-response.d.ts +0 -20
  49. package/lib/response/disable-external-mysql-associated-service-response.js.map +0 -1
  50. package/lib/response/enable-external-mysql-associated-service-response.js +0 -15
  51. package/lib/response/enable-external-mysql-associated-service-response.js.map +0 -1
package/lib/client.d.ts CHANGED
@@ -1295,7 +1295,7 @@ export declare class DbManagementClient {
1295
1295
  /**
1296
1296
  * Gets the details for the named credential specified by namedCredentialId.
1297
1297
  *
1298
- * This operation does not retry by default if the user has not defined a retry configuration.
1298
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1299
1299
  * @param GetNamedCredentialRequest
1300
1300
  * @return GetNamedCredentialResponse
1301
1301
  * @throws OciError when an error occurs
@@ -1782,7 +1782,7 @@ export declare class DbManagementClient {
1782
1782
  /**
1783
1783
  * Gets a single named credential specified by the name or all the named credentials in a specific compartment.
1784
1784
  *
1785
- * This operation does not retry by default if the user has not defined a retry configuration.
1785
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1786
1786
  * @param ListNamedCredentialsRequest
1787
1787
  * @return ListNamedCredentialsResponse
1788
1788
  * @throws OciError when an error occurs
@@ -2012,6 +2012,16 @@ export declare class DbManagementClient {
2012
2012
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ModifyDatabaseManagementFeature.ts.html |here} to see how to use ModifyDatabaseManagementFeature API.
2013
2013
  */
2014
2014
  modifyDatabaseManagementFeature(modifyDatabaseManagementFeatureRequest: requests.ModifyDatabaseManagementFeatureRequest): Promise<responses.ModifyDatabaseManagementFeatureResponse>;
2015
+ /**
2016
+ * Modifies a Database Management feature for the specified external container database.
2017
+ *
2018
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2019
+ * @param ModifyExternalContainerDatabaseManagementFeatureRequest
2020
+ * @return ModifyExternalContainerDatabaseManagementFeatureResponse
2021
+ * @throws OciError when an error occurs
2022
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ModifyExternalContainerDatabaseManagementFeature.ts.html |here} to see how to use ModifyExternalContainerDatabaseManagementFeature API.
2023
+ */
2024
+ modifyExternalContainerDatabaseManagementFeature(modifyExternalContainerDatabaseManagementFeatureRequest: requests.ModifyExternalContainerDatabaseManagementFeatureRequest): Promise<responses.ModifyExternalContainerDatabaseManagementFeatureResponse>;
2015
2025
  /**
2016
2026
  * Modifies the Database Management feature for the specified Oracle cloud pluggable database.
2017
2027
  *
@@ -2714,26 +2724,6 @@ export declare class ManagedMySqlDatabasesClient {
2714
2724
  * Close the client once it is no longer needed
2715
2725
  */
2716
2726
  close(): void;
2717
- /**
2718
- * Disable an Associated Service for an external MySQL database resource. An Associated Service example is OPSI.
2719
- *
2720
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2721
- * @param DisableExternalMysqlAssociatedServiceRequest
2722
- * @return DisableExternalMysqlAssociatedServiceResponse
2723
- * @throws OciError when an error occurs
2724
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/DisableExternalMysqlAssociatedService.ts.html |here} to see how to use DisableExternalMysqlAssociatedService API.
2725
- */
2726
- disableExternalMysqlAssociatedService(disableExternalMysqlAssociatedServiceRequest: requests.DisableExternalMysqlAssociatedServiceRequest): Promise<responses.DisableExternalMysqlAssociatedServiceResponse>;
2727
- /**
2728
- * Enable an Associated Service for an external MySQL database resource. An Associated Service example is OPSI.
2729
- *
2730
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2731
- * @param EnableExternalMysqlAssociatedServiceRequest
2732
- * @return EnableExternalMysqlAssociatedServiceResponse
2733
- * @throws OciError when an error occurs
2734
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/EnableExternalMysqlAssociatedService.ts.html |here} to see how to use EnableExternalMysqlAssociatedService API.
2735
- */
2736
- enableExternalMysqlAssociatedService(enableExternalMysqlAssociatedServiceRequest: requests.EnableExternalMysqlAssociatedServiceRequest): Promise<responses.EnableExternalMysqlAssociatedServiceResponse>;
2737
2727
  /**
2738
2728
  * Gets the health metrics for a fleet of HeatWave clusters in a compartment.
2739
2729
  *
package/lib/client.js CHANGED
@@ -7116,7 +7116,7 @@ class DbManagementClient {
7116
7116
  /**
7117
7117
  * Gets the details for the named credential specified by namedCredentialId.
7118
7118
  *
7119
- * This operation does not retry by default if the user has not defined a retry configuration.
7119
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7120
7120
  * @param GetNamedCredentialRequest
7121
7121
  * @return GetNamedCredentialResponse
7122
7122
  * @throws OciError when an error occurs
@@ -7136,7 +7136,7 @@ class DbManagementClient {
7136
7136
  "Content-Type": common.Constants.APPLICATION_JSON,
7137
7137
  "opc-request-id": getNamedCredentialRequest.opcRequestId
7138
7138
  };
7139
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
7139
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7140
7140
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNamedCredentialRequest.retryConfiguration, specRetryConfiguration);
7141
7141
  if (this.logger)
7142
7142
  retrier.logger = this.logger;
@@ -10395,7 +10395,7 @@ class DbManagementClient {
10395
10395
  /**
10396
10396
  * Gets a single named credential specified by the name or all the named credentials in a specific compartment.
10397
10397
  *
10398
- * This operation does not retry by default if the user has not defined a retry configuration.
10398
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
10399
10399
  * @param ListNamedCredentialsRequest
10400
10400
  * @return ListNamedCredentialsResponse
10401
10401
  * @throws OciError when an error occurs
@@ -10423,7 +10423,7 @@ class DbManagementClient {
10423
10423
  "Content-Type": common.Constants.APPLICATION_JSON,
10424
10424
  "opc-request-id": listNamedCredentialsRequest.opcRequestId
10425
10425
  };
10426
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
10426
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
10427
10427
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNamedCredentialsRequest.retryConfiguration, specRetryConfiguration);
10428
10428
  if (this.logger)
10429
10429
  retrier.logger = this.logger;
@@ -11921,6 +11921,69 @@ class DbManagementClient {
11921
11921
  }
11922
11922
  });
11923
11923
  }
11924
+ /**
11925
+ * Modifies a Database Management feature for the specified external container database.
11926
+ *
11927
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
11928
+ * @param ModifyExternalContainerDatabaseManagementFeatureRequest
11929
+ * @return ModifyExternalContainerDatabaseManagementFeatureResponse
11930
+ * @throws OciError when an error occurs
11931
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ModifyExternalContainerDatabaseManagementFeature.ts.html |here} to see how to use ModifyExternalContainerDatabaseManagementFeature API.
11932
+ */
11933
+ modifyExternalContainerDatabaseManagementFeature(modifyExternalContainerDatabaseManagementFeatureRequest) {
11934
+ return __awaiter(this, void 0, void 0, function* () {
11935
+ if (this.logger)
11936
+ this.logger.debug("Calling operation DbManagementClient#modifyExternalContainerDatabaseManagementFeature.");
11937
+ const operationName = "modifyExternalContainerDatabaseManagementFeature";
11938
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ModifyExternalContainerDatabaseManagementFeature";
11939
+ const pathParams = {
11940
+ "{externalContainerDatabaseId}": modifyExternalContainerDatabaseManagementFeatureRequest.externalContainerDatabaseId
11941
+ };
11942
+ const queryParams = {};
11943
+ let headerParams = {
11944
+ "Content-Type": common.Constants.APPLICATION_JSON,
11945
+ "opc-request-id": modifyExternalContainerDatabaseManagementFeatureRequest.opcRequestId,
11946
+ "opc-retry-token": modifyExternalContainerDatabaseManagementFeatureRequest.opcRetryToken,
11947
+ "if-match": modifyExternalContainerDatabaseManagementFeatureRequest.ifMatch
11948
+ };
11949
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
11950
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, modifyExternalContainerDatabaseManagementFeatureRequest.retryConfiguration, specRetryConfiguration);
11951
+ if (this.logger)
11952
+ retrier.logger = this.logger;
11953
+ const request = yield oci_common_1.composeRequest({
11954
+ baseEndpoint: this._endpoint,
11955
+ defaultHeaders: this._defaultHeaders,
11956
+ path: "/externalcontainerdatabases/{externalContainerDatabaseId}/actions/modifyDatabaseManagement",
11957
+ method: "POST",
11958
+ bodyContent: common.ObjectSerializer.serialize(modifyExternalContainerDatabaseManagementFeatureRequest.enableExternalContainerDatabaseManagementFeatureDetails, "EnableExternalContainerDatabaseManagementFeatureDetails", model.EnableExternalContainerDatabaseManagementFeatureDetails.getJsonObj),
11959
+ pathParams: pathParams,
11960
+ headerParams: headerParams,
11961
+ queryParams: queryParams
11962
+ });
11963
+ try {
11964
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
11965
+ const sdkResponse = oci_common_1.composeResponse({
11966
+ responseObject: {},
11967
+ responseHeaders: [
11968
+ {
11969
+ value: response.headers.get("opc-request-id"),
11970
+ key: "opcRequestId",
11971
+ dataType: "string"
11972
+ },
11973
+ {
11974
+ value: response.headers.get("opc-work-request-id"),
11975
+ key: "opcWorkRequestId",
11976
+ dataType: "string"
11977
+ }
11978
+ ]
11979
+ });
11980
+ return sdkResponse;
11981
+ }
11982
+ catch (err) {
11983
+ throw err;
11984
+ }
11985
+ });
11986
+ }
11924
11987
  /**
11925
11988
  * Modifies the Database Management feature for the specified Oracle cloud pluggable database.
11926
11989
  *
@@ -15925,122 +15988,6 @@ class ManagedMySqlDatabasesClient {
15925
15988
  this.shutdownCircuitBreaker();
15926
15989
  this.closeProvider();
15927
15990
  }
15928
- /**
15929
- * Disable an Associated Service for an external MySQL database resource. An Associated Service example is OPSI.
15930
- *
15931
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
15932
- * @param DisableExternalMysqlAssociatedServiceRequest
15933
- * @return DisableExternalMysqlAssociatedServiceResponse
15934
- * @throws OciError when an error occurs
15935
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/DisableExternalMysqlAssociatedService.ts.html |here} to see how to use DisableExternalMysqlAssociatedService API.
15936
- */
15937
- disableExternalMysqlAssociatedService(disableExternalMysqlAssociatedServiceRequest) {
15938
- return __awaiter(this, void 0, void 0, function* () {
15939
- if (this.logger)
15940
- this.logger.debug("Calling operation ManagedMySqlDatabasesClient#disableExternalMysqlAssociatedService.");
15941
- const operationName = "disableExternalMysqlAssociatedService";
15942
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalMySqlDatabase/DisableExternalMysqlAssociatedService";
15943
- const pathParams = {
15944
- "{externalMySqlDatabaseId}": disableExternalMysqlAssociatedServiceRequest.externalMySqlDatabaseId
15945
- };
15946
- const queryParams = {};
15947
- let headerParams = {
15948
- "Content-Type": common.Constants.APPLICATION_JSON,
15949
- "opc-retry-token": disableExternalMysqlAssociatedServiceRequest.opcRetryToken,
15950
- "if-match": disableExternalMysqlAssociatedServiceRequest.ifMatch,
15951
- "opc-request-id": disableExternalMysqlAssociatedServiceRequest.opcRequestId
15952
- };
15953
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
15954
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExternalMysqlAssociatedServiceRequest.retryConfiguration, specRetryConfiguration);
15955
- if (this.logger)
15956
- retrier.logger = this.logger;
15957
- const request = yield oci_common_1.composeRequest({
15958
- baseEndpoint: this._endpoint,
15959
- defaultHeaders: this._defaultHeaders,
15960
- path: "/internal/externalMySqlDatabases/{externalMySqlDatabaseId}/actions/disableAssociatedService",
15961
- method: "POST",
15962
- bodyContent: common.ObjectSerializer.serialize(disableExternalMysqlAssociatedServiceRequest.disableExternalMysqlAssociatedServiceDetails, "DisableExternalMysqlAssociatedServiceDetails", model.DisableExternalMysqlAssociatedServiceDetails.getJsonObj),
15963
- pathParams: pathParams,
15964
- headerParams: headerParams,
15965
- queryParams: queryParams
15966
- });
15967
- try {
15968
- const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
15969
- const sdkResponse = oci_common_1.composeResponse({
15970
- responseObject: {},
15971
- responseHeaders: [
15972
- {
15973
- value: response.headers.get("opc-request-id"),
15974
- key: "opcRequestId",
15975
- dataType: "string"
15976
- }
15977
- ]
15978
- });
15979
- return sdkResponse;
15980
- }
15981
- catch (err) {
15982
- throw err;
15983
- }
15984
- });
15985
- }
15986
- /**
15987
- * Enable an Associated Service for an external MySQL database resource. An Associated Service example is OPSI.
15988
- *
15989
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
15990
- * @param EnableExternalMysqlAssociatedServiceRequest
15991
- * @return EnableExternalMysqlAssociatedServiceResponse
15992
- * @throws OciError when an error occurs
15993
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/EnableExternalMysqlAssociatedService.ts.html |here} to see how to use EnableExternalMysqlAssociatedService API.
15994
- */
15995
- enableExternalMysqlAssociatedService(enableExternalMysqlAssociatedServiceRequest) {
15996
- return __awaiter(this, void 0, void 0, function* () {
15997
- if (this.logger)
15998
- this.logger.debug("Calling operation ManagedMySqlDatabasesClient#enableExternalMysqlAssociatedService.");
15999
- const operationName = "enableExternalMysqlAssociatedService";
16000
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalMySqlDatabase/EnableExternalMysqlAssociatedService";
16001
- const pathParams = {
16002
- "{externalMySqlDatabaseId}": enableExternalMysqlAssociatedServiceRequest.externalMySqlDatabaseId
16003
- };
16004
- const queryParams = {};
16005
- let headerParams = {
16006
- "Content-Type": common.Constants.APPLICATION_JSON,
16007
- "opc-retry-token": enableExternalMysqlAssociatedServiceRequest.opcRetryToken,
16008
- "if-match": enableExternalMysqlAssociatedServiceRequest.ifMatch,
16009
- "opc-request-id": enableExternalMysqlAssociatedServiceRequest.opcRequestId
16010
- };
16011
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
16012
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExternalMysqlAssociatedServiceRequest.retryConfiguration, specRetryConfiguration);
16013
- if (this.logger)
16014
- retrier.logger = this.logger;
16015
- const request = yield oci_common_1.composeRequest({
16016
- baseEndpoint: this._endpoint,
16017
- defaultHeaders: this._defaultHeaders,
16018
- path: "/internal/externalMySqlDatabases/{externalMySqlDatabaseId}/actions/enableAssociatedService",
16019
- method: "POST",
16020
- bodyContent: common.ObjectSerializer.serialize(enableExternalMysqlAssociatedServiceRequest.enableExternalMysqlAssociatedServiceDetails, "EnableExternalMysqlAssociatedServiceDetails", model.EnableExternalMysqlAssociatedServiceDetails.getJsonObj),
16021
- pathParams: pathParams,
16022
- headerParams: headerParams,
16023
- queryParams: queryParams
16024
- });
16025
- try {
16026
- const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
16027
- const sdkResponse = oci_common_1.composeResponse({
16028
- responseObject: {},
16029
- responseHeaders: [
16030
- {
16031
- value: response.headers.get("opc-request-id"),
16032
- key: "opcRequestId",
16033
- dataType: "string"
16034
- }
16035
- ]
16036
- });
16037
- return sdkResponse;
16038
- }
16039
- catch (err) {
16040
- throw err;
16041
- }
16042
- });
16043
- }
16044
15991
  /**
16045
15992
  * Gets the health metrics for a fleet of HeatWave clusters in a compartment.
16046
15993
  *