oci-logging 2.5.2 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +67 -32
- package/lib/client.js +138 -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 uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
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 = true;
|
|
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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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({
|
|
@@ -1352,10 +1402,11 @@ class LoggingManagementClient {
|
|
|
1352
1402
|
/**
|
|
1353
1403
|
* Lists Logging Included Searches for this compartment.
|
|
1354
1404
|
*
|
|
1405
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1355
1406
|
* @param ListLogIncludedSearchesRequest
|
|
1356
1407
|
* @return ListLogIncludedSearchesResponse
|
|
1357
1408
|
* @throws OciError when an error occurs
|
|
1358
|
-
* @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.8.0/logging/ListLogIncludedSearches.ts.html |here} to see how to use ListLogIncludedSearches API.
|
|
1359
1410
|
*/
|
|
1360
1411
|
listLogIncludedSearches(listLogIncludedSearchesRequest) {
|
|
1361
1412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1375,7 +1426,8 @@ class LoggingManagementClient {
|
|
|
1375
1426
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1376
1427
|
"opc-request-id": listLogIncludedSearchesRequest.opcRequestId
|
|
1377
1428
|
};
|
|
1378
|
-
const
|
|
1429
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1430
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogIncludedSearchesRequest.retryConfiguration, specRetryConfiguration);
|
|
1379
1431
|
if (this.logger)
|
|
1380
1432
|
retrier.logger = this.logger;
|
|
1381
1433
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1423,10 +1475,11 @@ class LoggingManagementClient {
|
|
|
1423
1475
|
/**
|
|
1424
1476
|
* Lists Logging Saved Searches for this compartment.
|
|
1425
1477
|
*
|
|
1478
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1426
1479
|
* @param ListLogSavedSearchesRequest
|
|
1427
1480
|
* @return ListLogSavedSearchesResponse
|
|
1428
1481
|
* @throws OciError when an error occurs
|
|
1429
|
-
* @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.8.0/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
|
|
1430
1483
|
*/
|
|
1431
1484
|
listLogSavedSearches(listLogSavedSearchesRequest) {
|
|
1432
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1446,7 +1499,8 @@ class LoggingManagementClient {
|
|
|
1446
1499
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1447
1500
|
"opc-request-id": listLogSavedSearchesRequest.opcRequestId
|
|
1448
1501
|
};
|
|
1449
|
-
const
|
|
1502
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1503
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogSavedSearchesRequest.retryConfiguration, specRetryConfiguration);
|
|
1450
1504
|
if (this.logger)
|
|
1451
1505
|
retrier.logger = this.logger;
|
|
1452
1506
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1493,10 +1547,11 @@ class LoggingManagementClient {
|
|
|
1493
1547
|
}
|
|
1494
1548
|
/**
|
|
1495
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.
|
|
1496
1551
|
* @param ListLogsRequest
|
|
1497
1552
|
* @return ListLogsResponse
|
|
1498
1553
|
* @throws OciError when an error occurs
|
|
1499
|
-
* @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.8.0/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
|
|
1500
1555
|
*/
|
|
1501
1556
|
listLogs(listLogsRequest) {
|
|
1502
1557
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1520,7 +1575,8 @@ class LoggingManagementClient {
|
|
|
1520
1575
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1521
1576
|
"opc-request-id": listLogsRequest.opcRequestId
|
|
1522
1577
|
};
|
|
1523
|
-
const
|
|
1578
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1579
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1524
1580
|
if (this.logger)
|
|
1525
1581
|
retrier.logger = this.logger;
|
|
1526
1582
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1607,10 +1663,11 @@ class LoggingManagementClient {
|
|
|
1607
1663
|
}
|
|
1608
1664
|
/**
|
|
1609
1665
|
* Lists all services that support logging.
|
|
1666
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1610
1667
|
* @param ListServicesRequest
|
|
1611
1668
|
* @return ListServicesResponse
|
|
1612
1669
|
* @throws OciError when an error occurs
|
|
1613
|
-
* @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.8.0/logging/ListServices.ts.html |here} to see how to use ListServices API.
|
|
1614
1671
|
*/
|
|
1615
1672
|
listServices(listServicesRequest) {
|
|
1616
1673
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1622,7 +1679,8 @@ class LoggingManagementClient {
|
|
|
1622
1679
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1623
1680
|
"opc-request-id": listServicesRequest.opcRequestId
|
|
1624
1681
|
};
|
|
1625
|
-
const
|
|
1682
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1683
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServicesRequest.retryConfiguration, specRetryConfiguration);
|
|
1626
1684
|
if (this.logger)
|
|
1627
1685
|
retrier.logger = this.logger;
|
|
1628
1686
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1669,10 +1727,11 @@ class LoggingManagementClient {
|
|
|
1669
1727
|
}
|
|
1670
1728
|
/**
|
|
1671
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.
|
|
1672
1731
|
* @param ListUnifiedAgentConfigurationsRequest
|
|
1673
1732
|
* @return ListUnifiedAgentConfigurationsResponse
|
|
1674
1733
|
* @throws OciError when an error occurs
|
|
1675
|
-
* @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.8.0/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
|
|
1676
1735
|
*/
|
|
1677
1736
|
listUnifiedAgentConfigurations(listUnifiedAgentConfigurationsRequest) {
|
|
1678
1737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1695,7 +1754,8 @@ class LoggingManagementClient {
|
|
|
1695
1754
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1696
1755
|
"opc-request-id": listUnifiedAgentConfigurationsRequest.opcRequestId
|
|
1697
1756
|
};
|
|
1698
|
-
const
|
|
1757
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1758
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUnifiedAgentConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1699
1759
|
if (this.logger)
|
|
1700
1760
|
retrier.logger = this.logger;
|
|
1701
1761
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1743,10 +1803,11 @@ class LoggingManagementClient {
|
|
|
1743
1803
|
/**
|
|
1744
1804
|
* Return a list of errors for a given work request.
|
|
1745
1805
|
*
|
|
1806
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1746
1807
|
* @param ListWorkRequestErrorsRequest
|
|
1747
1808
|
* @return ListWorkRequestErrorsResponse
|
|
1748
1809
|
* @throws OciError when an error occurs
|
|
1749
|
-
* @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.8.0/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1750
1811
|
*/
|
|
1751
1812
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1752
1813
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1763,7 +1824,8 @@ class LoggingManagementClient {
|
|
|
1763
1824
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1764
1825
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1765
1826
|
};
|
|
1766
|
-
const
|
|
1827
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1828
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1767
1829
|
if (this.logger)
|
|
1768
1830
|
retrier.logger = this.logger;
|
|
1769
1831
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1846,10 +1908,11 @@ class LoggingManagementClient {
|
|
|
1846
1908
|
/**
|
|
1847
1909
|
* Return a list of logs for a given work request.
|
|
1848
1910
|
*
|
|
1911
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1849
1912
|
* @param ListWorkRequestLogsRequest
|
|
1850
1913
|
* @return ListWorkRequestLogsResponse
|
|
1851
1914
|
* @throws OciError when an error occurs
|
|
1852
|
-
* @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.8.0/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1853
1916
|
*/
|
|
1854
1917
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1855
1918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1866,7 +1929,8 @@ class LoggingManagementClient {
|
|
|
1866
1929
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1867
1930
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1868
1931
|
};
|
|
1869
|
-
const
|
|
1932
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1933
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1870
1934
|
if (this.logger)
|
|
1871
1935
|
retrier.logger = this.logger;
|
|
1872
1936
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1949,10 +2013,11 @@ class LoggingManagementClient {
|
|
|
1949
2013
|
/**
|
|
1950
2014
|
* Lists the work requests in a compartment.
|
|
1951
2015
|
*
|
|
2016
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1952
2017
|
* @param ListWorkRequestsRequest
|
|
1953
2018
|
* @return ListWorkRequestsResponse
|
|
1954
2019
|
* @throws OciError when an error occurs
|
|
1955
|
-
* @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.8.0/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1956
2021
|
*/
|
|
1957
2022
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1958
2023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1972,7 +2037,8 @@ class LoggingManagementClient {
|
|
|
1972
2037
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1973
2038
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1974
2039
|
};
|
|
1975
|
-
const
|
|
2040
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2041
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1976
2042
|
if (this.logger)
|
|
1977
2043
|
retrier.logger = this.logger;
|
|
1978
2044
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2061,10 +2127,11 @@ class LoggingManagementClient {
|
|
|
2061
2127
|
* Updates the existing log object with the associated configuration. This call
|
|
2062
2128
|
* fails if the log object does not exist.
|
|
2063
2129
|
*
|
|
2130
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2064
2131
|
* @param UpdateLogRequest
|
|
2065
2132
|
* @return UpdateLogResponse
|
|
2066
2133
|
* @throws OciError when an error occurs
|
|
2067
|
-
* @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.8.0/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
|
|
2068
2135
|
*/
|
|
2069
2136
|
updateLog(updateLogRequest) {
|
|
2070
2137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2080,7 +2147,8 @@ class LoggingManagementClient {
|
|
|
2080
2147
|
"if-match": updateLogRequest.ifMatch,
|
|
2081
2148
|
"opc-request-id": updateLogRequest.opcRequestId
|
|
2082
2149
|
};
|
|
2083
|
-
const
|
|
2150
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2151
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogRequest.retryConfiguration, specRetryConfiguration);
|
|
2084
2152
|
if (this.logger)
|
|
2085
2153
|
retrier.logger = this.logger;
|
|
2086
2154
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2121,10 +2189,11 @@ class LoggingManagementClient {
|
|
|
2121
2189
|
* Updates the existing log group with the associated configuration. This call
|
|
2122
2190
|
* fails if the log group does not exist.
|
|
2123
2191
|
*
|
|
2192
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2124
2193
|
* @param UpdateLogGroupRequest
|
|
2125
2194
|
* @return UpdateLogGroupResponse
|
|
2126
2195
|
* @throws OciError when an error occurs
|
|
2127
|
-
* @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.8.0/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
|
|
2128
2197
|
*/
|
|
2129
2198
|
updateLogGroup(updateLogGroupRequest) {
|
|
2130
2199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2139,7 +2208,8 @@ class LoggingManagementClient {
|
|
|
2139
2208
|
"if-match": updateLogGroupRequest.ifMatch,
|
|
2140
2209
|
"opc-request-id": updateLogGroupRequest.opcRequestId
|
|
2141
2210
|
};
|
|
2142
|
-
const
|
|
2211
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2212
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
2143
2213
|
if (this.logger)
|
|
2144
2214
|
retrier.logger = this.logger;
|
|
2145
2215
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2179,10 +2249,11 @@ class LoggingManagementClient {
|
|
|
2179
2249
|
/**
|
|
2180
2250
|
* Updates an existing log saved search.
|
|
2181
2251
|
*
|
|
2252
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2182
2253
|
* @param UpdateLogSavedSearchRequest
|
|
2183
2254
|
* @return UpdateLogSavedSearchResponse
|
|
2184
2255
|
* @throws OciError when an error occurs
|
|
2185
|
-
* @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.8.0/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
|
|
2186
2257
|
*/
|
|
2187
2258
|
updateLogSavedSearch(updateLogSavedSearchRequest) {
|
|
2188
2259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2197,7 +2268,8 @@ class LoggingManagementClient {
|
|
|
2197
2268
|
"if-match": updateLogSavedSearchRequest.ifMatch,
|
|
2198
2269
|
"opc-request-id": updateLogSavedSearchRequest.opcRequestId
|
|
2199
2270
|
};
|
|
2200
|
-
const
|
|
2271
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2272
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
2201
2273
|
if (this.logger)
|
|
2202
2274
|
retrier.logger = this.logger;
|
|
2203
2275
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2242,10 +2314,11 @@ class LoggingManagementClient {
|
|
|
2242
2314
|
* Update an existing unified agent configuration. This call
|
|
2243
2315
|
* fails if the log group does not exist.
|
|
2244
2316
|
*
|
|
2317
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2245
2318
|
* @param UpdateUnifiedAgentConfigurationRequest
|
|
2246
2319
|
* @return UpdateUnifiedAgentConfigurationResponse
|
|
2247
2320
|
* @throws OciError when an error occurs
|
|
2248
|
-
* @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.8.0/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
|
|
2249
2322
|
*/
|
|
2250
2323
|
updateUnifiedAgentConfiguration(updateUnifiedAgentConfigurationRequest) {
|
|
2251
2324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2260,7 +2333,8 @@ class LoggingManagementClient {
|
|
|
2260
2333
|
"if-match": updateUnifiedAgentConfigurationRequest.ifMatch,
|
|
2261
2334
|
"opc-request-id": updateUnifiedAgentConfigurationRequest.opcRequestId
|
|
2262
2335
|
};
|
|
2263
|
-
const
|
|
2336
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2337
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2264
2338
|
if (this.logger)
|
|
2265
2339
|
retrier.logger = this.logger;
|
|
2266
2340
|
const request = yield oci_common_2.composeRequest({
|