oci-databasemanagement 2.92.0 → 2.93.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.
- package/lib/client.d.ts +30 -0
- package/lib/client.js +190 -0
- package/lib/client.js.map +1 -1
- package/lib/model/autonomous-database-diagnostics-and-management-feature-details.d.ts +27 -0
- package/lib/model/autonomous-database-diagnostics-and-management-feature-details.js +57 -0
- package/lib/model/autonomous-database-diagnostics-and-management-feature-details.js.map +1 -0
- package/lib/model/autonomous-database-feature-details.d.ts +28 -0
- package/lib/model/autonomous-database-feature-details.js +89 -0
- package/lib/model/autonomous-database-feature-details.js.map +1 -0
- package/lib/model/autonomous-database-sql-watch-feature-details.d.ts +27 -0
- package/lib/model/autonomous-database-sql-watch-feature-details.js +57 -0
- package/lib/model/autonomous-database-sql-watch-feature-details.js.map +1 -0
- package/lib/model/connector-details.js +4 -0
- package/lib/model/connector-details.js.map +1 -1
- package/lib/model/create-db-management-private-endpoint-details.d.ts +4 -0
- package/lib/model/create-db-management-private-endpoint-details.js.map +1 -1
- package/lib/model/database-feature-configuration.d.ts +1 -1
- package/lib/model/database-feature-configuration.js.map +1 -1
- package/lib/model/database-feature-details.d.ts +1 -1
- package/lib/model/database-feature-details.js.map +1 -1
- package/lib/model/db-management-private-endpoint.d.ts +4 -0
- package/lib/model/db-management-private-endpoint.js.map +1 -1
- package/lib/model/direct-connector-details.d.ts +28 -0
- package/lib/model/direct-connector-details.js +57 -0
- package/lib/model/direct-connector-details.js.map +1 -0
- package/lib/model/disable-autonomous-database-management-feature-details.d.ts +29 -0
- package/lib/model/disable-autonomous-database-management-feature-details.js +32 -0
- package/lib/model/disable-autonomous-database-management-feature-details.js.map +1 -0
- package/lib/model/enable-autonomous-database-management-feature-details.d.ts +26 -0
- package/lib/model/enable-autonomous-database-management-feature-details.js +60 -0
- package/lib/model/enable-autonomous-database-management-feature-details.js.map +1 -0
- package/lib/model/external-database-feature-details.d.ts +1 -1
- package/lib/model/external-database-feature-details.js.map +1 -1
- package/lib/model/external-pluggable-database-feature-details.d.ts +1 -1
- package/lib/model/external-pluggable-database-feature-details.js.map +1 -1
- package/lib/model/index.d.ts +14 -0
- package/lib/model/index.js +25 -11
- package/lib/model/index.js.map +1 -1
- package/lib/model/modify-autonomous-database-management-feature-details.d.ts +26 -0
- package/lib/model/modify-autonomous-database-management-feature-details.js +60 -0
- package/lib/model/modify-autonomous-database-management-feature-details.js.map +1 -0
- package/lib/model/optimizer-statistics-collection-operation-summary.d.ts +1 -0
- package/lib/model/optimizer-statistics-collection-operation-summary.js +1 -0
- package/lib/model/optimizer-statistics-collection-operation-summary.js.map +1 -1
- package/lib/model/optimizer-statistics-collection-operation.d.ts +1 -0
- package/lib/model/optimizer-statistics-collection-operation.js +1 -0
- package/lib/model/optimizer-statistics-collection-operation.js.map +1 -1
- package/lib/request/disable-autonomous-database-management-feature-request.d.ts +49 -0
- package/lib/request/disable-autonomous-database-management-feature-request.js +15 -0
- package/lib/request/disable-autonomous-database-management-feature-request.js.map +1 -0
- package/lib/request/enable-autonomous-database-management-feature-request.d.ts +49 -0
- package/lib/request/enable-autonomous-database-management-feature-request.js +15 -0
- package/lib/request/enable-autonomous-database-management-feature-request.js.map +1 -0
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-db-management-private-endpoints-request.d.ts +6 -0
- package/lib/request/list-db-management-private-endpoints-request.js.map +1 -1
- package/lib/request/modify-autonomous-database-management-feature-request.d.ts +49 -0
- package/lib/request/modify-autonomous-database-management-feature-request.js +15 -0
- package/lib/request/modify-autonomous-database-management-feature-request.js.map +1 -0
- package/lib/response/disable-autonomous-database-management-feature-response.d.ts +25 -0
- package/lib/response/disable-autonomous-database-management-feature-response.js +15 -0
- package/lib/response/disable-autonomous-database-management-feature-response.js.map +1 -0
- package/lib/response/enable-autonomous-database-management-feature-response.d.ts +25 -0
- package/lib/response/enable-autonomous-database-management-feature-response.js +15 -0
- package/lib/response/enable-autonomous-database-management-feature-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/modify-autonomous-database-management-feature-response.d.ts +25 -0
- package/lib/response/modify-autonomous-database-management-feature-response.js +15 -0
- package/lib/response/modify-autonomous-database-management-feature-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -518,6 +518,16 @@ export declare class DbManagementClient {
|
|
|
518
518
|
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/DisableAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use DisableAutomaticSpmEvolveAdvisorTask API.
|
|
519
519
|
*/
|
|
520
520
|
disableAutomaticSpmEvolveAdvisorTask(disableAutomaticSpmEvolveAdvisorTaskRequest: requests.DisableAutomaticSpmEvolveAdvisorTaskRequest): Promise<responses.DisableAutomaticSpmEvolveAdvisorTaskResponse>;
|
|
521
|
+
/**
|
|
522
|
+
* Disables a Database Management feature for the specified Autonomous Database.
|
|
523
|
+
*
|
|
524
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
525
|
+
* @param DisableAutonomousDatabaseManagementFeatureRequest
|
|
526
|
+
* @return DisableAutonomousDatabaseManagementFeatureResponse
|
|
527
|
+
* @throws OciError when an error occurs
|
|
528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/DisableAutonomousDatabaseManagementFeature.ts.html |here} to see how to use DisableAutonomousDatabaseManagementFeature API.
|
|
529
|
+
*/
|
|
530
|
+
disableAutonomousDatabaseManagementFeature(disableAutonomousDatabaseManagementFeatureRequest: requests.DisableAutonomousDatabaseManagementFeatureRequest): Promise<responses.DisableAutonomousDatabaseManagementFeatureResponse>;
|
|
521
531
|
/**
|
|
522
532
|
* Disables a Database Management feature for the specified Oracle cloud database.
|
|
523
533
|
*
|
|
@@ -719,6 +729,16 @@ export declare class DbManagementClient {
|
|
|
719
729
|
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/EnableAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use EnableAutomaticSpmEvolveAdvisorTask API.
|
|
720
730
|
*/
|
|
721
731
|
enableAutomaticSpmEvolveAdvisorTask(enableAutomaticSpmEvolveAdvisorTaskRequest: requests.EnableAutomaticSpmEvolveAdvisorTaskRequest): Promise<responses.EnableAutomaticSpmEvolveAdvisorTaskResponse>;
|
|
732
|
+
/**
|
|
733
|
+
* Enables a Database Management feature for the specified Autonomous Database.
|
|
734
|
+
*
|
|
735
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
736
|
+
* @param EnableAutonomousDatabaseManagementFeatureRequest
|
|
737
|
+
* @return EnableAutonomousDatabaseManagementFeatureResponse
|
|
738
|
+
* @throws OciError when an error occurs
|
|
739
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/EnableAutonomousDatabaseManagementFeature.ts.html |here} to see how to use EnableAutonomousDatabaseManagementFeature API.
|
|
740
|
+
*/
|
|
741
|
+
enableAutonomousDatabaseManagementFeature(enableAutonomousDatabaseManagementFeatureRequest: requests.EnableAutonomousDatabaseManagementFeatureRequest): Promise<responses.EnableAutonomousDatabaseManagementFeatureResponse>;
|
|
722
742
|
/**
|
|
723
743
|
* Enables a Database Management feature for the specified cloud database.
|
|
724
744
|
*
|
|
@@ -1811,6 +1831,16 @@ export declare class DbManagementClient {
|
|
|
1811
1831
|
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/LoadSqlPlanBaselinesFromCursorCache.ts.html |here} to see how to use LoadSqlPlanBaselinesFromCursorCache API.
|
|
1812
1832
|
*/
|
|
1813
1833
|
loadSqlPlanBaselinesFromCursorCache(loadSqlPlanBaselinesFromCursorCacheRequest: requests.LoadSqlPlanBaselinesFromCursorCacheRequest): Promise<responses.LoadSqlPlanBaselinesFromCursorCacheResponse>;
|
|
1834
|
+
/**
|
|
1835
|
+
* Modifies the Database Management feature for the specified Autonomous Database.
|
|
1836
|
+
*
|
|
1837
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1838
|
+
* @param ModifyAutonomousDatabaseManagementFeatureRequest
|
|
1839
|
+
* @return ModifyAutonomousDatabaseManagementFeatureResponse
|
|
1840
|
+
* @throws OciError when an error occurs
|
|
1841
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ModifyAutonomousDatabaseManagementFeature.ts.html |here} to see how to use ModifyAutonomousDatabaseManagementFeature API.
|
|
1842
|
+
*/
|
|
1843
|
+
modifyAutonomousDatabaseManagementFeature(modifyAutonomousDatabaseManagementFeatureRequest: requests.ModifyAutonomousDatabaseManagementFeatureRequest): Promise<responses.ModifyAutonomousDatabaseManagementFeatureResponse>;
|
|
1814
1844
|
/**
|
|
1815
1845
|
* Modifies a Database Management feature for the specified Oracle cloud database.
|
|
1816
1846
|
*
|
package/lib/client.js
CHANGED
|
@@ -2636,6 +2636,69 @@ class DbManagementClient {
|
|
|
2636
2636
|
}
|
|
2637
2637
|
});
|
|
2638
2638
|
}
|
|
2639
|
+
/**
|
|
2640
|
+
* Disables a Database Management feature for the specified Autonomous Database.
|
|
2641
|
+
*
|
|
2642
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2643
|
+
* @param DisableAutonomousDatabaseManagementFeatureRequest
|
|
2644
|
+
* @return DisableAutonomousDatabaseManagementFeatureResponse
|
|
2645
|
+
* @throws OciError when an error occurs
|
|
2646
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/DisableAutonomousDatabaseManagementFeature.ts.html |here} to see how to use DisableAutonomousDatabaseManagementFeature API.
|
|
2647
|
+
*/
|
|
2648
|
+
disableAutonomousDatabaseManagementFeature(disableAutonomousDatabaseManagementFeatureRequest) {
|
|
2649
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2650
|
+
if (this.logger)
|
|
2651
|
+
this.logger.debug("Calling operation DbManagementClient#disableAutonomousDatabaseManagementFeature.");
|
|
2652
|
+
const operationName = "disableAutonomousDatabaseManagementFeature";
|
|
2653
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableAutonomousDatabaseManagementFeature";
|
|
2654
|
+
const pathParams = {
|
|
2655
|
+
"{autonomousDatabaseId}": disableAutonomousDatabaseManagementFeatureRequest.autonomousDatabaseId
|
|
2656
|
+
};
|
|
2657
|
+
const queryParams = {};
|
|
2658
|
+
let headerParams = {
|
|
2659
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2660
|
+
"opc-request-id": disableAutonomousDatabaseManagementFeatureRequest.opcRequestId,
|
|
2661
|
+
"opc-retry-token": disableAutonomousDatabaseManagementFeatureRequest.opcRetryToken,
|
|
2662
|
+
"if-match": disableAutonomousDatabaseManagementFeatureRequest.ifMatch
|
|
2663
|
+
};
|
|
2664
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2665
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutonomousDatabaseManagementFeatureRequest.retryConfiguration, specRetryConfiguration);
|
|
2666
|
+
if (this.logger)
|
|
2667
|
+
retrier.logger = this.logger;
|
|
2668
|
+
const request = yield oci_common_1.composeRequest({
|
|
2669
|
+
baseEndpoint: this._endpoint,
|
|
2670
|
+
defaultHeaders: this._defaultHeaders,
|
|
2671
|
+
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/disableDatabaseManagement",
|
|
2672
|
+
method: "POST",
|
|
2673
|
+
bodyContent: common.ObjectSerializer.serialize(disableAutonomousDatabaseManagementFeatureRequest.disableAutonomousDatabaseManagementFeatureDetails, "DisableAutonomousDatabaseManagementFeatureDetails", model.DisableAutonomousDatabaseManagementFeatureDetails.getJsonObj),
|
|
2674
|
+
pathParams: pathParams,
|
|
2675
|
+
headerParams: headerParams,
|
|
2676
|
+
queryParams: queryParams
|
|
2677
|
+
});
|
|
2678
|
+
try {
|
|
2679
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2680
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2681
|
+
responseObject: {},
|
|
2682
|
+
responseHeaders: [
|
|
2683
|
+
{
|
|
2684
|
+
value: response.headers.get("opc-request-id"),
|
|
2685
|
+
key: "opcRequestId",
|
|
2686
|
+
dataType: "string"
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2690
|
+
key: "opcWorkRequestId",
|
|
2691
|
+
dataType: "string"
|
|
2692
|
+
}
|
|
2693
|
+
]
|
|
2694
|
+
});
|
|
2695
|
+
return sdkResponse;
|
|
2696
|
+
}
|
|
2697
|
+
catch (err) {
|
|
2698
|
+
throw err;
|
|
2699
|
+
}
|
|
2700
|
+
});
|
|
2701
|
+
}
|
|
2639
2702
|
/**
|
|
2640
2703
|
* Disables a Database Management feature for the specified Oracle cloud database.
|
|
2641
2704
|
*
|
|
@@ -3595,6 +3658,69 @@ class DbManagementClient {
|
|
|
3595
3658
|
}
|
|
3596
3659
|
});
|
|
3597
3660
|
}
|
|
3661
|
+
/**
|
|
3662
|
+
* Enables a Database Management feature for the specified Autonomous Database.
|
|
3663
|
+
*
|
|
3664
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3665
|
+
* @param EnableAutonomousDatabaseManagementFeatureRequest
|
|
3666
|
+
* @return EnableAutonomousDatabaseManagementFeatureResponse
|
|
3667
|
+
* @throws OciError when an error occurs
|
|
3668
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/EnableAutonomousDatabaseManagementFeature.ts.html |here} to see how to use EnableAutonomousDatabaseManagementFeature API.
|
|
3669
|
+
*/
|
|
3670
|
+
enableAutonomousDatabaseManagementFeature(enableAutonomousDatabaseManagementFeatureRequest) {
|
|
3671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3672
|
+
if (this.logger)
|
|
3673
|
+
this.logger.debug("Calling operation DbManagementClient#enableAutonomousDatabaseManagementFeature.");
|
|
3674
|
+
const operationName = "enableAutonomousDatabaseManagementFeature";
|
|
3675
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableAutonomousDatabaseManagementFeature";
|
|
3676
|
+
const pathParams = {
|
|
3677
|
+
"{autonomousDatabaseId}": enableAutonomousDatabaseManagementFeatureRequest.autonomousDatabaseId
|
|
3678
|
+
};
|
|
3679
|
+
const queryParams = {};
|
|
3680
|
+
let headerParams = {
|
|
3681
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3682
|
+
"opc-request-id": enableAutonomousDatabaseManagementFeatureRequest.opcRequestId,
|
|
3683
|
+
"opc-retry-token": enableAutonomousDatabaseManagementFeatureRequest.opcRetryToken,
|
|
3684
|
+
"if-match": enableAutonomousDatabaseManagementFeatureRequest.ifMatch
|
|
3685
|
+
};
|
|
3686
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3687
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutonomousDatabaseManagementFeatureRequest.retryConfiguration, specRetryConfiguration);
|
|
3688
|
+
if (this.logger)
|
|
3689
|
+
retrier.logger = this.logger;
|
|
3690
|
+
const request = yield oci_common_1.composeRequest({
|
|
3691
|
+
baseEndpoint: this._endpoint,
|
|
3692
|
+
defaultHeaders: this._defaultHeaders,
|
|
3693
|
+
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/enableDatabaseManagement",
|
|
3694
|
+
method: "POST",
|
|
3695
|
+
bodyContent: common.ObjectSerializer.serialize(enableAutonomousDatabaseManagementFeatureRequest.enableAutonomousDatabaseManagementFeatureDetails, "EnableAutonomousDatabaseManagementFeatureDetails", model.EnableAutonomousDatabaseManagementFeatureDetails.getJsonObj),
|
|
3696
|
+
pathParams: pathParams,
|
|
3697
|
+
headerParams: headerParams,
|
|
3698
|
+
queryParams: queryParams
|
|
3699
|
+
});
|
|
3700
|
+
try {
|
|
3701
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3702
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3703
|
+
responseObject: {},
|
|
3704
|
+
responseHeaders: [
|
|
3705
|
+
{
|
|
3706
|
+
value: response.headers.get("opc-request-id"),
|
|
3707
|
+
key: "opcRequestId",
|
|
3708
|
+
dataType: "string"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3712
|
+
key: "opcWorkRequestId",
|
|
3713
|
+
dataType: "string"
|
|
3714
|
+
}
|
|
3715
|
+
]
|
|
3716
|
+
});
|
|
3717
|
+
return sdkResponse;
|
|
3718
|
+
}
|
|
3719
|
+
catch (err) {
|
|
3720
|
+
throw err;
|
|
3721
|
+
}
|
|
3722
|
+
});
|
|
3723
|
+
}
|
|
3598
3724
|
/**
|
|
3599
3725
|
* Enables a Database Management feature for the specified cloud database.
|
|
3600
3726
|
*
|
|
@@ -7624,6 +7750,7 @@ class DbManagementClient {
|
|
|
7624
7750
|
"name": listDbManagementPrivateEndpointsRequest.name,
|
|
7625
7751
|
"vcnId": listDbManagementPrivateEndpointsRequest.vcnId,
|
|
7626
7752
|
"isCluster": listDbManagementPrivateEndpointsRequest.isCluster,
|
|
7753
|
+
"isDnsResolutionEnabled": listDbManagementPrivateEndpointsRequest.isDnsResolutionEnabled,
|
|
7627
7754
|
"lifecycleState": listDbManagementPrivateEndpointsRequest.lifecycleState,
|
|
7628
7755
|
"limit": listDbManagementPrivateEndpointsRequest.limit,
|
|
7629
7756
|
"page": listDbManagementPrivateEndpointsRequest.page,
|
|
@@ -10640,6 +10767,69 @@ class DbManagementClient {
|
|
|
10640
10767
|
}
|
|
10641
10768
|
});
|
|
10642
10769
|
}
|
|
10770
|
+
/**
|
|
10771
|
+
* Modifies the Database Management feature for the specified Autonomous Database.
|
|
10772
|
+
*
|
|
10773
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10774
|
+
* @param ModifyAutonomousDatabaseManagementFeatureRequest
|
|
10775
|
+
* @return ModifyAutonomousDatabaseManagementFeatureResponse
|
|
10776
|
+
* @throws OciError when an error occurs
|
|
10777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/ModifyAutonomousDatabaseManagementFeature.ts.html |here} to see how to use ModifyAutonomousDatabaseManagementFeature API.
|
|
10778
|
+
*/
|
|
10779
|
+
modifyAutonomousDatabaseManagementFeature(modifyAutonomousDatabaseManagementFeatureRequest) {
|
|
10780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10781
|
+
if (this.logger)
|
|
10782
|
+
this.logger.debug("Calling operation DbManagementClient#modifyAutonomousDatabaseManagementFeature.");
|
|
10783
|
+
const operationName = "modifyAutonomousDatabaseManagementFeature";
|
|
10784
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ModifyAutonomousDatabaseManagementFeature";
|
|
10785
|
+
const pathParams = {
|
|
10786
|
+
"{autonomousDatabaseId}": modifyAutonomousDatabaseManagementFeatureRequest.autonomousDatabaseId
|
|
10787
|
+
};
|
|
10788
|
+
const queryParams = {};
|
|
10789
|
+
let headerParams = {
|
|
10790
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10791
|
+
"opc-request-id": modifyAutonomousDatabaseManagementFeatureRequest.opcRequestId,
|
|
10792
|
+
"opc-retry-token": modifyAutonomousDatabaseManagementFeatureRequest.opcRetryToken,
|
|
10793
|
+
"if-match": modifyAutonomousDatabaseManagementFeatureRequest.ifMatch
|
|
10794
|
+
};
|
|
10795
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10796
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, modifyAutonomousDatabaseManagementFeatureRequest.retryConfiguration, specRetryConfiguration);
|
|
10797
|
+
if (this.logger)
|
|
10798
|
+
retrier.logger = this.logger;
|
|
10799
|
+
const request = yield oci_common_1.composeRequest({
|
|
10800
|
+
baseEndpoint: this._endpoint,
|
|
10801
|
+
defaultHeaders: this._defaultHeaders,
|
|
10802
|
+
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/modifyDatabaseManagement",
|
|
10803
|
+
method: "POST",
|
|
10804
|
+
bodyContent: common.ObjectSerializer.serialize(modifyAutonomousDatabaseManagementFeatureRequest.modifyAutonomousDatabaseManagementFeatureDetails, "ModifyAutonomousDatabaseManagementFeatureDetails", model.ModifyAutonomousDatabaseManagementFeatureDetails.getJsonObj),
|
|
10805
|
+
pathParams: pathParams,
|
|
10806
|
+
headerParams: headerParams,
|
|
10807
|
+
queryParams: queryParams
|
|
10808
|
+
});
|
|
10809
|
+
try {
|
|
10810
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10811
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
10812
|
+
responseObject: {},
|
|
10813
|
+
responseHeaders: [
|
|
10814
|
+
{
|
|
10815
|
+
value: response.headers.get("opc-request-id"),
|
|
10816
|
+
key: "opcRequestId",
|
|
10817
|
+
dataType: "string"
|
|
10818
|
+
},
|
|
10819
|
+
{
|
|
10820
|
+
value: response.headers.get("opc-work-request-id"),
|
|
10821
|
+
key: "opcWorkRequestId",
|
|
10822
|
+
dataType: "string"
|
|
10823
|
+
}
|
|
10824
|
+
]
|
|
10825
|
+
});
|
|
10826
|
+
return sdkResponse;
|
|
10827
|
+
}
|
|
10828
|
+
catch (err) {
|
|
10829
|
+
throw err;
|
|
10830
|
+
}
|
|
10831
|
+
});
|
|
10832
|
+
}
|
|
10643
10833
|
/**
|
|
10644
10834
|
* Modifies a Database Management feature for the specified Oracle cloud database.
|
|
10645
10835
|
*
|