oci-networkloadbalancer 2.79.1 → 2.80.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 +36 -35
- package/lib/client.js +178 -71
- package/lib/client.js.map +1 -1
- package/lib/request/change-network-load-balancer-compartment-request.d.ts +1 -1
- package/lib/request/create-backend-request.d.ts +1 -1
- package/lib/request/create-backend-set-request.d.ts +1 -1
- package/lib/request/create-listener-request.d.ts +1 -1
- package/lib/request/create-network-load-balancer-request.d.ts +1 -1
- package/lib/request/delete-backend-request.d.ts +1 -1
- package/lib/request/delete-backend-set-request.d.ts +1 -1
- package/lib/request/delete-listener-request.d.ts +1 -1
- package/lib/request/delete-network-load-balancer-request.d.ts +1 -1
- package/lib/request/get-backend-health-request.d.ts +1 -1
- package/lib/request/get-backend-request.d.ts +1 -1
- package/lib/request/get-backend-set-health-request.d.ts +1 -1
- package/lib/request/get-backend-set-request.d.ts +1 -1
- package/lib/request/get-health-checker-request.d.ts +1 -1
- package/lib/request/get-listener-request.d.ts +1 -1
- package/lib/request/get-network-load-balancer-health-request.d.ts +1 -1
- package/lib/request/get-network-load-balancer-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-backend-sets-request.d.ts +1 -1
- package/lib/request/list-backends-request.d.ts +1 -1
- package/lib/request/list-listeners-request.d.ts +1 -1
- package/lib/request/list-network-load-balancer-healths-request.d.ts +1 -1
- package/lib/request/list-network-load-balancers-policies-request.d.ts +1 -1
- package/lib/request/list-network-load-balancers-protocols-request.d.ts +1 -1
- package/lib/request/list-network-load-balancers-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/update-backend-request.d.ts +1 -1
- package/lib/request/update-backend-set-request.d.ts +1 -1
- package/lib/request/update-health-checker-request.d.ts +1 -1
- package/lib/request/update-listener-request.d.ts +1 -1
- package/lib/request/update-network-load-balancer-request.d.ts +1 -1
- package/lib/request/update-network-security-groups-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -57,7 +57,7 @@ var NetworkLoadBalancerApiKeys;
|
|
|
57
57
|
*/
|
|
58
58
|
class NetworkLoadBalancerClient {
|
|
59
59
|
constructor(params, clientConfiguration) {
|
|
60
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
60
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
61
61
|
this["_endpoint"] = "";
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
@@ -116,7 +116,11 @@ class NetworkLoadBalancerClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20200501";
|
|
119
|
-
|
|
119
|
+
if (this.logger)
|
|
120
|
+
this.logger.info(`NetworkLoadBalancerClient endpoint set to ${this._endpoint}`);
|
|
121
|
+
}
|
|
122
|
+
get logger() {
|
|
123
|
+
return common.LOG.logger;
|
|
120
124
|
}
|
|
121
125
|
/**
|
|
122
126
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -125,7 +129,8 @@ class NetworkLoadBalancerClient {
|
|
|
125
129
|
*/
|
|
126
130
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
127
131
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
128
|
-
|
|
132
|
+
if (this.logger)
|
|
133
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
129
134
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
130
135
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(NetworkLoadBalancerClient.serviceEndpointTemplate, this._region, NetworkLoadBalancerClient.endpointServiceName);
|
|
131
136
|
}
|
|
@@ -193,11 +198,12 @@ class NetworkLoadBalancerClient {
|
|
|
193
198
|
* @param ChangeNetworkLoadBalancerCompartmentRequest
|
|
194
199
|
* @return ChangeNetworkLoadBalancerCompartmentResponse
|
|
195
200
|
* @throws OciError when an error occurs
|
|
196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.ts.html |here} to see how to use ChangeNetworkLoadBalancerCompartment API.
|
|
197
202
|
*/
|
|
198
203
|
changeNetworkLoadBalancerCompartment(changeNetworkLoadBalancerCompartmentRequest) {
|
|
199
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
-
|
|
205
|
+
if (this.logger)
|
|
206
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#changeNetworkLoadBalancerCompartment.");
|
|
201
207
|
const operationName = "changeNetworkLoadBalancerCompartment";
|
|
202
208
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/ChangeNetworkLoadBalancerCompartment";
|
|
203
209
|
const pathParams = {
|
|
@@ -212,6 +218,8 @@ class NetworkLoadBalancerClient {
|
|
|
212
218
|
};
|
|
213
219
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
214
220
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeNetworkLoadBalancerCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
221
|
+
if (this.logger)
|
|
222
|
+
retrier.logger = this.logger;
|
|
215
223
|
const request = yield oci_common_1.composeRequest({
|
|
216
224
|
baseEndpoint: this._endpoint,
|
|
217
225
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -252,11 +260,12 @@ class NetworkLoadBalancerClient {
|
|
|
252
260
|
* @param CreateBackendRequest
|
|
253
261
|
* @return CreateBackendResponse
|
|
254
262
|
* @throws OciError when an error occurs
|
|
255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/CreateBackend.ts.html |here} to see how to use CreateBackend API.
|
|
256
264
|
*/
|
|
257
265
|
createBackend(createBackendRequest) {
|
|
258
266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
259
|
-
|
|
267
|
+
if (this.logger)
|
|
268
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#createBackend.");
|
|
260
269
|
const operationName = "createBackend";
|
|
261
270
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Backend/CreateBackend";
|
|
262
271
|
const pathParams = {
|
|
@@ -272,6 +281,8 @@ class NetworkLoadBalancerClient {
|
|
|
272
281
|
};
|
|
273
282
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
274
283
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackendRequest.retryConfiguration, specRetryConfiguration);
|
|
284
|
+
if (this.logger)
|
|
285
|
+
retrier.logger = this.logger;
|
|
275
286
|
const request = yield oci_common_1.composeRequest({
|
|
276
287
|
baseEndpoint: this._endpoint,
|
|
277
288
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -312,11 +323,12 @@ class NetworkLoadBalancerClient {
|
|
|
312
323
|
* @param CreateBackendSetRequest
|
|
313
324
|
* @return CreateBackendSetResponse
|
|
314
325
|
* @throws OciError when an error occurs
|
|
315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/CreateBackendSet.ts.html |here} to see how to use CreateBackendSet API.
|
|
316
327
|
*/
|
|
317
328
|
createBackendSet(createBackendSetRequest) {
|
|
318
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
-
|
|
330
|
+
if (this.logger)
|
|
331
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#createBackendSet.");
|
|
320
332
|
const operationName = "createBackendSet";
|
|
321
333
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSet/CreateBackendSet";
|
|
322
334
|
const pathParams = {
|
|
@@ -331,6 +343,8 @@ class NetworkLoadBalancerClient {
|
|
|
331
343
|
};
|
|
332
344
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
333
345
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackendSetRequest.retryConfiguration, specRetryConfiguration);
|
|
346
|
+
if (this.logger)
|
|
347
|
+
retrier.logger = this.logger;
|
|
334
348
|
const request = yield oci_common_1.composeRequest({
|
|
335
349
|
baseEndpoint: this._endpoint,
|
|
336
350
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -371,11 +385,12 @@ class NetworkLoadBalancerClient {
|
|
|
371
385
|
* @param CreateListenerRequest
|
|
372
386
|
* @return CreateListenerResponse
|
|
373
387
|
* @throws OciError when an error occurs
|
|
374
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/CreateListener.ts.html |here} to see how to use CreateListener API.
|
|
375
389
|
*/
|
|
376
390
|
createListener(createListenerRequest) {
|
|
377
391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
378
|
-
|
|
392
|
+
if (this.logger)
|
|
393
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#createListener.");
|
|
379
394
|
const operationName = "createListener";
|
|
380
395
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Listener/CreateListener";
|
|
381
396
|
const pathParams = {
|
|
@@ -390,6 +405,8 @@ class NetworkLoadBalancerClient {
|
|
|
390
405
|
};
|
|
391
406
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
392
407
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createListenerRequest.retryConfiguration, specRetryConfiguration);
|
|
408
|
+
if (this.logger)
|
|
409
|
+
retrier.logger = this.logger;
|
|
393
410
|
const request = yield oci_common_1.composeRequest({
|
|
394
411
|
baseEndpoint: this._endpoint,
|
|
395
412
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -436,11 +453,12 @@ class NetworkLoadBalancerClient {
|
|
|
436
453
|
* @param CreateNetworkLoadBalancerRequest
|
|
437
454
|
* @return CreateNetworkLoadBalancerResponse
|
|
438
455
|
* @throws OciError when an error occurs
|
|
439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/CreateNetworkLoadBalancer.ts.html |here} to see how to use CreateNetworkLoadBalancer API.
|
|
440
457
|
*/
|
|
441
458
|
createNetworkLoadBalancer(createNetworkLoadBalancerRequest) {
|
|
442
459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
443
|
-
|
|
460
|
+
if (this.logger)
|
|
461
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#createNetworkLoadBalancer.");
|
|
444
462
|
const operationName = "createNetworkLoadBalancer";
|
|
445
463
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/CreateNetworkLoadBalancer";
|
|
446
464
|
const pathParams = {};
|
|
@@ -452,6 +470,8 @@ class NetworkLoadBalancerClient {
|
|
|
452
470
|
};
|
|
453
471
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
454
472
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNetworkLoadBalancerRequest.retryConfiguration, specRetryConfiguration);
|
|
473
|
+
if (this.logger)
|
|
474
|
+
retrier.logger = this.logger;
|
|
455
475
|
const request = yield oci_common_1.composeRequest({
|
|
456
476
|
baseEndpoint: this._endpoint,
|
|
457
477
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -501,11 +521,12 @@ class NetworkLoadBalancerClient {
|
|
|
501
521
|
* @param DeleteBackendRequest
|
|
502
522
|
* @return DeleteBackendResponse
|
|
503
523
|
* @throws OciError when an error occurs
|
|
504
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
524
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/DeleteBackend.ts.html |here} to see how to use DeleteBackend API.
|
|
505
525
|
*/
|
|
506
526
|
deleteBackend(deleteBackendRequest) {
|
|
507
527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
508
|
-
|
|
528
|
+
if (this.logger)
|
|
529
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#deleteBackend.");
|
|
509
530
|
const operationName = "deleteBackend";
|
|
510
531
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Backend/DeleteBackend";
|
|
511
532
|
const pathParams = {
|
|
@@ -521,6 +542,8 @@ class NetworkLoadBalancerClient {
|
|
|
521
542
|
};
|
|
522
543
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
523
544
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackendRequest.retryConfiguration, specRetryConfiguration);
|
|
545
|
+
if (this.logger)
|
|
546
|
+
retrier.logger = this.logger;
|
|
524
547
|
const request = yield oci_common_1.composeRequest({
|
|
525
548
|
baseEndpoint: this._endpoint,
|
|
526
549
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -563,11 +586,12 @@ class NetworkLoadBalancerClient {
|
|
|
563
586
|
* @param DeleteBackendSetRequest
|
|
564
587
|
* @return DeleteBackendSetResponse
|
|
565
588
|
* @throws OciError when an error occurs
|
|
566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
589
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/DeleteBackendSet.ts.html |here} to see how to use DeleteBackendSet API.
|
|
567
590
|
*/
|
|
568
591
|
deleteBackendSet(deleteBackendSetRequest) {
|
|
569
592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
570
|
-
|
|
593
|
+
if (this.logger)
|
|
594
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#deleteBackendSet.");
|
|
571
595
|
const operationName = "deleteBackendSet";
|
|
572
596
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSet/DeleteBackendSet";
|
|
573
597
|
const pathParams = {
|
|
@@ -582,6 +606,8 @@ class NetworkLoadBalancerClient {
|
|
|
582
606
|
};
|
|
583
607
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
584
608
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackendSetRequest.retryConfiguration, specRetryConfiguration);
|
|
609
|
+
if (this.logger)
|
|
610
|
+
retrier.logger = this.logger;
|
|
585
611
|
const request = yield oci_common_1.composeRequest({
|
|
586
612
|
baseEndpoint: this._endpoint,
|
|
587
613
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -621,11 +647,12 @@ class NetworkLoadBalancerClient {
|
|
|
621
647
|
* @param DeleteListenerRequest
|
|
622
648
|
* @return DeleteListenerResponse
|
|
623
649
|
* @throws OciError when an error occurs
|
|
624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/DeleteListener.ts.html |here} to see how to use DeleteListener API.
|
|
625
651
|
*/
|
|
626
652
|
deleteListener(deleteListenerRequest) {
|
|
627
653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
628
|
-
|
|
654
|
+
if (this.logger)
|
|
655
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#deleteListener.");
|
|
629
656
|
const operationName = "deleteListener";
|
|
630
657
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Listener/DeleteListener";
|
|
631
658
|
const pathParams = {
|
|
@@ -640,6 +667,8 @@ class NetworkLoadBalancerClient {
|
|
|
640
667
|
};
|
|
641
668
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
642
669
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteListenerRequest.retryConfiguration, specRetryConfiguration);
|
|
670
|
+
if (this.logger)
|
|
671
|
+
retrier.logger = this.logger;
|
|
643
672
|
const request = yield oci_common_1.composeRequest({
|
|
644
673
|
baseEndpoint: this._endpoint,
|
|
645
674
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -684,11 +713,12 @@ class NetworkLoadBalancerClient {
|
|
|
684
713
|
* @param DeleteNetworkLoadBalancerRequest
|
|
685
714
|
* @return DeleteNetworkLoadBalancerResponse
|
|
686
715
|
* @throws OciError when an error occurs
|
|
687
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
716
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/DeleteNetworkLoadBalancer.ts.html |here} to see how to use DeleteNetworkLoadBalancer API.
|
|
688
717
|
*/
|
|
689
718
|
deleteNetworkLoadBalancer(deleteNetworkLoadBalancerRequest) {
|
|
690
719
|
return __awaiter(this, void 0, void 0, function* () {
|
|
691
|
-
|
|
720
|
+
if (this.logger)
|
|
721
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#deleteNetworkLoadBalancer.");
|
|
692
722
|
const operationName = "deleteNetworkLoadBalancer";
|
|
693
723
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/DeleteNetworkLoadBalancer";
|
|
694
724
|
const pathParams = {
|
|
@@ -702,6 +732,8 @@ class NetworkLoadBalancerClient {
|
|
|
702
732
|
};
|
|
703
733
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
704
734
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNetworkLoadBalancerRequest.retryConfiguration, specRetryConfiguration);
|
|
735
|
+
if (this.logger)
|
|
736
|
+
retrier.logger = this.logger;
|
|
705
737
|
const request = yield oci_common_1.composeRequest({
|
|
706
738
|
baseEndpoint: this._endpoint,
|
|
707
739
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -741,11 +773,12 @@ class NetworkLoadBalancerClient {
|
|
|
741
773
|
* @param GetBackendRequest
|
|
742
774
|
* @return GetBackendResponse
|
|
743
775
|
* @throws OciError when an error occurs
|
|
744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetBackend.ts.html |here} to see how to use GetBackend API.
|
|
745
777
|
*/
|
|
746
778
|
getBackend(getBackendRequest) {
|
|
747
779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
|
-
|
|
780
|
+
if (this.logger)
|
|
781
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getBackend.");
|
|
749
782
|
const operationName = "getBackend";
|
|
750
783
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Backend/GetBackend";
|
|
751
784
|
const pathParams = {
|
|
@@ -761,6 +794,8 @@ class NetworkLoadBalancerClient {
|
|
|
761
794
|
};
|
|
762
795
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
763
796
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendRequest.retryConfiguration, specRetryConfiguration);
|
|
797
|
+
if (this.logger)
|
|
798
|
+
retrier.logger = this.logger;
|
|
764
799
|
const request = yield oci_common_1.composeRequest({
|
|
765
800
|
baseEndpoint: this._endpoint,
|
|
766
801
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -804,11 +839,12 @@ class NetworkLoadBalancerClient {
|
|
|
804
839
|
* @param GetBackendHealthRequest
|
|
805
840
|
* @return GetBackendHealthResponse
|
|
806
841
|
* @throws OciError when an error occurs
|
|
807
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
842
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetBackendHealth.ts.html |here} to see how to use GetBackendHealth API.
|
|
808
843
|
*/
|
|
809
844
|
getBackendHealth(getBackendHealthRequest) {
|
|
810
845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
811
|
-
|
|
846
|
+
if (this.logger)
|
|
847
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getBackendHealth.");
|
|
812
848
|
const operationName = "getBackendHealth";
|
|
813
849
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendHealth/GetBackendHealth";
|
|
814
850
|
const pathParams = {
|
|
@@ -823,6 +859,8 @@ class NetworkLoadBalancerClient {
|
|
|
823
859
|
};
|
|
824
860
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
825
861
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendHealthRequest.retryConfiguration, specRetryConfiguration);
|
|
862
|
+
if (this.logger)
|
|
863
|
+
retrier.logger = this.logger;
|
|
826
864
|
const request = yield oci_common_1.composeRequest({
|
|
827
865
|
baseEndpoint: this._endpoint,
|
|
828
866
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -861,11 +899,12 @@ class NetworkLoadBalancerClient {
|
|
|
861
899
|
* @param GetBackendSetRequest
|
|
862
900
|
* @return GetBackendSetResponse
|
|
863
901
|
* @throws OciError when an error occurs
|
|
864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
902
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetBackendSet.ts.html |here} to see how to use GetBackendSet API.
|
|
865
903
|
*/
|
|
866
904
|
getBackendSet(getBackendSetRequest) {
|
|
867
905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
868
|
-
|
|
906
|
+
if (this.logger)
|
|
907
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getBackendSet.");
|
|
869
908
|
const operationName = "getBackendSet";
|
|
870
909
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSet/GetBackendSet";
|
|
871
910
|
const pathParams = {
|
|
@@ -880,6 +919,8 @@ class NetworkLoadBalancerClient {
|
|
|
880
919
|
};
|
|
881
920
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
882
921
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendSetRequest.retryConfiguration, specRetryConfiguration);
|
|
922
|
+
if (this.logger)
|
|
923
|
+
retrier.logger = this.logger;
|
|
883
924
|
const request = yield oci_common_1.composeRequest({
|
|
884
925
|
baseEndpoint: this._endpoint,
|
|
885
926
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -923,11 +964,12 @@ class NetworkLoadBalancerClient {
|
|
|
923
964
|
* @param GetBackendSetHealthRequest
|
|
924
965
|
* @return GetBackendSetHealthResponse
|
|
925
966
|
* @throws OciError when an error occurs
|
|
926
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetBackendSetHealth.ts.html |here} to see how to use GetBackendSetHealth API.
|
|
927
968
|
*/
|
|
928
969
|
getBackendSetHealth(getBackendSetHealthRequest) {
|
|
929
970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
930
|
-
|
|
971
|
+
if (this.logger)
|
|
972
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getBackendSetHealth.");
|
|
931
973
|
const operationName = "getBackendSetHealth";
|
|
932
974
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSetHealth/GetBackendSetHealth";
|
|
933
975
|
const pathParams = {
|
|
@@ -941,6 +983,8 @@ class NetworkLoadBalancerClient {
|
|
|
941
983
|
};
|
|
942
984
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
943
985
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendSetHealthRequest.retryConfiguration, specRetryConfiguration);
|
|
986
|
+
if (this.logger)
|
|
987
|
+
retrier.logger = this.logger;
|
|
944
988
|
const request = yield oci_common_1.composeRequest({
|
|
945
989
|
baseEndpoint: this._endpoint,
|
|
946
990
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -984,11 +1028,12 @@ class NetworkLoadBalancerClient {
|
|
|
984
1028
|
* @param GetHealthCheckerRequest
|
|
985
1029
|
* @return GetHealthCheckerResponse
|
|
986
1030
|
* @throws OciError when an error occurs
|
|
987
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetHealthChecker.ts.html |here} to see how to use GetHealthChecker API.
|
|
988
1032
|
*/
|
|
989
1033
|
getHealthChecker(getHealthCheckerRequest) {
|
|
990
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
991
|
-
|
|
1035
|
+
if (this.logger)
|
|
1036
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getHealthChecker.");
|
|
992
1037
|
const operationName = "getHealthChecker";
|
|
993
1038
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/HealthChecker/GetHealthChecker";
|
|
994
1039
|
const pathParams = {
|
|
@@ -1004,6 +1049,8 @@ class NetworkLoadBalancerClient {
|
|
|
1004
1049
|
};
|
|
1005
1050
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1006
1051
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHealthCheckerRequest.retryConfiguration, specRetryConfiguration);
|
|
1052
|
+
if (this.logger)
|
|
1053
|
+
retrier.logger = this.logger;
|
|
1007
1054
|
const request = yield oci_common_1.composeRequest({
|
|
1008
1055
|
baseEndpoint: this._endpoint,
|
|
1009
1056
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1047,11 +1094,12 @@ class NetworkLoadBalancerClient {
|
|
|
1047
1094
|
* @param GetListenerRequest
|
|
1048
1095
|
* @return GetListenerResponse
|
|
1049
1096
|
* @throws OciError when an error occurs
|
|
1050
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetListener.ts.html |here} to see how to use GetListener API.
|
|
1051
1098
|
*/
|
|
1052
1099
|
getListener(getListenerRequest) {
|
|
1053
1100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1054
|
-
|
|
1101
|
+
if (this.logger)
|
|
1102
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getListener.");
|
|
1055
1103
|
const operationName = "getListener";
|
|
1056
1104
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Listener/GetListener";
|
|
1057
1105
|
const pathParams = {
|
|
@@ -1066,6 +1114,8 @@ class NetworkLoadBalancerClient {
|
|
|
1066
1114
|
};
|
|
1067
1115
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1068
1116
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getListenerRequest.retryConfiguration, specRetryConfiguration);
|
|
1117
|
+
if (this.logger)
|
|
1118
|
+
retrier.logger = this.logger;
|
|
1069
1119
|
const request = yield oci_common_1.composeRequest({
|
|
1070
1120
|
baseEndpoint: this._endpoint,
|
|
1071
1121
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1109,11 +1159,12 @@ class NetworkLoadBalancerClient {
|
|
|
1109
1159
|
* @param GetNetworkLoadBalancerRequest
|
|
1110
1160
|
* @return GetNetworkLoadBalancerResponse
|
|
1111
1161
|
* @throws OciError when an error occurs
|
|
1112
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetNetworkLoadBalancer.ts.html |here} to see how to use GetNetworkLoadBalancer API.
|
|
1113
1163
|
*/
|
|
1114
1164
|
getNetworkLoadBalancer(getNetworkLoadBalancerRequest) {
|
|
1115
1165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1116
|
-
|
|
1166
|
+
if (this.logger)
|
|
1167
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getNetworkLoadBalancer.");
|
|
1117
1168
|
const operationName = "getNetworkLoadBalancer";
|
|
1118
1169
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/GetNetworkLoadBalancer";
|
|
1119
1170
|
const pathParams = {
|
|
@@ -1127,6 +1178,8 @@ class NetworkLoadBalancerClient {
|
|
|
1127
1178
|
};
|
|
1128
1179
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1129
1180
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNetworkLoadBalancerRequest.retryConfiguration, specRetryConfiguration);
|
|
1181
|
+
if (this.logger)
|
|
1182
|
+
retrier.logger = this.logger;
|
|
1130
1183
|
const request = yield oci_common_1.composeRequest({
|
|
1131
1184
|
baseEndpoint: this._endpoint,
|
|
1132
1185
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1170,11 +1223,12 @@ class NetworkLoadBalancerClient {
|
|
|
1170
1223
|
* @param GetNetworkLoadBalancerHealthRequest
|
|
1171
1224
|
* @return GetNetworkLoadBalancerHealthResponse
|
|
1172
1225
|
* @throws OciError when an error occurs
|
|
1173
|
-
* @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.80.0/networkloadbalancer/GetNetworkLoadBalancerHealth.ts.html |here} to see how to use GetNetworkLoadBalancerHealth API.
|
|
1174
1227
|
*/
|
|
1175
1228
|
getNetworkLoadBalancerHealth(getNetworkLoadBalancerHealthRequest) {
|
|
1176
1229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1177
|
-
|
|
1230
|
+
if (this.logger)
|
|
1231
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getNetworkLoadBalancerHealth.");
|
|
1178
1232
|
const operationName = "getNetworkLoadBalancerHealth";
|
|
1179
1233
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancerHealth/GetNetworkLoadBalancerHealth";
|
|
1180
1234
|
const pathParams = {
|
|
@@ -1187,6 +1241,8 @@ class NetworkLoadBalancerClient {
|
|
|
1187
1241
|
};
|
|
1188
1242
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1189
1243
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNetworkLoadBalancerHealthRequest.retryConfiguration, specRetryConfiguration);
|
|
1244
|
+
if (this.logger)
|
|
1245
|
+
retrier.logger = this.logger;
|
|
1190
1246
|
const request = yield oci_common_1.composeRequest({
|
|
1191
1247
|
baseEndpoint: this._endpoint,
|
|
1192
1248
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1225,11 +1281,12 @@ class NetworkLoadBalancerClient {
|
|
|
1225
1281
|
* @param GetWorkRequestRequest
|
|
1226
1282
|
* @return GetWorkRequestResponse
|
|
1227
1283
|
* @throws OciError when an error occurs
|
|
1228
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1229
1285
|
*/
|
|
1230
1286
|
getWorkRequest(getWorkRequestRequest) {
|
|
1231
1287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1232
|
-
|
|
1288
|
+
if (this.logger)
|
|
1289
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#getWorkRequest.");
|
|
1233
1290
|
const operationName = "getWorkRequest";
|
|
1234
1291
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/WorkRequest/GetWorkRequest";
|
|
1235
1292
|
const pathParams = {
|
|
@@ -1242,6 +1299,8 @@ class NetworkLoadBalancerClient {
|
|
|
1242
1299
|
};
|
|
1243
1300
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1244
1301
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1302
|
+
if (this.logger)
|
|
1303
|
+
retrier.logger = this.logger;
|
|
1245
1304
|
const request = yield oci_common_1.composeRequest({
|
|
1246
1305
|
baseEndpoint: this._endpoint,
|
|
1247
1306
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1285,11 +1344,12 @@ class NetworkLoadBalancerClient {
|
|
|
1285
1344
|
* @param ListBackendSetsRequest
|
|
1286
1345
|
* @return ListBackendSetsResponse
|
|
1287
1346
|
* @throws OciError when an error occurs
|
|
1288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListBackendSets.ts.html |here} to see how to use ListBackendSets API.
|
|
1289
1348
|
*/
|
|
1290
1349
|
listBackendSets(listBackendSetsRequest) {
|
|
1291
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1292
|
-
|
|
1351
|
+
if (this.logger)
|
|
1352
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listBackendSets.");
|
|
1293
1353
|
const operationName = "listBackendSets";
|
|
1294
1354
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSetSummary/ListBackendSets";
|
|
1295
1355
|
const pathParams = {
|
|
@@ -1308,6 +1368,8 @@ class NetworkLoadBalancerClient {
|
|
|
1308
1368
|
};
|
|
1309
1369
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1310
1370
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackendSetsRequest.retryConfiguration, specRetryConfiguration);
|
|
1371
|
+
if (this.logger)
|
|
1372
|
+
retrier.logger = this.logger;
|
|
1311
1373
|
const request = yield oci_common_1.composeRequest({
|
|
1312
1374
|
baseEndpoint: this._endpoint,
|
|
1313
1375
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1351,11 +1413,12 @@ class NetworkLoadBalancerClient {
|
|
|
1351
1413
|
* @param ListBackendsRequest
|
|
1352
1414
|
* @return ListBackendsResponse
|
|
1353
1415
|
* @throws OciError when an error occurs
|
|
1354
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1416
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListBackends.ts.html |here} to see how to use ListBackends API.
|
|
1355
1417
|
*/
|
|
1356
1418
|
listBackends(listBackendsRequest) {
|
|
1357
1419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1358
|
-
|
|
1420
|
+
if (this.logger)
|
|
1421
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listBackends.");
|
|
1359
1422
|
const operationName = "listBackends";
|
|
1360
1423
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSummary/ListBackends";
|
|
1361
1424
|
const pathParams = {
|
|
@@ -1375,6 +1438,8 @@ class NetworkLoadBalancerClient {
|
|
|
1375
1438
|
};
|
|
1376
1439
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1377
1440
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackendsRequest.retryConfiguration, specRetryConfiguration);
|
|
1441
|
+
if (this.logger)
|
|
1442
|
+
retrier.logger = this.logger;
|
|
1378
1443
|
const request = yield oci_common_1.composeRequest({
|
|
1379
1444
|
baseEndpoint: this._endpoint,
|
|
1380
1445
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1418,11 +1483,12 @@ class NetworkLoadBalancerClient {
|
|
|
1418
1483
|
* @param ListListenersRequest
|
|
1419
1484
|
* @return ListListenersResponse
|
|
1420
1485
|
* @throws OciError when an error occurs
|
|
1421
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1486
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListListeners.ts.html |here} to see how to use ListListeners API.
|
|
1422
1487
|
*/
|
|
1423
1488
|
listListeners(listListenersRequest) {
|
|
1424
1489
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1425
|
-
|
|
1490
|
+
if (this.logger)
|
|
1491
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listListeners.");
|
|
1426
1492
|
const operationName = "listListeners";
|
|
1427
1493
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/ListenerSummary/ListListeners";
|
|
1428
1494
|
const pathParams = {
|
|
@@ -1441,6 +1507,8 @@ class NetworkLoadBalancerClient {
|
|
|
1441
1507
|
};
|
|
1442
1508
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1443
1509
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listListenersRequest.retryConfiguration, specRetryConfiguration);
|
|
1510
|
+
if (this.logger)
|
|
1511
|
+
retrier.logger = this.logger;
|
|
1444
1512
|
const request = yield oci_common_1.composeRequest({
|
|
1445
1513
|
baseEndpoint: this._endpoint,
|
|
1446
1514
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1484,11 +1552,12 @@ class NetworkLoadBalancerClient {
|
|
|
1484
1552
|
* @param ListNetworkLoadBalancerHealthsRequest
|
|
1485
1553
|
* @return ListNetworkLoadBalancerHealthsResponse
|
|
1486
1554
|
* @throws OciError when an error occurs
|
|
1487
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListNetworkLoadBalancerHealths.ts.html |here} to see how to use ListNetworkLoadBalancerHealths API.
|
|
1488
1556
|
*/
|
|
1489
1557
|
listNetworkLoadBalancerHealths(listNetworkLoadBalancerHealthsRequest) {
|
|
1490
1558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1491
|
-
|
|
1559
|
+
if (this.logger)
|
|
1560
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listNetworkLoadBalancerHealths.");
|
|
1492
1561
|
const operationName = "listNetworkLoadBalancerHealths";
|
|
1493
1562
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancerHealth/ListNetworkLoadBalancerHealths";
|
|
1494
1563
|
const pathParams = {};
|
|
@@ -1505,6 +1574,8 @@ class NetworkLoadBalancerClient {
|
|
|
1505
1574
|
};
|
|
1506
1575
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1507
1576
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancerHealthsRequest.retryConfiguration, specRetryConfiguration);
|
|
1577
|
+
if (this.logger)
|
|
1578
|
+
retrier.logger = this.logger;
|
|
1508
1579
|
const request = yield oci_common_1.composeRequest({
|
|
1509
1580
|
baseEndpoint: this._endpoint,
|
|
1510
1581
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1549,11 +1620,12 @@ class NetworkLoadBalancerClient {
|
|
|
1549
1620
|
* @param ListNetworkLoadBalancersRequest
|
|
1550
1621
|
* @return ListNetworkLoadBalancersResponse
|
|
1551
1622
|
* @throws OciError when an error occurs
|
|
1552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1623
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListNetworkLoadBalancers.ts.html |here} to see how to use ListNetworkLoadBalancers API.
|
|
1553
1624
|
*/
|
|
1554
1625
|
listNetworkLoadBalancers(listNetworkLoadBalancersRequest) {
|
|
1555
1626
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1556
|
-
|
|
1627
|
+
if (this.logger)
|
|
1628
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listNetworkLoadBalancers.");
|
|
1557
1629
|
const operationName = "listNetworkLoadBalancers";
|
|
1558
1630
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/ListNetworkLoadBalancers";
|
|
1559
1631
|
const pathParams = {};
|
|
@@ -1572,6 +1644,8 @@ class NetworkLoadBalancerClient {
|
|
|
1572
1644
|
};
|
|
1573
1645
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1574
1646
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancersRequest.retryConfiguration, specRetryConfiguration);
|
|
1647
|
+
if (this.logger)
|
|
1648
|
+
retrier.logger = this.logger;
|
|
1575
1649
|
const request = yield oci_common_1.composeRequest({
|
|
1576
1650
|
baseEndpoint: this._endpoint,
|
|
1577
1651
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1615,11 +1689,12 @@ class NetworkLoadBalancerClient {
|
|
|
1615
1689
|
* @param ListNetworkLoadBalancersPoliciesRequest
|
|
1616
1690
|
* @return ListNetworkLoadBalancersPoliciesResponse
|
|
1617
1691
|
* @throws OciError when an error occurs
|
|
1618
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1692
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListNetworkLoadBalancersPolicies.ts.html |here} to see how to use ListNetworkLoadBalancersPolicies API.
|
|
1619
1693
|
*/
|
|
1620
1694
|
listNetworkLoadBalancersPolicies(listNetworkLoadBalancersPoliciesRequest) {
|
|
1621
1695
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1622
|
-
|
|
1696
|
+
if (this.logger)
|
|
1697
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listNetworkLoadBalancersPolicies.");
|
|
1623
1698
|
const operationName = "listNetworkLoadBalancersPolicies";
|
|
1624
1699
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancingPolicy/ListNetworkLoadBalancersPolicies";
|
|
1625
1700
|
const pathParams = {};
|
|
@@ -1635,6 +1710,8 @@ class NetworkLoadBalancerClient {
|
|
|
1635
1710
|
};
|
|
1636
1711
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1637
1712
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancersPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
1713
|
+
if (this.logger)
|
|
1714
|
+
retrier.logger = this.logger;
|
|
1638
1715
|
const request = yield oci_common_1.composeRequest({
|
|
1639
1716
|
baseEndpoint: this._endpoint,
|
|
1640
1717
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1680,11 +1757,12 @@ class NetworkLoadBalancerClient {
|
|
|
1680
1757
|
* @param ListNetworkLoadBalancersProtocolsRequest
|
|
1681
1758
|
* @return ListNetworkLoadBalancersProtocolsResponse
|
|
1682
1759
|
* @throws OciError when an error occurs
|
|
1683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1760
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListNetworkLoadBalancersProtocols.ts.html |here} to see how to use ListNetworkLoadBalancersProtocols API.
|
|
1684
1761
|
*/
|
|
1685
1762
|
listNetworkLoadBalancersProtocols(listNetworkLoadBalancersProtocolsRequest) {
|
|
1686
1763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1687
|
-
|
|
1764
|
+
if (this.logger)
|
|
1765
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listNetworkLoadBalancersProtocols.");
|
|
1688
1766
|
const operationName = "listNetworkLoadBalancersProtocols";
|
|
1689
1767
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/ListenerProtocols/ListNetworkLoadBalancersProtocols";
|
|
1690
1768
|
const pathParams = {};
|
|
@@ -1700,6 +1778,8 @@ class NetworkLoadBalancerClient {
|
|
|
1700
1778
|
};
|
|
1701
1779
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1702
1780
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancersProtocolsRequest.retryConfiguration, specRetryConfiguration);
|
|
1781
|
+
if (this.logger)
|
|
1782
|
+
retrier.logger = this.logger;
|
|
1703
1783
|
const request = yield oci_common_1.composeRequest({
|
|
1704
1784
|
baseEndpoint: this._endpoint,
|
|
1705
1785
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1744,11 +1824,12 @@ class NetworkLoadBalancerClient {
|
|
|
1744
1824
|
* @param ListWorkRequestErrorsRequest
|
|
1745
1825
|
* @return ListWorkRequestErrorsResponse
|
|
1746
1826
|
* @throws OciError when an error occurs
|
|
1747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1827
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1748
1828
|
*/
|
|
1749
1829
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1750
1830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1751
|
-
|
|
1831
|
+
if (this.logger)
|
|
1832
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listWorkRequestErrors.");
|
|
1752
1833
|
const operationName = "listWorkRequestErrors";
|
|
1753
1834
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/WorkRequestError/ListWorkRequestErrors";
|
|
1754
1835
|
const pathParams = {
|
|
@@ -1765,6 +1846,8 @@ class NetworkLoadBalancerClient {
|
|
|
1765
1846
|
};
|
|
1766
1847
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1767
1848
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1849
|
+
if (this.logger)
|
|
1850
|
+
retrier.logger = this.logger;
|
|
1768
1851
|
const request = yield oci_common_1.composeRequest({
|
|
1769
1852
|
baseEndpoint: this._endpoint,
|
|
1770
1853
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1809,11 +1892,12 @@ class NetworkLoadBalancerClient {
|
|
|
1809
1892
|
* @param ListWorkRequestLogsRequest
|
|
1810
1893
|
* @return ListWorkRequestLogsResponse
|
|
1811
1894
|
* @throws OciError when an error occurs
|
|
1812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1895
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1813
1896
|
*/
|
|
1814
1897
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1815
1898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1816
|
-
|
|
1899
|
+
if (this.logger)
|
|
1900
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listWorkRequestLogs.");
|
|
1817
1901
|
const operationName = "listWorkRequestLogs";
|
|
1818
1902
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
1819
1903
|
const pathParams = {
|
|
@@ -1830,6 +1914,8 @@ class NetworkLoadBalancerClient {
|
|
|
1830
1914
|
};
|
|
1831
1915
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1832
1916
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1917
|
+
if (this.logger)
|
|
1918
|
+
retrier.logger = this.logger;
|
|
1833
1919
|
const request = yield oci_common_1.composeRequest({
|
|
1834
1920
|
baseEndpoint: this._endpoint,
|
|
1835
1921
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1873,11 +1959,12 @@ class NetworkLoadBalancerClient {
|
|
|
1873
1959
|
* @param ListWorkRequestsRequest
|
|
1874
1960
|
* @return ListWorkRequestsResponse
|
|
1875
1961
|
* @throws OciError when an error occurs
|
|
1876
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1962
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1877
1963
|
*/
|
|
1878
1964
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1879
1965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1880
|
-
|
|
1966
|
+
if (this.logger)
|
|
1967
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#listWorkRequests.");
|
|
1881
1968
|
const operationName = "listWorkRequests";
|
|
1882
1969
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/WorkRequest/ListWorkRequests";
|
|
1883
1970
|
const pathParams = {};
|
|
@@ -1892,6 +1979,8 @@ class NetworkLoadBalancerClient {
|
|
|
1892
1979
|
};
|
|
1893
1980
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1894
1981
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1982
|
+
if (this.logger)
|
|
1983
|
+
retrier.logger = this.logger;
|
|
1895
1984
|
const request = yield oci_common_1.composeRequest({
|
|
1896
1985
|
baseEndpoint: this._endpoint,
|
|
1897
1986
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1935,11 +2024,12 @@ class NetworkLoadBalancerClient {
|
|
|
1935
2024
|
* @param UpdateBackendRequest
|
|
1936
2025
|
* @return UpdateBackendResponse
|
|
1937
2026
|
* @throws OciError when an error occurs
|
|
1938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2027
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/UpdateBackend.ts.html |here} to see how to use UpdateBackend API.
|
|
1939
2028
|
*/
|
|
1940
2029
|
updateBackend(updateBackendRequest) {
|
|
1941
2030
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1942
|
-
|
|
2031
|
+
if (this.logger)
|
|
2032
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#updateBackend.");
|
|
1943
2033
|
const operationName = "updateBackend";
|
|
1944
2034
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Backend/UpdateBackend";
|
|
1945
2035
|
const pathParams = {
|
|
@@ -1956,6 +2046,8 @@ class NetworkLoadBalancerClient {
|
|
|
1956
2046
|
};
|
|
1957
2047
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1958
2048
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackendRequest.retryConfiguration, specRetryConfiguration);
|
|
2049
|
+
if (this.logger)
|
|
2050
|
+
retrier.logger = this.logger;
|
|
1959
2051
|
const request = yield oci_common_1.composeRequest({
|
|
1960
2052
|
baseEndpoint: this._endpoint,
|
|
1961
2053
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1996,11 +2088,12 @@ class NetworkLoadBalancerClient {
|
|
|
1996
2088
|
* @param UpdateBackendSetRequest
|
|
1997
2089
|
* @return UpdateBackendSetResponse
|
|
1998
2090
|
* @throws OciError when an error occurs
|
|
1999
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2091
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/UpdateBackendSet.ts.html |here} to see how to use UpdateBackendSet API.
|
|
2000
2092
|
*/
|
|
2001
2093
|
updateBackendSet(updateBackendSetRequest) {
|
|
2002
2094
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2003
|
-
|
|
2095
|
+
if (this.logger)
|
|
2096
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#updateBackendSet.");
|
|
2004
2097
|
const operationName = "updateBackendSet";
|
|
2005
2098
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendSet/UpdateBackendSet";
|
|
2006
2099
|
const pathParams = {
|
|
@@ -2016,6 +2109,8 @@ class NetworkLoadBalancerClient {
|
|
|
2016
2109
|
};
|
|
2017
2110
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2018
2111
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackendSetRequest.retryConfiguration, specRetryConfiguration);
|
|
2112
|
+
if (this.logger)
|
|
2113
|
+
retrier.logger = this.logger;
|
|
2019
2114
|
const request = yield oci_common_1.composeRequest({
|
|
2020
2115
|
baseEndpoint: this._endpoint,
|
|
2021
2116
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2056,11 +2151,12 @@ class NetworkLoadBalancerClient {
|
|
|
2056
2151
|
* @param UpdateHealthCheckerRequest
|
|
2057
2152
|
* @return UpdateHealthCheckerResponse
|
|
2058
2153
|
* @throws OciError when an error occurs
|
|
2059
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/UpdateHealthChecker.ts.html |here} to see how to use UpdateHealthChecker API.
|
|
2060
2155
|
*/
|
|
2061
2156
|
updateHealthChecker(updateHealthCheckerRequest) {
|
|
2062
2157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2063
|
-
|
|
2158
|
+
if (this.logger)
|
|
2159
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#updateHealthChecker.");
|
|
2064
2160
|
const operationName = "updateHealthChecker";
|
|
2065
2161
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/HealthChecker/UpdateHealthChecker";
|
|
2066
2162
|
const pathParams = {
|
|
@@ -2076,6 +2172,8 @@ class NetworkLoadBalancerClient {
|
|
|
2076
2172
|
};
|
|
2077
2173
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2078
2174
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHealthCheckerRequest.retryConfiguration, specRetryConfiguration);
|
|
2175
|
+
if (this.logger)
|
|
2176
|
+
retrier.logger = this.logger;
|
|
2079
2177
|
const request = yield oci_common_1.composeRequest({
|
|
2080
2178
|
baseEndpoint: this._endpoint,
|
|
2081
2179
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2116,11 +2214,12 @@ class NetworkLoadBalancerClient {
|
|
|
2116
2214
|
* @param UpdateListenerRequest
|
|
2117
2215
|
* @return UpdateListenerResponse
|
|
2118
2216
|
* @throws OciError when an error occurs
|
|
2119
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/UpdateListener.ts.html |here} to see how to use UpdateListener API.
|
|
2120
2218
|
*/
|
|
2121
2219
|
updateListener(updateListenerRequest) {
|
|
2122
2220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2123
|
-
|
|
2221
|
+
if (this.logger)
|
|
2222
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#updateListener.");
|
|
2124
2223
|
const operationName = "updateListener";
|
|
2125
2224
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/Listener/UpdateListener";
|
|
2126
2225
|
const pathParams = {
|
|
@@ -2136,6 +2235,8 @@ class NetworkLoadBalancerClient {
|
|
|
2136
2235
|
};
|
|
2137
2236
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2138
2237
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateListenerRequest.retryConfiguration, specRetryConfiguration);
|
|
2238
|
+
if (this.logger)
|
|
2239
|
+
retrier.logger = this.logger;
|
|
2139
2240
|
const request = yield oci_common_1.composeRequest({
|
|
2140
2241
|
baseEndpoint: this._endpoint,
|
|
2141
2242
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2176,11 +2277,12 @@ class NetworkLoadBalancerClient {
|
|
|
2176
2277
|
* @param UpdateNetworkLoadBalancerRequest
|
|
2177
2278
|
* @return UpdateNetworkLoadBalancerResponse
|
|
2178
2279
|
* @throws OciError when an error occurs
|
|
2179
|
-
* @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.80.0/networkloadbalancer/UpdateNetworkLoadBalancer.ts.html |here} to see how to use UpdateNetworkLoadBalancer API.
|
|
2180
2281
|
*/
|
|
2181
2282
|
updateNetworkLoadBalancer(updateNetworkLoadBalancerRequest) {
|
|
2182
2283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2183
|
-
|
|
2284
|
+
if (this.logger)
|
|
2285
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#updateNetworkLoadBalancer.");
|
|
2184
2286
|
const operationName = "updateNetworkLoadBalancer";
|
|
2185
2287
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/UpdateNetworkLoadBalancer";
|
|
2186
2288
|
const pathParams = {
|
|
@@ -2194,6 +2296,8 @@ class NetworkLoadBalancerClient {
|
|
|
2194
2296
|
};
|
|
2195
2297
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2196
2298
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNetworkLoadBalancerRequest.retryConfiguration, specRetryConfiguration);
|
|
2299
|
+
if (this.logger)
|
|
2300
|
+
retrier.logger = this.logger;
|
|
2197
2301
|
const request = yield oci_common_1.composeRequest({
|
|
2198
2302
|
baseEndpoint: this._endpoint,
|
|
2199
2303
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2234,11 +2338,12 @@ class NetworkLoadBalancerClient {
|
|
|
2234
2338
|
* @param UpdateNetworkSecurityGroupsRequest
|
|
2235
2339
|
* @return UpdateNetworkSecurityGroupsResponse
|
|
2236
2340
|
* @throws OciError when an error occurs
|
|
2237
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/networkloadbalancer/UpdateNetworkSecurityGroups.ts.html |here} to see how to use UpdateNetworkSecurityGroups API.
|
|
2238
2342
|
*/
|
|
2239
2343
|
updateNetworkSecurityGroups(updateNetworkSecurityGroupsRequest) {
|
|
2240
2344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2241
|
-
|
|
2345
|
+
if (this.logger)
|
|
2346
|
+
this.logger.debug("Calling operation NetworkLoadBalancerClient#updateNetworkSecurityGroups.");
|
|
2242
2347
|
const operationName = "updateNetworkSecurityGroups";
|
|
2243
2348
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/NetworkLoadBalancer/UpdateNetworkSecurityGroups";
|
|
2244
2349
|
const pathParams = {
|
|
@@ -2253,6 +2358,8 @@ class NetworkLoadBalancerClient {
|
|
|
2253
2358
|
};
|
|
2254
2359
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2255
2360
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNetworkSecurityGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
2361
|
+
if (this.logger)
|
|
2362
|
+
retrier.logger = this.logger;
|
|
2256
2363
|
const request = yield oci_common_1.composeRequest({
|
|
2257
2364
|
baseEndpoint: this._endpoint,
|
|
2258
2365
|
defaultHeaders: this._defaultHeaders,
|