oci-psql 2.102.2 → 2.104.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/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +43 -34
- package/lib/client.js +97 -34
- package/lib/client.js.map +1 -1
- package/lib/model/action-type.d.ts +1 -1
- package/lib/model/action-type.js +1 -1
- package/lib/model/backup-collection.d.ts +1 -1
- package/lib/model/backup-collection.js +1 -1
- package/lib/model/backup-copy-details.d.ts +35 -0
- package/lib/model/backup-copy-details.js +31 -0
- package/lib/model/backup-copy-details.js.map +1 -0
- package/lib/model/backup-copy-policy.d.ts +35 -0
- package/lib/model/backup-copy-policy.js +31 -0
- package/lib/model/backup-copy-policy.js.map +1 -0
- package/lib/model/backup-copy-status-details.d.ts +50 -0
- package/lib/model/backup-copy-status-details.js +43 -0
- package/lib/model/backup-copy-status-details.js.map +1 -0
- package/lib/model/backup-policy.d.ts +3 -1
- package/lib/model/backup-policy.js +9 -3
- package/lib/model/backup-policy.js.map +1 -1
- package/lib/model/backup-source-details.d.ts +2 -2
- package/lib/model/backup-source-details.js +1 -1
- package/lib/model/backup-summary.d.ts +17 -3
- package/lib/model/backup-summary.js +35 -3
- package/lib/model/backup-summary.js.map +1 -1
- package/lib/model/backup.d.ts +20 -5
- package/lib/model/backup.js +18 -1
- package/lib/model/backup.js.map +1 -1
- package/lib/model/change-backup-compartment-details.d.ts +2 -2
- package/lib/model/change-backup-compartment-details.js +1 -1
- package/lib/model/change-configuration-compartment-details.d.ts +2 -2
- package/lib/model/change-configuration-compartment-details.js +1 -1
- package/lib/model/change-db-system-compartment-details.d.ts +2 -2
- package/lib/model/change-db-system-compartment-details.js +1 -1
- package/lib/model/config-overrides.d.ts +1 -1
- package/lib/model/config-overrides.js +1 -1
- package/lib/model/config-params.d.ts +1 -1
- package/lib/model/config-params.js +1 -1
- package/lib/model/configuration-collection.d.ts +1 -1
- package/lib/model/configuration-collection.js +1 -1
- package/lib/model/configuration-details.d.ts +1 -1
- package/lib/model/configuration-details.js +1 -1
- package/lib/model/configuration-summary.d.ts +3 -3
- package/lib/model/configuration-summary.js +1 -1
- package/lib/model/configuration.d.ts +3 -2
- package/lib/model/configuration.js +2 -1
- package/lib/model/configuration.js.map +1 -1
- package/lib/model/connection-details.d.ts +1 -1
- package/lib/model/connection-details.js +1 -1
- package/lib/model/create-backup-details.d.ts +2 -2
- package/lib/model/create-backup-details.js +1 -1
- package/lib/model/create-configuration-details.d.ts +2 -2
- package/lib/model/create-configuration-details.js +1 -1
- package/lib/model/create-db-instance-details.d.ts +1 -1
- package/lib/model/create-db-instance-details.js +1 -1
- package/lib/model/create-db-system-details.d.ts +3 -3
- package/lib/model/create-db-system-details.js +1 -1
- package/lib/model/credentials.d.ts +1 -1
- package/lib/model/credentials.js +1 -1
- package/lib/model/daily-backup-policy.d.ts +1 -1
- package/lib/model/daily-backup-policy.js +1 -1
- package/lib/model/db-configuration-override-collection.d.ts +1 -1
- package/lib/model/db-configuration-override-collection.js +1 -1
- package/lib/model/db-instance-endpoint.d.ts +1 -1
- package/lib/model/db-instance-endpoint.js +1 -1
- package/lib/model/db-instance.d.ts +1 -1
- package/lib/model/db-instance.js +1 -1
- package/lib/model/db-system-collection.d.ts +1 -1
- package/lib/model/db-system-collection.js +1 -1
- package/lib/model/db-system-details.d.ts +5 -1
- package/lib/model/db-system-details.js +1 -1
- package/lib/model/db-system-details.js.map +1 -1
- package/lib/model/db-system-summary.d.ts +3 -3
- package/lib/model/db-system-summary.js +1 -1
- package/lib/model/db-system.d.ts +3 -3
- package/lib/model/db-system.js +1 -1
- package/lib/model/default-config-params.d.ts +1 -1
- package/lib/model/default-config-params.js +1 -1
- package/lib/model/default-configuration-collection.d.ts +1 -1
- package/lib/model/default-configuration-collection.js +1 -1
- package/lib/model/default-configuration-details.d.ts +1 -1
- package/lib/model/default-configuration-details.js +1 -1
- package/lib/model/default-configuration-summary.d.ts +1 -1
- package/lib/model/default-configuration-summary.js +1 -1
- package/lib/model/default-configuration.d.ts +1 -1
- package/lib/model/default-configuration.js +1 -1
- package/lib/model/endpoint.d.ts +1 -1
- package/lib/model/endpoint.js +1 -1
- package/lib/model/failover-db-system-details.d.ts +2 -2
- package/lib/model/failover-db-system-details.js +1 -1
- package/lib/model/index.d.ts +9 -1
- package/lib/model/index.js +11 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/management-policy-details.d.ts +1 -1
- package/lib/model/management-policy-details.js +1 -1
- package/lib/model/management-policy.d.ts +1 -1
- package/lib/model/management-policy.js +1 -1
- package/lib/model/monthly-backup-policy.d.ts +1 -1
- package/lib/model/monthly-backup-policy.js +1 -1
- package/lib/model/network-details.d.ts +3 -3
- package/lib/model/network-details.js +1 -1
- package/lib/model/none-backup-policy.d.ts +1 -1
- package/lib/model/none-backup-policy.js +1 -1
- package/lib/model/none-source-details.d.ts +1 -1
- package/lib/model/none-source-details.js +1 -1
- package/lib/model/oci-optimized-storage-details.d.ts +1 -1
- package/lib/model/oci-optimized-storage-details.js +1 -1
- package/lib/model/operation-status.d.ts +1 -1
- package/lib/model/operation-status.js +1 -1
- package/lib/model/operation-type.d.ts +1 -1
- package/lib/model/operation-type.js +1 -1
- package/lib/model/password-details.d.ts +1 -1
- package/lib/model/password-details.js +1 -1
- package/lib/model/patch-db-system-details.d.ts +1 -1
- package/lib/model/patch-db-system-details.js +1 -1
- package/lib/model/patch-insert-instruction.d.ts +1 -1
- package/lib/model/patch-insert-instruction.js +1 -1
- package/lib/model/patch-instruction.d.ts +1 -1
- package/lib/model/patch-instruction.js +1 -1
- package/lib/model/patch-merge-instruction.d.ts +1 -1
- package/lib/model/patch-merge-instruction.js +1 -1
- package/lib/model/patch-move-instruction.d.ts +1 -1
- package/lib/model/patch-move-instruction.js +1 -1
- package/lib/model/patch-prohibit-instruction.d.ts +1 -1
- package/lib/model/patch-prohibit-instruction.js +1 -1
- package/lib/model/patch-remove-instruction.d.ts +1 -1
- package/lib/model/patch-remove-instruction.js +1 -1
- package/lib/model/patch-replace-instruction.d.ts +1 -1
- package/lib/model/patch-replace-instruction.js +1 -1
- package/lib/model/patch-require-instruction.d.ts +1 -1
- package/lib/model/patch-require-instruction.js +1 -1
- package/lib/model/plain-text-password-details.d.ts +1 -1
- package/lib/model/plain-text-password-details.js +1 -1
- package/lib/model/primary-db-instance-details.d.ts +1 -1
- package/lib/model/primary-db-instance-details.js +1 -1
- package/lib/model/reset-master-user-password-details.d.ts +1 -1
- package/lib/model/reset-master-user-password-details.js +1 -1
- package/lib/model/restart-db-instance-in-db-system-details.d.ts +1 -1
- package/lib/model/restart-db-instance-in-db-system-details.js +1 -1
- package/lib/model/restore-db-system-details.d.ts +2 -2
- package/lib/model/restore-db-system-details.js +1 -1
- package/lib/model/shape-collection.d.ts +1 -1
- package/lib/model/shape-collection.js +1 -1
- package/lib/model/shape-memory-options.d.ts +1 -1
- package/lib/model/shape-memory-options.js +1 -1
- package/lib/model/shape-ocpu-options.d.ts +1 -1
- package/lib/model/shape-ocpu-options.js +1 -1
- package/lib/model/shape-summary.d.ts +1 -1
- package/lib/model/shape-summary.js +1 -1
- package/lib/model/sort-order.d.ts +1 -1
- package/lib/model/sort-order.js +1 -1
- package/lib/model/source-backup-details.d.ts +31 -0
- package/lib/model/source-backup-details.js +31 -0
- package/lib/model/source-backup-details.js.map +1 -0
- package/lib/model/source-details.d.ts +1 -1
- package/lib/model/source-details.js +1 -1
- package/lib/model/storage-details.d.ts +1 -1
- package/lib/model/storage-details.js +1 -1
- package/lib/model/update-backup-details.d.ts +1 -1
- package/lib/model/update-backup-details.js +1 -1
- package/lib/model/update-configuration-details.d.ts +1 -1
- package/lib/model/update-configuration-details.js +1 -1
- package/lib/model/update-db-config-params.d.ts +2 -2
- package/lib/model/update-db-config-params.js +1 -1
- package/lib/model/update-db-system-db-instance-details.d.ts +1 -1
- package/lib/model/update-db-system-db-instance-details.js +1 -1
- package/lib/model/update-db-system-details.d.ts +1 -1
- package/lib/model/update-db-system-details.js +1 -1
- package/lib/model/update-network-details.d.ts +2 -2
- package/lib/model/update-network-details.js +1 -1
- package/lib/model/update-storage-details-params.d.ts +1 -1
- package/lib/model/update-storage-details-params.js +1 -1
- package/lib/model/vault-secret-password-details.d.ts +2 -2
- package/lib/model/vault-secret-password-details.js +1 -1
- package/lib/model/weekly-backup-policy.d.ts +1 -1
- package/lib/model/weekly-backup-policy.js +1 -1
- package/lib/model/work-request-error-collection.d.ts +1 -1
- package/lib/model/work-request-error-collection.js +1 -1
- package/lib/model/work-request-error.d.ts +2 -2
- package/lib/model/work-request-error.js +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +1 -1
- package/lib/model/work-request-log-entry-collection.js +1 -1
- package/lib/model/work-request-log-entry.d.ts +1 -1
- package/lib/model/work-request-log-entry.js +1 -1
- package/lib/model/work-request-resource-metadata-key.d.ts +1 -1
- package/lib/model/work-request-resource-metadata-key.js +1 -1
- package/lib/model/work-request-resource.d.ts +1 -1
- package/lib/model/work-request-resource.js +1 -1
- package/lib/model/work-request-summary-collection.d.ts +1 -1
- package/lib/model/work-request-summary-collection.js +1 -1
- package/lib/model/work-request-summary.d.ts +2 -2
- package/lib/model/work-request-summary.js +1 -1
- package/lib/model/work-request.d.ts +2 -2
- package/lib/model/work-request.js +1 -1
- package/lib/postgresql-waiter.d.ts +1 -1
- package/lib/postgresql-waiter.js +1 -1
- package/lib/request/backup-copy-request.d.ts +45 -0
- package/lib/request/backup-copy-request.js +15 -0
- package/lib/request/backup-copy-request.js.map +1 -0
- package/lib/request/change-backup-compartment-request.d.ts +1 -1
- package/lib/request/change-configuration-compartment-request.d.ts +1 -1
- package/lib/request/change-db-system-compartment-request.d.ts +1 -1
- package/lib/request/create-backup-request.d.ts +1 -1
- package/lib/request/create-configuration-request.d.ts +1 -1
- package/lib/request/create-db-system-request.d.ts +1 -1
- package/lib/request/delete-backup-request.d.ts +1 -1
- package/lib/request/delete-configuration-request.d.ts +1 -1
- package/lib/request/delete-db-system-request.d.ts +1 -1
- package/lib/request/failover-db-system-request.d.ts +1 -1
- package/lib/request/get-backup-request.d.ts +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/get-connection-details-request.d.ts +1 -1
- package/lib/request/get-db-system-request.d.ts +1 -1
- package/lib/request/get-default-configuration-request.d.ts +1 -1
- package/lib/request/get-primary-db-instance-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +3 -1
- package/lib/request/index.js +1 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-backups-request.d.ts +1 -1
- package/lib/request/list-configurations-request.d.ts +5 -1
- package/lib/request/list-configurations-request.js.map +1 -1
- package/lib/request/list-db-systems-request.d.ts +1 -1
- package/lib/request/list-default-configurations-request.d.ts +1 -1
- package/lib/request/list-shapes-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/patch-db-system-request.d.ts +1 -1
- package/lib/request/reset-master-user-password-request.d.ts +1 -1
- package/lib/request/restart-db-instance-in-db-system-request.d.ts +1 -1
- package/lib/request/restore-db-system-request.d.ts +1 -1
- package/lib/request/update-backup-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/lib/request/update-db-system-db-instance-request.d.ts +1 -1
- package/lib/request/update-db-system-request.d.ts +1 -1
- package/lib/response/backup-copy-response.d.ts +25 -0
- package/lib/response/backup-copy-response.js +15 -0
- package/lib/response/backup-copy-response.js.map +1 -0
- package/lib/response/index.d.ts +3 -1
- package/lib/response/index.js +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* PGSQL Control Plane API
|
|
4
4
|
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
-
For information, see the user guide documentation for the [service](/iaas/Content/postgresql/home.htm).
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
6
|
|
|
7
7
|
* OpenAPI spec version: 20220915
|
|
8
8
|
*
|
|
@@ -209,13 +209,75 @@ class PostgresqlClient {
|
|
|
209
209
|
this.shutdownCircuitBreaker();
|
|
210
210
|
this.closeProvider();
|
|
211
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Backup Copy Request to copy back up in remote region. When provided, If-Match is checked against ETag values of the resource.
|
|
214
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
215
|
+
* @param BackupCopyRequest
|
|
216
|
+
* @return BackupCopyResponse
|
|
217
|
+
* @throws OciError when an error occurs
|
|
218
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/BackupCopy.ts.html |here} to see how to use BackupCopy API.
|
|
219
|
+
*/
|
|
220
|
+
backupCopy(backupCopyRequest) {
|
|
221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
+
if (this.logger)
|
|
223
|
+
this.logger.debug("Calling operation PostgresqlClient#backupCopy.");
|
|
224
|
+
const operationName = "backupCopy";
|
|
225
|
+
const apiReferenceLink = "";
|
|
226
|
+
const pathParams = {
|
|
227
|
+
"{backupId}": backupCopyRequest.backupId
|
|
228
|
+
};
|
|
229
|
+
const queryParams = {};
|
|
230
|
+
let headerParams = {
|
|
231
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
232
|
+
"opc-request-id": backupCopyRequest.opcRequestId,
|
|
233
|
+
"if-match": backupCopyRequest.ifMatch,
|
|
234
|
+
"opc-retry-token": backupCopyRequest.opcRetryToken
|
|
235
|
+
};
|
|
236
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
237
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, backupCopyRequest.retryConfiguration, specRetryConfiguration);
|
|
238
|
+
if (this.logger)
|
|
239
|
+
retrier.logger = this.logger;
|
|
240
|
+
const request = yield oci_common_1.composeRequest({
|
|
241
|
+
baseEndpoint: this._endpoint,
|
|
242
|
+
defaultHeaders: this._defaultHeaders,
|
|
243
|
+
path: "/backups/{backupId}/actions/copy",
|
|
244
|
+
method: "POST",
|
|
245
|
+
bodyContent: common.ObjectSerializer.serialize(backupCopyRequest.backupCopyDetails, "BackupCopyDetails", model.BackupCopyDetails.getJsonObj),
|
|
246
|
+
pathParams: pathParams,
|
|
247
|
+
headerParams: headerParams,
|
|
248
|
+
queryParams: queryParams
|
|
249
|
+
});
|
|
250
|
+
try {
|
|
251
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
252
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
253
|
+
responseObject: {},
|
|
254
|
+
responseHeaders: [
|
|
255
|
+
{
|
|
256
|
+
value: response.headers.get("opc-work-request-id"),
|
|
257
|
+
key: "opcWorkRequestId",
|
|
258
|
+
dataType: "string"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
value: response.headers.get("opc-request-id"),
|
|
262
|
+
key: "opcRequestId",
|
|
263
|
+
dataType: "string"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
});
|
|
267
|
+
return sdkResponse;
|
|
268
|
+
}
|
|
269
|
+
catch (err) {
|
|
270
|
+
throw err;
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
}
|
|
212
274
|
/**
|
|
213
275
|
* Moves a backup from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
|
|
214
276
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
215
277
|
* @param ChangeBackupCompartmentRequest
|
|
216
278
|
* @return ChangeBackupCompartmentResponse
|
|
217
279
|
* @throws OciError when an error occurs
|
|
218
|
-
* @example Click {@link https://docs.
|
|
280
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
219
281
|
*/
|
|
220
282
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
221
283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -277,7 +339,7 @@ class PostgresqlClient {
|
|
|
277
339
|
* @param ChangeConfigurationCompartmentRequest
|
|
278
340
|
* @return ChangeConfigurationCompartmentResponse
|
|
279
341
|
* @throws OciError when an error occurs
|
|
280
|
-
* @example Click {@link https://docs.
|
|
342
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ChangeConfigurationCompartment.ts.html |here} to see how to use ChangeConfigurationCompartment API.
|
|
281
343
|
*/
|
|
282
344
|
changeConfigurationCompartment(changeConfigurationCompartmentRequest) {
|
|
283
345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -334,7 +396,7 @@ class PostgresqlClient {
|
|
|
334
396
|
* @param ChangeDbSystemCompartmentRequest
|
|
335
397
|
* @return ChangeDbSystemCompartmentResponse
|
|
336
398
|
* @throws OciError when an error occurs
|
|
337
|
-
* @example Click {@link https://docs.
|
|
399
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ChangeDbSystemCompartment.ts.html |here} to see how to use ChangeDbSystemCompartment API.
|
|
338
400
|
*/
|
|
339
401
|
changeDbSystemCompartment(changeDbSystemCompartmentRequest) {
|
|
340
402
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -397,7 +459,7 @@ class PostgresqlClient {
|
|
|
397
459
|
* @param CreateBackupRequest
|
|
398
460
|
* @return CreateBackupResponse
|
|
399
461
|
* @throws OciError when an error occurs
|
|
400
|
-
* @example Click {@link https://docs.
|
|
462
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
401
463
|
*/
|
|
402
464
|
createBackup(createBackupRequest) {
|
|
403
465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -457,7 +519,7 @@ class PostgresqlClient {
|
|
|
457
519
|
* @param CreateConfigurationRequest
|
|
458
520
|
* @return CreateConfigurationResponse
|
|
459
521
|
* @throws OciError when an error occurs
|
|
460
|
-
* @example Click {@link https://docs.
|
|
522
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
461
523
|
*/
|
|
462
524
|
createConfiguration(createConfigurationRequest) {
|
|
463
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -521,7 +583,7 @@ class PostgresqlClient {
|
|
|
521
583
|
* @param CreateDbSystemRequest
|
|
522
584
|
* @return CreateDbSystemResponse
|
|
523
585
|
* @throws OciError when an error occurs
|
|
524
|
-
* @example Click {@link https://docs.
|
|
586
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
525
587
|
*/
|
|
526
588
|
createDbSystem(createDbSystemRequest) {
|
|
527
589
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -589,7 +651,7 @@ class PostgresqlClient {
|
|
|
589
651
|
* @param DeleteBackupRequest
|
|
590
652
|
* @return DeleteBackupResponse
|
|
591
653
|
* @throws OciError when an error occurs
|
|
592
|
-
* @example Click {@link https://docs.
|
|
654
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
593
655
|
*/
|
|
594
656
|
deleteBackup(deleteBackupRequest) {
|
|
595
657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -649,7 +711,7 @@ class PostgresqlClient {
|
|
|
649
711
|
* @param DeleteConfigurationRequest
|
|
650
712
|
* @return DeleteConfigurationResponse
|
|
651
713
|
* @throws OciError when an error occurs
|
|
652
|
-
* @example Click {@link https://docs.
|
|
714
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
653
715
|
*/
|
|
654
716
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
655
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -704,7 +766,7 @@ class PostgresqlClient {
|
|
|
704
766
|
* @param DeleteDbSystemRequest
|
|
705
767
|
* @return DeleteDbSystemResponse
|
|
706
768
|
* @throws OciError when an error occurs
|
|
707
|
-
* @example Click {@link https://docs.
|
|
769
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
708
770
|
*/
|
|
709
771
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
710
772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -764,7 +826,7 @@ class PostgresqlClient {
|
|
|
764
826
|
* @param FailoverDbSystemRequest
|
|
765
827
|
* @return FailoverDbSystemResponse
|
|
766
828
|
* @throws OciError when an error occurs
|
|
767
|
-
* @example Click {@link https://docs.
|
|
829
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/FailoverDbSystem.ts.html |here} to see how to use FailoverDbSystem API.
|
|
768
830
|
*/
|
|
769
831
|
failoverDbSystem(failoverDbSystemRequest) {
|
|
770
832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -826,7 +888,7 @@ class PostgresqlClient {
|
|
|
826
888
|
* @param GetBackupRequest
|
|
827
889
|
* @return GetBackupResponse
|
|
828
890
|
* @throws OciError when an error occurs
|
|
829
|
-
* @example Click {@link https://docs.
|
|
891
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
830
892
|
*/
|
|
831
893
|
getBackup(getBackupRequest) {
|
|
832
894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -889,7 +951,7 @@ class PostgresqlClient {
|
|
|
889
951
|
* @param GetConfigurationRequest
|
|
890
952
|
* @return GetConfigurationResponse
|
|
891
953
|
* @throws OciError when an error occurs
|
|
892
|
-
* @example Click {@link https://docs.
|
|
954
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
893
955
|
*/
|
|
894
956
|
getConfiguration(getConfigurationRequest) {
|
|
895
957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -952,7 +1014,7 @@ class PostgresqlClient {
|
|
|
952
1014
|
* @param GetConnectionDetailsRequest
|
|
953
1015
|
* @return GetConnectionDetailsResponse
|
|
954
1016
|
* @throws OciError when an error occurs
|
|
955
|
-
* @example Click {@link https://docs.
|
|
1017
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetConnectionDetails.ts.html |here} to see how to use GetConnectionDetails API.
|
|
956
1018
|
*/
|
|
957
1019
|
getConnectionDetails(getConnectionDetailsRequest) {
|
|
958
1020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1015,7 +1077,7 @@ class PostgresqlClient {
|
|
|
1015
1077
|
* @param GetDbSystemRequest
|
|
1016
1078
|
* @return GetDbSystemResponse
|
|
1017
1079
|
* @throws OciError when an error occurs
|
|
1018
|
-
* @example Click {@link https://docs.
|
|
1080
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1019
1081
|
*/
|
|
1020
1082
|
getDbSystem(getDbSystemRequest) {
|
|
1021
1083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1080,7 +1142,7 @@ class PostgresqlClient {
|
|
|
1080
1142
|
* @param GetDefaultConfigurationRequest
|
|
1081
1143
|
* @return GetDefaultConfigurationResponse
|
|
1082
1144
|
* @throws OciError when an error occurs
|
|
1083
|
-
* @example Click {@link https://docs.
|
|
1145
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetDefaultConfiguration.ts.html |here} to see how to use GetDefaultConfiguration API.
|
|
1084
1146
|
*/
|
|
1085
1147
|
getDefaultConfiguration(getDefaultConfigurationRequest) {
|
|
1086
1148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1143,7 +1205,7 @@ class PostgresqlClient {
|
|
|
1143
1205
|
* @param GetPrimaryDbInstanceRequest
|
|
1144
1206
|
* @return GetPrimaryDbInstanceResponse
|
|
1145
1207
|
* @throws OciError when an error occurs
|
|
1146
|
-
* @example Click {@link https://docs.
|
|
1208
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetPrimaryDbInstance.ts.html |here} to see how to use GetPrimaryDbInstance API.
|
|
1147
1209
|
*/
|
|
1148
1210
|
getPrimaryDbInstance(getPrimaryDbInstanceRequest) {
|
|
1149
1211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1206,7 +1268,7 @@ class PostgresqlClient {
|
|
|
1206
1268
|
* @param GetWorkRequestRequest
|
|
1207
1269
|
* @return GetWorkRequestResponse
|
|
1208
1270
|
* @throws OciError when an error occurs
|
|
1209
|
-
* @example Click {@link https://docs.
|
|
1271
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1210
1272
|
*/
|
|
1211
1273
|
getWorkRequest(getWorkRequestRequest) {
|
|
1212
1274
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1275,7 +1337,7 @@ class PostgresqlClient {
|
|
|
1275
1337
|
* @param ListBackupsRequest
|
|
1276
1338
|
* @return ListBackupsResponse
|
|
1277
1339
|
* @throws OciError when an error occurs
|
|
1278
|
-
* @example Click {@link https://docs.
|
|
1340
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1279
1341
|
*/
|
|
1280
1342
|
listBackups(listBackupsRequest) {
|
|
1281
1343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1349,7 +1411,7 @@ class PostgresqlClient {
|
|
|
1349
1411
|
* @param ListConfigurationsRequest
|
|
1350
1412
|
* @return ListConfigurationsResponse
|
|
1351
1413
|
* @throws OciError when an error occurs
|
|
1352
|
-
* @example Click {@link https://docs.
|
|
1414
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
1353
1415
|
*/
|
|
1354
1416
|
listConfigurations(listConfigurationsRequest) {
|
|
1355
1417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1361,6 +1423,7 @@ class PostgresqlClient {
|
|
|
1361
1423
|
const queryParams = {
|
|
1362
1424
|
"compartmentId": listConfigurationsRequest.compartmentId,
|
|
1363
1425
|
"lifecycleState": listConfigurationsRequest.lifecycleState,
|
|
1426
|
+
"configType": listConfigurationsRequest.configType,
|
|
1364
1427
|
"displayName": listConfigurationsRequest.displayName,
|
|
1365
1428
|
"dbVersion": listConfigurationsRequest.dbVersion,
|
|
1366
1429
|
"shape": listConfigurationsRequest.shape,
|
|
@@ -1422,7 +1485,7 @@ class PostgresqlClient {
|
|
|
1422
1485
|
* @param ListDbSystemsRequest
|
|
1423
1486
|
* @return ListDbSystemsResponse
|
|
1424
1487
|
* @throws OciError when an error occurs
|
|
1425
|
-
* @example Click {@link https://docs.
|
|
1488
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1426
1489
|
*/
|
|
1427
1490
|
listDbSystems(listDbSystemsRequest) {
|
|
1428
1491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1493,7 +1556,7 @@ class PostgresqlClient {
|
|
|
1493
1556
|
* @param ListDefaultConfigurationsRequest
|
|
1494
1557
|
* @return ListDefaultConfigurationsResponse
|
|
1495
1558
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @example Click {@link https://docs.
|
|
1559
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListDefaultConfigurations.ts.html |here} to see how to use ListDefaultConfigurations API.
|
|
1497
1560
|
*/
|
|
1498
1561
|
listDefaultConfigurations(listDefaultConfigurationsRequest) {
|
|
1499
1562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1564,7 +1627,7 @@ class PostgresqlClient {
|
|
|
1564
1627
|
* @param ListShapesRequest
|
|
1565
1628
|
* @return ListShapesResponse
|
|
1566
1629
|
* @throws OciError when an error occurs
|
|
1567
|
-
* @example Click {@link https://docs.
|
|
1630
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
1568
1631
|
*/
|
|
1569
1632
|
listShapes(listShapesRequest) {
|
|
1570
1633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1633,7 +1696,7 @@ class PostgresqlClient {
|
|
|
1633
1696
|
* @param ListWorkRequestErrorsRequest
|
|
1634
1697
|
* @return ListWorkRequestErrorsResponse
|
|
1635
1698
|
* @throws OciError when an error occurs
|
|
1636
|
-
* @example Click {@link https://docs.
|
|
1699
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1637
1700
|
*/
|
|
1638
1701
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1639
1702
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1702,7 +1765,7 @@ class PostgresqlClient {
|
|
|
1702
1765
|
* @param ListWorkRequestLogsRequest
|
|
1703
1766
|
* @return ListWorkRequestLogsResponse
|
|
1704
1767
|
* @throws OciError when an error occurs
|
|
1705
|
-
* @example Click {@link https://docs.
|
|
1768
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1706
1769
|
*/
|
|
1707
1770
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1708
1771
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1771,7 +1834,7 @@ class PostgresqlClient {
|
|
|
1771
1834
|
* @param ListWorkRequestsRequest
|
|
1772
1835
|
* @return ListWorkRequestsResponse
|
|
1773
1836
|
* @throws OciError when an error occurs
|
|
1774
|
-
* @example Click {@link https://docs.
|
|
1837
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1775
1838
|
*/
|
|
1776
1839
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1777
1840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1841,7 +1904,7 @@ class PostgresqlClient {
|
|
|
1841
1904
|
* @param PatchDbSystemRequest
|
|
1842
1905
|
* @return PatchDbSystemResponse
|
|
1843
1906
|
* @throws OciError when an error occurs
|
|
1844
|
-
* @example Click {@link https://docs.
|
|
1907
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/PatchDbSystem.ts.html |here} to see how to use PatchDbSystem API.
|
|
1845
1908
|
*/
|
|
1846
1909
|
patchDbSystem(patchDbSystemRequest) {
|
|
1847
1910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1902,7 +1965,7 @@ class PostgresqlClient {
|
|
|
1902
1965
|
* @param ResetMasterUserPasswordRequest
|
|
1903
1966
|
* @return ResetMasterUserPasswordResponse
|
|
1904
1967
|
* @throws OciError when an error occurs
|
|
1905
|
-
* @example Click {@link https://docs.
|
|
1968
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/ResetMasterUserPassword.ts.html |here} to see how to use ResetMasterUserPassword API.
|
|
1906
1969
|
*/
|
|
1907
1970
|
resetMasterUserPassword(resetMasterUserPasswordRequest) {
|
|
1908
1971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1964,7 +2027,7 @@ class PostgresqlClient {
|
|
|
1964
2027
|
* @param RestartDbInstanceInDbSystemRequest
|
|
1965
2028
|
* @return RestartDbInstanceInDbSystemResponse
|
|
1966
2029
|
* @throws OciError when an error occurs
|
|
1967
|
-
* @example Click {@link https://docs.
|
|
2030
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/RestartDbInstanceInDbSystem.ts.html |here} to see how to use RestartDbInstanceInDbSystem API.
|
|
1968
2031
|
*/
|
|
1969
2032
|
restartDbInstanceInDbSystem(restartDbInstanceInDbSystemRequest) {
|
|
1970
2033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2026,7 +2089,7 @@ class PostgresqlClient {
|
|
|
2026
2089
|
* @param RestoreDbSystemRequest
|
|
2027
2090
|
* @return RestoreDbSystemResponse
|
|
2028
2091
|
* @throws OciError when an error occurs
|
|
2029
|
-
* @example Click {@link https://docs.
|
|
2092
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/RestoreDbSystem.ts.html |here} to see how to use RestoreDbSystem API.
|
|
2030
2093
|
*/
|
|
2031
2094
|
restoreDbSystem(restoreDbSystemRequest) {
|
|
2032
2095
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2088,7 +2151,7 @@ class PostgresqlClient {
|
|
|
2088
2151
|
* @param UpdateBackupRequest
|
|
2089
2152
|
* @return UpdateBackupResponse
|
|
2090
2153
|
* @throws OciError when an error occurs
|
|
2091
|
-
* @example Click {@link https://docs.
|
|
2154
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
2092
2155
|
*/
|
|
2093
2156
|
updateBackup(updateBackupRequest) {
|
|
2094
2157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2154,7 +2217,7 @@ class PostgresqlClient {
|
|
|
2154
2217
|
* @param UpdateConfigurationRequest
|
|
2155
2218
|
* @return UpdateConfigurationResponse
|
|
2156
2219
|
* @throws OciError when an error occurs
|
|
2157
|
-
* @example Click {@link https://docs.
|
|
2220
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
2158
2221
|
*/
|
|
2159
2222
|
updateConfiguration(updateConfigurationRequest) {
|
|
2160
2223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2220,7 +2283,7 @@ class PostgresqlClient {
|
|
|
2220
2283
|
* @param UpdateDbSystemRequest
|
|
2221
2284
|
* @return UpdateDbSystemResponse
|
|
2222
2285
|
* @throws OciError when an error occurs
|
|
2223
|
-
* @example Click {@link https://docs.
|
|
2286
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2224
2287
|
*/
|
|
2225
2288
|
updateDbSystem(updateDbSystemRequest) {
|
|
2226
2289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2282,7 +2345,7 @@ class PostgresqlClient {
|
|
|
2282
2345
|
* @param UpdateDbSystemDbInstanceRequest
|
|
2283
2346
|
* @return UpdateDbSystemDbInstanceResponse
|
|
2284
2347
|
* @throws OciError when an error occurs
|
|
2285
|
-
* @example Click {@link https://docs.
|
|
2348
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psql/UpdateDbSystemDbInstance.ts.html |here} to see how to use UpdateDbSystemDbInstance API.
|
|
2286
2349
|
*/
|
|
2287
2350
|
updateDbSystemDbInstance(updateDbSystemDbInstanceRequest) {
|
|
2288
2351
|
return __awaiter(this, void 0, void 0, function* () {
|