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