oci-healthchecks 2.4.0 → 2.6.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.js CHANGED
@@ -54,6 +54,9 @@ const oci_common_2 = require("oci-common");
54
54
  var HealthChecksApiKeys;
55
55
  (function (HealthChecksApiKeys) {
56
56
  })(HealthChecksApiKeys = exports.HealthChecksApiKeys || (exports.HealthChecksApiKeys = {}));
57
+ /**
58
+ * This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
59
+ */
57
60
  class HealthChecksClient {
58
61
  constructor(params, clientConfiguration) {
59
62
  this["_endpoint"] = "";
@@ -68,6 +71,13 @@ class HealthChecksClient {
68
71
  ? clientConfiguration.circuitBreaker.circuit
69
72
  : null;
70
73
  }
74
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
75
+ const specCircuitBreakerEnabled = false;
76
+ if (!this._circuitBreaker &&
77
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
78
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
79
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
80
+ }
71
81
  this._httpClient =
72
82
  params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
73
83
  if (params.authenticationDetailsProvider &&
@@ -120,10 +130,11 @@ class HealthChecksClient {
120
130
  * Moves a monitor into a different compartment. When provided, `If-Match` is checked
121
131
  * against ETag values of the resource.
122
132
  *
133
+ * This operation does not retry by default if the user has not defined a retry configuration.
123
134
  * @param ChangeHttpMonitorCompartmentRequest
124
135
  * @return ChangeHttpMonitorCompartmentResponse
125
136
  * @throws OciError when an error occurs
126
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ChangeHttpMonitorCompartment.ts.html |here} to see how to use ChangeHttpMonitorCompartment API.
137
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ChangeHttpMonitorCompartment.ts.html |here} to see how to use ChangeHttpMonitorCompartment API.
127
138
  */
128
139
  changeHttpMonitorCompartment(changeHttpMonitorCompartmentRequest) {
129
140
  return __awaiter(this, void 0, void 0, function* () {
@@ -139,7 +150,8 @@ class HealthChecksClient {
139
150
  "opc-request-id": changeHttpMonitorCompartmentRequest.opcRequestId,
140
151
  "opc-retry-token": changeHttpMonitorCompartmentRequest.opcRetryToken
141
152
  };
142
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeHttpMonitorCompartmentRequest.retryConfiguration);
153
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
154
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHttpMonitorCompartmentRequest.retryConfiguration, specRetryConfiguration);
143
155
  if (this.logger)
144
156
  retrier.logger = this.logger;
145
157
  const request = yield oci_common_2.composeRequest({
@@ -175,10 +187,11 @@ class HealthChecksClient {
175
187
  * Moves a monitor into a different compartment. When provided, `If-Match` is checked
176
188
  * against ETag values of the resource.
177
189
  *
190
+ * This operation does not retry by default if the user has not defined a retry configuration.
178
191
  * @param ChangePingMonitorCompartmentRequest
179
192
  * @return ChangePingMonitorCompartmentResponse
180
193
  * @throws OciError when an error occurs
181
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ChangePingMonitorCompartment.ts.html |here} to see how to use ChangePingMonitorCompartment API.
194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ChangePingMonitorCompartment.ts.html |here} to see how to use ChangePingMonitorCompartment API.
182
195
  */
183
196
  changePingMonitorCompartment(changePingMonitorCompartmentRequest) {
184
197
  return __awaiter(this, void 0, void 0, function* () {
@@ -194,7 +207,8 @@ class HealthChecksClient {
194
207
  "opc-request-id": changePingMonitorCompartmentRequest.opcRequestId,
195
208
  "opc-retry-token": changePingMonitorCompartmentRequest.opcRetryToken
196
209
  };
197
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changePingMonitorCompartmentRequest.retryConfiguration);
210
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
211
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePingMonitorCompartmentRequest.retryConfiguration, specRetryConfiguration);
198
212
  if (this.logger)
199
213
  retrier.logger = this.logger;
200
214
  const request = yield oci_common_2.composeRequest({
@@ -231,10 +245,11 @@ class HealthChecksClient {
231
245
  * and probes will be initiated from each vantage point to each of the targets at the frequency
232
246
  * specified by `intervalInSeconds`.
233
247
  *
248
+ * This operation does not retry by default if the user has not defined a retry configuration.
234
249
  * @param CreateHttpMonitorRequest
235
250
  * @return CreateHttpMonitorResponse
236
251
  * @throws OciError when an error occurs
237
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/CreateHttpMonitor.ts.html |here} to see how to use CreateHttpMonitor API.
252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/CreateHttpMonitor.ts.html |here} to see how to use CreateHttpMonitor API.
238
253
  */
239
254
  createHttpMonitor(createHttpMonitorRequest) {
240
255
  return __awaiter(this, void 0, void 0, function* () {
@@ -247,7 +262,8 @@ class HealthChecksClient {
247
262
  "opc-request-id": createHttpMonitorRequest.opcRequestId,
248
263
  "opc-retry-token": createHttpMonitorRequest.opcRetryToken
249
264
  };
250
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createHttpMonitorRequest.retryConfiguration);
265
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
266
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHttpMonitorRequest.retryConfiguration, specRetryConfiguration);
251
267
  if (this.logger)
252
268
  retrier.logger = this.logger;
253
269
  const request = yield oci_common_2.composeRequest({
@@ -299,10 +315,11 @@ class HealthChecksClient {
299
315
  * <p>
300
316
  *Note:* On-demand probe configurations are not saved.
301
317
  *
318
+ * This operation does not retry by default if the user has not defined a retry configuration.
302
319
  * @param CreateOnDemandHttpProbeRequest
303
320
  * @return CreateOnDemandHttpProbeResponse
304
321
  * @throws OciError when an error occurs
305
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/CreateOnDemandHttpProbe.ts.html |here} to see how to use CreateOnDemandHttpProbe API.
322
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/CreateOnDemandHttpProbe.ts.html |here} to see how to use CreateOnDemandHttpProbe API.
306
323
  */
307
324
  createOnDemandHttpProbe(createOnDemandHttpProbeRequest) {
308
325
  return __awaiter(this, void 0, void 0, function* () {
@@ -314,7 +331,8 @@ class HealthChecksClient {
314
331
  "Content-Type": common.Constants.APPLICATION_JSON,
315
332
  "opc-request-id": createOnDemandHttpProbeRequest.opcRequestId
316
333
  };
317
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createOnDemandHttpProbeRequest.retryConfiguration);
334
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
335
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOnDemandHttpProbeRequest.retryConfiguration, specRetryConfiguration);
318
336
  if (this.logger)
319
337
  retrier.logger = this.logger;
320
338
  const request = yield oci_common_2.composeRequest({
@@ -361,10 +379,11 @@ class HealthChecksClient {
361
379
  * <p>
362
380
  *Note:* The on-demand probe configuration is not saved.
363
381
  *
382
+ * This operation does not retry by default if the user has not defined a retry configuration.
364
383
  * @param CreateOnDemandPingProbeRequest
365
384
  * @return CreateOnDemandPingProbeResponse
366
385
  * @throws OciError when an error occurs
367
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/CreateOnDemandPingProbe.ts.html |here} to see how to use CreateOnDemandPingProbe API.
386
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/CreateOnDemandPingProbe.ts.html |here} to see how to use CreateOnDemandPingProbe API.
368
387
  */
369
388
  createOnDemandPingProbe(createOnDemandPingProbeRequest) {
370
389
  return __awaiter(this, void 0, void 0, function* () {
@@ -376,7 +395,8 @@ class HealthChecksClient {
376
395
  "Content-Type": common.Constants.APPLICATION_JSON,
377
396
  "opc-request-id": createOnDemandPingProbeRequest.opcRequestId
378
397
  };
379
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createOnDemandPingProbeRequest.retryConfiguration);
398
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
399
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOnDemandPingProbeRequest.retryConfiguration, specRetryConfiguration);
380
400
  if (this.logger)
381
401
  retrier.logger = this.logger;
382
402
  const request = yield oci_common_2.composeRequest({
@@ -422,10 +442,11 @@ class HealthChecksClient {
422
442
  * and probes will be initiated from each vantage point to each of the targets at the frequency
423
443
  * specified by `intervalInSeconds`.
424
444
  *
445
+ * This operation does not retry by default if the user has not defined a retry configuration.
425
446
  * @param CreatePingMonitorRequest
426
447
  * @return CreatePingMonitorResponse
427
448
  * @throws OciError when an error occurs
428
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/CreatePingMonitor.ts.html |here} to see how to use CreatePingMonitor API.
449
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/CreatePingMonitor.ts.html |here} to see how to use CreatePingMonitor API.
429
450
  */
430
451
  createPingMonitor(createPingMonitorRequest) {
431
452
  return __awaiter(this, void 0, void 0, function* () {
@@ -438,7 +459,8 @@ class HealthChecksClient {
438
459
  "opc-request-id": createPingMonitorRequest.opcRequestId,
439
460
  "opc-retry-token": createPingMonitorRequest.opcRetryToken
440
461
  };
441
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createPingMonitorRequest.retryConfiguration);
462
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
463
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPingMonitorRequest.retryConfiguration, specRetryConfiguration);
442
464
  if (this.logger)
443
465
  retrier.logger = this.logger;
444
466
  const request = yield oci_common_2.composeRequest({
@@ -488,10 +510,11 @@ class HealthChecksClient {
488
510
  * Deletes the HTTP monitor and its configuration. All future probes of this
489
511
  * monitor are stopped. Results associated with the monitor are not deleted.
490
512
  *
513
+ * This operation does not retry by default if the user has not defined a retry configuration.
491
514
  * @param DeleteHttpMonitorRequest
492
515
  * @return DeleteHttpMonitorResponse
493
516
  * @throws OciError when an error occurs
494
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/DeleteHttpMonitor.ts.html |here} to see how to use DeleteHttpMonitor API.
517
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/DeleteHttpMonitor.ts.html |here} to see how to use DeleteHttpMonitor API.
495
518
  */
496
519
  deleteHttpMonitor(deleteHttpMonitorRequest) {
497
520
  return __awaiter(this, void 0, void 0, function* () {
@@ -506,7 +529,8 @@ class HealthChecksClient {
506
529
  "opc-request-id": deleteHttpMonitorRequest.opcRequestId,
507
530
  "if-match": deleteHttpMonitorRequest.ifMatch
508
531
  };
509
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteHttpMonitorRequest.retryConfiguration);
532
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
533
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHttpMonitorRequest.retryConfiguration, specRetryConfiguration);
510
534
  if (this.logger)
511
535
  retrier.logger = this.logger;
512
536
  const request = yield oci_common_2.composeRequest({
@@ -541,10 +565,11 @@ class HealthChecksClient {
541
565
  * Deletes the ping monitor and its configuration. All future probes of this
542
566
  * monitor are stopped. Results associated with the monitor are not deleted.
543
567
  *
568
+ * This operation does not retry by default if the user has not defined a retry configuration.
544
569
  * @param DeletePingMonitorRequest
545
570
  * @return DeletePingMonitorResponse
546
571
  * @throws OciError when an error occurs
547
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/DeletePingMonitor.ts.html |here} to see how to use DeletePingMonitor API.
572
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/DeletePingMonitor.ts.html |here} to see how to use DeletePingMonitor API.
548
573
  */
549
574
  deletePingMonitor(deletePingMonitorRequest) {
550
575
  return __awaiter(this, void 0, void 0, function* () {
@@ -559,7 +584,8 @@ class HealthChecksClient {
559
584
  "opc-request-id": deletePingMonitorRequest.opcRequestId,
560
585
  "if-match": deletePingMonitorRequest.ifMatch
561
586
  };
562
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deletePingMonitorRequest.retryConfiguration);
587
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
588
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePingMonitorRequest.retryConfiguration, specRetryConfiguration);
563
589
  if (this.logger)
564
590
  retrier.logger = this.logger;
565
591
  const request = yield oci_common_2.composeRequest({
@@ -593,10 +619,11 @@ class HealthChecksClient {
593
619
  /**
594
620
  * Gets the configuration for the specified monitor.
595
621
  *
622
+ * This operation does not retry by default if the user has not defined a retry configuration.
596
623
  * @param GetHttpMonitorRequest
597
624
  * @return GetHttpMonitorResponse
598
625
  * @throws OciError when an error occurs
599
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/GetHttpMonitor.ts.html |here} to see how to use GetHttpMonitor API.
626
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/GetHttpMonitor.ts.html |here} to see how to use GetHttpMonitor API.
600
627
  */
601
628
  getHttpMonitor(getHttpMonitorRequest) {
602
629
  return __awaiter(this, void 0, void 0, function* () {
@@ -611,7 +638,8 @@ class HealthChecksClient {
611
638
  "opc-request-id": getHttpMonitorRequest.opcRequestId,
612
639
  "if-none-match": getHttpMonitorRequest.ifNoneMatch
613
640
  };
614
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getHttpMonitorRequest.retryConfiguration);
641
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
642
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHttpMonitorRequest.retryConfiguration, specRetryConfiguration);
615
643
  if (this.logger)
616
644
  retrier.logger = this.logger;
617
645
  const request = yield oci_common_2.composeRequest({
@@ -654,10 +682,11 @@ class HealthChecksClient {
654
682
  /**
655
683
  * Gets the configuration for the specified ping monitor.
656
684
  *
685
+ * This operation does not retry by default if the user has not defined a retry configuration.
657
686
  * @param GetPingMonitorRequest
658
687
  * @return GetPingMonitorResponse
659
688
  * @throws OciError when an error occurs
660
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/GetPingMonitor.ts.html |here} to see how to use GetPingMonitor API.
689
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/GetPingMonitor.ts.html |here} to see how to use GetPingMonitor API.
661
690
  */
662
691
  getPingMonitor(getPingMonitorRequest) {
663
692
  return __awaiter(this, void 0, void 0, function* () {
@@ -672,7 +701,8 @@ class HealthChecksClient {
672
701
  "opc-request-id": getPingMonitorRequest.opcRequestId,
673
702
  "if-none-match": getPingMonitorRequest.ifNoneMatch
674
703
  };
675
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getPingMonitorRequest.retryConfiguration);
704
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
705
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPingMonitorRequest.retryConfiguration, specRetryConfiguration);
676
706
  if (this.logger)
677
707
  retrier.logger = this.logger;
678
708
  const request = yield oci_common_2.composeRequest({
@@ -715,10 +745,11 @@ class HealthChecksClient {
715
745
  /**
716
746
  * Gets information about all vantage points available to the user.
717
747
  *
748
+ * This operation does not retry by default if the user has not defined a retry configuration.
718
749
  * @param ListHealthChecksVantagePointsRequest
719
750
  * @return ListHealthChecksVantagePointsResponse
720
751
  * @throws OciError when an error occurs
721
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ListHealthChecksVantagePoints.ts.html |here} to see how to use ListHealthChecksVantagePoints API.
752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ListHealthChecksVantagePoints.ts.html |here} to see how to use ListHealthChecksVantagePoints API.
722
753
  */
723
754
  listHealthChecksVantagePoints(listHealthChecksVantagePointsRequest) {
724
755
  return __awaiter(this, void 0, void 0, function* () {
@@ -737,7 +768,8 @@ class HealthChecksClient {
737
768
  "Content-Type": common.Constants.APPLICATION_JSON,
738
769
  "opc-request-id": listHealthChecksVantagePointsRequest.opcRequestId
739
770
  };
740
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listHealthChecksVantagePointsRequest.retryConfiguration);
771
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
772
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHealthChecksVantagePointsRequest.retryConfiguration, specRetryConfiguration);
741
773
  if (this.logger)
742
774
  retrier.logger = this.logger;
743
775
  const request = yield oci_common_2.composeRequest({
@@ -778,6 +810,7 @@ class HealthChecksClient {
778
810
  });
779
811
  }
780
812
  /**
813
+ * NOTE: This function is deprecated in favor of listHealthChecksVantagePointsRecordIterator function.
781
814
  * Creates a new async iterator which will iterate over the models.HealthChecksVantagePointSummary objects
782
815
  * contained in responses from the listHealthChecksVantagePoints operation. This iterator will fetch more data from the
783
816
  * server as needed.
@@ -788,6 +821,7 @@ class HealthChecksClient {
788
821
  return oci_common_1.paginateRecords(request, req => this.listHealthChecksVantagePoints(req));
789
822
  }
790
823
  /**
824
+ * NOTE: This function is deprecated in favor of listHealthChecksVantagePointsResponseIterator function.
791
825
  * Creates a new async iterator which will iterate over the responses received from the listHealthChecksVantagePoints operation. This iterator
792
826
  * will fetch more data from the server as needed.
793
827
  *
@@ -796,13 +830,33 @@ class HealthChecksClient {
796
830
  listAllHealthChecksVantagePointsResponses(request) {
797
831
  return oci_common_1.paginateResponses(request, req => this.listHealthChecksVantagePoints(req));
798
832
  }
833
+ /**
834
+ * Creates a new async iterator which will iterate over the models.HealthChecksVantagePointSummary objects
835
+ * contained in responses from the listHealthChecksVantagePoints operation. This iterator will fetch more data from the
836
+ * server as needed.
837
+ *
838
+ * @param request a request which can be sent to the service operation
839
+ */
840
+ listHealthChecksVantagePointsRecordIterator(request) {
841
+ return oci_common_1.paginateRecords(request, req => this.listHealthChecksVantagePoints(req));
842
+ }
843
+ /**
844
+ * Creates a new async iterator which will iterate over the responses received from the listHealthChecksVantagePoints operation. This iterator
845
+ * will fetch more data from the server as needed.
846
+ *
847
+ * @param request a request which can be sent to the service operation
848
+ */
849
+ listHealthChecksVantagePointsResponseIterator(request) {
850
+ return oci_common_1.paginateResponses(request, req => this.listHealthChecksVantagePoints(req));
851
+ }
799
852
  /**
800
853
  * Gets a list of HTTP monitors.
801
854
  *
855
+ * This operation does not retry by default if the user has not defined a retry configuration.
802
856
  * @param ListHttpMonitorsRequest
803
857
  * @return ListHttpMonitorsResponse
804
858
  * @throws OciError when an error occurs
805
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ListHttpMonitors.ts.html |here} to see how to use ListHttpMonitors API.
859
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ListHttpMonitors.ts.html |here} to see how to use ListHttpMonitors API.
806
860
  */
807
861
  listHttpMonitors(listHttpMonitorsRequest) {
808
862
  return __awaiter(this, void 0, void 0, function* () {
@@ -822,7 +876,8 @@ class HealthChecksClient {
822
876
  "Content-Type": common.Constants.APPLICATION_JSON,
823
877
  "opc-request-id": listHttpMonitorsRequest.opcRequestId
824
878
  };
825
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listHttpMonitorsRequest.retryConfiguration);
879
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
880
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHttpMonitorsRequest.retryConfiguration, specRetryConfiguration);
826
881
  if (this.logger)
827
882
  retrier.logger = this.logger;
828
883
  const request = yield oci_common_2.composeRequest({
@@ -863,6 +918,7 @@ class HealthChecksClient {
863
918
  });
864
919
  }
865
920
  /**
921
+ * NOTE: This function is deprecated in favor of listHttpMonitorsRecordIterator function.
866
922
  * Creates a new async iterator which will iterate over the models.HttpMonitorSummary objects
867
923
  * contained in responses from the listHttpMonitors operation. This iterator will fetch more data from the
868
924
  * server as needed.
@@ -873,6 +929,7 @@ class HealthChecksClient {
873
929
  return oci_common_1.paginateRecords(request, req => this.listHttpMonitors(req));
874
930
  }
875
931
  /**
932
+ * NOTE: This function is deprecated in favor of listHttpMonitorsResponseIterator function.
876
933
  * Creates a new async iterator which will iterate over the responses received from the listHttpMonitors operation. This iterator
877
934
  * will fetch more data from the server as needed.
878
935
  *
@@ -881,15 +938,35 @@ class HealthChecksClient {
881
938
  listAllHttpMonitorsResponses(request) {
882
939
  return oci_common_1.paginateResponses(request, req => this.listHttpMonitors(req));
883
940
  }
941
+ /**
942
+ * Creates a new async iterator which will iterate over the models.HttpMonitorSummary objects
943
+ * contained in responses from the listHttpMonitors operation. This iterator will fetch more data from the
944
+ * server as needed.
945
+ *
946
+ * @param request a request which can be sent to the service operation
947
+ */
948
+ listHttpMonitorsRecordIterator(request) {
949
+ return oci_common_1.paginateRecords(request, req => this.listHttpMonitors(req));
950
+ }
951
+ /**
952
+ * Creates a new async iterator which will iterate over the responses received from the listHttpMonitors operation. This iterator
953
+ * will fetch more data from the server as needed.
954
+ *
955
+ * @param request a request which can be sent to the service operation
956
+ */
957
+ listHttpMonitorsResponseIterator(request) {
958
+ return oci_common_1.paginateResponses(request, req => this.listHttpMonitors(req));
959
+ }
884
960
  /**
885
961
  * Gets the HTTP probe results for the specified probe or monitor, where
886
962
  * the `probeConfigurationId` is the OCID of either a monitor or an
887
963
  * on-demand probe.
888
964
  *
965
+ * This operation does not retry by default if the user has not defined a retry configuration.
889
966
  * @param ListHttpProbeResultsRequest
890
967
  * @return ListHttpProbeResultsResponse
891
968
  * @throws OciError when an error occurs
892
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ListHttpProbeResults.ts.html |here} to see how to use ListHttpProbeResults API.
969
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ListHttpProbeResults.ts.html |here} to see how to use ListHttpProbeResults API.
893
970
  */
894
971
  listHttpProbeResults(listHttpProbeResultsRequest) {
895
972
  return __awaiter(this, void 0, void 0, function* () {
@@ -910,7 +987,8 @@ class HealthChecksClient {
910
987
  "Content-Type": common.Constants.APPLICATION_JSON,
911
988
  "opc-request-id": listHttpProbeResultsRequest.opcRequestId
912
989
  };
913
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listHttpProbeResultsRequest.retryConfiguration);
990
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
991
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHttpProbeResultsRequest.retryConfiguration, specRetryConfiguration);
914
992
  if (this.logger)
915
993
  retrier.logger = this.logger;
916
994
  const request = yield oci_common_2.composeRequest({
@@ -951,6 +1029,7 @@ class HealthChecksClient {
951
1029
  });
952
1030
  }
953
1031
  /**
1032
+ * NOTE: This function is deprecated in favor of listHttpProbeResultsRecordIterator function.
954
1033
  * Creates a new async iterator which will iterate over the models.HttpProbeResultSummary objects
955
1034
  * contained in responses from the listHttpProbeResults operation. This iterator will fetch more data from the
956
1035
  * server as needed.
@@ -961,6 +1040,7 @@ class HealthChecksClient {
961
1040
  return oci_common_1.paginateRecords(request, req => this.listHttpProbeResults(req));
962
1041
  }
963
1042
  /**
1043
+ * NOTE: This function is deprecated in favor of listHttpProbeResultsResponseIterator function.
964
1044
  * Creates a new async iterator which will iterate over the responses received from the listHttpProbeResults operation. This iterator
965
1045
  * will fetch more data from the server as needed.
966
1046
  *
@@ -969,16 +1049,36 @@ class HealthChecksClient {
969
1049
  listAllHttpProbeResultsResponses(request) {
970
1050
  return oci_common_1.paginateResponses(request, req => this.listHttpProbeResults(req));
971
1051
  }
1052
+ /**
1053
+ * Creates a new async iterator which will iterate over the models.HttpProbeResultSummary objects
1054
+ * contained in responses from the listHttpProbeResults operation. This iterator will fetch more data from the
1055
+ * server as needed.
1056
+ *
1057
+ * @param request a request which can be sent to the service operation
1058
+ */
1059
+ listHttpProbeResultsRecordIterator(request) {
1060
+ return oci_common_1.paginateRecords(request, req => this.listHttpProbeResults(req));
1061
+ }
1062
+ /**
1063
+ * Creates a new async iterator which will iterate over the responses received from the listHttpProbeResults operation. This iterator
1064
+ * will fetch more data from the server as needed.
1065
+ *
1066
+ * @param request a request which can be sent to the service operation
1067
+ */
1068
+ listHttpProbeResultsResponseIterator(request) {
1069
+ return oci_common_1.paginateResponses(request, req => this.listHttpProbeResults(req));
1070
+ }
972
1071
  /**
973
1072
  * Gets a list of configured ping monitors.
974
1073
  * <p>
975
1074
  Results are paginated based on `page` and `limit`. The `opc-next-page` header provides
976
1075
  * a URL for fetching the next page.
977
1076
  *
1077
+ * This operation does not retry by default if the user has not defined a retry configuration.
978
1078
  * @param ListPingMonitorsRequest
979
1079
  * @return ListPingMonitorsResponse
980
1080
  * @throws OciError when an error occurs
981
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ListPingMonitors.ts.html |here} to see how to use ListPingMonitors API.
1081
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ListPingMonitors.ts.html |here} to see how to use ListPingMonitors API.
982
1082
  */
983
1083
  listPingMonitors(listPingMonitorsRequest) {
984
1084
  return __awaiter(this, void 0, void 0, function* () {
@@ -998,7 +1098,8 @@ class HealthChecksClient {
998
1098
  "Content-Type": common.Constants.APPLICATION_JSON,
999
1099
  "opc-request-id": listPingMonitorsRequest.opcRequestId
1000
1100
  };
1001
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listPingMonitorsRequest.retryConfiguration);
1101
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1102
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPingMonitorsRequest.retryConfiguration, specRetryConfiguration);
1002
1103
  if (this.logger)
1003
1104
  retrier.logger = this.logger;
1004
1105
  const request = yield oci_common_2.composeRequest({
@@ -1039,6 +1140,7 @@ class HealthChecksClient {
1039
1140
  });
1040
1141
  }
1041
1142
  /**
1143
+ * NOTE: This function is deprecated in favor of listPingMonitorsRecordIterator function.
1042
1144
  * Creates a new async iterator which will iterate over the models.PingMonitorSummary objects
1043
1145
  * contained in responses from the listPingMonitors operation. This iterator will fetch more data from the
1044
1146
  * server as needed.
@@ -1049,6 +1151,7 @@ class HealthChecksClient {
1049
1151
  return oci_common_1.paginateRecords(request, req => this.listPingMonitors(req));
1050
1152
  }
1051
1153
  /**
1154
+ * NOTE: This function is deprecated in favor of listPingMonitorsResponseIterator function.
1052
1155
  * Creates a new async iterator which will iterate over the responses received from the listPingMonitors operation. This iterator
1053
1156
  * will fetch more data from the server as needed.
1054
1157
  *
@@ -1057,6 +1160,25 @@ class HealthChecksClient {
1057
1160
  listAllPingMonitorsResponses(request) {
1058
1161
  return oci_common_1.paginateResponses(request, req => this.listPingMonitors(req));
1059
1162
  }
1163
+ /**
1164
+ * Creates a new async iterator which will iterate over the models.PingMonitorSummary objects
1165
+ * contained in responses from the listPingMonitors operation. This iterator will fetch more data from the
1166
+ * server as needed.
1167
+ *
1168
+ * @param request a request which can be sent to the service operation
1169
+ */
1170
+ listPingMonitorsRecordIterator(request) {
1171
+ return oci_common_1.paginateRecords(request, req => this.listPingMonitors(req));
1172
+ }
1173
+ /**
1174
+ * Creates a new async iterator which will iterate over the responses received from the listPingMonitors operation. This iterator
1175
+ * will fetch more data from the server as needed.
1176
+ *
1177
+ * @param request a request which can be sent to the service operation
1178
+ */
1179
+ listPingMonitorsResponseIterator(request) {
1180
+ return oci_common_1.paginateResponses(request, req => this.listPingMonitors(req));
1181
+ }
1060
1182
  /**
1061
1183
  * Returns the results for the specified probe, where the `probeConfigurationId`
1062
1184
  * is the OCID of either a monitor or an on-demand probe.
@@ -1066,10 +1188,11 @@ class HealthChecksClient {
1066
1188
  * results. If `sortOrder` is unspecified, results are sorted in ascending order by
1067
1189
  * `startTime`.
1068
1190
  *
1191
+ * This operation does not retry by default if the user has not defined a retry configuration.
1069
1192
  * @param ListPingProbeResultsRequest
1070
1193
  * @return ListPingProbeResultsResponse
1071
1194
  * @throws OciError when an error occurs
1072
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/ListPingProbeResults.ts.html |here} to see how to use ListPingProbeResults API.
1195
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/ListPingProbeResults.ts.html |here} to see how to use ListPingProbeResults API.
1073
1196
  */
1074
1197
  listPingProbeResults(listPingProbeResultsRequest) {
1075
1198
  return __awaiter(this, void 0, void 0, function* () {
@@ -1090,7 +1213,8 @@ class HealthChecksClient {
1090
1213
  "Content-Type": common.Constants.APPLICATION_JSON,
1091
1214
  "opc-request-id": listPingProbeResultsRequest.opcRequestId
1092
1215
  };
1093
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listPingProbeResultsRequest.retryConfiguration);
1216
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1217
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPingProbeResultsRequest.retryConfiguration, specRetryConfiguration);
1094
1218
  if (this.logger)
1095
1219
  retrier.logger = this.logger;
1096
1220
  const request = yield oci_common_2.composeRequest({
@@ -1131,6 +1255,7 @@ class HealthChecksClient {
1131
1255
  });
1132
1256
  }
1133
1257
  /**
1258
+ * NOTE: This function is deprecated in favor of listPingProbeResultsRecordIterator function.
1134
1259
  * Creates a new async iterator which will iterate over the models.PingProbeResultSummary objects
1135
1260
  * contained in responses from the listPingProbeResults operation. This iterator will fetch more data from the
1136
1261
  * server as needed.
@@ -1141,6 +1266,7 @@ class HealthChecksClient {
1141
1266
  return oci_common_1.paginateRecords(request, req => this.listPingProbeResults(req));
1142
1267
  }
1143
1268
  /**
1269
+ * NOTE: This function is deprecated in favor of listPingProbeResultsResponseIterator function.
1144
1270
  * Creates a new async iterator which will iterate over the responses received from the listPingProbeResults operation. This iterator
1145
1271
  * will fetch more data from the server as needed.
1146
1272
  *
@@ -1149,15 +1275,35 @@ class HealthChecksClient {
1149
1275
  listAllPingProbeResultsResponses(request) {
1150
1276
  return oci_common_1.paginateResponses(request, req => this.listPingProbeResults(req));
1151
1277
  }
1278
+ /**
1279
+ * Creates a new async iterator which will iterate over the models.PingProbeResultSummary objects
1280
+ * contained in responses from the listPingProbeResults operation. This iterator will fetch more data from the
1281
+ * server as needed.
1282
+ *
1283
+ * @param request a request which can be sent to the service operation
1284
+ */
1285
+ listPingProbeResultsRecordIterator(request) {
1286
+ return oci_common_1.paginateRecords(request, req => this.listPingProbeResults(req));
1287
+ }
1288
+ /**
1289
+ * Creates a new async iterator which will iterate over the responses received from the listPingProbeResults operation. This iterator
1290
+ * will fetch more data from the server as needed.
1291
+ *
1292
+ * @param request a request which can be sent to the service operation
1293
+ */
1294
+ listPingProbeResultsResponseIterator(request) {
1295
+ return oci_common_1.paginateResponses(request, req => this.listPingProbeResults(req));
1296
+ }
1152
1297
  /**
1153
1298
  * Updates the configuration of the specified HTTP monitor. Only the fields
1154
1299
  * specified in the request body will be updated; all other configuration
1155
1300
  * properties will remain unchanged.
1156
1301
  *
1302
+ * This operation does not retry by default if the user has not defined a retry configuration.
1157
1303
  * @param UpdateHttpMonitorRequest
1158
1304
  * @return UpdateHttpMonitorResponse
1159
1305
  * @throws OciError when an error occurs
1160
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/UpdateHttpMonitor.ts.html |here} to see how to use UpdateHttpMonitor API.
1306
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/UpdateHttpMonitor.ts.html |here} to see how to use UpdateHttpMonitor API.
1161
1307
  */
1162
1308
  updateHttpMonitor(updateHttpMonitorRequest) {
1163
1309
  return __awaiter(this, void 0, void 0, function* () {
@@ -1172,7 +1318,8 @@ class HealthChecksClient {
1172
1318
  "opc-request-id": updateHttpMonitorRequest.opcRequestId,
1173
1319
  "if-match": updateHttpMonitorRequest.ifMatch
1174
1320
  };
1175
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateHttpMonitorRequest.retryConfiguration);
1321
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1322
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHttpMonitorRequest.retryConfiguration, specRetryConfiguration);
1176
1323
  if (this.logger)
1177
1324
  retrier.logger = this.logger;
1178
1325
  const request = yield oci_common_2.composeRequest({
@@ -1218,10 +1365,11 @@ class HealthChecksClient {
1218
1365
  * specified in the request body will be updated; all other configuration properties
1219
1366
  * will remain unchanged.
1220
1367
  *
1368
+ * This operation does not retry by default if the user has not defined a retry configuration.
1221
1369
  * @param UpdatePingMonitorRequest
1222
1370
  * @return UpdatePingMonitorResponse
1223
1371
  * @throws OciError when an error occurs
1224
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/healthchecks/UpdatePingMonitor.ts.html |here} to see how to use UpdatePingMonitor API.
1372
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/healthchecks/UpdatePingMonitor.ts.html |here} to see how to use UpdatePingMonitor API.
1225
1373
  */
1226
1374
  updatePingMonitor(updatePingMonitorRequest) {
1227
1375
  return __awaiter(this, void 0, void 0, function* () {
@@ -1236,7 +1384,8 @@ class HealthChecksClient {
1236
1384
  "opc-request-id": updatePingMonitorRequest.opcRequestId,
1237
1385
  "if-match": updatePingMonitorRequest.ifMatch
1238
1386
  };
1239
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updatePingMonitorRequest.retryConfiguration);
1387
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1388
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePingMonitorRequest.retryConfiguration, specRetryConfiguration);
1240
1389
  if (this.logger)
1241
1390
  retrier.logger = this.logger;
1242
1391
  const request = yield oci_common_2.composeRequest({