oci-rover 2.78.0 → 2.79.1
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 +43 -49
- package/lib/client.js +98 -257
- package/lib/client.js.map +1 -1
- package/lib/request/cancel-work-request-request.d.ts +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/get-work-request-request.d.ts +1 -1
- package/lib/request/list-rover-cluster-rover-bundle-requests-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-node-rover-bundle-requests-request.d.ts +1 -1
- package/lib/request/list-rover-nodes-request.d.ts +1 -1
- package/lib/request/list-shapes-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/request-additional-nodes-request.d.ts +1 -1
- package/lib/request/request-bundle-rover-cluster-request.d.ts +1 -1
- package/lib/request/request-bundle-rover-node-request.d.ts +1 -1
- package/lib/request/retrieve-available-bundle-versions-rover-cluster-request.d.ts +1 -1
- package/lib/request/retrieve-available-bundle-versions-rover-node-request.d.ts +1 -1
- package/lib/request/retrieve-bundle-status-rover-cluster-request.d.ts +1 -1
- package/lib/request/retrieve-bundle-status-rover-node-request.d.ts +1 -1
- package/lib/request/rover-node-action-retrieve-ca-bundle-request.d.ts +1 -1
- package/lib/request/rover-node-action-set-key-request.d.ts +1 -1
- package/lib/request/rover-node-generate-certificate-request.d.ts +1 -1
- package/lib/request/rover-node-renew-certificate-request.d.ts +1 -1
- package/lib/request/rover-node-replace-certificate-authority-request.d.ts +1 -1
- package/lib/request/rover-node-retrieve-leaf-certificate-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
|
@@ -119,11 +119,7 @@ class RoverBundleClient {
|
|
|
119
119
|
set endpoint(endpoint) {
|
|
120
120
|
this._endpoint = endpoint;
|
|
121
121
|
this._endpoint = this._endpoint + "/20201210";
|
|
122
|
-
|
|
123
|
-
this.logger.info(`RoverBundleClient endpoint set to ${this._endpoint}`);
|
|
124
|
-
}
|
|
125
|
-
get logger() {
|
|
126
|
-
return common.LOG.logger;
|
|
122
|
+
oci_common_1.logger.info(`RoverBundleClient endpoint set to ${this._endpoint}`);
|
|
127
123
|
}
|
|
128
124
|
/**
|
|
129
125
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -132,8 +128,7 @@ class RoverBundleClient {
|
|
|
132
128
|
*/
|
|
133
129
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
134
130
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
135
|
-
|
|
136
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
131
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
137
132
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
138
133
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RoverBundleClient.serviceEndpointTemplate, this._region, RoverBundleClient.endpointServiceName);
|
|
139
134
|
}
|
|
@@ -178,12 +173,11 @@ class RoverBundleClient {
|
|
|
178
173
|
* @param ListRoverClusterRoverBundleRequestsRequest
|
|
179
174
|
* @return ListRoverClusterRoverBundleRequestsResponse
|
|
180
175
|
* @throws OciError when an error occurs
|
|
181
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListRoverClusterRoverBundleRequests.ts.html |here} to see how to use ListRoverClusterRoverBundleRequests API.
|
|
182
177
|
*/
|
|
183
178
|
listRoverClusterRoverBundleRequests(listRoverClusterRoverBundleRequestsRequest) {
|
|
184
179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
-
|
|
186
|
-
this.logger.debug("Calling operation RoverBundleClient#listRoverClusterRoverBundleRequests.");
|
|
180
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#listRoverClusterRoverBundleRequests.");
|
|
187
181
|
const operationName = "listRoverClusterRoverBundleRequests";
|
|
188
182
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/ListRoverClusterRoverBundleRequests";
|
|
189
183
|
const pathParams = {
|
|
@@ -201,8 +195,6 @@ class RoverBundleClient {
|
|
|
201
195
|
};
|
|
202
196
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
203
197
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverClusterRoverBundleRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
204
|
-
if (this.logger)
|
|
205
|
-
retrier.logger = this.logger;
|
|
206
198
|
const request = yield oci_common_1.composeRequest({
|
|
207
199
|
baseEndpoint: this._endpoint,
|
|
208
200
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -246,12 +238,11 @@ class RoverBundleClient {
|
|
|
246
238
|
* @param ListRoverNodeRoverBundleRequestsRequest
|
|
247
239
|
* @return ListRoverNodeRoverBundleRequestsResponse
|
|
248
240
|
* @throws OciError when an error occurs
|
|
249
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
241
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListRoverNodeRoverBundleRequests.ts.html |here} to see how to use ListRoverNodeRoverBundleRequests API.
|
|
250
242
|
*/
|
|
251
243
|
listRoverNodeRoverBundleRequests(listRoverNodeRoverBundleRequestsRequest) {
|
|
252
244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
-
|
|
254
|
-
this.logger.debug("Calling operation RoverBundleClient#listRoverNodeRoverBundleRequests.");
|
|
245
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#listRoverNodeRoverBundleRequests.");
|
|
255
246
|
const operationName = "listRoverNodeRoverBundleRequests";
|
|
256
247
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/ListRoverNodeRoverBundleRequests";
|
|
257
248
|
const pathParams = {
|
|
@@ -269,8 +260,6 @@ class RoverBundleClient {
|
|
|
269
260
|
};
|
|
270
261
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
271
262
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverNodeRoverBundleRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
272
|
-
if (this.logger)
|
|
273
|
-
retrier.logger = this.logger;
|
|
274
263
|
const request = yield oci_common_1.composeRequest({
|
|
275
264
|
baseEndpoint: this._endpoint,
|
|
276
265
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -315,12 +304,11 @@ class RoverBundleClient {
|
|
|
315
304
|
* @param RequestBundleRoverClusterRequest
|
|
316
305
|
* @return RequestBundleRoverClusterResponse
|
|
317
306
|
* @throws OciError when an error occurs
|
|
318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
307
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RequestBundleRoverCluster.ts.html |here} to see how to use RequestBundleRoverCluster API.
|
|
319
308
|
*/
|
|
320
309
|
requestBundleRoverCluster(requestBundleRoverClusterRequest) {
|
|
321
310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
322
|
-
|
|
323
|
-
this.logger.debug("Calling operation RoverBundleClient#requestBundleRoverCluster.");
|
|
311
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#requestBundleRoverCluster.");
|
|
324
312
|
const operationName = "requestBundleRoverCluster";
|
|
325
313
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/RequestBundleRoverCluster";
|
|
326
314
|
const pathParams = {
|
|
@@ -333,8 +321,6 @@ class RoverBundleClient {
|
|
|
333
321
|
};
|
|
334
322
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
335
323
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestBundleRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
336
|
-
if (this.logger)
|
|
337
|
-
retrier.logger = this.logger;
|
|
338
324
|
const request = yield oci_common_1.composeRequest({
|
|
339
325
|
baseEndpoint: this._endpoint,
|
|
340
326
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -376,12 +362,11 @@ class RoverBundleClient {
|
|
|
376
362
|
* @param RequestBundleRoverNodeRequest
|
|
377
363
|
* @return RequestBundleRoverNodeResponse
|
|
378
364
|
* @throws OciError when an error occurs
|
|
379
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
365
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RequestBundleRoverNode.ts.html |here} to see how to use RequestBundleRoverNode API.
|
|
380
366
|
*/
|
|
381
367
|
requestBundleRoverNode(requestBundleRoverNodeRequest) {
|
|
382
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
383
|
-
|
|
384
|
-
this.logger.debug("Calling operation RoverBundleClient#requestBundleRoverNode.");
|
|
369
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#requestBundleRoverNode.");
|
|
385
370
|
const operationName = "requestBundleRoverNode";
|
|
386
371
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RequestBundleRoverNode";
|
|
387
372
|
const pathParams = {
|
|
@@ -394,8 +379,6 @@ class RoverBundleClient {
|
|
|
394
379
|
};
|
|
395
380
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
396
381
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestBundleRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
397
|
-
if (this.logger)
|
|
398
|
-
retrier.logger = this.logger;
|
|
399
382
|
const request = yield oci_common_1.composeRequest({
|
|
400
383
|
baseEndpoint: this._endpoint,
|
|
401
384
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -436,12 +419,11 @@ class RoverBundleClient {
|
|
|
436
419
|
* @param RetrieveAvailableBundleVersionsRoverClusterRequest
|
|
437
420
|
* @return RetrieveAvailableBundleVersionsRoverClusterResponse
|
|
438
421
|
* @throws OciError when an error occurs
|
|
439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
422
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RetrieveAvailableBundleVersionsRoverCluster.ts.html |here} to see how to use RetrieveAvailableBundleVersionsRoverCluster API.
|
|
440
423
|
*/
|
|
441
424
|
retrieveAvailableBundleVersionsRoverCluster(retrieveAvailableBundleVersionsRoverClusterRequest) {
|
|
442
425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
443
|
-
|
|
444
|
-
this.logger.debug("Calling operation RoverBundleClient#retrieveAvailableBundleVersionsRoverCluster.");
|
|
426
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#retrieveAvailableBundleVersionsRoverCluster.");
|
|
445
427
|
const operationName = "retrieveAvailableBundleVersionsRoverCluster";
|
|
446
428
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/RetrieveAvailableBundleVersionsRoverCluster";
|
|
447
429
|
const pathParams = {
|
|
@@ -454,8 +436,6 @@ class RoverBundleClient {
|
|
|
454
436
|
};
|
|
455
437
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
456
438
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveAvailableBundleVersionsRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
457
|
-
if (this.logger)
|
|
458
|
-
retrier.logger = this.logger;
|
|
459
439
|
const request = yield oci_common_1.composeRequest({
|
|
460
440
|
baseEndpoint: this._endpoint,
|
|
461
441
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -500,12 +480,11 @@ class RoverBundleClient {
|
|
|
500
480
|
* @param RetrieveAvailableBundleVersionsRoverNodeRequest
|
|
501
481
|
* @return RetrieveAvailableBundleVersionsRoverNodeResponse
|
|
502
482
|
* @throws OciError when an error occurs
|
|
503
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
483
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RetrieveAvailableBundleVersionsRoverNode.ts.html |here} to see how to use RetrieveAvailableBundleVersionsRoverNode API.
|
|
504
484
|
*/
|
|
505
485
|
retrieveAvailableBundleVersionsRoverNode(retrieveAvailableBundleVersionsRoverNodeRequest) {
|
|
506
486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
507
|
-
|
|
508
|
-
this.logger.debug("Calling operation RoverBundleClient#retrieveAvailableBundleVersionsRoverNode.");
|
|
487
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#retrieveAvailableBundleVersionsRoverNode.");
|
|
509
488
|
const operationName = "retrieveAvailableBundleVersionsRoverNode";
|
|
510
489
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RetrieveAvailableBundleVersionsRoverNode";
|
|
511
490
|
const pathParams = {
|
|
@@ -518,8 +497,6 @@ class RoverBundleClient {
|
|
|
518
497
|
};
|
|
519
498
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
520
499
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveAvailableBundleVersionsRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
521
|
-
if (this.logger)
|
|
522
|
-
retrier.logger = this.logger;
|
|
523
500
|
const request = yield oci_common_1.composeRequest({
|
|
524
501
|
baseEndpoint: this._endpoint,
|
|
525
502
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -564,12 +541,11 @@ class RoverBundleClient {
|
|
|
564
541
|
* @param RetrieveBundleStatusRoverClusterRequest
|
|
565
542
|
* @return RetrieveBundleStatusRoverClusterResponse
|
|
566
543
|
* @throws OciError when an error occurs
|
|
567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
544
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RetrieveBundleStatusRoverCluster.ts.html |here} to see how to use RetrieveBundleStatusRoverCluster API.
|
|
568
545
|
*/
|
|
569
546
|
retrieveBundleStatusRoverCluster(retrieveBundleStatusRoverClusterRequest) {
|
|
570
547
|
return __awaiter(this, void 0, void 0, function* () {
|
|
571
|
-
|
|
572
|
-
this.logger.debug("Calling operation RoverBundleClient#retrieveBundleStatusRoverCluster.");
|
|
548
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#retrieveBundleStatusRoverCluster.");
|
|
573
549
|
const operationName = "retrieveBundleStatusRoverCluster";
|
|
574
550
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/RetrieveBundleStatusRoverCluster";
|
|
575
551
|
const pathParams = {
|
|
@@ -582,8 +558,6 @@ class RoverBundleClient {
|
|
|
582
558
|
};
|
|
583
559
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
584
560
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveBundleStatusRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
585
|
-
if (this.logger)
|
|
586
|
-
retrier.logger = this.logger;
|
|
587
561
|
const request = yield oci_common_1.composeRequest({
|
|
588
562
|
baseEndpoint: this._endpoint,
|
|
589
563
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -628,12 +602,11 @@ class RoverBundleClient {
|
|
|
628
602
|
* @param RetrieveBundleStatusRoverNodeRequest
|
|
629
603
|
* @return RetrieveBundleStatusRoverNodeResponse
|
|
630
604
|
* @throws OciError when an error occurs
|
|
631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RetrieveBundleStatusRoverNode.ts.html |here} to see how to use RetrieveBundleStatusRoverNode API.
|
|
632
606
|
*/
|
|
633
607
|
retrieveBundleStatusRoverNode(retrieveBundleStatusRoverNodeRequest) {
|
|
634
608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
|
-
|
|
636
|
-
this.logger.debug("Calling operation RoverBundleClient#retrieveBundleStatusRoverNode.");
|
|
609
|
+
oci_common_1.logger.debug("Calling operation RoverBundleClient#retrieveBundleStatusRoverNode.");
|
|
637
610
|
const operationName = "retrieveBundleStatusRoverNode";
|
|
638
611
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RetrieveBundleStatusRoverNode";
|
|
639
612
|
const pathParams = {
|
|
@@ -646,8 +619,6 @@ class RoverBundleClient {
|
|
|
646
619
|
};
|
|
647
620
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
648
621
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveBundleStatusRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
649
|
-
if (this.logger)
|
|
650
|
-
retrier.logger = this.logger;
|
|
651
622
|
const request = yield oci_common_1.composeRequest({
|
|
652
623
|
baseEndpoint: this._endpoint,
|
|
653
624
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -757,11 +728,7 @@ class RoverClusterClient {
|
|
|
757
728
|
set endpoint(endpoint) {
|
|
758
729
|
this._endpoint = endpoint;
|
|
759
730
|
this._endpoint = this._endpoint + "/20201210";
|
|
760
|
-
|
|
761
|
-
this.logger.info(`RoverClusterClient endpoint set to ${this._endpoint}`);
|
|
762
|
-
}
|
|
763
|
-
get logger() {
|
|
764
|
-
return common.LOG.logger;
|
|
731
|
+
oci_common_1.logger.info(`RoverClusterClient endpoint set to ${this._endpoint}`);
|
|
765
732
|
}
|
|
766
733
|
/**
|
|
767
734
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -770,8 +737,7 @@ class RoverClusterClient {
|
|
|
770
737
|
*/
|
|
771
738
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
772
739
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
773
|
-
|
|
774
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
740
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
775
741
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
776
742
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RoverClusterClient.serviceEndpointTemplate, this._region, RoverClusterClient.endpointServiceName);
|
|
777
743
|
}
|
|
@@ -837,12 +803,11 @@ class RoverClusterClient {
|
|
|
837
803
|
* @param ChangeRoverClusterCompartmentRequest
|
|
838
804
|
* @return ChangeRoverClusterCompartmentResponse
|
|
839
805
|
* @throws OciError when an error occurs
|
|
840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ChangeRoverClusterCompartment.ts.html |here} to see how to use ChangeRoverClusterCompartment API.
|
|
841
807
|
*/
|
|
842
808
|
changeRoverClusterCompartment(changeRoverClusterCompartmentRequest) {
|
|
843
809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
844
|
-
|
|
845
|
-
this.logger.debug("Calling operation RoverClusterClient#changeRoverClusterCompartment.");
|
|
810
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#changeRoverClusterCompartment.");
|
|
846
811
|
const operationName = "changeRoverClusterCompartment";
|
|
847
812
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/ChangeRoverClusterCompartment";
|
|
848
813
|
const pathParams = {
|
|
@@ -857,8 +822,6 @@ class RoverClusterClient {
|
|
|
857
822
|
};
|
|
858
823
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
859
824
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverClusterCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
860
|
-
if (this.logger)
|
|
861
|
-
retrier.logger = this.logger;
|
|
862
825
|
const request = yield oci_common_1.composeRequest({
|
|
863
826
|
baseEndpoint: this._endpoint,
|
|
864
827
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -895,12 +858,11 @@ class RoverClusterClient {
|
|
|
895
858
|
* @param CreateRoverClusterRequest
|
|
896
859
|
* @return CreateRoverClusterResponse
|
|
897
860
|
* @throws OciError when an error occurs
|
|
898
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
861
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/CreateRoverCluster.ts.html |here} to see how to use CreateRoverCluster API.
|
|
899
862
|
*/
|
|
900
863
|
createRoverCluster(createRoverClusterRequest) {
|
|
901
864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
902
|
-
|
|
903
|
-
this.logger.debug("Calling operation RoverClusterClient#createRoverCluster.");
|
|
865
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#createRoverCluster.");
|
|
904
866
|
const operationName = "createRoverCluster";
|
|
905
867
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/CreateRoverCluster";
|
|
906
868
|
const pathParams = {};
|
|
@@ -912,8 +874,6 @@ class RoverClusterClient {
|
|
|
912
874
|
};
|
|
913
875
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
914
876
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
915
|
-
if (this.logger)
|
|
916
|
-
retrier.logger = this.logger;
|
|
917
877
|
const request = yield oci_common_1.composeRequest({
|
|
918
878
|
baseEndpoint: this._endpoint,
|
|
919
879
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -958,12 +918,11 @@ class RoverClusterClient {
|
|
|
958
918
|
* @param DeleteRoverClusterRequest
|
|
959
919
|
* @return DeleteRoverClusterResponse
|
|
960
920
|
* @throws OciError when an error occurs
|
|
961
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/DeleteRoverCluster.ts.html |here} to see how to use DeleteRoverCluster API.
|
|
962
922
|
*/
|
|
963
923
|
deleteRoverCluster(deleteRoverClusterRequest) {
|
|
964
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
965
|
-
|
|
966
|
-
this.logger.debug("Calling operation RoverClusterClient#deleteRoverCluster.");
|
|
925
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#deleteRoverCluster.");
|
|
967
926
|
const operationName = "deleteRoverCluster";
|
|
968
927
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/DeleteRoverCluster";
|
|
969
928
|
const pathParams = {
|
|
@@ -978,8 +937,6 @@ class RoverClusterClient {
|
|
|
978
937
|
};
|
|
979
938
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
980
939
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
981
|
-
if (this.logger)
|
|
982
|
-
retrier.logger = this.logger;
|
|
983
940
|
const request = yield oci_common_1.composeRequest({
|
|
984
941
|
baseEndpoint: this._endpoint,
|
|
985
942
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1014,12 +971,11 @@ class RoverClusterClient {
|
|
|
1014
971
|
* @param GetRoverClusterRequest
|
|
1015
972
|
* @return GetRoverClusterResponse
|
|
1016
973
|
* @throws OciError when an error occurs
|
|
1017
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverCluster.ts.html |here} to see how to use GetRoverCluster API.
|
|
1018
975
|
*/
|
|
1019
976
|
getRoverCluster(getRoverClusterRequest) {
|
|
1020
977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1021
|
-
|
|
1022
|
-
this.logger.debug("Calling operation RoverClusterClient#getRoverCluster.");
|
|
978
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#getRoverCluster.");
|
|
1023
979
|
const operationName = "getRoverCluster";
|
|
1024
980
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/GetRoverCluster";
|
|
1025
981
|
const pathParams = {
|
|
@@ -1032,8 +988,6 @@ class RoverClusterClient {
|
|
|
1032
988
|
};
|
|
1033
989
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1034
990
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1035
|
-
if (this.logger)
|
|
1036
|
-
retrier.logger = this.logger;
|
|
1037
991
|
const request = yield oci_common_1.composeRequest({
|
|
1038
992
|
baseEndpoint: this._endpoint,
|
|
1039
993
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1077,12 +1031,11 @@ class RoverClusterClient {
|
|
|
1077
1031
|
* @param GetRoverClusterCertificateRequest
|
|
1078
1032
|
* @return GetRoverClusterCertificateResponse
|
|
1079
1033
|
* @throws OciError when an error occurs
|
|
1080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1034
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverClusterCertificate.ts.html |here} to see how to use GetRoverClusterCertificate API.
|
|
1081
1035
|
*/
|
|
1082
1036
|
getRoverClusterCertificate(getRoverClusterCertificateRequest) {
|
|
1083
1037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1084
|
-
|
|
1085
|
-
this.logger.debug("Calling operation RoverClusterClient#getRoverClusterCertificate.");
|
|
1038
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#getRoverClusterCertificate.");
|
|
1086
1039
|
const operationName = "getRoverClusterCertificate";
|
|
1087
1040
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverClusterCertificate/GetRoverClusterCertificate";
|
|
1088
1041
|
const pathParams = {
|
|
@@ -1095,8 +1048,6 @@ class RoverClusterClient {
|
|
|
1095
1048
|
};
|
|
1096
1049
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1097
1050
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverClusterCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1098
|
-
if (this.logger)
|
|
1099
|
-
retrier.logger = this.logger;
|
|
1100
1051
|
const request = yield oci_common_1.composeRequest({
|
|
1101
1052
|
baseEndpoint: this._endpoint,
|
|
1102
1053
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1141,12 +1092,11 @@ class RoverClusterClient {
|
|
|
1141
1092
|
* @param ListRoverClustersRequest
|
|
1142
1093
|
* @return ListRoverClustersResponse
|
|
1143
1094
|
* @throws OciError when an error occurs
|
|
1144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1095
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListRoverClusters.ts.html |here} to see how to use ListRoverClusters API.
|
|
1145
1096
|
*/
|
|
1146
1097
|
listRoverClusters(listRoverClustersRequest) {
|
|
1147
1098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1148
|
-
|
|
1149
|
-
this.logger.debug("Calling operation RoverClusterClient#listRoverClusters.");
|
|
1099
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#listRoverClusters.");
|
|
1150
1100
|
const operationName = "listRoverClusters";
|
|
1151
1101
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/ListRoverClusters";
|
|
1152
1102
|
const pathParams = {};
|
|
@@ -1166,8 +1116,6 @@ class RoverClusterClient {
|
|
|
1166
1116
|
};
|
|
1167
1117
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1168
1118
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverClustersRequest.retryConfiguration, specRetryConfiguration);
|
|
1169
|
-
if (this.logger)
|
|
1170
|
-
retrier.logger = this.logger;
|
|
1171
1119
|
const request = yield oci_common_1.composeRequest({
|
|
1172
1120
|
baseEndpoint: this._endpoint,
|
|
1173
1121
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1216,12 +1164,11 @@ class RoverClusterClient {
|
|
|
1216
1164
|
* @param RequestAdditionalNodesRequest
|
|
1217
1165
|
* @return RequestAdditionalNodesResponse
|
|
1218
1166
|
* @throws OciError when an error occurs
|
|
1219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RequestAdditionalNodes.ts.html |here} to see how to use RequestAdditionalNodes API.
|
|
1220
1168
|
*/
|
|
1221
1169
|
requestAdditionalNodes(requestAdditionalNodesRequest) {
|
|
1222
1170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1223
|
-
|
|
1224
|
-
this.logger.debug("Calling operation RoverClusterClient#requestAdditionalNodes.");
|
|
1171
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#requestAdditionalNodes.");
|
|
1225
1172
|
const operationName = "requestAdditionalNodes";
|
|
1226
1173
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/RequestAdditionalNodes";
|
|
1227
1174
|
const pathParams = {
|
|
@@ -1236,8 +1183,6 @@ class RoverClusterClient {
|
|
|
1236
1183
|
};
|
|
1237
1184
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1238
1185
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestAdditionalNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
1239
|
-
if (this.logger)
|
|
1240
|
-
retrier.logger = this.logger;
|
|
1241
1186
|
const request = yield oci_common_1.composeRequest({
|
|
1242
1187
|
baseEndpoint: this._endpoint,
|
|
1243
1188
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1278,12 +1223,11 @@ class RoverClusterClient {
|
|
|
1278
1223
|
* @param UpdateRoverClusterRequest
|
|
1279
1224
|
* @return UpdateRoverClusterResponse
|
|
1280
1225
|
* @throws OciError when an error occurs
|
|
1281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/UpdateRoverCluster.ts.html |here} to see how to use UpdateRoverCluster API.
|
|
1282
1227
|
*/
|
|
1283
1228
|
updateRoverCluster(updateRoverClusterRequest) {
|
|
1284
1229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1285
|
-
|
|
1286
|
-
this.logger.debug("Calling operation RoverClusterClient#updateRoverCluster.");
|
|
1230
|
+
oci_common_1.logger.debug("Calling operation RoverClusterClient#updateRoverCluster.");
|
|
1287
1231
|
const operationName = "updateRoverCluster";
|
|
1288
1232
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverCluster/UpdateRoverCluster";
|
|
1289
1233
|
const pathParams = {
|
|
@@ -1297,8 +1241,6 @@ class RoverClusterClient {
|
|
|
1297
1241
|
};
|
|
1298
1242
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1299
1243
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1300
|
-
if (this.logger)
|
|
1301
|
-
retrier.logger = this.logger;
|
|
1302
1244
|
const request = yield oci_common_1.composeRequest({
|
|
1303
1245
|
baseEndpoint: this._endpoint,
|
|
1304
1246
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1408,11 +1350,7 @@ class RoverEntitlementClient {
|
|
|
1408
1350
|
set endpoint(endpoint) {
|
|
1409
1351
|
this._endpoint = endpoint;
|
|
1410
1352
|
this._endpoint = this._endpoint + "/20201210";
|
|
1411
|
-
|
|
1412
|
-
this.logger.info(`RoverEntitlementClient endpoint set to ${this._endpoint}`);
|
|
1413
|
-
}
|
|
1414
|
-
get logger() {
|
|
1415
|
-
return common.LOG.logger;
|
|
1353
|
+
oci_common_1.logger.info(`RoverEntitlementClient endpoint set to ${this._endpoint}`);
|
|
1416
1354
|
}
|
|
1417
1355
|
/**
|
|
1418
1356
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1421,8 +1359,7 @@ class RoverEntitlementClient {
|
|
|
1421
1359
|
*/
|
|
1422
1360
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1423
1361
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1424
|
-
|
|
1425
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1362
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1426
1363
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1427
1364
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RoverEntitlementClient.serviceEndpointTemplate, this._region, RoverEntitlementClient.endpointServiceName);
|
|
1428
1365
|
}
|
|
@@ -1488,12 +1425,11 @@ class RoverEntitlementClient {
|
|
|
1488
1425
|
* @param ChangeRoverEntitlementCompartmentRequest
|
|
1489
1426
|
* @return ChangeRoverEntitlementCompartmentResponse
|
|
1490
1427
|
* @throws OciError when an error occurs
|
|
1491
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1428
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ChangeRoverEntitlementCompartment.ts.html |here} to see how to use ChangeRoverEntitlementCompartment API.
|
|
1492
1429
|
*/
|
|
1493
1430
|
changeRoverEntitlementCompartment(changeRoverEntitlementCompartmentRequest) {
|
|
1494
1431
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1495
|
-
|
|
1496
|
-
this.logger.debug("Calling operation RoverEntitlementClient#changeRoverEntitlementCompartment.");
|
|
1432
|
+
oci_common_1.logger.debug("Calling operation RoverEntitlementClient#changeRoverEntitlementCompartment.");
|
|
1497
1433
|
const operationName = "changeRoverEntitlementCompartment";
|
|
1498
1434
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverEntitlement/ChangeRoverEntitlementCompartment";
|
|
1499
1435
|
const pathParams = {
|
|
@@ -1508,8 +1444,6 @@ class RoverEntitlementClient {
|
|
|
1508
1444
|
};
|
|
1509
1445
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1510
1446
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverEntitlementCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1511
|
-
if (this.logger)
|
|
1512
|
-
retrier.logger = this.logger;
|
|
1513
1447
|
const request = yield oci_common_1.composeRequest({
|
|
1514
1448
|
baseEndpoint: this._endpoint,
|
|
1515
1449
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1545,12 +1479,11 @@ class RoverEntitlementClient {
|
|
|
1545
1479
|
* @param CreateRoverEntitlementRequest
|
|
1546
1480
|
* @return CreateRoverEntitlementResponse
|
|
1547
1481
|
* @throws OciError when an error occurs
|
|
1548
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1482
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/CreateRoverEntitlement.ts.html |here} to see how to use CreateRoverEntitlement API.
|
|
1549
1483
|
*/
|
|
1550
1484
|
createRoverEntitlement(createRoverEntitlementRequest) {
|
|
1551
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1552
|
-
|
|
1553
|
-
this.logger.debug("Calling operation RoverEntitlementClient#createRoverEntitlement.");
|
|
1486
|
+
oci_common_1.logger.debug("Calling operation RoverEntitlementClient#createRoverEntitlement.");
|
|
1554
1487
|
const operationName = "createRoverEntitlement";
|
|
1555
1488
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverEntitlement/CreateRoverEntitlement";
|
|
1556
1489
|
const pathParams = {};
|
|
@@ -1562,8 +1495,6 @@ class RoverEntitlementClient {
|
|
|
1562
1495
|
};
|
|
1563
1496
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1564
1497
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
1565
|
-
if (this.logger)
|
|
1566
|
-
retrier.logger = this.logger;
|
|
1567
1498
|
const request = yield oci_common_1.composeRequest({
|
|
1568
1499
|
baseEndpoint: this._endpoint,
|
|
1569
1500
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1608,12 +1539,11 @@ class RoverEntitlementClient {
|
|
|
1608
1539
|
* @param DeleteRoverEntitlementRequest
|
|
1609
1540
|
* @return DeleteRoverEntitlementResponse
|
|
1610
1541
|
* @throws OciError when an error occurs
|
|
1611
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1542
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/DeleteRoverEntitlement.ts.html |here} to see how to use DeleteRoverEntitlement API.
|
|
1612
1543
|
*/
|
|
1613
1544
|
deleteRoverEntitlement(deleteRoverEntitlementRequest) {
|
|
1614
1545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1615
|
-
|
|
1616
|
-
this.logger.debug("Calling operation RoverEntitlementClient#deleteRoverEntitlement.");
|
|
1546
|
+
oci_common_1.logger.debug("Calling operation RoverEntitlementClient#deleteRoverEntitlement.");
|
|
1617
1547
|
const operationName = "deleteRoverEntitlement";
|
|
1618
1548
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverEntitlement/DeleteRoverEntitlement";
|
|
1619
1549
|
const pathParams = {
|
|
@@ -1628,8 +1558,6 @@ class RoverEntitlementClient {
|
|
|
1628
1558
|
};
|
|
1629
1559
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1630
1560
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
1631
|
-
if (this.logger)
|
|
1632
|
-
retrier.logger = this.logger;
|
|
1633
1561
|
const request = yield oci_common_1.composeRequest({
|
|
1634
1562
|
baseEndpoint: this._endpoint,
|
|
1635
1563
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1664,12 +1592,11 @@ class RoverEntitlementClient {
|
|
|
1664
1592
|
* @param GetRoverEntitlementRequest
|
|
1665
1593
|
* @return GetRoverEntitlementResponse
|
|
1666
1594
|
* @throws OciError when an error occurs
|
|
1667
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverEntitlement.ts.html |here} to see how to use GetRoverEntitlement API.
|
|
1668
1596
|
*/
|
|
1669
1597
|
getRoverEntitlement(getRoverEntitlementRequest) {
|
|
1670
1598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1671
|
-
|
|
1672
|
-
this.logger.debug("Calling operation RoverEntitlementClient#getRoverEntitlement.");
|
|
1599
|
+
oci_common_1.logger.debug("Calling operation RoverEntitlementClient#getRoverEntitlement.");
|
|
1673
1600
|
const operationName = "getRoverEntitlement";
|
|
1674
1601
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverEntitlement/GetRoverEntitlement";
|
|
1675
1602
|
const pathParams = {
|
|
@@ -1685,8 +1612,6 @@ class RoverEntitlementClient {
|
|
|
1685
1612
|
};
|
|
1686
1613
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1687
1614
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
1688
|
-
if (this.logger)
|
|
1689
|
-
retrier.logger = this.logger;
|
|
1690
1615
|
const request = yield oci_common_1.composeRequest({
|
|
1691
1616
|
baseEndpoint: this._endpoint,
|
|
1692
1617
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1730,12 +1655,11 @@ class RoverEntitlementClient {
|
|
|
1730
1655
|
* @param ListRoverEntitlementsRequest
|
|
1731
1656
|
* @return ListRoverEntitlementsResponse
|
|
1732
1657
|
* @throws OciError when an error occurs
|
|
1733
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListRoverEntitlements.ts.html |here} to see how to use ListRoverEntitlements API.
|
|
1734
1659
|
*/
|
|
1735
1660
|
listRoverEntitlements(listRoverEntitlementsRequest) {
|
|
1736
1661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1737
|
-
|
|
1738
|
-
this.logger.debug("Calling operation RoverEntitlementClient#listRoverEntitlements.");
|
|
1662
|
+
oci_common_1.logger.debug("Calling operation RoverEntitlementClient#listRoverEntitlements.");
|
|
1739
1663
|
const operationName = "listRoverEntitlements";
|
|
1740
1664
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverEntitlement/ListRoverEntitlements";
|
|
1741
1665
|
const pathParams = {};
|
|
@@ -1755,8 +1679,6 @@ class RoverEntitlementClient {
|
|
|
1755
1679
|
};
|
|
1756
1680
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1757
1681
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverEntitlementsRequest.retryConfiguration, specRetryConfiguration);
|
|
1758
|
-
if (this.logger)
|
|
1759
|
-
retrier.logger = this.logger;
|
|
1760
1682
|
const request = yield oci_common_1.composeRequest({
|
|
1761
1683
|
baseEndpoint: this._endpoint,
|
|
1762
1684
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1805,12 +1727,11 @@ class RoverEntitlementClient {
|
|
|
1805
1727
|
* @param UpdateRoverEntitlementRequest
|
|
1806
1728
|
* @return UpdateRoverEntitlementResponse
|
|
1807
1729
|
* @throws OciError when an error occurs
|
|
1808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1730
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/UpdateRoverEntitlement.ts.html |here} to see how to use UpdateRoverEntitlement API.
|
|
1809
1731
|
*/
|
|
1810
1732
|
updateRoverEntitlement(updateRoverEntitlementRequest) {
|
|
1811
1733
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1812
|
-
|
|
1813
|
-
this.logger.debug("Calling operation RoverEntitlementClient#updateRoverEntitlement.");
|
|
1734
|
+
oci_common_1.logger.debug("Calling operation RoverEntitlementClient#updateRoverEntitlement.");
|
|
1814
1735
|
const operationName = "updateRoverEntitlement";
|
|
1815
1736
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverEntitlement/UpdateRoverEntitlement";
|
|
1816
1737
|
const pathParams = {
|
|
@@ -1824,8 +1745,6 @@ class RoverEntitlementClient {
|
|
|
1824
1745
|
};
|
|
1825
1746
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1826
1747
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverEntitlementRequest.retryConfiguration, specRetryConfiguration);
|
|
1827
|
-
if (this.logger)
|
|
1828
|
-
retrier.logger = this.logger;
|
|
1829
1748
|
const request = yield oci_common_1.composeRequest({
|
|
1830
1749
|
baseEndpoint: this._endpoint,
|
|
1831
1750
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1935,11 +1854,7 @@ class RoverNodeClient {
|
|
|
1935
1854
|
set endpoint(endpoint) {
|
|
1936
1855
|
this._endpoint = endpoint;
|
|
1937
1856
|
this._endpoint = this._endpoint + "/20201210";
|
|
1938
|
-
|
|
1939
|
-
this.logger.info(`RoverNodeClient endpoint set to ${this._endpoint}`);
|
|
1940
|
-
}
|
|
1941
|
-
get logger() {
|
|
1942
|
-
return common.LOG.logger;
|
|
1857
|
+
oci_common_1.logger.info(`RoverNodeClient endpoint set to ${this._endpoint}`);
|
|
1943
1858
|
}
|
|
1944
1859
|
/**
|
|
1945
1860
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1948,8 +1863,7 @@ class RoverNodeClient {
|
|
|
1948
1863
|
*/
|
|
1949
1864
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1950
1865
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1951
|
-
|
|
1952
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1866
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1953
1867
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1954
1868
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RoverNodeClient.serviceEndpointTemplate, this._region, RoverNodeClient.endpointServiceName);
|
|
1955
1869
|
}
|
|
@@ -2015,12 +1929,11 @@ class RoverNodeClient {
|
|
|
2015
1929
|
* @param ChangeRoverNodeCompartmentRequest
|
|
2016
1930
|
* @return ChangeRoverNodeCompartmentResponse
|
|
2017
1931
|
* @throws OciError when an error occurs
|
|
2018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1932
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ChangeRoverNodeCompartment.ts.html |here} to see how to use ChangeRoverNodeCompartment API.
|
|
2019
1933
|
*/
|
|
2020
1934
|
changeRoverNodeCompartment(changeRoverNodeCompartmentRequest) {
|
|
2021
1935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2022
|
-
|
|
2023
|
-
this.logger.debug("Calling operation RoverNodeClient#changeRoverNodeCompartment.");
|
|
1936
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#changeRoverNodeCompartment.");
|
|
2024
1937
|
const operationName = "changeRoverNodeCompartment";
|
|
2025
1938
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/ChangeRoverNodeCompartment";
|
|
2026
1939
|
const pathParams = {
|
|
@@ -2035,8 +1948,6 @@ class RoverNodeClient {
|
|
|
2035
1948
|
};
|
|
2036
1949
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2037
1950
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRoverNodeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2038
|
-
if (this.logger)
|
|
2039
|
-
retrier.logger = this.logger;
|
|
2040
1951
|
const request = yield oci_common_1.composeRequest({
|
|
2041
1952
|
baseEndpoint: this._endpoint,
|
|
2042
1953
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2073,12 +1984,11 @@ class RoverNodeClient {
|
|
|
2073
1984
|
* @param CreateRoverNodeRequest
|
|
2074
1985
|
* @return CreateRoverNodeResponse
|
|
2075
1986
|
* @throws OciError when an error occurs
|
|
2076
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/CreateRoverNode.ts.html |here} to see how to use CreateRoverNode API.
|
|
2077
1988
|
*/
|
|
2078
1989
|
createRoverNode(createRoverNodeRequest) {
|
|
2079
1990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2080
|
-
|
|
2081
|
-
this.logger.debug("Calling operation RoverNodeClient#createRoverNode.");
|
|
1991
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#createRoverNode.");
|
|
2082
1992
|
const operationName = "createRoverNode";
|
|
2083
1993
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/CreateRoverNode";
|
|
2084
1994
|
const pathParams = {};
|
|
@@ -2090,8 +2000,6 @@ class RoverNodeClient {
|
|
|
2090
2000
|
};
|
|
2091
2001
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2092
2002
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
2093
|
-
if (this.logger)
|
|
2094
|
-
retrier.logger = this.logger;
|
|
2095
2003
|
const request = yield oci_common_1.composeRequest({
|
|
2096
2004
|
baseEndpoint: this._endpoint,
|
|
2097
2005
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2136,12 +2044,11 @@ class RoverNodeClient {
|
|
|
2136
2044
|
* @param DeleteRoverNodeRequest
|
|
2137
2045
|
* @return DeleteRoverNodeResponse
|
|
2138
2046
|
* @throws OciError when an error occurs
|
|
2139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2047
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/DeleteRoverNode.ts.html |here} to see how to use DeleteRoverNode API.
|
|
2140
2048
|
*/
|
|
2141
2049
|
deleteRoverNode(deleteRoverNodeRequest) {
|
|
2142
2050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2143
|
-
|
|
2144
|
-
this.logger.debug("Calling operation RoverNodeClient#deleteRoverNode.");
|
|
2051
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#deleteRoverNode.");
|
|
2145
2052
|
const operationName = "deleteRoverNode";
|
|
2146
2053
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/DeleteRoverNode";
|
|
2147
2054
|
const pathParams = {
|
|
@@ -2156,8 +2063,6 @@ class RoverNodeClient {
|
|
|
2156
2063
|
};
|
|
2157
2064
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2158
2065
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
2159
|
-
if (this.logger)
|
|
2160
|
-
retrier.logger = this.logger;
|
|
2161
2066
|
const request = yield oci_common_1.composeRequest({
|
|
2162
2067
|
baseEndpoint: this._endpoint,
|
|
2163
2068
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2192,12 +2097,11 @@ class RoverNodeClient {
|
|
|
2192
2097
|
* @param GetRoverNodeRequest
|
|
2193
2098
|
* @return GetRoverNodeResponse
|
|
2194
2099
|
* @throws OciError when an error occurs
|
|
2195
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverNode.ts.html |here} to see how to use GetRoverNode API.
|
|
2196
2101
|
*/
|
|
2197
2102
|
getRoverNode(getRoverNodeRequest) {
|
|
2198
2103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2199
|
-
|
|
2200
|
-
this.logger.debug("Calling operation RoverNodeClient#getRoverNode.");
|
|
2104
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#getRoverNode.");
|
|
2201
2105
|
const operationName = "getRoverNode";
|
|
2202
2106
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/GetRoverNode";
|
|
2203
2107
|
const pathParams = {
|
|
@@ -2210,8 +2114,6 @@ class RoverNodeClient {
|
|
|
2210
2114
|
};
|
|
2211
2115
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2212
2116
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
2213
|
-
if (this.logger)
|
|
2214
|
-
retrier.logger = this.logger;
|
|
2215
2117
|
const request = yield oci_common_1.composeRequest({
|
|
2216
2118
|
baseEndpoint: this._endpoint,
|
|
2217
2119
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2255,12 +2157,11 @@ class RoverNodeClient {
|
|
|
2255
2157
|
* @param GetRoverNodeCertificateRequest
|
|
2256
2158
|
* @return GetRoverNodeCertificateResponse
|
|
2257
2159
|
* @throws OciError when an error occurs
|
|
2258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverNodeCertificate.ts.html |here} to see how to use GetRoverNodeCertificate API.
|
|
2259
2161
|
*/
|
|
2260
2162
|
getRoverNodeCertificate(getRoverNodeCertificateRequest) {
|
|
2261
2163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2262
|
-
|
|
2263
|
-
this.logger.debug("Calling operation RoverNodeClient#getRoverNodeCertificate.");
|
|
2164
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#getRoverNodeCertificate.");
|
|
2264
2165
|
const operationName = "getRoverNodeCertificate";
|
|
2265
2166
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNodeCertificate/GetRoverNodeCertificate";
|
|
2266
2167
|
const pathParams = {
|
|
@@ -2273,8 +2174,6 @@ class RoverNodeClient {
|
|
|
2273
2174
|
};
|
|
2274
2175
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2275
2176
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
2276
|
-
if (this.logger)
|
|
2277
|
-
retrier.logger = this.logger;
|
|
2278
2177
|
const request = yield oci_common_1.composeRequest({
|
|
2279
2178
|
baseEndpoint: this._endpoint,
|
|
2280
2179
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2318,12 +2217,11 @@ class RoverNodeClient {
|
|
|
2318
2217
|
* @param GetRoverNodeEncryptionKeyRequest
|
|
2319
2218
|
* @return GetRoverNodeEncryptionKeyResponse
|
|
2320
2219
|
* @throws OciError when an error occurs
|
|
2321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2220
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverNodeEncryptionKey.ts.html |here} to see how to use GetRoverNodeEncryptionKey API.
|
|
2322
2221
|
*/
|
|
2323
2222
|
getRoverNodeEncryptionKey(getRoverNodeEncryptionKeyRequest) {
|
|
2324
2223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2325
|
-
|
|
2326
|
-
this.logger.debug("Calling operation RoverNodeClient#getRoverNodeEncryptionKey.");
|
|
2224
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#getRoverNodeEncryptionKey.");
|
|
2327
2225
|
const operationName = "getRoverNodeEncryptionKey";
|
|
2328
2226
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNodeEncryptionKey/GetRoverNodeEncryptionKey";
|
|
2329
2227
|
const pathParams = {
|
|
@@ -2336,8 +2234,6 @@ class RoverNodeClient {
|
|
|
2336
2234
|
};
|
|
2337
2235
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2338
2236
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeEncryptionKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
2339
|
-
if (this.logger)
|
|
2340
|
-
retrier.logger = this.logger;
|
|
2341
2237
|
const request = yield oci_common_1.composeRequest({
|
|
2342
2238
|
baseEndpoint: this._endpoint,
|
|
2343
2239
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2381,12 +2277,11 @@ class RoverNodeClient {
|
|
|
2381
2277
|
* @param GetRoverNodeGetRptRequest
|
|
2382
2278
|
* @return GetRoverNodeGetRptResponse
|
|
2383
2279
|
* @throws OciError when an error occurs
|
|
2384
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2280
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetRoverNodeGetRpt.ts.html |here} to see how to use GetRoverNodeGetRpt API.
|
|
2385
2281
|
*/
|
|
2386
2282
|
getRoverNodeGetRpt(getRoverNodeGetRptRequest) {
|
|
2387
2283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2388
|
-
|
|
2389
|
-
this.logger.debug("Calling operation RoverNodeClient#getRoverNodeGetRpt.");
|
|
2284
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#getRoverNodeGetRpt.");
|
|
2390
2285
|
const operationName = "getRoverNodeGetRpt";
|
|
2391
2286
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNodeGetRpt/GetRoverNodeGetRpt";
|
|
2392
2287
|
const pathParams = {
|
|
@@ -2400,8 +2295,6 @@ class RoverNodeClient {
|
|
|
2400
2295
|
};
|
|
2401
2296
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2402
2297
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRoverNodeGetRptRequest.retryConfiguration, specRetryConfiguration);
|
|
2403
|
-
if (this.logger)
|
|
2404
|
-
retrier.logger = this.logger;
|
|
2405
2298
|
const request = yield oci_common_1.composeRequest({
|
|
2406
2299
|
baseEndpoint: this._endpoint,
|
|
2407
2300
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2446,12 +2339,11 @@ class RoverNodeClient {
|
|
|
2446
2339
|
* @param ListRoverNodesRequest
|
|
2447
2340
|
* @return ListRoverNodesResponse
|
|
2448
2341
|
* @throws OciError when an error occurs
|
|
2449
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2342
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListRoverNodes.ts.html |here} to see how to use ListRoverNodes API.
|
|
2450
2343
|
*/
|
|
2451
2344
|
listRoverNodes(listRoverNodesRequest) {
|
|
2452
2345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2453
|
-
|
|
2454
|
-
this.logger.debug("Calling operation RoverNodeClient#listRoverNodes.");
|
|
2346
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#listRoverNodes.");
|
|
2455
2347
|
const operationName = "listRoverNodes";
|
|
2456
2348
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/ListRoverNodes";
|
|
2457
2349
|
const pathParams = {};
|
|
@@ -2472,8 +2364,6 @@ class RoverNodeClient {
|
|
|
2472
2364
|
};
|
|
2473
2365
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2474
2366
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRoverNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
2475
|
-
if (this.logger)
|
|
2476
|
-
retrier.logger = this.logger;
|
|
2477
2367
|
const request = yield oci_common_1.composeRequest({
|
|
2478
2368
|
baseEndpoint: this._endpoint,
|
|
2479
2369
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2522,12 +2412,11 @@ class RoverNodeClient {
|
|
|
2522
2412
|
* @param RoverNodeActionRetrieveCaBundleRequest
|
|
2523
2413
|
* @return RoverNodeActionRetrieveCaBundleResponse
|
|
2524
2414
|
* @throws OciError when an error occurs
|
|
2525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2415
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RoverNodeActionRetrieveCaBundle.ts.html |here} to see how to use RoverNodeActionRetrieveCaBundle API.
|
|
2526
2416
|
*/
|
|
2527
2417
|
roverNodeActionRetrieveCaBundle(roverNodeActionRetrieveCaBundleRequest) {
|
|
2528
2418
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2529
|
-
|
|
2530
|
-
this.logger.debug("Calling operation RoverNodeClient#roverNodeActionRetrieveCaBundle.");
|
|
2419
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#roverNodeActionRetrieveCaBundle.");
|
|
2531
2420
|
const operationName = "roverNodeActionRetrieveCaBundle";
|
|
2532
2421
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RoverNodeActionRetrieveCaBundle";
|
|
2533
2422
|
const pathParams = {
|
|
@@ -2542,8 +2431,6 @@ class RoverNodeClient {
|
|
|
2542
2431
|
};
|
|
2543
2432
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2544
2433
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeActionRetrieveCaBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
2545
|
-
if (this.logger)
|
|
2546
|
-
retrier.logger = this.logger;
|
|
2547
2434
|
const request = yield oci_common_1.composeRequest({
|
|
2548
2435
|
baseEndpoint: this._endpoint,
|
|
2549
2436
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2587,12 +2474,11 @@ class RoverNodeClient {
|
|
|
2587
2474
|
* @param RoverNodeActionSetKeyRequest
|
|
2588
2475
|
* @return RoverNodeActionSetKeyResponse
|
|
2589
2476
|
* @throws OciError when an error occurs
|
|
2590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RoverNodeActionSetKey.ts.html |here} to see how to use RoverNodeActionSetKey API.
|
|
2591
2478
|
*/
|
|
2592
2479
|
roverNodeActionSetKey(roverNodeActionSetKeyRequest) {
|
|
2593
2480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2594
|
-
|
|
2595
|
-
this.logger.debug("Calling operation RoverNodeClient#roverNodeActionSetKey.");
|
|
2481
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#roverNodeActionSetKey.");
|
|
2596
2482
|
const operationName = "roverNodeActionSetKey";
|
|
2597
2483
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNodeSetKey/RoverNodeActionSetKey";
|
|
2598
2484
|
const pathParams = {
|
|
@@ -2608,8 +2494,6 @@ class RoverNodeClient {
|
|
|
2608
2494
|
};
|
|
2609
2495
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2610
2496
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeActionSetKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
2611
|
-
if (this.logger)
|
|
2612
|
-
retrier.logger = this.logger;
|
|
2613
2497
|
const request = yield oci_common_1.composeRequest({
|
|
2614
2498
|
baseEndpoint: this._endpoint,
|
|
2615
2499
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2655,12 +2539,11 @@ class RoverNodeClient {
|
|
|
2655
2539
|
* @param RoverNodeGenerateCertificateRequest
|
|
2656
2540
|
* @return RoverNodeGenerateCertificateResponse
|
|
2657
2541
|
* @throws OciError when an error occurs
|
|
2658
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2542
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RoverNodeGenerateCertificate.ts.html |here} to see how to use RoverNodeGenerateCertificate API.
|
|
2659
2543
|
*/
|
|
2660
2544
|
roverNodeGenerateCertificate(roverNodeGenerateCertificateRequest) {
|
|
2661
2545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2662
|
-
|
|
2663
|
-
this.logger.debug("Calling operation RoverNodeClient#roverNodeGenerateCertificate.");
|
|
2546
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#roverNodeGenerateCertificate.");
|
|
2664
2547
|
const operationName = "roverNodeGenerateCertificate";
|
|
2665
2548
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RoverNodeGenerateCertificate";
|
|
2666
2549
|
const pathParams = {
|
|
@@ -2675,8 +2558,6 @@ class RoverNodeClient {
|
|
|
2675
2558
|
};
|
|
2676
2559
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2677
2560
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeGenerateCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
2678
|
-
if (this.logger)
|
|
2679
|
-
retrier.logger = this.logger;
|
|
2680
2561
|
const request = yield oci_common_1.composeRequest({
|
|
2681
2562
|
baseEndpoint: this._endpoint,
|
|
2682
2563
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2722,12 +2603,11 @@ class RoverNodeClient {
|
|
|
2722
2603
|
* @param RoverNodeRenewCertificateRequest
|
|
2723
2604
|
* @return RoverNodeRenewCertificateResponse
|
|
2724
2605
|
* @throws OciError when an error occurs
|
|
2725
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2606
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RoverNodeRenewCertificate.ts.html |here} to see how to use RoverNodeRenewCertificate API.
|
|
2726
2607
|
*/
|
|
2727
2608
|
roverNodeRenewCertificate(roverNodeRenewCertificateRequest) {
|
|
2728
2609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2729
|
-
|
|
2730
|
-
this.logger.debug("Calling operation RoverNodeClient#roverNodeRenewCertificate.");
|
|
2610
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#roverNodeRenewCertificate.");
|
|
2731
2611
|
const operationName = "roverNodeRenewCertificate";
|
|
2732
2612
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RoverNodeRenewCertificate";
|
|
2733
2613
|
const pathParams = {
|
|
@@ -2742,8 +2622,6 @@ class RoverNodeClient {
|
|
|
2742
2622
|
};
|
|
2743
2623
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2744
2624
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeRenewCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
2745
|
-
if (this.logger)
|
|
2746
|
-
retrier.logger = this.logger;
|
|
2747
2625
|
const request = yield oci_common_1.composeRequest({
|
|
2748
2626
|
baseEndpoint: this._endpoint,
|
|
2749
2627
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2789,12 +2667,11 @@ class RoverNodeClient {
|
|
|
2789
2667
|
* @param RoverNodeReplaceCertificateAuthorityRequest
|
|
2790
2668
|
* @return RoverNodeReplaceCertificateAuthorityResponse
|
|
2791
2669
|
* @throws OciError when an error occurs
|
|
2792
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2670
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RoverNodeReplaceCertificateAuthority.ts.html |here} to see how to use RoverNodeReplaceCertificateAuthority API.
|
|
2793
2671
|
*/
|
|
2794
2672
|
roverNodeReplaceCertificateAuthority(roverNodeReplaceCertificateAuthorityRequest) {
|
|
2795
2673
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2796
|
-
|
|
2797
|
-
this.logger.debug("Calling operation RoverNodeClient#roverNodeReplaceCertificateAuthority.");
|
|
2674
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#roverNodeReplaceCertificateAuthority.");
|
|
2798
2675
|
const operationName = "roverNodeReplaceCertificateAuthority";
|
|
2799
2676
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RoverNodeReplaceCertificateAuthority";
|
|
2800
2677
|
const pathParams = {
|
|
@@ -2809,8 +2686,6 @@ class RoverNodeClient {
|
|
|
2809
2686
|
};
|
|
2810
2687
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2811
2688
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeReplaceCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
|
|
2812
|
-
if (this.logger)
|
|
2813
|
-
retrier.logger = this.logger;
|
|
2814
2689
|
const request = yield oci_common_1.composeRequest({
|
|
2815
2690
|
baseEndpoint: this._endpoint,
|
|
2816
2691
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2855,12 +2730,11 @@ class RoverNodeClient {
|
|
|
2855
2730
|
* @param RoverNodeRetrieveLeafCertificateRequest
|
|
2856
2731
|
* @return RoverNodeRetrieveLeafCertificateResponse
|
|
2857
2732
|
* @throws OciError when an error occurs
|
|
2858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2733
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/RoverNodeRetrieveLeafCertificate.ts.html |here} to see how to use RoverNodeRetrieveLeafCertificate API.
|
|
2859
2734
|
*/
|
|
2860
2735
|
roverNodeRetrieveLeafCertificate(roverNodeRetrieveLeafCertificateRequest) {
|
|
2861
2736
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2862
|
-
|
|
2863
|
-
this.logger.debug("Calling operation RoverNodeClient#roverNodeRetrieveLeafCertificate.");
|
|
2737
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#roverNodeRetrieveLeafCertificate.");
|
|
2864
2738
|
const operationName = "roverNodeRetrieveLeafCertificate";
|
|
2865
2739
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/RoverNodeRetrieveLeafCertificate";
|
|
2866
2740
|
const pathParams = {
|
|
@@ -2875,8 +2749,6 @@ class RoverNodeClient {
|
|
|
2875
2749
|
};
|
|
2876
2750
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2877
2751
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, roverNodeRetrieveLeafCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
2878
|
-
if (this.logger)
|
|
2879
|
-
retrier.logger = this.logger;
|
|
2880
2752
|
const request = yield oci_common_1.composeRequest({
|
|
2881
2753
|
baseEndpoint: this._endpoint,
|
|
2882
2754
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2920,12 +2792,11 @@ class RoverNodeClient {
|
|
|
2920
2792
|
* @param UpdateRoverNodeRequest
|
|
2921
2793
|
* @return UpdateRoverNodeResponse
|
|
2922
2794
|
* @throws OciError when an error occurs
|
|
2923
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2795
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/UpdateRoverNode.ts.html |here} to see how to use UpdateRoverNode API.
|
|
2924
2796
|
*/
|
|
2925
2797
|
updateRoverNode(updateRoverNodeRequest) {
|
|
2926
2798
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2927
|
-
|
|
2928
|
-
this.logger.debug("Calling operation RoverNodeClient#updateRoverNode.");
|
|
2799
|
+
oci_common_1.logger.debug("Calling operation RoverNodeClient#updateRoverNode.");
|
|
2929
2800
|
const operationName = "updateRoverNode";
|
|
2930
2801
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/RoverNode/UpdateRoverNode";
|
|
2931
2802
|
const pathParams = {
|
|
@@ -2939,8 +2810,6 @@ class RoverNodeClient {
|
|
|
2939
2810
|
};
|
|
2940
2811
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2941
2812
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRoverNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
2942
|
-
if (this.logger)
|
|
2943
|
-
retrier.logger = this.logger;
|
|
2944
2813
|
const request = yield oci_common_1.composeRequest({
|
|
2945
2814
|
baseEndpoint: this._endpoint,
|
|
2946
2815
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3050,11 +2919,7 @@ class ShapeClient {
|
|
|
3050
2919
|
set endpoint(endpoint) {
|
|
3051
2920
|
this._endpoint = endpoint;
|
|
3052
2921
|
this._endpoint = this._endpoint + "/20201210";
|
|
3053
|
-
|
|
3054
|
-
this.logger.info(`ShapeClient endpoint set to ${this._endpoint}`);
|
|
3055
|
-
}
|
|
3056
|
-
get logger() {
|
|
3057
|
-
return common.LOG.logger;
|
|
2922
|
+
oci_common_1.logger.info(`ShapeClient endpoint set to ${this._endpoint}`);
|
|
3058
2923
|
}
|
|
3059
2924
|
/**
|
|
3060
2925
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -3063,8 +2928,7 @@ class ShapeClient {
|
|
|
3063
2928
|
*/
|
|
3064
2929
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
3065
2930
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
3066
|
-
|
|
3067
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
2931
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3068
2932
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
3069
2933
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ShapeClient.serviceEndpointTemplate, this._region, ShapeClient.endpointServiceName);
|
|
3070
2934
|
}
|
|
@@ -3110,12 +2974,11 @@ class ShapeClient {
|
|
|
3110
2974
|
* @param ListShapesRequest
|
|
3111
2975
|
* @return ListShapesResponse
|
|
3112
2976
|
* @throws OciError when an error occurs
|
|
3113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2977
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3114
2978
|
*/
|
|
3115
2979
|
listShapes(listShapesRequest) {
|
|
3116
2980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3117
|
-
|
|
3118
|
-
this.logger.debug("Calling operation ShapeClient#listShapes.");
|
|
2981
|
+
oci_common_1.logger.debug("Calling operation ShapeClient#listShapes.");
|
|
3119
2982
|
const operationName = "listShapes";
|
|
3120
2983
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/ShapeSummary/ListShapes";
|
|
3121
2984
|
const pathParams = {};
|
|
@@ -3132,8 +2995,6 @@ class ShapeClient {
|
|
|
3132
2995
|
};
|
|
3133
2996
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3134
2997
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3135
|
-
if (this.logger)
|
|
3136
|
-
retrier.logger = this.logger;
|
|
3137
2998
|
const request = yield oci_common_1.composeRequest({
|
|
3138
2999
|
baseEndpoint: this._endpoint,
|
|
3139
3000
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3247,11 +3108,7 @@ class WorkRequestsClient {
|
|
|
3247
3108
|
set endpoint(endpoint) {
|
|
3248
3109
|
this._endpoint = endpoint;
|
|
3249
3110
|
this._endpoint = this._endpoint + "/20201210";
|
|
3250
|
-
|
|
3251
|
-
this.logger.info(`WorkRequestsClient endpoint set to ${this._endpoint}`);
|
|
3252
|
-
}
|
|
3253
|
-
get logger() {
|
|
3254
|
-
return common.LOG.logger;
|
|
3111
|
+
oci_common_1.logger.info(`WorkRequestsClient endpoint set to ${this._endpoint}`);
|
|
3255
3112
|
}
|
|
3256
3113
|
/**
|
|
3257
3114
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -3260,8 +3117,7 @@ class WorkRequestsClient {
|
|
|
3260
3117
|
*/
|
|
3261
3118
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
3262
3119
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
3263
|
-
|
|
3264
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3120
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3265
3121
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
3266
3122
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestsClient.serviceEndpointTemplate, this._region, WorkRequestsClient.endpointServiceName);
|
|
3267
3123
|
}
|
|
@@ -3327,12 +3183,11 @@ class WorkRequestsClient {
|
|
|
3327
3183
|
* @param CancelWorkRequestRequest
|
|
3328
3184
|
* @return CancelWorkRequestResponse
|
|
3329
3185
|
* @throws OciError when an error occurs
|
|
3330
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
3331
3187
|
*/
|
|
3332
3188
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
3333
3189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3334
|
-
|
|
3335
|
-
this.logger.debug("Calling operation WorkRequestsClient#cancelWorkRequest.");
|
|
3190
|
+
oci_common_1.logger.debug("Calling operation WorkRequestsClient#cancelWorkRequest.");
|
|
3336
3191
|
const operationName = "cancelWorkRequest";
|
|
3337
3192
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/WorkRequest/CancelWorkRequest";
|
|
3338
3193
|
const pathParams = {
|
|
@@ -3347,8 +3202,6 @@ class WorkRequestsClient {
|
|
|
3347
3202
|
};
|
|
3348
3203
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3349
3204
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3350
|
-
if (this.logger)
|
|
3351
|
-
retrier.logger = this.logger;
|
|
3352
3205
|
const request = yield oci_common_1.composeRequest({
|
|
3353
3206
|
baseEndpoint: this._endpoint,
|
|
3354
3207
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3383,12 +3236,11 @@ class WorkRequestsClient {
|
|
|
3383
3236
|
* @param GetWorkRequestRequest
|
|
3384
3237
|
* @return GetWorkRequestResponse
|
|
3385
3238
|
* @throws OciError when an error occurs
|
|
3386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3239
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3387
3240
|
*/
|
|
3388
3241
|
getWorkRequest(getWorkRequestRequest) {
|
|
3389
3242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3390
|
-
|
|
3391
|
-
this.logger.debug("Calling operation WorkRequestsClient#getWorkRequest.");
|
|
3243
|
+
oci_common_1.logger.debug("Calling operation WorkRequestsClient#getWorkRequest.");
|
|
3392
3244
|
const operationName = "getWorkRequest";
|
|
3393
3245
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/WorkRequest/GetWorkRequest";
|
|
3394
3246
|
const pathParams = {
|
|
@@ -3401,8 +3253,6 @@ class WorkRequestsClient {
|
|
|
3401
3253
|
};
|
|
3402
3254
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3403
3255
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3404
|
-
if (this.logger)
|
|
3405
|
-
retrier.logger = this.logger;
|
|
3406
3256
|
const request = yield oci_common_1.composeRequest({
|
|
3407
3257
|
baseEndpoint: this._endpoint,
|
|
3408
3258
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3452,12 +3302,11 @@ class WorkRequestsClient {
|
|
|
3452
3302
|
* @param ListWorkRequestErrorsRequest
|
|
3453
3303
|
* @return ListWorkRequestErrorsResponse
|
|
3454
3304
|
* @throws OciError when an error occurs
|
|
3455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3305
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3456
3306
|
*/
|
|
3457
3307
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3458
3308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3459
|
-
|
|
3460
|
-
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequestErrors.");
|
|
3309
|
+
oci_common_1.logger.debug("Calling operation WorkRequestsClient#listWorkRequestErrors.");
|
|
3461
3310
|
const operationName = "listWorkRequestErrors";
|
|
3462
3311
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/WorkRequest/ListWorkRequestErrors";
|
|
3463
3312
|
const pathParams = {
|
|
@@ -3475,8 +3324,6 @@ class WorkRequestsClient {
|
|
|
3475
3324
|
};
|
|
3476
3325
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3477
3326
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3478
|
-
if (this.logger)
|
|
3479
|
-
retrier.logger = this.logger;
|
|
3480
3327
|
const request = yield oci_common_1.composeRequest({
|
|
3481
3328
|
baseEndpoint: this._endpoint,
|
|
3482
3329
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3526,12 +3373,11 @@ class WorkRequestsClient {
|
|
|
3526
3373
|
* @param ListWorkRequestLogsRequest
|
|
3527
3374
|
* @return ListWorkRequestLogsResponse
|
|
3528
3375
|
* @throws OciError when an error occurs
|
|
3529
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3376
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3530
3377
|
*/
|
|
3531
3378
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3532
3379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3533
|
-
|
|
3534
|
-
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequestLogs.");
|
|
3380
|
+
oci_common_1.logger.debug("Calling operation WorkRequestsClient#listWorkRequestLogs.");
|
|
3535
3381
|
const operationName = "listWorkRequestLogs";
|
|
3536
3382
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/WorkRequest/ListWorkRequestLogs";
|
|
3537
3383
|
const pathParams = {
|
|
@@ -3549,8 +3395,6 @@ class WorkRequestsClient {
|
|
|
3549
3395
|
};
|
|
3550
3396
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3551
3397
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3552
|
-
if (this.logger)
|
|
3553
|
-
retrier.logger = this.logger;
|
|
3554
3398
|
const request = yield oci_common_1.composeRequest({
|
|
3555
3399
|
baseEndpoint: this._endpoint,
|
|
3556
3400
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3600,12 +3444,11 @@ class WorkRequestsClient {
|
|
|
3600
3444
|
* @param ListWorkRequestsRequest
|
|
3601
3445
|
* @return ListWorkRequestsResponse
|
|
3602
3446
|
* @throws OciError when an error occurs
|
|
3603
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3447
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/rover/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3604
3448
|
*/
|
|
3605
3449
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3606
3450
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3607
|
-
|
|
3608
|
-
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequests.");
|
|
3451
|
+
oci_common_1.logger.debug("Calling operation WorkRequestsClient#listWorkRequests.");
|
|
3609
3452
|
const operationName = "listWorkRequests";
|
|
3610
3453
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/rover/20201210/WorkRequest/ListWorkRequests";
|
|
3611
3454
|
const pathParams = {};
|
|
@@ -3625,8 +3468,6 @@ class WorkRequestsClient {
|
|
|
3625
3468
|
};
|
|
3626
3469
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3627
3470
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3628
|
-
if (this.logger)
|
|
3629
|
-
retrier.logger = this.logger;
|
|
3630
3471
|
const request = yield oci_common_1.composeRequest({
|
|
3631
3472
|
baseEndpoint: this._endpoint,
|
|
3632
3473
|
defaultHeaders: this._defaultHeaders,
|