oci-database 2.137.1 → 2.139.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 +236 -0
- package/lib/client.js +1201 -160
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +92 -0
- package/lib/database-waiter.js +156 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/auto-failover-configuration.d.ts +35 -0
- package/lib/model/auto-failover-configuration.js +35 -0
- package/lib/model/auto-failover-configuration.js.map +1 -0
- package/lib/model/autonomous-container-database-backup-summary.d.ts +11 -0
- package/lib/model/autonomous-container-database-backup-summary.js +6 -0
- package/lib/model/autonomous-container-database-backup-summary.js.map +1 -1
- package/lib/model/autonomous-container-database-backup.d.ts +29 -3
- package/lib/model/autonomous-container-database-backup.js +21 -0
- package/lib/model/autonomous-container-database-backup.js.map +1 -1
- package/lib/model/autonomous-database-in-backup-collection.d.ts +27 -0
- package/lib/model/autonomous-database-in-backup-collection.js +62 -0
- package/lib/model/autonomous-database-in-backup-collection.js.map +1 -0
- package/lib/model/autonomous-database-in-backup-summary.d.ts +63 -0
- package/lib/model/autonomous-database-in-backup-summary.js +60 -0
- package/lib/model/autonomous-database-in-backup-summary.js.map +1 -0
- package/lib/model/autonomous-database-in-backup.d.ts +33 -0
- package/lib/model/autonomous-database-in-backup.js +30 -0
- package/lib/model/autonomous-database-in-backup.js.map +1 -1
- package/lib/model/basecc-vm-cluster-summary.d.ts +227 -0
- package/lib/model/basecc-vm-cluster-summary.js +112 -0
- package/lib/model/basecc-vm-cluster-summary.js.map +1 -0
- package/lib/model/basecc-vm-cluster-update-details.d.ts +40 -0
- package/lib/model/basecc-vm-cluster-update-details.js +36 -0
- package/lib/model/basecc-vm-cluster-update-details.js.map +1 -0
- package/lib/model/basecc-vm-cluster-update-history-entry-summary.d.ts +89 -0
- package/lib/model/basecc-vm-cluster-update-history-entry-summary.js +62 -0
- package/lib/model/basecc-vm-cluster-update-history-entry-summary.js.map +1 -0
- package/lib/model/basecc-vm-cluster-update-history-entry.d.ts +89 -0
- package/lib/model/basecc-vm-cluster-update-history-entry.js +62 -0
- package/lib/model/basecc-vm-cluster-update-history-entry.js.map +1 -0
- package/lib/model/basecc-vm-cluster-update-summary.d.ts +104 -0
- package/lib/model/basecc-vm-cluster-update-summary.js +74 -0
- package/lib/model/basecc-vm-cluster-update-summary.js.map +1 -0
- package/lib/model/basecc-vm-cluster-update.d.ts +100 -0
- package/lib/model/basecc-vm-cluster-update.js +74 -0
- package/lib/model/basecc-vm-cluster-update.js.map +1 -0
- package/lib/model/basecc-vm-cluster.d.ts +227 -0
- package/lib/model/basecc-vm-cluster.js +112 -0
- package/lib/model/basecc-vm-cluster.js.map +1 -0
- package/lib/model/change-basecc-vm-cluster-compartment-details.d.ts +27 -0
- package/lib/model/change-basecc-vm-cluster-compartment-details.js +30 -0
- package/lib/model/change-basecc-vm-cluster-compartment-details.js.map +1 -0
- package/lib/model/cloud-vm-cluster-summary.d.ts +5 -0
- package/lib/model/cloud-vm-cluster-summary.js +6 -0
- package/lib/model/cloud-vm-cluster-summary.js.map +1 -1
- package/lib/model/cloud-vm-cluster.d.ts +5 -0
- package/lib/model/cloud-vm-cluster.js +6 -0
- package/lib/model/cloud-vm-cluster.js.map +1 -1
- package/lib/model/create-autonomous-container-database-base.js +4 -0
- package/lib/model/create-autonomous-container-database-base.js.map +1 -1
- package/lib/model/create-autonomous-container-database-from-backup-details.d.ts +23 -0
- package/lib/model/create-autonomous-container-database-from-backup-details.js +12 -0
- package/lib/model/create-autonomous-container-database-from-backup-details.js.map +1 -1
- package/lib/model/create-autonomous-container-database-from-backup-timestamp-details.d.ts +63 -0
- package/lib/model/create-autonomous-container-database-from-backup-timestamp-details.js +67 -0
- package/lib/model/create-autonomous-container-database-from-backup-timestamp-details.js.map +1 -0
- package/lib/model/create-basecc-vm-cluster-details.d.ts +143 -0
- package/lib/model/create-basecc-vm-cluster-details.js +82 -0
- package/lib/model/create-basecc-vm-cluster-details.js.map +1 -0
- package/lib/model/create-database-software-image-details.d.ts +2 -1
- package/lib/model/create-database-software-image-details.js +1 -0
- package/lib/model/create-database-software-image-details.js.map +1 -1
- package/lib/model/create-standby-details.d.ts +1 -0
- package/lib/model/create-standby-details.js +6 -0
- package/lib/model/create-standby-details.js.map +1 -1
- package/lib/model/data-guard-group-member.d.ts +24 -0
- package/lib/model/data-guard-group-member.js +12 -0
- package/lib/model/data-guard-group-member.js.map +1 -1
- package/lib/model/data-guard-group.d.ts +13 -0
- package/lib/model/data-guard-group.js +10 -0
- package/lib/model/data-guard-group.js.map +1 -1
- package/lib/model/database-software-image-summary.d.ts +1 -0
- package/lib/model/database-software-image-summary.js +1 -0
- package/lib/model/database-software-image-summary.js.map +1 -1
- package/lib/model/database-software-image.d.ts +1 -0
- package/lib/model/database-software-image.js +1 -0
- package/lib/model/database-software-image.js.map +1 -1
- package/lib/model/exadata-live-image-version-details.d.ts +50 -0
- package/lib/model/exadata-live-image-version-details.js +41 -0
- package/lib/model/exadata-live-image-version-details.js.map +1 -0
- package/lib/model/exadb-vm-cluster-summary.d.ts +19 -0
- package/lib/model/exadb-vm-cluster-summary.js +22 -0
- package/lib/model/exadb-vm-cluster-summary.js.map +1 -1
- package/lib/model/exadb-vm-cluster.d.ts +19 -0
- package/lib/model/exadb-vm-cluster.js +22 -0
- package/lib/model/exadb-vm-cluster.js.map +1 -1
- package/lib/model/index.d.ts +34 -0
- package/lib/model/index.js +46 -12
- package/lib/model/index.js.map +1 -1
- package/lib/model/register-exadb-vm-cluster-pkcs-details.d.ts +33 -0
- package/lib/model/register-exadb-vm-cluster-pkcs-details.js +37 -0
- package/lib/model/register-exadb-vm-cluster-pkcs-details.js.map +1 -0
- package/lib/model/unregister-exadb-vm-cluster-pkcs-details.d.ts +33 -0
- package/lib/model/unregister-exadb-vm-cluster-pkcs-details.js +37 -0
- package/lib/model/unregister-exadb-vm-cluster-pkcs-details.js.map +1 -0
- package/lib/model/update-basecc-vm-cluster-details.d.ts +88 -0
- package/lib/model/update-basecc-vm-cluster-details.js +75 -0
- package/lib/model/update-basecc-vm-cluster-details.js.map +1 -0
- package/lib/model/update-database-details.d.ts +44 -0
- package/lib/model/update-database-details.js +18 -0
- package/lib/model/update-database-details.js.map +1 -1
- package/lib/model/update-details.d.ts +11 -0
- package/lib/model/update-details.js +8 -0
- package/lib/model/update-details.js.map +1 -1
- package/lib/model/update-history-entry-summary.d.ts +18 -0
- package/lib/model/update-history-entry-summary.js +15 -0
- package/lib/model/update-history-entry-summary.js.map +1 -1
- package/lib/model/update-history-entry.d.ts +18 -0
- package/lib/model/update-history-entry.js +15 -0
- package/lib/model/update-history-entry.js.map +1 -1
- package/lib/model/update-summary.d.ts +36 -0
- package/lib/model/update-summary.js +26 -0
- package/lib/model/update-summary.js.map +1 -1
- package/lib/model/update.d.ts +36 -0
- package/lib/model/update.js +26 -0
- package/lib/model/update.js.map +1 -1
- package/lib/model/vm-cluster-summary.d.ts +5 -0
- package/lib/model/vm-cluster-summary.js +6 -0
- package/lib/model/vm-cluster-summary.js.map +1 -1
- package/lib/model/vm-cluster-update-details.d.ts +11 -0
- package/lib/model/vm-cluster-update-details.js +8 -0
- package/lib/model/vm-cluster-update-details.js.map +1 -1
- package/lib/model/vm-cluster-update-history-entry-summary.d.ts +18 -0
- package/lib/model/vm-cluster-update-history-entry-summary.js +15 -0
- package/lib/model/vm-cluster-update-history-entry-summary.js.map +1 -1
- package/lib/model/vm-cluster-update-history-entry.d.ts +18 -0
- package/lib/model/vm-cluster-update-history-entry.js +15 -0
- package/lib/model/vm-cluster-update-history-entry.js.map +1 -1
- package/lib/model/vm-cluster-update-summary.d.ts +36 -0
- package/lib/model/vm-cluster-update-summary.js +26 -0
- package/lib/model/vm-cluster-update-summary.js.map +1 -1
- package/lib/model/vm-cluster-update.d.ts +36 -0
- package/lib/model/vm-cluster-update.js +26 -0
- package/lib/model/vm-cluster-update.js.map +1 -1
- package/lib/model/vm-cluster.d.ts +5 -0
- package/lib/model/vm-cluster.js +6 -0
- package/lib/model/vm-cluster.js.map +1 -1
- package/lib/request/change-basecc-vm-cluster-compartment-request.d.ts +48 -0
- package/lib/request/change-basecc-vm-cluster-compartment-request.js +15 -0
- package/lib/request/change-basecc-vm-cluster-compartment-request.js.map +1 -0
- package/lib/request/create-autonomous-container-database-request.d.ts +1 -1
- package/lib/request/create-basecc-vm-cluster-request.d.ts +38 -0
- package/lib/request/create-basecc-vm-cluster-request.js +15 -0
- package/lib/request/create-basecc-vm-cluster-request.js.map +1 -0
- package/lib/request/delete-basecc-vm-cluster-request.d.ts +34 -0
- package/lib/request/delete-basecc-vm-cluster-request.js +15 -0
- package/lib/request/delete-basecc-vm-cluster-request.js.map +1 -0
- package/lib/request/get-autonomous-container-database-backup-request.d.ts +27 -0
- package/lib/request/get-autonomous-container-database-backup-request.js +15 -0
- package/lib/request/get-autonomous-container-database-backup-request.js.map +1 -0
- package/lib/request/get-basecc-vm-cluster-request.d.ts +27 -0
- package/lib/request/get-basecc-vm-cluster-request.js +15 -0
- package/lib/request/get-basecc-vm-cluster-request.js.map +1 -0
- package/lib/request/get-basecc-vm-cluster-update-history-entry-request.d.ts +31 -0
- package/lib/request/get-basecc-vm-cluster-update-history-entry-request.js +15 -0
- package/lib/request/get-basecc-vm-cluster-update-history-entry-request.js.map +1 -0
- package/lib/request/get-basecc-vm-cluster-update-request.d.ts +31 -0
- package/lib/request/get-basecc-vm-cluster-update-request.js +15 -0
- package/lib/request/get-basecc-vm-cluster-update-request.js.map +1 -0
- package/lib/request/index.d.ts +28 -0
- package/lib/request/index.js +8 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-autonomous-database-backups-request.d.ts +5 -0
- package/lib/request/list-autonomous-database-backups-request.js.map +1 -1
- package/lib/request/list-autonomous-databases-in-autonomous-container-database-backup-request.d.ts +43 -0
- package/lib/request/list-autonomous-databases-in-autonomous-container-database-backup-request.js +15 -0
- package/lib/request/list-autonomous-databases-in-autonomous-container-database-backup-request.js.map +1 -0
- package/lib/request/list-basecc-vm-cluster-update-history-entries-request.d.ts +50 -0
- package/lib/request/list-basecc-vm-cluster-update-history-entries-request.js +25 -0
- package/lib/request/list-basecc-vm-cluster-update-history-entries-request.js.map +1 -0
- package/lib/request/list-basecc-vm-cluster-updates-request.d.ts +50 -0
- package/lib/request/list-basecc-vm-cluster-updates-request.js +25 -0
- package/lib/request/list-basecc-vm-cluster-updates-request.js.map +1 -0
- package/lib/request/list-basecc-vm-clusters-request.d.ts +74 -0
- package/lib/request/list-basecc-vm-clusters-request.js +29 -0
- package/lib/request/list-basecc-vm-clusters-request.js.map +1 -0
- package/lib/request/list-databases-request.d.ts +18 -0
- package/lib/request/list-databases-request.js +12 -0
- package/lib/request/list-databases-request.js.map +1 -1
- package/lib/request/list-gi-version-minor-versions-request.d.ts +4 -0
- package/lib/request/list-gi-version-minor-versions-request.js.map +1 -1
- package/lib/request/register-exadb-vm-cluster-pkcs-request.d.ts +48 -0
- package/lib/request/register-exadb-vm-cluster-pkcs-request.js +15 -0
- package/lib/request/register-exadb-vm-cluster-pkcs-request.js.map +1 -0
- package/lib/request/unregister-exadb-vm-cluster-pkcs-request.d.ts +48 -0
- package/lib/request/unregister-exadb-vm-cluster-pkcs-request.js +15 -0
- package/lib/request/unregister-exadb-vm-cluster-pkcs-request.js.map +1 -0
- package/lib/request/update-basecc-vm-cluster-request.d.ts +39 -0
- package/lib/request/update-basecc-vm-cluster-request.js +15 -0
- package/lib/request/update-basecc-vm-cluster-request.js.map +1 -0
- package/lib/response/change-basecc-vm-cluster-compartment-response.d.ts +24 -0
- package/lib/response/change-basecc-vm-cluster-compartment-response.js +15 -0
- package/lib/response/change-basecc-vm-cluster-compartment-response.js.map +1 -0
- package/lib/response/create-basecc-vm-cluster-response.d.ts +34 -0
- package/lib/response/create-basecc-vm-cluster-response.js +15 -0
- package/lib/response/create-basecc-vm-cluster-response.js.map +1 -0
- package/lib/response/delete-basecc-vm-cluster-response.d.ts +25 -0
- package/lib/response/delete-basecc-vm-cluster-response.js +15 -0
- package/lib/response/delete-basecc-vm-cluster-response.js.map +1 -0
- package/lib/response/get-autonomous-container-database-backup-response.d.ts +25 -0
- package/lib/response/get-autonomous-container-database-backup-response.js +15 -0
- package/lib/response/get-autonomous-container-database-backup-response.js.map +1 -0
- package/lib/response/get-basecc-vm-cluster-response.d.ts +29 -0
- package/lib/response/get-basecc-vm-cluster-response.js +15 -0
- package/lib/response/get-basecc-vm-cluster-response.js.map +1 -0
- package/lib/response/get-basecc-vm-cluster-update-history-entry-response.d.ts +29 -0
- package/lib/response/get-basecc-vm-cluster-update-history-entry-response.js +15 -0
- package/lib/response/get-basecc-vm-cluster-update-history-entry-response.js.map +1 -0
- package/lib/response/get-basecc-vm-cluster-update-response.d.ts +25 -0
- package/lib/response/get-basecc-vm-cluster-update-response.js +15 -0
- package/lib/response/get-basecc-vm-cluster-update-response.js.map +1 -0
- package/lib/response/index.d.ts +28 -0
- package/lib/response/list-autonomous-databases-in-autonomous-container-database-backup-response.d.ts +29 -0
- package/lib/response/list-autonomous-databases-in-autonomous-container-database-backup-response.js +15 -0
- package/lib/response/list-autonomous-databases-in-autonomous-container-database-backup-response.js.map +1 -0
- package/lib/response/list-basecc-vm-cluster-update-history-entries-response.d.ts +33 -0
- package/lib/response/list-basecc-vm-cluster-update-history-entries-response.js +15 -0
- package/lib/response/list-basecc-vm-cluster-update-history-entries-response.js.map +1 -0
- package/lib/response/list-basecc-vm-cluster-updates-response.d.ts +33 -0
- package/lib/response/list-basecc-vm-cluster-updates-response.js +15 -0
- package/lib/response/list-basecc-vm-cluster-updates-response.js.map +1 -0
- package/lib/response/list-basecc-vm-clusters-response.d.ts +33 -0
- package/lib/response/list-basecc-vm-clusters-response.js +15 -0
- package/lib/response/list-basecc-vm-clusters-response.js.map +1 -0
- package/lib/response/register-exadb-vm-cluster-pkcs-response.d.ts +25 -0
- package/lib/response/register-exadb-vm-cluster-pkcs-response.js +15 -0
- package/lib/response/register-exadb-vm-cluster-pkcs-response.js.map +1 -0
- package/lib/response/unregister-exadb-vm-cluster-pkcs-response.d.ts +25 -0
- package/lib/response/unregister-exadb-vm-cluster-pkcs-response.js +15 -0
- package/lib/response/unregister-exadb-vm-cluster-pkcs-response.js.map +1 -0
- package/lib/response/update-basecc-vm-cluster-response.d.ts +34 -0
- package/lib/response/update-basecc-vm-cluster-response.js +15 -0
- package/lib/response/update-basecc-vm-cluster-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1456,6 +1456,69 @@ class DatabaseClient {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
});
|
|
1458
1458
|
}
|
|
1459
|
+
/**
|
|
1460
|
+
* Moves a BaseDB-C@C VM cluster and its dependent resources to another compartment. Applies to Base Database Service on Cloud@Customer instances only.
|
|
1461
|
+
*
|
|
1462
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1463
|
+
* @param ChangeBaseccVmClusterCompartmentRequest
|
|
1464
|
+
* @return ChangeBaseccVmClusterCompartmentResponse
|
|
1465
|
+
* @throws OciError when an error occurs
|
|
1466
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeBaseccVmClusterCompartment.ts.html |here} to see how to use ChangeBaseccVmClusterCompartment API.
|
|
1467
|
+
*/
|
|
1468
|
+
changeBaseccVmClusterCompartment(changeBaseccVmClusterCompartmentRequest) {
|
|
1469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1470
|
+
if (this.logger)
|
|
1471
|
+
this.logger.debug("Calling operation DatabaseClient#changeBaseccVmClusterCompartment.");
|
|
1472
|
+
const operationName = "changeBaseccVmClusterCompartment";
|
|
1473
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/ChangeBaseccVmClusterCompartment";
|
|
1474
|
+
const pathParams = {
|
|
1475
|
+
"{baseccVmClusterId}": changeBaseccVmClusterCompartmentRequest.baseccVmClusterId
|
|
1476
|
+
};
|
|
1477
|
+
const queryParams = {};
|
|
1478
|
+
let headerParams = {
|
|
1479
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1480
|
+
"opc-retry-token": changeBaseccVmClusterCompartmentRequest.opcRetryToken,
|
|
1481
|
+
"opc-request-id": changeBaseccVmClusterCompartmentRequest.opcRequestId,
|
|
1482
|
+
"if-match": changeBaseccVmClusterCompartmentRequest.ifMatch
|
|
1483
|
+
};
|
|
1484
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1485
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBaseccVmClusterCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1486
|
+
if (this.logger)
|
|
1487
|
+
retrier.logger = this.logger;
|
|
1488
|
+
const request = yield oci_common_2.composeRequest({
|
|
1489
|
+
baseEndpoint: this._endpoint,
|
|
1490
|
+
defaultHeaders: this._defaultHeaders,
|
|
1491
|
+
path: "/baseccVmClusters/{baseccVmClusterId}/actions/changeCompartment",
|
|
1492
|
+
method: "POST",
|
|
1493
|
+
bodyContent: common.ObjectSerializer.serialize(changeBaseccVmClusterCompartmentRequest.changeBaseccVmClusterCompartmentDetails, "ChangeBaseccVmClusterCompartmentDetails", model.ChangeBaseccVmClusterCompartmentDetails.getJsonObj),
|
|
1494
|
+
pathParams: pathParams,
|
|
1495
|
+
headerParams: headerParams,
|
|
1496
|
+
queryParams: queryParams
|
|
1497
|
+
});
|
|
1498
|
+
try {
|
|
1499
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1500
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1501
|
+
responseObject: {},
|
|
1502
|
+
responseHeaders: [
|
|
1503
|
+
{
|
|
1504
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1505
|
+
key: "opcWorkRequestId",
|
|
1506
|
+
dataType: "string"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
value: response.headers.get("opc-request-id"),
|
|
1510
|
+
key: "opcRequestId",
|
|
1511
|
+
dataType: "string"
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
});
|
|
1515
|
+
return sdkResponse;
|
|
1516
|
+
}
|
|
1517
|
+
catch (err) {
|
|
1518
|
+
throw err;
|
|
1519
|
+
}
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1459
1522
|
/**
|
|
1460
1523
|
* Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to another compartment. For Exadata Cloud@Customer systems, see {@link #changeAutonomousVmClusterCompartment(ChangeAutonomousVmClusterCompartmentRequest) changeAutonomousVmClusterCompartment}.
|
|
1461
1524
|
*
|
|
@@ -4690,6 +4753,75 @@ class DatabaseClient {
|
|
|
4690
4753
|
}
|
|
4691
4754
|
});
|
|
4692
4755
|
}
|
|
4756
|
+
/**
|
|
4757
|
+
* Creates a BaseDB-C@C VM cluster.
|
|
4758
|
+
*
|
|
4759
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4760
|
+
* @param CreateBaseccVmClusterRequest
|
|
4761
|
+
* @return CreateBaseccVmClusterResponse
|
|
4762
|
+
* @throws OciError when an error occurs
|
|
4763
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateBaseccVmCluster.ts.html |here} to see how to use CreateBaseccVmCluster API.
|
|
4764
|
+
*/
|
|
4765
|
+
createBaseccVmCluster(createBaseccVmClusterRequest) {
|
|
4766
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4767
|
+
if (this.logger)
|
|
4768
|
+
this.logger.debug("Calling operation DatabaseClient#createBaseccVmCluster.");
|
|
4769
|
+
const operationName = "createBaseccVmCluster";
|
|
4770
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/CreateBaseccVmCluster";
|
|
4771
|
+
const pathParams = {};
|
|
4772
|
+
const queryParams = {};
|
|
4773
|
+
let headerParams = {
|
|
4774
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4775
|
+
"opc-retry-token": createBaseccVmClusterRequest.opcRetryToken,
|
|
4776
|
+
"opc-request-id": createBaseccVmClusterRequest.opcRequestId
|
|
4777
|
+
};
|
|
4778
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4779
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
4780
|
+
if (this.logger)
|
|
4781
|
+
retrier.logger = this.logger;
|
|
4782
|
+
const request = yield oci_common_2.composeRequest({
|
|
4783
|
+
baseEndpoint: this._endpoint,
|
|
4784
|
+
defaultHeaders: this._defaultHeaders,
|
|
4785
|
+
path: "/baseccVmClusters",
|
|
4786
|
+
method: "POST",
|
|
4787
|
+
bodyContent: common.ObjectSerializer.serialize(createBaseccVmClusterRequest.createBaseccVmClusterDetails, "CreateBaseccVmClusterDetails", model.CreateBaseccVmClusterDetails.getJsonObj),
|
|
4788
|
+
pathParams: pathParams,
|
|
4789
|
+
headerParams: headerParams,
|
|
4790
|
+
queryParams: queryParams
|
|
4791
|
+
});
|
|
4792
|
+
try {
|
|
4793
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4794
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4795
|
+
responseObject: {},
|
|
4796
|
+
body: yield response.json(),
|
|
4797
|
+
bodyKey: "baseccVmCluster",
|
|
4798
|
+
bodyModel: model.BaseccVmCluster,
|
|
4799
|
+
type: "model.BaseccVmCluster",
|
|
4800
|
+
responseHeaders: [
|
|
4801
|
+
{
|
|
4802
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4803
|
+
key: "opcWorkRequestId",
|
|
4804
|
+
dataType: "string"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
value: response.headers.get("etag"),
|
|
4808
|
+
key: "etag",
|
|
4809
|
+
dataType: "string"
|
|
4810
|
+
},
|
|
4811
|
+
{
|
|
4812
|
+
value: response.headers.get("opc-request-id"),
|
|
4813
|
+
key: "opcRequestId",
|
|
4814
|
+
dataType: "string"
|
|
4815
|
+
}
|
|
4816
|
+
]
|
|
4817
|
+
});
|
|
4818
|
+
return sdkResponse;
|
|
4819
|
+
}
|
|
4820
|
+
catch (err) {
|
|
4821
|
+
throw err;
|
|
4822
|
+
}
|
|
4823
|
+
});
|
|
4824
|
+
}
|
|
4693
4825
|
/**
|
|
4694
4826
|
* Creates an Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {@link #createAutonomousVmCluster(CreateAutonomousVmClusterRequest) createAutonomousVmCluster}.
|
|
4695
4827
|
*
|
|
@@ -7345,6 +7477,67 @@ class DatabaseClient {
|
|
|
7345
7477
|
}
|
|
7346
7478
|
});
|
|
7347
7479
|
}
|
|
7480
|
+
/**
|
|
7481
|
+
* Deletes the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
7482
|
+
*
|
|
7483
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7484
|
+
* @param DeleteBaseccVmClusterRequest
|
|
7485
|
+
* @return DeleteBaseccVmClusterResponse
|
|
7486
|
+
* @throws OciError when an error occurs
|
|
7487
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteBaseccVmCluster.ts.html |here} to see how to use DeleteBaseccVmCluster API.
|
|
7488
|
+
*/
|
|
7489
|
+
deleteBaseccVmCluster(deleteBaseccVmClusterRequest) {
|
|
7490
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7491
|
+
if (this.logger)
|
|
7492
|
+
this.logger.debug("Calling operation DatabaseClient#deleteBaseccVmCluster.");
|
|
7493
|
+
const operationName = "deleteBaseccVmCluster";
|
|
7494
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/DeleteBaseccVmCluster";
|
|
7495
|
+
const pathParams = {
|
|
7496
|
+
"{baseccVmClusterId}": deleteBaseccVmClusterRequest.baseccVmClusterId
|
|
7497
|
+
};
|
|
7498
|
+
const queryParams = {};
|
|
7499
|
+
let headerParams = {
|
|
7500
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7501
|
+
"if-match": deleteBaseccVmClusterRequest.ifMatch,
|
|
7502
|
+
"opc-request-id": deleteBaseccVmClusterRequest.opcRequestId
|
|
7503
|
+
};
|
|
7504
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7505
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
7506
|
+
if (this.logger)
|
|
7507
|
+
retrier.logger = this.logger;
|
|
7508
|
+
const request = yield oci_common_2.composeRequest({
|
|
7509
|
+
baseEndpoint: this._endpoint,
|
|
7510
|
+
defaultHeaders: this._defaultHeaders,
|
|
7511
|
+
path: "/baseccVmClusters/{baseccVmClusterId}",
|
|
7512
|
+
method: "DELETE",
|
|
7513
|
+
pathParams: pathParams,
|
|
7514
|
+
headerParams: headerParams,
|
|
7515
|
+
queryParams: queryParams
|
|
7516
|
+
});
|
|
7517
|
+
try {
|
|
7518
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
7519
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
7520
|
+
responseObject: {},
|
|
7521
|
+
responseHeaders: [
|
|
7522
|
+
{
|
|
7523
|
+
value: response.headers.get("opc-work-request-id"),
|
|
7524
|
+
key: "opcWorkRequestId",
|
|
7525
|
+
dataType: "string"
|
|
7526
|
+
},
|
|
7527
|
+
{
|
|
7528
|
+
value: response.headers.get("opc-request-id"),
|
|
7529
|
+
key: "opcRequestId",
|
|
7530
|
+
dataType: "string"
|
|
7531
|
+
}
|
|
7532
|
+
]
|
|
7533
|
+
});
|
|
7534
|
+
return sdkResponse;
|
|
7535
|
+
}
|
|
7536
|
+
catch (err) {
|
|
7537
|
+
throw err;
|
|
7538
|
+
}
|
|
7539
|
+
});
|
|
7540
|
+
}
|
|
7348
7541
|
/**
|
|
7349
7542
|
* Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {@link #deleteAutonomousVmCluster(DeleteAutonomousVmClusterRequest) deleteAutonomousVmCluster}.
|
|
7350
7543
|
*
|
|
@@ -11916,6 +12109,65 @@ class DatabaseClient {
|
|
|
11916
12109
|
}
|
|
11917
12110
|
});
|
|
11918
12111
|
}
|
|
12112
|
+
/**
|
|
12113
|
+
* Gets information about the specified Autonomous Container Database backup.
|
|
12114
|
+
*
|
|
12115
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
12116
|
+
* @param GetAutonomousContainerDatabaseBackupRequest
|
|
12117
|
+
* @return GetAutonomousContainerDatabaseBackupResponse
|
|
12118
|
+
* @throws OciError when an error occurs
|
|
12119
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetAutonomousContainerDatabaseBackup.ts.html |here} to see how to use GetAutonomousContainerDatabaseBackup API.
|
|
12120
|
+
*/
|
|
12121
|
+
getAutonomousContainerDatabaseBackup(getAutonomousContainerDatabaseBackupRequest) {
|
|
12122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12123
|
+
if (this.logger)
|
|
12124
|
+
this.logger.debug("Calling operation DatabaseClient#getAutonomousContainerDatabaseBackup.");
|
|
12125
|
+
const operationName = "getAutonomousContainerDatabaseBackup";
|
|
12126
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseBackup/GetAutonomousContainerDatabaseBackup";
|
|
12127
|
+
const pathParams = {
|
|
12128
|
+
"{autonomousContainerDatabaseBackupId}": getAutonomousContainerDatabaseBackupRequest.autonomousContainerDatabaseBackupId
|
|
12129
|
+
};
|
|
12130
|
+
const queryParams = {};
|
|
12131
|
+
let headerParams = {
|
|
12132
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
12133
|
+
"opc-request-id": getAutonomousContainerDatabaseBackupRequest.opcRequestId
|
|
12134
|
+
};
|
|
12135
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
12136
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAutonomousContainerDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
12137
|
+
if (this.logger)
|
|
12138
|
+
retrier.logger = this.logger;
|
|
12139
|
+
const request = yield oci_common_2.composeRequest({
|
|
12140
|
+
baseEndpoint: this._endpoint,
|
|
12141
|
+
defaultHeaders: this._defaultHeaders,
|
|
12142
|
+
path: "/autonomousContainerDatabaseBackups/{autonomousContainerDatabaseBackupId}",
|
|
12143
|
+
method: "GET",
|
|
12144
|
+
pathParams: pathParams,
|
|
12145
|
+
headerParams: headerParams,
|
|
12146
|
+
queryParams: queryParams
|
|
12147
|
+
});
|
|
12148
|
+
try {
|
|
12149
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
12150
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
12151
|
+
responseObject: {},
|
|
12152
|
+
body: yield response.json(),
|
|
12153
|
+
bodyKey: "autonomousContainerDatabaseBackup",
|
|
12154
|
+
bodyModel: model.AutonomousContainerDatabaseBackup,
|
|
12155
|
+
type: "model.AutonomousContainerDatabaseBackup",
|
|
12156
|
+
responseHeaders: [
|
|
12157
|
+
{
|
|
12158
|
+
value: response.headers.get("opc-request-id"),
|
|
12159
|
+
key: "opcRequestId",
|
|
12160
|
+
dataType: "string"
|
|
12161
|
+
}
|
|
12162
|
+
]
|
|
12163
|
+
});
|
|
12164
|
+
return sdkResponse;
|
|
12165
|
+
}
|
|
12166
|
+
catch (err) {
|
|
12167
|
+
throw err;
|
|
12168
|
+
}
|
|
12169
|
+
});
|
|
12170
|
+
}
|
|
11919
12171
|
/**
|
|
11920
12172
|
* **Deprecated.** Use the {@link #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest) getAutonomousContainerDatabase} operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
|
|
11921
12173
|
*
|
|
@@ -12859,36 +13111,36 @@ class DatabaseClient {
|
|
|
12859
13111
|
});
|
|
12860
13112
|
}
|
|
12861
13113
|
/**
|
|
12862
|
-
* Gets information about the
|
|
13114
|
+
* Gets information about the BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
12863
13115
|
*
|
|
12864
13116
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
12865
|
-
* @param
|
|
12866
|
-
* @return
|
|
13117
|
+
* @param GetBaseccVmClusterRequest
|
|
13118
|
+
* @return GetBaseccVmClusterResponse
|
|
12867
13119
|
* @throws OciError when an error occurs
|
|
12868
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/
|
|
13120
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetBaseccVmCluster.ts.html |here} to see how to use GetBaseccVmCluster API.
|
|
12869
13121
|
*/
|
|
12870
|
-
|
|
13122
|
+
getBaseccVmCluster(getBaseccVmClusterRequest) {
|
|
12871
13123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12872
13124
|
if (this.logger)
|
|
12873
|
-
this.logger.debug("Calling operation DatabaseClient#
|
|
12874
|
-
const operationName = "
|
|
12875
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/
|
|
13125
|
+
this.logger.debug("Calling operation DatabaseClient#getBaseccVmCluster.");
|
|
13126
|
+
const operationName = "getBaseccVmCluster";
|
|
13127
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/GetBaseccVmCluster";
|
|
12876
13128
|
const pathParams = {
|
|
12877
|
-
"{
|
|
13129
|
+
"{baseccVmClusterId}": getBaseccVmClusterRequest.baseccVmClusterId
|
|
12878
13130
|
};
|
|
12879
13131
|
const queryParams = {};
|
|
12880
13132
|
let headerParams = {
|
|
12881
13133
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
12882
|
-
"opc-request-id":
|
|
13134
|
+
"opc-request-id": getBaseccVmClusterRequest.opcRequestId
|
|
12883
13135
|
};
|
|
12884
13136
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
12885
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
13137
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
12886
13138
|
if (this.logger)
|
|
12887
13139
|
retrier.logger = this.logger;
|
|
12888
13140
|
const request = yield oci_common_2.composeRequest({
|
|
12889
13141
|
baseEndpoint: this._endpoint,
|
|
12890
13142
|
defaultHeaders: this._defaultHeaders,
|
|
12891
|
-
path: "/
|
|
13143
|
+
path: "/baseccVmClusters/{baseccVmClusterId}",
|
|
12892
13144
|
method: "GET",
|
|
12893
13145
|
pathParams: pathParams,
|
|
12894
13146
|
headerParams: headerParams,
|
|
@@ -12899,9 +13151,9 @@ class DatabaseClient {
|
|
|
12899
13151
|
const sdkResponse = oci_common_2.composeResponse({
|
|
12900
13152
|
responseObject: {},
|
|
12901
13153
|
body: yield response.json(),
|
|
12902
|
-
bodyKey: "
|
|
12903
|
-
bodyModel: model.
|
|
12904
|
-
type: "model.
|
|
13154
|
+
bodyKey: "baseccVmCluster",
|
|
13155
|
+
bodyModel: model.BaseccVmCluster,
|
|
13156
|
+
type: "model.BaseccVmCluster",
|
|
12905
13157
|
responseHeaders: [
|
|
12906
13158
|
{
|
|
12907
13159
|
value: response.headers.get("etag"),
|
|
@@ -12923,36 +13175,37 @@ class DatabaseClient {
|
|
|
12923
13175
|
});
|
|
12924
13176
|
}
|
|
12925
13177
|
/**
|
|
12926
|
-
*
|
|
13178
|
+
* Gets information about a specified maintenance update package for a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
12927
13179
|
*
|
|
12928
13180
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
12929
|
-
* @param
|
|
12930
|
-
* @return
|
|
13181
|
+
* @param GetBaseccVmClusterUpdateRequest
|
|
13182
|
+
* @return GetBaseccVmClusterUpdateResponse
|
|
12931
13183
|
* @throws OciError when an error occurs
|
|
12932
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/
|
|
13184
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetBaseccVmClusterUpdate.ts.html |here} to see how to use GetBaseccVmClusterUpdate API.
|
|
12933
13185
|
*/
|
|
12934
|
-
|
|
13186
|
+
getBaseccVmClusterUpdate(getBaseccVmClusterUpdateRequest) {
|
|
12935
13187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12936
13188
|
if (this.logger)
|
|
12937
|
-
this.logger.debug("Calling operation DatabaseClient#
|
|
12938
|
-
const operationName = "
|
|
12939
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/
|
|
13189
|
+
this.logger.debug("Calling operation DatabaseClient#getBaseccVmClusterUpdate.");
|
|
13190
|
+
const operationName = "getBaseccVmClusterUpdate";
|
|
13191
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdate/GetBaseccVmClusterUpdate";
|
|
12940
13192
|
const pathParams = {
|
|
12941
|
-
"{
|
|
13193
|
+
"{baseccVmClusterId}": getBaseccVmClusterUpdateRequest.baseccVmClusterId,
|
|
13194
|
+
"{updateId}": getBaseccVmClusterUpdateRequest.updateId
|
|
12942
13195
|
};
|
|
12943
13196
|
const queryParams = {};
|
|
12944
13197
|
let headerParams = {
|
|
12945
13198
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
12946
|
-
"opc-request-id":
|
|
13199
|
+
"opc-request-id": getBaseccVmClusterUpdateRequest.opcRequestId
|
|
12947
13200
|
};
|
|
12948
13201
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
12949
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
13202
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaseccVmClusterUpdateRequest.retryConfiguration, specRetryConfiguration);
|
|
12950
13203
|
if (this.logger)
|
|
12951
13204
|
retrier.logger = this.logger;
|
|
12952
13205
|
const request = yield oci_common_2.composeRequest({
|
|
12953
13206
|
baseEndpoint: this._endpoint,
|
|
12954
13207
|
defaultHeaders: this._defaultHeaders,
|
|
12955
|
-
path: "/
|
|
13208
|
+
path: "/baseccVmClusters/{baseccVmClusterId}/updates/{updateId}",
|
|
12956
13209
|
method: "GET",
|
|
12957
13210
|
pathParams: pathParams,
|
|
12958
13211
|
headerParams: headerParams,
|
|
@@ -12963,15 +13216,10 @@ class DatabaseClient {
|
|
|
12963
13216
|
const sdkResponse = oci_common_2.composeResponse({
|
|
12964
13217
|
responseObject: {},
|
|
12965
13218
|
body: yield response.json(),
|
|
12966
|
-
bodyKey: "
|
|
12967
|
-
bodyModel: model.
|
|
12968
|
-
type: "model.
|
|
13219
|
+
bodyKey: "baseccVmClusterUpdate",
|
|
13220
|
+
bodyModel: model.BaseccVmClusterUpdate,
|
|
13221
|
+
type: "model.BaseccVmClusterUpdate",
|
|
12969
13222
|
responseHeaders: [
|
|
12970
|
-
{
|
|
12971
|
-
value: response.headers.get("etag"),
|
|
12972
|
-
key: "etag",
|
|
12973
|
-
dataType: "string"
|
|
12974
|
-
},
|
|
12975
13223
|
{
|
|
12976
13224
|
value: response.headers.get("opc-request-id"),
|
|
12977
13225
|
key: "opcRequestId",
|
|
@@ -12987,36 +13235,37 @@ class DatabaseClient {
|
|
|
12987
13235
|
});
|
|
12988
13236
|
}
|
|
12989
13237
|
/**
|
|
12990
|
-
* Gets
|
|
13238
|
+
* Gets the maintenance update history details for the specified update history entry. Applies to Base Database Service on Cloud@Customer instances only.
|
|
12991
13239
|
*
|
|
12992
13240
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
12993
|
-
* @param
|
|
12994
|
-
* @return
|
|
13241
|
+
* @param GetBaseccVmClusterUpdateHistoryEntryRequest
|
|
13242
|
+
* @return GetBaseccVmClusterUpdateHistoryEntryResponse
|
|
12995
13243
|
* @throws OciError when an error occurs
|
|
12996
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/
|
|
13244
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetBaseccVmClusterUpdateHistoryEntry.ts.html |here} to see how to use GetBaseccVmClusterUpdateHistoryEntry API.
|
|
12997
13245
|
*/
|
|
12998
|
-
|
|
13246
|
+
getBaseccVmClusterUpdateHistoryEntry(getBaseccVmClusterUpdateHistoryEntryRequest) {
|
|
12999
13247
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13000
13248
|
if (this.logger)
|
|
13001
|
-
this.logger.debug("Calling operation DatabaseClient#
|
|
13002
|
-
const operationName = "
|
|
13003
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/
|
|
13249
|
+
this.logger.debug("Calling operation DatabaseClient#getBaseccVmClusterUpdateHistoryEntry.");
|
|
13250
|
+
const operationName = "getBaseccVmClusterUpdateHistoryEntry";
|
|
13251
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdateHistoryEntry/GetBaseccVmClusterUpdateHistoryEntry";
|
|
13004
13252
|
const pathParams = {
|
|
13005
|
-
"{
|
|
13253
|
+
"{baseccVmClusterId}": getBaseccVmClusterUpdateHistoryEntryRequest.baseccVmClusterId,
|
|
13254
|
+
"{updateHistoryEntryId}": getBaseccVmClusterUpdateHistoryEntryRequest.updateHistoryEntryId
|
|
13006
13255
|
};
|
|
13007
13256
|
const queryParams = {};
|
|
13008
13257
|
let headerParams = {
|
|
13009
13258
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13010
|
-
"opc-request-id":
|
|
13259
|
+
"opc-request-id": getBaseccVmClusterUpdateHistoryEntryRequest.opcRequestId
|
|
13011
13260
|
};
|
|
13012
13261
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
13013
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
13262
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaseccVmClusterUpdateHistoryEntryRequest.retryConfiguration, specRetryConfiguration);
|
|
13014
13263
|
if (this.logger)
|
|
13015
13264
|
retrier.logger = this.logger;
|
|
13016
13265
|
const request = yield oci_common_2.composeRequest({
|
|
13017
13266
|
baseEndpoint: this._endpoint,
|
|
13018
13267
|
defaultHeaders: this._defaultHeaders,
|
|
13019
|
-
path: "/
|
|
13268
|
+
path: "/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}",
|
|
13020
13269
|
method: "GET",
|
|
13021
13270
|
pathParams: pathParams,
|
|
13022
13271
|
headerParams: headerParams,
|
|
@@ -13027,9 +13276,9 @@ class DatabaseClient {
|
|
|
13027
13276
|
const sdkResponse = oci_common_2.composeResponse({
|
|
13028
13277
|
responseObject: {},
|
|
13029
13278
|
body: yield response.json(),
|
|
13030
|
-
bodyKey: "
|
|
13031
|
-
bodyModel: model.
|
|
13032
|
-
type: "model.
|
|
13279
|
+
bodyKey: "baseccVmClusterUpdateHistoryEntry",
|
|
13280
|
+
bodyModel: model.BaseccVmClusterUpdateHistoryEntry,
|
|
13281
|
+
type: "model.BaseccVmClusterUpdateHistoryEntry",
|
|
13033
13282
|
responseHeaders: [
|
|
13034
13283
|
{
|
|
13035
13284
|
value: response.headers.get("etag"),
|
|
@@ -13051,20 +13300,212 @@ class DatabaseClient {
|
|
|
13051
13300
|
});
|
|
13052
13301
|
}
|
|
13053
13302
|
/**
|
|
13054
|
-
* Gets
|
|
13303
|
+
* Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see {@link #getAutonomousVmCluster(GetAutonomousVmClusterRequest) getAutonomousVmCluster}.
|
|
13055
13304
|
*
|
|
13056
13305
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
13057
|
-
* @param
|
|
13058
|
-
* @return
|
|
13306
|
+
* @param GetCloudAutonomousVmClusterRequest
|
|
13307
|
+
* @return GetCloudAutonomousVmClusterResponse
|
|
13059
13308
|
* @throws OciError when an error occurs
|
|
13060
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/
|
|
13309
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudAutonomousVmCluster.ts.html |here} to see how to use GetCloudAutonomousVmCluster API.
|
|
13061
13310
|
*/
|
|
13062
|
-
|
|
13311
|
+
getCloudAutonomousVmCluster(getCloudAutonomousVmClusterRequest) {
|
|
13063
13312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13064
13313
|
if (this.logger)
|
|
13065
|
-
this.logger.debug("Calling operation DatabaseClient#
|
|
13066
|
-
const operationName = "
|
|
13067
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/
|
|
13314
|
+
this.logger.debug("Calling operation DatabaseClient#getCloudAutonomousVmCluster.");
|
|
13315
|
+
const operationName = "getCloudAutonomousVmCluster";
|
|
13316
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster";
|
|
13317
|
+
const pathParams = {
|
|
13318
|
+
"{cloudAutonomousVmClusterId}": getCloudAutonomousVmClusterRequest.cloudAutonomousVmClusterId
|
|
13319
|
+
};
|
|
13320
|
+
const queryParams = {};
|
|
13321
|
+
let headerParams = {
|
|
13322
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13323
|
+
"opc-request-id": getCloudAutonomousVmClusterRequest.opcRequestId
|
|
13324
|
+
};
|
|
13325
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
13326
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudAutonomousVmClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
13327
|
+
if (this.logger)
|
|
13328
|
+
retrier.logger = this.logger;
|
|
13329
|
+
const request = yield oci_common_2.composeRequest({
|
|
13330
|
+
baseEndpoint: this._endpoint,
|
|
13331
|
+
defaultHeaders: this._defaultHeaders,
|
|
13332
|
+
path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}",
|
|
13333
|
+
method: "GET",
|
|
13334
|
+
pathParams: pathParams,
|
|
13335
|
+
headerParams: headerParams,
|
|
13336
|
+
queryParams: queryParams
|
|
13337
|
+
});
|
|
13338
|
+
try {
|
|
13339
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13340
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13341
|
+
responseObject: {},
|
|
13342
|
+
body: yield response.json(),
|
|
13343
|
+
bodyKey: "cloudAutonomousVmCluster",
|
|
13344
|
+
bodyModel: model.CloudAutonomousVmCluster,
|
|
13345
|
+
type: "model.CloudAutonomousVmCluster",
|
|
13346
|
+
responseHeaders: [
|
|
13347
|
+
{
|
|
13348
|
+
value: response.headers.get("etag"),
|
|
13349
|
+
key: "etag",
|
|
13350
|
+
dataType: "string"
|
|
13351
|
+
},
|
|
13352
|
+
{
|
|
13353
|
+
value: response.headers.get("opc-request-id"),
|
|
13354
|
+
key: "opcRequestId",
|
|
13355
|
+
dataType: "string"
|
|
13356
|
+
}
|
|
13357
|
+
]
|
|
13358
|
+
});
|
|
13359
|
+
return sdkResponse;
|
|
13360
|
+
}
|
|
13361
|
+
catch (err) {
|
|
13362
|
+
throw err;
|
|
13363
|
+
}
|
|
13364
|
+
});
|
|
13365
|
+
}
|
|
13366
|
+
/**
|
|
13367
|
+
* Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
|
|
13368
|
+
*
|
|
13369
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
13370
|
+
* @param GetCloudAutonomousVmClusterResourceUsageRequest
|
|
13371
|
+
* @return GetCloudAutonomousVmClusterResourceUsageResponse
|
|
13372
|
+
* @throws OciError when an error occurs
|
|
13373
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudAutonomousVmClusterResourceUsage.ts.html |here} to see how to use GetCloudAutonomousVmClusterResourceUsage API.
|
|
13374
|
+
*/
|
|
13375
|
+
getCloudAutonomousVmClusterResourceUsage(getCloudAutonomousVmClusterResourceUsageRequest) {
|
|
13376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13377
|
+
if (this.logger)
|
|
13378
|
+
this.logger.debug("Calling operation DatabaseClient#getCloudAutonomousVmClusterResourceUsage.");
|
|
13379
|
+
const operationName = "getCloudAutonomousVmClusterResourceUsage";
|
|
13380
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmClusterResourceUsage";
|
|
13381
|
+
const pathParams = {
|
|
13382
|
+
"{cloudAutonomousVmClusterId}": getCloudAutonomousVmClusterResourceUsageRequest.cloudAutonomousVmClusterId
|
|
13383
|
+
};
|
|
13384
|
+
const queryParams = {};
|
|
13385
|
+
let headerParams = {
|
|
13386
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13387
|
+
"opc-request-id": getCloudAutonomousVmClusterResourceUsageRequest.opcRequestId
|
|
13388
|
+
};
|
|
13389
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
13390
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudAutonomousVmClusterResourceUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
13391
|
+
if (this.logger)
|
|
13392
|
+
retrier.logger = this.logger;
|
|
13393
|
+
const request = yield oci_common_2.composeRequest({
|
|
13394
|
+
baseEndpoint: this._endpoint,
|
|
13395
|
+
defaultHeaders: this._defaultHeaders,
|
|
13396
|
+
path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage",
|
|
13397
|
+
method: "GET",
|
|
13398
|
+
pathParams: pathParams,
|
|
13399
|
+
headerParams: headerParams,
|
|
13400
|
+
queryParams: queryParams
|
|
13401
|
+
});
|
|
13402
|
+
try {
|
|
13403
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13404
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13405
|
+
responseObject: {},
|
|
13406
|
+
body: yield response.json(),
|
|
13407
|
+
bodyKey: "cloudAutonomousVmClusterResourceUsage",
|
|
13408
|
+
bodyModel: model.CloudAutonomousVmClusterResourceUsage,
|
|
13409
|
+
type: "model.CloudAutonomousVmClusterResourceUsage",
|
|
13410
|
+
responseHeaders: [
|
|
13411
|
+
{
|
|
13412
|
+
value: response.headers.get("etag"),
|
|
13413
|
+
key: "etag",
|
|
13414
|
+
dataType: "string"
|
|
13415
|
+
},
|
|
13416
|
+
{
|
|
13417
|
+
value: response.headers.get("opc-request-id"),
|
|
13418
|
+
key: "opcRequestId",
|
|
13419
|
+
dataType: "string"
|
|
13420
|
+
}
|
|
13421
|
+
]
|
|
13422
|
+
});
|
|
13423
|
+
return sdkResponse;
|
|
13424
|
+
}
|
|
13425
|
+
catch (err) {
|
|
13426
|
+
throw err;
|
|
13427
|
+
}
|
|
13428
|
+
});
|
|
13429
|
+
}
|
|
13430
|
+
/**
|
|
13431
|
+
* Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
|
|
13432
|
+
*
|
|
13433
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
13434
|
+
* @param GetCloudExadataInfrastructureRequest
|
|
13435
|
+
* @return GetCloudExadataInfrastructureResponse
|
|
13436
|
+
* @throws OciError when an error occurs
|
|
13437
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudExadataInfrastructure.ts.html |here} to see how to use GetCloudExadataInfrastructure API.
|
|
13438
|
+
*/
|
|
13439
|
+
getCloudExadataInfrastructure(getCloudExadataInfrastructureRequest) {
|
|
13440
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13441
|
+
if (this.logger)
|
|
13442
|
+
this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructure.");
|
|
13443
|
+
const operationName = "getCloudExadataInfrastructure";
|
|
13444
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructure";
|
|
13445
|
+
const pathParams = {
|
|
13446
|
+
"{cloudExadataInfrastructureId}": getCloudExadataInfrastructureRequest.cloudExadataInfrastructureId
|
|
13447
|
+
};
|
|
13448
|
+
const queryParams = {};
|
|
13449
|
+
let headerParams = {
|
|
13450
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13451
|
+
"opc-request-id": getCloudExadataInfrastructureRequest.opcRequestId
|
|
13452
|
+
};
|
|
13453
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
13454
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCloudExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
|
|
13455
|
+
if (this.logger)
|
|
13456
|
+
retrier.logger = this.logger;
|
|
13457
|
+
const request = yield oci_common_2.composeRequest({
|
|
13458
|
+
baseEndpoint: this._endpoint,
|
|
13459
|
+
defaultHeaders: this._defaultHeaders,
|
|
13460
|
+
path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}",
|
|
13461
|
+
method: "GET",
|
|
13462
|
+
pathParams: pathParams,
|
|
13463
|
+
headerParams: headerParams,
|
|
13464
|
+
queryParams: queryParams
|
|
13465
|
+
});
|
|
13466
|
+
try {
|
|
13467
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13468
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13469
|
+
responseObject: {},
|
|
13470
|
+
body: yield response.json(),
|
|
13471
|
+
bodyKey: "cloudExadataInfrastructure",
|
|
13472
|
+
bodyModel: model.CloudExadataInfrastructure,
|
|
13473
|
+
type: "model.CloudExadataInfrastructure",
|
|
13474
|
+
responseHeaders: [
|
|
13475
|
+
{
|
|
13476
|
+
value: response.headers.get("etag"),
|
|
13477
|
+
key: "etag",
|
|
13478
|
+
dataType: "string"
|
|
13479
|
+
},
|
|
13480
|
+
{
|
|
13481
|
+
value: response.headers.get("opc-request-id"),
|
|
13482
|
+
key: "opcRequestId",
|
|
13483
|
+
dataType: "string"
|
|
13484
|
+
}
|
|
13485
|
+
]
|
|
13486
|
+
});
|
|
13487
|
+
return sdkResponse;
|
|
13488
|
+
}
|
|
13489
|
+
catch (err) {
|
|
13490
|
+
throw err;
|
|
13491
|
+
}
|
|
13492
|
+
});
|
|
13493
|
+
}
|
|
13494
|
+
/**
|
|
13495
|
+
* Gets unallocated resources information for the specified Cloud Exadata infrastructure.
|
|
13496
|
+
*
|
|
13497
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
13498
|
+
* @param GetCloudExadataInfrastructureUnallocatedResourcesRequest
|
|
13499
|
+
* @return GetCloudExadataInfrastructureUnallocatedResourcesResponse
|
|
13500
|
+
* @throws OciError when an error occurs
|
|
13501
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetCloudExadataInfrastructureUnallocatedResources.ts.html |here} to see how to use GetCloudExadataInfrastructureUnallocatedResources API.
|
|
13502
|
+
*/
|
|
13503
|
+
getCloudExadataInfrastructureUnallocatedResources(getCloudExadataInfrastructureUnallocatedResourcesRequest) {
|
|
13504
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13505
|
+
if (this.logger)
|
|
13506
|
+
this.logger.debug("Calling operation DatabaseClient#getCloudExadataInfrastructureUnallocatedResources.");
|
|
13507
|
+
const operationName = "getCloudExadataInfrastructureUnallocatedResources";
|
|
13508
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructureUnallocatedResources";
|
|
13068
13509
|
const pathParams = {
|
|
13069
13510
|
"{cloudExadataInfrastructureId}": getCloudExadataInfrastructureUnallocatedResourcesRequest.cloudExadataInfrastructureId
|
|
13070
13511
|
};
|
|
@@ -17490,7 +17931,8 @@ class DatabaseClient {
|
|
|
17490
17931
|
"type": listAutonomousDatabaseBackupsRequest.type,
|
|
17491
17932
|
"backupDestinationId": listAutonomousDatabaseBackupsRequest.backupDestinationId,
|
|
17492
17933
|
"keyStoreId": listAutonomousDatabaseBackupsRequest.keyStoreId,
|
|
17493
|
-
"infrastructureType": listAutonomousDatabaseBackupsRequest.infrastructureType
|
|
17934
|
+
"infrastructureType": listAutonomousDatabaseBackupsRequest.infrastructureType,
|
|
17935
|
+
"isPitrEligible": listAutonomousDatabaseBackupsRequest.isPitrEligible
|
|
17494
17936
|
};
|
|
17495
17937
|
let headerParams = {
|
|
17496
17938
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -18186,6 +18628,74 @@ class DatabaseClient {
|
|
|
18186
18628
|
listAutonomousDatabasesResponseIterator(request) {
|
|
18187
18629
|
return oci_common_1.paginateResponses(request, req => this.listAutonomousDatabases(req));
|
|
18188
18630
|
}
|
|
18631
|
+
/**
|
|
18632
|
+
* Gets a list of Autonomous Databases associated with backups at the given timestamp for the specified Autonomous Container Database. If `compartmentId` is provided, filters to that compartment; otherwise, uses the container's compartment.
|
|
18633
|
+
*
|
|
18634
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
18635
|
+
* @param ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
|
|
18636
|
+
* @return ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
|
|
18637
|
+
* @throws OciError when an error occurs
|
|
18638
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup.ts.html |here} to see how to use ListAutonomousDatabasesInAutonomousContainerDatabaseBackup API.
|
|
18639
|
+
*/
|
|
18640
|
+
listAutonomousDatabasesInAutonomousContainerDatabaseBackup(listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest) {
|
|
18641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18642
|
+
if (this.logger)
|
|
18643
|
+
this.logger.debug("Calling operation DatabaseClient#listAutonomousDatabasesInAutonomousContainerDatabaseBackup.");
|
|
18644
|
+
const operationName = "listAutonomousDatabasesInAutonomousContainerDatabaseBackup";
|
|
18645
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseInBackup/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup";
|
|
18646
|
+
const pathParams = {};
|
|
18647
|
+
const queryParams = {
|
|
18648
|
+
"autonomousContainerDatabaseId": listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.autonomousContainerDatabaseId,
|
|
18649
|
+
"timeStampRequested": listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.timeStampRequested,
|
|
18650
|
+
"compartmentId": listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.compartmentId,
|
|
18651
|
+
"limit": listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.limit,
|
|
18652
|
+
"page": listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.page
|
|
18653
|
+
};
|
|
18654
|
+
let headerParams = {
|
|
18655
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18656
|
+
"opc-request-id": listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.opcRequestId
|
|
18657
|
+
};
|
|
18658
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
18659
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
18660
|
+
if (this.logger)
|
|
18661
|
+
retrier.logger = this.logger;
|
|
18662
|
+
const request = yield oci_common_2.composeRequest({
|
|
18663
|
+
baseEndpoint: this._endpoint,
|
|
18664
|
+
defaultHeaders: this._defaultHeaders,
|
|
18665
|
+
path: "/autonomousContainerDatabaseBackups/listAutonomousDatabasesInBackup",
|
|
18666
|
+
method: "GET",
|
|
18667
|
+
pathParams: pathParams,
|
|
18668
|
+
headerParams: headerParams,
|
|
18669
|
+
queryParams: queryParams
|
|
18670
|
+
});
|
|
18671
|
+
try {
|
|
18672
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
18673
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
18674
|
+
responseObject: {},
|
|
18675
|
+
body: yield response.json(),
|
|
18676
|
+
bodyKey: "autonomousDatabaseInBackupCollection",
|
|
18677
|
+
bodyModel: model.AutonomousDatabaseInBackupCollection,
|
|
18678
|
+
type: "model.AutonomousDatabaseInBackupCollection",
|
|
18679
|
+
responseHeaders: [
|
|
18680
|
+
{
|
|
18681
|
+
value: response.headers.get("opc-request-id"),
|
|
18682
|
+
key: "opcRequestId",
|
|
18683
|
+
dataType: "string"
|
|
18684
|
+
},
|
|
18685
|
+
{
|
|
18686
|
+
value: response.headers.get("opc-next-page"),
|
|
18687
|
+
key: "opcNextPage",
|
|
18688
|
+
dataType: "string"
|
|
18689
|
+
}
|
|
18690
|
+
]
|
|
18691
|
+
});
|
|
18692
|
+
return sdkResponse;
|
|
18693
|
+
}
|
|
18694
|
+
catch (err) {
|
|
18695
|
+
throw err;
|
|
18696
|
+
}
|
|
18697
|
+
});
|
|
18698
|
+
}
|
|
18189
18699
|
/**
|
|
18190
18700
|
* Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for
|
|
18191
18701
|
* Autonomous AI Database Serverless (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.
|
|
@@ -18863,16 +19373,350 @@ class DatabaseClient {
|
|
|
18863
19373
|
};
|
|
18864
19374
|
let headerParams = {
|
|
18865
19375
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18866
|
-
"opc-request-id": listAutonomousVmClustersRequest.opcRequestId
|
|
19376
|
+
"opc-request-id": listAutonomousVmClustersRequest.opcRequestId
|
|
19377
|
+
};
|
|
19378
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
19379
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutonomousVmClustersRequest.retryConfiguration, specRetryConfiguration);
|
|
19380
|
+
if (this.logger)
|
|
19381
|
+
retrier.logger = this.logger;
|
|
19382
|
+
const request = yield oci_common_2.composeRequest({
|
|
19383
|
+
baseEndpoint: this._endpoint,
|
|
19384
|
+
defaultHeaders: this._defaultHeaders,
|
|
19385
|
+
path: "/autonomousVmClusters",
|
|
19386
|
+
method: "GET",
|
|
19387
|
+
pathParams: pathParams,
|
|
19388
|
+
headerParams: headerParams,
|
|
19389
|
+
queryParams: queryParams
|
|
19390
|
+
});
|
|
19391
|
+
try {
|
|
19392
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19393
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
19394
|
+
responseObject: {},
|
|
19395
|
+
body: yield response.json(),
|
|
19396
|
+
bodyKey: "items",
|
|
19397
|
+
bodyModel: model.AutonomousVmClusterSummary,
|
|
19398
|
+
type: "Array<model.AutonomousVmClusterSummary>",
|
|
19399
|
+
responseHeaders: [
|
|
19400
|
+
{
|
|
19401
|
+
value: response.headers.get("opc-request-id"),
|
|
19402
|
+
key: "opcRequestId",
|
|
19403
|
+
dataType: "string"
|
|
19404
|
+
},
|
|
19405
|
+
{
|
|
19406
|
+
value: response.headers.get("opc-next-page"),
|
|
19407
|
+
key: "opcNextPage",
|
|
19408
|
+
dataType: "string"
|
|
19409
|
+
}
|
|
19410
|
+
]
|
|
19411
|
+
});
|
|
19412
|
+
return sdkResponse;
|
|
19413
|
+
}
|
|
19414
|
+
catch (err) {
|
|
19415
|
+
throw err;
|
|
19416
|
+
}
|
|
19417
|
+
});
|
|
19418
|
+
}
|
|
19419
|
+
/**
|
|
19420
|
+
* NOTE: This function is deprecated in favor of listAutonomousVmClustersRecordIterator function.
|
|
19421
|
+
* Creates a new async iterator which will iterate over the models.AutonomousVmClusterSummary objects
|
|
19422
|
+
* contained in responses from the listAutonomousVmClusters operation. This iterator will fetch more data from the
|
|
19423
|
+
* server as needed.
|
|
19424
|
+
*
|
|
19425
|
+
* @param request a request which can be sent to the service operation
|
|
19426
|
+
*/
|
|
19427
|
+
listAllAutonomousVmClusters(request) {
|
|
19428
|
+
return oci_common_1.paginateRecords(request, req => this.listAutonomousVmClusters(req));
|
|
19429
|
+
}
|
|
19430
|
+
/**
|
|
19431
|
+
* NOTE: This function is deprecated in favor of listAutonomousVmClustersResponseIterator function.
|
|
19432
|
+
* Creates a new async iterator which will iterate over the responses received from the listAutonomousVmClusters operation. This iterator
|
|
19433
|
+
* will fetch more data from the server as needed.
|
|
19434
|
+
*
|
|
19435
|
+
* @param request a request which can be sent to the service operation
|
|
19436
|
+
*/
|
|
19437
|
+
listAllAutonomousVmClustersResponses(request) {
|
|
19438
|
+
return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
|
|
19439
|
+
}
|
|
19440
|
+
/**
|
|
19441
|
+
* Creates a new async iterator which will iterate over the models.AutonomousVmClusterSummary objects
|
|
19442
|
+
* contained in responses from the listAutonomousVmClusters operation. This iterator will fetch more data from the
|
|
19443
|
+
* server as needed.
|
|
19444
|
+
*
|
|
19445
|
+
* @param request a request which can be sent to the service operation
|
|
19446
|
+
*/
|
|
19447
|
+
listAutonomousVmClustersRecordIterator(request) {
|
|
19448
|
+
return oci_common_1.paginateRecords(request, req => this.listAutonomousVmClusters(req));
|
|
19449
|
+
}
|
|
19450
|
+
/**
|
|
19451
|
+
* Creates a new async iterator which will iterate over the responses received from the listAutonomousVmClusters operation. This iterator
|
|
19452
|
+
* will fetch more data from the server as needed.
|
|
19453
|
+
*
|
|
19454
|
+
* @param request a request which can be sent to the service operation
|
|
19455
|
+
*/
|
|
19456
|
+
listAutonomousVmClustersResponseIterator(request) {
|
|
19457
|
+
return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
|
|
19458
|
+
}
|
|
19459
|
+
/**
|
|
19460
|
+
* Gets a list of backup destinations in the specified compartment.
|
|
19461
|
+
*
|
|
19462
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
19463
|
+
* @param ListBackupDestinationRequest
|
|
19464
|
+
* @return ListBackupDestinationResponse
|
|
19465
|
+
* @throws OciError when an error occurs
|
|
19466
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBackupDestination.ts.html |here} to see how to use ListBackupDestination API.
|
|
19467
|
+
*/
|
|
19468
|
+
listBackupDestination(listBackupDestinationRequest) {
|
|
19469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19470
|
+
if (this.logger)
|
|
19471
|
+
this.logger.debug("Calling operation DatabaseClient#listBackupDestination.");
|
|
19472
|
+
const operationName = "listBackupDestination";
|
|
19473
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BackupDestinationSummary/ListBackupDestination";
|
|
19474
|
+
const pathParams = {};
|
|
19475
|
+
const queryParams = {
|
|
19476
|
+
"compartmentId": listBackupDestinationRequest.compartmentId,
|
|
19477
|
+
"limit": listBackupDestinationRequest.limit,
|
|
19478
|
+
"page": listBackupDestinationRequest.page,
|
|
19479
|
+
"type": listBackupDestinationRequest.type
|
|
19480
|
+
};
|
|
19481
|
+
let headerParams = {
|
|
19482
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
19483
|
+
"opc-request-id": listBackupDestinationRequest.opcRequestId
|
|
19484
|
+
};
|
|
19485
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
19486
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupDestinationRequest.retryConfiguration, specRetryConfiguration);
|
|
19487
|
+
if (this.logger)
|
|
19488
|
+
retrier.logger = this.logger;
|
|
19489
|
+
const request = yield oci_common_2.composeRequest({
|
|
19490
|
+
baseEndpoint: this._endpoint,
|
|
19491
|
+
defaultHeaders: this._defaultHeaders,
|
|
19492
|
+
path: "/backupDestinations",
|
|
19493
|
+
method: "GET",
|
|
19494
|
+
pathParams: pathParams,
|
|
19495
|
+
headerParams: headerParams,
|
|
19496
|
+
queryParams: queryParams
|
|
19497
|
+
});
|
|
19498
|
+
try {
|
|
19499
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19500
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
19501
|
+
responseObject: {},
|
|
19502
|
+
body: yield response.json(),
|
|
19503
|
+
bodyKey: "items",
|
|
19504
|
+
bodyModel: model.BackupDestinationSummary,
|
|
19505
|
+
type: "Array<model.BackupDestinationSummary>",
|
|
19506
|
+
responseHeaders: [
|
|
19507
|
+
{
|
|
19508
|
+
value: response.headers.get("etag"),
|
|
19509
|
+
key: "etag",
|
|
19510
|
+
dataType: "string"
|
|
19511
|
+
},
|
|
19512
|
+
{
|
|
19513
|
+
value: response.headers.get("opc-request-id"),
|
|
19514
|
+
key: "opcRequestId",
|
|
19515
|
+
dataType: "string"
|
|
19516
|
+
},
|
|
19517
|
+
{
|
|
19518
|
+
value: response.headers.get("opc-next-page"),
|
|
19519
|
+
key: "opcNextPage",
|
|
19520
|
+
dataType: "string"
|
|
19521
|
+
}
|
|
19522
|
+
]
|
|
19523
|
+
});
|
|
19524
|
+
return sdkResponse;
|
|
19525
|
+
}
|
|
19526
|
+
catch (err) {
|
|
19527
|
+
throw err;
|
|
19528
|
+
}
|
|
19529
|
+
});
|
|
19530
|
+
}
|
|
19531
|
+
/**
|
|
19532
|
+
* NOTE: This function is deprecated in favor of listBackupDestinationRecordIterator function.
|
|
19533
|
+
* Creates a new async iterator which will iterate over the models.BackupDestinationSummary objects
|
|
19534
|
+
* contained in responses from the listBackupDestination operation. This iterator will fetch more data from the
|
|
19535
|
+
* server as needed.
|
|
19536
|
+
*
|
|
19537
|
+
* @param request a request which can be sent to the service operation
|
|
19538
|
+
*/
|
|
19539
|
+
listAllBackupDestination(request) {
|
|
19540
|
+
return oci_common_1.paginateRecords(request, req => this.listBackupDestination(req));
|
|
19541
|
+
}
|
|
19542
|
+
/**
|
|
19543
|
+
* NOTE: This function is deprecated in favor of listBackupDestinationResponseIterator function.
|
|
19544
|
+
* Creates a new async iterator which will iterate over the responses received from the listBackupDestination operation. This iterator
|
|
19545
|
+
* will fetch more data from the server as needed.
|
|
19546
|
+
*
|
|
19547
|
+
* @param request a request which can be sent to the service operation
|
|
19548
|
+
*/
|
|
19549
|
+
listAllBackupDestinationResponses(request) {
|
|
19550
|
+
return oci_common_1.paginateResponses(request, req => this.listBackupDestination(req));
|
|
19551
|
+
}
|
|
19552
|
+
/**
|
|
19553
|
+
* Creates a new async iterator which will iterate over the models.BackupDestinationSummary objects
|
|
19554
|
+
* contained in responses from the listBackupDestination operation. This iterator will fetch more data from the
|
|
19555
|
+
* server as needed.
|
|
19556
|
+
*
|
|
19557
|
+
* @param request a request which can be sent to the service operation
|
|
19558
|
+
*/
|
|
19559
|
+
listBackupDestinationRecordIterator(request) {
|
|
19560
|
+
return oci_common_1.paginateRecords(request, req => this.listBackupDestination(req));
|
|
19561
|
+
}
|
|
19562
|
+
/**
|
|
19563
|
+
* Creates a new async iterator which will iterate over the responses received from the listBackupDestination operation. This iterator
|
|
19564
|
+
* will fetch more data from the server as needed.
|
|
19565
|
+
*
|
|
19566
|
+
* @param request a request which can be sent to the service operation
|
|
19567
|
+
*/
|
|
19568
|
+
listBackupDestinationResponseIterator(request) {
|
|
19569
|
+
return oci_common_1.paginateResponses(request, req => this.listBackupDestination(req));
|
|
19570
|
+
}
|
|
19571
|
+
/**
|
|
19572
|
+
* Gets a list of backups based on the `databaseId` or `compartmentId` specified. Either one of these query parameters must be provided.
|
|
19573
|
+
*
|
|
19574
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
19575
|
+
* @param ListBackupsRequest
|
|
19576
|
+
* @return ListBackupsResponse
|
|
19577
|
+
* @throws OciError when an error occurs
|
|
19578
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
19579
|
+
*/
|
|
19580
|
+
listBackups(listBackupsRequest) {
|
|
19581
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19582
|
+
if (this.logger)
|
|
19583
|
+
this.logger.debug("Calling operation DatabaseClient#listBackups.");
|
|
19584
|
+
const operationName = "listBackups";
|
|
19585
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Backup/ListBackups";
|
|
19586
|
+
const pathParams = {};
|
|
19587
|
+
const queryParams = {
|
|
19588
|
+
"databaseId": listBackupsRequest.databaseId,
|
|
19589
|
+
"compartmentId": listBackupsRequest.compartmentId,
|
|
19590
|
+
"limit": listBackupsRequest.limit,
|
|
19591
|
+
"page": listBackupsRequest.page,
|
|
19592
|
+
"shapeFamily": listBackupsRequest.shapeFamily,
|
|
19593
|
+
"version": listBackupsRequest.version,
|
|
19594
|
+
"type": listBackupsRequest.type,
|
|
19595
|
+
"lifecycleState": listBackupsRequest.lifecycleState,
|
|
19596
|
+
"timeExpiryScheduledGreaterThanOrEqualTo": listBackupsRequest.timeExpiryScheduledGreaterThanOrEqualTo,
|
|
19597
|
+
"timeExpiryScheduledLessThan": listBackupsRequest.timeExpiryScheduledLessThan,
|
|
19598
|
+
"backupDestinationType": listBackupsRequest.backupDestinationType
|
|
19599
|
+
};
|
|
19600
|
+
let headerParams = {
|
|
19601
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
19602
|
+
};
|
|
19603
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
19604
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
19605
|
+
if (this.logger)
|
|
19606
|
+
retrier.logger = this.logger;
|
|
19607
|
+
const request = yield oci_common_2.composeRequest({
|
|
19608
|
+
baseEndpoint: this._endpoint,
|
|
19609
|
+
defaultHeaders: this._defaultHeaders,
|
|
19610
|
+
path: "/backups",
|
|
19611
|
+
method: "GET",
|
|
19612
|
+
pathParams: pathParams,
|
|
19613
|
+
headerParams: headerParams,
|
|
19614
|
+
queryParams: queryParams
|
|
19615
|
+
});
|
|
19616
|
+
try {
|
|
19617
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19618
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
19619
|
+
responseObject: {},
|
|
19620
|
+
body: yield response.json(),
|
|
19621
|
+
bodyKey: "items",
|
|
19622
|
+
bodyModel: model.BackupSummary,
|
|
19623
|
+
type: "Array<model.BackupSummary>",
|
|
19624
|
+
responseHeaders: [
|
|
19625
|
+
{
|
|
19626
|
+
value: response.headers.get("opc-request-id"),
|
|
19627
|
+
key: "opcRequestId",
|
|
19628
|
+
dataType: "string"
|
|
19629
|
+
},
|
|
19630
|
+
{
|
|
19631
|
+
value: response.headers.get("opc-next-page"),
|
|
19632
|
+
key: "opcNextPage",
|
|
19633
|
+
dataType: "string"
|
|
19634
|
+
}
|
|
19635
|
+
]
|
|
19636
|
+
});
|
|
19637
|
+
return sdkResponse;
|
|
19638
|
+
}
|
|
19639
|
+
catch (err) {
|
|
19640
|
+
throw err;
|
|
19641
|
+
}
|
|
19642
|
+
});
|
|
19643
|
+
}
|
|
19644
|
+
/**
|
|
19645
|
+
* NOTE: This function is deprecated in favor of listBackupsRecordIterator function.
|
|
19646
|
+
* Creates a new async iterator which will iterate over the models.BackupSummary objects
|
|
19647
|
+
* contained in responses from the listBackups operation. This iterator will fetch more data from the
|
|
19648
|
+
* server as needed.
|
|
19649
|
+
*
|
|
19650
|
+
* @param request a request which can be sent to the service operation
|
|
19651
|
+
*/
|
|
19652
|
+
listAllBackups(request) {
|
|
19653
|
+
return oci_common_1.paginateRecords(request, req => this.listBackups(req));
|
|
19654
|
+
}
|
|
19655
|
+
/**
|
|
19656
|
+
* NOTE: This function is deprecated in favor of listBackupsResponseIterator function.
|
|
19657
|
+
* Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
|
|
19658
|
+
* will fetch more data from the server as needed.
|
|
19659
|
+
*
|
|
19660
|
+
* @param request a request which can be sent to the service operation
|
|
19661
|
+
*/
|
|
19662
|
+
listAllBackupsResponses(request) {
|
|
19663
|
+
return oci_common_1.paginateResponses(request, req => this.listBackups(req));
|
|
19664
|
+
}
|
|
19665
|
+
/**
|
|
19666
|
+
* Creates a new async iterator which will iterate over the models.BackupSummary objects
|
|
19667
|
+
* contained in responses from the listBackups operation. This iterator will fetch more data from the
|
|
19668
|
+
* server as needed.
|
|
19669
|
+
*
|
|
19670
|
+
* @param request a request which can be sent to the service operation
|
|
19671
|
+
*/
|
|
19672
|
+
listBackupsRecordIterator(request) {
|
|
19673
|
+
return oci_common_1.paginateRecords(request, req => this.listBackups(req));
|
|
19674
|
+
}
|
|
19675
|
+
/**
|
|
19676
|
+
* Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
|
|
19677
|
+
* will fetch more data from the server as needed.
|
|
19678
|
+
*
|
|
19679
|
+
* @param request a request which can be sent to the service operation
|
|
19680
|
+
*/
|
|
19681
|
+
listBackupsResponseIterator(request) {
|
|
19682
|
+
return oci_common_1.paginateResponses(request, req => this.listBackups(req));
|
|
19683
|
+
}
|
|
19684
|
+
/**
|
|
19685
|
+
* Gets the history of the maintenance update actions performed on the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
19686
|
+
*
|
|
19687
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
19688
|
+
* @param ListBaseccVmClusterUpdateHistoryEntriesRequest
|
|
19689
|
+
* @return ListBaseccVmClusterUpdateHistoryEntriesResponse
|
|
19690
|
+
* @throws OciError when an error occurs
|
|
19691
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBaseccVmClusterUpdateHistoryEntries.ts.html |here} to see how to use ListBaseccVmClusterUpdateHistoryEntries API.
|
|
19692
|
+
*/
|
|
19693
|
+
listBaseccVmClusterUpdateHistoryEntries(listBaseccVmClusterUpdateHistoryEntriesRequest) {
|
|
19694
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19695
|
+
if (this.logger)
|
|
19696
|
+
this.logger.debug("Calling operation DatabaseClient#listBaseccVmClusterUpdateHistoryEntries.");
|
|
19697
|
+
const operationName = "listBaseccVmClusterUpdateHistoryEntries";
|
|
19698
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdateHistoryEntry/ListBaseccVmClusterUpdateHistoryEntries";
|
|
19699
|
+
const pathParams = {
|
|
19700
|
+
"{baseccVmClusterId}": listBaseccVmClusterUpdateHistoryEntriesRequest.baseccVmClusterId
|
|
19701
|
+
};
|
|
19702
|
+
const queryParams = {
|
|
19703
|
+
"updateType": listBaseccVmClusterUpdateHistoryEntriesRequest.updateType,
|
|
19704
|
+
"lifecycleState": listBaseccVmClusterUpdateHistoryEntriesRequest.lifecycleState,
|
|
19705
|
+
"limit": listBaseccVmClusterUpdateHistoryEntriesRequest.limit,
|
|
19706
|
+
"page": listBaseccVmClusterUpdateHistoryEntriesRequest.page
|
|
19707
|
+
};
|
|
19708
|
+
let headerParams = {
|
|
19709
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
19710
|
+
"opc-request-id": listBaseccVmClusterUpdateHistoryEntriesRequest.opcRequestId
|
|
18867
19711
|
};
|
|
18868
19712
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
18869
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
19713
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaseccVmClusterUpdateHistoryEntriesRequest.retryConfiguration, specRetryConfiguration);
|
|
18870
19714
|
if (this.logger)
|
|
18871
19715
|
retrier.logger = this.logger;
|
|
18872
19716
|
const request = yield oci_common_2.composeRequest({
|
|
18873
19717
|
baseEndpoint: this._endpoint,
|
|
18874
19718
|
defaultHeaders: this._defaultHeaders,
|
|
18875
|
-
path: "/
|
|
19719
|
+
path: "/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries",
|
|
18876
19720
|
method: "GET",
|
|
18877
19721
|
pathParams: pathParams,
|
|
18878
19722
|
headerParams: headerParams,
|
|
@@ -18884,8 +19728,8 @@ class DatabaseClient {
|
|
|
18884
19728
|
responseObject: {},
|
|
18885
19729
|
body: yield response.json(),
|
|
18886
19730
|
bodyKey: "items",
|
|
18887
|
-
bodyModel: model.
|
|
18888
|
-
type: "Array<model.
|
|
19731
|
+
bodyModel: model.BaseccVmClusterUpdateHistoryEntrySummary,
|
|
19732
|
+
type: "Array<model.BaseccVmClusterUpdateHistoryEntrySummary>",
|
|
18889
19733
|
responseHeaders: [
|
|
18890
19734
|
{
|
|
18891
19735
|
value: response.headers.get("opc-request-id"),
|
|
@@ -18907,79 +19751,81 @@ class DatabaseClient {
|
|
|
18907
19751
|
});
|
|
18908
19752
|
}
|
|
18909
19753
|
/**
|
|
18910
|
-
* NOTE: This function is deprecated in favor of
|
|
18911
|
-
* Creates a new async iterator which will iterate over the models.
|
|
18912
|
-
* contained in responses from the
|
|
19754
|
+
* NOTE: This function is deprecated in favor of listBaseccVmClusterUpdateHistoryEntriesRecordIterator function.
|
|
19755
|
+
* Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateHistoryEntrySummary objects
|
|
19756
|
+
* contained in responses from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator will fetch more data from the
|
|
18913
19757
|
* server as needed.
|
|
18914
19758
|
*
|
|
18915
19759
|
* @param request a request which can be sent to the service operation
|
|
18916
19760
|
*/
|
|
18917
|
-
|
|
18918
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
19761
|
+
listAllBaseccVmClusterUpdateHistoryEntries(request) {
|
|
19762
|
+
return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
|
|
18919
19763
|
}
|
|
18920
19764
|
/**
|
|
18921
|
-
* NOTE: This function is deprecated in favor of
|
|
18922
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
19765
|
+
* NOTE: This function is deprecated in favor of listBaseccVmClusterUpdateHistoryEntriesResponseIterator function.
|
|
19766
|
+
* Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator
|
|
18923
19767
|
* will fetch more data from the server as needed.
|
|
18924
19768
|
*
|
|
18925
19769
|
* @param request a request which can be sent to the service operation
|
|
18926
19770
|
*/
|
|
18927
|
-
|
|
18928
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
19771
|
+
listAllBaseccVmClusterUpdateHistoryEntriesResponses(request) {
|
|
19772
|
+
return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
|
|
18929
19773
|
}
|
|
18930
19774
|
/**
|
|
18931
|
-
* Creates a new async iterator which will iterate over the models.
|
|
18932
|
-
* contained in responses from the
|
|
19775
|
+
* Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateHistoryEntrySummary objects
|
|
19776
|
+
* contained in responses from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator will fetch more data from the
|
|
18933
19777
|
* server as needed.
|
|
18934
19778
|
*
|
|
18935
19779
|
* @param request a request which can be sent to the service operation
|
|
18936
19780
|
*/
|
|
18937
|
-
|
|
18938
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
19781
|
+
listBaseccVmClusterUpdateHistoryEntriesRecordIterator(request) {
|
|
19782
|
+
return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
|
|
18939
19783
|
}
|
|
18940
19784
|
/**
|
|
18941
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
19785
|
+
* Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdateHistoryEntries operation. This iterator
|
|
18942
19786
|
* will fetch more data from the server as needed.
|
|
18943
19787
|
*
|
|
18944
19788
|
* @param request a request which can be sent to the service operation
|
|
18945
19789
|
*/
|
|
18946
|
-
|
|
18947
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
19790
|
+
listBaseccVmClusterUpdateHistoryEntriesResponseIterator(request) {
|
|
19791
|
+
return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdateHistoryEntries(req));
|
|
18948
19792
|
}
|
|
18949
19793
|
/**
|
|
18950
|
-
*
|
|
19794
|
+
* Lists the maintenance updates that can be applied to the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
18951
19795
|
*
|
|
18952
19796
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
18953
|
-
* @param
|
|
18954
|
-
* @return
|
|
19797
|
+
* @param ListBaseccVmClusterUpdatesRequest
|
|
19798
|
+
* @return ListBaseccVmClusterUpdatesResponse
|
|
18955
19799
|
* @throws OciError when an error occurs
|
|
18956
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/
|
|
19800
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBaseccVmClusterUpdates.ts.html |here} to see how to use ListBaseccVmClusterUpdates API.
|
|
18957
19801
|
*/
|
|
18958
|
-
|
|
19802
|
+
listBaseccVmClusterUpdates(listBaseccVmClusterUpdatesRequest) {
|
|
18959
19803
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18960
19804
|
if (this.logger)
|
|
18961
|
-
this.logger.debug("Calling operation DatabaseClient#
|
|
18962
|
-
const operationName = "
|
|
18963
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/
|
|
18964
|
-
const pathParams = {
|
|
19805
|
+
this.logger.debug("Calling operation DatabaseClient#listBaseccVmClusterUpdates.");
|
|
19806
|
+
const operationName = "listBaseccVmClusterUpdates";
|
|
19807
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdate/ListBaseccVmClusterUpdates";
|
|
19808
|
+
const pathParams = {
|
|
19809
|
+
"{baseccVmClusterId}": listBaseccVmClusterUpdatesRequest.baseccVmClusterId
|
|
19810
|
+
};
|
|
18965
19811
|
const queryParams = {
|
|
18966
|
-
"
|
|
18967
|
-
"
|
|
18968
|
-
"
|
|
18969
|
-
"
|
|
19812
|
+
"updateType": listBaseccVmClusterUpdatesRequest.updateType,
|
|
19813
|
+
"lifecycleState": listBaseccVmClusterUpdatesRequest.lifecycleState,
|
|
19814
|
+
"limit": listBaseccVmClusterUpdatesRequest.limit,
|
|
19815
|
+
"page": listBaseccVmClusterUpdatesRequest.page
|
|
18970
19816
|
};
|
|
18971
19817
|
let headerParams = {
|
|
18972
19818
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18973
|
-
"opc-request-id":
|
|
19819
|
+
"opc-request-id": listBaseccVmClusterUpdatesRequest.opcRequestId
|
|
18974
19820
|
};
|
|
18975
19821
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
18976
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
19822
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaseccVmClusterUpdatesRequest.retryConfiguration, specRetryConfiguration);
|
|
18977
19823
|
if (this.logger)
|
|
18978
19824
|
retrier.logger = this.logger;
|
|
18979
19825
|
const request = yield oci_common_2.composeRequest({
|
|
18980
19826
|
baseEndpoint: this._endpoint,
|
|
18981
19827
|
defaultHeaders: this._defaultHeaders,
|
|
18982
|
-
path: "/
|
|
19828
|
+
path: "/baseccVmClusters/{baseccVmClusterId}/updates",
|
|
18983
19829
|
method: "GET",
|
|
18984
19830
|
pathParams: pathParams,
|
|
18985
19831
|
headerParams: headerParams,
|
|
@@ -18991,14 +19837,9 @@ class DatabaseClient {
|
|
|
18991
19837
|
responseObject: {},
|
|
18992
19838
|
body: yield response.json(),
|
|
18993
19839
|
bodyKey: "items",
|
|
18994
|
-
bodyModel: model.
|
|
18995
|
-
type: "Array<model.
|
|
19840
|
+
bodyModel: model.BaseccVmClusterUpdateSummary,
|
|
19841
|
+
type: "Array<model.BaseccVmClusterUpdateSummary>",
|
|
18996
19842
|
responseHeaders: [
|
|
18997
|
-
{
|
|
18998
|
-
value: response.headers.get("etag"),
|
|
18999
|
-
key: "etag",
|
|
19000
|
-
dataType: "string"
|
|
19001
|
-
},
|
|
19002
19843
|
{
|
|
19003
19844
|
value: response.headers.get("opc-request-id"),
|
|
19004
19845
|
key: "opcRequestId",
|
|
@@ -19019,85 +19860,85 @@ class DatabaseClient {
|
|
|
19019
19860
|
});
|
|
19020
19861
|
}
|
|
19021
19862
|
/**
|
|
19022
|
-
* NOTE: This function is deprecated in favor of
|
|
19023
|
-
* Creates a new async iterator which will iterate over the models.
|
|
19024
|
-
* contained in responses from the
|
|
19863
|
+
* NOTE: This function is deprecated in favor of listBaseccVmClusterUpdatesRecordIterator function.
|
|
19864
|
+
* Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateSummary objects
|
|
19865
|
+
* contained in responses from the listBaseccVmClusterUpdates operation. This iterator will fetch more data from the
|
|
19025
19866
|
* server as needed.
|
|
19026
19867
|
*
|
|
19027
19868
|
* @param request a request which can be sent to the service operation
|
|
19028
19869
|
*/
|
|
19029
|
-
|
|
19030
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
19870
|
+
listAllBaseccVmClusterUpdates(request) {
|
|
19871
|
+
return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdates(req));
|
|
19031
19872
|
}
|
|
19032
19873
|
/**
|
|
19033
|
-
* NOTE: This function is deprecated in favor of
|
|
19034
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
19874
|
+
* NOTE: This function is deprecated in favor of listBaseccVmClusterUpdatesResponseIterator function.
|
|
19875
|
+
* Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdates operation. This iterator
|
|
19035
19876
|
* will fetch more data from the server as needed.
|
|
19036
19877
|
*
|
|
19037
19878
|
* @param request a request which can be sent to the service operation
|
|
19038
19879
|
*/
|
|
19039
|
-
|
|
19040
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
19880
|
+
listAllBaseccVmClusterUpdatesResponses(request) {
|
|
19881
|
+
return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdates(req));
|
|
19041
19882
|
}
|
|
19042
19883
|
/**
|
|
19043
|
-
* Creates a new async iterator which will iterate over the models.
|
|
19044
|
-
* contained in responses from the
|
|
19884
|
+
* Creates a new async iterator which will iterate over the models.BaseccVmClusterUpdateSummary objects
|
|
19885
|
+
* contained in responses from the listBaseccVmClusterUpdates operation. This iterator will fetch more data from the
|
|
19045
19886
|
* server as needed.
|
|
19046
19887
|
*
|
|
19047
19888
|
* @param request a request which can be sent to the service operation
|
|
19048
19889
|
*/
|
|
19049
|
-
|
|
19050
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
19890
|
+
listBaseccVmClusterUpdatesRecordIterator(request) {
|
|
19891
|
+
return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusterUpdates(req));
|
|
19051
19892
|
}
|
|
19052
19893
|
/**
|
|
19053
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
19894
|
+
* Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusterUpdates operation. This iterator
|
|
19054
19895
|
* will fetch more data from the server as needed.
|
|
19055
19896
|
*
|
|
19056
19897
|
* @param request a request which can be sent to the service operation
|
|
19057
19898
|
*/
|
|
19058
|
-
|
|
19059
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
19899
|
+
listBaseccVmClusterUpdatesResponseIterator(request) {
|
|
19900
|
+
return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusterUpdates(req));
|
|
19060
19901
|
}
|
|
19061
19902
|
/**
|
|
19062
|
-
*
|
|
19903
|
+
* Lists the BaseDB-C@C VM clusters in the specified compartment. Applies to Base Database Service on Cloud@Customer instances only.
|
|
19063
19904
|
*
|
|
19064
19905
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
19065
|
-
* @param
|
|
19066
|
-
* @return
|
|
19906
|
+
* @param ListBaseccVmClustersRequest
|
|
19907
|
+
* @return ListBaseccVmClustersResponse
|
|
19067
19908
|
* @throws OciError when an error occurs
|
|
19068
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/
|
|
19909
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListBaseccVmClusters.ts.html |here} to see how to use ListBaseccVmClusters API.
|
|
19069
19910
|
*/
|
|
19070
|
-
|
|
19911
|
+
listBaseccVmClusters(listBaseccVmClustersRequest) {
|
|
19071
19912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19072
19913
|
if (this.logger)
|
|
19073
|
-
this.logger.debug("Calling operation DatabaseClient#
|
|
19074
|
-
const operationName = "
|
|
19075
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/
|
|
19914
|
+
this.logger.debug("Calling operation DatabaseClient#listBaseccVmClusters.");
|
|
19915
|
+
const operationName = "listBaseccVmClusters";
|
|
19916
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/ListBaseccVmClusters";
|
|
19076
19917
|
const pathParams = {};
|
|
19077
19918
|
const queryParams = {
|
|
19078
|
-
"
|
|
19079
|
-
"
|
|
19080
|
-
"limit":
|
|
19081
|
-
"page":
|
|
19082
|
-
"
|
|
19083
|
-
"
|
|
19084
|
-
"
|
|
19085
|
-
"
|
|
19086
|
-
"
|
|
19087
|
-
"
|
|
19088
|
-
"backupDestinationType": listBackupsRequest.backupDestinationType
|
|
19919
|
+
"compartmentId": listBaseccVmClustersRequest.compartmentId,
|
|
19920
|
+
"baseInfrastructureId": listBaseccVmClustersRequest.baseInfrastructureId,
|
|
19921
|
+
"limit": listBaseccVmClustersRequest.limit,
|
|
19922
|
+
"page": listBaseccVmClustersRequest.page,
|
|
19923
|
+
"sortBy": listBaseccVmClustersRequest.sortBy,
|
|
19924
|
+
"sortOrder": listBaseccVmClustersRequest.sortOrder,
|
|
19925
|
+
"lifecycleState": listBaseccVmClustersRequest.lifecycleState,
|
|
19926
|
+
"availabilityDomain": listBaseccVmClustersRequest.availabilityDomain,
|
|
19927
|
+
"displayName": listBaseccVmClustersRequest.displayName,
|
|
19928
|
+
"vmClusterType": listBaseccVmClustersRequest.vmClusterType
|
|
19089
19929
|
};
|
|
19090
19930
|
let headerParams = {
|
|
19091
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
19931
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
19932
|
+
"opc-request-id": listBaseccVmClustersRequest.opcRequestId
|
|
19092
19933
|
};
|
|
19093
19934
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
19094
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
19935
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaseccVmClustersRequest.retryConfiguration, specRetryConfiguration);
|
|
19095
19936
|
if (this.logger)
|
|
19096
19937
|
retrier.logger = this.logger;
|
|
19097
19938
|
const request = yield oci_common_2.composeRequest({
|
|
19098
19939
|
baseEndpoint: this._endpoint,
|
|
19099
19940
|
defaultHeaders: this._defaultHeaders,
|
|
19100
|
-
path: "/
|
|
19941
|
+
path: "/baseccVmClusters",
|
|
19101
19942
|
method: "GET",
|
|
19102
19943
|
pathParams: pathParams,
|
|
19103
19944
|
headerParams: headerParams,
|
|
@@ -19109,8 +19950,8 @@ class DatabaseClient {
|
|
|
19109
19950
|
responseObject: {},
|
|
19110
19951
|
body: yield response.json(),
|
|
19111
19952
|
bodyKey: "items",
|
|
19112
|
-
bodyModel: model.
|
|
19113
|
-
type: "Array<model.
|
|
19953
|
+
bodyModel: model.BaseccVmClusterSummary,
|
|
19954
|
+
type: "Array<model.BaseccVmClusterSummary>",
|
|
19114
19955
|
responseHeaders: [
|
|
19115
19956
|
{
|
|
19116
19957
|
value: response.headers.get("opc-request-id"),
|
|
@@ -19132,44 +19973,44 @@ class DatabaseClient {
|
|
|
19132
19973
|
});
|
|
19133
19974
|
}
|
|
19134
19975
|
/**
|
|
19135
|
-
* NOTE: This function is deprecated in favor of
|
|
19136
|
-
* Creates a new async iterator which will iterate over the models.
|
|
19137
|
-
* contained in responses from the
|
|
19976
|
+
* NOTE: This function is deprecated in favor of listBaseccVmClustersRecordIterator function.
|
|
19977
|
+
* Creates a new async iterator which will iterate over the models.BaseccVmClusterSummary objects
|
|
19978
|
+
* contained in responses from the listBaseccVmClusters operation. This iterator will fetch more data from the
|
|
19138
19979
|
* server as needed.
|
|
19139
19980
|
*
|
|
19140
19981
|
* @param request a request which can be sent to the service operation
|
|
19141
19982
|
*/
|
|
19142
|
-
|
|
19143
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
19983
|
+
listAllBaseccVmClusters(request) {
|
|
19984
|
+
return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusters(req));
|
|
19144
19985
|
}
|
|
19145
19986
|
/**
|
|
19146
|
-
* NOTE: This function is deprecated in favor of
|
|
19147
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
19987
|
+
* NOTE: This function is deprecated in favor of listBaseccVmClustersResponseIterator function.
|
|
19988
|
+
* Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusters operation. This iterator
|
|
19148
19989
|
* will fetch more data from the server as needed.
|
|
19149
19990
|
*
|
|
19150
19991
|
* @param request a request which can be sent to the service operation
|
|
19151
19992
|
*/
|
|
19152
|
-
|
|
19153
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
19993
|
+
listAllBaseccVmClustersResponses(request) {
|
|
19994
|
+
return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusters(req));
|
|
19154
19995
|
}
|
|
19155
19996
|
/**
|
|
19156
|
-
* Creates a new async iterator which will iterate over the models.
|
|
19157
|
-
* contained in responses from the
|
|
19997
|
+
* Creates a new async iterator which will iterate over the models.BaseccVmClusterSummary objects
|
|
19998
|
+
* contained in responses from the listBaseccVmClusters operation. This iterator will fetch more data from the
|
|
19158
19999
|
* server as needed.
|
|
19159
20000
|
*
|
|
19160
20001
|
* @param request a request which can be sent to the service operation
|
|
19161
20002
|
*/
|
|
19162
|
-
|
|
19163
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
20003
|
+
listBaseccVmClustersRecordIterator(request) {
|
|
20004
|
+
return oci_common_1.paginateRecords(request, req => this.listBaseccVmClusters(req));
|
|
19164
20005
|
}
|
|
19165
20006
|
/**
|
|
19166
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
20007
|
+
* Creates a new async iterator which will iterate over the responses received from the listBaseccVmClusters operation. This iterator
|
|
19167
20008
|
* will fetch more data from the server as needed.
|
|
19168
20009
|
*
|
|
19169
20010
|
* @param request a request which can be sent to the service operation
|
|
19170
20011
|
*/
|
|
19171
|
-
|
|
19172
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
20012
|
+
listBaseccVmClustersResponseIterator(request) {
|
|
20013
|
+
return oci_common_1.paginateResponses(request, req => this.listBaseccVmClusters(req));
|
|
19173
20014
|
}
|
|
19174
20015
|
/**
|
|
19175
20016
|
* Gets the list of resource usage details for all the Cloud Autonomous Container Database
|
|
@@ -20429,7 +21270,9 @@ class DatabaseClient {
|
|
|
20429
21270
|
"sortBy": listDatabasesRequest.sortBy,
|
|
20430
21271
|
"sortOrder": listDatabasesRequest.sortOrder,
|
|
20431
21272
|
"lifecycleState": listDatabasesRequest.lifecycleState,
|
|
20432
|
-
"dbName": listDatabasesRequest.dbName
|
|
21273
|
+
"dbName": listDatabasesRequest.dbName,
|
|
21274
|
+
"managedAutoFailover": listDatabasesRequest.managedAutoFailover,
|
|
21275
|
+
"failoverTargets": listDatabasesRequest.failoverTargets
|
|
20433
21276
|
};
|
|
20434
21277
|
let headerParams = {
|
|
20435
21278
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
@@ -23626,6 +24469,7 @@ class DatabaseClient {
|
|
|
23626
24469
|
const queryParams = {
|
|
23627
24470
|
"availabilityDomain": listGiVersionMinorVersionsRequest.availabilityDomain,
|
|
23628
24471
|
"compartmentId": listGiVersionMinorVersionsRequest.compartmentId,
|
|
24472
|
+
"exadataInfrastructureId": listGiVersionMinorVersionsRequest.exadataInfrastructureId,
|
|
23629
24473
|
"shapeFamily": listGiVersionMinorVersionsRequest.shapeFamily,
|
|
23630
24474
|
"isGiVersionForProvisioning": listGiVersionMinorVersionsRequest.isGiVersionForProvisioning,
|
|
23631
24475
|
"shape": listGiVersionMinorVersionsRequest.shape,
|
|
@@ -27022,6 +27866,69 @@ class DatabaseClient {
|
|
|
27022
27866
|
}
|
|
27023
27867
|
});
|
|
27024
27868
|
}
|
|
27869
|
+
/**
|
|
27870
|
+
* Install the PKCS11 driver for given keystore type
|
|
27871
|
+
*
|
|
27872
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
27873
|
+
* @param RegisterExadbVmClusterPkcsRequest
|
|
27874
|
+
* @return RegisterExadbVmClusterPkcsResponse
|
|
27875
|
+
* @throws OciError when an error occurs
|
|
27876
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RegisterExadbVmClusterPkcs.ts.html |here} to see how to use RegisterExadbVmClusterPkcs API.
|
|
27877
|
+
*/
|
|
27878
|
+
registerExadbVmClusterPkcs(registerExadbVmClusterPkcsRequest) {
|
|
27879
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27880
|
+
if (this.logger)
|
|
27881
|
+
this.logger.debug("Calling operation DatabaseClient#registerExadbVmClusterPkcs.");
|
|
27882
|
+
const operationName = "registerExadbVmClusterPkcs";
|
|
27883
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/RegisterExadbVmClusterPkcs";
|
|
27884
|
+
const pathParams = {
|
|
27885
|
+
"{exadbVmClusterId}": registerExadbVmClusterPkcsRequest.exadbVmClusterId
|
|
27886
|
+
};
|
|
27887
|
+
const queryParams = {};
|
|
27888
|
+
let headerParams = {
|
|
27889
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27890
|
+
"opc-retry-token": registerExadbVmClusterPkcsRequest.opcRetryToken,
|
|
27891
|
+
"opc-request-id": registerExadbVmClusterPkcsRequest.opcRequestId,
|
|
27892
|
+
"if-match": registerExadbVmClusterPkcsRequest.ifMatch
|
|
27893
|
+
};
|
|
27894
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
27895
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, registerExadbVmClusterPkcsRequest.retryConfiguration, specRetryConfiguration);
|
|
27896
|
+
if (this.logger)
|
|
27897
|
+
retrier.logger = this.logger;
|
|
27898
|
+
const request = yield oci_common_2.composeRequest({
|
|
27899
|
+
baseEndpoint: this._endpoint,
|
|
27900
|
+
defaultHeaders: this._defaultHeaders,
|
|
27901
|
+
path: "/exadbVmClusters/{exadbVmClusterId}/actions/registerPkcs",
|
|
27902
|
+
method: "POST",
|
|
27903
|
+
bodyContent: common.ObjectSerializer.serialize(registerExadbVmClusterPkcsRequest.registerExadbVmClusterPkcsDetails, "RegisterExadbVmClusterPkcsDetails", model.RegisterExadbVmClusterPkcsDetails.getJsonObj),
|
|
27904
|
+
pathParams: pathParams,
|
|
27905
|
+
headerParams: headerParams,
|
|
27906
|
+
queryParams: queryParams
|
|
27907
|
+
});
|
|
27908
|
+
try {
|
|
27909
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
27910
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
27911
|
+
responseObject: {},
|
|
27912
|
+
responseHeaders: [
|
|
27913
|
+
{
|
|
27914
|
+
value: response.headers.get("opc-work-request-id"),
|
|
27915
|
+
key: "opcWorkRequestId",
|
|
27916
|
+
dataType: "string"
|
|
27917
|
+
},
|
|
27918
|
+
{
|
|
27919
|
+
value: response.headers.get("opc-request-id"),
|
|
27920
|
+
key: "opcRequestId",
|
|
27921
|
+
dataType: "string"
|
|
27922
|
+
}
|
|
27923
|
+
]
|
|
27924
|
+
});
|
|
27925
|
+
return sdkResponse;
|
|
27926
|
+
}
|
|
27927
|
+
catch (err) {
|
|
27928
|
+
throw err;
|
|
27929
|
+
}
|
|
27930
|
+
});
|
|
27931
|
+
}
|
|
27025
27932
|
/**
|
|
27026
27933
|
* Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see
|
|
27027
27934
|
* [Reinstate the Disabled Standby in an Autonomous Data Guard Configuration](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-B5C6A90D-72E3-4F32-988D-8AECC0A2D947).
|
|
@@ -30539,6 +31446,69 @@ class DatabaseClient {
|
|
|
30539
31446
|
}
|
|
30540
31447
|
});
|
|
30541
31448
|
}
|
|
31449
|
+
/**
|
|
31450
|
+
* Uninstall the PKCS11 driver for given keystore type
|
|
31451
|
+
*
|
|
31452
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
31453
|
+
* @param UnregisterExadbVmClusterPkcsRequest
|
|
31454
|
+
* @return UnregisterExadbVmClusterPkcsResponse
|
|
31455
|
+
* @throws OciError when an error occurs
|
|
31456
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnregisterExadbVmClusterPkcs.ts.html |here} to see how to use UnregisterExadbVmClusterPkcs API.
|
|
31457
|
+
*/
|
|
31458
|
+
unregisterExadbVmClusterPkcs(unregisterExadbVmClusterPkcsRequest) {
|
|
31459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31460
|
+
if (this.logger)
|
|
31461
|
+
this.logger.debug("Calling operation DatabaseClient#unregisterExadbVmClusterPkcs.");
|
|
31462
|
+
const operationName = "unregisterExadbVmClusterPkcs";
|
|
31463
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/UnregisterExadbVmClusterPkcs";
|
|
31464
|
+
const pathParams = {
|
|
31465
|
+
"{exadbVmClusterId}": unregisterExadbVmClusterPkcsRequest.exadbVmClusterId
|
|
31466
|
+
};
|
|
31467
|
+
const queryParams = {};
|
|
31468
|
+
let headerParams = {
|
|
31469
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
31470
|
+
"opc-retry-token": unregisterExadbVmClusterPkcsRequest.opcRetryToken,
|
|
31471
|
+
"opc-request-id": unregisterExadbVmClusterPkcsRequest.opcRequestId,
|
|
31472
|
+
"if-match": unregisterExadbVmClusterPkcsRequest.ifMatch
|
|
31473
|
+
};
|
|
31474
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
31475
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unregisterExadbVmClusterPkcsRequest.retryConfiguration, specRetryConfiguration);
|
|
31476
|
+
if (this.logger)
|
|
31477
|
+
retrier.logger = this.logger;
|
|
31478
|
+
const request = yield oci_common_2.composeRequest({
|
|
31479
|
+
baseEndpoint: this._endpoint,
|
|
31480
|
+
defaultHeaders: this._defaultHeaders,
|
|
31481
|
+
path: "/exadbVmClusters/{exadbVmClusterId}/actions/unregisterPkcs",
|
|
31482
|
+
method: "POST",
|
|
31483
|
+
bodyContent: common.ObjectSerializer.serialize(unregisterExadbVmClusterPkcsRequest.unregisterExadbVmClusterPkcsDetails, "UnregisterExadbVmClusterPkcsDetails", model.UnregisterExadbVmClusterPkcsDetails.getJsonObj),
|
|
31484
|
+
pathParams: pathParams,
|
|
31485
|
+
headerParams: headerParams,
|
|
31486
|
+
queryParams: queryParams
|
|
31487
|
+
});
|
|
31488
|
+
try {
|
|
31489
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
31490
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
31491
|
+
responseObject: {},
|
|
31492
|
+
responseHeaders: [
|
|
31493
|
+
{
|
|
31494
|
+
value: response.headers.get("opc-work-request-id"),
|
|
31495
|
+
key: "opcWorkRequestId",
|
|
31496
|
+
dataType: "string"
|
|
31497
|
+
},
|
|
31498
|
+
{
|
|
31499
|
+
value: response.headers.get("opc-request-id"),
|
|
31500
|
+
key: "opcRequestId",
|
|
31501
|
+
dataType: "string"
|
|
31502
|
+
}
|
|
31503
|
+
]
|
|
31504
|
+
});
|
|
31505
|
+
return sdkResponse;
|
|
31506
|
+
}
|
|
31507
|
+
catch (err) {
|
|
31508
|
+
throw err;
|
|
31509
|
+
}
|
|
31510
|
+
});
|
|
31511
|
+
}
|
|
30542
31512
|
/**
|
|
30543
31513
|
* Updates the advanced cluster file system resource.
|
|
30544
31514
|
*
|
|
@@ -31361,6 +32331,77 @@ class DatabaseClient {
|
|
|
31361
32331
|
}
|
|
31362
32332
|
});
|
|
31363
32333
|
}
|
|
32334
|
+
/**
|
|
32335
|
+
* Updates the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
32336
|
+
*
|
|
32337
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
32338
|
+
* @param UpdateBaseccVmClusterRequest
|
|
32339
|
+
* @return UpdateBaseccVmClusterResponse
|
|
32340
|
+
* @throws OciError when an error occurs
|
|
32341
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateBaseccVmCluster.ts.html |here} to see how to use UpdateBaseccVmCluster API.
|
|
32342
|
+
*/
|
|
32343
|
+
updateBaseccVmCluster(updateBaseccVmClusterRequest) {
|
|
32344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32345
|
+
if (this.logger)
|
|
32346
|
+
this.logger.debug("Calling operation DatabaseClient#updateBaseccVmCluster.");
|
|
32347
|
+
const operationName = "updateBaseccVmCluster";
|
|
32348
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/UpdateBaseccVmCluster";
|
|
32349
|
+
const pathParams = {
|
|
32350
|
+
"{baseccVmClusterId}": updateBaseccVmClusterRequest.baseccVmClusterId
|
|
32351
|
+
};
|
|
32352
|
+
const queryParams = {};
|
|
32353
|
+
let headerParams = {
|
|
32354
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
32355
|
+
"if-match": updateBaseccVmClusterRequest.ifMatch,
|
|
32356
|
+
"opc-request-id": updateBaseccVmClusterRequest.opcRequestId
|
|
32357
|
+
};
|
|
32358
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
32359
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBaseccVmClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
32360
|
+
if (this.logger)
|
|
32361
|
+
retrier.logger = this.logger;
|
|
32362
|
+
const request = yield oci_common_2.composeRequest({
|
|
32363
|
+
baseEndpoint: this._endpoint,
|
|
32364
|
+
defaultHeaders: this._defaultHeaders,
|
|
32365
|
+
path: "/baseccVmClusters/{baseccVmClusterId}",
|
|
32366
|
+
method: "PUT",
|
|
32367
|
+
bodyContent: common.ObjectSerializer.serialize(updateBaseccVmClusterRequest.updateBaseccVmClusterDetails, "UpdateBaseccVmClusterDetails", model.UpdateBaseccVmClusterDetails.getJsonObj),
|
|
32368
|
+
pathParams: pathParams,
|
|
32369
|
+
headerParams: headerParams,
|
|
32370
|
+
queryParams: queryParams
|
|
32371
|
+
});
|
|
32372
|
+
try {
|
|
32373
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
32374
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
32375
|
+
responseObject: {},
|
|
32376
|
+
body: yield response.json(),
|
|
32377
|
+
bodyKey: "baseccVmCluster",
|
|
32378
|
+
bodyModel: model.BaseccVmCluster,
|
|
32379
|
+
type: "model.BaseccVmCluster",
|
|
32380
|
+
responseHeaders: [
|
|
32381
|
+
{
|
|
32382
|
+
value: response.headers.get("opc-work-request-id"),
|
|
32383
|
+
key: "opcWorkRequestId",
|
|
32384
|
+
dataType: "string"
|
|
32385
|
+
},
|
|
32386
|
+
{
|
|
32387
|
+
value: response.headers.get("etag"),
|
|
32388
|
+
key: "etag",
|
|
32389
|
+
dataType: "string"
|
|
32390
|
+
},
|
|
32391
|
+
{
|
|
32392
|
+
value: response.headers.get("opc-request-id"),
|
|
32393
|
+
key: "opcRequestId",
|
|
32394
|
+
dataType: "string"
|
|
32395
|
+
}
|
|
32396
|
+
]
|
|
32397
|
+
});
|
|
32398
|
+
return sdkResponse;
|
|
32399
|
+
}
|
|
32400
|
+
catch (err) {
|
|
32401
|
+
throw err;
|
|
32402
|
+
}
|
|
32403
|
+
});
|
|
32404
|
+
}
|
|
31364
32405
|
/**
|
|
31365
32406
|
* Updates the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {@link #updateAutonomousVmCluster(UpdateAutonomousVmClusterRequest) updateAutonomousVmCluster}.
|
|
31366
32407
|
*
|