oci-database 2.119.1 → 2.121.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 +149 -57
- package/lib/client.js +510 -57
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +48 -0
- package/lib/database-waiter.js +78 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/acd-avm-resource-stats.d.ts +2 -2
- package/lib/model/add-dbnode-snapshots-for-exadb-vm-cluster-details.d.ts +51 -0
- package/lib/model/add-dbnode-snapshots-for-exadb-vm-cluster-details.js +30 -0
- package/lib/model/add-dbnode-snapshots-for-exadb-vm-cluster-details.js.map +1 -0
- package/lib/model/associated-long-term-backup.d.ts +2 -2
- package/lib/model/autonomous-container-database-backup-summary.d.ts +2 -2
- package/lib/model/autonomous-container-database-backup.d.ts +3 -3
- package/lib/model/autonomous-container-database-dataguard-association.d.ts +3 -3
- package/lib/model/autonomous-container-database-dataguard.d.ts +2 -2
- package/lib/model/autonomous-container-database-resource-usage.d.ts +2 -2
- package/lib/model/autonomous-container-database-summary.d.ts +11 -11
- package/lib/model/autonomous-container-database-version-summary.d.ts +2 -2
- package/lib/model/autonomous-container-database.d.ts +11 -11
- package/lib/model/autonomous-data-warehouse-connection-strings.d.ts +3 -3
- package/lib/model/autonomous-data-warehouse-summary.d.ts +7 -7
- package/lib/model/autonomous-data-warehouse.d.ts +7 -7
- package/lib/model/autonomous-database-apex.d.ts +2 -2
- package/lib/model/autonomous-database-backup-config.d.ts +1 -1
- package/lib/model/autonomous-database-backup-summary.d.ts +6 -6
- package/lib/model/autonomous-database-backup.d.ts +6 -6
- package/lib/model/autonomous-database-character-sets.d.ts +1 -1
- package/lib/model/autonomous-database-connection-strings.d.ts +3 -3
- package/lib/model/autonomous-database-connection-urls.d.ts +5 -5
- package/lib/model/autonomous-database-console-token-details.d.ts +3 -3
- package/lib/model/autonomous-database-dataguard-association.d.ts +8 -8
- package/lib/model/autonomous-database-encryption-key-details.d.ts +1 -1
- package/lib/model/autonomous-database-encryption-key-history-entry.d.ts +1 -1
- package/lib/model/autonomous-database-in-backup.d.ts +2 -2
- package/lib/model/autonomous-database-key-history-entry.d.ts +3 -3
- package/lib/model/autonomous-database-manual-refresh-details.d.ts +2 -2
- package/lib/model/autonomous-database-peer-collection.d.ts +2 -2
- package/lib/model/autonomous-database-peer-summary.d.ts +3 -3
- package/lib/model/autonomous-database-software-image-collection.d.ts +2 -2
- package/lib/model/autonomous-database-software-image-summary.d.ts +7 -7
- package/lib/model/autonomous-database-software-image.d.ts +7 -7
- package/lib/model/autonomous-database-standby-summary.d.ts +4 -4
- package/lib/model/autonomous-database-summary.d.ts +99 -95
- package/lib/model/autonomous-database-summary.js +13 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database-wallet.d.ts +2 -2
- package/lib/model/autonomous-database.d.ts +99 -95
- package/lib/model/autonomous-database.js +13 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-db-preview-version-summary.d.ts +11 -9
- package/lib/model/autonomous-db-preview-version-summary.js +1 -0
- package/lib/model/autonomous-db-preview-version-summary.js.map +1 -1
- package/lib/model/autonomous-db-version-summary.d.ts +17 -15
- package/lib/model/autonomous-db-version-summary.js +1 -0
- package/lib/model/autonomous-db-version-summary.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +100 -96
- package/lib/model/autonomous-dw-database.js +13 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/autonomous-exadata-infrastructure-summary.d.ts +5 -5
- package/lib/model/autonomous-exadata-infrastructure.d.ts +2 -2
- package/lib/model/autonomous-vm-resource-usage.d.ts +1 -1
- package/lib/model/avm-acd-resource-stats.d.ts +2 -2
- package/lib/model/backup-destination-configuration-summary.d.ts +1 -1
- package/lib/model/backup-destination-details-summary.d.ts +1 -1
- package/lib/model/backup-destination-details.d.ts +1 -1
- package/lib/model/backup-destination-summary.d.ts +2 -2
- package/lib/model/backup-destination.d.ts +2 -2
- package/lib/model/backup-summary.d.ts +1 -1
- package/lib/model/backup.d.ts +1 -1
- package/lib/model/change-autonomous-database-subscription-details.d.ts +1 -1
- package/lib/model/change-dataguard-role-details.d.ts +1 -1
- package/lib/model/change-disaster-recovery-configuration-details.d.ts +2 -2
- package/lib/model/cloud-autonomous-vm-cluster-resource-usage.d.ts +4 -4
- package/lib/model/cloud-autonomous-vm-cluster-summary.d.ts +12 -12
- package/lib/model/cloud-autonomous-vm-cluster.d.ts +12 -12
- package/lib/model/cloud-exadata-infrastructure-summary.d.ts +1 -1
- package/lib/model/cloud-exadata-infrastructure.d.ts +1 -1
- package/lib/model/cloud-vm-cluster-summary.d.ts +2 -2
- package/lib/model/cloud-vm-cluster.d.ts +2 -2
- package/lib/model/configure-autonomous-database-vault-key-details.d.ts +1 -1
- package/lib/model/configure-saas-admin-user-details.d.ts +2 -2
- package/lib/model/convert-standby-autonomous-container-database-details.d.ts +1 -1
- package/lib/model/create-autonomous-container-database-base.d.ts +6 -6
- package/lib/model/create-autonomous-database-backup-details.d.ts +2 -2
- package/lib/model/create-autonomous-database-base.d.ts +63 -61
- package/lib/model/create-autonomous-database-base.js +1 -0
- package/lib/model/create-autonomous-database-base.js.map +1 -1
- package/lib/model/create-autonomous-database-clone-details.d.ts +3 -3
- package/lib/model/create-autonomous-database-details.d.ts +1 -1
- package/lib/model/create-autonomous-database-from-backup-details.d.ts +4 -4
- package/lib/model/create-autonomous-database-from-backup-timestamp-details.d.ts +5 -5
- package/lib/model/create-autonomous-database-software-image-details.d.ts +3 -3
- package/lib/model/create-cloud-autonomous-vm-cluster-details.d.ts +6 -6
- package/lib/model/create-cloud-vm-cluster-details.d.ts +1 -1
- package/lib/model/create-cross-region-autonomous-database-data-guard-details.d.ts +3 -3
- package/lib/model/create-cross-region-disaster-recovery-details.d.ts +5 -5
- package/lib/model/create-cross-tenancy-disaster-recovery-details.d.ts +4 -4
- package/lib/model/create-data-guard-association-with-new-db-system-details.d.ts +2 -2
- package/lib/model/create-database-base.d.ts +1 -1
- package/lib/model/create-database-details.d.ts +1 -1
- package/lib/model/create-db-home-base.d.ts +1 -1
- package/lib/model/create-exadb-vm-cluster-details.d.ts +1 -1
- package/lib/model/create-maintenance-run-details.d.ts +1 -1
- package/lib/model/create-refreshable-autonomous-database-clone-details.d.ts +6 -6
- package/lib/model/database-connection-string-profile.d.ts +1 -1
- package/lib/model/database-connection-string.d.ts +1 -1
- package/lib/model/database-summary.d.ts +1 -1
- package/lib/model/database-tool.d.ts +1 -1
- package/lib/model/database.d.ts +1 -1
- package/lib/model/db-backup-config.d.ts +1 -1
- package/lib/model/db-server-summary.d.ts +1 -1
- package/lib/model/db-server.d.ts +1 -1
- package/lib/model/db-system-shape-summary.d.ts +1 -1
- package/lib/model/db-system-summary.d.ts +1 -1
- package/lib/model/db-system.d.ts +1 -1
- package/lib/model/dbnode-snapshot-summary.d.ts +94 -0
- package/lib/model/dbnode-snapshot-summary.js +72 -0
- package/lib/model/dbnode-snapshot-summary.js.map +1 -0
- package/lib/model/dbnode-snapshot.d.ts +109 -0
- package/lib/model/dbnode-snapshot.js +88 -0
- package/lib/model/dbnode-snapshot.js.map +1 -0
- package/lib/model/dbnode-snapshots.d.ts +33 -0
- package/lib/model/dbnode-snapshots.js +62 -0
- package/lib/model/dbnode-snapshots.js.map +1 -0
- package/lib/model/deregister-autonomous-database-data-safe-details.d.ts +1 -1
- package/lib/model/disaster-recovery-configuration.d.ts +1 -1
- package/lib/model/exadata-infrastructure-summary.d.ts +1 -1
- package/lib/model/exadata-infrastructure.d.ts +1 -1
- package/lib/model/exadb-vm-cluster-summary.d.ts +1 -1
- package/lib/model/exadb-vm-cluster.d.ts +1 -1
- package/lib/model/generate-autonomous-database-wallet-details.d.ts +1 -1
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +29 -11
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-store-summary.d.ts +2 -2
- package/lib/model/key-store.d.ts +2 -2
- package/lib/model/launch-autonomous-exadata-infrastructure-details.d.ts +1 -1
- package/lib/model/launch-db-system-base.d.ts +2 -2
- package/lib/model/maintenance-run-summary.d.ts +3 -3
- package/lib/model/maintenance-run.d.ts +3 -3
- package/lib/model/migrate-vault-key-details.d.ts +1 -1
- package/lib/model/mount-dbnode-snapshot-details.d.ts +27 -0
- package/lib/model/mount-dbnode-snapshot-details.js +30 -0
- package/lib/model/mount-dbnode-snapshot-details.js.map +1 -0
- package/lib/model/mount-point-details.d.ts +31 -0
- package/lib/model/mount-point-details.js +30 -0
- package/lib/model/mount-point-details.js.map +1 -0
- package/lib/model/oci-provider-set-key-version-details.d.ts +1 -1
- package/lib/model/pluggable-database-summary.d.ts +1 -1
- package/lib/model/pluggable-database.d.ts +1 -1
- package/lib/model/refreshable-clone-collection.d.ts +1 -1
- package/lib/model/refreshable-clone-summary.d.ts +2 -2
- package/lib/model/register-autonomous-database-data-safe-details.d.ts +1 -1
- package/lib/model/resource-pool-member-collection.d.ts +1 -1
- package/lib/model/resource-pool-member-summary.d.ts +2 -2
- package/lib/model/resource-pool-shape-collection.d.ts +2 -2
- package/lib/model/resource-pool-shape-summary.d.ts +1 -1
- package/lib/model/resource-pool-summary.d.ts +1 -1
- package/lib/model/restore-autonomous-database-details.d.ts +1 -1
- package/lib/model/rotate-autonomous-container-database-encryption-key-details.d.ts +1 -1
- package/lib/model/rotate-autonomous-database-encryption-key-details.d.ts +1 -1
- package/lib/model/saas-admin-user-configuration.d.ts +2 -2
- package/lib/model/saas-admin-user-status.d.ts +2 -2
- package/lib/model/source-database-details.d.ts +12 -10
- package/lib/model/source-database-details.js +1 -0
- package/lib/model/source-database-details.js.map +1 -1
- package/lib/model/undelete-autonomous-database-details.d.ts +2 -2
- package/lib/model/unmount-dbnode-snapshot-details.d.ts +27 -0
- package/lib/model/unmount-dbnode-snapshot-details.js +30 -0
- package/lib/model/unmount-dbnode-snapshot-details.js.map +1 -0
- package/lib/model/update-autonomous-database-backup-details.d.ts +1 -1
- package/lib/model/update-autonomous-database-details.d.ts +74 -71
- package/lib/model/update-autonomous-database-details.js +7 -0
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/model/update-autonomous-database-software-image-details.d.ts +1 -1
- package/lib/model/update-autonomous-database-wallet-details.d.ts +1 -1
- package/lib/model/update-autonomous-exadata-infrastructure-details.d.ts +1 -1
- package/lib/model/update-cloud-autonomous-vm-cluster-details.d.ts +5 -5
- package/lib/model/update-cloud-vm-cluster-details.d.ts +1 -1
- package/lib/model/update-db-system-details.d.ts +1 -1
- package/lib/model/update-exadb-vm-cluster-details.d.ts +1 -1
- package/lib/model/vanity-url-details.d.ts +34 -0
- package/lib/model/vanity-url-details.js +30 -0
- package/lib/model/vanity-url-details.js.map +1 -0
- package/lib/model/vm-cluster-summary.d.ts +1 -1
- package/lib/model/vm-cluster.d.ts +1 -1
- package/lib/model/volume-details.d.ts +31 -0
- package/lib/model/volume-details.js +30 -0
- package/lib/model/volume-details.js.map +1 -0
- package/lib/model/workload-type.d.ts +2 -2
- package/lib/request/add-dbnode-snapshots-for-exadb-vm-cluster-request.d.ts +49 -0
- package/lib/request/add-dbnode-snapshots-for-exadb-vm-cluster-request.js +15 -0
- package/lib/request/add-dbnode-snapshots-for-exadb-vm-cluster-request.js.map +1 -0
- package/lib/request/autonomous-database-manual-refresh-request.d.ts +1 -1
- package/lib/request/change-autonomous-database-compartment-request.d.ts +1 -1
- package/lib/request/change-autonomous-database-software-image-compartment-request.d.ts +2 -2
- package/lib/request/change-autonomous-database-subscription-request.d.ts +1 -1
- package/lib/request/change-disaster-recovery-configuration-request.d.ts +1 -1
- package/lib/request/configure-autonomous-database-vault-key-request.d.ts +1 -1
- package/lib/request/configure-saas-admin-user-request.d.ts +1 -1
- package/lib/request/create-autonomous-database-backup-request.d.ts +1 -1
- package/lib/request/create-autonomous-database-request.d.ts +1 -1
- package/lib/request/create-autonomous-database-software-image-request.d.ts +1 -1
- package/lib/request/delete-autonomous-database-backup-request.d.ts +1 -1
- package/lib/request/delete-autonomous-database-request.d.ts +1 -1
- package/lib/request/delete-autonomous-database-software-image-request.d.ts +1 -1
- package/lib/request/delete-dbnode-snapshot-request.d.ts +34 -0
- package/lib/request/delete-dbnode-snapshot-request.js +15 -0
- package/lib/request/delete-dbnode-snapshot-request.js.map +1 -0
- package/lib/request/deregister-autonomous-database-data-safe-request.d.ts +1 -1
- package/lib/request/generate-autonomous-database-wallet-request.d.ts +1 -1
- package/lib/request/get-autonomous-database-backup-request.d.ts +1 -1
- package/lib/request/get-autonomous-database-software-image-request.d.ts +1 -1
- package/lib/request/get-dbnode-snapshot-request.d.ts +27 -0
- package/lib/request/get-dbnode-snapshot-request.js +15 -0
- package/lib/request/get-dbnode-snapshot-request.js.map +1 -0
- package/lib/request/index.d.ts +12 -0
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-autonomous-database-character-sets-request.d.ts +2 -2
- package/lib/request/list-autonomous-database-software-images-request.d.ts +1 -1
- package/lib/request/list-autonomous-databases-request.d.ts +3 -3
- package/lib/request/list-autonomous-db-versions-request.d.ts +1 -1
- package/lib/request/list-dbnode-snapshots-request.d.ts +70 -0
- package/lib/request/list-dbnode-snapshots-request.js +29 -0
- package/lib/request/list-dbnode-snapshots-request.js.map +1 -0
- package/lib/request/list-maintenance-runs-request.d.ts +1 -1
- package/lib/request/mount-dbnode-snapshot-request.d.ts +48 -0
- package/lib/request/mount-dbnode-snapshot-request.js +15 -0
- package/lib/request/mount-dbnode-snapshot-request.js.map +1 -0
- package/lib/request/register-autonomous-database-data-safe-request.d.ts +1 -1
- package/lib/request/restore-autonomous-database-request.d.ts +1 -1
- package/lib/request/rotate-autonomous-container-database-encryption-key-request.d.ts +1 -1
- package/lib/request/rotate-autonomous-database-encryption-key-request.d.ts +1 -1
- package/lib/request/unmount-dbnode-snapshot-request.d.ts +48 -0
- package/lib/request/unmount-dbnode-snapshot-request.js +15 -0
- package/lib/request/unmount-dbnode-snapshot-request.js.map +1 -0
- package/lib/request/update-autonomous-database-backup-request.d.ts +2 -2
- package/lib/request/update-autonomous-database-regional-wallet-request.d.ts +1 -1
- package/lib/request/update-autonomous-database-request.d.ts +1 -1
- package/lib/request/update-autonomous-database-software-image-request.d.ts +2 -2
- package/lib/request/update-autonomous-database-wallet-request.d.ts +1 -1
- package/lib/response/add-dbnode-snapshots-for-exadb-vm-cluster-response.d.ts +34 -0
- package/lib/response/add-dbnode-snapshots-for-exadb-vm-cluster-response.js +15 -0
- package/lib/response/add-dbnode-snapshots-for-exadb-vm-cluster-response.js.map +1 -0
- package/lib/response/delete-dbnode-snapshot-response.d.ts +25 -0
- package/lib/response/delete-dbnode-snapshot-response.js +15 -0
- package/lib/response/delete-dbnode-snapshot-response.js.map +1 -0
- package/lib/response/get-dbnode-snapshot-response.d.ts +29 -0
- package/lib/response/get-dbnode-snapshot-response.js +15 -0
- package/lib/response/get-dbnode-snapshot-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -0
- package/lib/response/list-dbnode-snapshots-response.d.ts +33 -0
- package/lib/response/list-dbnode-snapshots-response.js +15 -0
- package/lib/response/list-dbnode-snapshots-response.js.map +1 -0
- package/lib/response/mount-dbnode-snapshot-response.d.ts +34 -0
- package/lib/response/mount-dbnode-snapshot-response.js +15 -0
- package/lib/response/mount-dbnode-snapshot-response.js.map +1 -0
- package/lib/response/unmount-dbnode-snapshot-response.d.ts +34 -0
- package/lib/response/unmount-dbnode-snapshot-response.js +15 -0
- package/lib/response/unmount-dbnode-snapshot-response.js.map +1 -0
- package/package.json +3 -3
package/lib/database-waiter.d.ts
CHANGED
|
@@ -31,6 +31,16 @@ export declare class DatabaseWaiter {
|
|
|
31
31
|
response: serviceResponses.ActivateExadataInfrastructureResponse;
|
|
32
32
|
workRequestResponse: responses.GetWorkRequestResponse;
|
|
33
33
|
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Waits forAddDbnodeSnapshotsForExadbVmCluster
|
|
36
|
+
*
|
|
37
|
+
* @param request the request to send
|
|
38
|
+
* @return response returns AddDbnodeSnapshotsForExadbVmClusterResponse, GetWorkRequestResponse tuple
|
|
39
|
+
*/
|
|
40
|
+
forAddDbnodeSnapshotsForExadbVmCluster(request: serviceRequests.AddDbnodeSnapshotsForExadbVmClusterRequest): Promise<{
|
|
41
|
+
response: serviceResponses.AddDbnodeSnapshotsForExadbVmClusterResponse;
|
|
42
|
+
workRequestResponse: responses.GetWorkRequestResponse;
|
|
43
|
+
}>;
|
|
34
44
|
/**
|
|
35
45
|
* Waits forAddStandbyAutonomousContainerDatabase
|
|
36
46
|
*
|
|
@@ -1081,6 +1091,16 @@ export declare class DatabaseWaiter {
|
|
|
1081
1091
|
response: serviceResponses.DeleteDbHomeResponse;
|
|
1082
1092
|
workRequestResponse: responses.GetWorkRequestResponse;
|
|
1083
1093
|
}>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Waits forDeleteDbnodeSnapshot
|
|
1096
|
+
*
|
|
1097
|
+
* @param request the request to send
|
|
1098
|
+
* @return response returns DeleteDbnodeSnapshotResponse, GetWorkRequestResponse tuple
|
|
1099
|
+
*/
|
|
1100
|
+
forDeleteDbnodeSnapshot(request: serviceRequests.DeleteDbnodeSnapshotRequest): Promise<{
|
|
1101
|
+
response: serviceResponses.DeleteDbnodeSnapshotResponse;
|
|
1102
|
+
workRequestResponse: responses.GetWorkRequestResponse;
|
|
1103
|
+
}>;
|
|
1084
1104
|
/**
|
|
1085
1105
|
* Waits forDeleteExadataInfrastructure
|
|
1086
1106
|
*
|
|
@@ -1765,6 +1785,14 @@ export declare class DatabaseWaiter {
|
|
|
1765
1785
|
* @return response returns GetDbSystemUpgradeHistoryEntryResponse
|
|
1766
1786
|
*/
|
|
1767
1787
|
forDbSystemUpgradeHistoryEntry(request: serviceRequests.GetDbSystemUpgradeHistoryEntryRequest, ...targetStates: models.DbSystemUpgradeHistoryEntry.LifecycleState[]): Promise<serviceResponses.GetDbSystemUpgradeHistoryEntryResponse>;
|
|
1788
|
+
/**
|
|
1789
|
+
* Waits forDbnodeSnapshot till it reaches any of the provided states
|
|
1790
|
+
*
|
|
1791
|
+
* @param request the request to send
|
|
1792
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
1793
|
+
* @return response returns GetDbnodeSnapshotResponse | null (null in case of 404 response)
|
|
1794
|
+
*/
|
|
1795
|
+
forDbnodeSnapshot(request: serviceRequests.GetDbnodeSnapshotRequest, ...targetStates: models.DbnodeSnapshot.LifecycleState[]): Promise<serviceResponses.GetDbnodeSnapshotResponse | null>;
|
|
1768
1796
|
/**
|
|
1769
1797
|
* Waits forExadataInfrastructure till it reaches any of the provided states
|
|
1770
1798
|
*
|
|
@@ -2063,6 +2091,16 @@ export declare class DatabaseWaiter {
|
|
|
2063
2091
|
response: serviceResponses.ModifyPluggableDatabaseManagementResponse;
|
|
2064
2092
|
workRequestResponse: responses.GetWorkRequestResponse;
|
|
2065
2093
|
}>;
|
|
2094
|
+
/**
|
|
2095
|
+
* Waits forMountDbnodeSnapshot
|
|
2096
|
+
*
|
|
2097
|
+
* @param request the request to send
|
|
2098
|
+
* @return response returns MountDbnodeSnapshotResponse, GetWorkRequestResponse tuple
|
|
2099
|
+
*/
|
|
2100
|
+
forMountDbnodeSnapshot(request: serviceRequests.MountDbnodeSnapshotRequest): Promise<{
|
|
2101
|
+
response: serviceResponses.MountDbnodeSnapshotResponse;
|
|
2102
|
+
workRequestResponse: responses.GetWorkRequestResponse;
|
|
2103
|
+
}>;
|
|
2066
2104
|
/**
|
|
2067
2105
|
* Waits forMoveExecutionActionMember
|
|
2068
2106
|
*
|
|
@@ -2513,6 +2551,16 @@ export declare class DatabaseWaiter {
|
|
|
2513
2551
|
response: serviceResponses.TerminateDbSystemResponse;
|
|
2514
2552
|
workRequestResponse: responses.GetWorkRequestResponse;
|
|
2515
2553
|
}>;
|
|
2554
|
+
/**
|
|
2555
|
+
* Waits forUnmountDbnodeSnapshot
|
|
2556
|
+
*
|
|
2557
|
+
* @param request the request to send
|
|
2558
|
+
* @return response returns UnmountDbnodeSnapshotResponse, GetWorkRequestResponse tuple
|
|
2559
|
+
*/
|
|
2560
|
+
forUnmountDbnodeSnapshot(request: serviceRequests.UnmountDbnodeSnapshotRequest): Promise<{
|
|
2561
|
+
response: serviceResponses.UnmountDbnodeSnapshotResponse;
|
|
2562
|
+
workRequestResponse: responses.GetWorkRequestResponse;
|
|
2563
|
+
}>;
|
|
2516
2564
|
/**
|
|
2517
2565
|
* Waits forUnregisterCloudVmClusterPkcs
|
|
2518
2566
|
*
|
package/lib/database-waiter.js
CHANGED
|
@@ -72,6 +72,27 @@ class DatabaseWaiter {
|
|
|
72
72
|
};
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Waits forAddDbnodeSnapshotsForExadbVmCluster
|
|
77
|
+
*
|
|
78
|
+
* @param request the request to send
|
|
79
|
+
* @return response returns AddDbnodeSnapshotsForExadbVmClusterResponse, GetWorkRequestResponse tuple
|
|
80
|
+
*/
|
|
81
|
+
forAddDbnodeSnapshotsForExadbVmCluster(request) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
const addDbnodeSnapshotsForExadbVmClusterResponse = yield this.client.addDbnodeSnapshotsForExadbVmCluster(request);
|
|
84
|
+
if (addDbnodeSnapshotsForExadbVmClusterResponse.opcWorkRequestId === undefined)
|
|
85
|
+
return {
|
|
86
|
+
response: addDbnodeSnapshotsForExadbVmClusterResponse,
|
|
87
|
+
workRequestResponse: undefined
|
|
88
|
+
};
|
|
89
|
+
const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, addDbnodeSnapshotsForExadbVmClusterResponse.opcWorkRequestId);
|
|
90
|
+
return {
|
|
91
|
+
response: addDbnodeSnapshotsForExadbVmClusterResponse,
|
|
92
|
+
workRequestResponse: getWorkRequestResponse
|
|
93
|
+
};
|
|
94
|
+
});
|
|
95
|
+
}
|
|
75
96
|
/**
|
|
76
97
|
* Waits forAddStandbyAutonomousContainerDatabase
|
|
77
98
|
*
|
|
@@ -2076,6 +2097,21 @@ class DatabaseWaiter {
|
|
|
2076
2097
|
return { response: deleteDbHomeResponse, workRequestResponse: getWorkRequestResponse };
|
|
2077
2098
|
});
|
|
2078
2099
|
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Waits forDeleteDbnodeSnapshot
|
|
2102
|
+
*
|
|
2103
|
+
* @param request the request to send
|
|
2104
|
+
* @return response returns DeleteDbnodeSnapshotResponse, GetWorkRequestResponse tuple
|
|
2105
|
+
*/
|
|
2106
|
+
forDeleteDbnodeSnapshot(request) {
|
|
2107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2108
|
+
const deleteDbnodeSnapshotResponse = yield this.client.deleteDbnodeSnapshot(request);
|
|
2109
|
+
if (deleteDbnodeSnapshotResponse.opcWorkRequestId === undefined)
|
|
2110
|
+
return { response: deleteDbnodeSnapshotResponse, workRequestResponse: undefined };
|
|
2111
|
+
const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, deleteDbnodeSnapshotResponse.opcWorkRequestId);
|
|
2112
|
+
return { response: deleteDbnodeSnapshotResponse, workRequestResponse: getWorkRequestResponse };
|
|
2113
|
+
});
|
|
2114
|
+
}
|
|
2079
2115
|
/**
|
|
2080
2116
|
* Waits forDeleteExadataInfrastructure
|
|
2081
2117
|
*
|
|
@@ -3324,6 +3360,18 @@ class DatabaseWaiter {
|
|
|
3324
3360
|
return oci_common_1.genericWaiter(this.config, () => this.client.getDbSystemUpgradeHistoryEntry(request), response => targetStates.includes(response.dbSystemUpgradeHistoryEntry.lifecycleState));
|
|
3325
3361
|
});
|
|
3326
3362
|
}
|
|
3363
|
+
/**
|
|
3364
|
+
* Waits forDbnodeSnapshot till it reaches any of the provided states
|
|
3365
|
+
*
|
|
3366
|
+
* @param request the request to send
|
|
3367
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
3368
|
+
* @return response returns GetDbnodeSnapshotResponse | null (null in case of 404 response)
|
|
3369
|
+
*/
|
|
3370
|
+
forDbnodeSnapshot(request, ...targetStates) {
|
|
3371
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3372
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getDbnodeSnapshot(request), response => targetStates.includes(response.dbnodeSnapshot.lifecycleState), targetStates.includes(models.DbnodeSnapshot.LifecycleState.Terminated));
|
|
3373
|
+
});
|
|
3374
|
+
}
|
|
3327
3375
|
/**
|
|
3328
3376
|
* Waits forExadataInfrastructure till it reaches any of the provided states
|
|
3329
3377
|
*
|
|
@@ -3810,6 +3858,21 @@ class DatabaseWaiter {
|
|
|
3810
3858
|
};
|
|
3811
3859
|
});
|
|
3812
3860
|
}
|
|
3861
|
+
/**
|
|
3862
|
+
* Waits forMountDbnodeSnapshot
|
|
3863
|
+
*
|
|
3864
|
+
* @param request the request to send
|
|
3865
|
+
* @return response returns MountDbnodeSnapshotResponse, GetWorkRequestResponse tuple
|
|
3866
|
+
*/
|
|
3867
|
+
forMountDbnodeSnapshot(request) {
|
|
3868
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3869
|
+
const mountDbnodeSnapshotResponse = yield this.client.mountDbnodeSnapshot(request);
|
|
3870
|
+
if (mountDbnodeSnapshotResponse.opcWorkRequestId === undefined)
|
|
3871
|
+
return { response: mountDbnodeSnapshotResponse, workRequestResponse: undefined };
|
|
3872
|
+
const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, mountDbnodeSnapshotResponse.opcWorkRequestId);
|
|
3873
|
+
return { response: mountDbnodeSnapshotResponse, workRequestResponse: getWorkRequestResponse };
|
|
3874
|
+
});
|
|
3875
|
+
}
|
|
3813
3876
|
/**
|
|
3814
3877
|
* Waits forMoveExecutionActionMember
|
|
3815
3878
|
*
|
|
@@ -4664,6 +4727,21 @@ class DatabaseWaiter {
|
|
|
4664
4727
|
return { response: terminateDbSystemResponse, workRequestResponse: getWorkRequestResponse };
|
|
4665
4728
|
});
|
|
4666
4729
|
}
|
|
4730
|
+
/**
|
|
4731
|
+
* Waits forUnmountDbnodeSnapshot
|
|
4732
|
+
*
|
|
4733
|
+
* @param request the request to send
|
|
4734
|
+
* @return response returns UnmountDbnodeSnapshotResponse, GetWorkRequestResponse tuple
|
|
4735
|
+
*/
|
|
4736
|
+
forUnmountDbnodeSnapshot(request) {
|
|
4737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4738
|
+
const unmountDbnodeSnapshotResponse = yield this.client.unmountDbnodeSnapshot(request);
|
|
4739
|
+
if (unmountDbnodeSnapshotResponse.opcWorkRequestId === undefined)
|
|
4740
|
+
return { response: unmountDbnodeSnapshotResponse, workRequestResponse: undefined };
|
|
4741
|
+
const getWorkRequestResponse = yield oci_workrequests_1.waitForWorkRequest(this.config, this.workRequestClient, unmountDbnodeSnapshotResponse.opcWorkRequestId);
|
|
4742
|
+
return { response: unmountDbnodeSnapshotResponse, workRequestResponse: getWorkRequestResponse };
|
|
4743
|
+
});
|
|
4744
|
+
}
|
|
4667
4745
|
/**
|
|
4668
4746
|
* Waits forUnregisterCloudVmClusterPkcs
|
|
4669
4747
|
*
|