oci-bds 2.126.2 → 2.127.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 +8 -0
- package/lib/bds-waiter.js +12 -0
- package/lib/bds-waiter.js.map +1 -1
- package/lib/client.d.ts +123 -2
- package/lib/client.js +622 -2
- package/lib/client.js.map +1 -1
- package/lib/model/activate-bds-metastore-configuration-details.d.ts +5 -1
- package/lib/model/activate-bds-metastore-configuration-details.js.map +1 -1
- package/lib/model/activate-iam-user-sync-configuration-details.d.ts +5 -1
- package/lib/model/activate-iam-user-sync-configuration-details.js.map +1 -1
- package/lib/model/activate-upst-configuration-details.d.ts +5 -1
- package/lib/model/activate-upst-configuration-details.js.map +1 -1
- package/lib/model/add-auto-scaling-configuration-details.d.ts +5 -1
- package/lib/model/add-auto-scaling-configuration-details.js.map +1 -1
- package/lib/model/add-block-storage-details.d.ts +18 -4
- package/lib/model/add-block-storage-details.js +1 -0
- package/lib/model/add-block-storage-details.js.map +1 -1
- package/lib/model/add-cloud-sql-details.d.ts +1 -1
- package/lib/model/add-kafka-details.d.ts +5 -1
- package/lib/model/add-kafka-details.js.map +1 -1
- package/lib/model/add-master-nodes-details.d.ts +5 -1
- package/lib/model/add-master-nodes-details.js.map +1 -1
- package/lib/model/add-utility-nodes-details.d.ts +5 -1
- package/lib/model/add-utility-nodes-details.js.map +1 -1
- package/lib/model/add-worker-nodes-details.d.ts +7 -2
- package/lib/model/add-worker-nodes-details.js.map +1 -1
- package/lib/model/auto-scaling-configuration-summary.d.ts +1 -1
- package/lib/model/auto-scaling-configuration.d.ts +4 -0
- package/lib/model/auto-scaling-configuration.js.map +1 -1
- package/lib/model/bds-certificate-configuration-summary.d.ts +84 -0
- package/lib/model/bds-certificate-configuration-summary.js +30 -0
- package/lib/model/bds-certificate-configuration-summary.js.map +1 -0
- package/lib/model/bds-certificate-configuration.d.ts +87 -0
- package/lib/model/bds-certificate-configuration.js +53 -0
- package/lib/model/bds-certificate-configuration.js.map +1 -0
- package/lib/model/bds-instance-reset-password-details.d.ts +40 -0
- package/lib/model/bds-instance-reset-password-details.js +37 -0
- package/lib/model/bds-instance-reset-password-details.js.map +1 -0
- package/lib/model/bds-instance-summary.d.ts +4 -0
- package/lib/model/bds-instance-summary.js.map +1 -1
- package/lib/model/bds-instance.d.ts +12 -0
- package/lib/model/bds-instance.js.map +1 -1
- package/lib/model/bds-metastore-configuration.d.ts +4 -0
- package/lib/model/bds-metastore-configuration.js.map +1 -1
- package/lib/model/change-shape-details.d.ts +5 -1
- package/lib/model/change-shape-details.js.map +1 -1
- package/lib/model/config-level-manage-bds-certificate-details.d.ts +33 -0
- package/lib/model/config-level-manage-bds-certificate-details.js +55 -0
- package/lib/model/config-level-manage-bds-certificate-details.js.map +1 -0
- package/lib/model/create-bds-certificate-configuration-details.d.ts +46 -0
- package/lib/model/create-bds-certificate-configuration-details.js +30 -0
- package/lib/model/create-bds-certificate-configuration-details.js.map +1 -0
- package/lib/model/create-bds-instance-details.d.ts +10 -2
- package/lib/model/create-bds-instance-details.js.map +1 -1
- package/lib/model/create-bds-metastore-configuration-details.d.ts +5 -1
- package/lib/model/create-bds-metastore-configuration-details.js.map +1 -1
- package/lib/model/create-identity-configuration-details.d.ts +5 -1
- package/lib/model/create-identity-configuration-details.js.map +1 -1
- package/lib/model/create-node-replace-configuration-details.d.ts +5 -1
- package/lib/model/create-node-replace-configuration-details.js.map +1 -1
- package/lib/model/create-resource-principal-configuration-details.d.ts +5 -1
- package/lib/model/create-resource-principal-configuration-details.js.map +1 -1
- package/lib/model/deactivate-iam-user-sync-configuration-details.d.ts +5 -1
- package/lib/model/deactivate-iam-user-sync-configuration-details.js.map +1 -1
- package/lib/model/deactivate-upst-configuration-details.d.ts +5 -1
- package/lib/model/deactivate-upst-configuration-details.js.map +1 -1
- package/lib/model/disable-certificate-details.d.ts +5 -1
- package/lib/model/disable-certificate-details.js.map +1 -1
- package/lib/model/enable-certificate-details.d.ts +5 -1
- package/lib/model/enable-certificate-details.js.map +1 -1
- package/lib/model/execute-bootstrap-script-details.d.ts +5 -1
- package/lib/model/execute-bootstrap-script-details.js.map +1 -1
- package/lib/model/force-refresh-resource-principal-details.d.ts +5 -1
- package/lib/model/force-refresh-resource-principal-details.js.map +1 -1
- package/lib/model/generate-bds-certificate-details.d.ts +32 -0
- package/lib/model/generate-bds-certificate-details.js +58 -0
- package/lib/model/generate-bds-certificate-details.js.map +1 -0
- package/lib/model/identity-configuration.d.ts +4 -0
- package/lib/model/identity-configuration.js.map +1 -1
- package/lib/model/index.d.ts +24 -0
- package/lib/model/index.js +28 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/install-os-patch-details.d.ts +5 -1
- package/lib/model/install-os-patch-details.js.map +1 -1
- package/lib/model/install-patch-details.d.ts +5 -1
- package/lib/model/install-patch-details.js.map +1 -1
- package/lib/model/manage-bds-certificate-level-type-details.d.ts +23 -0
- package/lib/model/manage-bds-certificate-level-type-details.js +73 -0
- package/lib/model/manage-bds-certificate-level-type-details.js.map +1 -0
- package/lib/model/node-backup-configuration-summary.d.ts +1 -1
- package/lib/model/node-level-manage-bds-certificate-details.d.ts +29 -0
- package/lib/model/node-level-manage-bds-certificate-details.js +55 -0
- package/lib/model/node-level-manage-bds-certificate-details.js.map +1 -0
- package/lib/model/node-replace-configuration-summary.d.ts +1 -1
- package/lib/model/node-replace-configuration.d.ts +4 -0
- package/lib/model/node-replace-configuration.js.map +1 -1
- package/lib/model/node.d.ts +4 -0
- package/lib/model/node.js.map +1 -1
- package/lib/model/operation-types.d.ts +7 -0
- package/lib/model/operation-types.js +7 -0
- package/lib/model/operation-types.js.map +1 -1
- package/lib/model/password-summary.d.ts +26 -0
- package/lib/model/password-summary.js +30 -0
- package/lib/model/password-summary.js.map +1 -0
- package/lib/model/refresh-confidential-application-details.d.ts +5 -1
- package/lib/model/refresh-confidential-application-details.js.map +1 -1
- package/lib/model/refresh-upst-token-exchange-keytab-details.d.ts +5 -1
- package/lib/model/refresh-upst-token-exchange-keytab-details.js.map +1 -1
- package/lib/model/remove-auto-scaling-configuration-details.d.ts +5 -1
- package/lib/model/remove-auto-scaling-configuration-details.js.map +1 -1
- package/lib/model/remove-cloud-sql-details.d.ts +1 -1
- package/lib/model/remove-kafka-details.d.ts +5 -1
- package/lib/model/remove-kafka-details.js.map +1 -1
- package/lib/model/remove-node-details.d.ts +5 -1
- package/lib/model/remove-node-details.js.map +1 -1
- package/lib/model/remove-node-replace-configuration-details.d.ts +5 -1
- package/lib/model/remove-node-replace-configuration-details.js.map +1 -1
- package/lib/model/remove-nodes-details.d.ts +39 -0
- package/lib/model/remove-nodes-details.js +30 -0
- package/lib/model/remove-nodes-details.js.map +1 -0
- package/lib/model/remove-resource-principal-configuration-details.d.ts +5 -1
- package/lib/model/remove-resource-principal-configuration-details.js.map +1 -1
- package/lib/model/renew-bds-certificate-details.d.ts +32 -0
- package/lib/model/renew-bds-certificate-details.js +58 -0
- package/lib/model/renew-bds-certificate-details.js.map +1 -0
- package/lib/model/renew-certificate-details.d.ts +5 -1
- package/lib/model/renew-certificate-details.js.map +1 -1
- package/lib/model/replace-node-details.d.ts +5 -1
- package/lib/model/replace-node-details.js.map +1 -1
- package/lib/model/resource-principal-configuration-summary.d.ts +1 -1
- package/lib/model/resource-principal-configuration.d.ts +5 -1
- package/lib/model/resource-principal-configuration.js.map +1 -1
- package/lib/model/set-default-bds-certificate-configuration-details.d.ts +30 -0
- package/lib/model/set-default-bds-certificate-configuration-details.js +30 -0
- package/lib/model/set-default-bds-certificate-configuration-details.js.map +1 -0
- package/lib/model/start-bds-instance-details.d.ts +5 -1
- package/lib/model/start-bds-instance-details.js.map +1 -1
- package/lib/model/stop-bds-instance-details.d.ts +5 -1
- package/lib/model/stop-bds-instance-details.js.map +1 -1
- package/lib/model/test-bds-metastore-configuration-details.d.ts +5 -1
- package/lib/model/test-bds-metastore-configuration-details.js.map +1 -1
- package/lib/model/update-auto-scaling-configuration-details.d.ts +4 -0
- package/lib/model/update-auto-scaling-configuration-details.js.map +1 -1
- package/lib/model/update-bds-instance-details.d.ts +8 -0
- package/lib/model/update-bds-instance-details.js.map +1 -1
- package/lib/model/update-bds-metastore-configuration-details.d.ts +4 -0
- package/lib/model/update-bds-metastore-configuration-details.js.map +1 -1
- package/lib/model/update-identity-configuration-details.d.ts +5 -1
- package/lib/model/update-identity-configuration-details.js.map +1 -1
- package/lib/request/bds-instance-reset-password-request.d.ts +49 -0
- package/lib/request/bds-instance-reset-password-request.js +15 -0
- package/lib/request/bds-instance-reset-password-request.js.map +1 -0
- package/lib/request/create-bds-certificate-configuration-request.d.ts +40 -0
- package/lib/request/create-bds-certificate-configuration-request.js +15 -0
- package/lib/request/create-bds-certificate-configuration-request.js.map +1 -0
- package/lib/request/delete-bds-certificate-configuration-request.d.ts +48 -0
- package/lib/request/delete-bds-certificate-configuration-request.js +15 -0
- package/lib/request/delete-bds-certificate-configuration-request.js.map +1 -0
- package/lib/request/generate-bds-certificate-request.d.ts +49 -0
- package/lib/request/generate-bds-certificate-request.js +15 -0
- package/lib/request/generate-bds-certificate-request.js.map +1 -0
- package/lib/request/get-bds-certificate-configuration-request.d.ts +30 -0
- package/lib/request/get-bds-certificate-configuration-request.js +15 -0
- package/lib/request/get-bds-certificate-configuration-request.js.map +1 -0
- package/lib/request/index.d.ts +18 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-bds-certificate-configurations-request.d.ts +58 -0
- package/lib/request/list-bds-certificate-configurations-request.js +24 -0
- package/lib/request/list-bds-certificate-configurations-request.js.map +1 -0
- package/lib/request/remove-nodes-request.d.ts +49 -0
- package/lib/request/remove-nodes-request.js +15 -0
- package/lib/request/remove-nodes-request.js.map +1 -0
- package/lib/request/renew-bds-certificate-request.d.ts +49 -0
- package/lib/request/renew-bds-certificate-request.js +15 -0
- package/lib/request/renew-bds-certificate-request.js.map +1 -0
- package/lib/request/set-default-bds-certificate-configuration-request.d.ts +53 -0
- package/lib/request/set-default-bds-certificate-configuration-request.js +15 -0
- package/lib/request/set-default-bds-certificate-configuration-request.js.map +1 -0
- package/lib/response/bds-instance-reset-password-response.d.ts +30 -0
- package/lib/response/bds-instance-reset-password-response.js +15 -0
- package/lib/response/bds-instance-reset-password-response.js.map +1 -0
- package/lib/response/create-bds-certificate-configuration-response.d.ts +25 -0
- package/lib/response/create-bds-certificate-configuration-response.js +15 -0
- package/lib/response/create-bds-certificate-configuration-response.js.map +1 -0
- package/lib/response/delete-bds-certificate-configuration-response.d.ts +25 -0
- package/lib/response/delete-bds-certificate-configuration-response.js +15 -0
- package/lib/response/delete-bds-certificate-configuration-response.js.map +1 -0
- package/lib/response/generate-bds-certificate-response.d.ts +25 -0
- package/lib/response/generate-bds-certificate-response.js +15 -0
- package/lib/response/generate-bds-certificate-response.js.map +1 -0
- package/lib/response/get-bds-certificate-configuration-response.d.ts +30 -0
- package/lib/response/get-bds-certificate-configuration-response.js +15 -0
- package/lib/response/get-bds-certificate-configuration-response.js.map +1 -0
- package/lib/response/index.d.ts +18 -0
- package/lib/response/list-bds-certificate-configurations-response.d.ts +32 -0
- package/lib/response/list-bds-certificate-configurations-response.js +15 -0
- package/lib/response/list-bds-certificate-configurations-response.js.map +1 -0
- package/lib/response/remove-nodes-response.d.ts +25 -0
- package/lib/response/remove-nodes-response.js +15 -0
- package/lib/response/remove-nodes-response.js.map +1 -0
- package/lib/response/renew-bds-certificate-response.d.ts +25 -0
- package/lib/response/renew-bds-certificate-response.js +15 -0
- package/lib/response/renew-bds-certificate-response.js.map +1 -0
- package/lib/response/set-default-bds-certificate-configuration-response.d.ts +25 -0
- package/lib/response/set-default-bds-certificate-configuration-response.js +15 -0
- package/lib/response/set-default-bds-certificate-configuration-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -463,7 +463,7 @@ class BdsClient {
|
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
465
|
/**
|
|
466
|
-
* Adds block storage to existing worker/compute only worker nodes. The same amount of
|
|
466
|
+
* Adds block storage to existing worker/compute only worker nodes. The same amount of storage will be added to all worker/compute only worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.
|
|
467
467
|
*
|
|
468
468
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
469
469
|
* @param AddBlockStorageRequest
|
|
@@ -778,7 +778,7 @@ class BdsClient {
|
|
|
778
778
|
});
|
|
779
779
|
}
|
|
780
780
|
/**
|
|
781
|
-
* Increases the size (scales out) a cluster by adding worker nodes(data/compute). The added worker
|
|
781
|
+
* Increases the size (scales out) of a cluster by adding worker nodes (data/compute/edge). The added worker and compute only worker nodes will have the same amount of attached block storage as other nodes of the same type in the cluster. Edge nodes can have different block storage sizes within the valid range (50GB-10TB).
|
|
782
782
|
*
|
|
783
783
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
784
784
|
* @param AddWorkerNodesRequest
|
|
@@ -903,6 +903,73 @@ class BdsClient {
|
|
|
903
903
|
}
|
|
904
904
|
});
|
|
905
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
* Admin function which allows the password reset of indicated service.
|
|
908
|
+
*
|
|
909
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
910
|
+
* @param BdsInstanceResetPasswordRequest
|
|
911
|
+
* @return BdsInstanceResetPasswordResponse
|
|
912
|
+
* @throws OciError when an error occurs
|
|
913
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/BdsInstanceResetPassword.ts.html |here} to see how to use BdsInstanceResetPassword API.
|
|
914
|
+
*/
|
|
915
|
+
bdsInstanceResetPassword(bdsInstanceResetPasswordRequest) {
|
|
916
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
917
|
+
if (this.logger)
|
|
918
|
+
this.logger.debug("Calling operation BdsClient#bdsInstanceResetPassword.");
|
|
919
|
+
const operationName = "bdsInstanceResetPassword";
|
|
920
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/BdsInstanceResetPassword";
|
|
921
|
+
const pathParams = {
|
|
922
|
+
"{bdsInstanceId}": bdsInstanceResetPasswordRequest.bdsInstanceId
|
|
923
|
+
};
|
|
924
|
+
const queryParams = {};
|
|
925
|
+
let headerParams = {
|
|
926
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
927
|
+
"opc-request-id": bdsInstanceResetPasswordRequest.opcRequestId,
|
|
928
|
+
"if-match": bdsInstanceResetPasswordRequest.ifMatch,
|
|
929
|
+
"opc-retry-token": bdsInstanceResetPasswordRequest.opcRetryToken
|
|
930
|
+
};
|
|
931
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
932
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bdsInstanceResetPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
933
|
+
if (this.logger)
|
|
934
|
+
retrier.logger = this.logger;
|
|
935
|
+
const request = yield oci_common_2.composeRequest({
|
|
936
|
+
baseEndpoint: this._endpoint,
|
|
937
|
+
defaultHeaders: this._defaultHeaders,
|
|
938
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/resetPassword",
|
|
939
|
+
method: "POST",
|
|
940
|
+
bodyContent: common.ObjectSerializer.serialize(bdsInstanceResetPasswordRequest.bdsInstanceResetPasswordDetails, "BdsInstanceResetPasswordDetails", model.BdsInstanceResetPasswordDetails.getJsonObj),
|
|
941
|
+
pathParams: pathParams,
|
|
942
|
+
headerParams: headerParams,
|
|
943
|
+
queryParams: queryParams
|
|
944
|
+
});
|
|
945
|
+
try {
|
|
946
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
947
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
948
|
+
responseObject: {},
|
|
949
|
+
body: yield response.json(),
|
|
950
|
+
bodyKey: "passwordSummary",
|
|
951
|
+
bodyModel: model.PasswordSummary,
|
|
952
|
+
type: "model.PasswordSummary",
|
|
953
|
+
responseHeaders: [
|
|
954
|
+
{
|
|
955
|
+
value: response.headers.get("opc-request-id"),
|
|
956
|
+
key: "opcRequestId",
|
|
957
|
+
dataType: "string"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
value: response.headers.get("opc-work-request-id"),
|
|
961
|
+
key: "opcWorkRequestId",
|
|
962
|
+
dataType: "string"
|
|
963
|
+
}
|
|
964
|
+
]
|
|
965
|
+
});
|
|
966
|
+
return sdkResponse;
|
|
967
|
+
}
|
|
968
|
+
catch (err) {
|
|
969
|
+
throw err;
|
|
970
|
+
}
|
|
971
|
+
});
|
|
972
|
+
}
|
|
906
973
|
/**
|
|
907
974
|
* A list of services and their certificate details.
|
|
908
975
|
*
|
|
@@ -1217,6 +1284,68 @@ class BdsClient {
|
|
|
1217
1284
|
}
|
|
1218
1285
|
});
|
|
1219
1286
|
}
|
|
1287
|
+
/**
|
|
1288
|
+
* Create a BDS certificate configuration for the cluster.
|
|
1289
|
+
*
|
|
1290
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1291
|
+
* @param CreateBdsCertificateConfigurationRequest
|
|
1292
|
+
* @return CreateBdsCertificateConfigurationResponse
|
|
1293
|
+
* @throws OciError when an error occurs
|
|
1294
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsCertificateConfiguration.ts.html |here} to see how to use CreateBdsCertificateConfiguration API.
|
|
1295
|
+
*/
|
|
1296
|
+
createBdsCertificateConfiguration(createBdsCertificateConfigurationRequest) {
|
|
1297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1298
|
+
if (this.logger)
|
|
1299
|
+
this.logger.debug("Calling operation BdsClient#createBdsCertificateConfiguration.");
|
|
1300
|
+
const operationName = "createBdsCertificateConfiguration";
|
|
1301
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateBdsCertificateConfiguration";
|
|
1302
|
+
const pathParams = {
|
|
1303
|
+
"{bdsInstanceId}": createBdsCertificateConfigurationRequest.bdsInstanceId
|
|
1304
|
+
};
|
|
1305
|
+
const queryParams = {};
|
|
1306
|
+
let headerParams = {
|
|
1307
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1308
|
+
"opc-request-id": createBdsCertificateConfigurationRequest.opcRequestId,
|
|
1309
|
+
"opc-retry-token": createBdsCertificateConfigurationRequest.opcRetryToken
|
|
1310
|
+
};
|
|
1311
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1312
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsCertificateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1313
|
+
if (this.logger)
|
|
1314
|
+
retrier.logger = this.logger;
|
|
1315
|
+
const request = yield oci_common_2.composeRequest({
|
|
1316
|
+
baseEndpoint: this._endpoint,
|
|
1317
|
+
defaultHeaders: this._defaultHeaders,
|
|
1318
|
+
path: "/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations",
|
|
1319
|
+
method: "POST",
|
|
1320
|
+
bodyContent: common.ObjectSerializer.serialize(createBdsCertificateConfigurationRequest.createBdsCertificateConfigurationDetails, "CreateBdsCertificateConfigurationDetails", model.CreateBdsCertificateConfigurationDetails.getJsonObj),
|
|
1321
|
+
pathParams: pathParams,
|
|
1322
|
+
headerParams: headerParams,
|
|
1323
|
+
queryParams: queryParams
|
|
1324
|
+
});
|
|
1325
|
+
try {
|
|
1326
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1327
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1328
|
+
responseObject: {},
|
|
1329
|
+
responseHeaders: [
|
|
1330
|
+
{
|
|
1331
|
+
value: response.headers.get("opc-request-id"),
|
|
1332
|
+
key: "opcRequestId",
|
|
1333
|
+
dataType: "string"
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1337
|
+
key: "opcWorkRequestId",
|
|
1338
|
+
dataType: "string"
|
|
1339
|
+
}
|
|
1340
|
+
]
|
|
1341
|
+
});
|
|
1342
|
+
return sdkResponse;
|
|
1343
|
+
}
|
|
1344
|
+
catch (err) {
|
|
1345
|
+
throw err;
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1220
1349
|
/**
|
|
1221
1350
|
* Creates a Big Data Service cluster.
|
|
1222
1351
|
*
|
|
@@ -1773,6 +1902,68 @@ class BdsClient {
|
|
|
1773
1902
|
}
|
|
1774
1903
|
});
|
|
1775
1904
|
}
|
|
1905
|
+
/**
|
|
1906
|
+
* Delete the BDS certificate configuration for the given ID.
|
|
1907
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1908
|
+
* @param DeleteBdsCertificateConfigurationRequest
|
|
1909
|
+
* @return DeleteBdsCertificateConfigurationResponse
|
|
1910
|
+
* @throws OciError when an error occurs
|
|
1911
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteBdsCertificateConfiguration.ts.html |here} to see how to use DeleteBdsCertificateConfiguration API.
|
|
1912
|
+
*/
|
|
1913
|
+
deleteBdsCertificateConfiguration(deleteBdsCertificateConfigurationRequest) {
|
|
1914
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1915
|
+
if (this.logger)
|
|
1916
|
+
this.logger.debug("Calling operation BdsClient#deleteBdsCertificateConfiguration.");
|
|
1917
|
+
const operationName = "deleteBdsCertificateConfiguration";
|
|
1918
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCertificateConfiguration/DeleteBdsCertificateConfiguration";
|
|
1919
|
+
const pathParams = {
|
|
1920
|
+
"{bdsInstanceId}": deleteBdsCertificateConfigurationRequest.bdsInstanceId,
|
|
1921
|
+
"{bdsCertificateConfigurationId}": deleteBdsCertificateConfigurationRequest.bdsCertificateConfigurationId
|
|
1922
|
+
};
|
|
1923
|
+
const queryParams = {};
|
|
1924
|
+
let headerParams = {
|
|
1925
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1926
|
+
"opc-retry-token": deleteBdsCertificateConfigurationRequest.opcRetryToken,
|
|
1927
|
+
"opc-request-id": deleteBdsCertificateConfigurationRequest.opcRequestId,
|
|
1928
|
+
"if-match": deleteBdsCertificateConfigurationRequest.ifMatch
|
|
1929
|
+
};
|
|
1930
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1931
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBdsCertificateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1932
|
+
if (this.logger)
|
|
1933
|
+
retrier.logger = this.logger;
|
|
1934
|
+
const request = yield oci_common_2.composeRequest({
|
|
1935
|
+
baseEndpoint: this._endpoint,
|
|
1936
|
+
defaultHeaders: this._defaultHeaders,
|
|
1937
|
+
path: "/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}",
|
|
1938
|
+
method: "DELETE",
|
|
1939
|
+
pathParams: pathParams,
|
|
1940
|
+
headerParams: headerParams,
|
|
1941
|
+
queryParams: queryParams
|
|
1942
|
+
});
|
|
1943
|
+
try {
|
|
1944
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1945
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1946
|
+
responseObject: {},
|
|
1947
|
+
responseHeaders: [
|
|
1948
|
+
{
|
|
1949
|
+
value: response.headers.get("opc-request-id"),
|
|
1950
|
+
key: "opcRequestId",
|
|
1951
|
+
dataType: "string"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1955
|
+
key: "opcWorkRequestId",
|
|
1956
|
+
dataType: "string"
|
|
1957
|
+
}
|
|
1958
|
+
]
|
|
1959
|
+
});
|
|
1960
|
+
return sdkResponse;
|
|
1961
|
+
}
|
|
1962
|
+
catch (err) {
|
|
1963
|
+
throw err;
|
|
1964
|
+
}
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1776
1967
|
/**
|
|
1777
1968
|
* Deletes the cluster identified by the given ID.
|
|
1778
1969
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -2330,6 +2521,69 @@ class BdsClient {
|
|
|
2330
2521
|
}
|
|
2331
2522
|
});
|
|
2332
2523
|
}
|
|
2524
|
+
/**
|
|
2525
|
+
* Generating certificates under BDS cluster nodes.
|
|
2526
|
+
*
|
|
2527
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2528
|
+
* @param GenerateBdsCertificateRequest
|
|
2529
|
+
* @return GenerateBdsCertificateResponse
|
|
2530
|
+
* @throws OciError when an error occurs
|
|
2531
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GenerateBdsCertificate.ts.html |here} to see how to use GenerateBdsCertificate API.
|
|
2532
|
+
*/
|
|
2533
|
+
generateBdsCertificate(generateBdsCertificateRequest) {
|
|
2534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2535
|
+
if (this.logger)
|
|
2536
|
+
this.logger.debug("Calling operation BdsClient#generateBdsCertificate.");
|
|
2537
|
+
const operationName = "generateBdsCertificate";
|
|
2538
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GenerateBdsCertificate";
|
|
2539
|
+
const pathParams = {
|
|
2540
|
+
"{bdsInstanceId}": generateBdsCertificateRequest.bdsInstanceId
|
|
2541
|
+
};
|
|
2542
|
+
const queryParams = {};
|
|
2543
|
+
let headerParams = {
|
|
2544
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2545
|
+
"opc-request-id": generateBdsCertificateRequest.opcRequestId,
|
|
2546
|
+
"if-match": generateBdsCertificateRequest.ifMatch,
|
|
2547
|
+
"opc-retry-token": generateBdsCertificateRequest.opcRetryToken
|
|
2548
|
+
};
|
|
2549
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2550
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateBdsCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
2551
|
+
if (this.logger)
|
|
2552
|
+
retrier.logger = this.logger;
|
|
2553
|
+
const request = yield oci_common_2.composeRequest({
|
|
2554
|
+
baseEndpoint: this._endpoint,
|
|
2555
|
+
defaultHeaders: this._defaultHeaders,
|
|
2556
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/generateBdsCertificate",
|
|
2557
|
+
method: "POST",
|
|
2558
|
+
bodyContent: common.ObjectSerializer.serialize(generateBdsCertificateRequest.generateBdsCertificateDetails, "GenerateBdsCertificateDetails", model.GenerateBdsCertificateDetails.getJsonObj),
|
|
2559
|
+
pathParams: pathParams,
|
|
2560
|
+
headerParams: headerParams,
|
|
2561
|
+
queryParams: queryParams
|
|
2562
|
+
});
|
|
2563
|
+
try {
|
|
2564
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2565
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2566
|
+
responseObject: {},
|
|
2567
|
+
responseHeaders: [
|
|
2568
|
+
{
|
|
2569
|
+
value: response.headers.get("opc-request-id"),
|
|
2570
|
+
key: "opcRequestId",
|
|
2571
|
+
dataType: "string"
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2575
|
+
key: "opcWorkRequestId",
|
|
2576
|
+
dataType: "string"
|
|
2577
|
+
}
|
|
2578
|
+
]
|
|
2579
|
+
});
|
|
2580
|
+
return sdkResponse;
|
|
2581
|
+
}
|
|
2582
|
+
catch (err) {
|
|
2583
|
+
throw err;
|
|
2584
|
+
}
|
|
2585
|
+
});
|
|
2586
|
+
}
|
|
2333
2587
|
/**
|
|
2334
2588
|
* Returns details of the autoscale configuration identified by the given ID.
|
|
2335
2589
|
*
|
|
@@ -2459,6 +2713,71 @@ class BdsClient {
|
|
|
2459
2713
|
}
|
|
2460
2714
|
});
|
|
2461
2715
|
}
|
|
2716
|
+
/**
|
|
2717
|
+
* Returns details of the BdsCertificateConfiguration identified by the given ID.
|
|
2718
|
+
*
|
|
2719
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2720
|
+
* @param GetBdsCertificateConfigurationRequest
|
|
2721
|
+
* @return GetBdsCertificateConfigurationResponse
|
|
2722
|
+
* @throws OciError when an error occurs
|
|
2723
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetBdsCertificateConfiguration.ts.html |here} to see how to use GetBdsCertificateConfiguration API.
|
|
2724
|
+
*/
|
|
2725
|
+
getBdsCertificateConfiguration(getBdsCertificateConfigurationRequest) {
|
|
2726
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2727
|
+
if (this.logger)
|
|
2728
|
+
this.logger.debug("Calling operation BdsClient#getBdsCertificateConfiguration.");
|
|
2729
|
+
const operationName = "getBdsCertificateConfiguration";
|
|
2730
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCertificateConfiguration/GetBdsCertificateConfiguration";
|
|
2731
|
+
const pathParams = {
|
|
2732
|
+
"{bdsInstanceId}": getBdsCertificateConfigurationRequest.bdsInstanceId,
|
|
2733
|
+
"{bdsCertificateConfigurationId}": getBdsCertificateConfigurationRequest.bdsCertificateConfigurationId
|
|
2734
|
+
};
|
|
2735
|
+
const queryParams = {};
|
|
2736
|
+
let headerParams = {
|
|
2737
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2738
|
+
"opc-request-id": getBdsCertificateConfigurationRequest.opcRequestId
|
|
2739
|
+
};
|
|
2740
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2741
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBdsCertificateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2742
|
+
if (this.logger)
|
|
2743
|
+
retrier.logger = this.logger;
|
|
2744
|
+
const request = yield oci_common_2.composeRequest({
|
|
2745
|
+
baseEndpoint: this._endpoint,
|
|
2746
|
+
defaultHeaders: this._defaultHeaders,
|
|
2747
|
+
path: "/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}",
|
|
2748
|
+
method: "GET",
|
|
2749
|
+
pathParams: pathParams,
|
|
2750
|
+
headerParams: headerParams,
|
|
2751
|
+
queryParams: queryParams
|
|
2752
|
+
});
|
|
2753
|
+
try {
|
|
2754
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2755
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2756
|
+
responseObject: {},
|
|
2757
|
+
body: yield response.json(),
|
|
2758
|
+
bodyKey: "bdsCertificateConfiguration",
|
|
2759
|
+
bodyModel: model.BdsCertificateConfiguration,
|
|
2760
|
+
type: "model.BdsCertificateConfiguration",
|
|
2761
|
+
responseHeaders: [
|
|
2762
|
+
{
|
|
2763
|
+
value: response.headers.get("opc-request-id"),
|
|
2764
|
+
key: "opcRequestId",
|
|
2765
|
+
dataType: "string"
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
value: response.headers.get("etag"),
|
|
2769
|
+
key: "etag",
|
|
2770
|
+
dataType: "string"
|
|
2771
|
+
}
|
|
2772
|
+
]
|
|
2773
|
+
});
|
|
2774
|
+
return sdkResponse;
|
|
2775
|
+
}
|
|
2776
|
+
catch (err) {
|
|
2777
|
+
throw err;
|
|
2778
|
+
}
|
|
2779
|
+
});
|
|
2780
|
+
}
|
|
2462
2781
|
/**
|
|
2463
2782
|
* Returns information about the Big Data Service cluster identified by the given ID.
|
|
2464
2783
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -3525,6 +3844,117 @@ class BdsClient {
|
|
|
3525
3844
|
listBdsApiKeysResponseIterator(request) {
|
|
3526
3845
|
return oci_common_1.paginateResponses(request, req => this.listBdsApiKeys(req));
|
|
3527
3846
|
}
|
|
3847
|
+
/**
|
|
3848
|
+
* Returns a list of BDS certificate configurations associated with this Big Data Service cluster.
|
|
3849
|
+
*
|
|
3850
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3851
|
+
* @param ListBdsCertificateConfigurationsRequest
|
|
3852
|
+
* @return ListBdsCertificateConfigurationsResponse
|
|
3853
|
+
* @throws OciError when an error occurs
|
|
3854
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListBdsCertificateConfigurations.ts.html |here} to see how to use ListBdsCertificateConfigurations API.
|
|
3855
|
+
*/
|
|
3856
|
+
listBdsCertificateConfigurations(listBdsCertificateConfigurationsRequest) {
|
|
3857
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3858
|
+
if (this.logger)
|
|
3859
|
+
this.logger.debug("Calling operation BdsClient#listBdsCertificateConfigurations.");
|
|
3860
|
+
const operationName = "listBdsCertificateConfigurations";
|
|
3861
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCertificateConfiguration/ListBdsCertificateConfigurations";
|
|
3862
|
+
const pathParams = {
|
|
3863
|
+
"{bdsInstanceId}": listBdsCertificateConfigurationsRequest.bdsInstanceId
|
|
3864
|
+
};
|
|
3865
|
+
const queryParams = {
|
|
3866
|
+
"page": listBdsCertificateConfigurationsRequest.page,
|
|
3867
|
+
"limit": listBdsCertificateConfigurationsRequest.limit,
|
|
3868
|
+
"sortBy": listBdsCertificateConfigurationsRequest.sortBy,
|
|
3869
|
+
"sortOrder": listBdsCertificateConfigurationsRequest.sortOrder,
|
|
3870
|
+
"displayName": listBdsCertificateConfigurationsRequest.displayName,
|
|
3871
|
+
"lifecycleState": listBdsCertificateConfigurationsRequest.lifecycleState
|
|
3872
|
+
};
|
|
3873
|
+
let headerParams = {
|
|
3874
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3875
|
+
"opc-request-id": listBdsCertificateConfigurationsRequest.opcRequestId
|
|
3876
|
+
};
|
|
3877
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3878
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsCertificateConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3879
|
+
if (this.logger)
|
|
3880
|
+
retrier.logger = this.logger;
|
|
3881
|
+
const request = yield oci_common_2.composeRequest({
|
|
3882
|
+
baseEndpoint: this._endpoint,
|
|
3883
|
+
defaultHeaders: this._defaultHeaders,
|
|
3884
|
+
path: "/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations",
|
|
3885
|
+
method: "GET",
|
|
3886
|
+
pathParams: pathParams,
|
|
3887
|
+
headerParams: headerParams,
|
|
3888
|
+
queryParams: queryParams
|
|
3889
|
+
});
|
|
3890
|
+
try {
|
|
3891
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3892
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3893
|
+
responseObject: {},
|
|
3894
|
+
body: yield response.json(),
|
|
3895
|
+
bodyKey: "items",
|
|
3896
|
+
bodyModel: model.BdsCertificateConfigurationSummary,
|
|
3897
|
+
type: "Array<model.BdsCertificateConfigurationSummary>",
|
|
3898
|
+
responseHeaders: [
|
|
3899
|
+
{
|
|
3900
|
+
value: response.headers.get("opc-request-id"),
|
|
3901
|
+
key: "opcRequestId",
|
|
3902
|
+
dataType: "string"
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
value: response.headers.get("opc-next-page"),
|
|
3906
|
+
key: "opcNextPage",
|
|
3907
|
+
dataType: "string"
|
|
3908
|
+
}
|
|
3909
|
+
]
|
|
3910
|
+
});
|
|
3911
|
+
return sdkResponse;
|
|
3912
|
+
}
|
|
3913
|
+
catch (err) {
|
|
3914
|
+
throw err;
|
|
3915
|
+
}
|
|
3916
|
+
});
|
|
3917
|
+
}
|
|
3918
|
+
/**
|
|
3919
|
+
* NOTE: This function is deprecated in favor of listBdsCertificateConfigurationsRecordIterator function.
|
|
3920
|
+
* Creates a new async iterator which will iterate over the models.BdsCertificateConfigurationSummary objects
|
|
3921
|
+
* contained in responses from the listBdsCertificateConfigurations operation. This iterator will fetch more data from the
|
|
3922
|
+
* server as needed.
|
|
3923
|
+
*
|
|
3924
|
+
* @param request a request which can be sent to the service operation
|
|
3925
|
+
*/
|
|
3926
|
+
listAllBdsCertificateConfigurations(request) {
|
|
3927
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsCertificateConfigurations(req));
|
|
3928
|
+
}
|
|
3929
|
+
/**
|
|
3930
|
+
* NOTE: This function is deprecated in favor of listBdsCertificateConfigurationsResponseIterator function.
|
|
3931
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsCertificateConfigurations operation. This iterator
|
|
3932
|
+
* will fetch more data from the server as needed.
|
|
3933
|
+
*
|
|
3934
|
+
* @param request a request which can be sent to the service operation
|
|
3935
|
+
*/
|
|
3936
|
+
listAllBdsCertificateConfigurationsResponses(request) {
|
|
3937
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsCertificateConfigurations(req));
|
|
3938
|
+
}
|
|
3939
|
+
/**
|
|
3940
|
+
* Creates a new async iterator which will iterate over the models.BdsCertificateConfigurationSummary objects
|
|
3941
|
+
* contained in responses from the listBdsCertificateConfigurations operation. This iterator will fetch more data from the
|
|
3942
|
+
* server as needed.
|
|
3943
|
+
*
|
|
3944
|
+
* @param request a request which can be sent to the service operation
|
|
3945
|
+
*/
|
|
3946
|
+
listBdsCertificateConfigurationsRecordIterator(request) {
|
|
3947
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsCertificateConfigurations(req));
|
|
3948
|
+
}
|
|
3949
|
+
/**
|
|
3950
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsCertificateConfigurations operation. This iterator
|
|
3951
|
+
* will fetch more data from the server as needed.
|
|
3952
|
+
*
|
|
3953
|
+
* @param request a request which can be sent to the service operation
|
|
3954
|
+
*/
|
|
3955
|
+
listBdsCertificateConfigurationsResponseIterator(request) {
|
|
3956
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsCertificateConfigurations(req));
|
|
3957
|
+
}
|
|
3528
3958
|
/**
|
|
3529
3959
|
* Returns a list of cluster versions with associated odh and bds versions.
|
|
3530
3960
|
*
|
|
@@ -5586,6 +6016,69 @@ class BdsClient {
|
|
|
5586
6016
|
}
|
|
5587
6017
|
});
|
|
5588
6018
|
}
|
|
6019
|
+
/**
|
|
6020
|
+
* Removes list of nodes from a Big Data Service cluster
|
|
6021
|
+
*
|
|
6022
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6023
|
+
* @param RemoveNodesRequest
|
|
6024
|
+
* @return RemoveNodesResponse
|
|
6025
|
+
* @throws OciError when an error occurs
|
|
6026
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveNodes.ts.html |here} to see how to use RemoveNodes API.
|
|
6027
|
+
*/
|
|
6028
|
+
removeNodes(removeNodesRequest) {
|
|
6029
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6030
|
+
if (this.logger)
|
|
6031
|
+
this.logger.debug("Calling operation BdsClient#removeNodes.");
|
|
6032
|
+
const operationName = "removeNodes";
|
|
6033
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveNodes";
|
|
6034
|
+
const pathParams = {
|
|
6035
|
+
"{bdsInstanceId}": removeNodesRequest.bdsInstanceId
|
|
6036
|
+
};
|
|
6037
|
+
const queryParams = {};
|
|
6038
|
+
let headerParams = {
|
|
6039
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6040
|
+
"opc-request-id": removeNodesRequest.opcRequestId,
|
|
6041
|
+
"if-match": removeNodesRequest.ifMatch,
|
|
6042
|
+
"opc-retry-token": removeNodesRequest.opcRetryToken
|
|
6043
|
+
};
|
|
6044
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6045
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
6046
|
+
if (this.logger)
|
|
6047
|
+
retrier.logger = this.logger;
|
|
6048
|
+
const request = yield oci_common_2.composeRequest({
|
|
6049
|
+
baseEndpoint: this._endpoint,
|
|
6050
|
+
defaultHeaders: this._defaultHeaders,
|
|
6051
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/removeNodes",
|
|
6052
|
+
method: "POST",
|
|
6053
|
+
bodyContent: common.ObjectSerializer.serialize(removeNodesRequest.removeNodesDetails, "RemoveNodesDetails", model.RemoveNodesDetails.getJsonObj),
|
|
6054
|
+
pathParams: pathParams,
|
|
6055
|
+
headerParams: headerParams,
|
|
6056
|
+
queryParams: queryParams
|
|
6057
|
+
});
|
|
6058
|
+
try {
|
|
6059
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6060
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6061
|
+
responseObject: {},
|
|
6062
|
+
responseHeaders: [
|
|
6063
|
+
{
|
|
6064
|
+
value: response.headers.get("opc-request-id"),
|
|
6065
|
+
key: "opcRequestId",
|
|
6066
|
+
dataType: "string"
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6070
|
+
key: "opcWorkRequestId",
|
|
6071
|
+
dataType: "string"
|
|
6072
|
+
}
|
|
6073
|
+
]
|
|
6074
|
+
});
|
|
6075
|
+
return sdkResponse;
|
|
6076
|
+
}
|
|
6077
|
+
catch (err) {
|
|
6078
|
+
throw err;
|
|
6079
|
+
}
|
|
6080
|
+
});
|
|
6081
|
+
}
|
|
5589
6082
|
/**
|
|
5590
6083
|
* Delete the resource principal configuration for the cluster.
|
|
5591
6084
|
*
|
|
@@ -5649,6 +6142,69 @@ class BdsClient {
|
|
|
5649
6142
|
}
|
|
5650
6143
|
});
|
|
5651
6144
|
}
|
|
6145
|
+
/**
|
|
6146
|
+
* Renewing certificates under BDS cluster nodes.
|
|
6147
|
+
*
|
|
6148
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6149
|
+
* @param RenewBdsCertificateRequest
|
|
6150
|
+
* @return RenewBdsCertificateResponse
|
|
6151
|
+
* @throws OciError when an error occurs
|
|
6152
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RenewBdsCertificate.ts.html |here} to see how to use RenewBdsCertificate API.
|
|
6153
|
+
*/
|
|
6154
|
+
renewBdsCertificate(renewBdsCertificateRequest) {
|
|
6155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6156
|
+
if (this.logger)
|
|
6157
|
+
this.logger.debug("Calling operation BdsClient#renewBdsCertificate.");
|
|
6158
|
+
const operationName = "renewBdsCertificate";
|
|
6159
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RenewBdsCertificate";
|
|
6160
|
+
const pathParams = {
|
|
6161
|
+
"{bdsInstanceId}": renewBdsCertificateRequest.bdsInstanceId
|
|
6162
|
+
};
|
|
6163
|
+
const queryParams = {};
|
|
6164
|
+
let headerParams = {
|
|
6165
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6166
|
+
"opc-request-id": renewBdsCertificateRequest.opcRequestId,
|
|
6167
|
+
"if-match": renewBdsCertificateRequest.ifMatch,
|
|
6168
|
+
"opc-retry-token": renewBdsCertificateRequest.opcRetryToken
|
|
6169
|
+
};
|
|
6170
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6171
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, renewBdsCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
6172
|
+
if (this.logger)
|
|
6173
|
+
retrier.logger = this.logger;
|
|
6174
|
+
const request = yield oci_common_2.composeRequest({
|
|
6175
|
+
baseEndpoint: this._endpoint,
|
|
6176
|
+
defaultHeaders: this._defaultHeaders,
|
|
6177
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/renewBdsCertificate",
|
|
6178
|
+
method: "POST",
|
|
6179
|
+
bodyContent: common.ObjectSerializer.serialize(renewBdsCertificateRequest.renewBdsCertificateDetails, "RenewBdsCertificateDetails", model.RenewBdsCertificateDetails.getJsonObj),
|
|
6180
|
+
pathParams: pathParams,
|
|
6181
|
+
headerParams: headerParams,
|
|
6182
|
+
queryParams: queryParams
|
|
6183
|
+
});
|
|
6184
|
+
try {
|
|
6185
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6186
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6187
|
+
responseObject: {},
|
|
6188
|
+
responseHeaders: [
|
|
6189
|
+
{
|
|
6190
|
+
value: response.headers.get("opc-request-id"),
|
|
6191
|
+
key: "opcRequestId",
|
|
6192
|
+
dataType: "string"
|
|
6193
|
+
},
|
|
6194
|
+
{
|
|
6195
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6196
|
+
key: "opcWorkRequestId",
|
|
6197
|
+
dataType: "string"
|
|
6198
|
+
}
|
|
6199
|
+
]
|
|
6200
|
+
});
|
|
6201
|
+
return sdkResponse;
|
|
6202
|
+
}
|
|
6203
|
+
catch (err) {
|
|
6204
|
+
throw err;
|
|
6205
|
+
}
|
|
6206
|
+
});
|
|
6207
|
+
}
|
|
5652
6208
|
/**
|
|
5653
6209
|
* Renewing TLS/SSL for various ODH services running on the BDS cluster.
|
|
5654
6210
|
*
|
|
@@ -5838,6 +6394,70 @@ class BdsClient {
|
|
|
5838
6394
|
}
|
|
5839
6395
|
});
|
|
5840
6396
|
}
|
|
6397
|
+
/**
|
|
6398
|
+
* Set specified BDS certificate configuration as default configuration.
|
|
6399
|
+
*
|
|
6400
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6401
|
+
* @param SetDefaultBdsCertificateConfigurationRequest
|
|
6402
|
+
* @return SetDefaultBdsCertificateConfigurationResponse
|
|
6403
|
+
* @throws OciError when an error occurs
|
|
6404
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/SetDefaultBdsCertificateConfiguration.ts.html |here} to see how to use SetDefaultBdsCertificateConfiguration API.
|
|
6405
|
+
*/
|
|
6406
|
+
setDefaultBdsCertificateConfiguration(setDefaultBdsCertificateConfigurationRequest) {
|
|
6407
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6408
|
+
if (this.logger)
|
|
6409
|
+
this.logger.debug("Calling operation BdsClient#setDefaultBdsCertificateConfiguration.");
|
|
6410
|
+
const operationName = "setDefaultBdsCertificateConfiguration";
|
|
6411
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCertificateConfiguration/SetDefaultBdsCertificateConfiguration";
|
|
6412
|
+
const pathParams = {
|
|
6413
|
+
"{bdsInstanceId}": setDefaultBdsCertificateConfigurationRequest.bdsInstanceId,
|
|
6414
|
+
"{bdsCertificateConfigurationId}": setDefaultBdsCertificateConfigurationRequest.bdsCertificateConfigurationId
|
|
6415
|
+
};
|
|
6416
|
+
const queryParams = {};
|
|
6417
|
+
let headerParams = {
|
|
6418
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6419
|
+
"opc-request-id": setDefaultBdsCertificateConfigurationRequest.opcRequestId,
|
|
6420
|
+
"opc-retry-token": setDefaultBdsCertificateConfigurationRequest.opcRetryToken,
|
|
6421
|
+
"if-match": setDefaultBdsCertificateConfigurationRequest.ifMatch
|
|
6422
|
+
};
|
|
6423
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6424
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setDefaultBdsCertificateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
6425
|
+
if (this.logger)
|
|
6426
|
+
retrier.logger = this.logger;
|
|
6427
|
+
const request = yield oci_common_2.composeRequest({
|
|
6428
|
+
baseEndpoint: this._endpoint,
|
|
6429
|
+
defaultHeaders: this._defaultHeaders,
|
|
6430
|
+
path: "/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}/actions/setDefault",
|
|
6431
|
+
method: "POST",
|
|
6432
|
+
bodyContent: common.ObjectSerializer.serialize(setDefaultBdsCertificateConfigurationRequest.setDefaultBdsCertificateConfigurationDetails, "SetDefaultBdsCertificateConfigurationDetails", model.SetDefaultBdsCertificateConfigurationDetails.getJsonObj),
|
|
6433
|
+
pathParams: pathParams,
|
|
6434
|
+
headerParams: headerParams,
|
|
6435
|
+
queryParams: queryParams
|
|
6436
|
+
});
|
|
6437
|
+
try {
|
|
6438
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6439
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6440
|
+
responseObject: {},
|
|
6441
|
+
responseHeaders: [
|
|
6442
|
+
{
|
|
6443
|
+
value: response.headers.get("opc-request-id"),
|
|
6444
|
+
key: "opcRequestId",
|
|
6445
|
+
dataType: "string"
|
|
6446
|
+
},
|
|
6447
|
+
{
|
|
6448
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6449
|
+
key: "opcWorkRequestId",
|
|
6450
|
+
dataType: "string"
|
|
6451
|
+
}
|
|
6452
|
+
]
|
|
6453
|
+
});
|
|
6454
|
+
return sdkResponse;
|
|
6455
|
+
}
|
|
6456
|
+
catch (err) {
|
|
6457
|
+
throw err;
|
|
6458
|
+
}
|
|
6459
|
+
});
|
|
6460
|
+
}
|
|
5841
6461
|
/**
|
|
5842
6462
|
* Starts the BDS cluster that was stopped earlier.
|
|
5843
6463
|
*
|