oci-database 2.125.3 → 2.126.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 +30 -0
- package/lib/client.js +194 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +18 -0
- package/lib/database-waiter.js +30 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/autonomous-database-backup-summary.d.ts +2 -0
- package/lib/model/autonomous-database-backup-summary.js.map +1 -1
- package/lib/model/autonomous-database-backup.d.ts +2 -0
- package/lib/model/autonomous-database-backup.js.map +1 -1
- package/lib/model/autonomous-database-summary.d.ts +4 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database.d.ts +4 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-db-preview-version-summary.d.ts +2 -0
- package/lib/model/autonomous-db-preview-version-summary.js.map +1 -1
- package/lib/model/autonomous-db-version-summary.d.ts +4 -0
- package/lib/model/autonomous-db-version-summary.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +4 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/create-autonomous-database-base.d.ts +4 -0
- package/lib/model/create-autonomous-database-base.js.map +1 -1
- package/lib/model/create-database-for-standby-db-system-details.d.ts +109 -0
- package/lib/model/create-database-for-standby-db-system-details.js +76 -0
- package/lib/model/create-database-for-standby-db-system-details.js.map +1 -0
- package/lib/model/create-db-home-for-standby-db-system.d.ts +31 -0
- package/lib/model/create-db-home-for-standby-db-system.js +58 -0
- package/lib/model/create-db-home-for-standby-db-system.js.map +1 -0
- package/lib/model/db-node-summary.d.ts +6 -0
- package/lib/model/db-node-summary.js.map +1 -1
- package/lib/model/db-node.d.ts +6 -0
- package/lib/model/db-node.js.map +1 -1
- package/lib/model/db-system-os-patch-details-collection.d.ts +27 -0
- package/lib/model/db-system-os-patch-details-collection.js +62 -0
- package/lib/model/db-system-os-patch-details-collection.js.map +1 -0
- package/lib/model/db-system-os-patch-details-summary.d.ts +34 -0
- package/lib/model/db-system-os-patch-details-summary.js +30 -0
- package/lib/model/db-system-os-patch-details-summary.js.map +1 -0
- package/lib/model/db-system-os-patch-history-entry-collection.d.ts +27 -0
- package/lib/model/db-system-os-patch-history-entry-collection.js +62 -0
- package/lib/model/db-system-os-patch-history-entry-collection.js.map +1 -0
- package/lib/model/db-system-os-patch-history-entry-summary.d.ts +73 -0
- package/lib/model/db-system-os-patch-history-entry-summary.js +79 -0
- package/lib/model/db-system-os-patch-history-entry-summary.js.map +1 -0
- package/lib/model/db-system-os-patch-history-entry.d.ts +74 -0
- package/lib/model/db-system-os-patch-history-entry.js +79 -0
- package/lib/model/db-system-os-patch-history-entry.js.map +1 -0
- package/lib/model/execute-db-system-os-patch-details.d.ts +39 -0
- package/lib/model/execute-db-system-os-patch-details.js +35 -0
- package/lib/model/execute-db-system-os-patch-details.js.map +1 -0
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +27 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/launch-db-system-base.js +4 -0
- package/lib/model/launch-db-system-base.js.map +1 -1
- package/lib/model/launch-standby-db-system-details.d.ts +40 -0
- package/lib/model/launch-standby-db-system-details.js +68 -0
- package/lib/model/launch-standby-db-system-details.js.map +1 -0
- package/lib/model/source-database-details.d.ts +2 -0
- package/lib/model/source-database-details.js.map +1 -1
- package/lib/model/update-autonomous-database-details.d.ts +4 -0
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/request/execute-db-system-os-patch-request.d.ts +48 -0
- package/lib/request/execute-db-system-os-patch-request.js +15 -0
- package/lib/request/execute-db-system-os-patch-request.js.map +1 -0
- package/lib/request/get-db-system-os-patch-history-entry-request.d.ts +31 -0
- package/lib/request/get-db-system-os-patch-history-entry-request.js +15 -0
- package/lib/request/get-db-system-os-patch-history-entry-request.js.map +1 -0
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/launch-db-system-request.d.ts +1 -1
- package/lib/request/list-db-system-os-patch-history-entries-request.d.ts +62 -0
- package/lib/request/list-db-system-os-patch-history-entries-request.js +29 -0
- package/lib/request/list-db-system-os-patch-history-entries-request.js.map +1 -0
- package/lib/response/execute-db-system-os-patch-response.d.ts +25 -0
- package/lib/response/execute-db-system-os-patch-response.js +15 -0
- package/lib/response/execute-db-system-os-patch-response.js.map +1 -0
- package/lib/response/get-db-system-os-patch-history-entry-response.d.ts +25 -0
- package/lib/response/get-db-system-os-patch-history-entry-response.js +15 -0
- package/lib/response/get-db-system-os-patch-history-entry-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/list-db-system-os-patch-history-entries-response.d.ts +33 -0
- package/lib/response/list-db-system-os-patch-history-entries-response.js +15 -0
- package/lib/response/list-db-system-os-patch-history-entries-response.js.map +1 -0
- package/package.json +3 -3
package/lib/database-waiter.d.ts
CHANGED
|
@@ -1531,6 +1531,16 @@ export declare class DatabaseWaiter {
|
|
|
1531
1531
|
response: serviceResponses.EnablePluggableDatabaseManagementResponse;
|
|
1532
1532
|
workRequestResponse: responses.GetWorkRequestResponse;
|
|
1533
1533
|
}>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Waits forExecuteDbSystemOsPatch
|
|
1536
|
+
*
|
|
1537
|
+
* @param request the request to send
|
|
1538
|
+
* @return response returns ExecuteDbSystemOsPatchResponse, GetWorkRequestResponse tuple
|
|
1539
|
+
*/
|
|
1540
|
+
forExecuteDbSystemOsPatch(request: serviceRequests.ExecuteDbSystemOsPatchRequest): Promise<{
|
|
1541
|
+
response: serviceResponses.ExecuteDbSystemOsPatchResponse;
|
|
1542
|
+
workRequestResponse: responses.GetWorkRequestResponse;
|
|
1543
|
+
}>;
|
|
1534
1544
|
/**
|
|
1535
1545
|
* Waits forFailOverAutonomousDatabase
|
|
1536
1546
|
*
|
|
@@ -1813,6 +1823,14 @@ export declare class DatabaseWaiter {
|
|
|
1813
1823
|
* @return response returns GetDbSystemResponse | null (null in case of 404 response)
|
|
1814
1824
|
*/
|
|
1815
1825
|
forDbSystem(request: serviceRequests.GetDbSystemRequest, ...targetStates: models.DbSystem.LifecycleState[]): Promise<serviceResponses.GetDbSystemResponse | null>;
|
|
1826
|
+
/**
|
|
1827
|
+
* Waits forDbSystemOsPatchHistoryEntry till it reaches any of the provided states
|
|
1828
|
+
*
|
|
1829
|
+
* @param request the request to send
|
|
1830
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
1831
|
+
* @return response returns GetDbSystemOsPatchHistoryEntryResponse
|
|
1832
|
+
*/
|
|
1833
|
+
forDbSystemOsPatchHistoryEntry(request: serviceRequests.GetDbSystemOsPatchHistoryEntryRequest, ...targetStates: models.DbSystemOsPatchHistoryEntry.LifecycleState[]): Promise<serviceResponses.GetDbSystemOsPatchHistoryEntryResponse>;
|
|
1816
1834
|
/**
|
|
1817
1835
|
* Waits forDbSystemUpgradeHistoryEntry till it reaches any of the provided states
|
|
1818
1836
|
*
|
package/lib/database-waiter.js
CHANGED
|
@@ -2967,6 +2967,24 @@ class DatabaseWaiter {
|
|
|
2967
2967
|
};
|
|
2968
2968
|
});
|
|
2969
2969
|
}
|
|
2970
|
+
/**
|
|
2971
|
+
* Waits forExecuteDbSystemOsPatch
|
|
2972
|
+
*
|
|
2973
|
+
* @param request the request to send
|
|
2974
|
+
* @return response returns ExecuteDbSystemOsPatchResponse, GetWorkRequestResponse tuple
|
|
2975
|
+
*/
|
|
2976
|
+
forExecuteDbSystemOsPatch(request) {
|
|
2977
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2978
|
+
const executeDbSystemOsPatchResponse = yield this.client.executeDbSystemOsPatch(request);
|
|
2979
|
+
if (executeDbSystemOsPatchResponse.opcWorkRequestId === undefined)
|
|
2980
|
+
return { response: executeDbSystemOsPatchResponse, workRequestResponse: undefined };
|
|
2981
|
+
const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, executeDbSystemOsPatchResponse.opcWorkRequestId);
|
|
2982
|
+
return {
|
|
2983
|
+
response: executeDbSystemOsPatchResponse,
|
|
2984
|
+
workRequestResponse: getWorkRequestResponse
|
|
2985
|
+
};
|
|
2986
|
+
});
|
|
2987
|
+
}
|
|
2970
2988
|
/**
|
|
2971
2989
|
* Waits forFailOverAutonomousDatabase
|
|
2972
2990
|
*
|
|
@@ -3414,6 +3432,18 @@ class DatabaseWaiter {
|
|
|
3414
3432
|
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getDbSystem(request), response => targetStates.includes(response.dbSystem.lifecycleState), targetStates.includes(models.DbSystem.LifecycleState.Terminated));
|
|
3415
3433
|
});
|
|
3416
3434
|
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Waits forDbSystemOsPatchHistoryEntry till it reaches any of the provided states
|
|
3437
|
+
*
|
|
3438
|
+
* @param request the request to send
|
|
3439
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
3440
|
+
* @return response returns GetDbSystemOsPatchHistoryEntryResponse
|
|
3441
|
+
*/
|
|
3442
|
+
forDbSystemOsPatchHistoryEntry(request, ...targetStates) {
|
|
3443
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3444
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getDbSystemOsPatchHistoryEntry(request), response => targetStates.includes(response.dbSystemOsPatchHistoryEntry.lifecycleState));
|
|
3445
|
+
});
|
|
3446
|
+
}
|
|
3417
3447
|
/**
|
|
3418
3448
|
* Waits forDbSystemUpgradeHistoryEntry till it reaches any of the provided states
|
|
3419
3449
|
*
|