oci-databasemanagement 2.110.0 → 2.111.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.
- package/lib/client.d.ts +81 -0
- package/lib/client.js +530 -0
- package/lib/client.js.map +1 -1
- package/lib/model/change-mysql-database-management-type-details.d.ts +38 -0
- package/lib/model/change-mysql-database-management-type-details.js +38 -0
- package/lib/model/change-mysql-database-management-type-details.js.map +1 -0
- package/lib/model/index.d.ts +50 -0
- package/lib/model/index.js +63 -12
- package/lib/model/index.js.map +1 -1
- package/lib/model/managed-my-sql-database-binary-log-information.d.ts +48 -0
- package/lib/model/managed-my-sql-database-binary-log-information.js +32 -0
- package/lib/model/managed-my-sql-database-binary-log-information.js.map +1 -0
- package/lib/model/managed-my-sql-database-general-replication-information.d.ts +93 -0
- package/lib/model/managed-my-sql-database-general-replication-information.js +32 -0
- package/lib/model/managed-my-sql-database-general-replication-information.js.map +1 -0
- package/lib/model/managed-my-sql-database-high-availability-member-collection.d.ts +62 -0
- package/lib/model/managed-my-sql-database-high-availability-member-collection.js +70 -0
- package/lib/model/managed-my-sql-database-high-availability-member-collection.js.map +1 -0
- package/lib/model/managed-my-sql-database-high-availability-member-summary.d.ts +44 -0
- package/lib/model/managed-my-sql-database-high-availability-member-summary.js +32 -0
- package/lib/model/managed-my-sql-database-high-availability-member-summary.js.map +1 -0
- package/lib/model/managed-my-sql-database-inbound-replication-collection.d.ts +49 -0
- package/lib/model/managed-my-sql-database-inbound-replication-collection.js +64 -0
- package/lib/model/managed-my-sql-database-inbound-replication-collection.js.map +1 -0
- package/lib/model/managed-my-sql-database-inbound-replication-summary.d.ts +95 -0
- package/lib/model/managed-my-sql-database-inbound-replication-summary.js +72 -0
- package/lib/model/managed-my-sql-database-inbound-replication-summary.js.map +1 -0
- package/lib/model/managed-my-sql-database-outbound-replication-collection.d.ts +33 -0
- package/lib/model/managed-my-sql-database-outbound-replication-collection.js +64 -0
- package/lib/model/managed-my-sql-database-outbound-replication-collection.js.map +1 -0
- package/lib/model/managed-my-sql-database-outbound-replication-summary.d.ts +40 -0
- package/lib/model/managed-my-sql-database-outbound-replication-summary.js +32 -0
- package/lib/model/managed-my-sql-database-outbound-replication-summary.js.map +1 -0
- package/lib/model/managed-my-sql-database-summary.d.ts +4 -0
- package/lib/model/managed-my-sql-database-summary.js.map +1 -1
- package/lib/model/managed-my-sql-database.d.ts +13 -0
- package/lib/model/managed-my-sql-database.js +10 -0
- package/lib/model/managed-my-sql-database.js.map +1 -1
- package/lib/model/my-sql-apply-error-worker.d.ts +36 -0
- package/lib/model/my-sql-apply-error-worker.js +32 -0
- package/lib/model/my-sql-apply-error-worker.js.map +1 -0
- package/lib/model/my-sql-apply-error.d.ts +41 -0
- package/lib/model/my-sql-apply-error.js +64 -0
- package/lib/model/my-sql-apply-error.js.map +1 -0
- package/lib/model/my-sql-channel-apply-error.d.ts +30 -0
- package/lib/model/my-sql-channel-apply-error.js +58 -0
- package/lib/model/my-sql-channel-apply-error.js.map +1 -0
- package/lib/model/my-sql-channel-fetch-error.d.ts +30 -0
- package/lib/model/my-sql-channel-fetch-error.js +58 -0
- package/lib/model/my-sql-channel-fetch-error.js.map +1 -0
- package/lib/model/my-sql-database-usage-metrics.d.ts +4 -0
- package/lib/model/my-sql-database-usage-metrics.js.map +1 -1
- package/lib/model/my-sql-digest-error-summary.d.ts +30 -0
- package/lib/model/my-sql-digest-error-summary.js +56 -0
- package/lib/model/my-sql-digest-error-summary.js.map +1 -0
- package/lib/model/my-sql-digest-errors-collection.d.ts +29 -0
- package/lib/model/my-sql-digest-errors-collection.js +64 -0
- package/lib/model/my-sql-digest-errors-collection.js.map +1 -0
- package/lib/model/my-sql-fetch-error.d.ts +36 -0
- package/lib/model/my-sql-fetch-error.js +32 -0
- package/lib/model/my-sql-fetch-error.js.map +1 -0
- package/lib/model/my-sql-high-availability-status-summary.d.ts +33 -0
- package/lib/model/my-sql-high-availability-status-summary.js +74 -0
- package/lib/model/my-sql-high-availability-status-summary.js.map +1 -0
- package/lib/model/my-sql-json-explain-version.d.ts +31 -0
- package/lib/model/my-sql-json-explain-version.js +42 -0
- package/lib/model/my-sql-json-explain-version.js.map +1 -0
- package/lib/model/my-sql-message-severity.d.ts +32 -0
- package/lib/model/my-sql-message-severity.js +43 -0
- package/lib/model/my-sql-message-severity.js.map +1 -0
- package/lib/model/my-sql-query-details.d.ts +31 -0
- package/lib/model/my-sql-query-details.js +76 -0
- package/lib/model/my-sql-query-details.js.map +1 -0
- package/lib/model/my-sql-query-explain-plan.d.ts +33 -0
- package/lib/model/my-sql-query-explain-plan.js +32 -0
- package/lib/model/my-sql-query-explain-plan.js.map +1 -0
- package/lib/model/my-sql-query-message.d.ts +37 -0
- package/lib/model/my-sql-query-message.js +32 -0
- package/lib/model/my-sql-query-message.js.map +1 -0
- package/lib/model/my-sql-query-sample-details.d.ts +52 -0
- package/lib/model/my-sql-query-sample-details.js +32 -0
- package/lib/model/my-sql-query-sample-details.js.map +1 -0
- package/lib/model/my-sql-read-only.d.ts +32 -0
- package/lib/model/my-sql-read-only.js +43 -0
- package/lib/model/my-sql-read-only.js.map +1 -0
- package/lib/model/my-sql-replication-applier-filter.d.ts +32 -0
- package/lib/model/my-sql-replication-applier-filter.js +32 -0
- package/lib/model/my-sql-replication-applier-filter.js.map +1 -0
- package/lib/request/change-mysql-database-management-type-request.d.ts +49 -0
- package/lib/request/change-mysql-database-management-type-request.js +15 -0
- package/lib/request/change-mysql-database-management-type-request.js.map +1 -0
- package/lib/request/get-binary-log-information-request.d.ts +26 -0
- package/lib/request/get-binary-log-information-request.js +15 -0
- package/lib/request/get-binary-log-information-request.js.map +1 -0
- package/lib/request/get-general-replication-information-request.d.ts +26 -0
- package/lib/request/get-general-replication-information-request.js +15 -0
- package/lib/request/get-general-replication-information-request.js.map +1 -0
- package/lib/request/get-my-sql-query-details-request.d.ts +30 -0
- package/lib/request/get-my-sql-query-details-request.js +15 -0
- package/lib/request/get-my-sql-query-details-request.js.map +1 -0
- package/lib/request/index.d.ts +16 -0
- package/lib/request/index.js +9 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-high-availability-members-request.d.ts +54 -0
- package/lib/request/list-high-availability-members-request.js +23 -0
- package/lib/request/list-high-availability-members-request.js.map +1 -0
- package/lib/request/list-inbound-replications-request.d.ts +54 -0
- package/lib/request/list-inbound-replications-request.js +23 -0
- package/lib/request/list-inbound-replications-request.js.map +1 -0
- package/lib/request/list-my-sql-digest-errors-request.d.ts +57 -0
- package/lib/request/list-my-sql-digest-errors-request.js +23 -0
- package/lib/request/list-my-sql-digest-errors-request.js.map +1 -0
- package/lib/request/list-outbound-replications-request.d.ts +54 -0
- package/lib/request/list-outbound-replications-request.js +23 -0
- package/lib/request/list-outbound-replications-request.js.map +1 -0
- package/lib/response/change-mysql-database-management-type-response.d.ts +25 -0
- package/lib/response/change-mysql-database-management-type-response.js +15 -0
- package/lib/response/change-mysql-database-management-type-response.js.map +1 -0
- package/lib/response/get-binary-log-information-response.d.ts +32 -0
- package/lib/response/get-binary-log-information-response.js +15 -0
- package/lib/response/get-binary-log-information-response.js.map +1 -0
- package/lib/response/get-general-replication-information-response.d.ts +32 -0
- package/lib/response/get-general-replication-information-response.js +15 -0
- package/lib/response/get-general-replication-information-response.js.map +1 -0
- package/lib/response/get-my-sql-query-details-response.d.ts +25 -0
- package/lib/response/get-my-sql-query-details-response.js +15 -0
- package/lib/response/get-my-sql-query-details-response.js.map +1 -0
- package/lib/response/index.d.ts +16 -0
- package/lib/response/list-high-availability-members-response.d.ts +32 -0
- package/lib/response/list-high-availability-members-response.js +15 -0
- package/lib/response/list-high-availability-members-response.js.map +1 -0
- package/lib/response/list-inbound-replications-response.d.ts +32 -0
- package/lib/response/list-inbound-replications-response.js +15 -0
- package/lib/response/list-inbound-replications-response.js.map +1 -0
- package/lib/response/list-my-sql-digest-errors-response.d.ts +32 -0
- package/lib/response/list-my-sql-digest-errors-response.js +15 -0
- package/lib/response/list-my-sql-digest-errors-response.js.map +1 -0
- package/lib/response/list-outbound-replications-response.d.ts +32 -0
- package/lib/response/list-outbound-replications-response.js +15 -0
- package/lib/response/list-outbound-replications-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -2724,6 +2724,37 @@ export declare class ManagedMySqlDatabasesClient {
|
|
|
2724
2724
|
* Close the client once it is no longer needed
|
|
2725
2725
|
*/
|
|
2726
2726
|
close(): void;
|
|
2727
|
+
/**
|
|
2728
|
+
* Changes the management type for a HeatWave MySQL instance, from BASIC to FULL and vice versa.
|
|
2729
|
+
* It can also be used to enable or disable database management.
|
|
2730
|
+
*
|
|
2731
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2732
|
+
* @param ChangeMysqlDatabaseManagementTypeRequest
|
|
2733
|
+
* @return ChangeMysqlDatabaseManagementTypeResponse
|
|
2734
|
+
* @throws OciError when an error occurs
|
|
2735
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ChangeMysqlDatabaseManagementType.ts.html |here} to see how to use ChangeMysqlDatabaseManagementType API.
|
|
2736
|
+
*/
|
|
2737
|
+
changeMysqlDatabaseManagementType(changeMysqlDatabaseManagementTypeRequest: requests.ChangeMysqlDatabaseManagementTypeRequest): Promise<responses.ChangeMysqlDatabaseManagementTypeResponse>;
|
|
2738
|
+
/**
|
|
2739
|
+
* Retrieves information pertaining to binary log of a specific MySQL server.
|
|
2740
|
+
*
|
|
2741
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2742
|
+
* @param GetBinaryLogInformationRequest
|
|
2743
|
+
* @return GetBinaryLogInformationResponse
|
|
2744
|
+
* @throws OciError when an error occurs
|
|
2745
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetBinaryLogInformation.ts.html |here} to see how to use GetBinaryLogInformation API.
|
|
2746
|
+
*/
|
|
2747
|
+
getBinaryLogInformation(getBinaryLogInformationRequest: requests.GetBinaryLogInformationRequest): Promise<responses.GetBinaryLogInformationResponse>;
|
|
2748
|
+
/**
|
|
2749
|
+
* Retrieves general information regarding replication of a specific MySQL server.
|
|
2750
|
+
*
|
|
2751
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2752
|
+
* @param GetGeneralReplicationInformationRequest
|
|
2753
|
+
* @return GetGeneralReplicationInformationResponse
|
|
2754
|
+
* @throws OciError when an error occurs
|
|
2755
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetGeneralReplicationInformation.ts.html |here} to see how to use GetGeneralReplicationInformation API.
|
|
2756
|
+
*/
|
|
2757
|
+
getGeneralReplicationInformation(getGeneralReplicationInformationRequest: requests.GetGeneralReplicationInformationRequest): Promise<responses.GetGeneralReplicationInformationResponse>;
|
|
2727
2758
|
/**
|
|
2728
2759
|
* Gets the health metrics for a fleet of HeatWave clusters in a compartment.
|
|
2729
2760
|
*
|
|
@@ -2754,6 +2785,36 @@ export declare class ManagedMySqlDatabasesClient {
|
|
|
2754
2785
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetMySqlFleetMetric.ts.html |here} to see how to use GetMySqlFleetMetric API.
|
|
2755
2786
|
*/
|
|
2756
2787
|
getMySqlFleetMetric(getMySqlFleetMetricRequest: requests.GetMySqlFleetMetricRequest): Promise<responses.GetMySqlFleetMetricResponse>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Retrieves query sample details, explain plan and potential warnings for a given digest.
|
|
2790
|
+
*
|
|
2791
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2792
|
+
* @param GetMySqlQueryDetailsRequest
|
|
2793
|
+
* @return GetMySqlQueryDetailsResponse
|
|
2794
|
+
* @throws OciError when an error occurs
|
|
2795
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetMySqlQueryDetails.ts.html |here} to see how to use GetMySqlQueryDetails API.
|
|
2796
|
+
*/
|
|
2797
|
+
getMySqlQueryDetails(getMySqlQueryDetailsRequest: requests.GetMySqlQueryDetailsRequest): Promise<responses.GetMySqlQueryDetailsResponse>;
|
|
2798
|
+
/**
|
|
2799
|
+
* Information about high availability members of a specific MySQL server's replication group.
|
|
2800
|
+
*
|
|
2801
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2802
|
+
* @param ListHighAvailabilityMembersRequest
|
|
2803
|
+
* @return ListHighAvailabilityMembersResponse
|
|
2804
|
+
* @throws OciError when an error occurs
|
|
2805
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListHighAvailabilityMembers.ts.html |here} to see how to use ListHighAvailabilityMembers API.
|
|
2806
|
+
*/
|
|
2807
|
+
listHighAvailabilityMembers(listHighAvailabilityMembersRequest: requests.ListHighAvailabilityMembersRequest): Promise<responses.ListHighAvailabilityMembersResponse>;
|
|
2808
|
+
/**
|
|
2809
|
+
* Retrieves information about the inbound replications of a specific MySQL server.
|
|
2810
|
+
*
|
|
2811
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2812
|
+
* @param ListInboundReplicationsRequest
|
|
2813
|
+
* @return ListInboundReplicationsResponse
|
|
2814
|
+
* @throws OciError when an error occurs
|
|
2815
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListInboundReplications.ts.html |here} to see how to use ListInboundReplications API.
|
|
2816
|
+
*/
|
|
2817
|
+
listInboundReplications(listInboundReplicationsRequest: requests.ListInboundReplicationsRequest): Promise<responses.ListInboundReplicationsResponse>;
|
|
2757
2818
|
/**
|
|
2758
2819
|
* Retrieves configuration data for a specific MySQL database.
|
|
2759
2820
|
*
|
|
@@ -2784,6 +2845,26 @@ export declare class ManagedMySqlDatabasesClient {
|
|
|
2784
2845
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListManagedMySqlDatabases.ts.html |here} to see how to use ListManagedMySqlDatabases API.
|
|
2785
2846
|
*/
|
|
2786
2847
|
listManagedMySqlDatabases(listManagedMySqlDatabasesRequest: requests.ListManagedMySqlDatabasesRequest): Promise<responses.ListManagedMySqlDatabasesResponse>;
|
|
2848
|
+
/**
|
|
2849
|
+
* Retrieves any potential errors for a given digest.
|
|
2850
|
+
*
|
|
2851
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2852
|
+
* @param ListMySqlDigestErrorsRequest
|
|
2853
|
+
* @return ListMySqlDigestErrorsResponse
|
|
2854
|
+
* @throws OciError when an error occurs
|
|
2855
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListMySqlDigestErrors.ts.html |here} to see how to use ListMySqlDigestErrors API.
|
|
2856
|
+
*/
|
|
2857
|
+
listMySqlDigestErrors(listMySqlDigestErrorsRequest: requests.ListMySqlDigestErrorsRequest): Promise<responses.ListMySqlDigestErrorsResponse>;
|
|
2858
|
+
/**
|
|
2859
|
+
* Retrieves information pertaining to outbound replications of a specific MySQL server.
|
|
2860
|
+
*
|
|
2861
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2862
|
+
* @param ListOutboundReplicationsRequest
|
|
2863
|
+
* @return ListOutboundReplicationsResponse
|
|
2864
|
+
* @throws OciError when an error occurs
|
|
2865
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListOutboundReplications.ts.html |here} to see how to use ListOutboundReplications API.
|
|
2866
|
+
*/
|
|
2867
|
+
listOutboundReplications(listOutboundReplicationsRequest: requests.ListOutboundReplicationsRequest): Promise<responses.ListOutboundReplicationsResponse>;
|
|
2787
2868
|
/**
|
|
2788
2869
|
* Gets the availability metrics for the MySQL Database specified by managedMySqlDatabaseId.
|
|
2789
2870
|
*
|
package/lib/client.js
CHANGED
|
@@ -15988,6 +15988,198 @@ class ManagedMySqlDatabasesClient {
|
|
|
15988
15988
|
this.shutdownCircuitBreaker();
|
|
15989
15989
|
this.closeProvider();
|
|
15990
15990
|
}
|
|
15991
|
+
/**
|
|
15992
|
+
* Changes the management type for a HeatWave MySQL instance, from BASIC to FULL and vice versa.
|
|
15993
|
+
* It can also be used to enable or disable database management.
|
|
15994
|
+
*
|
|
15995
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
15996
|
+
* @param ChangeMysqlDatabaseManagementTypeRequest
|
|
15997
|
+
* @return ChangeMysqlDatabaseManagementTypeResponse
|
|
15998
|
+
* @throws OciError when an error occurs
|
|
15999
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ChangeMysqlDatabaseManagementType.ts.html |here} to see how to use ChangeMysqlDatabaseManagementType API.
|
|
16000
|
+
*/
|
|
16001
|
+
changeMysqlDatabaseManagementType(changeMysqlDatabaseManagementTypeRequest) {
|
|
16002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16003
|
+
if (this.logger)
|
|
16004
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#changeMysqlDatabaseManagementType.");
|
|
16005
|
+
const operationName = "changeMysqlDatabaseManagementType";
|
|
16006
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ChangeMysqlDatabaseManagementType";
|
|
16007
|
+
const pathParams = {
|
|
16008
|
+
"{managedMySqlDatabaseId}": changeMysqlDatabaseManagementTypeRequest.managedMySqlDatabaseId
|
|
16009
|
+
};
|
|
16010
|
+
const queryParams = {};
|
|
16011
|
+
let headerParams = {
|
|
16012
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16013
|
+
"opc-retry-token": changeMysqlDatabaseManagementTypeRequest.opcRetryToken,
|
|
16014
|
+
"if-match": changeMysqlDatabaseManagementTypeRequest.ifMatch,
|
|
16015
|
+
"opc-request-id": changeMysqlDatabaseManagementTypeRequest.opcRequestId
|
|
16016
|
+
};
|
|
16017
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16018
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMysqlDatabaseManagementTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
16019
|
+
if (this.logger)
|
|
16020
|
+
retrier.logger = this.logger;
|
|
16021
|
+
const request = yield oci_common_1.composeRequest({
|
|
16022
|
+
baseEndpoint: this._endpoint,
|
|
16023
|
+
defaultHeaders: this._defaultHeaders,
|
|
16024
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/actions/changeManagementType",
|
|
16025
|
+
method: "POST",
|
|
16026
|
+
bodyContent: common.ObjectSerializer.serialize(changeMysqlDatabaseManagementTypeRequest.changeMysqlDatabaseManagementTypeDetails, "ChangeMysqlDatabaseManagementTypeDetails", model.ChangeMysqlDatabaseManagementTypeDetails.getJsonObj),
|
|
16027
|
+
pathParams: pathParams,
|
|
16028
|
+
headerParams: headerParams,
|
|
16029
|
+
queryParams: queryParams
|
|
16030
|
+
});
|
|
16031
|
+
try {
|
|
16032
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16033
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16034
|
+
responseObject: {},
|
|
16035
|
+
responseHeaders: [
|
|
16036
|
+
{
|
|
16037
|
+
value: response.headers.get("opc-work-request-id"),
|
|
16038
|
+
key: "opcWorkRequestId",
|
|
16039
|
+
dataType: "string"
|
|
16040
|
+
},
|
|
16041
|
+
{
|
|
16042
|
+
value: response.headers.get("opc-request-id"),
|
|
16043
|
+
key: "opcRequestId",
|
|
16044
|
+
dataType: "string"
|
|
16045
|
+
}
|
|
16046
|
+
]
|
|
16047
|
+
});
|
|
16048
|
+
return sdkResponse;
|
|
16049
|
+
}
|
|
16050
|
+
catch (err) {
|
|
16051
|
+
throw err;
|
|
16052
|
+
}
|
|
16053
|
+
});
|
|
16054
|
+
}
|
|
16055
|
+
/**
|
|
16056
|
+
* Retrieves information pertaining to binary log of a specific MySQL server.
|
|
16057
|
+
*
|
|
16058
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16059
|
+
* @param GetBinaryLogInformationRequest
|
|
16060
|
+
* @return GetBinaryLogInformationResponse
|
|
16061
|
+
* @throws OciError when an error occurs
|
|
16062
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetBinaryLogInformation.ts.html |here} to see how to use GetBinaryLogInformation API.
|
|
16063
|
+
*/
|
|
16064
|
+
getBinaryLogInformation(getBinaryLogInformationRequest) {
|
|
16065
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16066
|
+
if (this.logger)
|
|
16067
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#getBinaryLogInformation.");
|
|
16068
|
+
const operationName = "getBinaryLogInformation";
|
|
16069
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/GetBinaryLogInformation";
|
|
16070
|
+
const pathParams = {
|
|
16071
|
+
"{managedMySqlDatabaseId}": getBinaryLogInformationRequest.managedMySqlDatabaseId
|
|
16072
|
+
};
|
|
16073
|
+
const queryParams = {};
|
|
16074
|
+
let headerParams = {
|
|
16075
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16076
|
+
"opc-request-id": getBinaryLogInformationRequest.opcRequestId
|
|
16077
|
+
};
|
|
16078
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16079
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBinaryLogInformationRequest.retryConfiguration, specRetryConfiguration);
|
|
16080
|
+
if (this.logger)
|
|
16081
|
+
retrier.logger = this.logger;
|
|
16082
|
+
const request = yield oci_common_1.composeRequest({
|
|
16083
|
+
baseEndpoint: this._endpoint,
|
|
16084
|
+
defaultHeaders: this._defaultHeaders,
|
|
16085
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/binaryLogInformation",
|
|
16086
|
+
method: "GET",
|
|
16087
|
+
pathParams: pathParams,
|
|
16088
|
+
headerParams: headerParams,
|
|
16089
|
+
queryParams: queryParams
|
|
16090
|
+
});
|
|
16091
|
+
try {
|
|
16092
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16093
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16094
|
+
responseObject: {},
|
|
16095
|
+
body: yield response.json(),
|
|
16096
|
+
bodyKey: "managedMySqlDatabaseBinaryLogInformation",
|
|
16097
|
+
bodyModel: model.ManagedMySqlDatabaseBinaryLogInformation,
|
|
16098
|
+
type: "model.ManagedMySqlDatabaseBinaryLogInformation",
|
|
16099
|
+
responseHeaders: [
|
|
16100
|
+
{
|
|
16101
|
+
value: response.headers.get("opc-request-id"),
|
|
16102
|
+
key: "opcRequestId",
|
|
16103
|
+
dataType: "string"
|
|
16104
|
+
},
|
|
16105
|
+
{
|
|
16106
|
+
value: response.headers.get("opc-next-page"),
|
|
16107
|
+
key: "opcNextPage",
|
|
16108
|
+
dataType: "string"
|
|
16109
|
+
}
|
|
16110
|
+
]
|
|
16111
|
+
});
|
|
16112
|
+
return sdkResponse;
|
|
16113
|
+
}
|
|
16114
|
+
catch (err) {
|
|
16115
|
+
throw err;
|
|
16116
|
+
}
|
|
16117
|
+
});
|
|
16118
|
+
}
|
|
16119
|
+
/**
|
|
16120
|
+
* Retrieves general information regarding replication of a specific MySQL server.
|
|
16121
|
+
*
|
|
16122
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16123
|
+
* @param GetGeneralReplicationInformationRequest
|
|
16124
|
+
* @return GetGeneralReplicationInformationResponse
|
|
16125
|
+
* @throws OciError when an error occurs
|
|
16126
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetGeneralReplicationInformation.ts.html |here} to see how to use GetGeneralReplicationInformation API.
|
|
16127
|
+
*/
|
|
16128
|
+
getGeneralReplicationInformation(getGeneralReplicationInformationRequest) {
|
|
16129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16130
|
+
if (this.logger)
|
|
16131
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#getGeneralReplicationInformation.");
|
|
16132
|
+
const operationName = "getGeneralReplicationInformation";
|
|
16133
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/GetGeneralReplicationInformation";
|
|
16134
|
+
const pathParams = {
|
|
16135
|
+
"{managedMySqlDatabaseId}": getGeneralReplicationInformationRequest.managedMySqlDatabaseId
|
|
16136
|
+
};
|
|
16137
|
+
const queryParams = {};
|
|
16138
|
+
let headerParams = {
|
|
16139
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16140
|
+
"opc-request-id": getGeneralReplicationInformationRequest.opcRequestId
|
|
16141
|
+
};
|
|
16142
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16143
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGeneralReplicationInformationRequest.retryConfiguration, specRetryConfiguration);
|
|
16144
|
+
if (this.logger)
|
|
16145
|
+
retrier.logger = this.logger;
|
|
16146
|
+
const request = yield oci_common_1.composeRequest({
|
|
16147
|
+
baseEndpoint: this._endpoint,
|
|
16148
|
+
defaultHeaders: this._defaultHeaders,
|
|
16149
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/generalReplicationInformation",
|
|
16150
|
+
method: "GET",
|
|
16151
|
+
pathParams: pathParams,
|
|
16152
|
+
headerParams: headerParams,
|
|
16153
|
+
queryParams: queryParams
|
|
16154
|
+
});
|
|
16155
|
+
try {
|
|
16156
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16157
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16158
|
+
responseObject: {},
|
|
16159
|
+
body: yield response.json(),
|
|
16160
|
+
bodyKey: "managedMySqlDatabaseGeneralReplicationInformation",
|
|
16161
|
+
bodyModel: model.ManagedMySqlDatabaseGeneralReplicationInformation,
|
|
16162
|
+
type: "model.ManagedMySqlDatabaseGeneralReplicationInformation",
|
|
16163
|
+
responseHeaders: [
|
|
16164
|
+
{
|
|
16165
|
+
value: response.headers.get("opc-request-id"),
|
|
16166
|
+
key: "opcRequestId",
|
|
16167
|
+
dataType: "string"
|
|
16168
|
+
},
|
|
16169
|
+
{
|
|
16170
|
+
value: response.headers.get("opc-next-page"),
|
|
16171
|
+
key: "opcNextPage",
|
|
16172
|
+
dataType: "string"
|
|
16173
|
+
}
|
|
16174
|
+
]
|
|
16175
|
+
});
|
|
16176
|
+
return sdkResponse;
|
|
16177
|
+
}
|
|
16178
|
+
catch (err) {
|
|
16179
|
+
throw err;
|
|
16180
|
+
}
|
|
16181
|
+
});
|
|
16182
|
+
}
|
|
15991
16183
|
/**
|
|
15992
16184
|
* Gets the health metrics for a fleet of HeatWave clusters in a compartment.
|
|
15993
16185
|
*
|
|
@@ -16180,6 +16372,205 @@ class ManagedMySqlDatabasesClient {
|
|
|
16180
16372
|
}
|
|
16181
16373
|
});
|
|
16182
16374
|
}
|
|
16375
|
+
/**
|
|
16376
|
+
* Retrieves query sample details, explain plan and potential warnings for a given digest.
|
|
16377
|
+
*
|
|
16378
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16379
|
+
* @param GetMySqlQueryDetailsRequest
|
|
16380
|
+
* @return GetMySqlQueryDetailsResponse
|
|
16381
|
+
* @throws OciError when an error occurs
|
|
16382
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetMySqlQueryDetails.ts.html |here} to see how to use GetMySqlQueryDetails API.
|
|
16383
|
+
*/
|
|
16384
|
+
getMySqlQueryDetails(getMySqlQueryDetailsRequest) {
|
|
16385
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16386
|
+
if (this.logger)
|
|
16387
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#getMySqlQueryDetails.");
|
|
16388
|
+
const operationName = "getMySqlQueryDetails";
|
|
16389
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/GetMySqlQueryDetails";
|
|
16390
|
+
const pathParams = {
|
|
16391
|
+
"{managedMySqlDatabaseId}": getMySqlQueryDetailsRequest.managedMySqlDatabaseId
|
|
16392
|
+
};
|
|
16393
|
+
const queryParams = {
|
|
16394
|
+
"digest": getMySqlQueryDetailsRequest.digest
|
|
16395
|
+
};
|
|
16396
|
+
let headerParams = {
|
|
16397
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16398
|
+
"opc-request-id": getMySqlQueryDetailsRequest.opcRequestId
|
|
16399
|
+
};
|
|
16400
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16401
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMySqlQueryDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
16402
|
+
if (this.logger)
|
|
16403
|
+
retrier.logger = this.logger;
|
|
16404
|
+
const request = yield oci_common_1.composeRequest({
|
|
16405
|
+
baseEndpoint: this._endpoint,
|
|
16406
|
+
defaultHeaders: this._defaultHeaders,
|
|
16407
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/queryDetails",
|
|
16408
|
+
method: "GET",
|
|
16409
|
+
pathParams: pathParams,
|
|
16410
|
+
headerParams: headerParams,
|
|
16411
|
+
queryParams: queryParams
|
|
16412
|
+
});
|
|
16413
|
+
try {
|
|
16414
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16415
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16416
|
+
responseObject: {},
|
|
16417
|
+
body: yield response.json(),
|
|
16418
|
+
bodyKey: "mySqlQueryDetails",
|
|
16419
|
+
bodyModel: model.MySqlQueryDetails,
|
|
16420
|
+
type: "model.MySqlQueryDetails",
|
|
16421
|
+
responseHeaders: [
|
|
16422
|
+
{
|
|
16423
|
+
value: response.headers.get("opc-request-id"),
|
|
16424
|
+
key: "opcRequestId",
|
|
16425
|
+
dataType: "string"
|
|
16426
|
+
}
|
|
16427
|
+
]
|
|
16428
|
+
});
|
|
16429
|
+
return sdkResponse;
|
|
16430
|
+
}
|
|
16431
|
+
catch (err) {
|
|
16432
|
+
throw err;
|
|
16433
|
+
}
|
|
16434
|
+
});
|
|
16435
|
+
}
|
|
16436
|
+
/**
|
|
16437
|
+
* Information about high availability members of a specific MySQL server's replication group.
|
|
16438
|
+
*
|
|
16439
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16440
|
+
* @param ListHighAvailabilityMembersRequest
|
|
16441
|
+
* @return ListHighAvailabilityMembersResponse
|
|
16442
|
+
* @throws OciError when an error occurs
|
|
16443
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListHighAvailabilityMembers.ts.html |here} to see how to use ListHighAvailabilityMembers API.
|
|
16444
|
+
*/
|
|
16445
|
+
listHighAvailabilityMembers(listHighAvailabilityMembersRequest) {
|
|
16446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16447
|
+
if (this.logger)
|
|
16448
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#listHighAvailabilityMembers.");
|
|
16449
|
+
const operationName = "listHighAvailabilityMembers";
|
|
16450
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ListHighAvailabilityMembers";
|
|
16451
|
+
const pathParams = {
|
|
16452
|
+
"{managedMySqlDatabaseId}": listHighAvailabilityMembersRequest.managedMySqlDatabaseId
|
|
16453
|
+
};
|
|
16454
|
+
const queryParams = {
|
|
16455
|
+
"limit": listHighAvailabilityMembersRequest.limit,
|
|
16456
|
+
"page": listHighAvailabilityMembersRequest.page,
|
|
16457
|
+
"sortOrder": listHighAvailabilityMembersRequest.sortOrder,
|
|
16458
|
+
"sortBy": listHighAvailabilityMembersRequest.sortBy
|
|
16459
|
+
};
|
|
16460
|
+
let headerParams = {
|
|
16461
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16462
|
+
"opc-request-id": listHighAvailabilityMembersRequest.opcRequestId
|
|
16463
|
+
};
|
|
16464
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16465
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHighAvailabilityMembersRequest.retryConfiguration, specRetryConfiguration);
|
|
16466
|
+
if (this.logger)
|
|
16467
|
+
retrier.logger = this.logger;
|
|
16468
|
+
const request = yield oci_common_1.composeRequest({
|
|
16469
|
+
baseEndpoint: this._endpoint,
|
|
16470
|
+
defaultHeaders: this._defaultHeaders,
|
|
16471
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/highAvailabilityMembers",
|
|
16472
|
+
method: "GET",
|
|
16473
|
+
pathParams: pathParams,
|
|
16474
|
+
headerParams: headerParams,
|
|
16475
|
+
queryParams: queryParams
|
|
16476
|
+
});
|
|
16477
|
+
try {
|
|
16478
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16479
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16480
|
+
responseObject: {},
|
|
16481
|
+
body: yield response.json(),
|
|
16482
|
+
bodyKey: "managedMySqlDatabaseHighAvailabilityMemberCollection",
|
|
16483
|
+
bodyModel: model.ManagedMySqlDatabaseHighAvailabilityMemberCollection,
|
|
16484
|
+
type: "model.ManagedMySqlDatabaseHighAvailabilityMemberCollection",
|
|
16485
|
+
responseHeaders: [
|
|
16486
|
+
{
|
|
16487
|
+
value: response.headers.get("opc-request-id"),
|
|
16488
|
+
key: "opcRequestId",
|
|
16489
|
+
dataType: "string"
|
|
16490
|
+
},
|
|
16491
|
+
{
|
|
16492
|
+
value: response.headers.get("opc-next-page"),
|
|
16493
|
+
key: "opcNextPage",
|
|
16494
|
+
dataType: "string"
|
|
16495
|
+
}
|
|
16496
|
+
]
|
|
16497
|
+
});
|
|
16498
|
+
return sdkResponse;
|
|
16499
|
+
}
|
|
16500
|
+
catch (err) {
|
|
16501
|
+
throw err;
|
|
16502
|
+
}
|
|
16503
|
+
});
|
|
16504
|
+
}
|
|
16505
|
+
/**
|
|
16506
|
+
* Retrieves information about the inbound replications of a specific MySQL server.
|
|
16507
|
+
*
|
|
16508
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16509
|
+
* @param ListInboundReplicationsRequest
|
|
16510
|
+
* @return ListInboundReplicationsResponse
|
|
16511
|
+
* @throws OciError when an error occurs
|
|
16512
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListInboundReplications.ts.html |here} to see how to use ListInboundReplications API.
|
|
16513
|
+
*/
|
|
16514
|
+
listInboundReplications(listInboundReplicationsRequest) {
|
|
16515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16516
|
+
if (this.logger)
|
|
16517
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#listInboundReplications.");
|
|
16518
|
+
const operationName = "listInboundReplications";
|
|
16519
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ListInboundReplications";
|
|
16520
|
+
const pathParams = {
|
|
16521
|
+
"{managedMySqlDatabaseId}": listInboundReplicationsRequest.managedMySqlDatabaseId
|
|
16522
|
+
};
|
|
16523
|
+
const queryParams = {
|
|
16524
|
+
"limit": listInboundReplicationsRequest.limit,
|
|
16525
|
+
"page": listInboundReplicationsRequest.page,
|
|
16526
|
+
"sortOrder": listInboundReplicationsRequest.sortOrder,
|
|
16527
|
+
"sortBy": listInboundReplicationsRequest.sortBy
|
|
16528
|
+
};
|
|
16529
|
+
let headerParams = {
|
|
16530
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16531
|
+
"opc-request-id": listInboundReplicationsRequest.opcRequestId
|
|
16532
|
+
};
|
|
16533
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16534
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInboundReplicationsRequest.retryConfiguration, specRetryConfiguration);
|
|
16535
|
+
if (this.logger)
|
|
16536
|
+
retrier.logger = this.logger;
|
|
16537
|
+
const request = yield oci_common_1.composeRequest({
|
|
16538
|
+
baseEndpoint: this._endpoint,
|
|
16539
|
+
defaultHeaders: this._defaultHeaders,
|
|
16540
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/inboundReplications",
|
|
16541
|
+
method: "GET",
|
|
16542
|
+
pathParams: pathParams,
|
|
16543
|
+
headerParams: headerParams,
|
|
16544
|
+
queryParams: queryParams
|
|
16545
|
+
});
|
|
16546
|
+
try {
|
|
16547
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16548
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16549
|
+
responseObject: {},
|
|
16550
|
+
body: yield response.json(),
|
|
16551
|
+
bodyKey: "managedMySqlDatabaseInboundReplicationCollection",
|
|
16552
|
+
bodyModel: model.ManagedMySqlDatabaseInboundReplicationCollection,
|
|
16553
|
+
type: "model.ManagedMySqlDatabaseInboundReplicationCollection",
|
|
16554
|
+
responseHeaders: [
|
|
16555
|
+
{
|
|
16556
|
+
value: response.headers.get("opc-request-id"),
|
|
16557
|
+
key: "opcRequestId",
|
|
16558
|
+
dataType: "string"
|
|
16559
|
+
},
|
|
16560
|
+
{
|
|
16561
|
+
value: response.headers.get("opc-next-page"),
|
|
16562
|
+
key: "opcNextPage",
|
|
16563
|
+
dataType: "string"
|
|
16564
|
+
}
|
|
16565
|
+
]
|
|
16566
|
+
});
|
|
16567
|
+
return sdkResponse;
|
|
16568
|
+
}
|
|
16569
|
+
catch (err) {
|
|
16570
|
+
throw err;
|
|
16571
|
+
}
|
|
16572
|
+
});
|
|
16573
|
+
}
|
|
16183
16574
|
/**
|
|
16184
16575
|
* Retrieves configuration data for a specific MySQL database.
|
|
16185
16576
|
*
|
|
@@ -16390,6 +16781,145 @@ class ManagedMySqlDatabasesClient {
|
|
|
16390
16781
|
}
|
|
16391
16782
|
});
|
|
16392
16783
|
}
|
|
16784
|
+
/**
|
|
16785
|
+
* Retrieves any potential errors for a given digest.
|
|
16786
|
+
*
|
|
16787
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16788
|
+
* @param ListMySqlDigestErrorsRequest
|
|
16789
|
+
* @return ListMySqlDigestErrorsResponse
|
|
16790
|
+
* @throws OciError when an error occurs
|
|
16791
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListMySqlDigestErrors.ts.html |here} to see how to use ListMySqlDigestErrors API.
|
|
16792
|
+
*/
|
|
16793
|
+
listMySqlDigestErrors(listMySqlDigestErrorsRequest) {
|
|
16794
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16795
|
+
if (this.logger)
|
|
16796
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#listMySqlDigestErrors.");
|
|
16797
|
+
const operationName = "listMySqlDigestErrors";
|
|
16798
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ListMySqlDigestErrors";
|
|
16799
|
+
const pathParams = {
|
|
16800
|
+
"{managedMySqlDatabaseId}": listMySqlDigestErrorsRequest.managedMySqlDatabaseId
|
|
16801
|
+
};
|
|
16802
|
+
const queryParams = {
|
|
16803
|
+
"digest": listMySqlDigestErrorsRequest.digest,
|
|
16804
|
+
"page": listMySqlDigestErrorsRequest.page,
|
|
16805
|
+
"limit": listMySqlDigestErrorsRequest.limit,
|
|
16806
|
+
"sortBy": listMySqlDigestErrorsRequest.sortBy,
|
|
16807
|
+
"sortOrder": listMySqlDigestErrorsRequest.sortOrder
|
|
16808
|
+
};
|
|
16809
|
+
let headerParams = {
|
|
16810
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16811
|
+
"opc-request-id": listMySqlDigestErrorsRequest.opcRequestId
|
|
16812
|
+
};
|
|
16813
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16814
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMySqlDigestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
16815
|
+
if (this.logger)
|
|
16816
|
+
retrier.logger = this.logger;
|
|
16817
|
+
const request = yield oci_common_1.composeRequest({
|
|
16818
|
+
baseEndpoint: this._endpoint,
|
|
16819
|
+
defaultHeaders: this._defaultHeaders,
|
|
16820
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/digestErrors",
|
|
16821
|
+
method: "GET",
|
|
16822
|
+
pathParams: pathParams,
|
|
16823
|
+
headerParams: headerParams,
|
|
16824
|
+
queryParams: queryParams
|
|
16825
|
+
});
|
|
16826
|
+
try {
|
|
16827
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16828
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16829
|
+
responseObject: {},
|
|
16830
|
+
body: yield response.json(),
|
|
16831
|
+
bodyKey: "mySqlDigestErrorsCollection",
|
|
16832
|
+
bodyModel: model.MySqlDigestErrorsCollection,
|
|
16833
|
+
type: "model.MySqlDigestErrorsCollection",
|
|
16834
|
+
responseHeaders: [
|
|
16835
|
+
{
|
|
16836
|
+
value: response.headers.get("opc-request-id"),
|
|
16837
|
+
key: "opcRequestId",
|
|
16838
|
+
dataType: "string"
|
|
16839
|
+
},
|
|
16840
|
+
{
|
|
16841
|
+
value: response.headers.get("opc-next-page"),
|
|
16842
|
+
key: "opcNextPage",
|
|
16843
|
+
dataType: "string"
|
|
16844
|
+
}
|
|
16845
|
+
]
|
|
16846
|
+
});
|
|
16847
|
+
return sdkResponse;
|
|
16848
|
+
}
|
|
16849
|
+
catch (err) {
|
|
16850
|
+
throw err;
|
|
16851
|
+
}
|
|
16852
|
+
});
|
|
16853
|
+
}
|
|
16854
|
+
/**
|
|
16855
|
+
* Retrieves information pertaining to outbound replications of a specific MySQL server.
|
|
16856
|
+
*
|
|
16857
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16858
|
+
* @param ListOutboundReplicationsRequest
|
|
16859
|
+
* @return ListOutboundReplicationsResponse
|
|
16860
|
+
* @throws OciError when an error occurs
|
|
16861
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ListOutboundReplications.ts.html |here} to see how to use ListOutboundReplications API.
|
|
16862
|
+
*/
|
|
16863
|
+
listOutboundReplications(listOutboundReplicationsRequest) {
|
|
16864
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16865
|
+
if (this.logger)
|
|
16866
|
+
this.logger.debug("Calling operation ManagedMySqlDatabasesClient#listOutboundReplications.");
|
|
16867
|
+
const operationName = "listOutboundReplications";
|
|
16868
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ListOutboundReplications";
|
|
16869
|
+
const pathParams = {
|
|
16870
|
+
"{managedMySqlDatabaseId}": listOutboundReplicationsRequest.managedMySqlDatabaseId
|
|
16871
|
+
};
|
|
16872
|
+
const queryParams = {
|
|
16873
|
+
"limit": listOutboundReplicationsRequest.limit,
|
|
16874
|
+
"page": listOutboundReplicationsRequest.page,
|
|
16875
|
+
"sortOrder": listOutboundReplicationsRequest.sortOrder,
|
|
16876
|
+
"sortBy": listOutboundReplicationsRequest.sortBy
|
|
16877
|
+
};
|
|
16878
|
+
let headerParams = {
|
|
16879
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16880
|
+
"opc-request-id": listOutboundReplicationsRequest.opcRequestId
|
|
16881
|
+
};
|
|
16882
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16883
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOutboundReplicationsRequest.retryConfiguration, specRetryConfiguration);
|
|
16884
|
+
if (this.logger)
|
|
16885
|
+
retrier.logger = this.logger;
|
|
16886
|
+
const request = yield oci_common_1.composeRequest({
|
|
16887
|
+
baseEndpoint: this._endpoint,
|
|
16888
|
+
defaultHeaders: this._defaultHeaders,
|
|
16889
|
+
path: "/managedMySqlDatabases/{managedMySqlDatabaseId}/outboundReplications",
|
|
16890
|
+
method: "GET",
|
|
16891
|
+
pathParams: pathParams,
|
|
16892
|
+
headerParams: headerParams,
|
|
16893
|
+
queryParams: queryParams
|
|
16894
|
+
});
|
|
16895
|
+
try {
|
|
16896
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16897
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
16898
|
+
responseObject: {},
|
|
16899
|
+
body: yield response.json(),
|
|
16900
|
+
bodyKey: "managedMySqlDatabaseOutboundReplicationCollection",
|
|
16901
|
+
bodyModel: model.ManagedMySqlDatabaseOutboundReplicationCollection,
|
|
16902
|
+
type: "model.ManagedMySqlDatabaseOutboundReplicationCollection",
|
|
16903
|
+
responseHeaders: [
|
|
16904
|
+
{
|
|
16905
|
+
value: response.headers.get("opc-request-id"),
|
|
16906
|
+
key: "opcRequestId",
|
|
16907
|
+
dataType: "string"
|
|
16908
|
+
},
|
|
16909
|
+
{
|
|
16910
|
+
value: response.headers.get("opc-next-page"),
|
|
16911
|
+
key: "opcNextPage",
|
|
16912
|
+
dataType: "string"
|
|
16913
|
+
}
|
|
16914
|
+
]
|
|
16915
|
+
});
|
|
16916
|
+
return sdkResponse;
|
|
16917
|
+
}
|
|
16918
|
+
catch (err) {
|
|
16919
|
+
throw err;
|
|
16920
|
+
}
|
|
16921
|
+
});
|
|
16922
|
+
}
|
|
16393
16923
|
/**
|
|
16394
16924
|
* Gets the availability metrics for the MySQL Database specified by managedMySqlDatabaseId.
|
|
16395
16925
|
*
|