oci-logging 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/LICENSE.txt +6 -0
- package/lib/client.d.ts +152 -32
- package/lib/client.js +243 -64
- package/lib/client.js.map +1 -1
- package/lib/request/change-log-group-compartment-request.d.ts +1 -1
- package/lib/request/change-log-log-group-request.d.ts +1 -1
- package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
- package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
- package/lib/request/create-log-group-request.d.ts +1 -1
- package/lib/request/create-log-request.d.ts +1 -1
- package/lib/request/create-log-saved-search-request.d.ts +1 -1
- package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-log-group-request.d.ts +1 -1
- package/lib/request/delete-log-request.d.ts +1 -1
- package/lib/request/delete-log-saved-search-request.d.ts +1 -1
- package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-log-group-request.d.ts +1 -1
- package/lib/request/get-log-included-search-request.d.ts +1 -1
- package/lib/request/get-log-request.d.ts +1 -1
- package/lib/request/get-log-saved-search-request.d.ts +1 -1
- package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-log-groups-request.d.ts +1 -1
- package/lib/request/list-log-included-searches-request.d.ts +1 -1
- package/lib/request/list-log-saved-searches-request.d.ts +1 -1
- package/lib/request/list-logs-request.d.ts +1 -1
- package/lib/request/list-services-request.d.ts +1 -1
- package/lib/request/list-unified-agent-configurations-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-log-group-request.d.ts +1 -1
- package/lib/request/update-log-request.d.ts +1 -1
- package/lib/request/update-log-saved-search-request.d.ts +1 -1
- package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -52,6 +52,9 @@ const oci_common_2 = require("oci-common");
|
|
|
52
52
|
var LoggingManagementApiKeys;
|
|
53
53
|
(function (LoggingManagementApiKeys) {
|
|
54
54
|
})(LoggingManagementApiKeys = exports.LoggingManagementApiKeys || (exports.LoggingManagementApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
57
|
+
*/
|
|
55
58
|
class LoggingManagementClient {
|
|
56
59
|
constructor(params, clientConfiguration) {
|
|
57
60
|
this["_endpoint"] = "";
|
|
@@ -66,6 +69,13 @@ class LoggingManagementClient {
|
|
|
66
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
67
70
|
: null;
|
|
68
71
|
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = false;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
69
79
|
this._httpClient =
|
|
70
80
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
71
81
|
if (params.authenticationDetailsProvider &&
|
|
@@ -139,10 +149,11 @@ class LoggingManagementClient {
|
|
|
139
149
|
* Moves a log group into a different compartment within the same tenancy. When provided, the If-Match is checked against the resource ETag values.
|
|
140
150
|
* For information about moving resources between compartments, see [Moving Resources Between Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
141
151
|
*
|
|
152
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
142
153
|
* @param ChangeLogGroupCompartmentRequest
|
|
143
154
|
* @return ChangeLogGroupCompartmentResponse
|
|
144
155
|
* @throws OciError when an error occurs
|
|
145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
|
|
146
157
|
*/
|
|
147
158
|
changeLogGroupCompartment(changeLogGroupCompartmentRequest) {
|
|
148
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -157,7 +168,8 @@ class LoggingManagementClient {
|
|
|
157
168
|
"if-match": changeLogGroupCompartmentRequest.ifMatch,
|
|
158
169
|
"opc-request-id": changeLogGroupCompartmentRequest.opcRequestId
|
|
159
170
|
};
|
|
160
|
-
const
|
|
171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
161
173
|
if (this.logger)
|
|
162
174
|
retrier.logger = this.logger;
|
|
163
175
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -197,10 +209,11 @@ class LoggingManagementClient {
|
|
|
197
209
|
/**
|
|
198
210
|
* Moves a log into a different log group within the same tenancy. When provided, the If-Match is checked against the ETag values of the resource.
|
|
199
211
|
*
|
|
212
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
200
213
|
* @param ChangeLogLogGroupRequest
|
|
201
214
|
* @return ChangeLogLogGroupResponse
|
|
202
215
|
* @throws OciError when an error occurs
|
|
203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
|
|
204
217
|
*/
|
|
205
218
|
changeLogLogGroup(changeLogLogGroupRequest) {
|
|
206
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +229,8 @@ class LoggingManagementClient {
|
|
|
216
229
|
"if-match": changeLogLogGroupRequest.ifMatch,
|
|
217
230
|
"opc-request-id": changeLogLogGroupRequest.opcRequestId
|
|
218
231
|
};
|
|
219
|
-
const
|
|
232
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
233
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
220
234
|
if (this.logger)
|
|
221
235
|
retrier.logger = this.logger;
|
|
222
236
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -257,10 +271,11 @@ class LoggingManagementClient {
|
|
|
257
271
|
* Moves a saved search into a different compartment within the same tenancy. For information about moving
|
|
258
272
|
* resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
259
273
|
*
|
|
274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
260
275
|
* @param ChangeLogSavedSearchCompartmentRequest
|
|
261
276
|
* @return ChangeLogSavedSearchCompartmentResponse
|
|
262
277
|
* @throws OciError when an error occurs
|
|
263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
|
|
264
279
|
*/
|
|
265
280
|
changeLogSavedSearchCompartment(changeLogSavedSearchCompartmentRequest) {
|
|
266
281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +291,8 @@ class LoggingManagementClient {
|
|
|
276
291
|
"if-match": changeLogSavedSearchCompartmentRequest.ifMatch,
|
|
277
292
|
"opc-request-id": changeLogSavedSearchCompartmentRequest.opcRequestId
|
|
278
293
|
};
|
|
279
|
-
const
|
|
294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogSavedSearchCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
280
296
|
if (this.logger)
|
|
281
297
|
retrier.logger = this.logger;
|
|
282
298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -312,10 +328,11 @@ class LoggingManagementClient {
|
|
|
312
328
|
* Moves the unified agent configuration into a different compartment within the same tenancy. When provided, the If-Match is checked against the ETag values of the resource.
|
|
313
329
|
* For information about moving resources between compartments, see [Moving Resources Between Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
314
330
|
*
|
|
331
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
315
332
|
* @param ChangeUnifiedAgentConfigurationCompartmentRequest
|
|
316
333
|
* @return ChangeUnifiedAgentConfigurationCompartmentResponse
|
|
317
334
|
* @throws OciError when an error occurs
|
|
318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
|
|
319
336
|
*/
|
|
320
337
|
changeUnifiedAgentConfigurationCompartment(changeUnifiedAgentConfigurationCompartmentRequest) {
|
|
321
338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -331,7 +348,8 @@ class LoggingManagementClient {
|
|
|
331
348
|
"if-match": changeUnifiedAgentConfigurationCompartmentRequest.ifMatch,
|
|
332
349
|
"opc-request-id": changeUnifiedAgentConfigurationCompartmentRequest.opcRequestId
|
|
333
350
|
};
|
|
334
|
-
const
|
|
351
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
352
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeUnifiedAgentConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
335
353
|
if (this.logger)
|
|
336
354
|
retrier.logger = this.logger;
|
|
337
355
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -372,10 +390,11 @@ class LoggingManagementClient {
|
|
|
372
390
|
* Creates a log within the specified log group. This call fails if a log group has already been created
|
|
373
391
|
* with the same displayName or (service, resource, category) triplet.
|
|
374
392
|
*
|
|
393
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
375
394
|
* @param CreateLogRequest
|
|
376
395
|
* @return CreateLogResponse
|
|
377
396
|
* @throws OciError when an error occurs
|
|
378
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
|
|
379
398
|
*/
|
|
380
399
|
createLog(createLogRequest) {
|
|
381
400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -390,7 +409,8 @@ class LoggingManagementClient {
|
|
|
390
409
|
"opc-retry-token": createLogRequest.opcRetryToken,
|
|
391
410
|
"opc-request-id": createLogRequest.opcRequestId
|
|
392
411
|
};
|
|
393
|
-
const
|
|
412
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
413
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogRequest.retryConfiguration, specRetryConfiguration);
|
|
394
414
|
if (this.logger)
|
|
395
415
|
retrier.logger = this.logger;
|
|
396
416
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -431,10 +451,11 @@ class LoggingManagementClient {
|
|
|
431
451
|
* Create a new log group with a unique display name. This call fails
|
|
432
452
|
* if the log group is already created with the same displayName in the compartment.
|
|
433
453
|
*
|
|
454
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
434
455
|
* @param CreateLogGroupRequest
|
|
435
456
|
* @return CreateLogGroupResponse
|
|
436
457
|
* @throws OciError when an error occurs
|
|
437
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
458
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
|
|
438
459
|
*/
|
|
439
460
|
createLogGroup(createLogGroupRequest) {
|
|
440
461
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -447,7 +468,8 @@ class LoggingManagementClient {
|
|
|
447
468
|
"opc-retry-token": createLogGroupRequest.opcRetryToken,
|
|
448
469
|
"opc-request-id": createLogGroupRequest.opcRequestId
|
|
449
470
|
};
|
|
450
|
-
const
|
|
471
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
472
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
451
473
|
if (this.logger)
|
|
452
474
|
retrier.logger = this.logger;
|
|
453
475
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -487,10 +509,11 @@ class LoggingManagementClient {
|
|
|
487
509
|
/**
|
|
488
510
|
* Creates a new LogSavedSearch.
|
|
489
511
|
*
|
|
512
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
490
513
|
* @param CreateLogSavedSearchRequest
|
|
491
514
|
* @return CreateLogSavedSearchResponse
|
|
492
515
|
* @throws OciError when an error occurs
|
|
493
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
|
|
494
517
|
*/
|
|
495
518
|
createLogSavedSearch(createLogSavedSearchRequest) {
|
|
496
519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -503,7 +526,8 @@ class LoggingManagementClient {
|
|
|
503
526
|
"opc-retry-token": createLogSavedSearchRequest.opcRetryToken,
|
|
504
527
|
"opc-request-id": createLogSavedSearchRequest.opcRequestId
|
|
505
528
|
};
|
|
506
|
-
const
|
|
529
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
530
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
507
531
|
if (this.logger)
|
|
508
532
|
retrier.logger = this.logger;
|
|
509
533
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -546,10 +570,11 @@ class LoggingManagementClient {
|
|
|
546
570
|
}
|
|
547
571
|
/**
|
|
548
572
|
* Create unified agent configuration registration.
|
|
573
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
549
574
|
* @param CreateUnifiedAgentConfigurationRequest
|
|
550
575
|
* @return CreateUnifiedAgentConfigurationResponse
|
|
551
576
|
* @throws OciError when an error occurs
|
|
552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
577
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
|
|
553
578
|
*/
|
|
554
579
|
createUnifiedAgentConfiguration(createUnifiedAgentConfigurationRequest) {
|
|
555
580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -562,7 +587,8 @@ class LoggingManagementClient {
|
|
|
562
587
|
"opc-request-id": createUnifiedAgentConfigurationRequest.opcRequestId,
|
|
563
588
|
"opc-retry-token": createUnifiedAgentConfigurationRequest.opcRetryToken
|
|
564
589
|
};
|
|
565
|
-
const
|
|
590
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
591
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
566
592
|
if (this.logger)
|
|
567
593
|
retrier.logger = this.logger;
|
|
568
594
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -601,10 +627,11 @@ class LoggingManagementClient {
|
|
|
601
627
|
}
|
|
602
628
|
/**
|
|
603
629
|
* Deletes the log object in a log group.
|
|
630
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
604
631
|
* @param DeleteLogRequest
|
|
605
632
|
* @return DeleteLogResponse
|
|
606
633
|
* @throws OciError when an error occurs
|
|
607
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
634
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
|
|
608
635
|
*/
|
|
609
636
|
deleteLog(deleteLogRequest) {
|
|
610
637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -620,7 +647,8 @@ class LoggingManagementClient {
|
|
|
620
647
|
"if-match": deleteLogRequest.ifMatch,
|
|
621
648
|
"opc-request-id": deleteLogRequest.opcRequestId
|
|
622
649
|
};
|
|
623
|
-
const
|
|
650
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
651
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogRequest.retryConfiguration, specRetryConfiguration);
|
|
624
652
|
if (this.logger)
|
|
625
653
|
retrier.logger = this.logger;
|
|
626
654
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -658,10 +686,11 @@ class LoggingManagementClient {
|
|
|
658
686
|
}
|
|
659
687
|
/**
|
|
660
688
|
* Deletes the specified log group.
|
|
689
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
661
690
|
* @param DeleteLogGroupRequest
|
|
662
691
|
* @return DeleteLogGroupResponse
|
|
663
692
|
* @throws OciError when an error occurs
|
|
664
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
|
|
665
694
|
*/
|
|
666
695
|
deleteLogGroup(deleteLogGroupRequest) {
|
|
667
696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -676,7 +705,8 @@ class LoggingManagementClient {
|
|
|
676
705
|
"if-match": deleteLogGroupRequest.ifMatch,
|
|
677
706
|
"opc-request-id": deleteLogGroupRequest.opcRequestId
|
|
678
707
|
};
|
|
679
|
-
const
|
|
708
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
709
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
680
710
|
if (this.logger)
|
|
681
711
|
retrier.logger = this.logger;
|
|
682
712
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -714,10 +744,11 @@ class LoggingManagementClient {
|
|
|
714
744
|
}
|
|
715
745
|
/**
|
|
716
746
|
* Deletes the specified log saved search.
|
|
747
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
717
748
|
* @param DeleteLogSavedSearchRequest
|
|
718
749
|
* @return DeleteLogSavedSearchResponse
|
|
719
750
|
* @throws OciError when an error occurs
|
|
720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
|
|
721
752
|
*/
|
|
722
753
|
deleteLogSavedSearch(deleteLogSavedSearchRequest) {
|
|
723
754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -732,7 +763,8 @@ class LoggingManagementClient {
|
|
|
732
763
|
"if-match": deleteLogSavedSearchRequest.ifMatch,
|
|
733
764
|
"opc-request-id": deleteLogSavedSearchRequest.opcRequestId
|
|
734
765
|
};
|
|
735
|
-
const
|
|
766
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
767
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
736
768
|
if (this.logger)
|
|
737
769
|
retrier.logger = this.logger;
|
|
738
770
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -765,10 +797,11 @@ class LoggingManagementClient {
|
|
|
765
797
|
}
|
|
766
798
|
/**
|
|
767
799
|
* Delete unified agent configuration.
|
|
800
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
768
801
|
* @param DeleteUnifiedAgentConfigurationRequest
|
|
769
802
|
* @return DeleteUnifiedAgentConfigurationResponse
|
|
770
803
|
* @throws OciError when an error occurs
|
|
771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
804
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
|
|
772
805
|
*/
|
|
773
806
|
deleteUnifiedAgentConfiguration(deleteUnifiedAgentConfigurationRequest) {
|
|
774
807
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -783,7 +816,8 @@ class LoggingManagementClient {
|
|
|
783
816
|
"opc-request-id": deleteUnifiedAgentConfigurationRequest.opcRequestId,
|
|
784
817
|
"if-match": deleteUnifiedAgentConfigurationRequest.ifMatch
|
|
785
818
|
};
|
|
786
|
-
const
|
|
819
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
820
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
787
821
|
if (this.logger)
|
|
788
822
|
retrier.logger = this.logger;
|
|
789
823
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -822,10 +856,11 @@ class LoggingManagementClient {
|
|
|
822
856
|
/**
|
|
823
857
|
* Cancel a work request that has not started yet.
|
|
824
858
|
*
|
|
859
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
825
860
|
* @param DeleteWorkRequestRequest
|
|
826
861
|
* @return DeleteWorkRequestResponse
|
|
827
862
|
* @throws OciError when an error occurs
|
|
828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
829
864
|
*/
|
|
830
865
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
831
866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -840,7 +875,8 @@ class LoggingManagementClient {
|
|
|
840
875
|
"if-match": deleteWorkRequestRequest.ifMatch,
|
|
841
876
|
"opc-request-id": deleteWorkRequestRequest.opcRequestId
|
|
842
877
|
};
|
|
843
|
-
const
|
|
878
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
879
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
844
880
|
if (this.logger)
|
|
845
881
|
retrier.logger = this.logger;
|
|
846
882
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -879,10 +915,11 @@ class LoggingManagementClient {
|
|
|
879
915
|
/**
|
|
880
916
|
* Gets the log object configuration for the log object OCID.
|
|
881
917
|
*
|
|
918
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
882
919
|
* @param GetLogRequest
|
|
883
920
|
* @return GetLogResponse
|
|
884
921
|
* @throws OciError when an error occurs
|
|
885
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/GetLog.ts.html |here} to see how to use GetLog API.
|
|
886
923
|
*/
|
|
887
924
|
getLog(getLogRequest) {
|
|
888
925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -897,7 +934,8 @@ class LoggingManagementClient {
|
|
|
897
934
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
898
935
|
"opc-request-id": getLogRequest.opcRequestId
|
|
899
936
|
};
|
|
900
|
-
const
|
|
937
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
938
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogRequest.retryConfiguration, specRetryConfiguration);
|
|
901
939
|
if (this.logger)
|
|
902
940
|
retrier.logger = this.logger;
|
|
903
941
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -939,10 +977,11 @@ class LoggingManagementClient {
|
|
|
939
977
|
}
|
|
940
978
|
/**
|
|
941
979
|
* Get the specified log group's information.
|
|
980
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
942
981
|
* @param GetLogGroupRequest
|
|
943
982
|
* @return GetLogGroupResponse
|
|
944
983
|
* @throws OciError when an error occurs
|
|
945
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
984
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
|
|
946
985
|
*/
|
|
947
986
|
getLogGroup(getLogGroupRequest) {
|
|
948
987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -956,7 +995,8 @@ class LoggingManagementClient {
|
|
|
956
995
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
957
996
|
"opc-request-id": getLogGroupRequest.opcRequestId
|
|
958
997
|
};
|
|
959
|
-
const
|
|
998
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
999
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
960
1000
|
if (this.logger)
|
|
961
1001
|
retrier.logger = this.logger;
|
|
962
1002
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -998,10 +1038,11 @@ class LoggingManagementClient {
|
|
|
998
1038
|
}
|
|
999
1039
|
/**
|
|
1000
1040
|
* Retrieves a LogIncludedSearch.
|
|
1041
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1001
1042
|
* @param GetLogIncludedSearchRequest
|
|
1002
1043
|
* @return GetLogIncludedSearchResponse
|
|
1003
1044
|
* @throws OciError when an error occurs
|
|
1004
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1045
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/GetLogIncludedSearch.ts.html |here} to see how to use GetLogIncludedSearch API.
|
|
1005
1046
|
*/
|
|
1006
1047
|
getLogIncludedSearch(getLogIncludedSearchRequest) {
|
|
1007
1048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1058,8 @@ class LoggingManagementClient {
|
|
|
1017
1058
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1018
1059
|
"opc-request-id": getLogIncludedSearchRequest.opcRequestId
|
|
1019
1060
|
};
|
|
1020
|
-
const
|
|
1061
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1062
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogIncludedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
1021
1063
|
if (this.logger)
|
|
1022
1064
|
retrier.logger = this.logger;
|
|
1023
1065
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1059,10 +1101,11 @@ class LoggingManagementClient {
|
|
|
1059
1101
|
}
|
|
1060
1102
|
/**
|
|
1061
1103
|
* Retrieves a log saved search.
|
|
1104
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1062
1105
|
* @param GetLogSavedSearchRequest
|
|
1063
1106
|
* @return GetLogSavedSearchResponse
|
|
1064
1107
|
* @throws OciError when an error occurs
|
|
1065
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1108
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
|
|
1066
1109
|
*/
|
|
1067
1110
|
getLogSavedSearch(getLogSavedSearchRequest) {
|
|
1068
1111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1076,7 +1119,8 @@ class LoggingManagementClient {
|
|
|
1076
1119
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1077
1120
|
"opc-request-id": getLogSavedSearchRequest.opcRequestId
|
|
1078
1121
|
};
|
|
1079
|
-
const
|
|
1122
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1123
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
1080
1124
|
if (this.logger)
|
|
1081
1125
|
retrier.logger = this.logger;
|
|
1082
1126
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1118,10 +1162,11 @@ class LoggingManagementClient {
|
|
|
1118
1162
|
}
|
|
1119
1163
|
/**
|
|
1120
1164
|
* Get the unified agent configuration for an ID.
|
|
1165
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1121
1166
|
* @param GetUnifiedAgentConfigurationRequest
|
|
1122
1167
|
* @return GetUnifiedAgentConfigurationResponse
|
|
1123
1168
|
* @throws OciError when an error occurs
|
|
1124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1169
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
|
|
1125
1170
|
*/
|
|
1126
1171
|
getUnifiedAgentConfiguration(getUnifiedAgentConfigurationRequest) {
|
|
1127
1172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1135,7 +1180,8 @@ class LoggingManagementClient {
|
|
|
1135
1180
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1136
1181
|
"opc-request-id": getUnifiedAgentConfigurationRequest.opcRequestId
|
|
1137
1182
|
};
|
|
1138
|
-
const
|
|
1183
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1184
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1139
1185
|
if (this.logger)
|
|
1140
1186
|
retrier.logger = this.logger;
|
|
1141
1187
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1177,10 +1223,11 @@ class LoggingManagementClient {
|
|
|
1177
1223
|
}
|
|
1178
1224
|
/**
|
|
1179
1225
|
* Gets the details of the work request with the given ID.
|
|
1226
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1180
1227
|
* @param GetWorkRequestRequest
|
|
1181
1228
|
* @return GetWorkRequestResponse
|
|
1182
1229
|
* @throws OciError when an error occurs
|
|
1183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1184
1231
|
*/
|
|
1185
1232
|
getWorkRequest(getWorkRequestRequest) {
|
|
1186
1233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1194,7 +1241,8 @@ class LoggingManagementClient {
|
|
|
1194
1241
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1195
1242
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1196
1243
|
};
|
|
1197
|
-
const
|
|
1244
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1245
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1198
1246
|
if (this.logger)
|
|
1199
1247
|
retrier.logger = this.logger;
|
|
1200
1248
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1241,10 +1289,11 @@ class LoggingManagementClient {
|
|
|
1241
1289
|
}
|
|
1242
1290
|
/**
|
|
1243
1291
|
* Lists all log groups for the specified compartment or tenancy.
|
|
1292
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1244
1293
|
* @param ListLogGroupsRequest
|
|
1245
1294
|
* @return ListLogGroupsResponse
|
|
1246
1295
|
* @throws OciError when an error occurs
|
|
1247
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
|
|
1248
1297
|
*/
|
|
1249
1298
|
listLogGroups(listLogGroupsRequest) {
|
|
1250
1299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1264,7 +1313,8 @@ class LoggingManagementClient {
|
|
|
1264
1313
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1265
1314
|
"opc-request-id": listLogGroupsRequest.opcRequestId
|
|
1266
1315
|
};
|
|
1267
|
-
const
|
|
1316
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1317
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1268
1318
|
if (this.logger)
|
|
1269
1319
|
retrier.logger = this.logger;
|
|
1270
1320
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1310,6 +1360,7 @@ class LoggingManagementClient {
|
|
|
1310
1360
|
});
|
|
1311
1361
|
}
|
|
1312
1362
|
/**
|
|
1363
|
+
* NOTE: This function is deprecated in favor of listLogGroupsRecordIterator function.
|
|
1313
1364
|
* Creates a new async iterator which will iterate over the models.LogGroupSummary objects
|
|
1314
1365
|
* contained in responses from the listLogGroups operation. This iterator will fetch more data from the
|
|
1315
1366
|
* server as needed.
|
|
@@ -1320,6 +1371,7 @@ class LoggingManagementClient {
|
|
|
1320
1371
|
return oci_common_1.paginateRecords(request, req => this.listLogGroups(req));
|
|
1321
1372
|
}
|
|
1322
1373
|
/**
|
|
1374
|
+
* NOTE: This function is deprecated in favor of listLogGroupsResponseIterator function.
|
|
1323
1375
|
* Creates a new async iterator which will iterate over the responses received from the listLogGroups operation. This iterator
|
|
1324
1376
|
* will fetch more data from the server as needed.
|
|
1325
1377
|
*
|
|
@@ -1328,13 +1380,33 @@ class LoggingManagementClient {
|
|
|
1328
1380
|
listAllLogGroupsResponses(request) {
|
|
1329
1381
|
return oci_common_1.paginateResponses(request, req => this.listLogGroups(req));
|
|
1330
1382
|
}
|
|
1383
|
+
/**
|
|
1384
|
+
* Creates a new async iterator which will iterate over the models.LogGroupSummary objects
|
|
1385
|
+
* contained in responses from the listLogGroups operation. This iterator will fetch more data from the
|
|
1386
|
+
* server as needed.
|
|
1387
|
+
*
|
|
1388
|
+
* @param request a request which can be sent to the service operation
|
|
1389
|
+
*/
|
|
1390
|
+
listLogGroupsRecordIterator(request) {
|
|
1391
|
+
return oci_common_1.paginateRecords(request, req => this.listLogGroups(req));
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Creates a new async iterator which will iterate over the responses received from the listLogGroups operation. This iterator
|
|
1395
|
+
* will fetch more data from the server as needed.
|
|
1396
|
+
*
|
|
1397
|
+
* @param request a request which can be sent to the service operation
|
|
1398
|
+
*/
|
|
1399
|
+
listLogGroupsResponseIterator(request) {
|
|
1400
|
+
return oci_common_1.paginateResponses(request, req => this.listLogGroups(req));
|
|
1401
|
+
}
|
|
1331
1402
|
/**
|
|
1332
1403
|
* Lists Logging Included Searches for this compartment.
|
|
1333
1404
|
*
|
|
1405
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1334
1406
|
* @param ListLogIncludedSearchesRequest
|
|
1335
1407
|
* @return ListLogIncludedSearchesResponse
|
|
1336
1408
|
* @throws OciError when an error occurs
|
|
1337
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1409
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListLogIncludedSearches.ts.html |here} to see how to use ListLogIncludedSearches API.
|
|
1338
1410
|
*/
|
|
1339
1411
|
listLogIncludedSearches(listLogIncludedSearchesRequest) {
|
|
1340
1412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1354,7 +1426,8 @@ class LoggingManagementClient {
|
|
|
1354
1426
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1355
1427
|
"opc-request-id": listLogIncludedSearchesRequest.opcRequestId
|
|
1356
1428
|
};
|
|
1357
|
-
const
|
|
1429
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1430
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogIncludedSearchesRequest.retryConfiguration, specRetryConfiguration);
|
|
1358
1431
|
if (this.logger)
|
|
1359
1432
|
retrier.logger = this.logger;
|
|
1360
1433
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1402,10 +1475,11 @@ class LoggingManagementClient {
|
|
|
1402
1475
|
/**
|
|
1403
1476
|
* Lists Logging Saved Searches for this compartment.
|
|
1404
1477
|
*
|
|
1478
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1405
1479
|
* @param ListLogSavedSearchesRequest
|
|
1406
1480
|
* @return ListLogSavedSearchesResponse
|
|
1407
1481
|
* @throws OciError when an error occurs
|
|
1408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1482
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
|
|
1409
1483
|
*/
|
|
1410
1484
|
listLogSavedSearches(listLogSavedSearchesRequest) {
|
|
1411
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1425,7 +1499,8 @@ class LoggingManagementClient {
|
|
|
1425
1499
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1426
1500
|
"opc-request-id": listLogSavedSearchesRequest.opcRequestId
|
|
1427
1501
|
};
|
|
1428
|
-
const
|
|
1502
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1503
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogSavedSearchesRequest.retryConfiguration, specRetryConfiguration);
|
|
1429
1504
|
if (this.logger)
|
|
1430
1505
|
retrier.logger = this.logger;
|
|
1431
1506
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1472,10 +1547,11 @@ class LoggingManagementClient {
|
|
|
1472
1547
|
}
|
|
1473
1548
|
/**
|
|
1474
1549
|
* Lists the specified log group's log objects.
|
|
1550
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1475
1551
|
* @param ListLogsRequest
|
|
1476
1552
|
* @return ListLogsResponse
|
|
1477
1553
|
* @throws OciError when an error occurs
|
|
1478
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1554
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
|
|
1479
1555
|
*/
|
|
1480
1556
|
listLogs(listLogsRequest) {
|
|
1481
1557
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1499,7 +1575,8 @@ class LoggingManagementClient {
|
|
|
1499
1575
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1500
1576
|
"opc-request-id": listLogsRequest.opcRequestId
|
|
1501
1577
|
};
|
|
1502
|
-
const
|
|
1578
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1579
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1503
1580
|
if (this.logger)
|
|
1504
1581
|
retrier.logger = this.logger;
|
|
1505
1582
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1545,6 +1622,7 @@ class LoggingManagementClient {
|
|
|
1545
1622
|
});
|
|
1546
1623
|
}
|
|
1547
1624
|
/**
|
|
1625
|
+
* NOTE: This function is deprecated in favor of listLogsRecordIterator function.
|
|
1548
1626
|
* Creates a new async iterator which will iterate over the models.LogSummary objects
|
|
1549
1627
|
* contained in responses from the listLogs operation. This iterator will fetch more data from the
|
|
1550
1628
|
* server as needed.
|
|
@@ -1555,6 +1633,7 @@ class LoggingManagementClient {
|
|
|
1555
1633
|
return oci_common_1.paginateRecords(request, req => this.listLogs(req));
|
|
1556
1634
|
}
|
|
1557
1635
|
/**
|
|
1636
|
+
* NOTE: This function is deprecated in favor of listLogsResponseIterator function.
|
|
1558
1637
|
* Creates a new async iterator which will iterate over the responses received from the listLogs operation. This iterator
|
|
1559
1638
|
* will fetch more data from the server as needed.
|
|
1560
1639
|
*
|
|
@@ -1563,12 +1642,32 @@ class LoggingManagementClient {
|
|
|
1563
1642
|
listAllLogsResponses(request) {
|
|
1564
1643
|
return oci_common_1.paginateResponses(request, req => this.listLogs(req));
|
|
1565
1644
|
}
|
|
1645
|
+
/**
|
|
1646
|
+
* Creates a new async iterator which will iterate over the models.LogSummary objects
|
|
1647
|
+
* contained in responses from the listLogs operation. This iterator will fetch more data from the
|
|
1648
|
+
* server as needed.
|
|
1649
|
+
*
|
|
1650
|
+
* @param request a request which can be sent to the service operation
|
|
1651
|
+
*/
|
|
1652
|
+
listLogsRecordIterator(request) {
|
|
1653
|
+
return oci_common_1.paginateRecords(request, req => this.listLogs(req));
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* Creates a new async iterator which will iterate over the responses received from the listLogs operation. This iterator
|
|
1657
|
+
* will fetch more data from the server as needed.
|
|
1658
|
+
*
|
|
1659
|
+
* @param request a request which can be sent to the service operation
|
|
1660
|
+
*/
|
|
1661
|
+
listLogsResponseIterator(request) {
|
|
1662
|
+
return oci_common_1.paginateResponses(request, req => this.listLogs(req));
|
|
1663
|
+
}
|
|
1566
1664
|
/**
|
|
1567
1665
|
* Lists all services that support logging.
|
|
1666
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1568
1667
|
* @param ListServicesRequest
|
|
1569
1668
|
* @return ListServicesResponse
|
|
1570
1669
|
* @throws OciError when an error occurs
|
|
1571
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1670
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListServices.ts.html |here} to see how to use ListServices API.
|
|
1572
1671
|
*/
|
|
1573
1672
|
listServices(listServicesRequest) {
|
|
1574
1673
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1580,7 +1679,8 @@ class LoggingManagementClient {
|
|
|
1580
1679
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1581
1680
|
"opc-request-id": listServicesRequest.opcRequestId
|
|
1582
1681
|
};
|
|
1583
|
-
const
|
|
1682
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1683
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServicesRequest.retryConfiguration, specRetryConfiguration);
|
|
1584
1684
|
if (this.logger)
|
|
1585
1685
|
retrier.logger = this.logger;
|
|
1586
1686
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1627,10 +1727,11 @@ class LoggingManagementClient {
|
|
|
1627
1727
|
}
|
|
1628
1728
|
/**
|
|
1629
1729
|
* Lists all unified agent configurations in the specified compartment.
|
|
1730
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1630
1731
|
* @param ListUnifiedAgentConfigurationsRequest
|
|
1631
1732
|
* @return ListUnifiedAgentConfigurationsResponse
|
|
1632
1733
|
* @throws OciError when an error occurs
|
|
1633
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1734
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
|
|
1634
1735
|
*/
|
|
1635
1736
|
listUnifiedAgentConfigurations(listUnifiedAgentConfigurationsRequest) {
|
|
1636
1737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1653,7 +1754,8 @@ class LoggingManagementClient {
|
|
|
1653
1754
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1654
1755
|
"opc-request-id": listUnifiedAgentConfigurationsRequest.opcRequestId
|
|
1655
1756
|
};
|
|
1656
|
-
const
|
|
1757
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1758
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUnifiedAgentConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1657
1759
|
if (this.logger)
|
|
1658
1760
|
retrier.logger = this.logger;
|
|
1659
1761
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1701,10 +1803,11 @@ class LoggingManagementClient {
|
|
|
1701
1803
|
/**
|
|
1702
1804
|
* Return a list of errors for a given work request.
|
|
1703
1805
|
*
|
|
1806
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1704
1807
|
* @param ListWorkRequestErrorsRequest
|
|
1705
1808
|
* @return ListWorkRequestErrorsResponse
|
|
1706
1809
|
* @throws OciError when an error occurs
|
|
1707
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1810
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1708
1811
|
*/
|
|
1709
1812
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1710
1813
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1721,7 +1824,8 @@ class LoggingManagementClient {
|
|
|
1721
1824
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1722
1825
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1723
1826
|
};
|
|
1724
|
-
const
|
|
1827
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1828
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1725
1829
|
if (this.logger)
|
|
1726
1830
|
retrier.logger = this.logger;
|
|
1727
1831
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1762,6 +1866,7 @@ class LoggingManagementClient {
|
|
|
1762
1866
|
});
|
|
1763
1867
|
}
|
|
1764
1868
|
/**
|
|
1869
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
|
|
1765
1870
|
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1766
1871
|
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1767
1872
|
* server as needed.
|
|
@@ -1772,6 +1877,7 @@ class LoggingManagementClient {
|
|
|
1772
1877
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1773
1878
|
}
|
|
1774
1879
|
/**
|
|
1880
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
|
|
1775
1881
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1776
1882
|
* will fetch more data from the server as needed.
|
|
1777
1883
|
*
|
|
@@ -1780,13 +1886,33 @@ class LoggingManagementClient {
|
|
|
1780
1886
|
listAllWorkRequestErrorsResponses(request) {
|
|
1781
1887
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1782
1888
|
}
|
|
1889
|
+
/**
|
|
1890
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1891
|
+
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1892
|
+
* server as needed.
|
|
1893
|
+
*
|
|
1894
|
+
* @param request a request which can be sent to the service operation
|
|
1895
|
+
*/
|
|
1896
|
+
listWorkRequestErrorsRecordIterator(request) {
|
|
1897
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1898
|
+
}
|
|
1899
|
+
/**
|
|
1900
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1901
|
+
* will fetch more data from the server as needed.
|
|
1902
|
+
*
|
|
1903
|
+
* @param request a request which can be sent to the service operation
|
|
1904
|
+
*/
|
|
1905
|
+
listWorkRequestErrorsResponseIterator(request) {
|
|
1906
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1907
|
+
}
|
|
1783
1908
|
/**
|
|
1784
1909
|
* Return a list of logs for a given work request.
|
|
1785
1910
|
*
|
|
1911
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1786
1912
|
* @param ListWorkRequestLogsRequest
|
|
1787
1913
|
* @return ListWorkRequestLogsResponse
|
|
1788
1914
|
* @throws OciError when an error occurs
|
|
1789
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1790
1916
|
*/
|
|
1791
1917
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1792
1918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1803,7 +1929,8 @@ class LoggingManagementClient {
|
|
|
1803
1929
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1804
1930
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1805
1931
|
};
|
|
1806
|
-
const
|
|
1932
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1933
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1807
1934
|
if (this.logger)
|
|
1808
1935
|
retrier.logger = this.logger;
|
|
1809
1936
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1844,6 +1971,7 @@ class LoggingManagementClient {
|
|
|
1844
1971
|
});
|
|
1845
1972
|
}
|
|
1846
1973
|
/**
|
|
1974
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
|
|
1847
1975
|
* Creates a new async iterator which will iterate over the models.WorkRequestLog objects
|
|
1848
1976
|
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1849
1977
|
* server as needed.
|
|
@@ -1854,6 +1982,7 @@ class LoggingManagementClient {
|
|
|
1854
1982
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1855
1983
|
}
|
|
1856
1984
|
/**
|
|
1985
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
|
|
1857
1986
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1858
1987
|
* will fetch more data from the server as needed.
|
|
1859
1988
|
*
|
|
@@ -1862,13 +1991,33 @@ class LoggingManagementClient {
|
|
|
1862
1991
|
listAllWorkRequestLogsResponses(request) {
|
|
1863
1992
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1864
1993
|
}
|
|
1994
|
+
/**
|
|
1995
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestLog objects
|
|
1996
|
+
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1997
|
+
* server as needed.
|
|
1998
|
+
*
|
|
1999
|
+
* @param request a request which can be sent to the service operation
|
|
2000
|
+
*/
|
|
2001
|
+
listWorkRequestLogsRecordIterator(request) {
|
|
2002
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
2003
|
+
}
|
|
2004
|
+
/**
|
|
2005
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
2006
|
+
* will fetch more data from the server as needed.
|
|
2007
|
+
*
|
|
2008
|
+
* @param request a request which can be sent to the service operation
|
|
2009
|
+
*/
|
|
2010
|
+
listWorkRequestLogsResponseIterator(request) {
|
|
2011
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
2012
|
+
}
|
|
1865
2013
|
/**
|
|
1866
2014
|
* Lists the work requests in a compartment.
|
|
1867
2015
|
*
|
|
2016
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1868
2017
|
* @param ListWorkRequestsRequest
|
|
1869
2018
|
* @return ListWorkRequestsResponse
|
|
1870
2019
|
* @throws OciError when an error occurs
|
|
1871
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1872
2021
|
*/
|
|
1873
2022
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1874
2023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1888,7 +2037,8 @@ class LoggingManagementClient {
|
|
|
1888
2037
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1889
2038
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1890
2039
|
};
|
|
1891
|
-
const
|
|
2040
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2041
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1892
2042
|
if (this.logger)
|
|
1893
2043
|
retrier.logger = this.logger;
|
|
1894
2044
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1934,6 +2084,7 @@ class LoggingManagementClient {
|
|
|
1934
2084
|
});
|
|
1935
2085
|
}
|
|
1936
2086
|
/**
|
|
2087
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
1937
2088
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
1938
2089
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1939
2090
|
* server as needed.
|
|
@@ -1944,6 +2095,7 @@ class LoggingManagementClient {
|
|
|
1944
2095
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1945
2096
|
}
|
|
1946
2097
|
/**
|
|
2098
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
1947
2099
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1948
2100
|
* will fetch more data from the server as needed.
|
|
1949
2101
|
*
|
|
@@ -1952,14 +2104,34 @@ class LoggingManagementClient {
|
|
|
1952
2104
|
listAllWorkRequestsResponses(request) {
|
|
1953
2105
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1954
2106
|
}
|
|
2107
|
+
/**
|
|
2108
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
2109
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
2110
|
+
* server as needed.
|
|
2111
|
+
*
|
|
2112
|
+
* @param request a request which can be sent to the service operation
|
|
2113
|
+
*/
|
|
2114
|
+
listWorkRequestsRecordIterator(request) {
|
|
2115
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
2119
|
+
* will fetch more data from the server as needed.
|
|
2120
|
+
*
|
|
2121
|
+
* @param request a request which can be sent to the service operation
|
|
2122
|
+
*/
|
|
2123
|
+
listWorkRequestsResponseIterator(request) {
|
|
2124
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
2125
|
+
}
|
|
1955
2126
|
/**
|
|
1956
2127
|
* Updates the existing log object with the associated configuration. This call
|
|
1957
2128
|
* fails if the log object does not exist.
|
|
1958
2129
|
*
|
|
2130
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1959
2131
|
* @param UpdateLogRequest
|
|
1960
2132
|
* @return UpdateLogResponse
|
|
1961
2133
|
* @throws OciError when an error occurs
|
|
1962
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2134
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
|
|
1963
2135
|
*/
|
|
1964
2136
|
updateLog(updateLogRequest) {
|
|
1965
2137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1975,7 +2147,8 @@ class LoggingManagementClient {
|
|
|
1975
2147
|
"if-match": updateLogRequest.ifMatch,
|
|
1976
2148
|
"opc-request-id": updateLogRequest.opcRequestId
|
|
1977
2149
|
};
|
|
1978
|
-
const
|
|
2150
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2151
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogRequest.retryConfiguration, specRetryConfiguration);
|
|
1979
2152
|
if (this.logger)
|
|
1980
2153
|
retrier.logger = this.logger;
|
|
1981
2154
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2016,10 +2189,11 @@ class LoggingManagementClient {
|
|
|
2016
2189
|
* Updates the existing log group with the associated configuration. This call
|
|
2017
2190
|
* fails if the log group does not exist.
|
|
2018
2191
|
*
|
|
2192
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2019
2193
|
* @param UpdateLogGroupRequest
|
|
2020
2194
|
* @return UpdateLogGroupResponse
|
|
2021
2195
|
* @throws OciError when an error occurs
|
|
2022
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
|
|
2023
2197
|
*/
|
|
2024
2198
|
updateLogGroup(updateLogGroupRequest) {
|
|
2025
2199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2034,7 +2208,8 @@ class LoggingManagementClient {
|
|
|
2034
2208
|
"if-match": updateLogGroupRequest.ifMatch,
|
|
2035
2209
|
"opc-request-id": updateLogGroupRequest.opcRequestId
|
|
2036
2210
|
};
|
|
2037
|
-
const
|
|
2211
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2212
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
2038
2213
|
if (this.logger)
|
|
2039
2214
|
retrier.logger = this.logger;
|
|
2040
2215
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2074,10 +2249,11 @@ class LoggingManagementClient {
|
|
|
2074
2249
|
/**
|
|
2075
2250
|
* Updates an existing log saved search.
|
|
2076
2251
|
*
|
|
2252
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2077
2253
|
* @param UpdateLogSavedSearchRequest
|
|
2078
2254
|
* @return UpdateLogSavedSearchResponse
|
|
2079
2255
|
* @throws OciError when an error occurs
|
|
2080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2256
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
|
|
2081
2257
|
*/
|
|
2082
2258
|
updateLogSavedSearch(updateLogSavedSearchRequest) {
|
|
2083
2259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2092,7 +2268,8 @@ class LoggingManagementClient {
|
|
|
2092
2268
|
"if-match": updateLogSavedSearchRequest.ifMatch,
|
|
2093
2269
|
"opc-request-id": updateLogSavedSearchRequest.opcRequestId
|
|
2094
2270
|
};
|
|
2095
|
-
const
|
|
2271
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2272
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
2096
2273
|
if (this.logger)
|
|
2097
2274
|
retrier.logger = this.logger;
|
|
2098
2275
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2137,10 +2314,11 @@ class LoggingManagementClient {
|
|
|
2137
2314
|
* Update an existing unified agent configuration. This call
|
|
2138
2315
|
* fails if the log group does not exist.
|
|
2139
2316
|
*
|
|
2317
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2140
2318
|
* @param UpdateUnifiedAgentConfigurationRequest
|
|
2141
2319
|
* @return UpdateUnifiedAgentConfigurationResponse
|
|
2142
2320
|
* @throws OciError when an error occurs
|
|
2143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
|
|
2144
2322
|
*/
|
|
2145
2323
|
updateUnifiedAgentConfiguration(updateUnifiedAgentConfigurationRequest) {
|
|
2146
2324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2155,7 +2333,8 @@ class LoggingManagementClient {
|
|
|
2155
2333
|
"if-match": updateUnifiedAgentConfigurationRequest.ifMatch,
|
|
2156
2334
|
"opc-request-id": updateUnifiedAgentConfigurationRequest.opcRequestId
|
|
2157
2335
|
};
|
|
2158
|
-
const
|
|
2336
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2337
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2159
2338
|
if (this.logger)
|
|
2160
2339
|
retrier.logger = this.logger;
|
|
2161
2340
|
const request = yield oci_common_2.composeRequest({
|