oci-database 2.132.0 → 2.135.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 +33 -1
- package/lib/client.js +208 -4
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +30 -0
- package/lib/database-waiter.js +63 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/autonomous-container-database-summary.d.ts +2 -1
- package/lib/model/autonomous-container-database-summary.js +1 -0
- package/lib/model/autonomous-container-database-summary.js.map +1 -1
- package/lib/model/autonomous-container-database.d.ts +2 -1
- package/lib/model/autonomous-container-database.js +1 -0
- package/lib/model/autonomous-container-database.js.map +1 -1
- package/lib/model/autonomous-database-summary.d.ts +2 -0
- package/lib/model/autonomous-database-summary.js +1 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database.d.ts +2 -0
- package/lib/model/autonomous-database.js +1 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-db-preview-version-summary.d.ts +1 -0
- package/lib/model/autonomous-db-preview-version-summary.js.map +1 -1
- package/lib/model/autonomous-db-version-summary.d.ts +1 -0
- package/lib/model/autonomous-db-version-summary.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +3 -1
- package/lib/model/autonomous-dw-database.js +1 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/autonomous-vm-cluster-summary.d.ts +17 -0
- package/lib/model/autonomous-vm-cluster-summary.js +10 -0
- package/lib/model/autonomous-vm-cluster-summary.js.map +1 -1
- package/lib/model/autonomous-vm-cluster.d.ts +17 -0
- package/lib/model/autonomous-vm-cluster.js +10 -0
- package/lib/model/autonomous-vm-cluster.js.map +1 -1
- package/lib/model/cloud-autonomous-vm-cluster-summary.d.ts +17 -0
- package/lib/model/cloud-autonomous-vm-cluster-summary.js +10 -0
- package/lib/model/cloud-autonomous-vm-cluster-summary.js.map +1 -1
- package/lib/model/cloud-autonomous-vm-cluster.d.ts +17 -0
- package/lib/model/cloud-autonomous-vm-cluster.js +10 -0
- package/lib/model/cloud-autonomous-vm-cluster.js.map +1 -1
- package/lib/model/cloud-exadata-infrastructure-summary.d.ts +1 -0
- package/lib/model/cloud-exadata-infrastructure-summary.js +6 -0
- package/lib/model/cloud-exadata-infrastructure-summary.js.map +1 -1
- package/lib/model/cloud-exadata-infrastructure.d.ts +1 -0
- package/lib/model/cloud-exadata-infrastructure.js +6 -0
- package/lib/model/cloud-exadata-infrastructure.js.map +1 -1
- package/lib/model/create-autonomous-container-database-base.d.ts +3 -2
- package/lib/model/create-autonomous-container-database-base.js +1 -0
- package/lib/model/create-autonomous-container-database-base.js.map +1 -1
- package/lib/model/create-autonomous-database-base.d.ts +1 -0
- package/lib/model/create-autonomous-database-base.js.map +1 -1
- package/lib/model/create-autonomous-vm-cluster-details.d.ts +12 -0
- package/lib/model/create-autonomous-vm-cluster-details.js +5 -0
- package/lib/model/create-autonomous-vm-cluster-details.js.map +1 -1
- package/lib/model/create-cloud-autonomous-vm-cluster-details.d.ts +12 -0
- package/lib/model/create-cloud-autonomous-vm-cluster-details.js +5 -0
- package/lib/model/create-cloud-autonomous-vm-cluster-details.js.map +1 -1
- package/lib/model/create-cloud-exadata-infrastructure-details.d.ts +1 -0
- package/lib/model/create-cloud-exadata-infrastructure-details.js +6 -0
- package/lib/model/create-cloud-exadata-infrastructure-details.js.map +1 -1
- package/lib/model/create-database-base.d.ts +1 -1
- package/lib/model/create-database-details.d.ts +5 -0
- package/lib/model/create-database-details.js +6 -0
- package/lib/model/create-database-details.js.map +1 -1
- package/lib/model/create-database-from-another-database-details.d.ts +1 -0
- package/lib/model/create-database-from-another-database-details.js +6 -0
- package/lib/model/create-database-from-another-database-details.js.map +1 -1
- package/lib/model/create-database-from-backup-details.d.ts +5 -0
- package/lib/model/create-database-from-backup-details.js +6 -0
- package/lib/model/create-database-from-backup-details.js.map +1 -1
- package/lib/model/create-exadata-infrastructure-details.d.ts +1 -0
- package/lib/model/create-exadata-infrastructure-details.js +6 -0
- package/lib/model/create-exadata-infrastructure-details.js.map +1 -1
- package/lib/model/create-execution-action-details.d.ts +2 -1
- package/lib/model/create-execution-action-details.js +1 -0
- package/lib/model/create-execution-action-details.js.map +1 -1
- package/lib/model/create-scheduled-action-details.d.ts +2 -1
- package/lib/model/create-scheduled-action-details.js +1 -0
- package/lib/model/create-scheduled-action-details.js.map +1 -1
- package/lib/model/create-scheduling-plan-details.d.ts +8 -0
- package/lib/model/create-scheduling-plan-details.js +5 -0
- package/lib/model/create-scheduling-plan-details.js.map +1 -1
- package/lib/model/database-summary.d.ts +15 -0
- package/lib/model/database-summary.js +16 -0
- package/lib/model/database-summary.js.map +1 -1
- package/lib/model/database.d.ts +15 -0
- package/lib/model/database.js +16 -0
- package/lib/model/database.js.map +1 -1
- package/lib/model/db-home-from-agent-resource-id.d.ts +9 -0
- package/lib/model/db-home-from-agent-resource-id.js +5 -0
- package/lib/model/db-home-from-agent-resource-id.js.map +1 -1
- package/lib/model/db-home-summary.d.ts +14 -0
- package/lib/model/db-home-summary.js +10 -0
- package/lib/model/db-home-summary.js.map +1 -1
- package/lib/model/db-home.d.ts +14 -0
- package/lib/model/db-home.js +10 -0
- package/lib/model/db-home.js.map +1 -1
- package/lib/model/db-node-summary.d.ts +17 -0
- package/lib/model/db-node-summary.js +14 -0
- package/lib/model/db-node-summary.js.map +1 -1
- package/lib/model/db-node.d.ts +17 -0
- package/lib/model/db-node.js +14 -0
- package/lib/model/db-node.js.map +1 -1
- package/lib/model/defined-file-system-configuration.d.ts +4 -0
- package/lib/model/defined-file-system-configuration.js.map +1 -1
- package/lib/model/exadata-infrastructure-summary.d.ts +1 -0
- package/lib/model/exadata-infrastructure-summary.js +6 -0
- package/lib/model/exadata-infrastructure-summary.js.map +1 -1
- package/lib/model/exadata-infrastructure-un-allocated-resources.d.ts +2 -1
- package/lib/model/exadata-infrastructure-un-allocated-resources.js.map +1 -1
- package/lib/model/exadata-infrastructure.d.ts +1 -0
- package/lib/model/exadata-infrastructure.js +6 -0
- package/lib/model/exadata-infrastructure.js.map +1 -1
- package/lib/model/execution-action-summary.d.ts +1 -0
- package/lib/model/execution-action-summary.js +1 -0
- package/lib/model/execution-action-summary.js.map +1 -1
- package/lib/model/execution-action.d.ts +1 -0
- package/lib/model/execution-action.js +1 -0
- package/lib/model/execution-action.js.map +1 -1
- package/lib/model/execution-window-summary.d.ts +8 -0
- package/lib/model/execution-window-summary.js.map +1 -1
- package/lib/model/execution-window.d.ts +8 -0
- package/lib/model/execution-window.js.map +1 -1
- package/lib/model/index.d.ts +24 -0
- package/lib/model/index.js +30 -6
- package/lib/model/index.js.map +1 -1
- package/lib/model/maintenance-run-summary.d.ts +12 -0
- package/lib/model/maintenance-run-summary.js +10 -0
- package/lib/model/maintenance-run-summary.js.map +1 -1
- package/lib/model/maintenance-run.d.ts +12 -0
- package/lib/model/maintenance-run.js +10 -0
- package/lib/model/maintenance-run.js.map +1 -1
- package/lib/model/maintenance-version-preference-details.d.ts +31 -0
- package/lib/model/maintenance-version-preference-details.js +30 -0
- package/lib/model/maintenance-version-preference-details.js.map +1 -0
- package/lib/model/managed-software-update-day-of-week.d.ts +42 -0
- package/lib/model/managed-software-update-day-of-week.js +45 -0
- package/lib/model/managed-software-update-day-of-week.js.map +1 -0
- package/lib/model/managed-software-update-details.d.ts +31 -0
- package/lib/model/managed-software-update-details.js +64 -0
- package/lib/model/managed-software-update-details.js.map +1 -0
- package/lib/model/managed-software-update-input-details.d.ts +30 -0
- package/lib/model/managed-software-update-input-details.js +58 -0
- package/lib/model/managed-software-update-input-details.js.map +1 -0
- package/lib/model/managed-software-update-maintenance-details.d.ts +75 -0
- package/lib/model/managed-software-update-maintenance-details.js +55 -0
- package/lib/model/managed-software-update-maintenance-details.js.map +1 -0
- package/lib/model/managed-software-update-preference-details.d.ts +50 -0
- package/lib/model/managed-software-update-preference-details.js +78 -0
- package/lib/model/managed-software-update-preference-details.js.map +1 -0
- package/lib/model/recommended-scheduled-action-summary.d.ts +1 -0
- package/lib/model/recommended-scheduled-action-summary.js +1 -0
- package/lib/model/recommended-scheduled-action-summary.js.map +1 -1
- package/lib/model/restart-autonomous-container-database-details.d.ts +26 -0
- package/lib/model/restart-autonomous-container-database-details.js +30 -0
- package/lib/model/restart-autonomous-container-database-details.js.map +1 -0
- package/lib/model/restart-autonomous-database-details.d.ts +26 -0
- package/lib/model/restart-autonomous-database-details.js +30 -0
- package/lib/model/restart-autonomous-database-details.js.map +1 -0
- package/lib/model/scheduled-action-summary.d.ts +1 -0
- package/lib/model/scheduled-action-summary.js +1 -0
- package/lib/model/scheduled-action-summary.js.map +1 -1
- package/lib/model/scheduled-action.d.ts +1 -0
- package/lib/model/scheduled-action.js +1 -0
- package/lib/model/scheduled-action.js.map +1 -1
- package/lib/model/scheduling-plan-summary.d.ts +2 -2
- package/lib/model/scheduling-plan-summary.js +1 -0
- package/lib/model/scheduling-plan-summary.js.map +1 -1
- package/lib/model/scheduling-plan.d.ts +2 -2
- package/lib/model/scheduling-plan.js +1 -0
- package/lib/model/scheduling-plan.js.map +1 -1
- package/lib/model/source-database-details.d.ts +1 -0
- package/lib/model/source-database-details.js.map +1 -1
- package/lib/model/stop-autonomous-database-details.d.ts +26 -0
- package/lib/model/stop-autonomous-database-details.js +30 -0
- package/lib/model/stop-autonomous-database-details.js.map +1 -0
- package/lib/model/update-autonomous-container-database-details.d.ts +25 -0
- package/lib/model/update-autonomous-container-database-details.js +11 -0
- package/lib/model/update-autonomous-container-database-details.js.map +1 -1
- package/lib/model/update-autonomous-database-details.d.ts +7 -2
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/model/update-autonomous-vm-cluster-details.d.ts +24 -0
- package/lib/model/update-autonomous-vm-cluster-details.js +5 -0
- package/lib/model/update-autonomous-vm-cluster-details.js.map +1 -1
- package/lib/model/update-cloud-autonomous-vm-cluster-details.d.ts +24 -0
- package/lib/model/update-cloud-autonomous-vm-cluster-details.js +5 -0
- package/lib/model/update-cloud-autonomous-vm-cluster-details.js.map +1 -1
- package/lib/model/update-cloud-exadata-infrastructure-details.d.ts +1 -0
- package/lib/model/update-cloud-exadata-infrastructure-details.js +6 -0
- package/lib/model/update-cloud-exadata-infrastructure-details.js.map +1 -1
- package/lib/model/update-database-details.d.ts +1 -0
- package/lib/model/update-database-details.js +6 -0
- package/lib/model/update-database-details.js.map +1 -1
- package/lib/model/update-exadata-infrastructure-details.d.ts +1 -0
- package/lib/model/update-exadata-infrastructure-details.js +6 -0
- package/lib/model/update-exadata-infrastructure-details.js.map +1 -1
- package/lib/model/version-scheme-details.d.ts +24 -0
- package/lib/model/version-scheme-details.js +69 -0
- package/lib/model/version-scheme-details.js.map +1 -0
- package/lib/model/version-scheme-from-version-series-details.d.ts +56 -0
- package/lib/model/version-scheme-from-version-series-details.js +67 -0
- package/lib/model/version-scheme-from-version-series-details.js.map +1 -0
- package/lib/model/window-type-description.d.ts +39 -0
- package/lib/model/window-type-description.js +40 -0
- package/lib/model/window-type-description.js.map +1 -0
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-db-system-compute-performances-request.d.ts +4 -0
- package/lib/request/list-params-for-action-type-request.d.ts +10 -0
- package/lib/request/list-params-for-action-type-request.js +9 -0
- package/lib/request/list-params-for-action-type-request.js.map +1 -1
- package/lib/request/list-recommended-scheduled-actions-request.d.ts +2 -1
- package/lib/request/list-recommended-scheduled-actions-request.js +1 -0
- package/lib/request/list-recommended-scheduled-actions-request.js.map +1 -1
- package/lib/request/list-scheduling-plans-request.d.ts +8 -0
- package/lib/request/list-scheduling-plans-request.js +5 -0
- package/lib/request/list-scheduling-plans-request.js.map +1 -1
- package/lib/request/list-scheduling-policies-request.d.ts +4 -0
- package/lib/request/list-scheduling-policies-request.js.map +1 -1
- package/lib/request/reschedule-managed-db-software-update-request.d.ts +43 -0
- package/lib/request/reschedule-managed-db-software-update-request.js +15 -0
- package/lib/request/reschedule-managed-db-software-update-request.js.map +1 -0
- package/lib/request/restart-autonomous-container-database-request.d.ts +5 -0
- package/lib/request/restart-autonomous-database-request.d.ts +5 -0
- package/lib/request/restart-autonomous-vm-cluster-ords-request.d.ts +43 -0
- package/lib/request/restart-autonomous-vm-cluster-ords-request.js +15 -0
- package/lib/request/restart-autonomous-vm-cluster-ords-request.js.map +1 -0
- package/lib/request/restart-cloud-autonomous-vm-cluster-ords-request.d.ts +43 -0
- package/lib/request/restart-cloud-autonomous-vm-cluster-ords-request.js +15 -0
- package/lib/request/restart-cloud-autonomous-vm-cluster-ords-request.js.map +1 -0
- package/lib/request/stop-autonomous-database-request.d.ts +5 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/reschedule-managed-db-software-update-response.d.ts +34 -0
- package/lib/response/reschedule-managed-db-software-update-response.js +15 -0
- package/lib/response/reschedule-managed-db-software-update-response.js.map +1 -0
- package/lib/response/restart-autonomous-vm-cluster-ords-response.d.ts +25 -0
- package/lib/response/restart-autonomous-vm-cluster-ords-response.js +15 -0
- package/lib/response/restart-autonomous-vm-cluster-ords-response.js.map +1 -0
- package/lib/response/restart-cloud-autonomous-vm-cluster-ords-response.d.ts +25 -0
- package/lib/response/restart-cloud-autonomous-vm-cluster-ords-response.js +15 -0
- package/lib/response/restart-cloud-autonomous-vm-cluster-ords-response.js.map +1 -0
- package/package.json +8 -6
package/lib/client.d.ts
CHANGED
|
@@ -1115,6 +1115,8 @@ export declare class DatabaseClient {
|
|
|
1115
1115
|
* Performs one of the following power actions on the specified DB node:
|
|
1116
1116
|
* - start - power on
|
|
1117
1117
|
* - stop - power off gracefully
|
|
1118
|
+
* - forcestop - power off forcefully
|
|
1119
|
+
* - forcereset - ACPI shutdown and power on forcefully
|
|
1118
1120
|
* - softreset - ACPI shutdown and power on
|
|
1119
1121
|
* - reset - power off and power on
|
|
1120
1122
|
* <p>
|
|
@@ -4244,7 +4246,7 @@ export declare class DatabaseClient {
|
|
|
4244
4246
|
*/
|
|
4245
4247
|
listDbServersResponseIterator(request: requests.ListDbServersRequest): AsyncIterableIterator<responses.ListDbServersResponse>;
|
|
4246
4248
|
/**
|
|
4247
|
-
* Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration.
|
|
4249
|
+
* Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration. Adding compartmentId does not affect results.
|
|
4248
4250
|
*
|
|
4249
4251
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4250
4252
|
* @param ListDbSystemComputePerformancesRequest
|
|
@@ -6130,6 +6132,16 @@ export declare class DatabaseClient {
|
|
|
6130
6132
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ReorderScheduledActions.ts.html |here} to see how to use ReorderScheduledActions API.
|
|
6131
6133
|
*/
|
|
6132
6134
|
reorderScheduledActions(reorderScheduledActionsRequest: requests.ReorderScheduledActionsRequest): Promise<responses.ReorderScheduledActionsResponse>;
|
|
6135
|
+
/**
|
|
6136
|
+
* Reschedule the Managed Database Software Update
|
|
6137
|
+
*
|
|
6138
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6139
|
+
* @param RescheduleManagedDbSoftwareUpdateRequest
|
|
6140
|
+
* @return RescheduleManagedDbSoftwareUpdateResponse
|
|
6141
|
+
* @throws OciError when an error occurs
|
|
6142
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RescheduleManagedDbSoftwareUpdate.ts.html |here} to see how to use RescheduleManagedDbSoftwareUpdate API.
|
|
6143
|
+
*/
|
|
6144
|
+
rescheduleManagedDbSoftwareUpdate(rescheduleManagedDbSoftwareUpdateRequest: requests.RescheduleManagedDbSoftwareUpdateRequest): Promise<responses.RescheduleManagedDbSoftwareUpdateResponse>;
|
|
6133
6145
|
/**
|
|
6134
6146
|
* Adds or removes Db server network nodes to extend or shrink the existing VM cluster network. Applies to Exadata
|
|
6135
6147
|
* Cloud@Customer instances only.
|
|
@@ -6170,6 +6182,26 @@ export declare class DatabaseClient {
|
|
|
6170
6182
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RestartAutonomousDatabase.ts.html |here} to see how to use RestartAutonomousDatabase API.
|
|
6171
6183
|
*/
|
|
6172
6184
|
restartAutonomousDatabase(restartAutonomousDatabaseRequest: requests.RestartAutonomousDatabaseRequest): Promise<responses.RestartAutonomousDatabaseResponse>;
|
|
6185
|
+
/**
|
|
6186
|
+
* Restarts Oracle REST Data Services (ORDS) for Autonomous Exadata VM cluster.
|
|
6187
|
+
*
|
|
6188
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6189
|
+
* @param RestartAutonomousVmClusterOrdsRequest
|
|
6190
|
+
* @return RestartAutonomousVmClusterOrdsResponse
|
|
6191
|
+
* @throws OciError when an error occurs
|
|
6192
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RestartAutonomousVmClusterOrds.ts.html |here} to see how to use RestartAutonomousVmClusterOrds API.
|
|
6193
|
+
*/
|
|
6194
|
+
restartAutonomousVmClusterOrds(restartAutonomousVmClusterOrdsRequest: requests.RestartAutonomousVmClusterOrdsRequest): Promise<responses.RestartAutonomousVmClusterOrdsResponse>;
|
|
6195
|
+
/**
|
|
6196
|
+
* Restarts Oracle REST Data Services (ORDS) for a cloud Autonomous Exadata VM cluster.
|
|
6197
|
+
*
|
|
6198
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6199
|
+
* @param RestartCloudAutonomousVmClusterOrdsRequest
|
|
6200
|
+
* @return RestartCloudAutonomousVmClusterOrdsResponse
|
|
6201
|
+
* @throws OciError when an error occurs
|
|
6202
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RestartCloudAutonomousVmClusterOrds.ts.html |here} to see how to use RestartCloudAutonomousVmClusterOrds API.
|
|
6203
|
+
*/
|
|
6204
|
+
restartCloudAutonomousVmClusterOrds(restartCloudAutonomousVmClusterOrdsRequest: requests.RestartCloudAutonomousVmClusterOrdsRequest): Promise<responses.RestartCloudAutonomousVmClusterOrdsResponse>;
|
|
6173
6205
|
/**
|
|
6174
6206
|
* Restores an Autonomous AI Database based on the provided request parameters.
|
|
6175
6207
|
*
|
package/lib/client.js
CHANGED
|
@@ -6780,6 +6780,8 @@ class DatabaseClient {
|
|
|
6780
6780
|
* Performs one of the following power actions on the specified DB node:
|
|
6781
6781
|
* - start - power on
|
|
6782
6782
|
* - stop - power off gracefully
|
|
6783
|
+
* - forcestop - power off forcefully
|
|
6784
|
+
* - forcereset - ACPI shutdown and power on forcefully
|
|
6783
6785
|
* - softreset - ACPI shutdown and power on
|
|
6784
6786
|
* - reset - power off and power on
|
|
6785
6787
|
* <p>
|
|
@@ -21173,7 +21175,7 @@ class DatabaseClient {
|
|
|
21173
21175
|
return oci_common_1.paginateResponses(request, req => this.listDbServers(req));
|
|
21174
21176
|
}
|
|
21175
21177
|
/**
|
|
21176
|
-
* Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration.
|
|
21178
|
+
* Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration. Adding compartmentId does not affect results.
|
|
21177
21179
|
*
|
|
21178
21180
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
21179
21181
|
* @param ListDbSystemComputePerformancesRequest
|
|
@@ -21189,7 +21191,8 @@ class DatabaseClient {
|
|
|
21189
21191
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystem/ListDbSystemComputePerformances";
|
|
21190
21192
|
const pathParams = {};
|
|
21191
21193
|
const queryParams = {
|
|
21192
|
-
"dbSystemShape": listDbSystemComputePerformancesRequest.dbSystemShape
|
|
21194
|
+
"dbSystemShape": listDbSystemComputePerformancesRequest.dbSystemShape,
|
|
21195
|
+
"compartmentId": listDbSystemComputePerformancesRequest.compartmentId
|
|
21193
21196
|
};
|
|
21194
21197
|
let headerParams = {
|
|
21195
21198
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -24286,6 +24289,7 @@ class DatabaseClient {
|
|
|
24286
24289
|
const pathParams = {};
|
|
24287
24290
|
const queryParams = {
|
|
24288
24291
|
"type": listParamsForActionTypeRequest.type,
|
|
24292
|
+
"planIntent": listParamsForActionTypeRequest.planIntent,
|
|
24289
24293
|
"limit": listParamsForActionTypeRequest.limit,
|
|
24290
24294
|
"page": listParamsForActionTypeRequest.page
|
|
24291
24295
|
};
|
|
@@ -24902,7 +24906,8 @@ class DatabaseClient {
|
|
|
24902
24906
|
"schedulingPolicyId": listSchedulingPlansRequest.schedulingPolicyId,
|
|
24903
24907
|
"displayName": listSchedulingPlansRequest.displayName,
|
|
24904
24908
|
"resourceId": listSchedulingPlansRequest.resourceId,
|
|
24905
|
-
"id": listSchedulingPlansRequest.id
|
|
24909
|
+
"id": listSchedulingPlansRequest.id,
|
|
24910
|
+
"planIntent": listSchedulingPlansRequest.planIntent
|
|
24906
24911
|
};
|
|
24907
24912
|
let headerParams = {
|
|
24908
24913
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -24972,7 +24977,8 @@ class DatabaseClient {
|
|
|
24972
24977
|
"sortBy": listSchedulingPoliciesRequest.sortBy,
|
|
24973
24978
|
"sortOrder": listSchedulingPoliciesRequest.sortOrder,
|
|
24974
24979
|
"lifecycleState": listSchedulingPoliciesRequest.lifecycleState,
|
|
24975
|
-
"displayName": listSchedulingPoliciesRequest.displayName
|
|
24980
|
+
"displayName": listSchedulingPoliciesRequest.displayName,
|
|
24981
|
+
"cadence": listSchedulingPoliciesRequest.cadence
|
|
24976
24982
|
};
|
|
24977
24983
|
let headerParams = {
|
|
24978
24984
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -27741,6 +27747,77 @@ class DatabaseClient {
|
|
|
27741
27747
|
}
|
|
27742
27748
|
});
|
|
27743
27749
|
}
|
|
27750
|
+
/**
|
|
27751
|
+
* Reschedule the Managed Database Software Update
|
|
27752
|
+
*
|
|
27753
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
27754
|
+
* @param RescheduleManagedDbSoftwareUpdateRequest
|
|
27755
|
+
* @return RescheduleManagedDbSoftwareUpdateResponse
|
|
27756
|
+
* @throws OciError when an error occurs
|
|
27757
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RescheduleManagedDbSoftwareUpdate.ts.html |here} to see how to use RescheduleManagedDbSoftwareUpdate API.
|
|
27758
|
+
*/
|
|
27759
|
+
rescheduleManagedDbSoftwareUpdate(rescheduleManagedDbSoftwareUpdateRequest) {
|
|
27760
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27761
|
+
if (this.logger)
|
|
27762
|
+
this.logger.debug("Calling operation DatabaseClient#rescheduleManagedDbSoftwareUpdate.");
|
|
27763
|
+
const operationName = "rescheduleManagedDbSoftwareUpdate";
|
|
27764
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RescheduleManagedDbSoftwareUpdate";
|
|
27765
|
+
const pathParams = {
|
|
27766
|
+
"{databaseId}": rescheduleManagedDbSoftwareUpdateRequest.databaseId
|
|
27767
|
+
};
|
|
27768
|
+
const queryParams = {};
|
|
27769
|
+
let headerParams = {
|
|
27770
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27771
|
+
"if-match": rescheduleManagedDbSoftwareUpdateRequest.ifMatch,
|
|
27772
|
+
"opc-request-id": rescheduleManagedDbSoftwareUpdateRequest.opcRequestId,
|
|
27773
|
+
"opc-retry-token": rescheduleManagedDbSoftwareUpdateRequest.opcRetryToken
|
|
27774
|
+
};
|
|
27775
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
27776
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rescheduleManagedDbSoftwareUpdateRequest.retryConfiguration, specRetryConfiguration);
|
|
27777
|
+
if (this.logger)
|
|
27778
|
+
retrier.logger = this.logger;
|
|
27779
|
+
const request = yield oci_common_2.composeRequest({
|
|
27780
|
+
baseEndpoint: this._endpoint,
|
|
27781
|
+
defaultHeaders: this._defaultHeaders,
|
|
27782
|
+
path: "/databases/{databaseId}/actions/rescheduleManagedDbSoftwareUpdate",
|
|
27783
|
+
method: "POST",
|
|
27784
|
+
pathParams: pathParams,
|
|
27785
|
+
headerParams: headerParams,
|
|
27786
|
+
queryParams: queryParams
|
|
27787
|
+
});
|
|
27788
|
+
try {
|
|
27789
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
27790
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
27791
|
+
responseObject: {},
|
|
27792
|
+
body: yield response.json(),
|
|
27793
|
+
bodyKey: "database",
|
|
27794
|
+
bodyModel: model.Database,
|
|
27795
|
+
type: "model.Database",
|
|
27796
|
+
responseHeaders: [
|
|
27797
|
+
{
|
|
27798
|
+
value: response.headers.get("opc-work-request-id"),
|
|
27799
|
+
key: "opcWorkRequestId",
|
|
27800
|
+
dataType: "string"
|
|
27801
|
+
},
|
|
27802
|
+
{
|
|
27803
|
+
value: response.headers.get("opc-request-id"),
|
|
27804
|
+
key: "opcRequestId",
|
|
27805
|
+
dataType: "string"
|
|
27806
|
+
},
|
|
27807
|
+
{
|
|
27808
|
+
value: response.headers.get("etag"),
|
|
27809
|
+
key: "etag",
|
|
27810
|
+
dataType: "string"
|
|
27811
|
+
}
|
|
27812
|
+
]
|
|
27813
|
+
});
|
|
27814
|
+
return sdkResponse;
|
|
27815
|
+
}
|
|
27816
|
+
catch (err) {
|
|
27817
|
+
throw err;
|
|
27818
|
+
}
|
|
27819
|
+
});
|
|
27820
|
+
}
|
|
27744
27821
|
/**
|
|
27745
27822
|
* Adds or removes Db server network nodes to extend or shrink the existing VM cluster network. Applies to Exadata
|
|
27746
27823
|
* Cloud@Customer instances only.
|
|
@@ -27919,6 +27996,7 @@ class DatabaseClient {
|
|
|
27919
27996
|
defaultHeaders: this._defaultHeaders,
|
|
27920
27997
|
path: "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/restart",
|
|
27921
27998
|
method: "POST",
|
|
27999
|
+
bodyContent: common.ObjectSerializer.serialize(restartAutonomousContainerDatabaseRequest.restartAutonomousContainerDatabaseDetails, "RestartAutonomousContainerDatabaseDetails", model.RestartAutonomousContainerDatabaseDetails.getJsonObj),
|
|
27922
28000
|
pathParams: pathParams,
|
|
27923
28001
|
headerParams: headerParams,
|
|
27924
28002
|
queryParams: queryParams
|
|
@@ -27991,6 +28069,7 @@ class DatabaseClient {
|
|
|
27991
28069
|
defaultHeaders: this._defaultHeaders,
|
|
27992
28070
|
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/restart",
|
|
27993
28071
|
method: "POST",
|
|
28072
|
+
bodyContent: common.ObjectSerializer.serialize(restartAutonomousDatabaseRequest.restartAutonomousDatabaseDetails, "RestartAutonomousDatabaseDetails", model.RestartAutonomousDatabaseDetails.getJsonObj),
|
|
27994
28073
|
pathParams: pathParams,
|
|
27995
28074
|
headerParams: headerParams,
|
|
27996
28075
|
queryParams: queryParams
|
|
@@ -28028,6 +28107,130 @@ class DatabaseClient {
|
|
|
28028
28107
|
}
|
|
28029
28108
|
});
|
|
28030
28109
|
}
|
|
28110
|
+
/**
|
|
28111
|
+
* Restarts Oracle REST Data Services (ORDS) for Autonomous Exadata VM cluster.
|
|
28112
|
+
*
|
|
28113
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
28114
|
+
* @param RestartAutonomousVmClusterOrdsRequest
|
|
28115
|
+
* @return RestartAutonomousVmClusterOrdsResponse
|
|
28116
|
+
* @throws OciError when an error occurs
|
|
28117
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RestartAutonomousVmClusterOrds.ts.html |here} to see how to use RestartAutonomousVmClusterOrds API.
|
|
28118
|
+
*/
|
|
28119
|
+
restartAutonomousVmClusterOrds(restartAutonomousVmClusterOrdsRequest) {
|
|
28120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28121
|
+
if (this.logger)
|
|
28122
|
+
this.logger.debug("Calling operation DatabaseClient#restartAutonomousVmClusterOrds.");
|
|
28123
|
+
const operationName = "restartAutonomousVmClusterOrds";
|
|
28124
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousVmCluster/RestartAutonomousVmClusterOrds";
|
|
28125
|
+
const pathParams = {
|
|
28126
|
+
"{autonomousVmClusterId}": restartAutonomousVmClusterOrdsRequest.autonomousVmClusterId
|
|
28127
|
+
};
|
|
28128
|
+
const queryParams = {};
|
|
28129
|
+
let headerParams = {
|
|
28130
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
28131
|
+
"opc-retry-token": restartAutonomousVmClusterOrdsRequest.opcRetryToken,
|
|
28132
|
+
"opc-request-id": restartAutonomousVmClusterOrdsRequest.opcRequestId,
|
|
28133
|
+
"if-match": restartAutonomousVmClusterOrdsRequest.ifMatch
|
|
28134
|
+
};
|
|
28135
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
28136
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAutonomousVmClusterOrdsRequest.retryConfiguration, specRetryConfiguration);
|
|
28137
|
+
if (this.logger)
|
|
28138
|
+
retrier.logger = this.logger;
|
|
28139
|
+
const request = yield oci_common_2.composeRequest({
|
|
28140
|
+
baseEndpoint: this._endpoint,
|
|
28141
|
+
defaultHeaders: this._defaultHeaders,
|
|
28142
|
+
path: "/autonomousVmClusters/{autonomousVmClusterId}/actions/restartOrds",
|
|
28143
|
+
method: "POST",
|
|
28144
|
+
pathParams: pathParams,
|
|
28145
|
+
headerParams: headerParams,
|
|
28146
|
+
queryParams: queryParams
|
|
28147
|
+
});
|
|
28148
|
+
try {
|
|
28149
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
28150
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
28151
|
+
responseObject: {},
|
|
28152
|
+
responseHeaders: [
|
|
28153
|
+
{
|
|
28154
|
+
value: response.headers.get("opc-work-request-id"),
|
|
28155
|
+
key: "opcWorkRequestId",
|
|
28156
|
+
dataType: "string"
|
|
28157
|
+
},
|
|
28158
|
+
{
|
|
28159
|
+
value: response.headers.get("opc-request-id"),
|
|
28160
|
+
key: "opcRequestId",
|
|
28161
|
+
dataType: "string"
|
|
28162
|
+
}
|
|
28163
|
+
]
|
|
28164
|
+
});
|
|
28165
|
+
return sdkResponse;
|
|
28166
|
+
}
|
|
28167
|
+
catch (err) {
|
|
28168
|
+
throw err;
|
|
28169
|
+
}
|
|
28170
|
+
});
|
|
28171
|
+
}
|
|
28172
|
+
/**
|
|
28173
|
+
* Restarts Oracle REST Data Services (ORDS) for a cloud Autonomous Exadata VM cluster.
|
|
28174
|
+
*
|
|
28175
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
28176
|
+
* @param RestartCloudAutonomousVmClusterOrdsRequest
|
|
28177
|
+
* @return RestartCloudAutonomousVmClusterOrdsResponse
|
|
28178
|
+
* @throws OciError when an error occurs
|
|
28179
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RestartCloudAutonomousVmClusterOrds.ts.html |here} to see how to use RestartCloudAutonomousVmClusterOrds API.
|
|
28180
|
+
*/
|
|
28181
|
+
restartCloudAutonomousVmClusterOrds(restartCloudAutonomousVmClusterOrdsRequest) {
|
|
28182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28183
|
+
if (this.logger)
|
|
28184
|
+
this.logger.debug("Calling operation DatabaseClient#restartCloudAutonomousVmClusterOrds.");
|
|
28185
|
+
const operationName = "restartCloudAutonomousVmClusterOrds";
|
|
28186
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/RestartCloudAutonomousVmClusterOrds";
|
|
28187
|
+
const pathParams = {
|
|
28188
|
+
"{cloudAutonomousVmClusterId}": restartCloudAutonomousVmClusterOrdsRequest.cloudAutonomousVmClusterId
|
|
28189
|
+
};
|
|
28190
|
+
const queryParams = {};
|
|
28191
|
+
let headerParams = {
|
|
28192
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
28193
|
+
"opc-retry-token": restartCloudAutonomousVmClusterOrdsRequest.opcRetryToken,
|
|
28194
|
+
"opc-request-id": restartCloudAutonomousVmClusterOrdsRequest.opcRequestId,
|
|
28195
|
+
"if-match": restartCloudAutonomousVmClusterOrdsRequest.ifMatch
|
|
28196
|
+
};
|
|
28197
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
28198
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartCloudAutonomousVmClusterOrdsRequest.retryConfiguration, specRetryConfiguration);
|
|
28199
|
+
if (this.logger)
|
|
28200
|
+
retrier.logger = this.logger;
|
|
28201
|
+
const request = yield oci_common_2.composeRequest({
|
|
28202
|
+
baseEndpoint: this._endpoint,
|
|
28203
|
+
defaultHeaders: this._defaultHeaders,
|
|
28204
|
+
path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/restartOrds",
|
|
28205
|
+
method: "POST",
|
|
28206
|
+
pathParams: pathParams,
|
|
28207
|
+
headerParams: headerParams,
|
|
28208
|
+
queryParams: queryParams
|
|
28209
|
+
});
|
|
28210
|
+
try {
|
|
28211
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
28212
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
28213
|
+
responseObject: {},
|
|
28214
|
+
responseHeaders: [
|
|
28215
|
+
{
|
|
28216
|
+
value: response.headers.get("opc-work-request-id"),
|
|
28217
|
+
key: "opcWorkRequestId",
|
|
28218
|
+
dataType: "string"
|
|
28219
|
+
},
|
|
28220
|
+
{
|
|
28221
|
+
value: response.headers.get("opc-request-id"),
|
|
28222
|
+
key: "opcRequestId",
|
|
28223
|
+
dataType: "string"
|
|
28224
|
+
}
|
|
28225
|
+
]
|
|
28226
|
+
});
|
|
28227
|
+
return sdkResponse;
|
|
28228
|
+
}
|
|
28229
|
+
catch (err) {
|
|
28230
|
+
throw err;
|
|
28231
|
+
}
|
|
28232
|
+
});
|
|
28233
|
+
}
|
|
28031
28234
|
/**
|
|
28032
28235
|
* Restores an Autonomous AI Database based on the provided request parameters.
|
|
28033
28236
|
*
|
|
@@ -29403,6 +29606,7 @@ class DatabaseClient {
|
|
|
29403
29606
|
defaultHeaders: this._defaultHeaders,
|
|
29404
29607
|
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/stop",
|
|
29405
29608
|
method: "POST",
|
|
29609
|
+
bodyContent: common.ObjectSerializer.serialize(stopAutonomousDatabaseRequest.stopAutonomousDatabaseDetails, "StopAutonomousDatabaseDetails", model.StopAutonomousDatabaseDetails.getJsonObj),
|
|
29406
29610
|
pathParams: pathParams,
|
|
29407
29611
|
headerParams: headerParams,
|
|
29408
29612
|
queryParams: queryParams
|