oci-logging 2.79.0 → 2.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +30 -31
- package/lib/client.js +62 -157
- package/lib/client.js.map +1 -1
- package/lib/model/source.js +2 -4
- package/lib/model/source.js.map +1 -1
- package/lib/model/unified-agent-logging-source.js +2 -4
- package/lib/model/unified-agent-logging-source.js.map +1 -1
- package/lib/model/unified-agent-parser.js +2 -4
- package/lib/model/unified-agent-parser.js.map +1 -1
- package/lib/model/unified-agent-service-configuration-details.js +2 -4
- package/lib/model/unified-agent-service-configuration-details.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-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-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
|
@@ -121,11 +121,7 @@ class LoggingManagementClient {
|
|
|
121
121
|
set endpoint(endpoint) {
|
|
122
122
|
this._endpoint = endpoint;
|
|
123
123
|
this._endpoint = this._endpoint + "/20200531";
|
|
124
|
-
|
|
125
|
-
this.logger.info(`LoggingManagementClient endpoint set to ${this._endpoint}`);
|
|
126
|
-
}
|
|
127
|
-
get logger() {
|
|
128
|
-
return common.LOG.logger;
|
|
124
|
+
oci_common_2.logger.info(`LoggingManagementClient endpoint set to ${this._endpoint}`);
|
|
129
125
|
}
|
|
130
126
|
/**
|
|
131
127
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -134,8 +130,7 @@ class LoggingManagementClient {
|
|
|
134
130
|
*/
|
|
135
131
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
136
132
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
137
|
-
|
|
138
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
133
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
139
134
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
140
135
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(LoggingManagementClient.serviceEndpointTemplate, this._region, LoggingManagementClient.endpointServiceName);
|
|
141
136
|
}
|
|
@@ -203,12 +198,11 @@ class LoggingManagementClient {
|
|
|
203
198
|
* @param ChangeLogGroupCompartmentRequest
|
|
204
199
|
* @return ChangeLogGroupCompartmentResponse
|
|
205
200
|
* @throws OciError when an error occurs
|
|
206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
|
|
207
202
|
*/
|
|
208
203
|
changeLogGroupCompartment(changeLogGroupCompartmentRequest) {
|
|
209
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
-
|
|
211
|
-
this.logger.debug("Calling operation LoggingManagementClient#changeLogGroupCompartment.");
|
|
205
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeLogGroupCompartment.");
|
|
212
206
|
const operationName = "changeLogGroupCompartment";
|
|
213
207
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/ChangeLogGroupCompartment";
|
|
214
208
|
const pathParams = {
|
|
@@ -222,8 +216,6 @@ class LoggingManagementClient {
|
|
|
222
216
|
};
|
|
223
217
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
224
218
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
225
|
-
if (this.logger)
|
|
226
|
-
retrier.logger = this.logger;
|
|
227
219
|
const request = yield oci_common_2.composeRequest({
|
|
228
220
|
baseEndpoint: this._endpoint,
|
|
229
221
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -265,12 +257,11 @@ class LoggingManagementClient {
|
|
|
265
257
|
* @param ChangeLogLogGroupRequest
|
|
266
258
|
* @return ChangeLogLogGroupResponse
|
|
267
259
|
* @throws OciError when an error occurs
|
|
268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
|
|
269
261
|
*/
|
|
270
262
|
changeLogLogGroup(changeLogLogGroupRequest) {
|
|
271
263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
272
|
-
|
|
273
|
-
this.logger.debug("Calling operation LoggingManagementClient#changeLogLogGroup.");
|
|
264
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeLogLogGroup.");
|
|
274
265
|
const operationName = "changeLogLogGroup";
|
|
275
266
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/ChangeLogLogGroup";
|
|
276
267
|
const pathParams = {
|
|
@@ -285,8 +276,6 @@ class LoggingManagementClient {
|
|
|
285
276
|
};
|
|
286
277
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
287
278
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
288
|
-
if (this.logger)
|
|
289
|
-
retrier.logger = this.logger;
|
|
290
279
|
const request = yield oci_common_2.composeRequest({
|
|
291
280
|
baseEndpoint: this._endpoint,
|
|
292
281
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -329,12 +318,11 @@ class LoggingManagementClient {
|
|
|
329
318
|
* @param ChangeLogSavedSearchCompartmentRequest
|
|
330
319
|
* @return ChangeLogSavedSearchCompartmentResponse
|
|
331
320
|
* @throws OciError when an error occurs
|
|
332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
|
|
333
322
|
*/
|
|
334
323
|
changeLogSavedSearchCompartment(changeLogSavedSearchCompartmentRequest) {
|
|
335
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
336
|
-
|
|
337
|
-
this.logger.debug("Calling operation LoggingManagementClient#changeLogSavedSearchCompartment.");
|
|
325
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeLogSavedSearchCompartment.");
|
|
338
326
|
const operationName = "changeLogSavedSearchCompartment";
|
|
339
327
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ChangeLogSavedSearchCompartment";
|
|
340
328
|
const pathParams = {
|
|
@@ -349,8 +337,6 @@ class LoggingManagementClient {
|
|
|
349
337
|
};
|
|
350
338
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
351
339
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogSavedSearchCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
352
|
-
if (this.logger)
|
|
353
|
-
retrier.logger = this.logger;
|
|
354
340
|
const request = yield oci_common_2.composeRequest({
|
|
355
341
|
baseEndpoint: this._endpoint,
|
|
356
342
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -388,12 +374,11 @@ class LoggingManagementClient {
|
|
|
388
374
|
* @param ChangeUnifiedAgentConfigurationCompartmentRequest
|
|
389
375
|
* @return ChangeUnifiedAgentConfigurationCompartmentResponse
|
|
390
376
|
* @throws OciError when an error occurs
|
|
391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
377
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
|
|
392
378
|
*/
|
|
393
379
|
changeUnifiedAgentConfigurationCompartment(changeUnifiedAgentConfigurationCompartmentRequest) {
|
|
394
380
|
return __awaiter(this, void 0, void 0, function* () {
|
|
395
|
-
|
|
396
|
-
this.logger.debug("Calling operation LoggingManagementClient#changeUnifiedAgentConfigurationCompartment.");
|
|
381
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeUnifiedAgentConfigurationCompartment.");
|
|
397
382
|
const operationName = "changeUnifiedAgentConfigurationCompartment";
|
|
398
383
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ChangeUnifiedAgentConfigurationCompartment";
|
|
399
384
|
const pathParams = {
|
|
@@ -408,8 +393,6 @@ class LoggingManagementClient {
|
|
|
408
393
|
};
|
|
409
394
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
410
395
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeUnifiedAgentConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
411
|
-
if (this.logger)
|
|
412
|
-
retrier.logger = this.logger;
|
|
413
396
|
const request = yield oci_common_2.composeRequest({
|
|
414
397
|
baseEndpoint: this._endpoint,
|
|
415
398
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -452,12 +435,11 @@ class LoggingManagementClient {
|
|
|
452
435
|
* @param CreateLogRequest
|
|
453
436
|
* @return CreateLogResponse
|
|
454
437
|
* @throws OciError when an error occurs
|
|
455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
438
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
|
|
456
439
|
*/
|
|
457
440
|
createLog(createLogRequest) {
|
|
458
441
|
return __awaiter(this, void 0, void 0, function* () {
|
|
459
|
-
|
|
460
|
-
this.logger.debug("Calling operation LoggingManagementClient#createLog.");
|
|
442
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#createLog.");
|
|
461
443
|
const operationName = "createLog";
|
|
462
444
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/CreateLog";
|
|
463
445
|
const pathParams = {
|
|
@@ -471,8 +453,6 @@ class LoggingManagementClient {
|
|
|
471
453
|
};
|
|
472
454
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
473
455
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogRequest.retryConfiguration, specRetryConfiguration);
|
|
474
|
-
if (this.logger)
|
|
475
|
-
retrier.logger = this.logger;
|
|
476
456
|
const request = yield oci_common_2.composeRequest({
|
|
477
457
|
baseEndpoint: this._endpoint,
|
|
478
458
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -515,12 +495,11 @@ class LoggingManagementClient {
|
|
|
515
495
|
* @param CreateLogGroupRequest
|
|
516
496
|
* @return CreateLogGroupResponse
|
|
517
497
|
* @throws OciError when an error occurs
|
|
518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
|
|
519
499
|
*/
|
|
520
500
|
createLogGroup(createLogGroupRequest) {
|
|
521
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
522
|
-
|
|
523
|
-
this.logger.debug("Calling operation LoggingManagementClient#createLogGroup.");
|
|
502
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#createLogGroup.");
|
|
524
503
|
const operationName = "createLogGroup";
|
|
525
504
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/CreateLogGroup";
|
|
526
505
|
const pathParams = {};
|
|
@@ -532,8 +511,6 @@ class LoggingManagementClient {
|
|
|
532
511
|
};
|
|
533
512
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
534
513
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
535
|
-
if (this.logger)
|
|
536
|
-
retrier.logger = this.logger;
|
|
537
514
|
const request = yield oci_common_2.composeRequest({
|
|
538
515
|
baseEndpoint: this._endpoint,
|
|
539
516
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -575,12 +552,11 @@ class LoggingManagementClient {
|
|
|
575
552
|
* @param CreateLogSavedSearchRequest
|
|
576
553
|
* @return CreateLogSavedSearchResponse
|
|
577
554
|
* @throws OciError when an error occurs
|
|
578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
|
|
579
556
|
*/
|
|
580
557
|
createLogSavedSearch(createLogSavedSearchRequest) {
|
|
581
558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
582
|
-
|
|
583
|
-
this.logger.debug("Calling operation LoggingManagementClient#createLogSavedSearch.");
|
|
559
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#createLogSavedSearch.");
|
|
584
560
|
const operationName = "createLogSavedSearch";
|
|
585
561
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/CreateLogSavedSearch";
|
|
586
562
|
const pathParams = {};
|
|
@@ -592,8 +568,6 @@ class LoggingManagementClient {
|
|
|
592
568
|
};
|
|
593
569
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
594
570
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
595
|
-
if (this.logger)
|
|
596
|
-
retrier.logger = this.logger;
|
|
597
571
|
const request = yield oci_common_2.composeRequest({
|
|
598
572
|
baseEndpoint: this._endpoint,
|
|
599
573
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -638,12 +612,11 @@ class LoggingManagementClient {
|
|
|
638
612
|
* @param CreateUnifiedAgentConfigurationRequest
|
|
639
613
|
* @return CreateUnifiedAgentConfigurationResponse
|
|
640
614
|
* @throws OciError when an error occurs
|
|
641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
615
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
|
|
642
616
|
*/
|
|
643
617
|
createUnifiedAgentConfiguration(createUnifiedAgentConfigurationRequest) {
|
|
644
618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
645
|
-
|
|
646
|
-
this.logger.debug("Calling operation LoggingManagementClient#createUnifiedAgentConfiguration.");
|
|
619
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#createUnifiedAgentConfiguration.");
|
|
647
620
|
const operationName = "createUnifiedAgentConfiguration";
|
|
648
621
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/CreateUnifiedAgentConfiguration";
|
|
649
622
|
const pathParams = {};
|
|
@@ -655,8 +628,6 @@ class LoggingManagementClient {
|
|
|
655
628
|
};
|
|
656
629
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
657
630
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
658
|
-
if (this.logger)
|
|
659
|
-
retrier.logger = this.logger;
|
|
660
631
|
const request = yield oci_common_2.composeRequest({
|
|
661
632
|
baseEndpoint: this._endpoint,
|
|
662
633
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -697,12 +668,11 @@ class LoggingManagementClient {
|
|
|
697
668
|
* @param DeleteLogRequest
|
|
698
669
|
* @return DeleteLogResponse
|
|
699
670
|
* @throws OciError when an error occurs
|
|
700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
|
|
701
672
|
*/
|
|
702
673
|
deleteLog(deleteLogRequest) {
|
|
703
674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
704
|
-
|
|
705
|
-
this.logger.debug("Calling operation LoggingManagementClient#deleteLog.");
|
|
675
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteLog.");
|
|
706
676
|
const operationName = "deleteLog";
|
|
707
677
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/DeleteLog";
|
|
708
678
|
const pathParams = {
|
|
@@ -717,8 +687,6 @@ class LoggingManagementClient {
|
|
|
717
687
|
};
|
|
718
688
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
719
689
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogRequest.retryConfiguration, specRetryConfiguration);
|
|
720
|
-
if (this.logger)
|
|
721
|
-
retrier.logger = this.logger;
|
|
722
690
|
const request = yield oci_common_2.composeRequest({
|
|
723
691
|
baseEndpoint: this._endpoint,
|
|
724
692
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -758,12 +726,11 @@ class LoggingManagementClient {
|
|
|
758
726
|
* @param DeleteLogGroupRequest
|
|
759
727
|
* @return DeleteLogGroupResponse
|
|
760
728
|
* @throws OciError when an error occurs
|
|
761
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
729
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
|
|
762
730
|
*/
|
|
763
731
|
deleteLogGroup(deleteLogGroupRequest) {
|
|
764
732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
765
|
-
|
|
766
|
-
this.logger.debug("Calling operation LoggingManagementClient#deleteLogGroup.");
|
|
733
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteLogGroup.");
|
|
767
734
|
const operationName = "deleteLogGroup";
|
|
768
735
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/DeleteLogGroup";
|
|
769
736
|
const pathParams = {
|
|
@@ -777,8 +744,6 @@ class LoggingManagementClient {
|
|
|
777
744
|
};
|
|
778
745
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
779
746
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
780
|
-
if (this.logger)
|
|
781
|
-
retrier.logger = this.logger;
|
|
782
747
|
const request = yield oci_common_2.composeRequest({
|
|
783
748
|
baseEndpoint: this._endpoint,
|
|
784
749
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -818,12 +783,11 @@ class LoggingManagementClient {
|
|
|
818
783
|
* @param DeleteLogSavedSearchRequest
|
|
819
784
|
* @return DeleteLogSavedSearchResponse
|
|
820
785
|
* @throws OciError when an error occurs
|
|
821
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
786
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
|
|
822
787
|
*/
|
|
823
788
|
deleteLogSavedSearch(deleteLogSavedSearchRequest) {
|
|
824
789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
|
-
|
|
826
|
-
this.logger.debug("Calling operation LoggingManagementClient#deleteLogSavedSearch.");
|
|
790
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteLogSavedSearch.");
|
|
827
791
|
const operationName = "deleteLogSavedSearch";
|
|
828
792
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/DeleteLogSavedSearch";
|
|
829
793
|
const pathParams = {
|
|
@@ -837,8 +801,6 @@ class LoggingManagementClient {
|
|
|
837
801
|
};
|
|
838
802
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
839
803
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
840
|
-
if (this.logger)
|
|
841
|
-
retrier.logger = this.logger;
|
|
842
804
|
const request = yield oci_common_2.composeRequest({
|
|
843
805
|
baseEndpoint: this._endpoint,
|
|
844
806
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -873,12 +835,11 @@ class LoggingManagementClient {
|
|
|
873
835
|
* @param DeleteUnifiedAgentConfigurationRequest
|
|
874
836
|
* @return DeleteUnifiedAgentConfigurationResponse
|
|
875
837
|
* @throws OciError when an error occurs
|
|
876
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
838
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
|
|
877
839
|
*/
|
|
878
840
|
deleteUnifiedAgentConfiguration(deleteUnifiedAgentConfigurationRequest) {
|
|
879
841
|
return __awaiter(this, void 0, void 0, function* () {
|
|
880
|
-
|
|
881
|
-
this.logger.debug("Calling operation LoggingManagementClient#deleteUnifiedAgentConfiguration.");
|
|
842
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteUnifiedAgentConfiguration.");
|
|
882
843
|
const operationName = "deleteUnifiedAgentConfiguration";
|
|
883
844
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/DeleteUnifiedAgentConfiguration";
|
|
884
845
|
const pathParams = {
|
|
@@ -892,8 +853,6 @@ class LoggingManagementClient {
|
|
|
892
853
|
};
|
|
893
854
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
894
855
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
895
|
-
if (this.logger)
|
|
896
|
-
retrier.logger = this.logger;
|
|
897
856
|
const request = yield oci_common_2.composeRequest({
|
|
898
857
|
baseEndpoint: this._endpoint,
|
|
899
858
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -934,12 +893,11 @@ class LoggingManagementClient {
|
|
|
934
893
|
* @param DeleteWorkRequestRequest
|
|
935
894
|
* @return DeleteWorkRequestResponse
|
|
936
895
|
* @throws OciError when an error occurs
|
|
937
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
938
897
|
*/
|
|
939
898
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
940
899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
941
|
-
|
|
942
|
-
this.logger.debug("Calling operation LoggingManagementClient#deleteWorkRequest.");
|
|
900
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteWorkRequest.");
|
|
943
901
|
const operationName = "deleteWorkRequest";
|
|
944
902
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/DeleteWorkRequest";
|
|
945
903
|
const pathParams = {
|
|
@@ -953,8 +911,6 @@ class LoggingManagementClient {
|
|
|
953
911
|
};
|
|
954
912
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
955
913
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
956
|
-
if (this.logger)
|
|
957
|
-
retrier.logger = this.logger;
|
|
958
914
|
const request = yield oci_common_2.composeRequest({
|
|
959
915
|
baseEndpoint: this._endpoint,
|
|
960
916
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -995,12 +951,11 @@ class LoggingManagementClient {
|
|
|
995
951
|
* @param GetLogRequest
|
|
996
952
|
* @return GetLogResponse
|
|
997
953
|
* @throws OciError when an error occurs
|
|
998
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
954
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetLog.ts.html |here} to see how to use GetLog API.
|
|
999
955
|
*/
|
|
1000
956
|
getLog(getLogRequest) {
|
|
1001
957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1002
|
-
|
|
1003
|
-
this.logger.debug("Calling operation LoggingManagementClient#getLog.");
|
|
958
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#getLog.");
|
|
1004
959
|
const operationName = "getLog";
|
|
1005
960
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/GetLog";
|
|
1006
961
|
const pathParams = {
|
|
@@ -1014,8 +969,6 @@ class LoggingManagementClient {
|
|
|
1014
969
|
};
|
|
1015
970
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1016
971
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogRequest.retryConfiguration, specRetryConfiguration);
|
|
1017
|
-
if (this.logger)
|
|
1018
|
-
retrier.logger = this.logger;
|
|
1019
972
|
const request = yield oci_common_2.composeRequest({
|
|
1020
973
|
baseEndpoint: this._endpoint,
|
|
1021
974
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1059,12 +1012,11 @@ class LoggingManagementClient {
|
|
|
1059
1012
|
* @param GetLogGroupRequest
|
|
1060
1013
|
* @return GetLogGroupResponse
|
|
1061
1014
|
* @throws OciError when an error occurs
|
|
1062
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
|
|
1063
1016
|
*/
|
|
1064
1017
|
getLogGroup(getLogGroupRequest) {
|
|
1065
1018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1066
|
-
|
|
1067
|
-
this.logger.debug("Calling operation LoggingManagementClient#getLogGroup.");
|
|
1019
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#getLogGroup.");
|
|
1068
1020
|
const operationName = "getLogGroup";
|
|
1069
1021
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/GetLogGroup";
|
|
1070
1022
|
const pathParams = {
|
|
@@ -1077,8 +1029,6 @@ class LoggingManagementClient {
|
|
|
1077
1029
|
};
|
|
1078
1030
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1079
1031
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
1080
|
-
if (this.logger)
|
|
1081
|
-
retrier.logger = this.logger;
|
|
1082
1032
|
const request = yield oci_common_2.composeRequest({
|
|
1083
1033
|
baseEndpoint: this._endpoint,
|
|
1084
1034
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1122,12 +1072,11 @@ class LoggingManagementClient {
|
|
|
1122
1072
|
* @param GetLogSavedSearchRequest
|
|
1123
1073
|
* @return GetLogSavedSearchResponse
|
|
1124
1074
|
* @throws OciError when an error occurs
|
|
1125
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1075
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
|
|
1126
1076
|
*/
|
|
1127
1077
|
getLogSavedSearch(getLogSavedSearchRequest) {
|
|
1128
1078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1129
|
-
|
|
1130
|
-
this.logger.debug("Calling operation LoggingManagementClient#getLogSavedSearch.");
|
|
1079
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#getLogSavedSearch.");
|
|
1131
1080
|
const operationName = "getLogSavedSearch";
|
|
1132
1081
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/GetLogSavedSearch";
|
|
1133
1082
|
const pathParams = {
|
|
@@ -1140,8 +1089,6 @@ class LoggingManagementClient {
|
|
|
1140
1089
|
};
|
|
1141
1090
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1142
1091
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
1143
|
-
if (this.logger)
|
|
1144
|
-
retrier.logger = this.logger;
|
|
1145
1092
|
const request = yield oci_common_2.composeRequest({
|
|
1146
1093
|
baseEndpoint: this._endpoint,
|
|
1147
1094
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1185,12 +1132,11 @@ class LoggingManagementClient {
|
|
|
1185
1132
|
* @param GetUnifiedAgentConfigurationRequest
|
|
1186
1133
|
* @return GetUnifiedAgentConfigurationResponse
|
|
1187
1134
|
* @throws OciError when an error occurs
|
|
1188
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1135
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
|
|
1189
1136
|
*/
|
|
1190
1137
|
getUnifiedAgentConfiguration(getUnifiedAgentConfigurationRequest) {
|
|
1191
1138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1192
|
-
|
|
1193
|
-
this.logger.debug("Calling operation LoggingManagementClient#getUnifiedAgentConfiguration.");
|
|
1139
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#getUnifiedAgentConfiguration.");
|
|
1194
1140
|
const operationName = "getUnifiedAgentConfiguration";
|
|
1195
1141
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/GetUnifiedAgentConfiguration";
|
|
1196
1142
|
const pathParams = {
|
|
@@ -1203,8 +1149,6 @@ class LoggingManagementClient {
|
|
|
1203
1149
|
};
|
|
1204
1150
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1205
1151
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1206
|
-
if (this.logger)
|
|
1207
|
-
retrier.logger = this.logger;
|
|
1208
1152
|
const request = yield oci_common_2.composeRequest({
|
|
1209
1153
|
baseEndpoint: this._endpoint,
|
|
1210
1154
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1248,12 +1192,11 @@ class LoggingManagementClient {
|
|
|
1248
1192
|
* @param GetWorkRequestRequest
|
|
1249
1193
|
* @return GetWorkRequestResponse
|
|
1250
1194
|
* @throws OciError when an error occurs
|
|
1251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1252
1196
|
*/
|
|
1253
1197
|
getWorkRequest(getWorkRequestRequest) {
|
|
1254
1198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1255
|
-
|
|
1256
|
-
this.logger.debug("Calling operation LoggingManagementClient#getWorkRequest.");
|
|
1199
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#getWorkRequest.");
|
|
1257
1200
|
const operationName = "getWorkRequest";
|
|
1258
1201
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/GetWorkRequest";
|
|
1259
1202
|
const pathParams = {
|
|
@@ -1266,8 +1209,6 @@ class LoggingManagementClient {
|
|
|
1266
1209
|
};
|
|
1267
1210
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1268
1211
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1269
|
-
if (this.logger)
|
|
1270
|
-
retrier.logger = this.logger;
|
|
1271
1212
|
const request = yield oci_common_2.composeRequest({
|
|
1272
1213
|
baseEndpoint: this._endpoint,
|
|
1273
1214
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1316,12 +1257,11 @@ class LoggingManagementClient {
|
|
|
1316
1257
|
* @param ListLogGroupsRequest
|
|
1317
1258
|
* @return ListLogGroupsResponse
|
|
1318
1259
|
* @throws OciError when an error occurs
|
|
1319
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
|
|
1320
1261
|
*/
|
|
1321
1262
|
listLogGroups(listLogGroupsRequest) {
|
|
1322
1263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1323
|
-
|
|
1324
|
-
this.logger.debug("Calling operation LoggingManagementClient#listLogGroups.");
|
|
1264
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listLogGroups.");
|
|
1325
1265
|
const operationName = "listLogGroups";
|
|
1326
1266
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroupSummary/ListLogGroups";
|
|
1327
1267
|
const pathParams = {};
|
|
@@ -1340,8 +1280,6 @@ class LoggingManagementClient {
|
|
|
1340
1280
|
};
|
|
1341
1281
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1342
1282
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1343
|
-
if (this.logger)
|
|
1344
|
-
retrier.logger = this.logger;
|
|
1345
1283
|
const request = yield oci_common_2.composeRequest({
|
|
1346
1284
|
baseEndpoint: this._endpoint,
|
|
1347
1285
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1431,12 +1369,11 @@ class LoggingManagementClient {
|
|
|
1431
1369
|
* @param ListLogSavedSearchesRequest
|
|
1432
1370
|
* @return ListLogSavedSearchesResponse
|
|
1433
1371
|
* @throws OciError when an error occurs
|
|
1434
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1372
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
|
|
1435
1373
|
*/
|
|
1436
1374
|
listLogSavedSearches(listLogSavedSearchesRequest) {
|
|
1437
1375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1438
|
-
|
|
1439
|
-
this.logger.debug("Calling operation LoggingManagementClient#listLogSavedSearches.");
|
|
1376
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listLogSavedSearches.");
|
|
1440
1377
|
const operationName = "listLogSavedSearches";
|
|
1441
1378
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ListLogSavedSearches";
|
|
1442
1379
|
const pathParams = {};
|
|
@@ -1455,8 +1392,6 @@ class LoggingManagementClient {
|
|
|
1455
1392
|
};
|
|
1456
1393
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1457
1394
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogSavedSearchesRequest.retryConfiguration, specRetryConfiguration);
|
|
1458
|
-
if (this.logger)
|
|
1459
|
-
retrier.logger = this.logger;
|
|
1460
1395
|
const request = yield oci_common_2.composeRequest({
|
|
1461
1396
|
baseEndpoint: this._endpoint,
|
|
1462
1397
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1505,12 +1440,11 @@ class LoggingManagementClient {
|
|
|
1505
1440
|
* @param ListLogsRequest
|
|
1506
1441
|
* @return ListLogsResponse
|
|
1507
1442
|
* @throws OciError when an error occurs
|
|
1508
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1443
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
|
|
1509
1444
|
*/
|
|
1510
1445
|
listLogs(listLogsRequest) {
|
|
1511
1446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1512
|
-
|
|
1513
|
-
this.logger.debug("Calling operation LoggingManagementClient#listLogs.");
|
|
1447
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listLogs.");
|
|
1514
1448
|
const operationName = "listLogs";
|
|
1515
1449
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSummary/ListLogs";
|
|
1516
1450
|
const pathParams = {
|
|
@@ -1533,8 +1467,6 @@ class LoggingManagementClient {
|
|
|
1533
1467
|
};
|
|
1534
1468
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1535
1469
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1536
|
-
if (this.logger)
|
|
1537
|
-
retrier.logger = this.logger;
|
|
1538
1470
|
const request = yield oci_common_2.composeRequest({
|
|
1539
1471
|
baseEndpoint: this._endpoint,
|
|
1540
1472
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1623,12 +1555,11 @@ class LoggingManagementClient {
|
|
|
1623
1555
|
* @param ListServicesRequest
|
|
1624
1556
|
* @return ListServicesResponse
|
|
1625
1557
|
* @throws OciError when an error occurs
|
|
1626
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1558
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListServices.ts.html |here} to see how to use ListServices API.
|
|
1627
1559
|
*/
|
|
1628
1560
|
listServices(listServicesRequest) {
|
|
1629
1561
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1630
|
-
|
|
1631
|
-
this.logger.debug("Calling operation LoggingManagementClient#listServices.");
|
|
1562
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listServices.");
|
|
1632
1563
|
const operationName = "listServices";
|
|
1633
1564
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/ServiceSummary/ListServices";
|
|
1634
1565
|
const pathParams = {};
|
|
@@ -1639,8 +1570,6 @@ class LoggingManagementClient {
|
|
|
1639
1570
|
};
|
|
1640
1571
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1641
1572
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServicesRequest.retryConfiguration, specRetryConfiguration);
|
|
1642
|
-
if (this.logger)
|
|
1643
|
-
retrier.logger = this.logger;
|
|
1644
1573
|
const request = yield oci_common_2.composeRequest({
|
|
1645
1574
|
baseEndpoint: this._endpoint,
|
|
1646
1575
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1689,12 +1618,11 @@ class LoggingManagementClient {
|
|
|
1689
1618
|
* @param ListUnifiedAgentConfigurationsRequest
|
|
1690
1619
|
* @return ListUnifiedAgentConfigurationsResponse
|
|
1691
1620
|
* @throws OciError when an error occurs
|
|
1692
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
|
|
1693
1622
|
*/
|
|
1694
1623
|
listUnifiedAgentConfigurations(listUnifiedAgentConfigurationsRequest) {
|
|
1695
1624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1696
|
-
|
|
1697
|
-
this.logger.debug("Calling operation LoggingManagementClient#listUnifiedAgentConfigurations.");
|
|
1625
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listUnifiedAgentConfigurations.");
|
|
1698
1626
|
const operationName = "listUnifiedAgentConfigurations";
|
|
1699
1627
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ListUnifiedAgentConfigurations";
|
|
1700
1628
|
const pathParams = {};
|
|
@@ -1716,8 +1644,6 @@ class LoggingManagementClient {
|
|
|
1716
1644
|
};
|
|
1717
1645
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1718
1646
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUnifiedAgentConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1719
|
-
if (this.logger)
|
|
1720
|
-
retrier.logger = this.logger;
|
|
1721
1647
|
const request = yield oci_common_2.composeRequest({
|
|
1722
1648
|
baseEndpoint: this._endpoint,
|
|
1723
1649
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1767,12 +1693,11 @@ class LoggingManagementClient {
|
|
|
1767
1693
|
* @param ListWorkRequestErrorsRequest
|
|
1768
1694
|
* @return ListWorkRequestErrorsResponse
|
|
1769
1695
|
* @throws OciError when an error occurs
|
|
1770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1696
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1771
1697
|
*/
|
|
1772
1698
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1773
1699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1774
|
-
|
|
1775
|
-
this.logger.debug("Calling operation LoggingManagementClient#listWorkRequestErrors.");
|
|
1700
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listWorkRequestErrors.");
|
|
1776
1701
|
const operationName = "listWorkRequestErrors";
|
|
1777
1702
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestError/ListWorkRequestErrors";
|
|
1778
1703
|
const pathParams = {
|
|
@@ -1788,8 +1713,6 @@ class LoggingManagementClient {
|
|
|
1788
1713
|
};
|
|
1789
1714
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1790
1715
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1791
|
-
if (this.logger)
|
|
1792
|
-
retrier.logger = this.logger;
|
|
1793
1716
|
const request = yield oci_common_2.composeRequest({
|
|
1794
1717
|
baseEndpoint: this._endpoint,
|
|
1795
1718
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1874,12 +1797,11 @@ class LoggingManagementClient {
|
|
|
1874
1797
|
* @param ListWorkRequestLogsRequest
|
|
1875
1798
|
* @return ListWorkRequestLogsResponse
|
|
1876
1799
|
* @throws OciError when an error occurs
|
|
1877
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1800
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1878
1801
|
*/
|
|
1879
1802
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1880
1803
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1881
|
-
|
|
1882
|
-
this.logger.debug("Calling operation LoggingManagementClient#listWorkRequestLogs.");
|
|
1804
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listWorkRequestLogs.");
|
|
1883
1805
|
const operationName = "listWorkRequestLogs";
|
|
1884
1806
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestLog/ListWorkRequestLogs";
|
|
1885
1807
|
const pathParams = {
|
|
@@ -1895,8 +1817,6 @@ class LoggingManagementClient {
|
|
|
1895
1817
|
};
|
|
1896
1818
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1897
1819
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1898
|
-
if (this.logger)
|
|
1899
|
-
retrier.logger = this.logger;
|
|
1900
1820
|
const request = yield oci_common_2.composeRequest({
|
|
1901
1821
|
baseEndpoint: this._endpoint,
|
|
1902
1822
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1981,12 +1901,11 @@ class LoggingManagementClient {
|
|
|
1981
1901
|
* @param ListWorkRequestsRequest
|
|
1982
1902
|
* @return ListWorkRequestsResponse
|
|
1983
1903
|
* @throws OciError when an error occurs
|
|
1984
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1985
1905
|
*/
|
|
1986
1906
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1987
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1988
|
-
|
|
1989
|
-
this.logger.debug("Calling operation LoggingManagementClient#listWorkRequests.");
|
|
1908
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#listWorkRequests.");
|
|
1990
1909
|
const operationName = "listWorkRequests";
|
|
1991
1910
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/ListWorkRequests";
|
|
1992
1911
|
const pathParams = {};
|
|
@@ -2005,8 +1924,6 @@ class LoggingManagementClient {
|
|
|
2005
1924
|
};
|
|
2006
1925
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2007
1926
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2008
|
-
if (this.logger)
|
|
2009
|
-
retrier.logger = this.logger;
|
|
2010
1927
|
const request = yield oci_common_2.composeRequest({
|
|
2011
1928
|
baseEndpoint: this._endpoint,
|
|
2012
1929
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2097,12 +2014,11 @@ class LoggingManagementClient {
|
|
|
2097
2014
|
* @param UpdateLogRequest
|
|
2098
2015
|
* @return UpdateLogResponse
|
|
2099
2016
|
* @throws OciError when an error occurs
|
|
2100
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2017
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
|
|
2101
2018
|
*/
|
|
2102
2019
|
updateLog(updateLogRequest) {
|
|
2103
2020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2104
|
-
|
|
2105
|
-
this.logger.debug("Calling operation LoggingManagementClient#updateLog.");
|
|
2021
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateLog.");
|
|
2106
2022
|
const operationName = "updateLog";
|
|
2107
2023
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/UpdateLog";
|
|
2108
2024
|
const pathParams = {
|
|
@@ -2117,8 +2033,6 @@ class LoggingManagementClient {
|
|
|
2117
2033
|
};
|
|
2118
2034
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2119
2035
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogRequest.retryConfiguration, specRetryConfiguration);
|
|
2120
|
-
if (this.logger)
|
|
2121
|
-
retrier.logger = this.logger;
|
|
2122
2036
|
const request = yield oci_common_2.composeRequest({
|
|
2123
2037
|
baseEndpoint: this._endpoint,
|
|
2124
2038
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2161,12 +2075,11 @@ class LoggingManagementClient {
|
|
|
2161
2075
|
* @param UpdateLogGroupRequest
|
|
2162
2076
|
* @return UpdateLogGroupResponse
|
|
2163
2077
|
* @throws OciError when an error occurs
|
|
2164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
|
|
2165
2079
|
*/
|
|
2166
2080
|
updateLogGroup(updateLogGroupRequest) {
|
|
2167
2081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2168
|
-
|
|
2169
|
-
this.logger.debug("Calling operation LoggingManagementClient#updateLogGroup.");
|
|
2082
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateLogGroup.");
|
|
2170
2083
|
const operationName = "updateLogGroup";
|
|
2171
2084
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/UpdateLogGroup";
|
|
2172
2085
|
const pathParams = {
|
|
@@ -2180,8 +2093,6 @@ class LoggingManagementClient {
|
|
|
2180
2093
|
};
|
|
2181
2094
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2182
2095
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
2183
|
-
if (this.logger)
|
|
2184
|
-
retrier.logger = this.logger;
|
|
2185
2096
|
const request = yield oci_common_2.composeRequest({
|
|
2186
2097
|
baseEndpoint: this._endpoint,
|
|
2187
2098
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2223,12 +2134,11 @@ class LoggingManagementClient {
|
|
|
2223
2134
|
* @param UpdateLogSavedSearchRequest
|
|
2224
2135
|
* @return UpdateLogSavedSearchResponse
|
|
2225
2136
|
* @throws OciError when an error occurs
|
|
2226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2137
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
|
|
2227
2138
|
*/
|
|
2228
2139
|
updateLogSavedSearch(updateLogSavedSearchRequest) {
|
|
2229
2140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2230
|
-
|
|
2231
|
-
this.logger.debug("Calling operation LoggingManagementClient#updateLogSavedSearch.");
|
|
2141
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateLogSavedSearch.");
|
|
2232
2142
|
const operationName = "updateLogSavedSearch";
|
|
2233
2143
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/UpdateLogSavedSearch";
|
|
2234
2144
|
const pathParams = {
|
|
@@ -2242,8 +2152,6 @@ class LoggingManagementClient {
|
|
|
2242
2152
|
};
|
|
2243
2153
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2244
2154
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
|
|
2245
|
-
if (this.logger)
|
|
2246
|
-
retrier.logger = this.logger;
|
|
2247
2155
|
const request = yield oci_common_2.composeRequest({
|
|
2248
2156
|
baseEndpoint: this._endpoint,
|
|
2249
2157
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2290,12 +2198,11 @@ class LoggingManagementClient {
|
|
|
2290
2198
|
* @param UpdateUnifiedAgentConfigurationRequest
|
|
2291
2199
|
* @return UpdateUnifiedAgentConfigurationResponse
|
|
2292
2200
|
* @throws OciError when an error occurs
|
|
2293
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
|
|
2294
2202
|
*/
|
|
2295
2203
|
updateUnifiedAgentConfiguration(updateUnifiedAgentConfigurationRequest) {
|
|
2296
2204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2297
|
-
|
|
2298
|
-
this.logger.debug("Calling operation LoggingManagementClient#updateUnifiedAgentConfiguration.");
|
|
2205
|
+
oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateUnifiedAgentConfiguration.");
|
|
2299
2206
|
const operationName = "updateUnifiedAgentConfiguration";
|
|
2300
2207
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/UpdateUnifiedAgentConfiguration";
|
|
2301
2208
|
const pathParams = {
|
|
@@ -2309,8 +2216,6 @@ class LoggingManagementClient {
|
|
|
2309
2216
|
};
|
|
2310
2217
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2311
2218
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2312
|
-
if (this.logger)
|
|
2313
|
-
retrier.logger = this.logger;
|
|
2314
2219
|
const request = yield oci_common_2.composeRequest({
|
|
2315
2220
|
baseEndpoint: this._endpoint,
|
|
2316
2221
|
defaultHeaders: this._defaultHeaders,
|