oci-bds 2.86.2 → 2.87.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/bds-waiter.d.ts +24 -0
- package/lib/bds-waiter.js +36 -0
- package/lib/bds-waiter.js.map +1 -1
- package/lib/client.d.ts +295 -51
- package/lib/client.js +1219 -126
- package/lib/client.js.map +1 -1
- package/lib/model/backup-node-details.d.ts +28 -0
- package/lib/model/backup-node-details.js +58 -0
- package/lib/model/backup-node-details.js.map +1 -0
- package/lib/model/create-node-backup-configuration-details.d.ts +45 -0
- package/lib/model/create-node-backup-configuration-details.js +58 -0
- package/lib/model/create-node-backup-configuration-details.js.map +1 -0
- package/lib/model/create-node-replace-configuration-details.d.ts +40 -0
- package/lib/model/create-node-replace-configuration-details.js +58 -0
- package/lib/model/create-node-replace-configuration-details.js.map +1 -0
- package/lib/model/index.d.ts +32 -0
- package/lib/model/index.js +35 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/level-type-details.d.ts +23 -0
- package/lib/model/level-type-details.js +73 -0
- package/lib/model/level-type-details.js.map +1 -0
- package/lib/model/node-backup-configuration-summary.d.ts +49 -0
- package/lib/model/node-backup-configuration-summary.js +58 -0
- package/lib/model/node-backup-configuration-summary.js.map +1 -0
- package/lib/model/node-backup-configuration.d.ts +79 -0
- package/lib/model/node-backup-configuration.js +72 -0
- package/lib/model/node-backup-configuration.js.map +1 -0
- package/lib/model/node-backup-summary.d.ts +54 -0
- package/lib/model/node-backup-summary.js +30 -0
- package/lib/model/node-backup-summary.js.map +1 -0
- package/lib/model/node-backup.d.ts +90 -0
- package/lib/model/node-backup.js +65 -0
- package/lib/model/node-backup.js.map +1 -0
- package/lib/model/node-level-details.d.ts +29 -0
- package/lib/model/node-level-details.js +53 -0
- package/lib/model/node-level-details.js.map +1 -0
- package/lib/model/node-replace-configuration-summary.d.ts +49 -0
- package/lib/model/node-replace-configuration-summary.js +58 -0
- package/lib/model/node-replace-configuration-summary.js.map +1 -0
- package/lib/model/node-replace-configuration.d.ts +79 -0
- package/lib/model/node-replace-configuration.js +82 -0
- package/lib/model/node-replace-configuration.js.map +1 -0
- package/lib/model/node-type-level-details.d.ts +29 -0
- package/lib/model/node-type-level-details.js +53 -0
- package/lib/model/node-type-level-details.js.map +1 -0
- package/lib/model/node.d.ts +8 -0
- package/lib/model/node.js.map +1 -1
- package/lib/model/operation-types.d.ts +9 -0
- package/lib/model/operation-types.js +9 -0
- package/lib/model/operation-types.js.map +1 -1
- package/lib/model/remove-node-replace-configuration-details.d.ts +26 -0
- package/lib/model/remove-node-replace-configuration-details.js +30 -0
- package/lib/model/remove-node-replace-configuration-details.js.map +1 -0
- package/lib/model/replace-node-details.d.ts +38 -0
- package/lib/model/replace-node-details.js +30 -0
- package/lib/model/replace-node-details.js.map +1 -0
- package/lib/model/update-node-backup-configuration-details.d.ts +45 -0
- package/lib/model/update-node-backup-configuration-details.js +58 -0
- package/lib/model/update-node-backup-configuration-details.js.map +1 -0
- package/lib/model/update-node-replace-configuration-details.d.ts +36 -0
- package/lib/model/update-node-replace-configuration-details.js +58 -0
- package/lib/model/update-node-replace-configuration-details.js.map +1 -0
- package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/add-block-storage-request.d.ts +1 -1
- package/lib/request/add-cloud-sql-request.d.ts +1 -1
- package/lib/request/add-kafka-request.d.ts +1 -1
- package/lib/request/add-master-nodes-request.d.ts +1 -1
- package/lib/request/add-utility-nodes-request.d.ts +1 -1
- package/lib/request/add-worker-nodes-request.d.ts +1 -1
- package/lib/request/backup-node-request.d.ts +49 -0
- package/lib/request/backup-node-request.js +15 -0
- package/lib/request/backup-node-request.js.map +1 -0
- package/lib/request/certificate-service-info-request.d.ts +1 -1
- package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
- package/lib/request/change-shape-request.d.ts +1 -1
- package/lib/request/create-bds-api-key-request.d.ts +1 -1
- package/lib/request/create-bds-instance-request.d.ts +1 -1
- package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/create-node-backup-configuration-request.d.ts +40 -0
- package/lib/request/create-node-backup-configuration-request.js +15 -0
- package/lib/request/create-node-backup-configuration-request.js.map +1 -0
- package/lib/request/create-node-replace-configuration-request.d.ts +40 -0
- package/lib/request/create-node-replace-configuration-request.js +15 -0
- package/lib/request/create-node-replace-configuration-request.js.map +1 -0
- package/lib/request/delete-bds-api-key-request.d.ts +1 -1
- package/lib/request/delete-bds-instance-request.d.ts +1 -1
- package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/delete-node-backup-configuration-request.d.ts +39 -0
- package/lib/request/delete-node-backup-configuration-request.js +15 -0
- package/lib/request/delete-node-backup-configuration-request.js.map +1 -0
- package/lib/request/delete-node-backup-request.d.ts +39 -0
- package/lib/request/delete-node-backup-request.js +15 -0
- package/lib/request/delete-node-backup-request.js.map +1 -0
- package/lib/request/disable-certificate-request.d.ts +1 -1
- package/lib/request/enable-certificate-request.d.ts +1 -1
- package/lib/request/execute-bootstrap-script-request.d.ts +1 -1
- package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/get-bds-api-key-request.d.ts +1 -1
- package/lib/request/get-bds-instance-request.d.ts +1 -1
- package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/get-node-backup-configuration-request.d.ts +30 -0
- package/lib/request/get-node-backup-configuration-request.js +15 -0
- package/lib/request/get-node-backup-configuration-request.js.map +1 -0
- package/lib/request/get-node-backup-request.d.ts +30 -0
- package/lib/request/get-node-backup-request.js +15 -0
- package/lib/request/get-node-backup-request.js.map +1 -0
- package/lib/request/get-node-replace-configuration-request.d.ts +30 -0
- package/lib/request/get-node-replace-configuration-request.js +15 -0
- package/lib/request/get-node-replace-configuration-request.js.map +1 -0
- package/lib/request/get-os-patch-details-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +30 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/install-os-patch-request.d.ts +1 -1
- package/lib/request/install-patch-request.d.ts +1 -1
- package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
- package/lib/request/list-bds-api-keys-request.d.ts +1 -1
- package/lib/request/list-bds-instances-request.d.ts +1 -1
- package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
- package/lib/request/list-node-backup-configurations-request.d.ts +58 -0
- package/lib/request/list-node-backup-configurations-request.js +24 -0
- package/lib/request/list-node-backup-configurations-request.js.map +1 -0
- package/lib/request/list-node-backups-request.d.ts +62 -0
- package/lib/request/list-node-backups-request.js +24 -0
- package/lib/request/list-node-backups-request.js.map +1 -0
- package/lib/request/list-node-replace-configurations-request.d.ts +58 -0
- package/lib/request/list-node-replace-configurations-request.js +24 -0
- package/lib/request/list-node-replace-configurations-request.js.map +1 -0
- package/lib/request/list-os-patches-request.d.ts +1 -1
- package/lib/request/list-patch-histories-request.d.ts +1 -1
- package/lib/request/list-patches-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/remove-cloud-sql-request.d.ts +1 -1
- package/lib/request/remove-kafka-request.d.ts +1 -1
- package/lib/request/remove-node-replace-configuration-request.d.ts +53 -0
- package/lib/request/remove-node-replace-configuration-request.js +15 -0
- package/lib/request/remove-node-replace-configuration-request.js.map +1 -0
- package/lib/request/remove-node-request.d.ts +1 -1
- package/lib/request/renew-certificate-request.d.ts +1 -1
- package/lib/request/replace-node-request.d.ts +49 -0
- package/lib/request/replace-node-request.js +15 -0
- package/lib/request/replace-node-request.js.map +1 -0
- package/lib/request/restart-node-request.d.ts +1 -1
- package/lib/request/start-bds-instance-request.d.ts +1 -1
- package/lib/request/stop-bds-instance-request.d.ts +1 -1
- package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
- package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/update-bds-instance-request.d.ts +1 -1
- package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/update-node-backup-configuration-request.d.ts +53 -0
- package/lib/request/update-node-backup-configuration-request.js +15 -0
- package/lib/request/update-node-backup-configuration-request.js.map +1 -0
- package/lib/request/update-node-replace-configuration-request.d.ts +53 -0
- package/lib/request/update-node-replace-configuration-request.js +15 -0
- package/lib/request/update-node-replace-configuration-request.js.map +1 -0
- package/lib/response/backup-node-response.d.ts +25 -0
- package/lib/response/backup-node-response.js +15 -0
- package/lib/response/backup-node-response.js.map +1 -0
- package/lib/response/create-node-backup-configuration-response.d.ts +25 -0
- package/lib/response/create-node-backup-configuration-response.js +15 -0
- package/lib/response/create-node-backup-configuration-response.js.map +1 -0
- package/lib/response/create-node-replace-configuration-response.d.ts +25 -0
- package/lib/response/create-node-replace-configuration-response.js +15 -0
- package/lib/response/create-node-replace-configuration-response.js.map +1 -0
- package/lib/response/delete-node-backup-configuration-response.d.ts +25 -0
- package/lib/response/delete-node-backup-configuration-response.js +15 -0
- package/lib/response/delete-node-backup-configuration-response.js.map +1 -0
- package/lib/response/delete-node-backup-response.d.ts +25 -0
- package/lib/response/delete-node-backup-response.js +15 -0
- package/lib/response/delete-node-backup-response.js.map +1 -0
- package/lib/response/get-node-backup-configuration-response.d.ts +30 -0
- package/lib/response/get-node-backup-configuration-response.js +15 -0
- package/lib/response/get-node-backup-configuration-response.js.map +1 -0
- package/lib/response/get-node-backup-response.d.ts +30 -0
- package/lib/response/get-node-backup-response.js +15 -0
- package/lib/response/get-node-backup-response.js.map +1 -0
- package/lib/response/get-node-replace-configuration-response.d.ts +30 -0
- package/lib/response/get-node-replace-configuration-response.js +15 -0
- package/lib/response/get-node-replace-configuration-response.js.map +1 -0
- package/lib/response/index.d.ts +30 -0
- package/lib/response/list-node-backup-configurations-response.d.ts +32 -0
- package/lib/response/list-node-backup-configurations-response.js +15 -0
- package/lib/response/list-node-backup-configurations-response.js.map +1 -0
- package/lib/response/list-node-backups-response.d.ts +32 -0
- package/lib/response/list-node-backups-response.js +15 -0
- package/lib/response/list-node-backups-response.js.map +1 -0
- package/lib/response/list-node-replace-configurations-response.d.ts +32 -0
- package/lib/response/list-node-replace-configurations-response.js +15 -0
- package/lib/response/list-node-replace-configurations-response.js.map +1 -0
- package/lib/response/remove-node-replace-configuration-response.d.ts +25 -0
- package/lib/response/remove-node-replace-configuration-response.js +15 -0
- package/lib/response/remove-node-replace-configuration-response.js.map +1 -0
- package/lib/response/replace-node-response.d.ts +25 -0
- package/lib/response/replace-node-response.js +15 -0
- package/lib/response/replace-node-response.js.map +1 -0
- package/lib/response/update-node-backup-configuration-response.d.ts +25 -0
- package/lib/response/update-node-backup-configuration-response.js +15 -0
- package/lib/response/update-node-backup-configuration-response.js.map +1 -0
- package/lib/response/update-node-replace-configuration-response.d.ts +25 -0
- package/lib/response/update-node-replace-configuration-response.js +15 -0
- package/lib/response/update-node-replace-configuration-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -205,7 +205,7 @@ class BdsClient {
|
|
|
205
205
|
* @param ActivateBdsMetastoreConfigurationRequest
|
|
206
206
|
* @return ActivateBdsMetastoreConfigurationResponse
|
|
207
207
|
* @throws OciError when an error occurs
|
|
208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
|
|
209
209
|
*/
|
|
210
210
|
activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
|
|
211
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -269,7 +269,7 @@ class BdsClient {
|
|
|
269
269
|
* @param AddAutoScalingConfigurationRequest
|
|
270
270
|
* @return AddAutoScalingConfigurationResponse
|
|
271
271
|
* @throws OciError when an error occurs
|
|
272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
|
|
273
273
|
*/
|
|
274
274
|
addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
|
|
275
275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -332,7 +332,7 @@ class BdsClient {
|
|
|
332
332
|
* @param AddBlockStorageRequest
|
|
333
333
|
* @return AddBlockStorageResponse
|
|
334
334
|
* @throws OciError when an error occurs
|
|
335
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
|
|
336
336
|
*/
|
|
337
337
|
addBlockStorage(addBlockStorageRequest) {
|
|
338
338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -395,7 +395,7 @@ class BdsClient {
|
|
|
395
395
|
* @param AddCloudSqlRequest
|
|
396
396
|
* @return AddCloudSqlResponse
|
|
397
397
|
* @throws OciError when an error occurs
|
|
398
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
398
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
|
|
399
399
|
*/
|
|
400
400
|
addCloudSql(addCloudSqlRequest) {
|
|
401
401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -458,7 +458,7 @@ class BdsClient {
|
|
|
458
458
|
* @param AddKafkaRequest
|
|
459
459
|
* @return AddKafkaResponse
|
|
460
460
|
* @throws OciError when an error occurs
|
|
461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
|
|
462
462
|
*/
|
|
463
463
|
addKafka(addKafkaRequest) {
|
|
464
464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -521,7 +521,7 @@ class BdsClient {
|
|
|
521
521
|
* @param AddMasterNodesRequest
|
|
522
522
|
* @return AddMasterNodesResponse
|
|
523
523
|
* @throws OciError when an error occurs
|
|
524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
524
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
|
|
525
525
|
*/
|
|
526
526
|
addMasterNodes(addMasterNodesRequest) {
|
|
527
527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -584,7 +584,7 @@ class BdsClient {
|
|
|
584
584
|
* @param AddUtilityNodesRequest
|
|
585
585
|
* @return AddUtilityNodesResponse
|
|
586
586
|
* @throws OciError when an error occurs
|
|
587
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
587
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
|
|
588
588
|
*/
|
|
589
589
|
addUtilityNodes(addUtilityNodesRequest) {
|
|
590
590
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -647,7 +647,7 @@ class BdsClient {
|
|
|
647
647
|
* @param AddWorkerNodesRequest
|
|
648
648
|
* @return AddWorkerNodesResponse
|
|
649
649
|
* @throws OciError when an error occurs
|
|
650
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
|
|
651
651
|
*/
|
|
652
652
|
addWorkerNodes(addWorkerNodesRequest) {
|
|
653
653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -703,6 +703,69 @@ class BdsClient {
|
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
|
+
/**
|
|
707
|
+
* Takes a backup of of given nodes.
|
|
708
|
+
*
|
|
709
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
710
|
+
* @param BackupNodeRequest
|
|
711
|
+
* @return BackupNodeResponse
|
|
712
|
+
* @throws OciError when an error occurs
|
|
713
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/BackupNode.ts.html |here} to see how to use BackupNode API.
|
|
714
|
+
*/
|
|
715
|
+
backupNode(backupNodeRequest) {
|
|
716
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
717
|
+
if (this.logger)
|
|
718
|
+
this.logger.debug("Calling operation BdsClient#backupNode.");
|
|
719
|
+
const operationName = "backupNode";
|
|
720
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/BackupNode";
|
|
721
|
+
const pathParams = {
|
|
722
|
+
"{bdsInstanceId}": backupNodeRequest.bdsInstanceId
|
|
723
|
+
};
|
|
724
|
+
const queryParams = {};
|
|
725
|
+
let headerParams = {
|
|
726
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
727
|
+
"opc-request-id": backupNodeRequest.opcRequestId,
|
|
728
|
+
"if-match": backupNodeRequest.ifMatch,
|
|
729
|
+
"opc-retry-token": backupNodeRequest.opcRetryToken
|
|
730
|
+
};
|
|
731
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
732
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, backupNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
733
|
+
if (this.logger)
|
|
734
|
+
retrier.logger = this.logger;
|
|
735
|
+
const request = yield oci_common_2.composeRequest({
|
|
736
|
+
baseEndpoint: this._endpoint,
|
|
737
|
+
defaultHeaders: this._defaultHeaders,
|
|
738
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/backupNodes",
|
|
739
|
+
method: "POST",
|
|
740
|
+
bodyContent: common.ObjectSerializer.serialize(backupNodeRequest.backupNodeDetails, "BackupNodeDetails", model.BackupNodeDetails.getJsonObj),
|
|
741
|
+
pathParams: pathParams,
|
|
742
|
+
headerParams: headerParams,
|
|
743
|
+
queryParams: queryParams
|
|
744
|
+
});
|
|
745
|
+
try {
|
|
746
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
747
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
748
|
+
responseObject: {},
|
|
749
|
+
responseHeaders: [
|
|
750
|
+
{
|
|
751
|
+
value: response.headers.get("opc-request-id"),
|
|
752
|
+
key: "opcRequestId",
|
|
753
|
+
dataType: "string"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
value: response.headers.get("opc-work-request-id"),
|
|
757
|
+
key: "opcWorkRequestId",
|
|
758
|
+
dataType: "string"
|
|
759
|
+
}
|
|
760
|
+
]
|
|
761
|
+
});
|
|
762
|
+
return sdkResponse;
|
|
763
|
+
}
|
|
764
|
+
catch (err) {
|
|
765
|
+
throw err;
|
|
766
|
+
}
|
|
767
|
+
});
|
|
768
|
+
}
|
|
706
769
|
/**
|
|
707
770
|
* A list of services and their certificate details.
|
|
708
771
|
*
|
|
@@ -710,7 +773,7 @@ class BdsClient {
|
|
|
710
773
|
* @param CertificateServiceInfoRequest
|
|
711
774
|
* @return CertificateServiceInfoResponse
|
|
712
775
|
* @throws OciError when an error occurs
|
|
713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/CertificateServiceInfo.ts.html |here} to see how to use CertificateServiceInfo API.
|
|
714
777
|
*/
|
|
715
778
|
certificateServiceInfo(certificateServiceInfoRequest) {
|
|
716
779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -777,7 +840,7 @@ class BdsClient {
|
|
|
777
840
|
* @param ChangeBdsInstanceCompartmentRequest
|
|
778
841
|
* @return ChangeBdsInstanceCompartmentResponse
|
|
779
842
|
* @throws OciError when an error occurs
|
|
780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
843
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
|
|
781
844
|
*/
|
|
782
845
|
changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
|
|
783
846
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -840,7 +903,7 @@ class BdsClient {
|
|
|
840
903
|
* @param ChangeShapeRequest
|
|
841
904
|
* @return ChangeShapeResponse
|
|
842
905
|
* @throws OciError when an error occurs
|
|
843
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
906
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
|
|
844
907
|
*/
|
|
845
908
|
changeShape(changeShapeRequest) {
|
|
846
909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -903,7 +966,7 @@ class BdsClient {
|
|
|
903
966
|
* @param CreateBdsApiKeyRequest
|
|
904
967
|
* @return CreateBdsApiKeyResponse
|
|
905
968
|
* @throws OciError when an error occurs
|
|
906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
969
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
|
|
907
970
|
*/
|
|
908
971
|
createBdsApiKey(createBdsApiKeyRequest) {
|
|
909
972
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -965,7 +1028,7 @@ class BdsClient {
|
|
|
965
1028
|
* @param CreateBdsInstanceRequest
|
|
966
1029
|
* @return CreateBdsInstanceResponse
|
|
967
1030
|
* @throws OciError when an error occurs
|
|
968
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
|
|
969
1032
|
*/
|
|
970
1033
|
createBdsInstance(createBdsInstanceRequest) {
|
|
971
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1025,7 +1088,7 @@ class BdsClient {
|
|
|
1025
1088
|
* @param CreateBdsMetastoreConfigurationRequest
|
|
1026
1089
|
* @return CreateBdsMetastoreConfigurationResponse
|
|
1027
1090
|
* @throws OciError when an error occurs
|
|
1028
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1091
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
|
|
1029
1092
|
*/
|
|
1030
1093
|
createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
|
|
1031
1094
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1080,13 +1143,137 @@ class BdsClient {
|
|
|
1080
1143
|
}
|
|
1081
1144
|
});
|
|
1082
1145
|
}
|
|
1146
|
+
/**
|
|
1147
|
+
* Add a node volume backup configuration to the cluster for an indicated node type or node.
|
|
1148
|
+
*
|
|
1149
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1150
|
+
* @param CreateNodeBackupConfigurationRequest
|
|
1151
|
+
* @return CreateNodeBackupConfigurationResponse
|
|
1152
|
+
* @throws OciError when an error occurs
|
|
1153
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/CreateNodeBackupConfiguration.ts.html |here} to see how to use CreateNodeBackupConfiguration API.
|
|
1154
|
+
*/
|
|
1155
|
+
createNodeBackupConfiguration(createNodeBackupConfigurationRequest) {
|
|
1156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1157
|
+
if (this.logger)
|
|
1158
|
+
this.logger.debug("Calling operation BdsClient#createNodeBackupConfiguration.");
|
|
1159
|
+
const operationName = "createNodeBackupConfiguration";
|
|
1160
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeBackupConfiguration";
|
|
1161
|
+
const pathParams = {
|
|
1162
|
+
"{bdsInstanceId}": createNodeBackupConfigurationRequest.bdsInstanceId
|
|
1163
|
+
};
|
|
1164
|
+
const queryParams = {};
|
|
1165
|
+
let headerParams = {
|
|
1166
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1167
|
+
"opc-request-id": createNodeBackupConfigurationRequest.opcRequestId,
|
|
1168
|
+
"opc-retry-token": createNodeBackupConfigurationRequest.opcRetryToken
|
|
1169
|
+
};
|
|
1170
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1171
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNodeBackupConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1172
|
+
if (this.logger)
|
|
1173
|
+
retrier.logger = this.logger;
|
|
1174
|
+
const request = yield oci_common_2.composeRequest({
|
|
1175
|
+
baseEndpoint: this._endpoint,
|
|
1176
|
+
defaultHeaders: this._defaultHeaders,
|
|
1177
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations",
|
|
1178
|
+
method: "POST",
|
|
1179
|
+
bodyContent: common.ObjectSerializer.serialize(createNodeBackupConfigurationRequest.createNodeBackupConfigurationDetails, "CreateNodeBackupConfigurationDetails", model.CreateNodeBackupConfigurationDetails.getJsonObj),
|
|
1180
|
+
pathParams: pathParams,
|
|
1181
|
+
headerParams: headerParams,
|
|
1182
|
+
queryParams: queryParams
|
|
1183
|
+
});
|
|
1184
|
+
try {
|
|
1185
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1186
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1187
|
+
responseObject: {},
|
|
1188
|
+
responseHeaders: [
|
|
1189
|
+
{
|
|
1190
|
+
value: response.headers.get("opc-request-id"),
|
|
1191
|
+
key: "opcRequestId",
|
|
1192
|
+
dataType: "string"
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1196
|
+
key: "opcWorkRequestId",
|
|
1197
|
+
dataType: "string"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
});
|
|
1201
|
+
return sdkResponse;
|
|
1202
|
+
}
|
|
1203
|
+
catch (err) {
|
|
1204
|
+
throw err;
|
|
1205
|
+
}
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Add a nodeReplaceConfigurations to the cluster.
|
|
1210
|
+
*
|
|
1211
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1212
|
+
* @param CreateNodeReplaceConfigurationRequest
|
|
1213
|
+
* @return CreateNodeReplaceConfigurationResponse
|
|
1214
|
+
* @throws OciError when an error occurs
|
|
1215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/CreateNodeReplaceConfiguration.ts.html |here} to see how to use CreateNodeReplaceConfiguration API.
|
|
1216
|
+
*/
|
|
1217
|
+
createNodeReplaceConfiguration(createNodeReplaceConfigurationRequest) {
|
|
1218
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1219
|
+
if (this.logger)
|
|
1220
|
+
this.logger.debug("Calling operation BdsClient#createNodeReplaceConfiguration.");
|
|
1221
|
+
const operationName = "createNodeReplaceConfiguration";
|
|
1222
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeReplaceConfiguration";
|
|
1223
|
+
const pathParams = {
|
|
1224
|
+
"{bdsInstanceId}": createNodeReplaceConfigurationRequest.bdsInstanceId
|
|
1225
|
+
};
|
|
1226
|
+
const queryParams = {};
|
|
1227
|
+
let headerParams = {
|
|
1228
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1229
|
+
"opc-request-id": createNodeReplaceConfigurationRequest.opcRequestId,
|
|
1230
|
+
"opc-retry-token": createNodeReplaceConfigurationRequest.opcRetryToken
|
|
1231
|
+
};
|
|
1232
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1233
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNodeReplaceConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1234
|
+
if (this.logger)
|
|
1235
|
+
retrier.logger = this.logger;
|
|
1236
|
+
const request = yield oci_common_2.composeRequest({
|
|
1237
|
+
baseEndpoint: this._endpoint,
|
|
1238
|
+
defaultHeaders: this._defaultHeaders,
|
|
1239
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations",
|
|
1240
|
+
method: "POST",
|
|
1241
|
+
bodyContent: common.ObjectSerializer.serialize(createNodeReplaceConfigurationRequest.createNodeReplaceConfigurationDetails, "CreateNodeReplaceConfigurationDetails", model.CreateNodeReplaceConfigurationDetails.getJsonObj),
|
|
1242
|
+
pathParams: pathParams,
|
|
1243
|
+
headerParams: headerParams,
|
|
1244
|
+
queryParams: queryParams
|
|
1245
|
+
});
|
|
1246
|
+
try {
|
|
1247
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1248
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1249
|
+
responseObject: {},
|
|
1250
|
+
responseHeaders: [
|
|
1251
|
+
{
|
|
1252
|
+
value: response.headers.get("opc-request-id"),
|
|
1253
|
+
key: "opcRequestId",
|
|
1254
|
+
dataType: "string"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1258
|
+
key: "opcWorkRequestId",
|
|
1259
|
+
dataType: "string"
|
|
1260
|
+
}
|
|
1261
|
+
]
|
|
1262
|
+
});
|
|
1263
|
+
return sdkResponse;
|
|
1264
|
+
}
|
|
1265
|
+
catch (err) {
|
|
1266
|
+
throw err;
|
|
1267
|
+
}
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1083
1270
|
/**
|
|
1084
1271
|
* Deletes the user's API key represented by the provided ID.
|
|
1085
1272
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1086
1273
|
* @param DeleteBdsApiKeyRequest
|
|
1087
1274
|
* @return DeleteBdsApiKeyResponse
|
|
1088
1275
|
* @throws OciError when an error occurs
|
|
1089
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
|
|
1090
1277
|
*/
|
|
1091
1278
|
deleteBdsApiKey(deleteBdsApiKeyRequest) {
|
|
1092
1279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1147,7 +1334,7 @@ class BdsClient {
|
|
|
1147
1334
|
* @param DeleteBdsInstanceRequest
|
|
1148
1335
|
* @return DeleteBdsInstanceResponse
|
|
1149
1336
|
* @throws OciError when an error occurs
|
|
1150
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
|
|
1151
1338
|
*/
|
|
1152
1339
|
deleteBdsInstance(deleteBdsInstanceRequest) {
|
|
1153
1340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1207,7 +1394,7 @@ class BdsClient {
|
|
|
1207
1394
|
* @param DeleteBdsMetastoreConfigurationRequest
|
|
1208
1395
|
* @return DeleteBdsMetastoreConfigurationResponse
|
|
1209
1396
|
* @throws OciError when an error occurs
|
|
1210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
|
|
1211
1398
|
*/
|
|
1212
1399
|
deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
|
|
1213
1400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1262,6 +1449,128 @@ class BdsClient {
|
|
|
1262
1449
|
}
|
|
1263
1450
|
});
|
|
1264
1451
|
}
|
|
1452
|
+
/**
|
|
1453
|
+
* Delete the NodeBackup represented by the provided ID.
|
|
1454
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1455
|
+
* @param DeleteNodeBackupRequest
|
|
1456
|
+
* @return DeleteNodeBackupResponse
|
|
1457
|
+
* @throws OciError when an error occurs
|
|
1458
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/DeleteNodeBackup.ts.html |here} to see how to use DeleteNodeBackup API.
|
|
1459
|
+
*/
|
|
1460
|
+
deleteNodeBackup(deleteNodeBackupRequest) {
|
|
1461
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1462
|
+
if (this.logger)
|
|
1463
|
+
this.logger.debug("Calling operation BdsClient#deleteNodeBackup.");
|
|
1464
|
+
const operationName = "deleteNodeBackup";
|
|
1465
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackup/DeleteNodeBackup";
|
|
1466
|
+
const pathParams = {
|
|
1467
|
+
"{bdsInstanceId}": deleteNodeBackupRequest.bdsInstanceId,
|
|
1468
|
+
"{nodeBackupId}": deleteNodeBackupRequest.nodeBackupId
|
|
1469
|
+
};
|
|
1470
|
+
const queryParams = {};
|
|
1471
|
+
let headerParams = {
|
|
1472
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1473
|
+
"opc-request-id": deleteNodeBackupRequest.opcRequestId,
|
|
1474
|
+
"if-match": deleteNodeBackupRequest.ifMatch
|
|
1475
|
+
};
|
|
1476
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1477
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNodeBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1478
|
+
if (this.logger)
|
|
1479
|
+
retrier.logger = this.logger;
|
|
1480
|
+
const request = yield oci_common_2.composeRequest({
|
|
1481
|
+
baseEndpoint: this._endpoint,
|
|
1482
|
+
defaultHeaders: this._defaultHeaders,
|
|
1483
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackups/{nodeBackupId}",
|
|
1484
|
+
method: "DELETE",
|
|
1485
|
+
pathParams: pathParams,
|
|
1486
|
+
headerParams: headerParams,
|
|
1487
|
+
queryParams: queryParams
|
|
1488
|
+
});
|
|
1489
|
+
try {
|
|
1490
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1491
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1492
|
+
responseObject: {},
|
|
1493
|
+
responseHeaders: [
|
|
1494
|
+
{
|
|
1495
|
+
value: response.headers.get("opc-request-id"),
|
|
1496
|
+
key: "opcRequestId",
|
|
1497
|
+
dataType: "string"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1501
|
+
key: "opcWorkRequestId",
|
|
1502
|
+
dataType: "string"
|
|
1503
|
+
}
|
|
1504
|
+
]
|
|
1505
|
+
});
|
|
1506
|
+
return sdkResponse;
|
|
1507
|
+
}
|
|
1508
|
+
catch (err) {
|
|
1509
|
+
throw err;
|
|
1510
|
+
}
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Delete the NodeBackupConfiguration represented by the provided ID.
|
|
1515
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1516
|
+
* @param DeleteNodeBackupConfigurationRequest
|
|
1517
|
+
* @return DeleteNodeBackupConfigurationResponse
|
|
1518
|
+
* @throws OciError when an error occurs
|
|
1519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/DeleteNodeBackupConfiguration.ts.html |here} to see how to use DeleteNodeBackupConfiguration API.
|
|
1520
|
+
*/
|
|
1521
|
+
deleteNodeBackupConfiguration(deleteNodeBackupConfigurationRequest) {
|
|
1522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1523
|
+
if (this.logger)
|
|
1524
|
+
this.logger.debug("Calling operation BdsClient#deleteNodeBackupConfiguration.");
|
|
1525
|
+
const operationName = "deleteNodeBackupConfiguration";
|
|
1526
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackupConfiguration/DeleteNodeBackupConfiguration";
|
|
1527
|
+
const pathParams = {
|
|
1528
|
+
"{bdsInstanceId}": deleteNodeBackupConfigurationRequest.bdsInstanceId,
|
|
1529
|
+
"{nodeBackupConfigurationId}": deleteNodeBackupConfigurationRequest.nodeBackupConfigurationId
|
|
1530
|
+
};
|
|
1531
|
+
const queryParams = {};
|
|
1532
|
+
let headerParams = {
|
|
1533
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1534
|
+
"opc-request-id": deleteNodeBackupConfigurationRequest.opcRequestId,
|
|
1535
|
+
"if-match": deleteNodeBackupConfigurationRequest.ifMatch
|
|
1536
|
+
};
|
|
1537
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1538
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNodeBackupConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1539
|
+
if (this.logger)
|
|
1540
|
+
retrier.logger = this.logger;
|
|
1541
|
+
const request = yield oci_common_2.composeRequest({
|
|
1542
|
+
baseEndpoint: this._endpoint,
|
|
1543
|
+
defaultHeaders: this._defaultHeaders,
|
|
1544
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}",
|
|
1545
|
+
method: "DELETE",
|
|
1546
|
+
pathParams: pathParams,
|
|
1547
|
+
headerParams: headerParams,
|
|
1548
|
+
queryParams: queryParams
|
|
1549
|
+
});
|
|
1550
|
+
try {
|
|
1551
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1552
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1553
|
+
responseObject: {},
|
|
1554
|
+
responseHeaders: [
|
|
1555
|
+
{
|
|
1556
|
+
value: response.headers.get("opc-request-id"),
|
|
1557
|
+
key: "opcRequestId",
|
|
1558
|
+
dataType: "string"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1562
|
+
key: "opcWorkRequestId",
|
|
1563
|
+
dataType: "string"
|
|
1564
|
+
}
|
|
1565
|
+
]
|
|
1566
|
+
});
|
|
1567
|
+
return sdkResponse;
|
|
1568
|
+
}
|
|
1569
|
+
catch (err) {
|
|
1570
|
+
throw err;
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
}
|
|
1265
1574
|
/**
|
|
1266
1575
|
* Disabling TLS/SSL for various ODH services running on the BDS cluster.
|
|
1267
1576
|
*
|
|
@@ -1269,7 +1578,7 @@ class BdsClient {
|
|
|
1269
1578
|
* @param DisableCertificateRequest
|
|
1270
1579
|
* @return DisableCertificateResponse
|
|
1271
1580
|
* @throws OciError when an error occurs
|
|
1272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/DisableCertificate.ts.html |here} to see how to use DisableCertificate API.
|
|
1273
1582
|
*/
|
|
1274
1583
|
disableCertificate(disableCertificateRequest) {
|
|
1275
1584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1332,7 +1641,7 @@ class BdsClient {
|
|
|
1332
1641
|
* @param EnableCertificateRequest
|
|
1333
1642
|
* @return EnableCertificateResponse
|
|
1334
1643
|
* @throws OciError when an error occurs
|
|
1335
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/EnableCertificate.ts.html |here} to see how to use EnableCertificate API.
|
|
1336
1645
|
*/
|
|
1337
1646
|
enableCertificate(enableCertificateRequest) {
|
|
1338
1647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1395,7 +1704,7 @@ class BdsClient {
|
|
|
1395
1704
|
* @param ExecuteBootstrapScriptRequest
|
|
1396
1705
|
* @return ExecuteBootstrapScriptResponse
|
|
1397
1706
|
* @throws OciError when an error occurs
|
|
1398
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1707
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
|
|
1399
1708
|
*/
|
|
1400
1709
|
executeBootstrapScript(executeBootstrapScriptRequest) {
|
|
1401
1710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1458,7 +1767,7 @@ class BdsClient {
|
|
|
1458
1767
|
* @param GetAutoScalingConfigurationRequest
|
|
1459
1768
|
* @return GetAutoScalingConfigurationResponse
|
|
1460
1769
|
* @throws OciError when an error occurs
|
|
1461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1770
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
|
|
1462
1771
|
*/
|
|
1463
1772
|
getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
|
|
1464
1773
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1522,7 +1831,7 @@ class BdsClient {
|
|
|
1522
1831
|
* @param GetBdsApiKeyRequest
|
|
1523
1832
|
* @return GetBdsApiKeyResponse
|
|
1524
1833
|
* @throws OciError when an error occurs
|
|
1525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
|
|
1526
1835
|
*/
|
|
1527
1836
|
getBdsApiKey(getBdsApiKeyRequest) {
|
|
1528
1837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1586,7 +1895,7 @@ class BdsClient {
|
|
|
1586
1895
|
* @param GetBdsInstanceRequest
|
|
1587
1896
|
* @return GetBdsInstanceResponse
|
|
1588
1897
|
* @throws OciError when an error occurs
|
|
1589
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1898
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
|
|
1590
1899
|
*/
|
|
1591
1900
|
getBdsInstance(getBdsInstanceRequest) {
|
|
1592
1901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1649,7 +1958,7 @@ class BdsClient {
|
|
|
1649
1958
|
* @param GetBdsMetastoreConfigurationRequest
|
|
1650
1959
|
* @return GetBdsMetastoreConfigurationResponse
|
|
1651
1960
|
* @throws OciError when an error occurs
|
|
1652
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1961
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
|
|
1653
1962
|
*/
|
|
1654
1963
|
getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
|
|
1655
1964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1708,39 +2017,234 @@ class BdsClient {
|
|
|
1708
2017
|
});
|
|
1709
2018
|
}
|
|
1710
2019
|
/**
|
|
1711
|
-
*
|
|
2020
|
+
* Returns details of NodeBackup identified by the given ID.
|
|
2021
|
+
*
|
|
1712
2022
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1713
|
-
* @param
|
|
1714
|
-
* @return
|
|
2023
|
+
* @param GetNodeBackupRequest
|
|
2024
|
+
* @return GetNodeBackupResponse
|
|
1715
2025
|
* @throws OciError when an error occurs
|
|
1716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2026
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetNodeBackup.ts.html |here} to see how to use GetNodeBackup API.
|
|
1717
2027
|
*/
|
|
1718
|
-
|
|
2028
|
+
getNodeBackup(getNodeBackupRequest) {
|
|
1719
2029
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1720
2030
|
if (this.logger)
|
|
1721
|
-
this.logger.debug("Calling operation BdsClient#
|
|
1722
|
-
const operationName = "
|
|
1723
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/
|
|
2031
|
+
this.logger.debug("Calling operation BdsClient#getNodeBackup.");
|
|
2032
|
+
const operationName = "getNodeBackup";
|
|
2033
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackup";
|
|
1724
2034
|
const pathParams = {
|
|
1725
|
-
"{bdsInstanceId}":
|
|
1726
|
-
|
|
1727
|
-
const queryParams = {
|
|
1728
|
-
"osPatchVersion": getOsPatchDetailsRequest.osPatchVersion
|
|
2035
|
+
"{bdsInstanceId}": getNodeBackupRequest.bdsInstanceId,
|
|
2036
|
+
"{nodeBackupId}": getNodeBackupRequest.nodeBackupId
|
|
1729
2037
|
};
|
|
2038
|
+
const queryParams = {};
|
|
1730
2039
|
let headerParams = {
|
|
1731
2040
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1732
|
-
"opc-request-id":
|
|
1733
|
-
"if-match": getOsPatchDetailsRequest.ifMatch,
|
|
1734
|
-
"opc-retry-token": getOsPatchDetailsRequest.opcRetryToken
|
|
2041
|
+
"opc-request-id": getNodeBackupRequest.opcRequestId
|
|
1735
2042
|
};
|
|
1736
2043
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1737
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2044
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNodeBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1738
2045
|
if (this.logger)
|
|
1739
2046
|
retrier.logger = this.logger;
|
|
1740
2047
|
const request = yield oci_common_2.composeRequest({
|
|
1741
2048
|
baseEndpoint: this._endpoint,
|
|
1742
2049
|
defaultHeaders: this._defaultHeaders,
|
|
1743
|
-
path: "/bdsInstances/{bdsInstanceId}/
|
|
2050
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackups/{nodeBackupId}",
|
|
2051
|
+
method: "GET",
|
|
2052
|
+
pathParams: pathParams,
|
|
2053
|
+
headerParams: headerParams,
|
|
2054
|
+
queryParams: queryParams
|
|
2055
|
+
});
|
|
2056
|
+
try {
|
|
2057
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2058
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2059
|
+
responseObject: {},
|
|
2060
|
+
body: yield response.json(),
|
|
2061
|
+
bodyKey: "nodeBackup",
|
|
2062
|
+
bodyModel: model.NodeBackup,
|
|
2063
|
+
type: "model.NodeBackup",
|
|
2064
|
+
responseHeaders: [
|
|
2065
|
+
{
|
|
2066
|
+
value: response.headers.get("opc-request-id"),
|
|
2067
|
+
key: "opcRequestId",
|
|
2068
|
+
dataType: "string"
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
value: response.headers.get("etag"),
|
|
2072
|
+
key: "etag",
|
|
2073
|
+
dataType: "string"
|
|
2074
|
+
}
|
|
2075
|
+
]
|
|
2076
|
+
});
|
|
2077
|
+
return sdkResponse;
|
|
2078
|
+
}
|
|
2079
|
+
catch (err) {
|
|
2080
|
+
throw err;
|
|
2081
|
+
}
|
|
2082
|
+
});
|
|
2083
|
+
}
|
|
2084
|
+
/**
|
|
2085
|
+
* Returns details of the NodeBackupConfiguration identified by the given ID.
|
|
2086
|
+
*
|
|
2087
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2088
|
+
* @param GetNodeBackupConfigurationRequest
|
|
2089
|
+
* @return GetNodeBackupConfigurationResponse
|
|
2090
|
+
* @throws OciError when an error occurs
|
|
2091
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetNodeBackupConfiguration.ts.html |here} to see how to use GetNodeBackupConfiguration API.
|
|
2092
|
+
*/
|
|
2093
|
+
getNodeBackupConfiguration(getNodeBackupConfigurationRequest) {
|
|
2094
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2095
|
+
if (this.logger)
|
|
2096
|
+
this.logger.debug("Calling operation BdsClient#getNodeBackupConfiguration.");
|
|
2097
|
+
const operationName = "getNodeBackupConfiguration";
|
|
2098
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackupConfiguration";
|
|
2099
|
+
const pathParams = {
|
|
2100
|
+
"{bdsInstanceId}": getNodeBackupConfigurationRequest.bdsInstanceId,
|
|
2101
|
+
"{nodeBackupConfigurationId}": getNodeBackupConfigurationRequest.nodeBackupConfigurationId
|
|
2102
|
+
};
|
|
2103
|
+
const queryParams = {};
|
|
2104
|
+
let headerParams = {
|
|
2105
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2106
|
+
"opc-request-id": getNodeBackupConfigurationRequest.opcRequestId
|
|
2107
|
+
};
|
|
2108
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2109
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNodeBackupConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2110
|
+
if (this.logger)
|
|
2111
|
+
retrier.logger = this.logger;
|
|
2112
|
+
const request = yield oci_common_2.composeRequest({
|
|
2113
|
+
baseEndpoint: this._endpoint,
|
|
2114
|
+
defaultHeaders: this._defaultHeaders,
|
|
2115
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}",
|
|
2116
|
+
method: "GET",
|
|
2117
|
+
pathParams: pathParams,
|
|
2118
|
+
headerParams: headerParams,
|
|
2119
|
+
queryParams: queryParams
|
|
2120
|
+
});
|
|
2121
|
+
try {
|
|
2122
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2123
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2124
|
+
responseObject: {},
|
|
2125
|
+
body: yield response.json(),
|
|
2126
|
+
bodyKey: "nodeBackupConfiguration",
|
|
2127
|
+
bodyModel: model.NodeBackupConfiguration,
|
|
2128
|
+
type: "model.NodeBackupConfiguration",
|
|
2129
|
+
responseHeaders: [
|
|
2130
|
+
{
|
|
2131
|
+
value: response.headers.get("opc-request-id"),
|
|
2132
|
+
key: "opcRequestId",
|
|
2133
|
+
dataType: "string"
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
value: response.headers.get("etag"),
|
|
2137
|
+
key: "etag",
|
|
2138
|
+
dataType: "string"
|
|
2139
|
+
}
|
|
2140
|
+
]
|
|
2141
|
+
});
|
|
2142
|
+
return sdkResponse;
|
|
2143
|
+
}
|
|
2144
|
+
catch (err) {
|
|
2145
|
+
throw err;
|
|
2146
|
+
}
|
|
2147
|
+
});
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* Returns details of the nodeReplaceConfiguration identified by the given ID.
|
|
2151
|
+
*
|
|
2152
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2153
|
+
* @param GetNodeReplaceConfigurationRequest
|
|
2154
|
+
* @return GetNodeReplaceConfigurationResponse
|
|
2155
|
+
* @throws OciError when an error occurs
|
|
2156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetNodeReplaceConfiguration.ts.html |here} to see how to use GetNodeReplaceConfiguration API.
|
|
2157
|
+
*/
|
|
2158
|
+
getNodeReplaceConfiguration(getNodeReplaceConfigurationRequest) {
|
|
2159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2160
|
+
if (this.logger)
|
|
2161
|
+
this.logger.debug("Calling operation BdsClient#getNodeReplaceConfiguration.");
|
|
2162
|
+
const operationName = "getNodeReplaceConfiguration";
|
|
2163
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeReplaceConfiguration";
|
|
2164
|
+
const pathParams = {
|
|
2165
|
+
"{bdsInstanceId}": getNodeReplaceConfigurationRequest.bdsInstanceId,
|
|
2166
|
+
"{nodeReplaceConfigurationId}": getNodeReplaceConfigurationRequest.nodeReplaceConfigurationId
|
|
2167
|
+
};
|
|
2168
|
+
const queryParams = {};
|
|
2169
|
+
let headerParams = {
|
|
2170
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2171
|
+
"opc-request-id": getNodeReplaceConfigurationRequest.opcRequestId
|
|
2172
|
+
};
|
|
2173
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2174
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNodeReplaceConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2175
|
+
if (this.logger)
|
|
2176
|
+
retrier.logger = this.logger;
|
|
2177
|
+
const request = yield oci_common_2.composeRequest({
|
|
2178
|
+
baseEndpoint: this._endpoint,
|
|
2179
|
+
defaultHeaders: this._defaultHeaders,
|
|
2180
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}",
|
|
2181
|
+
method: "GET",
|
|
2182
|
+
pathParams: pathParams,
|
|
2183
|
+
headerParams: headerParams,
|
|
2184
|
+
queryParams: queryParams
|
|
2185
|
+
});
|
|
2186
|
+
try {
|
|
2187
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2188
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2189
|
+
responseObject: {},
|
|
2190
|
+
body: yield response.json(),
|
|
2191
|
+
bodyKey: "nodeReplaceConfiguration",
|
|
2192
|
+
bodyModel: model.NodeReplaceConfiguration,
|
|
2193
|
+
type: "model.NodeReplaceConfiguration",
|
|
2194
|
+
responseHeaders: [
|
|
2195
|
+
{
|
|
2196
|
+
value: response.headers.get("opc-request-id"),
|
|
2197
|
+
key: "opcRequestId",
|
|
2198
|
+
dataType: "string"
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
value: response.headers.get("etag"),
|
|
2202
|
+
key: "etag",
|
|
2203
|
+
dataType: "string"
|
|
2204
|
+
}
|
|
2205
|
+
]
|
|
2206
|
+
});
|
|
2207
|
+
return sdkResponse;
|
|
2208
|
+
}
|
|
2209
|
+
catch (err) {
|
|
2210
|
+
throw err;
|
|
2211
|
+
}
|
|
2212
|
+
});
|
|
2213
|
+
}
|
|
2214
|
+
/**
|
|
2215
|
+
* Get the details of an os patch
|
|
2216
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2217
|
+
* @param GetOsPatchDetailsRequest
|
|
2218
|
+
* @return GetOsPatchDetailsResponse
|
|
2219
|
+
* @throws OciError when an error occurs
|
|
2220
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
|
|
2221
|
+
*/
|
|
2222
|
+
getOsPatchDetails(getOsPatchDetailsRequest) {
|
|
2223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2224
|
+
if (this.logger)
|
|
2225
|
+
this.logger.debug("Calling operation BdsClient#getOsPatchDetails.");
|
|
2226
|
+
const operationName = "getOsPatchDetails";
|
|
2227
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetOsPatchDetails";
|
|
2228
|
+
const pathParams = {
|
|
2229
|
+
"{bdsInstanceId}": getOsPatchDetailsRequest.bdsInstanceId
|
|
2230
|
+
};
|
|
2231
|
+
const queryParams = {
|
|
2232
|
+
"osPatchVersion": getOsPatchDetailsRequest.osPatchVersion
|
|
2233
|
+
};
|
|
2234
|
+
let headerParams = {
|
|
2235
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2236
|
+
"opc-request-id": getOsPatchDetailsRequest.opcRequestId,
|
|
2237
|
+
"if-match": getOsPatchDetailsRequest.ifMatch,
|
|
2238
|
+
"opc-retry-token": getOsPatchDetailsRequest.opcRetryToken
|
|
2239
|
+
};
|
|
2240
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2241
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOsPatchDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
2242
|
+
if (this.logger)
|
|
2243
|
+
retrier.logger = this.logger;
|
|
2244
|
+
const request = yield oci_common_2.composeRequest({
|
|
2245
|
+
baseEndpoint: this._endpoint,
|
|
2246
|
+
defaultHeaders: this._defaultHeaders,
|
|
2247
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/getOsPatch",
|
|
1744
2248
|
method: "POST",
|
|
1745
2249
|
pathParams: pathParams,
|
|
1746
2250
|
headerParams: headerParams,
|
|
@@ -1780,7 +2284,7 @@ class BdsClient {
|
|
|
1780
2284
|
* @param GetWorkRequestRequest
|
|
1781
2285
|
* @return GetWorkRequestResponse
|
|
1782
2286
|
* @throws OciError when an error occurs
|
|
1783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1784
2288
|
*/
|
|
1785
2289
|
getWorkRequest(getWorkRequestRequest) {
|
|
1786
2290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1844,7 +2348,7 @@ class BdsClient {
|
|
|
1844
2348
|
* @param InstallOsPatchRequest
|
|
1845
2349
|
* @return InstallOsPatchResponse
|
|
1846
2350
|
* @throws OciError when an error occurs
|
|
1847
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2351
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
|
|
1848
2352
|
*/
|
|
1849
2353
|
installOsPatch(installOsPatchRequest) {
|
|
1850
2354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1907,7 +2411,7 @@ class BdsClient {
|
|
|
1907
2411
|
* @param InstallPatchRequest
|
|
1908
2412
|
* @return InstallPatchResponse
|
|
1909
2413
|
* @throws OciError when an error occurs
|
|
1910
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2414
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
|
|
1911
2415
|
*/
|
|
1912
2416
|
installPatch(installPatchRequest) {
|
|
1913
2417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1970,7 +2474,7 @@ class BdsClient {
|
|
|
1970
2474
|
* @param ListAutoScalingConfigurationsRequest
|
|
1971
2475
|
* @return ListAutoScalingConfigurationsResponse
|
|
1972
2476
|
* @throws OciError when an error occurs
|
|
1973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
|
|
1974
2478
|
*/
|
|
1975
2479
|
listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
|
|
1976
2480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2082,7 +2586,7 @@ class BdsClient {
|
|
|
2082
2586
|
* @param ListBdsApiKeysRequest
|
|
2083
2587
|
* @return ListBdsApiKeysResponse
|
|
2084
2588
|
* @throws OciError when an error occurs
|
|
2085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2589
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
|
|
2086
2590
|
*/
|
|
2087
2591
|
listBdsApiKeys(listBdsApiKeysRequest) {
|
|
2088
2592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2194,7 +2698,7 @@ class BdsClient {
|
|
|
2194
2698
|
* @param ListBdsInstancesRequest
|
|
2195
2699
|
* @return ListBdsInstancesResponse
|
|
2196
2700
|
* @throws OciError when an error occurs
|
|
2197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
|
|
2198
2702
|
*/
|
|
2199
2703
|
listBdsInstances(listBdsInstancesRequest) {
|
|
2200
2704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2214,16 +2718,353 @@ class BdsClient {
|
|
|
2214
2718
|
};
|
|
2215
2719
|
let headerParams = {
|
|
2216
2720
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2217
|
-
"opc-request-id": listBdsInstancesRequest.opcRequestId
|
|
2721
|
+
"opc-request-id": listBdsInstancesRequest.opcRequestId
|
|
2722
|
+
};
|
|
2723
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2724
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsInstancesRequest.retryConfiguration, specRetryConfiguration);
|
|
2725
|
+
if (this.logger)
|
|
2726
|
+
retrier.logger = this.logger;
|
|
2727
|
+
const request = yield oci_common_2.composeRequest({
|
|
2728
|
+
baseEndpoint: this._endpoint,
|
|
2729
|
+
defaultHeaders: this._defaultHeaders,
|
|
2730
|
+
path: "/bdsInstances",
|
|
2731
|
+
method: "GET",
|
|
2732
|
+
pathParams: pathParams,
|
|
2733
|
+
headerParams: headerParams,
|
|
2734
|
+
queryParams: queryParams
|
|
2735
|
+
});
|
|
2736
|
+
try {
|
|
2737
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2738
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2739
|
+
responseObject: {},
|
|
2740
|
+
body: yield response.json(),
|
|
2741
|
+
bodyKey: "items",
|
|
2742
|
+
bodyModel: model.BdsInstanceSummary,
|
|
2743
|
+
type: "Array<model.BdsInstanceSummary>",
|
|
2744
|
+
responseHeaders: [
|
|
2745
|
+
{
|
|
2746
|
+
value: response.headers.get("opc-request-id"),
|
|
2747
|
+
key: "opcRequestId",
|
|
2748
|
+
dataType: "string"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
value: response.headers.get("opc-next-page"),
|
|
2752
|
+
key: "opcNextPage",
|
|
2753
|
+
dataType: "string"
|
|
2754
|
+
}
|
|
2755
|
+
]
|
|
2756
|
+
});
|
|
2757
|
+
return sdkResponse;
|
|
2758
|
+
}
|
|
2759
|
+
catch (err) {
|
|
2760
|
+
throw err;
|
|
2761
|
+
}
|
|
2762
|
+
});
|
|
2763
|
+
}
|
|
2764
|
+
/**
|
|
2765
|
+
* NOTE: This function is deprecated in favor of listBdsInstancesRecordIterator function.
|
|
2766
|
+
* Creates a new async iterator which will iterate over the models.BdsInstanceSummary objects
|
|
2767
|
+
* contained in responses from the listBdsInstances operation. This iterator will fetch more data from the
|
|
2768
|
+
* server as needed.
|
|
2769
|
+
*
|
|
2770
|
+
* @param request a request which can be sent to the service operation
|
|
2771
|
+
*/
|
|
2772
|
+
listAllBdsInstances(request) {
|
|
2773
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsInstances(req));
|
|
2774
|
+
}
|
|
2775
|
+
/**
|
|
2776
|
+
* NOTE: This function is deprecated in favor of listBdsInstancesResponseIterator function.
|
|
2777
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsInstances operation. This iterator
|
|
2778
|
+
* will fetch more data from the server as needed.
|
|
2779
|
+
*
|
|
2780
|
+
* @param request a request which can be sent to the service operation
|
|
2781
|
+
*/
|
|
2782
|
+
listAllBdsInstancesResponses(request) {
|
|
2783
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsInstances(req));
|
|
2784
|
+
}
|
|
2785
|
+
/**
|
|
2786
|
+
* Creates a new async iterator which will iterate over the models.BdsInstanceSummary objects
|
|
2787
|
+
* contained in responses from the listBdsInstances operation. This iterator will fetch more data from the
|
|
2788
|
+
* server as needed.
|
|
2789
|
+
*
|
|
2790
|
+
* @param request a request which can be sent to the service operation
|
|
2791
|
+
*/
|
|
2792
|
+
listBdsInstancesRecordIterator(request) {
|
|
2793
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsInstances(req));
|
|
2794
|
+
}
|
|
2795
|
+
/**
|
|
2796
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsInstances operation. This iterator
|
|
2797
|
+
* will fetch more data from the server as needed.
|
|
2798
|
+
*
|
|
2799
|
+
* @param request a request which can be sent to the service operation
|
|
2800
|
+
*/
|
|
2801
|
+
listBdsInstancesResponseIterator(request) {
|
|
2802
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsInstances(req));
|
|
2803
|
+
}
|
|
2804
|
+
/**
|
|
2805
|
+
* Returns a list of metastore configurations ssociated with this Big Data Service cluster.
|
|
2806
|
+
*
|
|
2807
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2808
|
+
* @param ListBdsMetastoreConfigurationsRequest
|
|
2809
|
+
* @return ListBdsMetastoreConfigurationsResponse
|
|
2810
|
+
* @throws OciError when an error occurs
|
|
2811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
|
|
2812
|
+
*/
|
|
2813
|
+
listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
|
|
2814
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2815
|
+
if (this.logger)
|
|
2816
|
+
this.logger.debug("Calling operation BdsClient#listBdsMetastoreConfigurations.");
|
|
2817
|
+
const operationName = "listBdsMetastoreConfigurations";
|
|
2818
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/ListBdsMetastoreConfigurations";
|
|
2819
|
+
const pathParams = {
|
|
2820
|
+
"{bdsInstanceId}": listBdsMetastoreConfigurationsRequest.bdsInstanceId
|
|
2821
|
+
};
|
|
2822
|
+
const queryParams = {
|
|
2823
|
+
"metastoreType": listBdsMetastoreConfigurationsRequest.metastoreType,
|
|
2824
|
+
"metastoreId": listBdsMetastoreConfigurationsRequest.metastoreId,
|
|
2825
|
+
"lifecycleState": listBdsMetastoreConfigurationsRequest.lifecycleState,
|
|
2826
|
+
"bdsApiKeyId": listBdsMetastoreConfigurationsRequest.bdsApiKeyId,
|
|
2827
|
+
"page": listBdsMetastoreConfigurationsRequest.page,
|
|
2828
|
+
"limit": listBdsMetastoreConfigurationsRequest.limit,
|
|
2829
|
+
"sortBy": listBdsMetastoreConfigurationsRequest.sortBy,
|
|
2830
|
+
"sortOrder": listBdsMetastoreConfigurationsRequest.sortOrder,
|
|
2831
|
+
"displayName": listBdsMetastoreConfigurationsRequest.displayName
|
|
2832
|
+
};
|
|
2833
|
+
let headerParams = {
|
|
2834
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2835
|
+
"opc-request-id": listBdsMetastoreConfigurationsRequest.opcRequestId
|
|
2836
|
+
};
|
|
2837
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2838
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsMetastoreConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2839
|
+
if (this.logger)
|
|
2840
|
+
retrier.logger = this.logger;
|
|
2841
|
+
const request = yield oci_common_2.composeRequest({
|
|
2842
|
+
baseEndpoint: this._endpoint,
|
|
2843
|
+
defaultHeaders: this._defaultHeaders,
|
|
2844
|
+
path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs",
|
|
2845
|
+
method: "GET",
|
|
2846
|
+
pathParams: pathParams,
|
|
2847
|
+
headerParams: headerParams,
|
|
2848
|
+
queryParams: queryParams
|
|
2849
|
+
});
|
|
2850
|
+
try {
|
|
2851
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2852
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2853
|
+
responseObject: {},
|
|
2854
|
+
body: yield response.json(),
|
|
2855
|
+
bodyKey: "items",
|
|
2856
|
+
bodyModel: model.BdsMetastoreConfigurationSummary,
|
|
2857
|
+
type: "Array<model.BdsMetastoreConfigurationSummary>",
|
|
2858
|
+
responseHeaders: [
|
|
2859
|
+
{
|
|
2860
|
+
value: response.headers.get("opc-request-id"),
|
|
2861
|
+
key: "opcRequestId",
|
|
2862
|
+
dataType: "string"
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
value: response.headers.get("opc-next-page"),
|
|
2866
|
+
key: "opcNextPage",
|
|
2867
|
+
dataType: "string"
|
|
2868
|
+
}
|
|
2869
|
+
]
|
|
2870
|
+
});
|
|
2871
|
+
return sdkResponse;
|
|
2872
|
+
}
|
|
2873
|
+
catch (err) {
|
|
2874
|
+
throw err;
|
|
2875
|
+
}
|
|
2876
|
+
});
|
|
2877
|
+
}
|
|
2878
|
+
/**
|
|
2879
|
+
* NOTE: This function is deprecated in favor of listBdsMetastoreConfigurationsRecordIterator function.
|
|
2880
|
+
* Creates a new async iterator which will iterate over the models.BdsMetastoreConfigurationSummary objects
|
|
2881
|
+
* contained in responses from the listBdsMetastoreConfigurations operation. This iterator will fetch more data from the
|
|
2882
|
+
* server as needed.
|
|
2883
|
+
*
|
|
2884
|
+
* @param request a request which can be sent to the service operation
|
|
2885
|
+
*/
|
|
2886
|
+
listAllBdsMetastoreConfigurations(request) {
|
|
2887
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsMetastoreConfigurations(req));
|
|
2888
|
+
}
|
|
2889
|
+
/**
|
|
2890
|
+
* NOTE: This function is deprecated in favor of listBdsMetastoreConfigurationsResponseIterator function.
|
|
2891
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsMetastoreConfigurations operation. This iterator
|
|
2892
|
+
* will fetch more data from the server as needed.
|
|
2893
|
+
*
|
|
2894
|
+
* @param request a request which can be sent to the service operation
|
|
2895
|
+
*/
|
|
2896
|
+
listAllBdsMetastoreConfigurationsResponses(request) {
|
|
2897
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
|
|
2898
|
+
}
|
|
2899
|
+
/**
|
|
2900
|
+
* Creates a new async iterator which will iterate over the models.BdsMetastoreConfigurationSummary objects
|
|
2901
|
+
* contained in responses from the listBdsMetastoreConfigurations operation. This iterator will fetch more data from the
|
|
2902
|
+
* server as needed.
|
|
2903
|
+
*
|
|
2904
|
+
* @param request a request which can be sent to the service operation
|
|
2905
|
+
*/
|
|
2906
|
+
listBdsMetastoreConfigurationsRecordIterator(request) {
|
|
2907
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsMetastoreConfigurations(req));
|
|
2908
|
+
}
|
|
2909
|
+
/**
|
|
2910
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsMetastoreConfigurations operation. This iterator
|
|
2911
|
+
* will fetch more data from the server as needed.
|
|
2912
|
+
*
|
|
2913
|
+
* @param request a request which can be sent to the service operation
|
|
2914
|
+
*/
|
|
2915
|
+
listBdsMetastoreConfigurationsResponseIterator(request) {
|
|
2916
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
|
|
2917
|
+
}
|
|
2918
|
+
/**
|
|
2919
|
+
* Returns information about the NodeBackupConfigurations.
|
|
2920
|
+
*
|
|
2921
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2922
|
+
* @param ListNodeBackupConfigurationsRequest
|
|
2923
|
+
* @return ListNodeBackupConfigurationsResponse
|
|
2924
|
+
* @throws OciError when an error occurs
|
|
2925
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListNodeBackupConfigurations.ts.html |here} to see how to use ListNodeBackupConfigurations API.
|
|
2926
|
+
*/
|
|
2927
|
+
listNodeBackupConfigurations(listNodeBackupConfigurationsRequest) {
|
|
2928
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2929
|
+
if (this.logger)
|
|
2930
|
+
this.logger.debug("Calling operation BdsClient#listNodeBackupConfigurations.");
|
|
2931
|
+
const operationName = "listNodeBackupConfigurations";
|
|
2932
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackupConfigurations";
|
|
2933
|
+
const pathParams = {
|
|
2934
|
+
"{bdsInstanceId}": listNodeBackupConfigurationsRequest.bdsInstanceId
|
|
2935
|
+
};
|
|
2936
|
+
const queryParams = {
|
|
2937
|
+
"page": listNodeBackupConfigurationsRequest.page,
|
|
2938
|
+
"limit": listNodeBackupConfigurationsRequest.limit,
|
|
2939
|
+
"sortBy": listNodeBackupConfigurationsRequest.sortBy,
|
|
2940
|
+
"sortOrder": listNodeBackupConfigurationsRequest.sortOrder,
|
|
2941
|
+
"displayName": listNodeBackupConfigurationsRequest.displayName,
|
|
2942
|
+
"lifecycleState": listNodeBackupConfigurationsRequest.lifecycleState
|
|
2943
|
+
};
|
|
2944
|
+
let headerParams = {
|
|
2945
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2946
|
+
"opc-request-id": listNodeBackupConfigurationsRequest.opcRequestId
|
|
2947
|
+
};
|
|
2948
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2949
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNodeBackupConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2950
|
+
if (this.logger)
|
|
2951
|
+
retrier.logger = this.logger;
|
|
2952
|
+
const request = yield oci_common_2.composeRequest({
|
|
2953
|
+
baseEndpoint: this._endpoint,
|
|
2954
|
+
defaultHeaders: this._defaultHeaders,
|
|
2955
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations",
|
|
2956
|
+
method: "GET",
|
|
2957
|
+
pathParams: pathParams,
|
|
2958
|
+
headerParams: headerParams,
|
|
2959
|
+
queryParams: queryParams
|
|
2960
|
+
});
|
|
2961
|
+
try {
|
|
2962
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2963
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2964
|
+
responseObject: {},
|
|
2965
|
+
body: yield response.json(),
|
|
2966
|
+
bodyKey: "items",
|
|
2967
|
+
bodyModel: model.NodeBackupConfigurationSummary,
|
|
2968
|
+
type: "Array<model.NodeBackupConfigurationSummary>",
|
|
2969
|
+
responseHeaders: [
|
|
2970
|
+
{
|
|
2971
|
+
value: response.headers.get("opc-request-id"),
|
|
2972
|
+
key: "opcRequestId",
|
|
2973
|
+
dataType: "string"
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
value: response.headers.get("opc-next-page"),
|
|
2977
|
+
key: "opcNextPage",
|
|
2978
|
+
dataType: "string"
|
|
2979
|
+
}
|
|
2980
|
+
]
|
|
2981
|
+
});
|
|
2982
|
+
return sdkResponse;
|
|
2983
|
+
}
|
|
2984
|
+
catch (err) {
|
|
2985
|
+
throw err;
|
|
2986
|
+
}
|
|
2987
|
+
});
|
|
2988
|
+
}
|
|
2989
|
+
/**
|
|
2990
|
+
* NOTE: This function is deprecated in favor of listNodeBackupConfigurationsRecordIterator function.
|
|
2991
|
+
* Creates a new async iterator which will iterate over the models.NodeBackupConfigurationSummary objects
|
|
2992
|
+
* contained in responses from the listNodeBackupConfigurations operation. This iterator will fetch more data from the
|
|
2993
|
+
* server as needed.
|
|
2994
|
+
*
|
|
2995
|
+
* @param request a request which can be sent to the service operation
|
|
2996
|
+
*/
|
|
2997
|
+
listAllNodeBackupConfigurations(request) {
|
|
2998
|
+
return oci_common_1.paginateRecords(request, req => this.listNodeBackupConfigurations(req));
|
|
2999
|
+
}
|
|
3000
|
+
/**
|
|
3001
|
+
* NOTE: This function is deprecated in favor of listNodeBackupConfigurationsResponseIterator function.
|
|
3002
|
+
* Creates a new async iterator which will iterate over the responses received from the listNodeBackupConfigurations operation. This iterator
|
|
3003
|
+
* will fetch more data from the server as needed.
|
|
3004
|
+
*
|
|
3005
|
+
* @param request a request which can be sent to the service operation
|
|
3006
|
+
*/
|
|
3007
|
+
listAllNodeBackupConfigurationsResponses(request) {
|
|
3008
|
+
return oci_common_1.paginateResponses(request, req => this.listNodeBackupConfigurations(req));
|
|
3009
|
+
}
|
|
3010
|
+
/**
|
|
3011
|
+
* Creates a new async iterator which will iterate over the models.NodeBackupConfigurationSummary objects
|
|
3012
|
+
* contained in responses from the listNodeBackupConfigurations operation. This iterator will fetch more data from the
|
|
3013
|
+
* server as needed.
|
|
3014
|
+
*
|
|
3015
|
+
* @param request a request which can be sent to the service operation
|
|
3016
|
+
*/
|
|
3017
|
+
listNodeBackupConfigurationsRecordIterator(request) {
|
|
3018
|
+
return oci_common_1.paginateRecords(request, req => this.listNodeBackupConfigurations(req));
|
|
3019
|
+
}
|
|
3020
|
+
/**
|
|
3021
|
+
* Creates a new async iterator which will iterate over the responses received from the listNodeBackupConfigurations operation. This iterator
|
|
3022
|
+
* will fetch more data from the server as needed.
|
|
3023
|
+
*
|
|
3024
|
+
* @param request a request which can be sent to the service operation
|
|
3025
|
+
*/
|
|
3026
|
+
listNodeBackupConfigurationsResponseIterator(request) {
|
|
3027
|
+
return oci_common_1.paginateResponses(request, req => this.listNodeBackupConfigurations(req));
|
|
3028
|
+
}
|
|
3029
|
+
/**
|
|
3030
|
+
* Returns information about the node Backups.
|
|
3031
|
+
*
|
|
3032
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3033
|
+
* @param ListNodeBackupsRequest
|
|
3034
|
+
* @return ListNodeBackupsResponse
|
|
3035
|
+
* @throws OciError when an error occurs
|
|
3036
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListNodeBackups.ts.html |here} to see how to use ListNodeBackups API.
|
|
3037
|
+
*/
|
|
3038
|
+
listNodeBackups(listNodeBackupsRequest) {
|
|
3039
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3040
|
+
if (this.logger)
|
|
3041
|
+
this.logger.debug("Calling operation BdsClient#listNodeBackups.");
|
|
3042
|
+
const operationName = "listNodeBackups";
|
|
3043
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackups";
|
|
3044
|
+
const pathParams = {
|
|
3045
|
+
"{bdsInstanceId}": listNodeBackupsRequest.bdsInstanceId
|
|
3046
|
+
};
|
|
3047
|
+
const queryParams = {
|
|
3048
|
+
"page": listNodeBackupsRequest.page,
|
|
3049
|
+
"limit": listNodeBackupsRequest.limit,
|
|
3050
|
+
"sortBy": listNodeBackupsRequest.sortBy,
|
|
3051
|
+
"sortOrder": listNodeBackupsRequest.sortOrder,
|
|
3052
|
+
"nodeHostName": listNodeBackupsRequest.nodeHostName,
|
|
3053
|
+
"lifecycleState": listNodeBackupsRequest.lifecycleState,
|
|
3054
|
+
"displayName": listNodeBackupsRequest.displayName
|
|
3055
|
+
};
|
|
3056
|
+
let headerParams = {
|
|
3057
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3058
|
+
"opc-request-id": listNodeBackupsRequest.opcRequestId
|
|
2218
3059
|
};
|
|
2219
3060
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2220
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3061
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNodeBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
2221
3062
|
if (this.logger)
|
|
2222
3063
|
retrier.logger = this.logger;
|
|
2223
3064
|
const request = yield oci_common_2.composeRequest({
|
|
2224
3065
|
baseEndpoint: this._endpoint,
|
|
2225
3066
|
defaultHeaders: this._defaultHeaders,
|
|
2226
|
-
path: "/bdsInstances",
|
|
3067
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackups",
|
|
2227
3068
|
method: "GET",
|
|
2228
3069
|
pathParams: pathParams,
|
|
2229
3070
|
headerParams: headerParams,
|
|
@@ -2235,8 +3076,8 @@ class BdsClient {
|
|
|
2235
3076
|
responseObject: {},
|
|
2236
3077
|
body: yield response.json(),
|
|
2237
3078
|
bodyKey: "items",
|
|
2238
|
-
bodyModel: model.
|
|
2239
|
-
type: "Array<model.
|
|
3079
|
+
bodyModel: model.NodeBackupSummary,
|
|
3080
|
+
type: "Array<model.NodeBackupSummary>",
|
|
2240
3081
|
responseHeaders: [
|
|
2241
3082
|
{
|
|
2242
3083
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2258,86 +3099,83 @@ class BdsClient {
|
|
|
2258
3099
|
});
|
|
2259
3100
|
}
|
|
2260
3101
|
/**
|
|
2261
|
-
* NOTE: This function is deprecated in favor of
|
|
2262
|
-
* Creates a new async iterator which will iterate over the models.
|
|
2263
|
-
* contained in responses from the
|
|
3102
|
+
* NOTE: This function is deprecated in favor of listNodeBackupsRecordIterator function.
|
|
3103
|
+
* Creates a new async iterator which will iterate over the models.NodeBackupSummary objects
|
|
3104
|
+
* contained in responses from the listNodeBackups operation. This iterator will fetch more data from the
|
|
2264
3105
|
* server as needed.
|
|
2265
3106
|
*
|
|
2266
3107
|
* @param request a request which can be sent to the service operation
|
|
2267
3108
|
*/
|
|
2268
|
-
|
|
2269
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
3109
|
+
listAllNodeBackups(request) {
|
|
3110
|
+
return oci_common_1.paginateRecords(request, req => this.listNodeBackups(req));
|
|
2270
3111
|
}
|
|
2271
3112
|
/**
|
|
2272
|
-
* NOTE: This function is deprecated in favor of
|
|
2273
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
3113
|
+
* NOTE: This function is deprecated in favor of listNodeBackupsResponseIterator function.
|
|
3114
|
+
* Creates a new async iterator which will iterate over the responses received from the listNodeBackups operation. This iterator
|
|
2274
3115
|
* will fetch more data from the server as needed.
|
|
2275
3116
|
*
|
|
2276
3117
|
* @param request a request which can be sent to the service operation
|
|
2277
3118
|
*/
|
|
2278
|
-
|
|
2279
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
3119
|
+
listAllNodeBackupsResponses(request) {
|
|
3120
|
+
return oci_common_1.paginateResponses(request, req => this.listNodeBackups(req));
|
|
2280
3121
|
}
|
|
2281
3122
|
/**
|
|
2282
|
-
* Creates a new async iterator which will iterate over the models.
|
|
2283
|
-
* contained in responses from the
|
|
3123
|
+
* Creates a new async iterator which will iterate over the models.NodeBackupSummary objects
|
|
3124
|
+
* contained in responses from the listNodeBackups operation. This iterator will fetch more data from the
|
|
2284
3125
|
* server as needed.
|
|
2285
3126
|
*
|
|
2286
3127
|
* @param request a request which can be sent to the service operation
|
|
2287
3128
|
*/
|
|
2288
|
-
|
|
2289
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
3129
|
+
listNodeBackupsRecordIterator(request) {
|
|
3130
|
+
return oci_common_1.paginateRecords(request, req => this.listNodeBackups(req));
|
|
2290
3131
|
}
|
|
2291
3132
|
/**
|
|
2292
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
3133
|
+
* Creates a new async iterator which will iterate over the responses received from the listNodeBackups operation. This iterator
|
|
2293
3134
|
* will fetch more data from the server as needed.
|
|
2294
3135
|
*
|
|
2295
3136
|
* @param request a request which can be sent to the service operation
|
|
2296
3137
|
*/
|
|
2297
|
-
|
|
2298
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
3138
|
+
listNodeBackupsResponseIterator(request) {
|
|
3139
|
+
return oci_common_1.paginateResponses(request, req => this.listNodeBackups(req));
|
|
2299
3140
|
}
|
|
2300
3141
|
/**
|
|
2301
|
-
* Returns
|
|
3142
|
+
* Returns information about the NodeReplaceConfiguration.
|
|
2302
3143
|
*
|
|
2303
3144
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2304
|
-
* @param
|
|
2305
|
-
* @return
|
|
3145
|
+
* @param ListNodeReplaceConfigurationsRequest
|
|
3146
|
+
* @return ListNodeReplaceConfigurationsResponse
|
|
2306
3147
|
* @throws OciError when an error occurs
|
|
2307
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3148
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListNodeReplaceConfigurations.ts.html |here} to see how to use ListNodeReplaceConfigurations API.
|
|
2308
3149
|
*/
|
|
2309
|
-
|
|
3150
|
+
listNodeReplaceConfigurations(listNodeReplaceConfigurationsRequest) {
|
|
2310
3151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2311
3152
|
if (this.logger)
|
|
2312
|
-
this.logger.debug("Calling operation BdsClient#
|
|
2313
|
-
const operationName = "
|
|
2314
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/
|
|
3153
|
+
this.logger.debug("Calling operation BdsClient#listNodeReplaceConfigurations.");
|
|
3154
|
+
const operationName = "listNodeReplaceConfigurations";
|
|
3155
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeReplaceConfigurations";
|
|
2315
3156
|
const pathParams = {
|
|
2316
|
-
"{bdsInstanceId}":
|
|
3157
|
+
"{bdsInstanceId}": listNodeReplaceConfigurationsRequest.bdsInstanceId
|
|
2317
3158
|
};
|
|
2318
3159
|
const queryParams = {
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2321
|
-
"
|
|
2322
|
-
"
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2325
|
-
"sortBy": listBdsMetastoreConfigurationsRequest.sortBy,
|
|
2326
|
-
"sortOrder": listBdsMetastoreConfigurationsRequest.sortOrder,
|
|
2327
|
-
"displayName": listBdsMetastoreConfigurationsRequest.displayName
|
|
3160
|
+
"page": listNodeReplaceConfigurationsRequest.page,
|
|
3161
|
+
"limit": listNodeReplaceConfigurationsRequest.limit,
|
|
3162
|
+
"sortBy": listNodeReplaceConfigurationsRequest.sortBy,
|
|
3163
|
+
"sortOrder": listNodeReplaceConfigurationsRequest.sortOrder,
|
|
3164
|
+
"displayName": listNodeReplaceConfigurationsRequest.displayName,
|
|
3165
|
+
"lifecycleState": listNodeReplaceConfigurationsRequest.lifecycleState
|
|
2328
3166
|
};
|
|
2329
3167
|
let headerParams = {
|
|
2330
3168
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2331
|
-
"opc-request-id":
|
|
3169
|
+
"opc-request-id": listNodeReplaceConfigurationsRequest.opcRequestId
|
|
2332
3170
|
};
|
|
2333
3171
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2334
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNodeReplaceConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2335
3173
|
if (this.logger)
|
|
2336
3174
|
retrier.logger = this.logger;
|
|
2337
3175
|
const request = yield oci_common_2.composeRequest({
|
|
2338
3176
|
baseEndpoint: this._endpoint,
|
|
2339
3177
|
defaultHeaders: this._defaultHeaders,
|
|
2340
|
-
path: "/bdsInstances/{bdsInstanceId}/
|
|
3178
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations",
|
|
2341
3179
|
method: "GET",
|
|
2342
3180
|
pathParams: pathParams,
|
|
2343
3181
|
headerParams: headerParams,
|
|
@@ -2349,8 +3187,8 @@ class BdsClient {
|
|
|
2349
3187
|
responseObject: {},
|
|
2350
3188
|
body: yield response.json(),
|
|
2351
3189
|
bodyKey: "items",
|
|
2352
|
-
bodyModel: model.
|
|
2353
|
-
type: "Array<model.
|
|
3190
|
+
bodyModel: model.NodeReplaceConfigurationSummary,
|
|
3191
|
+
type: "Array<model.NodeReplaceConfigurationSummary>",
|
|
2354
3192
|
responseHeaders: [
|
|
2355
3193
|
{
|
|
2356
3194
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2372,44 +3210,44 @@ class BdsClient {
|
|
|
2372
3210
|
});
|
|
2373
3211
|
}
|
|
2374
3212
|
/**
|
|
2375
|
-
* NOTE: This function is deprecated in favor of
|
|
2376
|
-
* Creates a new async iterator which will iterate over the models.
|
|
2377
|
-
* contained in responses from the
|
|
3213
|
+
* NOTE: This function is deprecated in favor of listNodeReplaceConfigurationsRecordIterator function.
|
|
3214
|
+
* Creates a new async iterator which will iterate over the models.NodeReplaceConfigurationSummary objects
|
|
3215
|
+
* contained in responses from the listNodeReplaceConfigurations operation. This iterator will fetch more data from the
|
|
2378
3216
|
* server as needed.
|
|
2379
3217
|
*
|
|
2380
3218
|
* @param request a request which can be sent to the service operation
|
|
2381
3219
|
*/
|
|
2382
|
-
|
|
2383
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
3220
|
+
listAllNodeReplaceConfigurations(request) {
|
|
3221
|
+
return oci_common_1.paginateRecords(request, req => this.listNodeReplaceConfigurations(req));
|
|
2384
3222
|
}
|
|
2385
3223
|
/**
|
|
2386
|
-
* NOTE: This function is deprecated in favor of
|
|
2387
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
3224
|
+
* NOTE: This function is deprecated in favor of listNodeReplaceConfigurationsResponseIterator function.
|
|
3225
|
+
* Creates a new async iterator which will iterate over the responses received from the listNodeReplaceConfigurations operation. This iterator
|
|
2388
3226
|
* will fetch more data from the server as needed.
|
|
2389
3227
|
*
|
|
2390
3228
|
* @param request a request which can be sent to the service operation
|
|
2391
3229
|
*/
|
|
2392
|
-
|
|
2393
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
3230
|
+
listAllNodeReplaceConfigurationsResponses(request) {
|
|
3231
|
+
return oci_common_1.paginateResponses(request, req => this.listNodeReplaceConfigurations(req));
|
|
2394
3232
|
}
|
|
2395
3233
|
/**
|
|
2396
|
-
* Creates a new async iterator which will iterate over the models.
|
|
2397
|
-
* contained in responses from the
|
|
3234
|
+
* Creates a new async iterator which will iterate over the models.NodeReplaceConfigurationSummary objects
|
|
3235
|
+
* contained in responses from the listNodeReplaceConfigurations operation. This iterator will fetch more data from the
|
|
2398
3236
|
* server as needed.
|
|
2399
3237
|
*
|
|
2400
3238
|
* @param request a request which can be sent to the service operation
|
|
2401
3239
|
*/
|
|
2402
|
-
|
|
2403
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
3240
|
+
listNodeReplaceConfigurationsRecordIterator(request) {
|
|
3241
|
+
return oci_common_1.paginateRecords(request, req => this.listNodeReplaceConfigurations(req));
|
|
2404
3242
|
}
|
|
2405
3243
|
/**
|
|
2406
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
3244
|
+
* Creates a new async iterator which will iterate over the responses received from the listNodeReplaceConfigurations operation. This iterator
|
|
2407
3245
|
* will fetch more data from the server as needed.
|
|
2408
3246
|
*
|
|
2409
3247
|
* @param request a request which can be sent to the service operation
|
|
2410
3248
|
*/
|
|
2411
|
-
|
|
2412
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
3249
|
+
listNodeReplaceConfigurationsResponseIterator(request) {
|
|
3250
|
+
return oci_common_1.paginateResponses(request, req => this.listNodeReplaceConfigurations(req));
|
|
2413
3251
|
}
|
|
2414
3252
|
/**
|
|
2415
3253
|
* List all available os patches for a given cluster
|
|
@@ -2417,7 +3255,7 @@ class BdsClient {
|
|
|
2417
3255
|
* @param ListOsPatchesRequest
|
|
2418
3256
|
* @return ListOsPatchesResponse
|
|
2419
3257
|
* @throws OciError when an error occurs
|
|
2420
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
|
|
2421
3259
|
*/
|
|
2422
3260
|
listOsPatches(listOsPatchesRequest) {
|
|
2423
3261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2533,7 +3371,7 @@ class BdsClient {
|
|
|
2533
3371
|
* @param ListPatchHistoriesRequest
|
|
2534
3372
|
* @return ListPatchHistoriesResponse
|
|
2535
3373
|
* @throws OciError when an error occurs
|
|
2536
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3374
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
|
|
2537
3375
|
*/
|
|
2538
3376
|
listPatchHistories(listPatchHistoriesRequest) {
|
|
2539
3377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2645,7 +3483,7 @@ class BdsClient {
|
|
|
2645
3483
|
* @param ListPatchesRequest
|
|
2646
3484
|
* @return ListPatchesResponse
|
|
2647
3485
|
* @throws OciError when an error occurs
|
|
2648
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3486
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
|
|
2649
3487
|
*/
|
|
2650
3488
|
listPatches(listPatchesRequest) {
|
|
2651
3489
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2752,7 +3590,7 @@ class BdsClient {
|
|
|
2752
3590
|
* @param ListWorkRequestErrorsRequest
|
|
2753
3591
|
* @return ListWorkRequestErrorsResponse
|
|
2754
3592
|
* @throws OciError when an error occurs
|
|
2755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3593
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2756
3594
|
*/
|
|
2757
3595
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2758
3596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2861,7 +3699,7 @@ class BdsClient {
|
|
|
2861
3699
|
* @param ListWorkRequestLogsRequest
|
|
2862
3700
|
* @return ListWorkRequestLogsResponse
|
|
2863
3701
|
* @throws OciError when an error occurs
|
|
2864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2865
3703
|
*/
|
|
2866
3704
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2867
3705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2970,7 +3808,7 @@ class BdsClient {
|
|
|
2970
3808
|
* @param ListWorkRequestsRequest
|
|
2971
3809
|
* @return ListWorkRequestsResponse
|
|
2972
3810
|
* @throws OciError when an error occurs
|
|
2973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2974
3812
|
*/
|
|
2975
3813
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2976
3814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3079,7 +3917,7 @@ class BdsClient {
|
|
|
3079
3917
|
* @param RemoveAutoScalingConfigurationRequest
|
|
3080
3918
|
* @return RemoveAutoScalingConfigurationResponse
|
|
3081
3919
|
* @throws OciError when an error occurs
|
|
3082
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
|
|
3083
3921
|
*/
|
|
3084
3922
|
removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
|
|
3085
3923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3143,7 +3981,7 @@ class BdsClient {
|
|
|
3143
3981
|
* @param RemoveCloudSqlRequest
|
|
3144
3982
|
* @return RemoveCloudSqlResponse
|
|
3145
3983
|
* @throws OciError when an error occurs
|
|
3146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3984
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
|
|
3147
3985
|
*/
|
|
3148
3986
|
removeCloudSql(removeCloudSqlRequest) {
|
|
3149
3987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3206,7 +4044,7 @@ class BdsClient {
|
|
|
3206
4044
|
* @param RemoveKafkaRequest
|
|
3207
4045
|
* @return RemoveKafkaResponse
|
|
3208
4046
|
* @throws OciError when an error occurs
|
|
3209
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4047
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
|
|
3210
4048
|
*/
|
|
3211
4049
|
removeKafka(removeKafkaRequest) {
|
|
3212
4050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3269,7 +4107,7 @@ class BdsClient {
|
|
|
3269
4107
|
* @param RemoveNodeRequest
|
|
3270
4108
|
* @return RemoveNodeResponse
|
|
3271
4109
|
* @throws OciError when an error occurs
|
|
3272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
|
|
3273
4111
|
*/
|
|
3274
4112
|
removeNode(removeNodeRequest) {
|
|
3275
4113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3324,6 +4162,70 @@ class BdsClient {
|
|
|
3324
4162
|
}
|
|
3325
4163
|
});
|
|
3326
4164
|
}
|
|
4165
|
+
/**
|
|
4166
|
+
* Deletes a nodeReplaceConfiguration
|
|
4167
|
+
*
|
|
4168
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4169
|
+
* @param RemoveNodeReplaceConfigurationRequest
|
|
4170
|
+
* @return RemoveNodeReplaceConfigurationResponse
|
|
4171
|
+
* @throws OciError when an error occurs
|
|
4172
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RemoveNodeReplaceConfiguration.ts.html |here} to see how to use RemoveNodeReplaceConfiguration API.
|
|
4173
|
+
*/
|
|
4174
|
+
removeNodeReplaceConfiguration(removeNodeReplaceConfigurationRequest) {
|
|
4175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4176
|
+
if (this.logger)
|
|
4177
|
+
this.logger.debug("Calling operation BdsClient#removeNodeReplaceConfiguration.");
|
|
4178
|
+
const operationName = "removeNodeReplaceConfiguration";
|
|
4179
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeReplaceConfiguration/RemoveNodeReplaceConfiguration";
|
|
4180
|
+
const pathParams = {
|
|
4181
|
+
"{bdsInstanceId}": removeNodeReplaceConfigurationRequest.bdsInstanceId,
|
|
4182
|
+
"{nodeReplaceConfigurationId}": removeNodeReplaceConfigurationRequest.nodeReplaceConfigurationId
|
|
4183
|
+
};
|
|
4184
|
+
const queryParams = {};
|
|
4185
|
+
let headerParams = {
|
|
4186
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4187
|
+
"opc-request-id": removeNodeReplaceConfigurationRequest.opcRequestId,
|
|
4188
|
+
"if-match": removeNodeReplaceConfigurationRequest.ifMatch,
|
|
4189
|
+
"opc-retry-token": removeNodeReplaceConfigurationRequest.opcRetryToken
|
|
4190
|
+
};
|
|
4191
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4192
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeNodeReplaceConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
4193
|
+
if (this.logger)
|
|
4194
|
+
retrier.logger = this.logger;
|
|
4195
|
+
const request = yield oci_common_2.composeRequest({
|
|
4196
|
+
baseEndpoint: this._endpoint,
|
|
4197
|
+
defaultHeaders: this._defaultHeaders,
|
|
4198
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}/actions/remove",
|
|
4199
|
+
method: "POST",
|
|
4200
|
+
bodyContent: common.ObjectSerializer.serialize(removeNodeReplaceConfigurationRequest.removeNodeReplaceConfigurationDetails, "RemoveNodeReplaceConfigurationDetails", model.RemoveNodeReplaceConfigurationDetails.getJsonObj),
|
|
4201
|
+
pathParams: pathParams,
|
|
4202
|
+
headerParams: headerParams,
|
|
4203
|
+
queryParams: queryParams
|
|
4204
|
+
});
|
|
4205
|
+
try {
|
|
4206
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4207
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4208
|
+
responseObject: {},
|
|
4209
|
+
responseHeaders: [
|
|
4210
|
+
{
|
|
4211
|
+
value: response.headers.get("opc-request-id"),
|
|
4212
|
+
key: "opcRequestId",
|
|
4213
|
+
dataType: "string"
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4217
|
+
key: "opcWorkRequestId",
|
|
4218
|
+
dataType: "string"
|
|
4219
|
+
}
|
|
4220
|
+
]
|
|
4221
|
+
});
|
|
4222
|
+
return sdkResponse;
|
|
4223
|
+
}
|
|
4224
|
+
catch (err) {
|
|
4225
|
+
throw err;
|
|
4226
|
+
}
|
|
4227
|
+
});
|
|
4228
|
+
}
|
|
3327
4229
|
/**
|
|
3328
4230
|
* Renewing TLS/SSL for various ODH services running on the BDS cluster.
|
|
3329
4231
|
*
|
|
@@ -3331,7 +4233,7 @@ class BdsClient {
|
|
|
3331
4233
|
* @param RenewCertificateRequest
|
|
3332
4234
|
* @return RenewCertificateResponse
|
|
3333
4235
|
* @throws OciError when an error occurs
|
|
3334
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4236
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RenewCertificate.ts.html |here} to see how to use RenewCertificate API.
|
|
3335
4237
|
*/
|
|
3336
4238
|
renewCertificate(renewCertificateRequest) {
|
|
3337
4239
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3387,6 +4289,69 @@ class BdsClient {
|
|
|
3387
4289
|
}
|
|
3388
4290
|
});
|
|
3389
4291
|
}
|
|
4292
|
+
/**
|
|
4293
|
+
* Replaces a node of a Big Data Service cluster from backup.
|
|
4294
|
+
*
|
|
4295
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4296
|
+
* @param ReplaceNodeRequest
|
|
4297
|
+
* @return ReplaceNodeResponse
|
|
4298
|
+
* @throws OciError when an error occurs
|
|
4299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/ReplaceNode.ts.html |here} to see how to use ReplaceNode API.
|
|
4300
|
+
*/
|
|
4301
|
+
replaceNode(replaceNodeRequest) {
|
|
4302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4303
|
+
if (this.logger)
|
|
4304
|
+
this.logger.debug("Calling operation BdsClient#replaceNode.");
|
|
4305
|
+
const operationName = "replaceNode";
|
|
4306
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ReplaceNode";
|
|
4307
|
+
const pathParams = {
|
|
4308
|
+
"{bdsInstanceId}": replaceNodeRequest.bdsInstanceId
|
|
4309
|
+
};
|
|
4310
|
+
const queryParams = {};
|
|
4311
|
+
let headerParams = {
|
|
4312
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4313
|
+
"opc-request-id": replaceNodeRequest.opcRequestId,
|
|
4314
|
+
"if-match": replaceNodeRequest.ifMatch,
|
|
4315
|
+
"opc-retry-token": replaceNodeRequest.opcRetryToken
|
|
4316
|
+
};
|
|
4317
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4318
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, replaceNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
4319
|
+
if (this.logger)
|
|
4320
|
+
retrier.logger = this.logger;
|
|
4321
|
+
const request = yield oci_common_2.composeRequest({
|
|
4322
|
+
baseEndpoint: this._endpoint,
|
|
4323
|
+
defaultHeaders: this._defaultHeaders,
|
|
4324
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/replaceNode",
|
|
4325
|
+
method: "POST",
|
|
4326
|
+
bodyContent: common.ObjectSerializer.serialize(replaceNodeRequest.replaceNodeDetails, "ReplaceNodeDetails", model.ReplaceNodeDetails.getJsonObj),
|
|
4327
|
+
pathParams: pathParams,
|
|
4328
|
+
headerParams: headerParams,
|
|
4329
|
+
queryParams: queryParams
|
|
4330
|
+
});
|
|
4331
|
+
try {
|
|
4332
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4333
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4334
|
+
responseObject: {},
|
|
4335
|
+
responseHeaders: [
|
|
4336
|
+
{
|
|
4337
|
+
value: response.headers.get("opc-request-id"),
|
|
4338
|
+
key: "opcRequestId",
|
|
4339
|
+
dataType: "string"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4343
|
+
key: "opcWorkRequestId",
|
|
4344
|
+
dataType: "string"
|
|
4345
|
+
}
|
|
4346
|
+
]
|
|
4347
|
+
});
|
|
4348
|
+
return sdkResponse;
|
|
4349
|
+
}
|
|
4350
|
+
catch (err) {
|
|
4351
|
+
throw err;
|
|
4352
|
+
}
|
|
4353
|
+
});
|
|
4354
|
+
}
|
|
3390
4355
|
/**
|
|
3391
4356
|
* Restarts a single node of a Big Data Service cluster
|
|
3392
4357
|
*
|
|
@@ -3394,7 +4359,7 @@ class BdsClient {
|
|
|
3394
4359
|
* @param RestartNodeRequest
|
|
3395
4360
|
* @return RestartNodeResponse
|
|
3396
4361
|
* @throws OciError when an error occurs
|
|
3397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
|
|
3398
4363
|
*/
|
|
3399
4364
|
restartNode(restartNodeRequest) {
|
|
3400
4365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3457,7 +4422,7 @@ class BdsClient {
|
|
|
3457
4422
|
* @param StartBdsInstanceRequest
|
|
3458
4423
|
* @return StartBdsInstanceResponse
|
|
3459
4424
|
* @throws OciError when an error occurs
|
|
3460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
|
|
3461
4426
|
*/
|
|
3462
4427
|
startBdsInstance(startBdsInstanceRequest) {
|
|
3463
4428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3519,7 +4484,7 @@ class BdsClient {
|
|
|
3519
4484
|
* @param StopBdsInstanceRequest
|
|
3520
4485
|
* @return StopBdsInstanceResponse
|
|
3521
4486
|
* @throws OciError when an error occurs
|
|
3522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4487
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
|
|
3523
4488
|
*/
|
|
3524
4489
|
stopBdsInstance(stopBdsInstanceRequest) {
|
|
3525
4490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3581,7 +4546,7 @@ class BdsClient {
|
|
|
3581
4546
|
* @param TestBdsMetastoreConfigurationRequest
|
|
3582
4547
|
* @return TestBdsMetastoreConfigurationResponse
|
|
3583
4548
|
* @throws OciError when an error occurs
|
|
3584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4549
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
|
|
3585
4550
|
*/
|
|
3586
4551
|
testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
|
|
3587
4552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3643,7 +4608,7 @@ class BdsClient {
|
|
|
3643
4608
|
* @param TestBdsObjectStorageConnectionRequest
|
|
3644
4609
|
* @return TestBdsObjectStorageConnectionResponse
|
|
3645
4610
|
* @throws OciError when an error occurs
|
|
3646
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4611
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
|
|
3647
4612
|
*/
|
|
3648
4613
|
testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
|
|
3649
4614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3705,7 +4670,7 @@ class BdsClient {
|
|
|
3705
4670
|
* @param UpdateAutoScalingConfigurationRequest
|
|
3706
4671
|
* @return UpdateAutoScalingConfigurationResponse
|
|
3707
4672
|
* @throws OciError when an error occurs
|
|
3708
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4673
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
|
|
3709
4674
|
*/
|
|
3710
4675
|
updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
|
|
3711
4676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3768,7 +4733,7 @@ class BdsClient {
|
|
|
3768
4733
|
* @param UpdateBdsInstanceRequest
|
|
3769
4734
|
* @return UpdateBdsInstanceResponse
|
|
3770
4735
|
* @throws OciError when an error occurs
|
|
3771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4736
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
|
|
3772
4737
|
*/
|
|
3773
4738
|
updateBdsInstance(updateBdsInstanceRequest) {
|
|
3774
4739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3829,7 +4794,7 @@ class BdsClient {
|
|
|
3829
4794
|
* @param UpdateBdsMetastoreConfigurationRequest
|
|
3830
4795
|
* @return UpdateBdsMetastoreConfigurationResponse
|
|
3831
4796
|
* @throws OciError when an error occurs
|
|
3832
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
|
|
3833
4798
|
*/
|
|
3834
4799
|
updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
|
|
3835
4800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3885,6 +4850,134 @@ class BdsClient {
|
|
|
3885
4850
|
}
|
|
3886
4851
|
});
|
|
3887
4852
|
}
|
|
4853
|
+
/**
|
|
4854
|
+
* Updates fields on NodeBackupConfiguration, including the name, the schedule.
|
|
4855
|
+
*
|
|
4856
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4857
|
+
* @param UpdateNodeBackupConfigurationRequest
|
|
4858
|
+
* @return UpdateNodeBackupConfigurationResponse
|
|
4859
|
+
* @throws OciError when an error occurs
|
|
4860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/UpdateNodeBackupConfiguration.ts.html |here} to see how to use UpdateNodeBackupConfiguration API.
|
|
4861
|
+
*/
|
|
4862
|
+
updateNodeBackupConfiguration(updateNodeBackupConfigurationRequest) {
|
|
4863
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4864
|
+
if (this.logger)
|
|
4865
|
+
this.logger.debug("Calling operation BdsClient#updateNodeBackupConfiguration.");
|
|
4866
|
+
const operationName = "updateNodeBackupConfiguration";
|
|
4867
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeBackupConfiguration";
|
|
4868
|
+
const pathParams = {
|
|
4869
|
+
"{bdsInstanceId}": updateNodeBackupConfigurationRequest.bdsInstanceId,
|
|
4870
|
+
"{nodeBackupConfigurationId}": updateNodeBackupConfigurationRequest.nodeBackupConfigurationId
|
|
4871
|
+
};
|
|
4872
|
+
const queryParams = {};
|
|
4873
|
+
let headerParams = {
|
|
4874
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4875
|
+
"opc-request-id": updateNodeBackupConfigurationRequest.opcRequestId,
|
|
4876
|
+
"if-match": updateNodeBackupConfigurationRequest.ifMatch,
|
|
4877
|
+
"opc-retry-token": updateNodeBackupConfigurationRequest.opcRetryToken
|
|
4878
|
+
};
|
|
4879
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4880
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNodeBackupConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
4881
|
+
if (this.logger)
|
|
4882
|
+
retrier.logger = this.logger;
|
|
4883
|
+
const request = yield oci_common_2.composeRequest({
|
|
4884
|
+
baseEndpoint: this._endpoint,
|
|
4885
|
+
defaultHeaders: this._defaultHeaders,
|
|
4886
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}",
|
|
4887
|
+
method: "PUT",
|
|
4888
|
+
bodyContent: common.ObjectSerializer.serialize(updateNodeBackupConfigurationRequest.updateNodeBackupConfigurationDetails, "UpdateNodeBackupConfigurationDetails", model.UpdateNodeBackupConfigurationDetails.getJsonObj),
|
|
4889
|
+
pathParams: pathParams,
|
|
4890
|
+
headerParams: headerParams,
|
|
4891
|
+
queryParams: queryParams
|
|
4892
|
+
});
|
|
4893
|
+
try {
|
|
4894
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4895
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4896
|
+
responseObject: {},
|
|
4897
|
+
responseHeaders: [
|
|
4898
|
+
{
|
|
4899
|
+
value: response.headers.get("opc-request-id"),
|
|
4900
|
+
key: "opcRequestId",
|
|
4901
|
+
dataType: "string"
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4905
|
+
key: "opcWorkRequestId",
|
|
4906
|
+
dataType: "string"
|
|
4907
|
+
}
|
|
4908
|
+
]
|
|
4909
|
+
});
|
|
4910
|
+
return sdkResponse;
|
|
4911
|
+
}
|
|
4912
|
+
catch (err) {
|
|
4913
|
+
throw err;
|
|
4914
|
+
}
|
|
4915
|
+
});
|
|
4916
|
+
}
|
|
4917
|
+
/**
|
|
4918
|
+
* Updates fields on nodeReplaceConfigurations, including the name, the schedule
|
|
4919
|
+
*
|
|
4920
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4921
|
+
* @param UpdateNodeReplaceConfigurationRequest
|
|
4922
|
+
* @return UpdateNodeReplaceConfigurationResponse
|
|
4923
|
+
* @throws OciError when an error occurs
|
|
4924
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/bds/UpdateNodeReplaceConfiguration.ts.html |here} to see how to use UpdateNodeReplaceConfiguration API.
|
|
4925
|
+
*/
|
|
4926
|
+
updateNodeReplaceConfiguration(updateNodeReplaceConfigurationRequest) {
|
|
4927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4928
|
+
if (this.logger)
|
|
4929
|
+
this.logger.debug("Calling operation BdsClient#updateNodeReplaceConfiguration.");
|
|
4930
|
+
const operationName = "updateNodeReplaceConfiguration";
|
|
4931
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeReplaceConfiguration";
|
|
4932
|
+
const pathParams = {
|
|
4933
|
+
"{bdsInstanceId}": updateNodeReplaceConfigurationRequest.bdsInstanceId,
|
|
4934
|
+
"{nodeReplaceConfigurationId}": updateNodeReplaceConfigurationRequest.nodeReplaceConfigurationId
|
|
4935
|
+
};
|
|
4936
|
+
const queryParams = {};
|
|
4937
|
+
let headerParams = {
|
|
4938
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4939
|
+
"opc-request-id": updateNodeReplaceConfigurationRequest.opcRequestId,
|
|
4940
|
+
"if-match": updateNodeReplaceConfigurationRequest.ifMatch,
|
|
4941
|
+
"opc-retry-token": updateNodeReplaceConfigurationRequest.opcRetryToken
|
|
4942
|
+
};
|
|
4943
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4944
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNodeReplaceConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
4945
|
+
if (this.logger)
|
|
4946
|
+
retrier.logger = this.logger;
|
|
4947
|
+
const request = yield oci_common_2.composeRequest({
|
|
4948
|
+
baseEndpoint: this._endpoint,
|
|
4949
|
+
defaultHeaders: this._defaultHeaders,
|
|
4950
|
+
path: "/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}",
|
|
4951
|
+
method: "PUT",
|
|
4952
|
+
bodyContent: common.ObjectSerializer.serialize(updateNodeReplaceConfigurationRequest.updateNodeReplaceConfigurationDetails, "UpdateNodeReplaceConfigurationDetails", model.UpdateNodeReplaceConfigurationDetails.getJsonObj),
|
|
4953
|
+
pathParams: pathParams,
|
|
4954
|
+
headerParams: headerParams,
|
|
4955
|
+
queryParams: queryParams
|
|
4956
|
+
});
|
|
4957
|
+
try {
|
|
4958
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4959
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4960
|
+
responseObject: {},
|
|
4961
|
+
responseHeaders: [
|
|
4962
|
+
{
|
|
4963
|
+
value: response.headers.get("opc-request-id"),
|
|
4964
|
+
key: "opcRequestId",
|
|
4965
|
+
dataType: "string"
|
|
4966
|
+
},
|
|
4967
|
+
{
|
|
4968
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4969
|
+
key: "opcWorkRequestId",
|
|
4970
|
+
dataType: "string"
|
|
4971
|
+
}
|
|
4972
|
+
]
|
|
4973
|
+
});
|
|
4974
|
+
return sdkResponse;
|
|
4975
|
+
}
|
|
4976
|
+
catch (err) {
|
|
4977
|
+
throw err;
|
|
4978
|
+
}
|
|
4979
|
+
});
|
|
4980
|
+
}
|
|
3888
4981
|
}
|
|
3889
4982
|
exports.BdsClient = BdsClient;
|
|
3890
4983
|
BdsClient.serviceEndpointTemplate = "https://bigdataservice.{region}.oci.{secondLevelDomain}";
|