oci-rover 2.5.1 → 2.7.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 +55 -23
- package/lib/client.js +122 -46
- package/lib/client.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 +1 -1
- package/lib/request/delete-rover-entitlement-request.d.ts +1 -1
- package/lib/request/delete-rover-node-request.d.ts +1 -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 does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
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 = 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 &&
|
|
@@ -138,10 +148,11 @@ class RoverClusterClient {
|
|
|
138
148
|
}
|
|
139
149
|
/**
|
|
140
150
|
* Moves a cluster into a different compartment.
|
|
151
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
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.7.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.NoRetryConfigurationDetails;
|
|
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 does not retry by default if the user has not defined a retry configuration.
|
|
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.7.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.NoRetryConfigurationDetails;
|
|
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 does not retry by default if the user has not defined a retry configuration.
|
|
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.7.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* () {
|
|
@@ -269,7 +284,8 @@ class RoverClusterClient {
|
|
|
269
284
|
"if-match": deleteRoverClusterRequest.ifMatch,
|
|
270
285
|
"opc-request-id": deleteRoverClusterRequest.opcRequestId
|
|
271
286
|
};
|
|
272
|
-
const
|
|
287
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
288
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
273
289
|
if (this.logger)
|
|
274
290
|
retrier.logger = this.logger;
|
|
275
291
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -302,10 +318,11 @@ class RoverClusterClient {
|
|
|
302
318
|
}
|
|
303
319
|
/**
|
|
304
320
|
* Gets a RoverCluster by identifier
|
|
321
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
305
322
|
* @param GetRoverClusterRequest
|
|
306
323
|
* @return GetRoverClusterResponse
|
|
307
324
|
* @throws OciError when an error occurs
|
|
308
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverCluster.ts.html |here} to see how to use GetRoverCluster API.
|
|
309
326
|
*/
|
|
310
327
|
getRoverCluster(getRoverClusterRequest) {
|
|
311
328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -319,7 +336,8 @@ class RoverClusterClient {
|
|
|
319
336
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
320
337
|
"opc-request-id": getRoverClusterRequest.opcRequestId
|
|
321
338
|
};
|
|
322
|
-
const
|
|
339
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
340
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
323
341
|
if (this.logger)
|
|
324
342
|
retrier.logger = this.logger;
|
|
325
343
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -361,10 +379,11 @@ class RoverClusterClient {
|
|
|
361
379
|
}
|
|
362
380
|
/**
|
|
363
381
|
* Get the certificate for a rover cluster
|
|
382
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
364
383
|
* @param GetRoverClusterCertificateRequest
|
|
365
384
|
* @return GetRoverClusterCertificateResponse
|
|
366
385
|
* @throws OciError when an error occurs
|
|
367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
386
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverClusterCertificate.ts.html |here} to see how to use GetRoverClusterCertificate API.
|
|
368
387
|
*/
|
|
369
388
|
getRoverClusterCertificate(getRoverClusterCertificateRequest) {
|
|
370
389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -378,7 +397,8 @@ class RoverClusterClient {
|
|
|
378
397
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
379
398
|
"opc-request-id": getRoverClusterCertificateRequest.opcRequestId
|
|
380
399
|
};
|
|
381
|
-
const
|
|
400
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
401
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverClusterCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
382
402
|
if (this.logger)
|
|
383
403
|
retrier.logger = this.logger;
|
|
384
404
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -421,10 +441,11 @@ class RoverClusterClient {
|
|
|
421
441
|
/**
|
|
422
442
|
* Returns a list of RoverClusters.
|
|
423
443
|
*
|
|
444
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
424
445
|
* @param ListRoverClustersRequest
|
|
425
446
|
* @return ListRoverClustersResponse
|
|
426
447
|
* @throws OciError when an error occurs
|
|
427
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/ListRoverClusters.ts.html |here} to see how to use ListRoverClusters API.
|
|
428
449
|
*/
|
|
429
450
|
listRoverClusters(listRoverClustersRequest) {
|
|
430
451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -444,7 +465,8 @@ class RoverClusterClient {
|
|
|
444
465
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
445
466
|
"opc-request-id": listRoverClustersRequest.opcRequestId
|
|
446
467
|
};
|
|
447
|
-
const
|
|
468
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
469
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverClustersRequest.retryConfiguration, specRetryConfiguration);
|
|
448
470
|
if (this.logger)
|
|
449
471
|
retrier.logger = this.logger;
|
|
450
472
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -491,10 +513,11 @@ class RoverClusterClient {
|
|
|
491
513
|
}
|
|
492
514
|
/**
|
|
493
515
|
* Updates the RoverCluster
|
|
516
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
494
517
|
* @param UpdateRoverClusterRequest
|
|
495
518
|
* @return UpdateRoverClusterResponse
|
|
496
519
|
* @throws OciError when an error occurs
|
|
497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
520
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/UpdateRoverCluster.ts.html |here} to see how to use UpdateRoverCluster API.
|
|
498
521
|
*/
|
|
499
522
|
updateRoverCluster(updateRoverClusterRequest) {
|
|
500
523
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -509,7 +532,8 @@ class RoverClusterClient {
|
|
|
509
532
|
"if-match": updateRoverClusterRequest.ifMatch,
|
|
510
533
|
"opc-request-id": updateRoverClusterRequest.opcRequestId
|
|
511
534
|
};
|
|
512
|
-
const
|
|
535
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
536
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
513
537
|
if (this.logger)
|
|
514
538
|
retrier.logger = this.logger;
|
|
515
539
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -556,6 +580,9 @@ RoverClusterClient.serviceEndpointTemplate = "https://rover.{region}.oci.{second
|
|
|
556
580
|
var RoverEntitlementApiKeys;
|
|
557
581
|
(function (RoverEntitlementApiKeys) {
|
|
558
582
|
})(RoverEntitlementApiKeys = exports.RoverEntitlementApiKeys || (exports.RoverEntitlementApiKeys = {}));
|
|
583
|
+
/**
|
|
584
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
585
|
+
*/
|
|
559
586
|
class RoverEntitlementClient {
|
|
560
587
|
constructor(params, clientConfiguration) {
|
|
561
588
|
this["_endpoint"] = "";
|
|
@@ -570,6 +597,13 @@ class RoverEntitlementClient {
|
|
|
570
597
|
? clientConfiguration.circuitBreaker.circuit
|
|
571
598
|
: null;
|
|
572
599
|
}
|
|
600
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
601
|
+
const specCircuitBreakerEnabled = false;
|
|
602
|
+
if (!this._circuitBreaker &&
|
|
603
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
604
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
605
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
606
|
+
}
|
|
573
607
|
this._httpClient =
|
|
574
608
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
575
609
|
if (params.authenticationDetailsProvider &&
|
|
@@ -641,10 +675,11 @@ class RoverEntitlementClient {
|
|
|
641
675
|
}
|
|
642
676
|
/**
|
|
643
677
|
* Moves an entitlement into a different compartment.
|
|
678
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
644
679
|
* @param ChangeRoverEntitlementCompartmentRequest
|
|
645
680
|
* @return ChangeRoverEntitlementCompartmentResponse
|
|
646
681
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/ChangeRoverEntitlementCompartment.ts.html |here} to see how to use ChangeRoverEntitlementCompartment API.
|
|
648
683
|
*/
|
|
649
684
|
changeRoverEntitlementCompartment(changeRoverEntitlementCompartmentRequest) {
|
|
650
685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -660,7 +695,8 @@ class RoverEntitlementClient {
|
|
|
660
695
|
"opc-request-id": changeRoverEntitlementCompartmentRequest.opcRequestId,
|
|
661
696
|
"opc-retry-token": changeRoverEntitlementCompartmentRequest.opcRetryToken
|
|
662
697
|
};
|
|
663
|
-
const
|
|
698
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
699
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverEntitlementCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
664
700
|
if (this.logger)
|
|
665
701
|
retrier.logger = this.logger;
|
|
666
702
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -694,10 +730,11 @@ class RoverEntitlementClient {
|
|
|
694
730
|
}
|
|
695
731
|
/**
|
|
696
732
|
* Create the Entitlement to use a Rover Device. It requires some offline process of review and signatures before request is granted.
|
|
733
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
697
734
|
* @param CreateRoverEntitlementRequest
|
|
698
735
|
* @return CreateRoverEntitlementResponse
|
|
699
736
|
* @throws OciError when an error occurs
|
|
700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
737
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/CreateRoverEntitlement.ts.html |here} to see how to use CreateRoverEntitlement API.
|
|
701
738
|
*/
|
|
702
739
|
createRoverEntitlement(createRoverEntitlementRequest) {
|
|
703
740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -710,7 +747,8 @@ class RoverEntitlementClient {
|
|
|
710
747
|
"opc-retry-token": createRoverEntitlementRequest.opcRetryToken,
|
|
711
748
|
"opc-request-id": createRoverEntitlementRequest.opcRequestId
|
|
712
749
|
};
|
|
713
|
-
const
|
|
750
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
751
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
714
752
|
if (this.logger)
|
|
715
753
|
retrier.logger = this.logger;
|
|
716
754
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -753,10 +791,11 @@ class RoverEntitlementClient {
|
|
|
753
791
|
}
|
|
754
792
|
/**
|
|
755
793
|
* Deletes a rover entitlement
|
|
794
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
756
795
|
* @param DeleteRoverEntitlementRequest
|
|
757
796
|
* @return DeleteRoverEntitlementResponse
|
|
758
797
|
* @throws OciError when an error occurs
|
|
759
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/DeleteRoverEntitlement.ts.html |here} to see how to use DeleteRoverEntitlement API.
|
|
760
799
|
*/
|
|
761
800
|
deleteRoverEntitlement(deleteRoverEntitlementRequest) {
|
|
762
801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -772,7 +811,8 @@ class RoverEntitlementClient {
|
|
|
772
811
|
"opc-request-id": deleteRoverEntitlementRequest.opcRequestId,
|
|
773
812
|
"if-match": deleteRoverEntitlementRequest.ifMatch
|
|
774
813
|
};
|
|
775
|
-
const
|
|
814
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
815
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
776
816
|
if (this.logger)
|
|
777
817
|
retrier.logger = this.logger;
|
|
778
818
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -805,10 +845,11 @@ class RoverEntitlementClient {
|
|
|
805
845
|
}
|
|
806
846
|
/**
|
|
807
847
|
* Describes the Rover Device Entitlement in detail
|
|
848
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
808
849
|
* @param GetRoverEntitlementRequest
|
|
809
850
|
* @return GetRoverEntitlementResponse
|
|
810
851
|
* @throws OciError when an error occurs
|
|
811
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverEntitlement.ts.html |here} to see how to use GetRoverEntitlement API.
|
|
812
853
|
*/
|
|
813
854
|
getRoverEntitlement(getRoverEntitlementRequest) {
|
|
814
855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -825,7 +866,8 @@ class RoverEntitlementClient {
|
|
|
825
866
|
"opc-retry-token": getRoverEntitlementRequest.opcRetryToken,
|
|
826
867
|
"opc-request-id": getRoverEntitlementRequest.opcRequestId
|
|
827
868
|
};
|
|
828
|
-
const
|
|
869
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
870
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
829
871
|
if (this.logger)
|
|
830
872
|
retrier.logger = this.logger;
|
|
831
873
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -867,10 +909,11 @@ class RoverEntitlementClient {
|
|
|
867
909
|
}
|
|
868
910
|
/**
|
|
869
911
|
* Returns a list of RoverEntitlements.
|
|
912
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
870
913
|
* @param ListRoverEntitlementsRequest
|
|
871
914
|
* @return ListRoverEntitlementsResponse
|
|
872
915
|
* @throws OciError when an error occurs
|
|
873
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/ListRoverEntitlements.ts.html |here} to see how to use ListRoverEntitlements API.
|
|
874
917
|
*/
|
|
875
918
|
listRoverEntitlements(listRoverEntitlementsRequest) {
|
|
876
919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -891,7 +934,8 @@ class RoverEntitlementClient {
|
|
|
891
934
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
892
935
|
"opc-request-id": listRoverEntitlementsRequest.opcRequestId
|
|
893
936
|
};
|
|
894
|
-
const
|
|
937
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
938
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverEntitlementsRequest.retryConfiguration, specRetryConfiguration);
|
|
895
939
|
if (this.logger)
|
|
896
940
|
retrier.logger = this.logger;
|
|
897
941
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -938,10 +982,11 @@ class RoverEntitlementClient {
|
|
|
938
982
|
}
|
|
939
983
|
/**
|
|
940
984
|
* Updates the RoverEntitlement
|
|
985
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
941
986
|
* @param UpdateRoverEntitlementRequest
|
|
942
987
|
* @return UpdateRoverEntitlementResponse
|
|
943
988
|
* @throws OciError when an error occurs
|
|
944
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/UpdateRoverEntitlement.ts.html |here} to see how to use UpdateRoverEntitlement API.
|
|
945
990
|
*/
|
|
946
991
|
updateRoverEntitlement(updateRoverEntitlementRequest) {
|
|
947
992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -956,7 +1001,8 @@ class RoverEntitlementClient {
|
|
|
956
1001
|
"if-match": updateRoverEntitlementRequest.ifMatch,
|
|
957
1002
|
"opc-request-id": updateRoverEntitlementRequest.opcRequestId
|
|
958
1003
|
};
|
|
959
|
-
const
|
|
1004
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1005
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
960
1006
|
if (this.logger)
|
|
961
1007
|
retrier.logger = this.logger;
|
|
962
1008
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1003,6 +1049,9 @@ RoverEntitlementClient.serviceEndpointTemplate = "https://rover.{region}.oci.{se
|
|
|
1003
1049
|
var RoverNodeApiKeys;
|
|
1004
1050
|
(function (RoverNodeApiKeys) {
|
|
1005
1051
|
})(RoverNodeApiKeys = exports.RoverNodeApiKeys || (exports.RoverNodeApiKeys = {}));
|
|
1052
|
+
/**
|
|
1053
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
1054
|
+
*/
|
|
1006
1055
|
class RoverNodeClient {
|
|
1007
1056
|
constructor(params, clientConfiguration) {
|
|
1008
1057
|
this["_endpoint"] = "";
|
|
@@ -1017,6 +1066,13 @@ class RoverNodeClient {
|
|
|
1017
1066
|
? clientConfiguration.circuitBreaker.circuit
|
|
1018
1067
|
: null;
|
|
1019
1068
|
}
|
|
1069
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1070
|
+
const specCircuitBreakerEnabled = false;
|
|
1071
|
+
if (!this._circuitBreaker &&
|
|
1072
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
1073
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1074
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1075
|
+
}
|
|
1020
1076
|
this._httpClient =
|
|
1021
1077
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
1022
1078
|
if (params.authenticationDetailsProvider &&
|
|
@@ -1088,10 +1144,11 @@ class RoverNodeClient {
|
|
|
1088
1144
|
}
|
|
1089
1145
|
/**
|
|
1090
1146
|
* Moves a rover node into a different compartment.
|
|
1147
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1091
1148
|
* @param ChangeRoverNodeCompartmentRequest
|
|
1092
1149
|
* @return ChangeRoverNodeCompartmentResponse
|
|
1093
1150
|
* @throws OciError when an error occurs
|
|
1094
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1151
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/ChangeRoverNodeCompartment.ts.html |here} to see how to use ChangeRoverNodeCompartment API.
|
|
1095
1152
|
*/
|
|
1096
1153
|
changeRoverNodeCompartment(changeRoverNodeCompartmentRequest) {
|
|
1097
1154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1107,7 +1164,8 @@ class RoverNodeClient {
|
|
|
1107
1164
|
"opc-request-id": changeRoverNodeCompartmentRequest.opcRequestId,
|
|
1108
1165
|
"opc-retry-token": changeRoverNodeCompartmentRequest.opcRetryToken
|
|
1109
1166
|
};
|
|
1110
|
-
const
|
|
1167
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1168
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverNodeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1111
1169
|
if (this.logger)
|
|
1112
1170
|
retrier.logger = this.logger;
|
|
1113
1171
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1142,10 +1200,11 @@ class RoverNodeClient {
|
|
|
1142
1200
|
/**
|
|
1143
1201
|
* Creates a new RoverNode.
|
|
1144
1202
|
*
|
|
1203
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1145
1204
|
* @param CreateRoverNodeRequest
|
|
1146
1205
|
* @return CreateRoverNodeResponse
|
|
1147
1206
|
* @throws OciError when an error occurs
|
|
1148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1207
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/CreateRoverNode.ts.html |here} to see how to use CreateRoverNode API.
|
|
1149
1208
|
*/
|
|
1150
1209
|
createRoverNode(createRoverNodeRequest) {
|
|
1151
1210
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1158,7 +1217,8 @@ class RoverNodeClient {
|
|
|
1158
1217
|
"opc-retry-token": createRoverNodeRequest.opcRetryToken,
|
|
1159
1218
|
"opc-request-id": createRoverNodeRequest.opcRequestId
|
|
1160
1219
|
};
|
|
1161
|
-
const
|
|
1220
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1221
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1162
1222
|
if (this.logger)
|
|
1163
1223
|
retrier.logger = this.logger;
|
|
1164
1224
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1201,10 +1261,11 @@ class RoverNodeClient {
|
|
|
1201
1261
|
}
|
|
1202
1262
|
/**
|
|
1203
1263
|
* Deletes a RoverNode resource by identifier
|
|
1264
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1204
1265
|
* @param DeleteRoverNodeRequest
|
|
1205
1266
|
* @return DeleteRoverNodeResponse
|
|
1206
1267
|
* @throws OciError when an error occurs
|
|
1207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/DeleteRoverNode.ts.html |here} to see how to use DeleteRoverNode API.
|
|
1208
1269
|
*/
|
|
1209
1270
|
deleteRoverNode(deleteRoverNodeRequest) {
|
|
1210
1271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1219,7 +1280,8 @@ class RoverNodeClient {
|
|
|
1219
1280
|
"if-match": deleteRoverNodeRequest.ifMatch,
|
|
1220
1281
|
"opc-request-id": deleteRoverNodeRequest.opcRequestId
|
|
1221
1282
|
};
|
|
1222
|
-
const
|
|
1283
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1284
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1223
1285
|
if (this.logger)
|
|
1224
1286
|
retrier.logger = this.logger;
|
|
1225
1287
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1252,10 +1314,11 @@ class RoverNodeClient {
|
|
|
1252
1314
|
}
|
|
1253
1315
|
/**
|
|
1254
1316
|
* Gets a RoverNode by identifier.
|
|
1317
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1255
1318
|
* @param GetRoverNodeRequest
|
|
1256
1319
|
* @return GetRoverNodeResponse
|
|
1257
1320
|
* @throws OciError when an error occurs
|
|
1258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverNode.ts.html |here} to see how to use GetRoverNode API.
|
|
1259
1322
|
*/
|
|
1260
1323
|
getRoverNode(getRoverNodeRequest) {
|
|
1261
1324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1269,7 +1332,8 @@ class RoverNodeClient {
|
|
|
1269
1332
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1270
1333
|
"opc-request-id": getRoverNodeRequest.opcRequestId
|
|
1271
1334
|
};
|
|
1272
|
-
const
|
|
1335
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1336
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1273
1337
|
if (this.logger)
|
|
1274
1338
|
retrier.logger = this.logger;
|
|
1275
1339
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1311,10 +1375,11 @@ class RoverNodeClient {
|
|
|
1311
1375
|
}
|
|
1312
1376
|
/**
|
|
1313
1377
|
* Get the certificate for a rover node
|
|
1378
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1314
1379
|
* @param GetRoverNodeCertificateRequest
|
|
1315
1380
|
* @return GetRoverNodeCertificateResponse
|
|
1316
1381
|
* @throws OciError when an error occurs
|
|
1317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1382
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverNodeCertificate.ts.html |here} to see how to use GetRoverNodeCertificate API.
|
|
1318
1383
|
*/
|
|
1319
1384
|
getRoverNodeCertificate(getRoverNodeCertificateRequest) {
|
|
1320
1385
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1328,7 +1393,8 @@ class RoverNodeClient {
|
|
|
1328
1393
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1329
1394
|
"opc-request-id": getRoverNodeCertificateRequest.opcRequestId
|
|
1330
1395
|
};
|
|
1331
|
-
const
|
|
1396
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1397
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1332
1398
|
if (this.logger)
|
|
1333
1399
|
retrier.logger = this.logger;
|
|
1334
1400
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1370,10 +1436,11 @@ class RoverNodeClient {
|
|
|
1370
1436
|
}
|
|
1371
1437
|
/**
|
|
1372
1438
|
* Get the data encryption key for a rover node.
|
|
1439
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1373
1440
|
* @param GetRoverNodeEncryptionKeyRequest
|
|
1374
1441
|
* @return GetRoverNodeEncryptionKeyResponse
|
|
1375
1442
|
* @throws OciError when an error occurs
|
|
1376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1443
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverNodeEncryptionKey.ts.html |here} to see how to use GetRoverNodeEncryptionKey API.
|
|
1377
1444
|
*/
|
|
1378
1445
|
getRoverNodeEncryptionKey(getRoverNodeEncryptionKeyRequest) {
|
|
1379
1446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1387,7 +1454,8 @@ class RoverNodeClient {
|
|
|
1387
1454
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1388
1455
|
"opc-request-id": getRoverNodeEncryptionKeyRequest.opcRequestId
|
|
1389
1456
|
};
|
|
1390
|
-
const
|
|
1457
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1458
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeEncryptionKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1391
1459
|
if (this.logger)
|
|
1392
1460
|
retrier.logger = this.logger;
|
|
1393
1461
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1429,10 +1497,11 @@ class RoverNodeClient {
|
|
|
1429
1497
|
}
|
|
1430
1498
|
/**
|
|
1431
1499
|
* Get the resource principal token for a rover node
|
|
1500
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1432
1501
|
* @param GetRoverNodeGetRptRequest
|
|
1433
1502
|
* @return GetRoverNodeGetRptResponse
|
|
1434
1503
|
* @throws OciError when an error occurs
|
|
1435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1504
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/GetRoverNodeGetRpt.ts.html |here} to see how to use GetRoverNodeGetRpt API.
|
|
1436
1505
|
*/
|
|
1437
1506
|
getRoverNodeGetRpt(getRoverNodeGetRptRequest) {
|
|
1438
1507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1447,7 +1516,8 @@ class RoverNodeClient {
|
|
|
1447
1516
|
"jwt": getRoverNodeGetRptRequest.jwt,
|
|
1448
1517
|
"opc-request-id": getRoverNodeGetRptRequest.opcRequestId
|
|
1449
1518
|
};
|
|
1450
|
-
const
|
|
1519
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1520
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeGetRptRequest.retryConfiguration, specRetryConfiguration);
|
|
1451
1521
|
if (this.logger)
|
|
1452
1522
|
retrier.logger = this.logger;
|
|
1453
1523
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1490,10 +1560,11 @@ class RoverNodeClient {
|
|
|
1490
1560
|
/**
|
|
1491
1561
|
* Returns a list of RoverNodes.
|
|
1492
1562
|
*
|
|
1563
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1493
1564
|
* @param ListRoverNodesRequest
|
|
1494
1565
|
* @return ListRoverNodesResponse
|
|
1495
1566
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/ListRoverNodes.ts.html |here} to see how to use ListRoverNodes API.
|
|
1497
1568
|
*/
|
|
1498
1569
|
listRoverNodes(listRoverNodesRequest) {
|
|
1499
1570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1513,7 +1584,8 @@ class RoverNodeClient {
|
|
|
1513
1584
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1514
1585
|
"opc-request-id": listRoverNodesRequest.opcRequestId
|
|
1515
1586
|
};
|
|
1516
|
-
const
|
|
1587
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1588
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
1517
1589
|
if (this.logger)
|
|
1518
1590
|
retrier.logger = this.logger;
|
|
1519
1591
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1560,10 +1632,11 @@ class RoverNodeClient {
|
|
|
1560
1632
|
}
|
|
1561
1633
|
/**
|
|
1562
1634
|
* Get the resource principal public key for a rover node
|
|
1635
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1563
1636
|
* @param RoverNodeActionSetKeyRequest
|
|
1564
1637
|
* @return RoverNodeActionSetKeyResponse
|
|
1565
1638
|
* @throws OciError when an error occurs
|
|
1566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1639
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/RoverNodeActionSetKey.ts.html |here} to see how to use RoverNodeActionSetKey API.
|
|
1567
1640
|
*/
|
|
1568
1641
|
roverNodeActionSetKey(roverNodeActionSetKeyRequest) {
|
|
1569
1642
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1580,7 +1653,8 @@ class RoverNodeClient {
|
|
|
1580
1653
|
"opc-request-id": roverNodeActionSetKeyRequest.opcRequestId,
|
|
1581
1654
|
"opc-retry-token": roverNodeActionSetKeyRequest.opcRetryToken
|
|
1582
1655
|
};
|
|
1583
|
-
const
|
|
1656
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1657
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeActionSetKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1584
1658
|
if (this.logger)
|
|
1585
1659
|
retrier.logger = this.logger;
|
|
1586
1660
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1623,10 +1697,11 @@ class RoverNodeClient {
|
|
|
1623
1697
|
}
|
|
1624
1698
|
/**
|
|
1625
1699
|
* Updates the RoverNode
|
|
1700
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1626
1701
|
* @param UpdateRoverNodeRequest
|
|
1627
1702
|
* @return UpdateRoverNodeResponse
|
|
1628
1703
|
* @throws OciError when an error occurs
|
|
1629
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1704
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/rover/UpdateRoverNode.ts.html |here} to see how to use UpdateRoverNode API.
|
|
1630
1705
|
*/
|
|
1631
1706
|
updateRoverNode(updateRoverNodeRequest) {
|
|
1632
1707
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1641,7 +1716,8 @@ class RoverNodeClient {
|
|
|
1641
1716
|
"if-match": updateRoverNodeRequest.ifMatch,
|
|
1642
1717
|
"opc-request-id": updateRoverNodeRequest.opcRequestId
|
|
1643
1718
|
};
|
|
1644
|
-
const
|
|
1719
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1720
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
1645
1721
|
if (this.logger)
|
|
1646
1722
|
retrier.logger = this.logger;
|
|
1647
1723
|
const request = yield oci_common_1.composeRequest({
|