oci-bds 2.4.0 → 2.6.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +130 -21
- package/lib/client.js +199 -42
- package/lib/client.js.map +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-worker-nodes-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-instance-request.d.ts +1 -1
- package/lib/request/delete-bds-instance-request.d.ts +1 -1
- package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/get-bds-instance-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
- package/lib/request/list-bds-instances-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/restart-node-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/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -53,6 +53,9 @@ const oci_common_2 = require("oci-common");
|
|
|
53
53
|
var BdsApiKeys;
|
|
54
54
|
(function (BdsApiKeys) {
|
|
55
55
|
})(BdsApiKeys = exports.BdsApiKeys || (exports.BdsApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
58
|
+
*/
|
|
56
59
|
class BdsClient {
|
|
57
60
|
constructor(params, clientConfiguration) {
|
|
58
61
|
this["_endpoint"] = "";
|
|
@@ -67,6 +70,13 @@ class BdsClient {
|
|
|
67
70
|
? clientConfiguration.circuitBreaker.circuit
|
|
68
71
|
: null;
|
|
69
72
|
}
|
|
73
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
74
|
+
const specCircuitBreakerEnabled = false;
|
|
75
|
+
if (!this._circuitBreaker &&
|
|
76
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
77
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
78
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
79
|
+
}
|
|
70
80
|
this._httpClient =
|
|
71
81
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
72
82
|
if (params.authenticationDetailsProvider &&
|
|
@@ -139,10 +149,11 @@ class BdsClient {
|
|
|
139
149
|
/**
|
|
140
150
|
* Add an autoscale configuration to the cluster.
|
|
141
151
|
*
|
|
152
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
142
153
|
* @param AddAutoScalingConfigurationRequest
|
|
143
154
|
* @return AddAutoScalingConfigurationResponse
|
|
144
155
|
* @throws OciError when an error occurs
|
|
145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
|
|
146
157
|
*/
|
|
147
158
|
addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
|
|
148
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -158,7 +169,8 @@ class BdsClient {
|
|
|
158
169
|
"if-match": addAutoScalingConfigurationRequest.ifMatch,
|
|
159
170
|
"opc-retry-token": addAutoScalingConfigurationRequest.opcRetryToken
|
|
160
171
|
};
|
|
161
|
-
const
|
|
172
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
173
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
162
174
|
if (this.logger)
|
|
163
175
|
retrier.logger = this.logger;
|
|
164
176
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -198,10 +210,11 @@ class BdsClient {
|
|
|
198
210
|
/**
|
|
199
211
|
* Adds block storage to existing worker nodes. The same amount of storage will be added to all worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.
|
|
200
212
|
*
|
|
213
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
201
214
|
* @param AddBlockStorageRequest
|
|
202
215
|
* @return AddBlockStorageResponse
|
|
203
216
|
* @throws OciError when an error occurs
|
|
204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
|
|
205
218
|
*/
|
|
206
219
|
addBlockStorage(addBlockStorageRequest) {
|
|
207
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -217,7 +230,8 @@ class BdsClient {
|
|
|
217
230
|
"if-match": addBlockStorageRequest.ifMatch,
|
|
218
231
|
"opc-retry-token": addBlockStorageRequest.opcRetryToken
|
|
219
232
|
};
|
|
220
|
-
const
|
|
233
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
234
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addBlockStorageRequest.retryConfiguration, specRetryConfiguration);
|
|
221
235
|
if (this.logger)
|
|
222
236
|
retrier.logger = this.logger;
|
|
223
237
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -257,10 +271,11 @@ class BdsClient {
|
|
|
257
271
|
/**
|
|
258
272
|
* Adds Cloud SQL to your cluster. You can use Cloud SQL to query against non-relational data stored in multiple big data sources, including Apache Hive, HDFS, Oracle NoSQL Database, and Apache HBase. Adding Cloud SQL adds a query server node to the cluster and creates cell servers on all the worker nodes in the cluster.
|
|
259
273
|
*
|
|
274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
260
275
|
* @param AddCloudSqlRequest
|
|
261
276
|
* @return AddCloudSqlResponse
|
|
262
277
|
* @throws OciError when an error occurs
|
|
263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
|
|
264
279
|
*/
|
|
265
280
|
addCloudSql(addCloudSqlRequest) {
|
|
266
281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +291,8 @@ class BdsClient {
|
|
|
276
291
|
"if-match": addCloudSqlRequest.ifMatch,
|
|
277
292
|
"opc-retry-token": addCloudSqlRequest.opcRetryToken
|
|
278
293
|
};
|
|
279
|
-
const
|
|
294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addCloudSqlRequest.retryConfiguration, specRetryConfiguration);
|
|
280
296
|
if (this.logger)
|
|
281
297
|
retrier.logger = this.logger;
|
|
282
298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -316,10 +332,11 @@ class BdsClient {
|
|
|
316
332
|
/**
|
|
317
333
|
* Increases the size (scales out) a cluster by adding worker nodes. The added worker nodes will have the same shape and will have the same amount of attached block storage as other worker nodes in the cluster.
|
|
318
334
|
*
|
|
335
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
319
336
|
* @param AddWorkerNodesRequest
|
|
320
337
|
* @return AddWorkerNodesResponse
|
|
321
338
|
* @throws OciError when an error occurs
|
|
322
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
|
|
323
340
|
*/
|
|
324
341
|
addWorkerNodes(addWorkerNodesRequest) {
|
|
325
342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -335,7 +352,8 @@ class BdsClient {
|
|
|
335
352
|
"if-match": addWorkerNodesRequest.ifMatch,
|
|
336
353
|
"opc-retry-token": addWorkerNodesRequest.opcRetryToken
|
|
337
354
|
};
|
|
338
|
-
const
|
|
355
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
356
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addWorkerNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
339
357
|
if (this.logger)
|
|
340
358
|
retrier.logger = this.logger;
|
|
341
359
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -375,10 +393,11 @@ class BdsClient {
|
|
|
375
393
|
/**
|
|
376
394
|
* Moves a Big Data Service cluster into a different compartment.
|
|
377
395
|
*
|
|
396
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
378
397
|
* @param ChangeBdsInstanceCompartmentRequest
|
|
379
398
|
* @return ChangeBdsInstanceCompartmentResponse
|
|
380
399
|
* @throws OciError when an error occurs
|
|
381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
|
|
382
401
|
*/
|
|
383
402
|
changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
|
|
384
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -394,7 +413,8 @@ class BdsClient {
|
|
|
394
413
|
"if-match": changeBdsInstanceCompartmentRequest.ifMatch,
|
|
395
414
|
"opc-retry-token": changeBdsInstanceCompartmentRequest.opcRetryToken
|
|
396
415
|
};
|
|
397
|
-
const
|
|
416
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
417
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBdsInstanceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
398
418
|
if (this.logger)
|
|
399
419
|
retrier.logger = this.logger;
|
|
400
420
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -434,10 +454,11 @@ class BdsClient {
|
|
|
434
454
|
/**
|
|
435
455
|
* Changes the size of a cluster by scaling up or scaling down the nodes. Nodes are scaled up or down by changing the shapes of all the nodes of the same type to the next larger or smaller shape. The node types are master, utility, worker, and Cloud SQL. Only nodes with VM-STANDARD shapes can be scaled.
|
|
436
456
|
*
|
|
457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
437
458
|
* @param ChangeShapeRequest
|
|
438
459
|
* @return ChangeShapeResponse
|
|
439
460
|
* @throws OciError when an error occurs
|
|
440
|
-
* @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.6.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
|
|
441
462
|
*/
|
|
442
463
|
changeShape(changeShapeRequest) {
|
|
443
464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -453,7 +474,8 @@ class BdsClient {
|
|
|
453
474
|
"if-match": changeShapeRequest.ifMatch,
|
|
454
475
|
"opc-retry-token": changeShapeRequest.opcRetryToken
|
|
455
476
|
};
|
|
456
|
-
const
|
|
477
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
478
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeShapeRequest.retryConfiguration, specRetryConfiguration);
|
|
457
479
|
if (this.logger)
|
|
458
480
|
retrier.logger = this.logger;
|
|
459
481
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -493,10 +515,11 @@ class BdsClient {
|
|
|
493
515
|
/**
|
|
494
516
|
* Creates a Big Data Service cluster.
|
|
495
517
|
*
|
|
518
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
496
519
|
* @param CreateBdsInstanceRequest
|
|
497
520
|
* @return CreateBdsInstanceResponse
|
|
498
521
|
* @throws OciError when an error occurs
|
|
499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
522
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
|
|
500
523
|
*/
|
|
501
524
|
createBdsInstance(createBdsInstanceRequest) {
|
|
502
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -509,7 +532,8 @@ class BdsClient {
|
|
|
509
532
|
"opc-request-id": createBdsInstanceRequest.opcRequestId,
|
|
510
533
|
"opc-retry-token": createBdsInstanceRequest.opcRetryToken
|
|
511
534
|
};
|
|
512
|
-
const
|
|
535
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
536
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
513
537
|
if (this.logger)
|
|
514
538
|
retrier.logger = this.logger;
|
|
515
539
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -548,10 +572,11 @@ class BdsClient {
|
|
|
548
572
|
}
|
|
549
573
|
/**
|
|
550
574
|
* Deletes the cluster identified by the given ID.
|
|
575
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
551
576
|
* @param DeleteBdsInstanceRequest
|
|
552
577
|
* @return DeleteBdsInstanceResponse
|
|
553
578
|
* @throws OciError when an error occurs
|
|
554
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
|
|
555
580
|
*/
|
|
556
581
|
deleteBdsInstance(deleteBdsInstanceRequest) {
|
|
557
582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -566,7 +591,8 @@ class BdsClient {
|
|
|
566
591
|
"opc-request-id": deleteBdsInstanceRequest.opcRequestId,
|
|
567
592
|
"if-match": deleteBdsInstanceRequest.ifMatch
|
|
568
593
|
};
|
|
569
|
-
const
|
|
594
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
595
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
570
596
|
if (this.logger)
|
|
571
597
|
retrier.logger = this.logger;
|
|
572
598
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -605,10 +631,11 @@ class BdsClient {
|
|
|
605
631
|
/**
|
|
606
632
|
* Returns details of the autoscale configuration identified by the given ID.
|
|
607
633
|
*
|
|
634
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
608
635
|
* @param GetAutoScalingConfigurationRequest
|
|
609
636
|
* @return GetAutoScalingConfigurationResponse
|
|
610
637
|
* @throws OciError when an error occurs
|
|
611
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
638
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
|
|
612
639
|
*/
|
|
613
640
|
getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
|
|
614
641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -623,7 +650,8 @@ class BdsClient {
|
|
|
623
650
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
624
651
|
"opc-request-id": getAutoScalingConfigurationRequest.opcRequestId
|
|
625
652
|
};
|
|
626
|
-
const
|
|
653
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
654
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
627
655
|
if (this.logger)
|
|
628
656
|
retrier.logger = this.logger;
|
|
629
657
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -665,10 +693,11 @@ class BdsClient {
|
|
|
665
693
|
}
|
|
666
694
|
/**
|
|
667
695
|
* Returns information about the Big Data Service cluster identified by the given ID.
|
|
696
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
668
697
|
* @param GetBdsInstanceRequest
|
|
669
698
|
* @return GetBdsInstanceResponse
|
|
670
699
|
* @throws OciError when an error occurs
|
|
671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
700
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
|
|
672
701
|
*/
|
|
673
702
|
getBdsInstance(getBdsInstanceRequest) {
|
|
674
703
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -682,7 +711,8 @@ class BdsClient {
|
|
|
682
711
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
683
712
|
"opc-request-id": getBdsInstanceRequest.opcRequestId
|
|
684
713
|
};
|
|
685
|
-
const
|
|
714
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
715
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
686
716
|
if (this.logger)
|
|
687
717
|
retrier.logger = this.logger;
|
|
688
718
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -724,10 +754,11 @@ class BdsClient {
|
|
|
724
754
|
}
|
|
725
755
|
/**
|
|
726
756
|
* Returns the status of the work request identified by the given ID.
|
|
757
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
727
758
|
* @param GetWorkRequestRequest
|
|
728
759
|
* @return GetWorkRequestResponse
|
|
729
760
|
* @throws OciError when an error occurs
|
|
730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
761
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
731
762
|
*/
|
|
732
763
|
getWorkRequest(getWorkRequestRequest) {
|
|
733
764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -741,7 +772,8 @@ class BdsClient {
|
|
|
741
772
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
742
773
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
743
774
|
};
|
|
744
|
-
const
|
|
775
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
776
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
745
777
|
if (this.logger)
|
|
746
778
|
retrier.logger = this.logger;
|
|
747
779
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -784,10 +816,11 @@ class BdsClient {
|
|
|
784
816
|
/**
|
|
785
817
|
* Returns information about the autoscaling configurations for a cluster.
|
|
786
818
|
*
|
|
819
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
787
820
|
* @param ListAutoScalingConfigurationsRequest
|
|
788
821
|
* @return ListAutoScalingConfigurationsResponse
|
|
789
822
|
* @throws OciError when an error occurs
|
|
790
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
823
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
|
|
791
824
|
*/
|
|
792
825
|
listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
|
|
793
826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -809,7 +842,8 @@ class BdsClient {
|
|
|
809
842
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
810
843
|
"opc-request-id": listAutoScalingConfigurationsRequest.opcRequestId
|
|
811
844
|
};
|
|
812
|
-
const
|
|
845
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
846
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutoScalingConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
813
847
|
if (this.logger)
|
|
814
848
|
retrier.logger = this.logger;
|
|
815
849
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -850,6 +884,7 @@ class BdsClient {
|
|
|
850
884
|
});
|
|
851
885
|
}
|
|
852
886
|
/**
|
|
887
|
+
* NOTE: This function is deprecated in favor of listAutoScalingConfigurationsRecordIterator function.
|
|
853
888
|
* Creates a new async iterator which will iterate over the models.AutoScalingConfigurationSummary objects
|
|
854
889
|
* contained in responses from the listAutoScalingConfigurations operation. This iterator will fetch more data from the
|
|
855
890
|
* server as needed.
|
|
@@ -860,6 +895,7 @@ class BdsClient {
|
|
|
860
895
|
return oci_common_1.paginateRecords(request, req => this.listAutoScalingConfigurations(req));
|
|
861
896
|
}
|
|
862
897
|
/**
|
|
898
|
+
* NOTE: This function is deprecated in favor of listAutoScalingConfigurationsResponseIterator function.
|
|
863
899
|
* Creates a new async iterator which will iterate over the responses received from the listAutoScalingConfigurations operation. This iterator
|
|
864
900
|
* will fetch more data from the server as needed.
|
|
865
901
|
*
|
|
@@ -868,13 +904,33 @@ class BdsClient {
|
|
|
868
904
|
listAllAutoScalingConfigurationsResponses(request) {
|
|
869
905
|
return oci_common_1.paginateResponses(request, req => this.listAutoScalingConfigurations(req));
|
|
870
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* Creates a new async iterator which will iterate over the models.AutoScalingConfigurationSummary objects
|
|
909
|
+
* contained in responses from the listAutoScalingConfigurations operation. This iterator will fetch more data from the
|
|
910
|
+
* server as needed.
|
|
911
|
+
*
|
|
912
|
+
* @param request a request which can be sent to the service operation
|
|
913
|
+
*/
|
|
914
|
+
listAutoScalingConfigurationsRecordIterator(request) {
|
|
915
|
+
return oci_common_1.paginateRecords(request, req => this.listAutoScalingConfigurations(req));
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* Creates a new async iterator which will iterate over the responses received from the listAutoScalingConfigurations operation. This iterator
|
|
919
|
+
* will fetch more data from the server as needed.
|
|
920
|
+
*
|
|
921
|
+
* @param request a request which can be sent to the service operation
|
|
922
|
+
*/
|
|
923
|
+
listAutoScalingConfigurationsResponseIterator(request) {
|
|
924
|
+
return oci_common_1.paginateResponses(request, req => this.listAutoScalingConfigurations(req));
|
|
925
|
+
}
|
|
871
926
|
/**
|
|
872
927
|
* Returns a list of all Big Data Service clusters in a compartment.
|
|
873
928
|
*
|
|
929
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
874
930
|
* @param ListBdsInstancesRequest
|
|
875
931
|
* @return ListBdsInstancesResponse
|
|
876
932
|
* @throws OciError when an error occurs
|
|
877
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
933
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
|
|
878
934
|
*/
|
|
879
935
|
listBdsInstances(listBdsInstancesRequest) {
|
|
880
936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -894,7 +950,8 @@ class BdsClient {
|
|
|
894
950
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
895
951
|
"opc-request-id": listBdsInstancesRequest.opcRequestId
|
|
896
952
|
};
|
|
897
|
-
const
|
|
953
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
954
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsInstancesRequest.retryConfiguration, specRetryConfiguration);
|
|
898
955
|
if (this.logger)
|
|
899
956
|
retrier.logger = this.logger;
|
|
900
957
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -935,6 +992,7 @@ class BdsClient {
|
|
|
935
992
|
});
|
|
936
993
|
}
|
|
937
994
|
/**
|
|
995
|
+
* NOTE: This function is deprecated in favor of listBdsInstancesRecordIterator function.
|
|
938
996
|
* Creates a new async iterator which will iterate over the models.BdsInstanceSummary objects
|
|
939
997
|
* contained in responses from the listBdsInstances operation. This iterator will fetch more data from the
|
|
940
998
|
* server as needed.
|
|
@@ -945,6 +1003,7 @@ class BdsClient {
|
|
|
945
1003
|
return oci_common_1.paginateRecords(request, req => this.listBdsInstances(req));
|
|
946
1004
|
}
|
|
947
1005
|
/**
|
|
1006
|
+
* NOTE: This function is deprecated in favor of listBdsInstancesResponseIterator function.
|
|
948
1007
|
* Creates a new async iterator which will iterate over the responses received from the listBdsInstances operation. This iterator
|
|
949
1008
|
* will fetch more data from the server as needed.
|
|
950
1009
|
*
|
|
@@ -953,13 +1012,33 @@ class BdsClient {
|
|
|
953
1012
|
listAllBdsInstancesResponses(request) {
|
|
954
1013
|
return oci_common_1.paginateResponses(request, req => this.listBdsInstances(req));
|
|
955
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Creates a new async iterator which will iterate over the models.BdsInstanceSummary objects
|
|
1017
|
+
* contained in responses from the listBdsInstances operation. This iterator will fetch more data from the
|
|
1018
|
+
* server as needed.
|
|
1019
|
+
*
|
|
1020
|
+
* @param request a request which can be sent to the service operation
|
|
1021
|
+
*/
|
|
1022
|
+
listBdsInstancesRecordIterator(request) {
|
|
1023
|
+
return oci_common_1.paginateRecords(request, req => this.listBdsInstances(req));
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Creates a new async iterator which will iterate over the responses received from the listBdsInstances operation. This iterator
|
|
1027
|
+
* will fetch more data from the server as needed.
|
|
1028
|
+
*
|
|
1029
|
+
* @param request a request which can be sent to the service operation
|
|
1030
|
+
*/
|
|
1031
|
+
listBdsInstancesResponseIterator(request) {
|
|
1032
|
+
return oci_common_1.paginateResponses(request, req => this.listBdsInstances(req));
|
|
1033
|
+
}
|
|
956
1034
|
/**
|
|
957
1035
|
* Returns a paginated list of errors for a work request identified by the given ID.
|
|
958
1036
|
*
|
|
1037
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
959
1038
|
* @param ListWorkRequestErrorsRequest
|
|
960
1039
|
* @return ListWorkRequestErrorsResponse
|
|
961
1040
|
* @throws OciError when an error occurs
|
|
962
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1041
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
963
1042
|
*/
|
|
964
1043
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
965
1044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -978,7 +1057,8 @@ class BdsClient {
|
|
|
978
1057
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
979
1058
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
980
1059
|
};
|
|
981
|
-
const
|
|
1060
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1061
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
982
1062
|
if (this.logger)
|
|
983
1063
|
retrier.logger = this.logger;
|
|
984
1064
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1019,6 +1099,7 @@ class BdsClient {
|
|
|
1019
1099
|
});
|
|
1020
1100
|
}
|
|
1021
1101
|
/**
|
|
1102
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
|
|
1022
1103
|
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1023
1104
|
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1024
1105
|
* server as needed.
|
|
@@ -1029,6 +1110,7 @@ class BdsClient {
|
|
|
1029
1110
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1030
1111
|
}
|
|
1031
1112
|
/**
|
|
1113
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
|
|
1032
1114
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1033
1115
|
* will fetch more data from the server as needed.
|
|
1034
1116
|
*
|
|
@@ -1037,13 +1119,33 @@ class BdsClient {
|
|
|
1037
1119
|
listAllWorkRequestErrorsResponses(request) {
|
|
1038
1120
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1039
1121
|
}
|
|
1122
|
+
/**
|
|
1123
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1124
|
+
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1125
|
+
* server as needed.
|
|
1126
|
+
*
|
|
1127
|
+
* @param request a request which can be sent to the service operation
|
|
1128
|
+
*/
|
|
1129
|
+
listWorkRequestErrorsRecordIterator(request) {
|
|
1130
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1134
|
+
* will fetch more data from the server as needed.
|
|
1135
|
+
*
|
|
1136
|
+
* @param request a request which can be sent to the service operation
|
|
1137
|
+
*/
|
|
1138
|
+
listWorkRequestErrorsResponseIterator(request) {
|
|
1139
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1140
|
+
}
|
|
1040
1141
|
/**
|
|
1041
1142
|
* Returns a paginated list of logs for a given work request.
|
|
1042
1143
|
*
|
|
1144
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1043
1145
|
* @param ListWorkRequestLogsRequest
|
|
1044
1146
|
* @return ListWorkRequestLogsResponse
|
|
1045
1147
|
* @throws OciError when an error occurs
|
|
1046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1148
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1047
1149
|
*/
|
|
1048
1150
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1049
1151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1062,7 +1164,8 @@ class BdsClient {
|
|
|
1062
1164
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1063
1165
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1064
1166
|
};
|
|
1065
|
-
const
|
|
1167
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1168
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1066
1169
|
if (this.logger)
|
|
1067
1170
|
retrier.logger = this.logger;
|
|
1068
1171
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1103,6 +1206,7 @@ class BdsClient {
|
|
|
1103
1206
|
});
|
|
1104
1207
|
}
|
|
1105
1208
|
/**
|
|
1209
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
|
|
1106
1210
|
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
1107
1211
|
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1108
1212
|
* server as needed.
|
|
@@ -1113,6 +1217,7 @@ class BdsClient {
|
|
|
1113
1217
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1114
1218
|
}
|
|
1115
1219
|
/**
|
|
1220
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
|
|
1116
1221
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1117
1222
|
* will fetch more data from the server as needed.
|
|
1118
1223
|
*
|
|
@@ -1121,13 +1226,33 @@ class BdsClient {
|
|
|
1121
1226
|
listAllWorkRequestLogsResponses(request) {
|
|
1122
1227
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1123
1228
|
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
1231
|
+
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1232
|
+
* server as needed.
|
|
1233
|
+
*
|
|
1234
|
+
* @param request a request which can be sent to the service operation
|
|
1235
|
+
*/
|
|
1236
|
+
listWorkRequestLogsRecordIterator(request) {
|
|
1237
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1241
|
+
* will fetch more data from the server as needed.
|
|
1242
|
+
*
|
|
1243
|
+
* @param request a request which can be sent to the service operation
|
|
1244
|
+
*/
|
|
1245
|
+
listWorkRequestLogsResponseIterator(request) {
|
|
1246
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1247
|
+
}
|
|
1124
1248
|
/**
|
|
1125
1249
|
* Lists the work requests in a compartment.
|
|
1126
1250
|
*
|
|
1251
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1127
1252
|
* @param ListWorkRequestsRequest
|
|
1128
1253
|
* @return ListWorkRequestsResponse
|
|
1129
1254
|
* @throws OciError when an error occurs
|
|
1130
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1131
1256
|
*/
|
|
1132
1257
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1133
1258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1146,7 +1271,8 @@ class BdsClient {
|
|
|
1146
1271
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1147
1272
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1148
1273
|
};
|
|
1149
|
-
const
|
|
1274
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1275
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1150
1276
|
if (this.logger)
|
|
1151
1277
|
retrier.logger = this.logger;
|
|
1152
1278
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1187,6 +1313,7 @@ class BdsClient {
|
|
|
1187
1313
|
});
|
|
1188
1314
|
}
|
|
1189
1315
|
/**
|
|
1316
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
1190
1317
|
* Creates a new async iterator which will iterate over the models.WorkRequest objects
|
|
1191
1318
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1192
1319
|
* server as needed.
|
|
@@ -1197,6 +1324,7 @@ class BdsClient {
|
|
|
1197
1324
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1198
1325
|
}
|
|
1199
1326
|
/**
|
|
1327
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
1200
1328
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1201
1329
|
* will fetch more data from the server as needed.
|
|
1202
1330
|
*
|
|
@@ -1205,13 +1333,33 @@ class BdsClient {
|
|
|
1205
1333
|
listAllWorkRequestsResponses(request) {
|
|
1206
1334
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1207
1335
|
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Creates a new async iterator which will iterate over the models.WorkRequest objects
|
|
1338
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1339
|
+
* server as needed.
|
|
1340
|
+
*
|
|
1341
|
+
* @param request a request which can be sent to the service operation
|
|
1342
|
+
*/
|
|
1343
|
+
listWorkRequestsRecordIterator(request) {
|
|
1344
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1348
|
+
* will fetch more data from the server as needed.
|
|
1349
|
+
*
|
|
1350
|
+
* @param request a request which can be sent to the service operation
|
|
1351
|
+
*/
|
|
1352
|
+
listWorkRequestsResponseIterator(request) {
|
|
1353
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1354
|
+
}
|
|
1208
1355
|
/**
|
|
1209
1356
|
* Deletes an autoscale configuration.
|
|
1210
1357
|
*
|
|
1358
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1211
1359
|
* @param RemoveAutoScalingConfigurationRequest
|
|
1212
1360
|
* @return RemoveAutoScalingConfigurationResponse
|
|
1213
1361
|
* @throws OciError when an error occurs
|
|
1214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
|
|
1215
1363
|
*/
|
|
1216
1364
|
removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
|
|
1217
1365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1228,7 +1376,8 @@ class BdsClient {
|
|
|
1228
1376
|
"if-match": removeAutoScalingConfigurationRequest.ifMatch,
|
|
1229
1377
|
"opc-retry-token": removeAutoScalingConfigurationRequest.opcRetryToken
|
|
1230
1378
|
};
|
|
1231
|
-
const
|
|
1379
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1380
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1232
1381
|
if (this.logger)
|
|
1233
1382
|
retrier.logger = this.logger;
|
|
1234
1383
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1268,10 +1417,11 @@ class BdsClient {
|
|
|
1268
1417
|
/**
|
|
1269
1418
|
* Removes Cloud SQL from the cluster.
|
|
1270
1419
|
*
|
|
1420
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1271
1421
|
* @param RemoveCloudSqlRequest
|
|
1272
1422
|
* @return RemoveCloudSqlResponse
|
|
1273
1423
|
* @throws OciError when an error occurs
|
|
1274
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1424
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
|
|
1275
1425
|
*/
|
|
1276
1426
|
removeCloudSql(removeCloudSqlRequest) {
|
|
1277
1427
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1287,7 +1437,8 @@ class BdsClient {
|
|
|
1287
1437
|
"if-match": removeCloudSqlRequest.ifMatch,
|
|
1288
1438
|
"opc-retry-token": removeCloudSqlRequest.opcRetryToken
|
|
1289
1439
|
};
|
|
1290
|
-
const
|
|
1440
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1441
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeCloudSqlRequest.retryConfiguration, specRetryConfiguration);
|
|
1291
1442
|
if (this.logger)
|
|
1292
1443
|
retrier.logger = this.logger;
|
|
1293
1444
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1327,10 +1478,11 @@ class BdsClient {
|
|
|
1327
1478
|
/**
|
|
1328
1479
|
* Restarts a single node of a Big Data Service cluster
|
|
1329
1480
|
*
|
|
1481
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1330
1482
|
* @param RestartNodeRequest
|
|
1331
1483
|
* @return RestartNodeResponse
|
|
1332
1484
|
* @throws OciError when an error occurs
|
|
1333
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1485
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
|
|
1334
1486
|
*/
|
|
1335
1487
|
restartNode(restartNodeRequest) {
|
|
1336
1488
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1346,7 +1498,8 @@ class BdsClient {
|
|
|
1346
1498
|
"if-match": restartNodeRequest.ifMatch,
|
|
1347
1499
|
"opc-retry-token": restartNodeRequest.opcRetryToken
|
|
1348
1500
|
};
|
|
1349
|
-
const
|
|
1501
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1502
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1350
1503
|
if (this.logger)
|
|
1351
1504
|
retrier.logger = this.logger;
|
|
1352
1505
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1386,10 +1539,11 @@ class BdsClient {
|
|
|
1386
1539
|
/**
|
|
1387
1540
|
* Updates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled.
|
|
1388
1541
|
*
|
|
1542
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1389
1543
|
* @param UpdateAutoScalingConfigurationRequest
|
|
1390
1544
|
* @return UpdateAutoScalingConfigurationResponse
|
|
1391
1545
|
* @throws OciError when an error occurs
|
|
1392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
|
|
1393
1547
|
*/
|
|
1394
1548
|
updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
|
|
1395
1549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1406,7 +1560,8 @@ class BdsClient {
|
|
|
1406
1560
|
"if-match": updateAutoScalingConfigurationRequest.ifMatch,
|
|
1407
1561
|
"opc-retry-token": updateAutoScalingConfigurationRequest.opcRetryToken
|
|
1408
1562
|
};
|
|
1409
|
-
const
|
|
1563
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1564
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1410
1565
|
if (this.logger)
|
|
1411
1566
|
retrier.logger = this.logger;
|
|
1412
1567
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1445,10 +1600,11 @@ class BdsClient {
|
|
|
1445
1600
|
}
|
|
1446
1601
|
/**
|
|
1447
1602
|
* Updates the Big Data Service cluster identified by the given ID.
|
|
1603
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1448
1604
|
* @param UpdateBdsInstanceRequest
|
|
1449
1605
|
* @return UpdateBdsInstanceResponse
|
|
1450
1606
|
* @throws OciError when an error occurs
|
|
1451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1607
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
|
|
1452
1608
|
*/
|
|
1453
1609
|
updateBdsInstance(updateBdsInstanceRequest) {
|
|
1454
1610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1463,7 +1619,8 @@ class BdsClient {
|
|
|
1463
1619
|
"if-match": updateBdsInstanceRequest.ifMatch,
|
|
1464
1620
|
"opc-request-id": updateBdsInstanceRequest.opcRequestId
|
|
1465
1621
|
};
|
|
1466
|
-
const
|
|
1622
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1623
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1467
1624
|
if (this.logger)
|
|
1468
1625
|
retrier.logger = this.logger;
|
|
1469
1626
|
const request = yield oci_common_2.composeRequest({
|