oci-database 2.123.0 → 2.124.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 +103 -1
- package/lib/client.js +537 -2
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +48 -0
- package/lib/database-waiter.js +90 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/associated-resource-details.d.ts +26 -0
- package/lib/model/associated-resource-details.js +30 -0
- package/lib/model/associated-resource-details.js.map +1 -0
- package/lib/model/autonomous-container-database-summary.d.ts +1 -0
- package/lib/model/autonomous-container-database-summary.js +6 -0
- package/lib/model/autonomous-container-database-summary.js.map +1 -1
- package/lib/model/autonomous-container-database.d.ts +1 -0
- package/lib/model/autonomous-container-database.js +6 -0
- package/lib/model/autonomous-container-database.js.map +1 -1
- package/lib/model/autonomous-database-backup-summary.d.ts +4 -0
- package/lib/model/autonomous-database-backup-summary.js.map +1 -1
- package/lib/model/autonomous-database-backup.d.ts +4 -0
- package/lib/model/autonomous-database-backup.js.map +1 -1
- package/lib/model/autonomous-database-dataguard-association.d.ts +1 -0
- package/lib/model/autonomous-database-dataguard-association.js +1 -0
- package/lib/model/autonomous-database-dataguard-association.js.map +1 -1
- package/lib/model/autonomous-database-standby-summary.d.ts +1 -0
- package/lib/model/autonomous-database-standby-summary.js +1 -0
- package/lib/model/autonomous-database-standby-summary.js.map +1 -1
- package/lib/model/autonomous-database-summary.d.ts +7 -1
- package/lib/model/autonomous-database-summary.js +7 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database.d.ts +7 -1
- package/lib/model/autonomous-database.js +7 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-db-version-summary.d.ts +4 -0
- package/lib/model/autonomous-db-version-summary.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +8 -2
- package/lib/model/autonomous-dw-database.js +7 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/change-db-connection-bundle-compartment-details.d.ts +26 -0
- package/lib/model/change-db-connection-bundle-compartment-details.js +30 -0
- package/lib/model/change-db-connection-bundle-compartment-details.js.map +1 -0
- package/lib/model/cloud-autonomous-vm-cluster-summary.d.ts +19 -0
- package/lib/model/cloud-autonomous-vm-cluster-summary.js +22 -0
- package/lib/model/cloud-autonomous-vm-cluster-summary.js.map +1 -1
- package/lib/model/cloud-autonomous-vm-cluster.d.ts +19 -0
- package/lib/model/cloud-autonomous-vm-cluster.js +22 -0
- package/lib/model/cloud-autonomous-vm-cluster.js.map +1 -1
- package/lib/model/create-autonomous-container-database-base.d.ts +1 -0
- package/lib/model/create-autonomous-container-database-base.js +6 -0
- package/lib/model/create-autonomous-container-database-base.js.map +1 -1
- package/lib/model/create-autonomous-database-base.d.ts +5 -0
- package/lib/model/create-autonomous-database-base.js +6 -0
- package/lib/model/create-autonomous-database-base.js.map +1 -1
- package/lib/model/create-db-connection-bundle-details.d.ts +61 -0
- package/lib/model/create-db-connection-bundle-details.js +67 -0
- package/lib/model/create-db-connection-bundle-details.js.map +1 -0
- package/lib/model/create-exascale-db-storage-vault-details.d.ts +1 -1
- package/lib/model/create-scheduled-action-details.d.ts +4 -1
- package/lib/model/create-scheduled-action-details.js +3 -0
- package/lib/model/create-scheduled-action-details.js.map +1 -1
- package/lib/model/data-patch-options.d.ts +26 -0
- package/lib/model/data-patch-options.js +30 -0
- package/lib/model/data-patch-options.js.map +1 -0
- package/lib/model/database-summary.d.ts +4 -0
- package/lib/model/database-summary.js.map +1 -1
- package/lib/model/database.d.ts +4 -0
- package/lib/model/database.js.map +1 -1
- package/lib/model/db-connection-bundle-summary.d.ts +108 -0
- package/lib/model/db-connection-bundle-summary.js +87 -0
- package/lib/model/db-connection-bundle-summary.js.map +1 -0
- package/lib/model/db-connection-bundle.d.ts +108 -0
- package/lib/model/db-connection-bundle.js +87 -0
- package/lib/model/db-connection-bundle.js.map +1 -0
- package/lib/model/download-db-connection-bundle-details.d.ts +27 -0
- package/lib/model/download-db-connection-bundle-details.js +30 -0
- package/lib/model/download-db-connection-bundle-details.js.map +1 -0
- package/lib/model/exascale-db-storage-vault-summary.d.ts +1 -1
- package/lib/model/exascale-db-storage-vault.d.ts +1 -1
- package/lib/model/execution-action-summary.d.ts +1 -0
- package/lib/model/execution-action-summary.js +1 -0
- package/lib/model/execution-action-summary.js.map +1 -1
- package/lib/model/execution-action.d.ts +1 -0
- package/lib/model/execution-action.js +1 -0
- package/lib/model/execution-action.js.map +1 -1
- package/lib/model/execution-window-summary.d.ts +5 -0
- package/lib/model/execution-window-summary.js +1 -0
- package/lib/model/execution-window-summary.js.map +1 -1
- package/lib/model/execution-window.d.ts +5 -0
- package/lib/model/execution-window.js +1 -0
- package/lib/model/execution-window.js.map +1 -1
- package/lib/model/import-transportable-tablespace-details.d.ts +27 -0
- package/lib/model/import-transportable-tablespace-details.js +30 -0
- package/lib/model/import-transportable-tablespace-details.js.map +1 -0
- package/lib/model/index.d.ts +26 -0
- package/lib/model/index.js +37 -11
- package/lib/model/index.js.map +1 -1
- package/lib/model/maintenance-run-summary.d.ts +3 -0
- package/lib/model/maintenance-run-summary.js +3 -0
- package/lib/model/maintenance-run-summary.js.map +1 -1
- package/lib/model/maintenance-run.d.ts +3 -0
- package/lib/model/maintenance-run.js +3 -0
- package/lib/model/maintenance-run.js.map +1 -1
- package/lib/model/patch-details.d.ts +2 -0
- package/lib/model/patch-details.js +30 -2
- package/lib/model/patch-details.js.map +1 -1
- package/lib/model/patch-history-entry-summary.d.ts +2 -0
- package/lib/model/patch-history-entry-summary.js +30 -2
- package/lib/model/patch-history-entry-summary.js.map +1 -1
- package/lib/model/patch-history-entry.d.ts +2 -0
- package/lib/model/patch-history-entry.js +30 -2
- package/lib/model/patch-history-entry.js.map +1 -1
- package/lib/model/patch-options.d.ts +30 -0
- package/lib/model/patch-options.js +30 -0
- package/lib/model/patch-options.js.map +1 -0
- package/lib/model/pluggable-database-summary.d.ts +4 -0
- package/lib/model/pluggable-database-summary.js.map +1 -1
- package/lib/model/pluggable-database.d.ts +4 -0
- package/lib/model/pluggable-database.js.map +1 -1
- package/lib/model/recommended-scheduled-action-summary.d.ts +3 -0
- package/lib/model/recommended-scheduled-action-summary.js +3 -0
- package/lib/model/recommended-scheduled-action-summary.js.map +1 -1
- package/lib/model/register-cloud-autonomous-vm-cluster-pkcs-details.d.ts +33 -0
- package/lib/model/register-cloud-autonomous-vm-cluster-pkcs-details.js +37 -0
- package/lib/model/register-cloud-autonomous-vm-cluster-pkcs-details.js.map +1 -0
- package/lib/model/run-data-patch-details.d.ts +37 -0
- package/lib/model/run-data-patch-details.js +63 -0
- package/lib/model/run-data-patch-details.js.map +1 -0
- package/lib/model/scheduled-action-summary.d.ts +3 -0
- package/lib/model/scheduled-action-summary.js +3 -0
- package/lib/model/scheduled-action-summary.js.map +1 -1
- package/lib/model/scheduled-action.d.ts +3 -0
- package/lib/model/scheduled-action.js +3 -0
- package/lib/model/scheduled-action.js.map +1 -1
- package/lib/model/unregister-cloud-autonomous-vm-cluster-pkcs-details.d.ts +33 -0
- package/lib/model/unregister-cloud-autonomous-vm-cluster-pkcs-details.js +37 -0
- package/lib/model/unregister-cloud-autonomous-vm-cluster-pkcs-details.js.map +1 -0
- package/lib/model/update-autonomous-database-details.d.ts +5 -1
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/model/update-database-details.d.ts +1 -0
- package/lib/model/update-database-details.js +6 -0
- package/lib/model/update-database-details.js.map +1 -1
- package/lib/model/update-db-connection-bundle-details.d.ts +45 -0
- package/lib/model/update-db-connection-bundle-details.js +62 -0
- package/lib/model/update-db-connection-bundle-details.js.map +1 -0
- package/lib/model/update-exascale-db-storage-vault-details.d.ts +1 -1
- package/lib/request/download-db-connection-bundle-request.d.ts +48 -0
- package/lib/request/download-db-connection-bundle-request.js +15 -0
- package/lib/request/download-db-connection-bundle-request.js.map +1 -0
- package/lib/request/get-db-connection-bundle-request.d.ts +27 -0
- package/lib/request/get-db-connection-bundle-request.js +15 -0
- package/lib/request/get-db-connection-bundle-request.js.map +1 -0
- package/lib/request/import-transportable-tablespace-request.d.ts +54 -0
- package/lib/request/import-transportable-tablespace-request.js +15 -0
- package/lib/request/import-transportable-tablespace-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-db-connection-bundles-request.d.ts +85 -0
- package/lib/request/list-db-connection-bundles-request.js +44 -0
- package/lib/request/list-db-connection-bundles-request.js.map +1 -0
- package/lib/request/register-cloud-autonomous-vm-cluster-pkcs-request.d.ts +48 -0
- package/lib/request/register-cloud-autonomous-vm-cluster-pkcs-request.js +15 -0
- package/lib/request/register-cloud-autonomous-vm-cluster-pkcs-request.js.map +1 -0
- package/lib/request/restart-autonomous-database-request.d.ts +4 -0
- package/lib/request/run-data-patch-request.d.ts +48 -0
- package/lib/request/run-data-patch-request.js +15 -0
- package/lib/request/run-data-patch-request.js.map +1 -0
- package/lib/request/unregister-cloud-autonomous-vm-cluster-pkcs-request.d.ts +48 -0
- package/lib/request/unregister-cloud-autonomous-vm-cluster-pkcs-request.js +15 -0
- package/lib/request/unregister-cloud-autonomous-vm-cluster-pkcs-request.js.map +1 -0
- package/lib/response/download-db-connection-bundle-response.d.ts +46 -0
- package/lib/response/download-db-connection-bundle-response.js +15 -0
- package/lib/response/download-db-connection-bundle-response.js.map +1 -0
- package/lib/response/get-db-connection-bundle-response.d.ts +29 -0
- package/lib/response/get-db-connection-bundle-response.js +15 -0
- package/lib/response/get-db-connection-bundle-response.js.map +1 -0
- package/lib/response/import-transportable-tablespace-response.d.ts +34 -0
- package/lib/response/import-transportable-tablespace-response.js +15 -0
- package/lib/response/import-transportable-tablespace-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-db-connection-bundles-response.d.ts +33 -0
- package/lib/response/list-db-connection-bundles-response.js +15 -0
- package/lib/response/list-db-connection-bundles-response.js.map +1 -0
- package/lib/response/register-cloud-autonomous-vm-cluster-pkcs-response.d.ts +25 -0
- package/lib/response/register-cloud-autonomous-vm-cluster-pkcs-response.js +15 -0
- package/lib/response/register-cloud-autonomous-vm-cluster-pkcs-response.js.map +1 -0
- package/lib/response/run-data-patch-response.d.ts +34 -0
- package/lib/response/run-data-patch-response.js +15 -0
- package/lib/response/run-data-patch-response.js.map +1 -0
- package/lib/response/unregister-cloud-autonomous-vm-cluster-pkcs-response.d.ts +25 -0
- package/lib/response/unregister-cloud-autonomous-vm-cluster-pkcs-response.js +15 -0
- package/lib/response/unregister-cloud-autonomous-vm-cluster-pkcs-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -6710,7 +6710,7 @@ class DatabaseClient {
|
|
|
6710
6710
|
/**
|
|
6711
6711
|
* Performs one of the following power actions on the specified DB node:
|
|
6712
6712
|
* - start - power on
|
|
6713
|
-
* - stop - power off
|
|
6713
|
+
* - stop - power off gracefully
|
|
6714
6714
|
* - softreset - ACPI shutdown and power on
|
|
6715
6715
|
* - reset - power off and power on
|
|
6716
6716
|
* <p>
|
|
@@ -9766,6 +9766,93 @@ class DatabaseClient {
|
|
|
9766
9766
|
}
|
|
9767
9767
|
});
|
|
9768
9768
|
}
|
|
9769
|
+
/**
|
|
9770
|
+
* Downloads the specified database connection bundle content.
|
|
9771
|
+
* The bundle is returned as a binary file containing the connection details.
|
|
9772
|
+
*
|
|
9773
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9774
|
+
* @param DownloadDbConnectionBundleRequest
|
|
9775
|
+
* @return DownloadDbConnectionBundleResponse
|
|
9776
|
+
* @throws OciError when an error occurs
|
|
9777
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DownloadDbConnectionBundle.ts.html |here} to see how to use DownloadDbConnectionBundle API.
|
|
9778
|
+
*/
|
|
9779
|
+
downloadDbConnectionBundle(downloadDbConnectionBundleRequest) {
|
|
9780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9781
|
+
if (this.logger)
|
|
9782
|
+
this.logger.debug("Calling operation DatabaseClient#downloadDbConnectionBundle.");
|
|
9783
|
+
const operationName = "downloadDbConnectionBundle";
|
|
9784
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbConnectionBundle/DownloadDbConnectionBundle";
|
|
9785
|
+
const pathParams = {
|
|
9786
|
+
"{dbConnectionBundleId}": downloadDbConnectionBundleRequest.dbConnectionBundleId
|
|
9787
|
+
};
|
|
9788
|
+
const queryParams = {};
|
|
9789
|
+
let headerParams = {
|
|
9790
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9791
|
+
"opc-request-id": downloadDbConnectionBundleRequest.opcRequestId,
|
|
9792
|
+
"if-match": downloadDbConnectionBundleRequest.ifMatch,
|
|
9793
|
+
"opc-retry-token": downloadDbConnectionBundleRequest.opcRetryToken
|
|
9794
|
+
};
|
|
9795
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9796
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadDbConnectionBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
9797
|
+
if (this.logger)
|
|
9798
|
+
retrier.logger = this.logger;
|
|
9799
|
+
const request = yield oci_common_2.composeRequest({
|
|
9800
|
+
baseEndpoint: this._endpoint,
|
|
9801
|
+
defaultHeaders: this._defaultHeaders,
|
|
9802
|
+
path: "/dbConnectionBundles/{dbConnectionBundleId}/actions/download",
|
|
9803
|
+
method: "POST",
|
|
9804
|
+
bodyContent: common.ObjectSerializer.serialize(downloadDbConnectionBundleRequest.downloadDbConnectionBundleDetails, "DownloadDbConnectionBundleDetails", model.DownloadDbConnectionBundleDetails.getJsonObj),
|
|
9805
|
+
pathParams: pathParams,
|
|
9806
|
+
headerParams: headerParams,
|
|
9807
|
+
queryParams: queryParams
|
|
9808
|
+
});
|
|
9809
|
+
try {
|
|
9810
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9811
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
9812
|
+
responseObject: {},
|
|
9813
|
+
body: response.body,
|
|
9814
|
+
bodyKey: "value",
|
|
9815
|
+
bodyModel: "string",
|
|
9816
|
+
responseHeaders: [
|
|
9817
|
+
{
|
|
9818
|
+
value: response.headers.get("etag"),
|
|
9819
|
+
key: "etag",
|
|
9820
|
+
dataType: "string"
|
|
9821
|
+
},
|
|
9822
|
+
{
|
|
9823
|
+
value: response.headers.get("opc-request-id"),
|
|
9824
|
+
key: "opcRequestId",
|
|
9825
|
+
dataType: "string"
|
|
9826
|
+
},
|
|
9827
|
+
{
|
|
9828
|
+
value: response.headers.get("content-type"),
|
|
9829
|
+
key: "contentType",
|
|
9830
|
+
dataType: "string"
|
|
9831
|
+
},
|
|
9832
|
+
{
|
|
9833
|
+
value: response.headers.get("content-disposition"),
|
|
9834
|
+
key: "contentDisposition",
|
|
9835
|
+
dataType: "string"
|
|
9836
|
+
},
|
|
9837
|
+
{
|
|
9838
|
+
value: response.headers.get("content-length"),
|
|
9839
|
+
key: "contentLength",
|
|
9840
|
+
dataType: "number"
|
|
9841
|
+
},
|
|
9842
|
+
{
|
|
9843
|
+
value: response.headers.get("last-modified"),
|
|
9844
|
+
key: "lastModified",
|
|
9845
|
+
dataType: "Date"
|
|
9846
|
+
}
|
|
9847
|
+
]
|
|
9848
|
+
});
|
|
9849
|
+
return sdkResponse;
|
|
9850
|
+
}
|
|
9851
|
+
catch (err) {
|
|
9852
|
+
throw err;
|
|
9853
|
+
}
|
|
9854
|
+
});
|
|
9855
|
+
}
|
|
9769
9856
|
/**
|
|
9770
9857
|
* Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
|
|
9771
9858
|
*
|
|
@@ -13464,6 +13551,69 @@ class DatabaseClient {
|
|
|
13464
13551
|
}
|
|
13465
13552
|
});
|
|
13466
13553
|
}
|
|
13554
|
+
/**
|
|
13555
|
+
* Gets information about the specified database connection bundle.
|
|
13556
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
13557
|
+
* @param GetDbConnectionBundleRequest
|
|
13558
|
+
* @return GetDbConnectionBundleResponse
|
|
13559
|
+
* @throws OciError when an error occurs
|
|
13560
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetDbConnectionBundle.ts.html |here} to see how to use GetDbConnectionBundle API.
|
|
13561
|
+
*/
|
|
13562
|
+
getDbConnectionBundle(getDbConnectionBundleRequest) {
|
|
13563
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13564
|
+
if (this.logger)
|
|
13565
|
+
this.logger.debug("Calling operation DatabaseClient#getDbConnectionBundle.");
|
|
13566
|
+
const operationName = "getDbConnectionBundle";
|
|
13567
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbConnectionBundle/GetDbConnectionBundle";
|
|
13568
|
+
const pathParams = {
|
|
13569
|
+
"{dbConnectionBundleId}": getDbConnectionBundleRequest.dbConnectionBundleId
|
|
13570
|
+
};
|
|
13571
|
+
const queryParams = {};
|
|
13572
|
+
let headerParams = {
|
|
13573
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13574
|
+
"opc-request-id": getDbConnectionBundleRequest.opcRequestId
|
|
13575
|
+
};
|
|
13576
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
13577
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbConnectionBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
13578
|
+
if (this.logger)
|
|
13579
|
+
retrier.logger = this.logger;
|
|
13580
|
+
const request = yield oci_common_2.composeRequest({
|
|
13581
|
+
baseEndpoint: this._endpoint,
|
|
13582
|
+
defaultHeaders: this._defaultHeaders,
|
|
13583
|
+
path: "/dbConnectionBundles/{dbConnectionBundleId}",
|
|
13584
|
+
method: "GET",
|
|
13585
|
+
pathParams: pathParams,
|
|
13586
|
+
headerParams: headerParams,
|
|
13587
|
+
queryParams: queryParams
|
|
13588
|
+
});
|
|
13589
|
+
try {
|
|
13590
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13591
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13592
|
+
responseObject: {},
|
|
13593
|
+
body: yield response.json(),
|
|
13594
|
+
bodyKey: "dbConnectionBundle",
|
|
13595
|
+
bodyModel: model.DbConnectionBundle,
|
|
13596
|
+
type: "model.DbConnectionBundle",
|
|
13597
|
+
responseHeaders: [
|
|
13598
|
+
{
|
|
13599
|
+
value: response.headers.get("etag"),
|
|
13600
|
+
key: "etag",
|
|
13601
|
+
dataType: "string"
|
|
13602
|
+
},
|
|
13603
|
+
{
|
|
13604
|
+
value: response.headers.get("opc-request-id"),
|
|
13605
|
+
key: "opcRequestId",
|
|
13606
|
+
dataType: "string"
|
|
13607
|
+
}
|
|
13608
|
+
]
|
|
13609
|
+
});
|
|
13610
|
+
return sdkResponse;
|
|
13611
|
+
}
|
|
13612
|
+
catch (err) {
|
|
13613
|
+
throw err;
|
|
13614
|
+
}
|
|
13615
|
+
});
|
|
13616
|
+
}
|
|
13467
13617
|
/**
|
|
13468
13618
|
* Gets information about the specified Database Home.
|
|
13469
13619
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -16190,6 +16340,79 @@ class DatabaseClient {
|
|
|
16190
16340
|
}
|
|
16191
16341
|
});
|
|
16192
16342
|
}
|
|
16343
|
+
/**
|
|
16344
|
+
* Imports transportable tablespace for the specified Autonomous AI Database.
|
|
16345
|
+
*
|
|
16346
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
16347
|
+
* @param ImportTransportableTablespaceRequest
|
|
16348
|
+
* @return ImportTransportableTablespaceResponse
|
|
16349
|
+
* @throws OciError when an error occurs
|
|
16350
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ImportTransportableTablespace.ts.html |here} to see how to use ImportTransportableTablespace API.
|
|
16351
|
+
*/
|
|
16352
|
+
importTransportableTablespace(importTransportableTablespaceRequest) {
|
|
16353
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16354
|
+
if (this.logger)
|
|
16355
|
+
this.logger.debug("Calling operation DatabaseClient#importTransportableTablespace.");
|
|
16356
|
+
const operationName = "importTransportableTablespace";
|
|
16357
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/ImportTransportableTablespace";
|
|
16358
|
+
const pathParams = {
|
|
16359
|
+
"{autonomousDatabaseId}": importTransportableTablespaceRequest.autonomousDatabaseId
|
|
16360
|
+
};
|
|
16361
|
+
const queryParams = {};
|
|
16362
|
+
let headerParams = {
|
|
16363
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16364
|
+
"if-match": importTransportableTablespaceRequest.ifMatch,
|
|
16365
|
+
"opc-retry-token": importTransportableTablespaceRequest.opcRetryToken,
|
|
16366
|
+
"opc-request-id": importTransportableTablespaceRequest.opcRequestId,
|
|
16367
|
+
"opc-dry-run": importTransportableTablespaceRequest.opcDryRun
|
|
16368
|
+
};
|
|
16369
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
16370
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importTransportableTablespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
16371
|
+
if (this.logger)
|
|
16372
|
+
retrier.logger = this.logger;
|
|
16373
|
+
const request = yield oci_common_2.composeRequest({
|
|
16374
|
+
baseEndpoint: this._endpoint,
|
|
16375
|
+
defaultHeaders: this._defaultHeaders,
|
|
16376
|
+
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/importTransportableTablespace",
|
|
16377
|
+
method: "POST",
|
|
16378
|
+
bodyContent: common.ObjectSerializer.serialize(importTransportableTablespaceRequest.importTransportableTablespaceDetails, "ImportTransportableTablespaceDetails", model.ImportTransportableTablespaceDetails.getJsonObj),
|
|
16379
|
+
pathParams: pathParams,
|
|
16380
|
+
headerParams: headerParams,
|
|
16381
|
+
queryParams: queryParams
|
|
16382
|
+
});
|
|
16383
|
+
try {
|
|
16384
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16385
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
16386
|
+
responseObject: {},
|
|
16387
|
+
body: yield response.json(),
|
|
16388
|
+
bodyKey: "autonomousDatabase",
|
|
16389
|
+
bodyModel: model.AutonomousDatabase,
|
|
16390
|
+
type: "model.AutonomousDatabase",
|
|
16391
|
+
responseHeaders: [
|
|
16392
|
+
{
|
|
16393
|
+
value: response.headers.get("etag"),
|
|
16394
|
+
key: "etag",
|
|
16395
|
+
dataType: "string"
|
|
16396
|
+
},
|
|
16397
|
+
{
|
|
16398
|
+
value: response.headers.get("opc-request-id"),
|
|
16399
|
+
key: "opcRequestId",
|
|
16400
|
+
dataType: "string"
|
|
16401
|
+
},
|
|
16402
|
+
{
|
|
16403
|
+
value: response.headers.get("opc-work-request-id"),
|
|
16404
|
+
key: "opcWorkRequestId",
|
|
16405
|
+
dataType: "string"
|
|
16406
|
+
}
|
|
16407
|
+
]
|
|
16408
|
+
});
|
|
16409
|
+
return sdkResponse;
|
|
16410
|
+
}
|
|
16411
|
+
catch (err) {
|
|
16412
|
+
throw err;
|
|
16413
|
+
}
|
|
16414
|
+
});
|
|
16415
|
+
}
|
|
16193
16416
|
/**
|
|
16194
16417
|
* **Deprecated** To create a new Autonomous AI Database system on dedicated Exadata Infrastructure, use the {@link #createCloudExadataInfrastructure(CreateCloudExadataInfrastructureRequest) createCloudExadataInfrastructure} and {@link #createCloudAutonomousVmCluster(CreateCloudAutonomousVmClusterRequest) createCloudAutonomousVmCluster} operations instead. Note that to create an Autonomous VM cluster, you must have an existing Exadata Infrastructure resource to contain the VM cluster.
|
|
16195
16418
|
*
|
|
@@ -19901,6 +20124,118 @@ class DatabaseClient {
|
|
|
19901
20124
|
listDatabasesResponseIterator(request) {
|
|
19902
20125
|
return oci_common_1.paginateResponses(request, req => this.listDatabases(req));
|
|
19903
20126
|
}
|
|
20127
|
+
/**
|
|
20128
|
+
* Lists all database connection bundles that match the query parameters.
|
|
20129
|
+
*
|
|
20130
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
20131
|
+
* @param ListDbConnectionBundlesRequest
|
|
20132
|
+
* @return ListDbConnectionBundlesResponse
|
|
20133
|
+
* @throws OciError when an error occurs
|
|
20134
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbConnectionBundles.ts.html |here} to see how to use ListDbConnectionBundles API.
|
|
20135
|
+
*/
|
|
20136
|
+
listDbConnectionBundles(listDbConnectionBundlesRequest) {
|
|
20137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20138
|
+
if (this.logger)
|
|
20139
|
+
this.logger.debug("Calling operation DatabaseClient#listDbConnectionBundles.");
|
|
20140
|
+
const operationName = "listDbConnectionBundles";
|
|
20141
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbConnectionBundle/ListDbConnectionBundles";
|
|
20142
|
+
const pathParams = {};
|
|
20143
|
+
const queryParams = {
|
|
20144
|
+
"compartmentId": listDbConnectionBundlesRequest.compartmentId,
|
|
20145
|
+
"limit": listDbConnectionBundlesRequest.limit,
|
|
20146
|
+
"page": listDbConnectionBundlesRequest.page,
|
|
20147
|
+
"sortOrder": listDbConnectionBundlesRequest.sortOrder,
|
|
20148
|
+
"sortBy": listDbConnectionBundlesRequest.sortBy,
|
|
20149
|
+
"lifecycleState": listDbConnectionBundlesRequest.lifecycleState,
|
|
20150
|
+
"displayName": listDbConnectionBundlesRequest.displayName,
|
|
20151
|
+
"dbConnectionBundleType": listDbConnectionBundlesRequest.dbConnectionBundleType,
|
|
20152
|
+
"associatedResourceId": listDbConnectionBundlesRequest.associatedResourceId
|
|
20153
|
+
};
|
|
20154
|
+
let headerParams = {
|
|
20155
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
20156
|
+
"opc-request-id": listDbConnectionBundlesRequest.opcRequestId
|
|
20157
|
+
};
|
|
20158
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
20159
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbConnectionBundlesRequest.retryConfiguration, specRetryConfiguration);
|
|
20160
|
+
if (this.logger)
|
|
20161
|
+
retrier.logger = this.logger;
|
|
20162
|
+
const request = yield oci_common_2.composeRequest({
|
|
20163
|
+
baseEndpoint: this._endpoint,
|
|
20164
|
+
defaultHeaders: this._defaultHeaders,
|
|
20165
|
+
path: "/dbConnectionBundles",
|
|
20166
|
+
method: "GET",
|
|
20167
|
+
pathParams: pathParams,
|
|
20168
|
+
headerParams: headerParams,
|
|
20169
|
+
queryParams: queryParams
|
|
20170
|
+
});
|
|
20171
|
+
try {
|
|
20172
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
20173
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
20174
|
+
responseObject: {},
|
|
20175
|
+
body: yield response.json(),
|
|
20176
|
+
bodyKey: "items",
|
|
20177
|
+
bodyModel: model.DbConnectionBundleSummary,
|
|
20178
|
+
type: "Array<model.DbConnectionBundleSummary>",
|
|
20179
|
+
responseHeaders: [
|
|
20180
|
+
{
|
|
20181
|
+
value: response.headers.get("opc-request-id"),
|
|
20182
|
+
key: "opcRequestId",
|
|
20183
|
+
dataType: "string"
|
|
20184
|
+
},
|
|
20185
|
+
{
|
|
20186
|
+
value: response.headers.get("opc-next-page"),
|
|
20187
|
+
key: "opcNextPage",
|
|
20188
|
+
dataType: "string"
|
|
20189
|
+
}
|
|
20190
|
+
]
|
|
20191
|
+
});
|
|
20192
|
+
return sdkResponse;
|
|
20193
|
+
}
|
|
20194
|
+
catch (err) {
|
|
20195
|
+
throw err;
|
|
20196
|
+
}
|
|
20197
|
+
});
|
|
20198
|
+
}
|
|
20199
|
+
/**
|
|
20200
|
+
* NOTE: This function is deprecated in favor of listDbConnectionBundlesRecordIterator function.
|
|
20201
|
+
* Creates a new async iterator which will iterate over the models.DbConnectionBundleSummary objects
|
|
20202
|
+
* contained in responses from the listDbConnectionBundles operation. This iterator will fetch more data from the
|
|
20203
|
+
* server as needed.
|
|
20204
|
+
*
|
|
20205
|
+
* @param request a request which can be sent to the service operation
|
|
20206
|
+
*/
|
|
20207
|
+
listAllDbConnectionBundles(request) {
|
|
20208
|
+
return oci_common_1.paginateRecords(request, req => this.listDbConnectionBundles(req));
|
|
20209
|
+
}
|
|
20210
|
+
/**
|
|
20211
|
+
* NOTE: This function is deprecated in favor of listDbConnectionBundlesResponseIterator function.
|
|
20212
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbConnectionBundles operation. This iterator
|
|
20213
|
+
* will fetch more data from the server as needed.
|
|
20214
|
+
*
|
|
20215
|
+
* @param request a request which can be sent to the service operation
|
|
20216
|
+
*/
|
|
20217
|
+
listAllDbConnectionBundlesResponses(request) {
|
|
20218
|
+
return oci_common_1.paginateResponses(request, req => this.listDbConnectionBundles(req));
|
|
20219
|
+
}
|
|
20220
|
+
/**
|
|
20221
|
+
* Creates a new async iterator which will iterate over the models.DbConnectionBundleSummary objects
|
|
20222
|
+
* contained in responses from the listDbConnectionBundles operation. This iterator will fetch more data from the
|
|
20223
|
+
* server as needed.
|
|
20224
|
+
*
|
|
20225
|
+
* @param request a request which can be sent to the service operation
|
|
20226
|
+
*/
|
|
20227
|
+
listDbConnectionBundlesRecordIterator(request) {
|
|
20228
|
+
return oci_common_1.paginateRecords(request, req => this.listDbConnectionBundles(req));
|
|
20229
|
+
}
|
|
20230
|
+
/**
|
|
20231
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbConnectionBundles operation. This iterator
|
|
20232
|
+
* will fetch more data from the server as needed.
|
|
20233
|
+
*
|
|
20234
|
+
* @param request a request which can be sent to the service operation
|
|
20235
|
+
*/
|
|
20236
|
+
listDbConnectionBundlesResponseIterator(request) {
|
|
20237
|
+
return oci_common_1.paginateResponses(request, req => this.listDbConnectionBundles(req));
|
|
20238
|
+
}
|
|
19904
20239
|
/**
|
|
19905
20240
|
* Lists the history of patch operations on the specified Database Home.
|
|
19906
20241
|
*
|
|
@@ -26024,6 +26359,69 @@ class DatabaseClient {
|
|
|
26024
26359
|
}
|
|
26025
26360
|
});
|
|
26026
26361
|
}
|
|
26362
|
+
/**
|
|
26363
|
+
* Install the PKCS11 driver for given keystore type
|
|
26364
|
+
*
|
|
26365
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
26366
|
+
* @param RegisterCloudAutonomousVmClusterPkcsRequest
|
|
26367
|
+
* @return RegisterCloudAutonomousVmClusterPkcsResponse
|
|
26368
|
+
* @throws OciError when an error occurs
|
|
26369
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RegisterCloudAutonomousVmClusterPkcs.ts.html |here} to see how to use RegisterCloudAutonomousVmClusterPkcs API.
|
|
26370
|
+
*/
|
|
26371
|
+
registerCloudAutonomousVmClusterPkcs(registerCloudAutonomousVmClusterPkcsRequest) {
|
|
26372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26373
|
+
if (this.logger)
|
|
26374
|
+
this.logger.debug("Calling operation DatabaseClient#registerCloudAutonomousVmClusterPkcs.");
|
|
26375
|
+
const operationName = "registerCloudAutonomousVmClusterPkcs";
|
|
26376
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/RegisterCloudAutonomousVmClusterPkcs";
|
|
26377
|
+
const pathParams = {
|
|
26378
|
+
"{cloudAutonomousVmClusterId}": registerCloudAutonomousVmClusterPkcsRequest.cloudAutonomousVmClusterId
|
|
26379
|
+
};
|
|
26380
|
+
const queryParams = {};
|
|
26381
|
+
let headerParams = {
|
|
26382
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
26383
|
+
"opc-retry-token": registerCloudAutonomousVmClusterPkcsRequest.opcRetryToken,
|
|
26384
|
+
"opc-request-id": registerCloudAutonomousVmClusterPkcsRequest.opcRequestId,
|
|
26385
|
+
"if-match": registerCloudAutonomousVmClusterPkcsRequest.ifMatch
|
|
26386
|
+
};
|
|
26387
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
26388
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, registerCloudAutonomousVmClusterPkcsRequest.retryConfiguration, specRetryConfiguration);
|
|
26389
|
+
if (this.logger)
|
|
26390
|
+
retrier.logger = this.logger;
|
|
26391
|
+
const request = yield oci_common_2.composeRequest({
|
|
26392
|
+
baseEndpoint: this._endpoint,
|
|
26393
|
+
defaultHeaders: this._defaultHeaders,
|
|
26394
|
+
path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/registerPkcs",
|
|
26395
|
+
method: "POST",
|
|
26396
|
+
bodyContent: common.ObjectSerializer.serialize(registerCloudAutonomousVmClusterPkcsRequest.registerCloudAutonomousVmClusterPkcsDetails, "RegisterCloudAutonomousVmClusterPkcsDetails", model.RegisterCloudAutonomousVmClusterPkcsDetails.getJsonObj),
|
|
26397
|
+
pathParams: pathParams,
|
|
26398
|
+
headerParams: headerParams,
|
|
26399
|
+
queryParams: queryParams
|
|
26400
|
+
});
|
|
26401
|
+
try {
|
|
26402
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
26403
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
26404
|
+
responseObject: {},
|
|
26405
|
+
responseHeaders: [
|
|
26406
|
+
{
|
|
26407
|
+
value: response.headers.get("opc-work-request-id"),
|
|
26408
|
+
key: "opcWorkRequestId",
|
|
26409
|
+
dataType: "string"
|
|
26410
|
+
},
|
|
26411
|
+
{
|
|
26412
|
+
value: response.headers.get("opc-request-id"),
|
|
26413
|
+
key: "opcRequestId",
|
|
26414
|
+
dataType: "string"
|
|
26415
|
+
}
|
|
26416
|
+
]
|
|
26417
|
+
});
|
|
26418
|
+
return sdkResponse;
|
|
26419
|
+
}
|
|
26420
|
+
catch (err) {
|
|
26421
|
+
throw err;
|
|
26422
|
+
}
|
|
26423
|
+
});
|
|
26424
|
+
}
|
|
26027
26425
|
/**
|
|
26028
26426
|
* Install the PKCS11 driver for given keystore type
|
|
26029
26427
|
*
|
|
@@ -27045,7 +27443,9 @@ class DatabaseClient {
|
|
|
27045
27443
|
const pathParams = {
|
|
27046
27444
|
"{autonomousDatabaseId}": restartAutonomousDatabaseRequest.autonomousDatabaseId
|
|
27047
27445
|
};
|
|
27048
|
-
const queryParams = {
|
|
27446
|
+
const queryParams = {
|
|
27447
|
+
"isOnlineRestart": restartAutonomousDatabaseRequest.isOnlineRestart
|
|
27448
|
+
};
|
|
27049
27449
|
let headerParams = {
|
|
27050
27450
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
27051
27451
|
"if-match": restartAutonomousDatabaseRequest.ifMatch,
|
|
@@ -27887,6 +28287,78 @@ class DatabaseClient {
|
|
|
27887
28287
|
}
|
|
27888
28288
|
});
|
|
27889
28289
|
}
|
|
28290
|
+
/**
|
|
28291
|
+
* Run datapatch on the specified Oracle Database and optionally on the specified Pluggable databases.
|
|
28292
|
+
*
|
|
28293
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
28294
|
+
* @param RunDataPatchRequest
|
|
28295
|
+
* @return RunDataPatchResponse
|
|
28296
|
+
* @throws OciError when an error occurs
|
|
28297
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RunDataPatch.ts.html |here} to see how to use RunDataPatch API.
|
|
28298
|
+
*/
|
|
28299
|
+
runDataPatch(runDataPatchRequest) {
|
|
28300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28301
|
+
if (this.logger)
|
|
28302
|
+
this.logger.debug("Calling operation DatabaseClient#runDataPatch.");
|
|
28303
|
+
const operationName = "runDataPatch";
|
|
28304
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RunDataPatch";
|
|
28305
|
+
const pathParams = {
|
|
28306
|
+
"{databaseId}": runDataPatchRequest.databaseId
|
|
28307
|
+
};
|
|
28308
|
+
const queryParams = {};
|
|
28309
|
+
let headerParams = {
|
|
28310
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
28311
|
+
"opc-retry-token": runDataPatchRequest.opcRetryToken,
|
|
28312
|
+
"if-match": runDataPatchRequest.ifMatch,
|
|
28313
|
+
"opc-request-id": runDataPatchRequest.opcRequestId
|
|
28314
|
+
};
|
|
28315
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
28316
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, runDataPatchRequest.retryConfiguration, specRetryConfiguration);
|
|
28317
|
+
if (this.logger)
|
|
28318
|
+
retrier.logger = this.logger;
|
|
28319
|
+
const request = yield oci_common_2.composeRequest({
|
|
28320
|
+
baseEndpoint: this._endpoint,
|
|
28321
|
+
defaultHeaders: this._defaultHeaders,
|
|
28322
|
+
path: "/databases/{databaseId}/actions/runDatapatch",
|
|
28323
|
+
method: "POST",
|
|
28324
|
+
bodyContent: common.ObjectSerializer.serialize(runDataPatchRequest.runDataPatchDetails, "RunDataPatchDetails", model.RunDataPatchDetails.getJsonObj),
|
|
28325
|
+
pathParams: pathParams,
|
|
28326
|
+
headerParams: headerParams,
|
|
28327
|
+
queryParams: queryParams
|
|
28328
|
+
});
|
|
28329
|
+
try {
|
|
28330
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
28331
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
28332
|
+
responseObject: {},
|
|
28333
|
+
body: yield response.json(),
|
|
28334
|
+
bodyKey: "database",
|
|
28335
|
+
bodyModel: model.Database,
|
|
28336
|
+
type: "model.Database",
|
|
28337
|
+
responseHeaders: [
|
|
28338
|
+
{
|
|
28339
|
+
value: response.headers.get("opc-work-request-id"),
|
|
28340
|
+
key: "opcWorkRequestId",
|
|
28341
|
+
dataType: "string"
|
|
28342
|
+
},
|
|
28343
|
+
{
|
|
28344
|
+
value: response.headers.get("etag"),
|
|
28345
|
+
key: "etag",
|
|
28346
|
+
dataType: "string"
|
|
28347
|
+
},
|
|
28348
|
+
{
|
|
28349
|
+
value: response.headers.get("opc-request-id"),
|
|
28350
|
+
key: "opcRequestId",
|
|
28351
|
+
dataType: "string"
|
|
28352
|
+
}
|
|
28353
|
+
]
|
|
28354
|
+
});
|
|
28355
|
+
return sdkResponse;
|
|
28356
|
+
}
|
|
28357
|
+
catch (err) {
|
|
28358
|
+
throw err;
|
|
28359
|
+
}
|
|
28360
|
+
});
|
|
28361
|
+
}
|
|
27890
28362
|
/**
|
|
27891
28363
|
* This operation gets SaaS administrative user status of the Autonomous AI Database.
|
|
27892
28364
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -29135,6 +29607,69 @@ class DatabaseClient {
|
|
|
29135
29607
|
}
|
|
29136
29608
|
});
|
|
29137
29609
|
}
|
|
29610
|
+
/**
|
|
29611
|
+
* Uninstall the PKCS11 driver for given keystore type
|
|
29612
|
+
*
|
|
29613
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
29614
|
+
* @param UnregisterCloudAutonomousVmClusterPkcsRequest
|
|
29615
|
+
* @return UnregisterCloudAutonomousVmClusterPkcsResponse
|
|
29616
|
+
* @throws OciError when an error occurs
|
|
29617
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnregisterCloudAutonomousVmClusterPkcs.ts.html |here} to see how to use UnregisterCloudAutonomousVmClusterPkcs API.
|
|
29618
|
+
*/
|
|
29619
|
+
unregisterCloudAutonomousVmClusterPkcs(unregisterCloudAutonomousVmClusterPkcsRequest) {
|
|
29620
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29621
|
+
if (this.logger)
|
|
29622
|
+
this.logger.debug("Calling operation DatabaseClient#unregisterCloudAutonomousVmClusterPkcs.");
|
|
29623
|
+
const operationName = "unregisterCloudAutonomousVmClusterPkcs";
|
|
29624
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/UnregisterCloudAutonomousVmClusterPkcs";
|
|
29625
|
+
const pathParams = {
|
|
29626
|
+
"{cloudAutonomousVmClusterId}": unregisterCloudAutonomousVmClusterPkcsRequest.cloudAutonomousVmClusterId
|
|
29627
|
+
};
|
|
29628
|
+
const queryParams = {};
|
|
29629
|
+
let headerParams = {
|
|
29630
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
29631
|
+
"opc-retry-token": unregisterCloudAutonomousVmClusterPkcsRequest.opcRetryToken,
|
|
29632
|
+
"opc-request-id": unregisterCloudAutonomousVmClusterPkcsRequest.opcRequestId,
|
|
29633
|
+
"if-match": unregisterCloudAutonomousVmClusterPkcsRequest.ifMatch
|
|
29634
|
+
};
|
|
29635
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
29636
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unregisterCloudAutonomousVmClusterPkcsRequest.retryConfiguration, specRetryConfiguration);
|
|
29637
|
+
if (this.logger)
|
|
29638
|
+
retrier.logger = this.logger;
|
|
29639
|
+
const request = yield oci_common_2.composeRequest({
|
|
29640
|
+
baseEndpoint: this._endpoint,
|
|
29641
|
+
defaultHeaders: this._defaultHeaders,
|
|
29642
|
+
path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/unregisterPkcs",
|
|
29643
|
+
method: "POST",
|
|
29644
|
+
bodyContent: common.ObjectSerializer.serialize(unregisterCloudAutonomousVmClusterPkcsRequest.unregisterCloudAutonomousVmClusterPkcsDetails, "UnregisterCloudAutonomousVmClusterPkcsDetails", model.UnregisterCloudAutonomousVmClusterPkcsDetails.getJsonObj),
|
|
29645
|
+
pathParams: pathParams,
|
|
29646
|
+
headerParams: headerParams,
|
|
29647
|
+
queryParams: queryParams
|
|
29648
|
+
});
|
|
29649
|
+
try {
|
|
29650
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
29651
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
29652
|
+
responseObject: {},
|
|
29653
|
+
responseHeaders: [
|
|
29654
|
+
{
|
|
29655
|
+
value: response.headers.get("opc-work-request-id"),
|
|
29656
|
+
key: "opcWorkRequestId",
|
|
29657
|
+
dataType: "string"
|
|
29658
|
+
},
|
|
29659
|
+
{
|
|
29660
|
+
value: response.headers.get("opc-request-id"),
|
|
29661
|
+
key: "opcRequestId",
|
|
29662
|
+
dataType: "string"
|
|
29663
|
+
}
|
|
29664
|
+
]
|
|
29665
|
+
});
|
|
29666
|
+
return sdkResponse;
|
|
29667
|
+
}
|
|
29668
|
+
catch (err) {
|
|
29669
|
+
throw err;
|
|
29670
|
+
}
|
|
29671
|
+
});
|
|
29672
|
+
}
|
|
29138
29673
|
/**
|
|
29139
29674
|
* Uninstall the PKCS11 driver for given keystore type
|
|
29140
29675
|
*
|