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