oci-rover 2.5.2 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +55 -23
- package/lib/client.js +126 -48
- package/lib/client.js.map +1 -1
- package/lib/model/create-rover-cluster-details.d.ts +17 -1
- package/lib/model/create-rover-cluster-details.js.map +1 -1
- package/lib/model/create-rover-node-details.d.ts +16 -3
- package/lib/model/create-rover-node-details.js.map +1 -1
- package/lib/model/rover-cluster.d.ts +21 -0
- package/lib/model/rover-cluster.js.map +1 -1
- package/lib/model/rover-node.d.ts +21 -0
- package/lib/model/rover-node.js.map +1 -1
- package/lib/model/update-rover-cluster-details.d.ts +17 -1
- package/lib/model/update-rover-cluster-details.js.map +1 -1
- package/lib/model/update-rover-node-details.d.ts +16 -0
- package/lib/model/update-rover-node-details.js.map +1 -1
- package/lib/request/change-rover-cluster-compartment-request.d.ts +1 -1
- package/lib/request/change-rover-entitlement-compartment-request.d.ts +1 -1
- package/lib/request/change-rover-node-compartment-request.d.ts +1 -1
- package/lib/request/create-rover-cluster-request.d.ts +1 -1
- package/lib/request/create-rover-entitlement-request.d.ts +1 -1
- package/lib/request/create-rover-node-request.d.ts +1 -1
- package/lib/request/delete-rover-cluster-request.d.ts +10 -1
- package/lib/request/delete-rover-entitlement-request.d.ts +1 -1
- package/lib/request/delete-rover-node-request.d.ts +10 -1
- package/lib/request/get-rover-cluster-certificate-request.d.ts +1 -1
- package/lib/request/get-rover-cluster-request.d.ts +1 -1
- package/lib/request/get-rover-entitlement-request.d.ts +1 -1
- package/lib/request/get-rover-node-certificate-request.d.ts +1 -1
- package/lib/request/get-rover-node-encryption-key-request.d.ts +1 -1
- package/lib/request/get-rover-node-get-rpt-request.d.ts +1 -1
- package/lib/request/get-rover-node-request.d.ts +1 -1
- package/lib/request/list-rover-clusters-request.d.ts +1 -1
- package/lib/request/list-rover-entitlements-request.d.ts +1 -1
- package/lib/request/list-rover-nodes-request.d.ts +1 -1
- package/lib/request/rover-node-action-set-key-request.d.ts +1 -1
- package/lib/request/update-rover-cluster-request.d.ts +1 -1
- package/lib/request/update-rover-entitlement-request.d.ts +1 -1
- package/lib/request/update-rover-node-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -53,6 +53,9 @@ const oci_common_1 = require("oci-common");
|
|
|
53
53
|
var RoverClusterApiKeys;
|
|
54
54
|
(function (RoverClusterApiKeys) {
|
|
55
55
|
})(RoverClusterApiKeys = exports.RoverClusterApiKeys || (exports.RoverClusterApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
58
|
+
*/
|
|
56
59
|
class RoverClusterClient {
|
|
57
60
|
constructor(params, clientConfiguration) {
|
|
58
61
|
this["_endpoint"] = "";
|
|
@@ -67,6 +70,13 @@ class RoverClusterClient {
|
|
|
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 = true;
|
|
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 &&
|
|
@@ -138,10 +148,11 @@ class RoverClusterClient {
|
|
|
138
148
|
}
|
|
139
149
|
/**
|
|
140
150
|
* Moves a cluster into a different compartment.
|
|
151
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
141
152
|
* @param ChangeRoverClusterCompartmentRequest
|
|
142
153
|
* @return ChangeRoverClusterCompartmentResponse
|
|
143
154
|
* @throws OciError when an error occurs
|
|
144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/ChangeRoverClusterCompartment.ts.html |here} to see how to use ChangeRoverClusterCompartment API.
|
|
145
156
|
*/
|
|
146
157
|
changeRoverClusterCompartment(changeRoverClusterCompartmentRequest) {
|
|
147
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -157,7 +168,8 @@ class RoverClusterClient {
|
|
|
157
168
|
"opc-request-id": changeRoverClusterCompartmentRequest.opcRequestId,
|
|
158
169
|
"opc-retry-token": changeRoverClusterCompartmentRequest.opcRetryToken
|
|
159
170
|
};
|
|
160
|
-
const
|
|
171
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
172
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverClusterCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
161
173
|
if (this.logger)
|
|
162
174
|
retrier.logger = this.logger;
|
|
163
175
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -192,10 +204,11 @@ class RoverClusterClient {
|
|
|
192
204
|
/**
|
|
193
205
|
* Creates a new RoverCluster.
|
|
194
206
|
*
|
|
207
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
195
208
|
* @param CreateRoverClusterRequest
|
|
196
209
|
* @return CreateRoverClusterResponse
|
|
197
210
|
* @throws OciError when an error occurs
|
|
198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
211
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/CreateRoverCluster.ts.html |here} to see how to use CreateRoverCluster API.
|
|
199
212
|
*/
|
|
200
213
|
createRoverCluster(createRoverClusterRequest) {
|
|
201
214
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -208,7 +221,8 @@ class RoverClusterClient {
|
|
|
208
221
|
"opc-retry-token": createRoverClusterRequest.opcRetryToken,
|
|
209
222
|
"opc-request-id": createRoverClusterRequest.opcRequestId
|
|
210
223
|
};
|
|
211
|
-
const
|
|
224
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
225
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
212
226
|
if (this.logger)
|
|
213
227
|
retrier.logger = this.logger;
|
|
214
228
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -251,10 +265,11 @@ class RoverClusterClient {
|
|
|
251
265
|
}
|
|
252
266
|
/**
|
|
253
267
|
* Deletes a RoverCluster resource by identifier
|
|
268
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
254
269
|
* @param DeleteRoverClusterRequest
|
|
255
270
|
* @return DeleteRoverClusterResponse
|
|
256
271
|
* @throws OciError when an error occurs
|
|
257
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/DeleteRoverCluster.ts.html |here} to see how to use DeleteRoverCluster API.
|
|
258
273
|
*/
|
|
259
274
|
deleteRoverCluster(deleteRoverClusterRequest) {
|
|
260
275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -267,9 +282,11 @@ class RoverClusterClient {
|
|
|
267
282
|
let headerParams = {
|
|
268
283
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
269
284
|
"if-match": deleteRoverClusterRequest.ifMatch,
|
|
270
|
-
"opc-request-id": deleteRoverClusterRequest.opcRequestId
|
|
285
|
+
"opc-request-id": deleteRoverClusterRequest.opcRequestId,
|
|
286
|
+
"opc-retry-token": deleteRoverClusterRequest.opcRetryToken
|
|
271
287
|
};
|
|
272
|
-
const
|
|
288
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
289
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
273
290
|
if (this.logger)
|
|
274
291
|
retrier.logger = this.logger;
|
|
275
292
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -302,10 +319,11 @@ class RoverClusterClient {
|
|
|
302
319
|
}
|
|
303
320
|
/**
|
|
304
321
|
* Gets a RoverCluster by identifier
|
|
322
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
305
323
|
* @param GetRoverClusterRequest
|
|
306
324
|
* @return GetRoverClusterResponse
|
|
307
325
|
* @throws OciError when an error occurs
|
|
308
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverCluster.ts.html |here} to see how to use GetRoverCluster API.
|
|
309
327
|
*/
|
|
310
328
|
getRoverCluster(getRoverClusterRequest) {
|
|
311
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -319,7 +337,8 @@ class RoverClusterClient {
|
|
|
319
337
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
320
338
|
"opc-request-id": getRoverClusterRequest.opcRequestId
|
|
321
339
|
};
|
|
322
|
-
const
|
|
340
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
341
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
323
342
|
if (this.logger)
|
|
324
343
|
retrier.logger = this.logger;
|
|
325
344
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -361,10 +380,11 @@ class RoverClusterClient {
|
|
|
361
380
|
}
|
|
362
381
|
/**
|
|
363
382
|
* Get the certificate for a rover cluster
|
|
383
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
364
384
|
* @param GetRoverClusterCertificateRequest
|
|
365
385
|
* @return GetRoverClusterCertificateResponse
|
|
366
386
|
* @throws OciError when an error occurs
|
|
367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverClusterCertificate.ts.html |here} to see how to use GetRoverClusterCertificate API.
|
|
368
388
|
*/
|
|
369
389
|
getRoverClusterCertificate(getRoverClusterCertificateRequest) {
|
|
370
390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -378,7 +398,8 @@ class RoverClusterClient {
|
|
|
378
398
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
379
399
|
"opc-request-id": getRoverClusterCertificateRequest.opcRequestId
|
|
380
400
|
};
|
|
381
|
-
const
|
|
401
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
402
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverClusterCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
382
403
|
if (this.logger)
|
|
383
404
|
retrier.logger = this.logger;
|
|
384
405
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -421,10 +442,11 @@ class RoverClusterClient {
|
|
|
421
442
|
/**
|
|
422
443
|
* Returns a list of RoverClusters.
|
|
423
444
|
*
|
|
445
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
424
446
|
* @param ListRoverClustersRequest
|
|
425
447
|
* @return ListRoverClustersResponse
|
|
426
448
|
* @throws OciError when an error occurs
|
|
427
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/ListRoverClusters.ts.html |here} to see how to use ListRoverClusters API.
|
|
428
450
|
*/
|
|
429
451
|
listRoverClusters(listRoverClustersRequest) {
|
|
430
452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -444,7 +466,8 @@ class RoverClusterClient {
|
|
|
444
466
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
445
467
|
"opc-request-id": listRoverClustersRequest.opcRequestId
|
|
446
468
|
};
|
|
447
|
-
const
|
|
469
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
470
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverClustersRequest.retryConfiguration, specRetryConfiguration);
|
|
448
471
|
if (this.logger)
|
|
449
472
|
retrier.logger = this.logger;
|
|
450
473
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -491,10 +514,11 @@ class RoverClusterClient {
|
|
|
491
514
|
}
|
|
492
515
|
/**
|
|
493
516
|
* Updates the RoverCluster
|
|
517
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
494
518
|
* @param UpdateRoverClusterRequest
|
|
495
519
|
* @return UpdateRoverClusterResponse
|
|
496
520
|
* @throws OciError when an error occurs
|
|
497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/UpdateRoverCluster.ts.html |here} to see how to use UpdateRoverCluster API.
|
|
498
522
|
*/
|
|
499
523
|
updateRoverCluster(updateRoverClusterRequest) {
|
|
500
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -509,7 +533,8 @@ class RoverClusterClient {
|
|
|
509
533
|
"if-match": updateRoverClusterRequest.ifMatch,
|
|
510
534
|
"opc-request-id": updateRoverClusterRequest.opcRequestId
|
|
511
535
|
};
|
|
512
|
-
const
|
|
536
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
537
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
513
538
|
if (this.logger)
|
|
514
539
|
retrier.logger = this.logger;
|
|
515
540
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -556,6 +581,9 @@ RoverClusterClient.serviceEndpointTemplate = "https://rover.{region}.oci.{second
|
|
|
556
581
|
var RoverEntitlementApiKeys;
|
|
557
582
|
(function (RoverEntitlementApiKeys) {
|
|
558
583
|
})(RoverEntitlementApiKeys = exports.RoverEntitlementApiKeys || (exports.RoverEntitlementApiKeys = {}));
|
|
584
|
+
/**
|
|
585
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
586
|
+
*/
|
|
559
587
|
class RoverEntitlementClient {
|
|
560
588
|
constructor(params, clientConfiguration) {
|
|
561
589
|
this["_endpoint"] = "";
|
|
@@ -570,6 +598,13 @@ class RoverEntitlementClient {
|
|
|
570
598
|
? clientConfiguration.circuitBreaker.circuit
|
|
571
599
|
: null;
|
|
572
600
|
}
|
|
601
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
602
|
+
const specCircuitBreakerEnabled = true;
|
|
603
|
+
if (!this._circuitBreaker &&
|
|
604
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
605
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
606
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
607
|
+
}
|
|
573
608
|
this._httpClient =
|
|
574
609
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
575
610
|
if (params.authenticationDetailsProvider &&
|
|
@@ -641,10 +676,11 @@ class RoverEntitlementClient {
|
|
|
641
676
|
}
|
|
642
677
|
/**
|
|
643
678
|
* Moves an entitlement into a different compartment.
|
|
679
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
644
680
|
* @param ChangeRoverEntitlementCompartmentRequest
|
|
645
681
|
* @return ChangeRoverEntitlementCompartmentResponse
|
|
646
682
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
683
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/ChangeRoverEntitlementCompartment.ts.html |here} to see how to use ChangeRoverEntitlementCompartment API.
|
|
648
684
|
*/
|
|
649
685
|
changeRoverEntitlementCompartment(changeRoverEntitlementCompartmentRequest) {
|
|
650
686
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -660,7 +696,8 @@ class RoverEntitlementClient {
|
|
|
660
696
|
"opc-request-id": changeRoverEntitlementCompartmentRequest.opcRequestId,
|
|
661
697
|
"opc-retry-token": changeRoverEntitlementCompartmentRequest.opcRetryToken
|
|
662
698
|
};
|
|
663
|
-
const
|
|
699
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
700
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverEntitlementCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
664
701
|
if (this.logger)
|
|
665
702
|
retrier.logger = this.logger;
|
|
666
703
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -694,10 +731,11 @@ class RoverEntitlementClient {
|
|
|
694
731
|
}
|
|
695
732
|
/**
|
|
696
733
|
* Create the Entitlement to use a Rover Device. It requires some offline process of review and signatures before request is granted.
|
|
734
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
697
735
|
* @param CreateRoverEntitlementRequest
|
|
698
736
|
* @return CreateRoverEntitlementResponse
|
|
699
737
|
* @throws OciError when an error occurs
|
|
700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
738
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/CreateRoverEntitlement.ts.html |here} to see how to use CreateRoverEntitlement API.
|
|
701
739
|
*/
|
|
702
740
|
createRoverEntitlement(createRoverEntitlementRequest) {
|
|
703
741
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -710,7 +748,8 @@ class RoverEntitlementClient {
|
|
|
710
748
|
"opc-retry-token": createRoverEntitlementRequest.opcRetryToken,
|
|
711
749
|
"opc-request-id": createRoverEntitlementRequest.opcRequestId
|
|
712
750
|
};
|
|
713
|
-
const
|
|
751
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
752
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
714
753
|
if (this.logger)
|
|
715
754
|
retrier.logger = this.logger;
|
|
716
755
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -753,10 +792,11 @@ class RoverEntitlementClient {
|
|
|
753
792
|
}
|
|
754
793
|
/**
|
|
755
794
|
* Deletes a rover entitlement
|
|
795
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
756
796
|
* @param DeleteRoverEntitlementRequest
|
|
757
797
|
* @return DeleteRoverEntitlementResponse
|
|
758
798
|
* @throws OciError when an error occurs
|
|
759
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/DeleteRoverEntitlement.ts.html |here} to see how to use DeleteRoverEntitlement API.
|
|
760
800
|
*/
|
|
761
801
|
deleteRoverEntitlement(deleteRoverEntitlementRequest) {
|
|
762
802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -772,7 +812,8 @@ class RoverEntitlementClient {
|
|
|
772
812
|
"opc-request-id": deleteRoverEntitlementRequest.opcRequestId,
|
|
773
813
|
"if-match": deleteRoverEntitlementRequest.ifMatch
|
|
774
814
|
};
|
|
775
|
-
const
|
|
815
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
816
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
776
817
|
if (this.logger)
|
|
777
818
|
retrier.logger = this.logger;
|
|
778
819
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -805,10 +846,11 @@ class RoverEntitlementClient {
|
|
|
805
846
|
}
|
|
806
847
|
/**
|
|
807
848
|
* Describes the Rover Device Entitlement in detail
|
|
849
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
808
850
|
* @param GetRoverEntitlementRequest
|
|
809
851
|
* @return GetRoverEntitlementResponse
|
|
810
852
|
* @throws OciError when an error occurs
|
|
811
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverEntitlement.ts.html |here} to see how to use GetRoverEntitlement API.
|
|
812
854
|
*/
|
|
813
855
|
getRoverEntitlement(getRoverEntitlementRequest) {
|
|
814
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -825,7 +867,8 @@ class RoverEntitlementClient {
|
|
|
825
867
|
"opc-retry-token": getRoverEntitlementRequest.opcRetryToken,
|
|
826
868
|
"opc-request-id": getRoverEntitlementRequest.opcRequestId
|
|
827
869
|
};
|
|
828
|
-
const
|
|
870
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
871
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
829
872
|
if (this.logger)
|
|
830
873
|
retrier.logger = this.logger;
|
|
831
874
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -867,10 +910,11 @@ class RoverEntitlementClient {
|
|
|
867
910
|
}
|
|
868
911
|
/**
|
|
869
912
|
* Returns a list of RoverEntitlements.
|
|
913
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
870
914
|
* @param ListRoverEntitlementsRequest
|
|
871
915
|
* @return ListRoverEntitlementsResponse
|
|
872
916
|
* @throws OciError when an error occurs
|
|
873
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/ListRoverEntitlements.ts.html |here} to see how to use ListRoverEntitlements API.
|
|
874
918
|
*/
|
|
875
919
|
listRoverEntitlements(listRoverEntitlementsRequest) {
|
|
876
920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -891,7 +935,8 @@ class RoverEntitlementClient {
|
|
|
891
935
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
892
936
|
"opc-request-id": listRoverEntitlementsRequest.opcRequestId
|
|
893
937
|
};
|
|
894
|
-
const
|
|
938
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
939
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverEntitlementsRequest.retryConfiguration, specRetryConfiguration);
|
|
895
940
|
if (this.logger)
|
|
896
941
|
retrier.logger = this.logger;
|
|
897
942
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -938,10 +983,11 @@ class RoverEntitlementClient {
|
|
|
938
983
|
}
|
|
939
984
|
/**
|
|
940
985
|
* Updates the RoverEntitlement
|
|
986
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
941
987
|
* @param UpdateRoverEntitlementRequest
|
|
942
988
|
* @return UpdateRoverEntitlementResponse
|
|
943
989
|
* @throws OciError when an error occurs
|
|
944
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
990
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/UpdateRoverEntitlement.ts.html |here} to see how to use UpdateRoverEntitlement API.
|
|
945
991
|
*/
|
|
946
992
|
updateRoverEntitlement(updateRoverEntitlementRequest) {
|
|
947
993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -956,7 +1002,8 @@ class RoverEntitlementClient {
|
|
|
956
1002
|
"if-match": updateRoverEntitlementRequest.ifMatch,
|
|
957
1003
|
"opc-request-id": updateRoverEntitlementRequest.opcRequestId
|
|
958
1004
|
};
|
|
959
|
-
const
|
|
1005
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1006
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
960
1007
|
if (this.logger)
|
|
961
1008
|
retrier.logger = this.logger;
|
|
962
1009
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1003,6 +1050,9 @@ RoverEntitlementClient.serviceEndpointTemplate = "https://rover.{region}.oci.{se
|
|
|
1003
1050
|
var RoverNodeApiKeys;
|
|
1004
1051
|
(function (RoverNodeApiKeys) {
|
|
1005
1052
|
})(RoverNodeApiKeys = exports.RoverNodeApiKeys || (exports.RoverNodeApiKeys = {}));
|
|
1053
|
+
/**
|
|
1054
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
1055
|
+
*/
|
|
1006
1056
|
class RoverNodeClient {
|
|
1007
1057
|
constructor(params, clientConfiguration) {
|
|
1008
1058
|
this["_endpoint"] = "";
|
|
@@ -1017,6 +1067,13 @@ class RoverNodeClient {
|
|
|
1017
1067
|
? clientConfiguration.circuitBreaker.circuit
|
|
1018
1068
|
: null;
|
|
1019
1069
|
}
|
|
1070
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1071
|
+
const specCircuitBreakerEnabled = true;
|
|
1072
|
+
if (!this._circuitBreaker &&
|
|
1073
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
1074
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1075
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1076
|
+
}
|
|
1020
1077
|
this._httpClient =
|
|
1021
1078
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
1022
1079
|
if (params.authenticationDetailsProvider &&
|
|
@@ -1088,10 +1145,11 @@ class RoverNodeClient {
|
|
|
1088
1145
|
}
|
|
1089
1146
|
/**
|
|
1090
1147
|
* Moves a rover node into a different compartment.
|
|
1148
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1091
1149
|
* @param ChangeRoverNodeCompartmentRequest
|
|
1092
1150
|
* @return ChangeRoverNodeCompartmentResponse
|
|
1093
1151
|
* @throws OciError when an error occurs
|
|
1094
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1152
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/ChangeRoverNodeCompartment.ts.html |here} to see how to use ChangeRoverNodeCompartment API.
|
|
1095
1153
|
*/
|
|
1096
1154
|
changeRoverNodeCompartment(changeRoverNodeCompartmentRequest) {
|
|
1097
1155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1107,7 +1165,8 @@ class RoverNodeClient {
|
|
|
1107
1165
|
"opc-request-id": changeRoverNodeCompartmentRequest.opcRequestId,
|
|
1108
1166
|
"opc-retry-token": changeRoverNodeCompartmentRequest.opcRetryToken
|
|
1109
1167
|
};
|
|
1110
|
-
const
|
|
1168
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1169
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverNodeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1111
1170
|
if (this.logger)
|
|
1112
1171
|
retrier.logger = this.logger;
|
|
1113
1172
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1142,10 +1201,11 @@ class RoverNodeClient {
|
|
|
1142
1201
|
/**
|
|
1143
1202
|
* Creates a new RoverNode.
|
|
1144
1203
|
*
|
|
1204
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1145
1205
|
* @param CreateRoverNodeRequest
|
|
1146
1206
|
* @return CreateRoverNodeResponse
|
|
1147
1207
|
* @throws OciError when an error occurs
|
|
1148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/CreateRoverNode.ts.html |here} to see how to use CreateRoverNode API.
|
|
1149
1209
|
*/
|
|
1150
1210
|
createRoverNode(createRoverNodeRequest) {
|
|
1151
1211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1158,7 +1218,8 @@ class RoverNodeClient {
|
|
|
1158
1218
|
"opc-retry-token": createRoverNodeRequest.opcRetryToken,
|
|
1159
1219
|
"opc-request-id": createRoverNodeRequest.opcRequestId
|
|
1160
1220
|
};
|
|
1161
|
-
const
|
|
1221
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1222
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1162
1223
|
if (this.logger)
|
|
1163
1224
|
retrier.logger = this.logger;
|
|
1164
1225
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1201,10 +1262,11 @@ class RoverNodeClient {
|
|
|
1201
1262
|
}
|
|
1202
1263
|
/**
|
|
1203
1264
|
* Deletes a RoverNode resource by identifier
|
|
1265
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1204
1266
|
* @param DeleteRoverNodeRequest
|
|
1205
1267
|
* @return DeleteRoverNodeResponse
|
|
1206
1268
|
* @throws OciError when an error occurs
|
|
1207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1269
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/DeleteRoverNode.ts.html |here} to see how to use DeleteRoverNode API.
|
|
1208
1270
|
*/
|
|
1209
1271
|
deleteRoverNode(deleteRoverNodeRequest) {
|
|
1210
1272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1217,9 +1279,11 @@ class RoverNodeClient {
|
|
|
1217
1279
|
let headerParams = {
|
|
1218
1280
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1219
1281
|
"if-match": deleteRoverNodeRequest.ifMatch,
|
|
1220
|
-
"opc-request-id": deleteRoverNodeRequest.opcRequestId
|
|
1282
|
+
"opc-request-id": deleteRoverNodeRequest.opcRequestId,
|
|
1283
|
+
"opc-retry-token": deleteRoverNodeRequest.opcRetryToken
|
|
1221
1284
|
};
|
|
1222
|
-
const
|
|
1285
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1286
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1223
1287
|
if (this.logger)
|
|
1224
1288
|
retrier.logger = this.logger;
|
|
1225
1289
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1252,10 +1316,11 @@ class RoverNodeClient {
|
|
|
1252
1316
|
}
|
|
1253
1317
|
/**
|
|
1254
1318
|
* Gets a RoverNode by identifier.
|
|
1319
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1255
1320
|
* @param GetRoverNodeRequest
|
|
1256
1321
|
* @return GetRoverNodeResponse
|
|
1257
1322
|
* @throws OciError when an error occurs
|
|
1258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1323
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverNode.ts.html |here} to see how to use GetRoverNode API.
|
|
1259
1324
|
*/
|
|
1260
1325
|
getRoverNode(getRoverNodeRequest) {
|
|
1261
1326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1269,7 +1334,8 @@ class RoverNodeClient {
|
|
|
1269
1334
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1270
1335
|
"opc-request-id": getRoverNodeRequest.opcRequestId
|
|
1271
1336
|
};
|
|
1272
|
-
const
|
|
1337
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1338
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1273
1339
|
if (this.logger)
|
|
1274
1340
|
retrier.logger = this.logger;
|
|
1275
1341
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1311,10 +1377,11 @@ class RoverNodeClient {
|
|
|
1311
1377
|
}
|
|
1312
1378
|
/**
|
|
1313
1379
|
* Get the certificate for a rover node
|
|
1380
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1314
1381
|
* @param GetRoverNodeCertificateRequest
|
|
1315
1382
|
* @return GetRoverNodeCertificateResponse
|
|
1316
1383
|
* @throws OciError when an error occurs
|
|
1317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverNodeCertificate.ts.html |here} to see how to use GetRoverNodeCertificate API.
|
|
1318
1385
|
*/
|
|
1319
1386
|
getRoverNodeCertificate(getRoverNodeCertificateRequest) {
|
|
1320
1387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1328,7 +1395,8 @@ class RoverNodeClient {
|
|
|
1328
1395
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1329
1396
|
"opc-request-id": getRoverNodeCertificateRequest.opcRequestId
|
|
1330
1397
|
};
|
|
1331
|
-
const
|
|
1398
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1399
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1332
1400
|
if (this.logger)
|
|
1333
1401
|
retrier.logger = this.logger;
|
|
1334
1402
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1370,10 +1438,11 @@ class RoverNodeClient {
|
|
|
1370
1438
|
}
|
|
1371
1439
|
/**
|
|
1372
1440
|
* Get the data encryption key for a rover node.
|
|
1441
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1373
1442
|
* @param GetRoverNodeEncryptionKeyRequest
|
|
1374
1443
|
* @return GetRoverNodeEncryptionKeyResponse
|
|
1375
1444
|
* @throws OciError when an error occurs
|
|
1376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1445
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverNodeEncryptionKey.ts.html |here} to see how to use GetRoverNodeEncryptionKey API.
|
|
1377
1446
|
*/
|
|
1378
1447
|
getRoverNodeEncryptionKey(getRoverNodeEncryptionKeyRequest) {
|
|
1379
1448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1387,7 +1456,8 @@ class RoverNodeClient {
|
|
|
1387
1456
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1388
1457
|
"opc-request-id": getRoverNodeEncryptionKeyRequest.opcRequestId
|
|
1389
1458
|
};
|
|
1390
|
-
const
|
|
1459
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1460
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeEncryptionKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1391
1461
|
if (this.logger)
|
|
1392
1462
|
retrier.logger = this.logger;
|
|
1393
1463
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1429,10 +1499,11 @@ class RoverNodeClient {
|
|
|
1429
1499
|
}
|
|
1430
1500
|
/**
|
|
1431
1501
|
* Get the resource principal token for a rover node
|
|
1502
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1432
1503
|
* @param GetRoverNodeGetRptRequest
|
|
1433
1504
|
* @return GetRoverNodeGetRptResponse
|
|
1434
1505
|
* @throws OciError when an error occurs
|
|
1435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/GetRoverNodeGetRpt.ts.html |here} to see how to use GetRoverNodeGetRpt API.
|
|
1436
1507
|
*/
|
|
1437
1508
|
getRoverNodeGetRpt(getRoverNodeGetRptRequest) {
|
|
1438
1509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1447,7 +1518,8 @@ class RoverNodeClient {
|
|
|
1447
1518
|
"jwt": getRoverNodeGetRptRequest.jwt,
|
|
1448
1519
|
"opc-request-id": getRoverNodeGetRptRequest.opcRequestId
|
|
1449
1520
|
};
|
|
1450
|
-
const
|
|
1521
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1522
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeGetRptRequest.retryConfiguration, specRetryConfiguration);
|
|
1451
1523
|
if (this.logger)
|
|
1452
1524
|
retrier.logger = this.logger;
|
|
1453
1525
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1490,10 +1562,11 @@ class RoverNodeClient {
|
|
|
1490
1562
|
/**
|
|
1491
1563
|
* Returns a list of RoverNodes.
|
|
1492
1564
|
*
|
|
1565
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1493
1566
|
* @param ListRoverNodesRequest
|
|
1494
1567
|
* @return ListRoverNodesResponse
|
|
1495
1568
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1569
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/ListRoverNodes.ts.html |here} to see how to use ListRoverNodes API.
|
|
1497
1570
|
*/
|
|
1498
1571
|
listRoverNodes(listRoverNodesRequest) {
|
|
1499
1572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1513,7 +1586,8 @@ class RoverNodeClient {
|
|
|
1513
1586
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1514
1587
|
"opc-request-id": listRoverNodesRequest.opcRequestId
|
|
1515
1588
|
};
|
|
1516
|
-
const
|
|
1589
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1590
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
1517
1591
|
if (this.logger)
|
|
1518
1592
|
retrier.logger = this.logger;
|
|
1519
1593
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1560,10 +1634,11 @@ class RoverNodeClient {
|
|
|
1560
1634
|
}
|
|
1561
1635
|
/**
|
|
1562
1636
|
* Get the resource principal public key for a rover node
|
|
1637
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1563
1638
|
* @param RoverNodeActionSetKeyRequest
|
|
1564
1639
|
* @return RoverNodeActionSetKeyResponse
|
|
1565
1640
|
* @throws OciError when an error occurs
|
|
1566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1641
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/RoverNodeActionSetKey.ts.html |here} to see how to use RoverNodeActionSetKey API.
|
|
1567
1642
|
*/
|
|
1568
1643
|
roverNodeActionSetKey(roverNodeActionSetKeyRequest) {
|
|
1569
1644
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1580,7 +1655,8 @@ class RoverNodeClient {
|
|
|
1580
1655
|
"opc-request-id": roverNodeActionSetKeyRequest.opcRequestId,
|
|
1581
1656
|
"opc-retry-token": roverNodeActionSetKeyRequest.opcRetryToken
|
|
1582
1657
|
};
|
|
1583
|
-
const
|
|
1658
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1659
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeActionSetKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1584
1660
|
if (this.logger)
|
|
1585
1661
|
retrier.logger = this.logger;
|
|
1586
1662
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1623,10 +1699,11 @@ class RoverNodeClient {
|
|
|
1623
1699
|
}
|
|
1624
1700
|
/**
|
|
1625
1701
|
* Updates the RoverNode
|
|
1702
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1626
1703
|
* @param UpdateRoverNodeRequest
|
|
1627
1704
|
* @return UpdateRoverNodeResponse
|
|
1628
1705
|
* @throws OciError when an error occurs
|
|
1629
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1706
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/rover/UpdateRoverNode.ts.html |here} to see how to use UpdateRoverNode API.
|
|
1630
1707
|
*/
|
|
1631
1708
|
updateRoverNode(updateRoverNodeRequest) {
|
|
1632
1709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1641,7 +1718,8 @@ class RoverNodeClient {
|
|
|
1641
1718
|
"if-match": updateRoverNodeRequest.ifMatch,
|
|
1642
1719
|
"opc-request-id": updateRoverNodeRequest.opcRequestId
|
|
1643
1720
|
};
|
|
1644
|
-
const
|
|
1721
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1722
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1645
1723
|
if (this.logger)
|
|
1646
1724
|
retrier.logger = this.logger;
|
|
1647
1725
|
const request = yield oci_common_1.composeRequest({
|