oci-adm 2.79.1 → 2.81.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 +38 -37
- package/lib/client.js +188 -75
- package/lib/client.js.map +1 -1
- package/lib/model/remediation-run-stage.js +4 -2
- package/lib/model/remediation-run-stage.js.map +1 -1
- package/lib/model/scm-configuration.js +4 -2
- package/lib/model/scm-configuration.js.map +1 -1
- package/lib/model/usage-data-details.js +4 -2
- package/lib/model/usage-data-details.js.map +1 -1
- package/lib/model/verify-configuration.js +4 -2
- package/lib/model/verify-configuration.js.map +1 -1
- package/lib/model/vulnerability-audit-source.js +4 -2
- package/lib/model/vulnerability-audit-source.js.map +1 -1
- package/lib/request/activate-remediation-recipe-request.d.ts +1 -1
- package/lib/request/cancel-remediation-run-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-knowledge-base-compartment-request.d.ts +1 -1
- package/lib/request/change-remediation-recipe-compartment-request.d.ts +1 -1
- package/lib/request/change-remediation-run-compartment-request.d.ts +1 -1
- package/lib/request/change-vulnerability-audit-compartment-request.d.ts +1 -1
- package/lib/request/create-knowledge-base-request.d.ts +1 -1
- package/lib/request/create-remediation-recipe-request.d.ts +1 -1
- package/lib/request/create-remediation-run-request.d.ts +1 -1
- package/lib/request/create-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/deactivate-remediation-recipe-request.d.ts +1 -1
- package/lib/request/delete-knowledge-base-request.d.ts +1 -1
- package/lib/request/delete-remediation-recipe-request.d.ts +1 -1
- package/lib/request/delete-remediation-run-request.d.ts +1 -1
- package/lib/request/delete-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/get-knowledge-base-request.d.ts +1 -1
- package/lib/request/get-remediation-recipe-request.d.ts +1 -1
- package/lib/request/get-remediation-run-request.d.ts +1 -1
- package/lib/request/get-stage-request.d.ts +1 -1
- package/lib/request/get-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-application-dependency-recommendations-request.d.ts +1 -1
- package/lib/request/list-application-dependency-vulnerabilities-request.d.ts +1 -1
- package/lib/request/list-knowledge-bases-request.d.ts +1 -1
- package/lib/request/list-remediation-recipes-request.d.ts +1 -1
- package/lib/request/list-remediation-runs-request.d.ts +1 -1
- package/lib/request/list-stages-request.d.ts +1 -1
- package/lib/request/list-vulnerability-audits-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-knowledge-base-request.d.ts +1 -1
- package/lib/request/update-remediation-recipe-request.d.ts +1 -1
- package/lib/request/update-remediation-run-request.d.ts +1 -1
- package/lib/request/update-vulnerability-audit-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -57,7 +57,7 @@ var ApplicationDependencyManagementApiKeys;
|
|
|
57
57
|
*/
|
|
58
58
|
class ApplicationDependencyManagementClient {
|
|
59
59
|
constructor(params, clientConfiguration) {
|
|
60
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
60
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
61
61
|
this["_endpoint"] = "";
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
@@ -116,7 +116,11 @@ class ApplicationDependencyManagementClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20220421";
|
|
119
|
-
|
|
119
|
+
if (this.logger)
|
|
120
|
+
this.logger.info(`ApplicationDependencyManagementClient endpoint set to ${this._endpoint}`);
|
|
121
|
+
}
|
|
122
|
+
get logger() {
|
|
123
|
+
return common.LOG.logger;
|
|
120
124
|
}
|
|
121
125
|
/**
|
|
122
126
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -125,7 +129,8 @@ class ApplicationDependencyManagementClient {
|
|
|
125
129
|
*/
|
|
126
130
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
127
131
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
128
|
-
|
|
132
|
+
if (this.logger)
|
|
133
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
129
134
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
130
135
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ApplicationDependencyManagementClient.serviceEndpointTemplate, this._region, ApplicationDependencyManagementClient.endpointServiceName);
|
|
131
136
|
}
|
|
@@ -191,11 +196,12 @@ class ApplicationDependencyManagementClient {
|
|
|
191
196
|
* @param ActivateRemediationRecipeRequest
|
|
192
197
|
* @return ActivateRemediationRecipeResponse
|
|
193
198
|
* @throws OciError when an error occurs
|
|
194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
199
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ActivateRemediationRecipe.ts.html |here} to see how to use ActivateRemediationRecipe API.
|
|
195
200
|
*/
|
|
196
201
|
activateRemediationRecipe(activateRemediationRecipeRequest) {
|
|
197
202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
198
|
-
|
|
203
|
+
if (this.logger)
|
|
204
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#activateRemediationRecipe.");
|
|
199
205
|
const operationName = "activateRemediationRecipe";
|
|
200
206
|
const apiReferenceLink = "";
|
|
201
207
|
const pathParams = {
|
|
@@ -209,6 +215,8 @@ class ApplicationDependencyManagementClient {
|
|
|
209
215
|
};
|
|
210
216
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
211
217
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateRemediationRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
218
|
+
if (this.logger)
|
|
219
|
+
retrier.logger = this.logger;
|
|
212
220
|
const request = yield oci_common_1.composeRequest({
|
|
213
221
|
baseEndpoint: this._endpoint,
|
|
214
222
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -248,11 +256,12 @@ class ApplicationDependencyManagementClient {
|
|
|
248
256
|
* @param CancelRemediationRunRequest
|
|
249
257
|
* @return CancelRemediationRunResponse
|
|
250
258
|
* @throws OciError when an error occurs
|
|
251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
259
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/CancelRemediationRun.ts.html |here} to see how to use CancelRemediationRun API.
|
|
252
260
|
*/
|
|
253
261
|
cancelRemediationRun(cancelRemediationRunRequest) {
|
|
254
262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
-
|
|
263
|
+
if (this.logger)
|
|
264
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#cancelRemediationRun.");
|
|
256
265
|
const operationName = "cancelRemediationRun";
|
|
257
266
|
const apiReferenceLink = "";
|
|
258
267
|
const pathParams = {
|
|
@@ -267,6 +276,8 @@ class ApplicationDependencyManagementClient {
|
|
|
267
276
|
};
|
|
268
277
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
269
278
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelRemediationRunRequest.retryConfiguration, specRetryConfiguration);
|
|
279
|
+
if (this.logger)
|
|
280
|
+
retrier.logger = this.logger;
|
|
270
281
|
const request = yield oci_common_1.composeRequest({
|
|
271
282
|
baseEndpoint: this._endpoint,
|
|
272
283
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -310,11 +321,12 @@ class ApplicationDependencyManagementClient {
|
|
|
310
321
|
* @param CancelWorkRequestRequest
|
|
311
322
|
* @return CancelWorkRequestResponse
|
|
312
323
|
* @throws OciError when an error occurs
|
|
313
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
314
325
|
*/
|
|
315
326
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
316
327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
317
|
-
|
|
328
|
+
if (this.logger)
|
|
329
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#cancelWorkRequest.");
|
|
318
330
|
const operationName = "cancelWorkRequest";
|
|
319
331
|
const apiReferenceLink = "";
|
|
320
332
|
const pathParams = {
|
|
@@ -328,6 +340,8 @@ class ApplicationDependencyManagementClient {
|
|
|
328
340
|
};
|
|
329
341
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
330
342
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
343
|
+
if (this.logger)
|
|
344
|
+
retrier.logger = this.logger;
|
|
331
345
|
const request = yield oci_common_1.composeRequest({
|
|
332
346
|
baseEndpoint: this._endpoint,
|
|
333
347
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -362,11 +376,12 @@ class ApplicationDependencyManagementClient {
|
|
|
362
376
|
* @param ChangeKnowledgeBaseCompartmentRequest
|
|
363
377
|
* @return ChangeKnowledgeBaseCompartmentResponse
|
|
364
378
|
* @throws OciError when an error occurs
|
|
365
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
379
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ChangeKnowledgeBaseCompartment.ts.html |here} to see how to use ChangeKnowledgeBaseCompartment API.
|
|
366
380
|
*/
|
|
367
381
|
changeKnowledgeBaseCompartment(changeKnowledgeBaseCompartmentRequest) {
|
|
368
382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
369
|
-
|
|
383
|
+
if (this.logger)
|
|
384
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#changeKnowledgeBaseCompartment.");
|
|
370
385
|
const operationName = "changeKnowledgeBaseCompartment";
|
|
371
386
|
const apiReferenceLink = "";
|
|
372
387
|
const pathParams = {
|
|
@@ -381,6 +396,8 @@ class ApplicationDependencyManagementClient {
|
|
|
381
396
|
};
|
|
382
397
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
383
398
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeKnowledgeBaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
399
|
+
if (this.logger)
|
|
400
|
+
retrier.logger = this.logger;
|
|
384
401
|
const request = yield oci_common_1.composeRequest({
|
|
385
402
|
baseEndpoint: this._endpoint,
|
|
386
403
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -421,11 +438,12 @@ class ApplicationDependencyManagementClient {
|
|
|
421
438
|
* @param ChangeRemediationRecipeCompartmentRequest
|
|
422
439
|
* @return ChangeRemediationRecipeCompartmentResponse
|
|
423
440
|
* @throws OciError when an error occurs
|
|
424
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ChangeRemediationRecipeCompartment.ts.html |here} to see how to use ChangeRemediationRecipeCompartment API.
|
|
425
442
|
*/
|
|
426
443
|
changeRemediationRecipeCompartment(changeRemediationRecipeCompartmentRequest) {
|
|
427
444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
428
|
-
|
|
445
|
+
if (this.logger)
|
|
446
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#changeRemediationRecipeCompartment.");
|
|
429
447
|
const operationName = "changeRemediationRecipeCompartment";
|
|
430
448
|
const apiReferenceLink = "";
|
|
431
449
|
const pathParams = {
|
|
@@ -440,6 +458,8 @@ class ApplicationDependencyManagementClient {
|
|
|
440
458
|
};
|
|
441
459
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
442
460
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRemediationRecipeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
461
|
+
if (this.logger)
|
|
462
|
+
retrier.logger = this.logger;
|
|
443
463
|
const request = yield oci_common_1.composeRequest({
|
|
444
464
|
baseEndpoint: this._endpoint,
|
|
445
465
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -480,11 +500,12 @@ class ApplicationDependencyManagementClient {
|
|
|
480
500
|
* @param ChangeRemediationRunCompartmentRequest
|
|
481
501
|
* @return ChangeRemediationRunCompartmentResponse
|
|
482
502
|
* @throws OciError when an error occurs
|
|
483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
503
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ChangeRemediationRunCompartment.ts.html |here} to see how to use ChangeRemediationRunCompartment API.
|
|
484
504
|
*/
|
|
485
505
|
changeRemediationRunCompartment(changeRemediationRunCompartmentRequest) {
|
|
486
506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
487
|
-
|
|
507
|
+
if (this.logger)
|
|
508
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#changeRemediationRunCompartment.");
|
|
488
509
|
const operationName = "changeRemediationRunCompartment";
|
|
489
510
|
const apiReferenceLink = "";
|
|
490
511
|
const pathParams = {
|
|
@@ -499,6 +520,8 @@ class ApplicationDependencyManagementClient {
|
|
|
499
520
|
};
|
|
500
521
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
501
522
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRemediationRunCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
523
|
+
if (this.logger)
|
|
524
|
+
retrier.logger = this.logger;
|
|
502
525
|
const request = yield oci_common_1.composeRequest({
|
|
503
526
|
baseEndpoint: this._endpoint,
|
|
504
527
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -534,11 +557,12 @@ class ApplicationDependencyManagementClient {
|
|
|
534
557
|
* @param ChangeVulnerabilityAuditCompartmentRequest
|
|
535
558
|
* @return ChangeVulnerabilityAuditCompartmentResponse
|
|
536
559
|
* @throws OciError when an error occurs
|
|
537
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ChangeVulnerabilityAuditCompartment.ts.html |here} to see how to use ChangeVulnerabilityAuditCompartment API.
|
|
538
561
|
*/
|
|
539
562
|
changeVulnerabilityAuditCompartment(changeVulnerabilityAuditCompartmentRequest) {
|
|
540
563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
-
|
|
564
|
+
if (this.logger)
|
|
565
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#changeVulnerabilityAuditCompartment.");
|
|
542
566
|
const operationName = "changeVulnerabilityAuditCompartment";
|
|
543
567
|
const apiReferenceLink = "";
|
|
544
568
|
const pathParams = {
|
|
@@ -553,6 +577,8 @@ class ApplicationDependencyManagementClient {
|
|
|
553
577
|
};
|
|
554
578
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
555
579
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeVulnerabilityAuditCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
580
|
+
if (this.logger)
|
|
581
|
+
retrier.logger = this.logger;
|
|
556
582
|
const request = yield oci_common_1.composeRequest({
|
|
557
583
|
baseEndpoint: this._endpoint,
|
|
558
584
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -588,11 +614,12 @@ class ApplicationDependencyManagementClient {
|
|
|
588
614
|
* @param CreateKnowledgeBaseRequest
|
|
589
615
|
* @return CreateKnowledgeBaseResponse
|
|
590
616
|
* @throws OciError when an error occurs
|
|
591
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/CreateKnowledgeBase.ts.html |here} to see how to use CreateKnowledgeBase API.
|
|
592
618
|
*/
|
|
593
619
|
createKnowledgeBase(createKnowledgeBaseRequest) {
|
|
594
620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
595
|
-
|
|
621
|
+
if (this.logger)
|
|
622
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#createKnowledgeBase.");
|
|
596
623
|
const operationName = "createKnowledgeBase";
|
|
597
624
|
const apiReferenceLink = "";
|
|
598
625
|
const pathParams = {};
|
|
@@ -604,6 +631,8 @@ class ApplicationDependencyManagementClient {
|
|
|
604
631
|
};
|
|
605
632
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
606
633
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
634
|
+
if (this.logger)
|
|
635
|
+
retrier.logger = this.logger;
|
|
607
636
|
const request = yield oci_common_1.composeRequest({
|
|
608
637
|
baseEndpoint: this._endpoint,
|
|
609
638
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -644,11 +673,12 @@ class ApplicationDependencyManagementClient {
|
|
|
644
673
|
* @param CreateRemediationRecipeRequest
|
|
645
674
|
* @return CreateRemediationRecipeResponse
|
|
646
675
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/CreateRemediationRecipe.ts.html |here} to see how to use CreateRemediationRecipe API.
|
|
648
677
|
*/
|
|
649
678
|
createRemediationRecipe(createRemediationRecipeRequest) {
|
|
650
679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
651
|
-
|
|
680
|
+
if (this.logger)
|
|
681
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#createRemediationRecipe.");
|
|
652
682
|
const operationName = "createRemediationRecipe";
|
|
653
683
|
const apiReferenceLink = "";
|
|
654
684
|
const pathParams = {};
|
|
@@ -660,6 +690,8 @@ class ApplicationDependencyManagementClient {
|
|
|
660
690
|
};
|
|
661
691
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
662
692
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRemediationRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
693
|
+
if (this.logger)
|
|
694
|
+
retrier.logger = this.logger;
|
|
663
695
|
const request = yield oci_common_1.composeRequest({
|
|
664
696
|
baseEndpoint: this._endpoint,
|
|
665
697
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -700,11 +732,12 @@ class ApplicationDependencyManagementClient {
|
|
|
700
732
|
* @param CreateRemediationRunRequest
|
|
701
733
|
* @return CreateRemediationRunResponse
|
|
702
734
|
* @throws OciError when an error occurs
|
|
703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/CreateRemediationRun.ts.html |here} to see how to use CreateRemediationRun API.
|
|
704
736
|
*/
|
|
705
737
|
createRemediationRun(createRemediationRunRequest) {
|
|
706
738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
707
|
-
|
|
739
|
+
if (this.logger)
|
|
740
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#createRemediationRun.");
|
|
708
741
|
const operationName = "createRemediationRun";
|
|
709
742
|
const apiReferenceLink = "";
|
|
710
743
|
const pathParams = {};
|
|
@@ -716,6 +749,8 @@ class ApplicationDependencyManagementClient {
|
|
|
716
749
|
};
|
|
717
750
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
718
751
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRemediationRunRequest.retryConfiguration, specRetryConfiguration);
|
|
752
|
+
if (this.logger)
|
|
753
|
+
retrier.logger = this.logger;
|
|
719
754
|
const request = yield oci_common_1.composeRequest({
|
|
720
755
|
baseEndpoint: this._endpoint,
|
|
721
756
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -760,11 +795,12 @@ class ApplicationDependencyManagementClient {
|
|
|
760
795
|
* @param CreateVulnerabilityAuditRequest
|
|
761
796
|
* @return CreateVulnerabilityAuditResponse
|
|
762
797
|
* @throws OciError when an error occurs
|
|
763
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/CreateVulnerabilityAudit.ts.html |here} to see how to use CreateVulnerabilityAudit API.
|
|
764
799
|
*/
|
|
765
800
|
createVulnerabilityAudit(createVulnerabilityAuditRequest) {
|
|
766
801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
767
|
-
|
|
802
|
+
if (this.logger)
|
|
803
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#createVulnerabilityAudit.");
|
|
768
804
|
const operationName = "createVulnerabilityAudit";
|
|
769
805
|
const apiReferenceLink = "";
|
|
770
806
|
const pathParams = {};
|
|
@@ -777,6 +813,8 @@ class ApplicationDependencyManagementClient {
|
|
|
777
813
|
};
|
|
778
814
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
779
815
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
816
|
+
if (this.logger)
|
|
817
|
+
retrier.logger = this.logger;
|
|
780
818
|
const request = yield oci_common_1.composeRequest({
|
|
781
819
|
baseEndpoint: this._endpoint,
|
|
782
820
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -821,11 +859,12 @@ class ApplicationDependencyManagementClient {
|
|
|
821
859
|
* @param DeactivateRemediationRecipeRequest
|
|
822
860
|
* @return DeactivateRemediationRecipeResponse
|
|
823
861
|
* @throws OciError when an error occurs
|
|
824
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
862
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/DeactivateRemediationRecipe.ts.html |here} to see how to use DeactivateRemediationRecipe API.
|
|
825
863
|
*/
|
|
826
864
|
deactivateRemediationRecipe(deactivateRemediationRecipeRequest) {
|
|
827
865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
828
|
-
|
|
866
|
+
if (this.logger)
|
|
867
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deactivateRemediationRecipe.");
|
|
829
868
|
const operationName = "deactivateRemediationRecipe";
|
|
830
869
|
const apiReferenceLink = "";
|
|
831
870
|
const pathParams = {
|
|
@@ -839,6 +878,8 @@ class ApplicationDependencyManagementClient {
|
|
|
839
878
|
};
|
|
840
879
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
841
880
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateRemediationRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
881
|
+
if (this.logger)
|
|
882
|
+
retrier.logger = this.logger;
|
|
842
883
|
const request = yield oci_common_1.composeRequest({
|
|
843
884
|
baseEndpoint: this._endpoint,
|
|
844
885
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -878,11 +919,12 @@ class ApplicationDependencyManagementClient {
|
|
|
878
919
|
* @param DeleteKnowledgeBaseRequest
|
|
879
920
|
* @return DeleteKnowledgeBaseResponse
|
|
880
921
|
* @throws OciError when an error occurs
|
|
881
|
-
* @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.81.0/adm/DeleteKnowledgeBase.ts.html |here} to see how to use DeleteKnowledgeBase API.
|
|
882
923
|
*/
|
|
883
924
|
deleteKnowledgeBase(deleteKnowledgeBaseRequest) {
|
|
884
925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
885
|
-
|
|
926
|
+
if (this.logger)
|
|
927
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deleteKnowledgeBase.");
|
|
886
928
|
const operationName = "deleteKnowledgeBase";
|
|
887
929
|
const apiReferenceLink = "";
|
|
888
930
|
const pathParams = {
|
|
@@ -896,6 +938,8 @@ class ApplicationDependencyManagementClient {
|
|
|
896
938
|
};
|
|
897
939
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
898
940
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
941
|
+
if (this.logger)
|
|
942
|
+
retrier.logger = this.logger;
|
|
899
943
|
const request = yield oci_common_1.composeRequest({
|
|
900
944
|
baseEndpoint: this._endpoint,
|
|
901
945
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -935,11 +979,12 @@ class ApplicationDependencyManagementClient {
|
|
|
935
979
|
* @param DeleteRemediationRecipeRequest
|
|
936
980
|
* @return DeleteRemediationRecipeResponse
|
|
937
981
|
* @throws OciError when an error occurs
|
|
938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
982
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/DeleteRemediationRecipe.ts.html |here} to see how to use DeleteRemediationRecipe API.
|
|
939
983
|
*/
|
|
940
984
|
deleteRemediationRecipe(deleteRemediationRecipeRequest) {
|
|
941
985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
942
|
-
|
|
986
|
+
if (this.logger)
|
|
987
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deleteRemediationRecipe.");
|
|
943
988
|
const operationName = "deleteRemediationRecipe";
|
|
944
989
|
const apiReferenceLink = "";
|
|
945
990
|
const pathParams = {
|
|
@@ -953,6 +998,8 @@ class ApplicationDependencyManagementClient {
|
|
|
953
998
|
};
|
|
954
999
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
955
1000
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRemediationRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
1001
|
+
if (this.logger)
|
|
1002
|
+
retrier.logger = this.logger;
|
|
956
1003
|
const request = yield oci_common_1.composeRequest({
|
|
957
1004
|
baseEndpoint: this._endpoint,
|
|
958
1005
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -992,11 +1039,12 @@ class ApplicationDependencyManagementClient {
|
|
|
992
1039
|
* @param DeleteRemediationRunRequest
|
|
993
1040
|
* @return DeleteRemediationRunResponse
|
|
994
1041
|
* @throws OciError when an error occurs
|
|
995
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1042
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/DeleteRemediationRun.ts.html |here} to see how to use DeleteRemediationRun API.
|
|
996
1043
|
*/
|
|
997
1044
|
deleteRemediationRun(deleteRemediationRunRequest) {
|
|
998
1045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
999
|
-
|
|
1046
|
+
if (this.logger)
|
|
1047
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deleteRemediationRun.");
|
|
1000
1048
|
const operationName = "deleteRemediationRun";
|
|
1001
1049
|
const apiReferenceLink = "";
|
|
1002
1050
|
const pathParams = {
|
|
@@ -1010,6 +1058,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1010
1058
|
};
|
|
1011
1059
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1012
1060
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRemediationRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1061
|
+
if (this.logger)
|
|
1062
|
+
retrier.logger = this.logger;
|
|
1013
1063
|
const request = yield oci_common_1.composeRequest({
|
|
1014
1064
|
baseEndpoint: this._endpoint,
|
|
1015
1065
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1044,11 +1094,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1044
1094
|
* @param DeleteVulnerabilityAuditRequest
|
|
1045
1095
|
* @return DeleteVulnerabilityAuditResponse
|
|
1046
1096
|
* @throws OciError when an error occurs
|
|
1047
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/DeleteVulnerabilityAudit.ts.html |here} to see how to use DeleteVulnerabilityAudit API.
|
|
1048
1098
|
*/
|
|
1049
1099
|
deleteVulnerabilityAudit(deleteVulnerabilityAuditRequest) {
|
|
1050
1100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1051
|
-
|
|
1101
|
+
if (this.logger)
|
|
1102
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deleteVulnerabilityAudit.");
|
|
1052
1103
|
const operationName = "deleteVulnerabilityAudit";
|
|
1053
1104
|
const apiReferenceLink = "";
|
|
1054
1105
|
const pathParams = {
|
|
@@ -1062,6 +1113,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1062
1113
|
};
|
|
1063
1114
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1064
1115
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
1116
|
+
if (this.logger)
|
|
1117
|
+
retrier.logger = this.logger;
|
|
1065
1118
|
const request = yield oci_common_1.composeRequest({
|
|
1066
1119
|
baseEndpoint: this._endpoint,
|
|
1067
1120
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1096,11 +1149,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1096
1149
|
* @param GetKnowledgeBaseRequest
|
|
1097
1150
|
* @return GetKnowledgeBaseResponse
|
|
1098
1151
|
* @throws OciError when an error occurs
|
|
1099
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1152
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/GetKnowledgeBase.ts.html |here} to see how to use GetKnowledgeBase API.
|
|
1100
1153
|
*/
|
|
1101
1154
|
getKnowledgeBase(getKnowledgeBaseRequest) {
|
|
1102
1155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1103
|
-
|
|
1156
|
+
if (this.logger)
|
|
1157
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getKnowledgeBase.");
|
|
1104
1158
|
const operationName = "getKnowledgeBase";
|
|
1105
1159
|
const apiReferenceLink = "";
|
|
1106
1160
|
const pathParams = {
|
|
@@ -1113,6 +1167,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1113
1167
|
};
|
|
1114
1168
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1115
1169
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
1170
|
+
if (this.logger)
|
|
1171
|
+
retrier.logger = this.logger;
|
|
1116
1172
|
const request = yield oci_common_1.composeRequest({
|
|
1117
1173
|
baseEndpoint: this._endpoint,
|
|
1118
1174
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1156,11 +1212,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1156
1212
|
* @param GetRemediationRecipeRequest
|
|
1157
1213
|
* @return GetRemediationRecipeResponse
|
|
1158
1214
|
* @throws OciError when an error occurs
|
|
1159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/GetRemediationRecipe.ts.html |here} to see how to use GetRemediationRecipe API.
|
|
1160
1216
|
*/
|
|
1161
1217
|
getRemediationRecipe(getRemediationRecipeRequest) {
|
|
1162
1218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1163
|
-
|
|
1219
|
+
if (this.logger)
|
|
1220
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getRemediationRecipe.");
|
|
1164
1221
|
const operationName = "getRemediationRecipe";
|
|
1165
1222
|
const apiReferenceLink = "";
|
|
1166
1223
|
const pathParams = {
|
|
@@ -1173,6 +1230,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1173
1230
|
};
|
|
1174
1231
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1175
1232
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRemediationRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
1233
|
+
if (this.logger)
|
|
1234
|
+
retrier.logger = this.logger;
|
|
1176
1235
|
const request = yield oci_common_1.composeRequest({
|
|
1177
1236
|
baseEndpoint: this._endpoint,
|
|
1178
1237
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1216,11 +1275,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1216
1275
|
* @param GetRemediationRunRequest
|
|
1217
1276
|
* @return GetRemediationRunResponse
|
|
1218
1277
|
* @throws OciError when an error occurs
|
|
1219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/GetRemediationRun.ts.html |here} to see how to use GetRemediationRun API.
|
|
1220
1279
|
*/
|
|
1221
1280
|
getRemediationRun(getRemediationRunRequest) {
|
|
1222
1281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1223
|
-
|
|
1282
|
+
if (this.logger)
|
|
1283
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getRemediationRun.");
|
|
1224
1284
|
const operationName = "getRemediationRun";
|
|
1225
1285
|
const apiReferenceLink = "";
|
|
1226
1286
|
const pathParams = {
|
|
@@ -1233,6 +1293,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1233
1293
|
};
|
|
1234
1294
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1235
1295
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRemediationRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1296
|
+
if (this.logger)
|
|
1297
|
+
retrier.logger = this.logger;
|
|
1236
1298
|
const request = yield oci_common_1.composeRequest({
|
|
1237
1299
|
baseEndpoint: this._endpoint,
|
|
1238
1300
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1276,11 +1338,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1276
1338
|
* @param GetStageRequest
|
|
1277
1339
|
* @return GetStageResponse
|
|
1278
1340
|
* @throws OciError when an error occurs
|
|
1279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/GetStage.ts.html |here} to see how to use GetStage API.
|
|
1280
1342
|
*/
|
|
1281
1343
|
getStage(getStageRequest) {
|
|
1282
1344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1283
|
-
|
|
1345
|
+
if (this.logger)
|
|
1346
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getStage.");
|
|
1284
1347
|
const operationName = "getStage";
|
|
1285
1348
|
const apiReferenceLink = "";
|
|
1286
1349
|
const pathParams = {
|
|
@@ -1294,6 +1357,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1294
1357
|
};
|
|
1295
1358
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1296
1359
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStageRequest.retryConfiguration, specRetryConfiguration);
|
|
1360
|
+
if (this.logger)
|
|
1361
|
+
retrier.logger = this.logger;
|
|
1297
1362
|
const request = yield oci_common_1.composeRequest({
|
|
1298
1363
|
baseEndpoint: this._endpoint,
|
|
1299
1364
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1332,11 +1397,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1332
1397
|
* @param GetVulnerabilityAuditRequest
|
|
1333
1398
|
* @return GetVulnerabilityAuditResponse
|
|
1334
1399
|
* @throws OciError when an error occurs
|
|
1335
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/GetVulnerabilityAudit.ts.html |here} to see how to use GetVulnerabilityAudit API.
|
|
1336
1401
|
*/
|
|
1337
1402
|
getVulnerabilityAudit(getVulnerabilityAuditRequest) {
|
|
1338
1403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1339
|
-
|
|
1404
|
+
if (this.logger)
|
|
1405
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getVulnerabilityAudit.");
|
|
1340
1406
|
const operationName = "getVulnerabilityAudit";
|
|
1341
1407
|
const apiReferenceLink = "";
|
|
1342
1408
|
const pathParams = {
|
|
@@ -1349,6 +1415,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1349
1415
|
};
|
|
1350
1416
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1351
1417
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
1418
|
+
if (this.logger)
|
|
1419
|
+
retrier.logger = this.logger;
|
|
1352
1420
|
const request = yield oci_common_1.composeRequest({
|
|
1353
1421
|
baseEndpoint: this._endpoint,
|
|
1354
1422
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1392,11 +1460,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1392
1460
|
* @param GetWorkRequestRequest
|
|
1393
1461
|
* @return GetWorkRequestResponse
|
|
1394
1462
|
* @throws OciError when an error occurs
|
|
1395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1463
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1396
1464
|
*/
|
|
1397
1465
|
getWorkRequest(getWorkRequestRequest) {
|
|
1398
1466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1399
|
-
|
|
1467
|
+
if (this.logger)
|
|
1468
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getWorkRequest.");
|
|
1400
1469
|
const operationName = "getWorkRequest";
|
|
1401
1470
|
const apiReferenceLink = "";
|
|
1402
1471
|
const pathParams = {
|
|
@@ -1409,6 +1478,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1409
1478
|
};
|
|
1410
1479
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1411
1480
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1481
|
+
if (this.logger)
|
|
1482
|
+
retrier.logger = this.logger;
|
|
1412
1483
|
const request = yield oci_common_1.composeRequest({
|
|
1413
1484
|
baseEndpoint: this._endpoint,
|
|
1414
1485
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1457,11 +1528,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1457
1528
|
* @param ListApplicationDependencyRecommendationsRequest
|
|
1458
1529
|
* @return ListApplicationDependencyRecommendationsResponse
|
|
1459
1530
|
* @throws OciError when an error occurs
|
|
1460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1531
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListApplicationDependencyRecommendations.ts.html |here} to see how to use ListApplicationDependencyRecommendations API.
|
|
1461
1532
|
*/
|
|
1462
1533
|
listApplicationDependencyRecommendations(listApplicationDependencyRecommendationsRequest) {
|
|
1463
1534
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1464
|
-
|
|
1535
|
+
if (this.logger)
|
|
1536
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listApplicationDependencyRecommendations.");
|
|
1465
1537
|
const operationName = "listApplicationDependencyRecommendations";
|
|
1466
1538
|
const apiReferenceLink = "";
|
|
1467
1539
|
const pathParams = {
|
|
@@ -1481,6 +1553,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1481
1553
|
};
|
|
1482
1554
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1483
1555
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplicationDependencyRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1556
|
+
if (this.logger)
|
|
1557
|
+
retrier.logger = this.logger;
|
|
1484
1558
|
const request = yield oci_common_1.composeRequest({
|
|
1485
1559
|
baseEndpoint: this._endpoint,
|
|
1486
1560
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1524,11 +1598,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1524
1598
|
* @param ListApplicationDependencyVulnerabilitiesRequest
|
|
1525
1599
|
* @return ListApplicationDependencyVulnerabilitiesResponse
|
|
1526
1600
|
* @throws OciError when an error occurs
|
|
1527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1601
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListApplicationDependencyVulnerabilities.ts.html |here} to see how to use ListApplicationDependencyVulnerabilities API.
|
|
1528
1602
|
*/
|
|
1529
1603
|
listApplicationDependencyVulnerabilities(listApplicationDependencyVulnerabilitiesRequest) {
|
|
1530
1604
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1531
|
-
|
|
1605
|
+
if (this.logger)
|
|
1606
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listApplicationDependencyVulnerabilities.");
|
|
1532
1607
|
const operationName = "listApplicationDependencyVulnerabilities";
|
|
1533
1608
|
const apiReferenceLink = "";
|
|
1534
1609
|
const pathParams = {
|
|
@@ -1554,6 +1629,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1554
1629
|
};
|
|
1555
1630
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1556
1631
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplicationDependencyVulnerabilitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
1632
|
+
if (this.logger)
|
|
1633
|
+
retrier.logger = this.logger;
|
|
1557
1634
|
const request = yield oci_common_1.composeRequest({
|
|
1558
1635
|
baseEndpoint: this._endpoint,
|
|
1559
1636
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1599,11 +1676,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1599
1676
|
* @param ListKnowledgeBasesRequest
|
|
1600
1677
|
* @return ListKnowledgeBasesResponse
|
|
1601
1678
|
* @throws OciError when an error occurs
|
|
1602
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1679
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListKnowledgeBases.ts.html |here} to see how to use ListKnowledgeBases API.
|
|
1603
1680
|
*/
|
|
1604
1681
|
listKnowledgeBases(listKnowledgeBasesRequest) {
|
|
1605
1682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1606
|
-
|
|
1683
|
+
if (this.logger)
|
|
1684
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listKnowledgeBases.");
|
|
1607
1685
|
const operationName = "listKnowledgeBases";
|
|
1608
1686
|
const apiReferenceLink = "";
|
|
1609
1687
|
const pathParams = {};
|
|
@@ -1623,6 +1701,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1623
1701
|
};
|
|
1624
1702
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1625
1703
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listKnowledgeBasesRequest.retryConfiguration, specRetryConfiguration);
|
|
1704
|
+
if (this.logger)
|
|
1705
|
+
retrier.logger = this.logger;
|
|
1626
1706
|
const request = yield oci_common_1.composeRequest({
|
|
1627
1707
|
baseEndpoint: this._endpoint,
|
|
1628
1708
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1668,11 +1748,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1668
1748
|
* @param ListRemediationRecipesRequest
|
|
1669
1749
|
* @return ListRemediationRecipesResponse
|
|
1670
1750
|
* @throws OciError when an error occurs
|
|
1671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListRemediationRecipes.ts.html |here} to see how to use ListRemediationRecipes API.
|
|
1672
1752
|
*/
|
|
1673
1753
|
listRemediationRecipes(listRemediationRecipesRequest) {
|
|
1674
1754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1675
|
-
|
|
1755
|
+
if (this.logger)
|
|
1756
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listRemediationRecipes.");
|
|
1676
1757
|
const operationName = "listRemediationRecipes";
|
|
1677
1758
|
const apiReferenceLink = "";
|
|
1678
1759
|
const pathParams = {};
|
|
@@ -1692,6 +1773,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1692
1773
|
};
|
|
1693
1774
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1694
1775
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRemediationRecipesRequest.retryConfiguration, specRetryConfiguration);
|
|
1776
|
+
if (this.logger)
|
|
1777
|
+
retrier.logger = this.logger;
|
|
1695
1778
|
const request = yield oci_common_1.composeRequest({
|
|
1696
1779
|
baseEndpoint: this._endpoint,
|
|
1697
1780
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1737,11 +1820,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1737
1820
|
* @param ListRemediationRunsRequest
|
|
1738
1821
|
* @return ListRemediationRunsResponse
|
|
1739
1822
|
* @throws OciError when an error occurs
|
|
1740
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1823
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListRemediationRuns.ts.html |here} to see how to use ListRemediationRuns API.
|
|
1741
1824
|
*/
|
|
1742
1825
|
listRemediationRuns(listRemediationRunsRequest) {
|
|
1743
1826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1744
|
-
|
|
1827
|
+
if (this.logger)
|
|
1828
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listRemediationRuns.");
|
|
1745
1829
|
const operationName = "listRemediationRuns";
|
|
1746
1830
|
const apiReferenceLink = "";
|
|
1747
1831
|
const pathParams = {};
|
|
@@ -1762,6 +1846,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1762
1846
|
};
|
|
1763
1847
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1764
1848
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRemediationRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
1849
|
+
if (this.logger)
|
|
1850
|
+
retrier.logger = this.logger;
|
|
1765
1851
|
const request = yield oci_common_1.composeRequest({
|
|
1766
1852
|
baseEndpoint: this._endpoint,
|
|
1767
1853
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1805,11 +1891,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1805
1891
|
* @param ListStagesRequest
|
|
1806
1892
|
* @return ListStagesResponse
|
|
1807
1893
|
* @throws OciError when an error occurs
|
|
1808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1894
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListStages.ts.html |here} to see how to use ListStages API.
|
|
1809
1895
|
*/
|
|
1810
1896
|
listStages(listStagesRequest) {
|
|
1811
1897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1812
|
-
|
|
1898
|
+
if (this.logger)
|
|
1899
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listStages.");
|
|
1813
1900
|
const operationName = "listStages";
|
|
1814
1901
|
const apiReferenceLink = "";
|
|
1815
1902
|
const pathParams = {
|
|
@@ -1829,6 +1916,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1829
1916
|
};
|
|
1830
1917
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1831
1918
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStagesRequest.retryConfiguration, specRetryConfiguration);
|
|
1919
|
+
if (this.logger)
|
|
1920
|
+
retrier.logger = this.logger;
|
|
1832
1921
|
const request = yield oci_common_1.composeRequest({
|
|
1833
1922
|
baseEndpoint: this._endpoint,
|
|
1834
1923
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1874,11 +1963,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1874
1963
|
* @param ListVulnerabilityAuditsRequest
|
|
1875
1964
|
* @return ListVulnerabilityAuditsResponse
|
|
1876
1965
|
* @throws OciError when an error occurs
|
|
1877
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1966
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListVulnerabilityAudits.ts.html |here} to see how to use ListVulnerabilityAudits API.
|
|
1878
1967
|
*/
|
|
1879
1968
|
listVulnerabilityAudits(listVulnerabilityAuditsRequest) {
|
|
1880
1969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1881
|
-
|
|
1970
|
+
if (this.logger)
|
|
1971
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listVulnerabilityAudits.");
|
|
1882
1972
|
const operationName = "listVulnerabilityAudits";
|
|
1883
1973
|
const apiReferenceLink = "";
|
|
1884
1974
|
const pathParams = {};
|
|
@@ -1903,6 +1993,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1903
1993
|
};
|
|
1904
1994
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1905
1995
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVulnerabilityAuditsRequest.retryConfiguration, specRetryConfiguration);
|
|
1996
|
+
if (this.logger)
|
|
1997
|
+
retrier.logger = this.logger;
|
|
1906
1998
|
const request = yield oci_common_1.composeRequest({
|
|
1907
1999
|
baseEndpoint: this._endpoint,
|
|
1908
2000
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1947,11 +2039,12 @@ class ApplicationDependencyManagementClient {
|
|
|
1947
2039
|
* @param ListWorkRequestErrorsRequest
|
|
1948
2040
|
* @return ListWorkRequestErrorsResponse
|
|
1949
2041
|
* @throws OciError when an error occurs
|
|
1950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2042
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1951
2043
|
*/
|
|
1952
2044
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1953
2045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1954
|
-
|
|
2046
|
+
if (this.logger)
|
|
2047
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listWorkRequestErrors.");
|
|
1955
2048
|
const operationName = "listWorkRequestErrors";
|
|
1956
2049
|
const apiReferenceLink = "";
|
|
1957
2050
|
const pathParams = {
|
|
@@ -1969,6 +2062,8 @@ class ApplicationDependencyManagementClient {
|
|
|
1969
2062
|
};
|
|
1970
2063
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1971
2064
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2065
|
+
if (this.logger)
|
|
2066
|
+
retrier.logger = this.logger;
|
|
1972
2067
|
const request = yield oci_common_1.composeRequest({
|
|
1973
2068
|
baseEndpoint: this._endpoint,
|
|
1974
2069
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2013,11 +2108,12 @@ class ApplicationDependencyManagementClient {
|
|
|
2013
2108
|
* @param ListWorkRequestLogsRequest
|
|
2014
2109
|
* @return ListWorkRequestLogsResponse
|
|
2015
2110
|
* @throws OciError when an error occurs
|
|
2016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2111
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2017
2112
|
*/
|
|
2018
2113
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2019
2114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2020
|
-
|
|
2115
|
+
if (this.logger)
|
|
2116
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listWorkRequestLogs.");
|
|
2021
2117
|
const operationName = "listWorkRequestLogs";
|
|
2022
2118
|
const apiReferenceLink = "";
|
|
2023
2119
|
const pathParams = {
|
|
@@ -2035,6 +2131,8 @@ class ApplicationDependencyManagementClient {
|
|
|
2035
2131
|
};
|
|
2036
2132
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2037
2133
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2134
|
+
if (this.logger)
|
|
2135
|
+
retrier.logger = this.logger;
|
|
2038
2136
|
const request = yield oci_common_1.composeRequest({
|
|
2039
2137
|
baseEndpoint: this._endpoint,
|
|
2040
2138
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2079,11 +2177,12 @@ class ApplicationDependencyManagementClient {
|
|
|
2079
2177
|
* @param ListWorkRequestsRequest
|
|
2080
2178
|
* @return ListWorkRequestsResponse
|
|
2081
2179
|
* @throws OciError when an error occurs
|
|
2082
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2180
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2083
2181
|
*/
|
|
2084
2182
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2085
2183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2086
|
-
|
|
2184
|
+
if (this.logger)
|
|
2185
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listWorkRequests.");
|
|
2087
2186
|
const operationName = "listWorkRequests";
|
|
2088
2187
|
const apiReferenceLink = "";
|
|
2089
2188
|
const pathParams = {};
|
|
@@ -2103,6 +2202,8 @@ class ApplicationDependencyManagementClient {
|
|
|
2103
2202
|
};
|
|
2104
2203
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2105
2204
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2205
|
+
if (this.logger)
|
|
2206
|
+
retrier.logger = this.logger;
|
|
2106
2207
|
const request = yield oci_common_1.composeRequest({
|
|
2107
2208
|
baseEndpoint: this._endpoint,
|
|
2108
2209
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2146,11 +2247,12 @@ class ApplicationDependencyManagementClient {
|
|
|
2146
2247
|
* @param UpdateKnowledgeBaseRequest
|
|
2147
2248
|
* @return UpdateKnowledgeBaseResponse
|
|
2148
2249
|
* @throws OciError when an error occurs
|
|
2149
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/UpdateKnowledgeBase.ts.html |here} to see how to use UpdateKnowledgeBase API.
|
|
2150
2251
|
*/
|
|
2151
2252
|
updateKnowledgeBase(updateKnowledgeBaseRequest) {
|
|
2152
2253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2153
|
-
|
|
2254
|
+
if (this.logger)
|
|
2255
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#updateKnowledgeBase.");
|
|
2154
2256
|
const operationName = "updateKnowledgeBase";
|
|
2155
2257
|
const apiReferenceLink = "";
|
|
2156
2258
|
const pathParams = {
|
|
@@ -2164,6 +2266,8 @@ class ApplicationDependencyManagementClient {
|
|
|
2164
2266
|
};
|
|
2165
2267
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2166
2268
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
2269
|
+
if (this.logger)
|
|
2270
|
+
retrier.logger = this.logger;
|
|
2167
2271
|
const request = yield oci_common_1.composeRequest({
|
|
2168
2272
|
baseEndpoint: this._endpoint,
|
|
2169
2273
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2204,11 +2308,12 @@ class ApplicationDependencyManagementClient {
|
|
|
2204
2308
|
* @param UpdateRemediationRecipeRequest
|
|
2205
2309
|
* @return UpdateRemediationRecipeResponse
|
|
2206
2310
|
* @throws OciError when an error occurs
|
|
2207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2311
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/UpdateRemediationRecipe.ts.html |here} to see how to use UpdateRemediationRecipe API.
|
|
2208
2312
|
*/
|
|
2209
2313
|
updateRemediationRecipe(updateRemediationRecipeRequest) {
|
|
2210
2314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2211
|
-
|
|
2315
|
+
if (this.logger)
|
|
2316
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#updateRemediationRecipe.");
|
|
2212
2317
|
const operationName = "updateRemediationRecipe";
|
|
2213
2318
|
const apiReferenceLink = "";
|
|
2214
2319
|
const pathParams = {
|
|
@@ -2222,6 +2327,8 @@ class ApplicationDependencyManagementClient {
|
|
|
2222
2327
|
};
|
|
2223
2328
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2224
2329
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRemediationRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
2330
|
+
if (this.logger)
|
|
2331
|
+
retrier.logger = this.logger;
|
|
2225
2332
|
const request = yield oci_common_1.composeRequest({
|
|
2226
2333
|
baseEndpoint: this._endpoint,
|
|
2227
2334
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2262,11 +2369,12 @@ class ApplicationDependencyManagementClient {
|
|
|
2262
2369
|
* @param UpdateRemediationRunRequest
|
|
2263
2370
|
* @return UpdateRemediationRunResponse
|
|
2264
2371
|
* @throws OciError when an error occurs
|
|
2265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2372
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/UpdateRemediationRun.ts.html |here} to see how to use UpdateRemediationRun API.
|
|
2266
2373
|
*/
|
|
2267
2374
|
updateRemediationRun(updateRemediationRunRequest) {
|
|
2268
2375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2269
|
-
|
|
2376
|
+
if (this.logger)
|
|
2377
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#updateRemediationRun.");
|
|
2270
2378
|
const operationName = "updateRemediationRun";
|
|
2271
2379
|
const apiReferenceLink = "";
|
|
2272
2380
|
const pathParams = {
|
|
@@ -2280,6 +2388,8 @@ class ApplicationDependencyManagementClient {
|
|
|
2280
2388
|
};
|
|
2281
2389
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2282
2390
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRemediationRunRequest.retryConfiguration, specRetryConfiguration);
|
|
2391
|
+
if (this.logger)
|
|
2392
|
+
retrier.logger = this.logger;
|
|
2283
2393
|
const request = yield oci_common_1.composeRequest({
|
|
2284
2394
|
baseEndpoint: this._endpoint,
|
|
2285
2395
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2324,11 +2434,12 @@ class ApplicationDependencyManagementClient {
|
|
|
2324
2434
|
* @param UpdateVulnerabilityAuditRequest
|
|
2325
2435
|
* @return UpdateVulnerabilityAuditResponse
|
|
2326
2436
|
* @throws OciError when an error occurs
|
|
2327
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2437
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/adm/UpdateVulnerabilityAudit.ts.html |here} to see how to use UpdateVulnerabilityAudit API.
|
|
2328
2438
|
*/
|
|
2329
2439
|
updateVulnerabilityAudit(updateVulnerabilityAuditRequest) {
|
|
2330
2440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2331
|
-
|
|
2441
|
+
if (this.logger)
|
|
2442
|
+
this.logger.debug("Calling operation ApplicationDependencyManagementClient#updateVulnerabilityAudit.");
|
|
2332
2443
|
const operationName = "updateVulnerabilityAudit";
|
|
2333
2444
|
const apiReferenceLink = "";
|
|
2334
2445
|
const pathParams = {
|
|
@@ -2342,6 +2453,8 @@ class ApplicationDependencyManagementClient {
|
|
|
2342
2453
|
};
|
|
2343
2454
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2344
2455
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
2456
|
+
if (this.logger)
|
|
2457
|
+
retrier.logger = this.logger;
|
|
2345
2458
|
const request = yield oci_common_1.composeRequest({
|
|
2346
2459
|
baseEndpoint: this._endpoint,
|
|
2347
2460
|
defaultHeaders: this._defaultHeaders,
|