oci-managementagent 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 +30 -29
- package/lib/client.js +148 -59
- package/lib/client.js.map +1 -1
- package/lib/model/create-data-source-details.js +4 -2
- package/lib/model/create-data-source-details.js.map +1 -1
- package/lib/model/data-source-summary-item.js +4 -2
- package/lib/model/data-source-summary-item.js.map +1 -1
- package/lib/model/data-source-summary.js +4 -2
- package/lib/model/data-source-summary.js.map +1 -1
- package/lib/model/data-source.js +4 -2
- package/lib/model/data-source.js.map +1 -1
- package/lib/model/update-data-source-details.js +4 -2
- package/lib/model/update-data-source-details.js.map +1 -1
- package/lib/request/create-data-source-request.d.ts +1 -1
- package/lib/request/create-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/delete-data-source-request.d.ts +1 -1
- package/lib/request/delete-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/delete-management-agent-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/deploy-plugins-request.d.ts +1 -1
- package/lib/request/get-auto-upgradable-config-request.d.ts +1 -1
- package/lib/request/get-data-source-request.d.ts +1 -1
- package/lib/request/get-management-agent-install-key-content-request.d.ts +1 -1
- package/lib/request/get-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/get-management-agent-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-availability-histories-request.d.ts +1 -1
- package/lib/request/list-data-sources-request.d.ts +1 -1
- package/lib/request/list-management-agent-images-request.d.ts +1 -1
- package/lib/request/list-management-agent-install-keys-request.d.ts +1 -1
- package/lib/request/list-management-agent-plugins-request.d.ts +1 -1
- package/lib/request/list-management-agents-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/set-auto-upgradable-config-request.d.ts +1 -1
- package/lib/request/summarize-management-agent-counts-request.d.ts +1 -1
- package/lib/request/summarize-management-agent-plugin-counts-request.d.ts +1 -1
- package/lib/request/update-data-source-request.d.ts +1 -1
- package/lib/request/update-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/update-management-agent-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -60,7 +60,7 @@ var ManagementAgentApiKeys;
|
|
|
60
60
|
*/
|
|
61
61
|
class ManagementAgentClient {
|
|
62
62
|
constructor(params, clientConfiguration) {
|
|
63
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
63
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
64
64
|
this["_endpoint"] = "";
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
@@ -119,7 +119,11 @@ class ManagementAgentClient {
|
|
|
119
119
|
set endpoint(endpoint) {
|
|
120
120
|
this._endpoint = endpoint;
|
|
121
121
|
this._endpoint = this._endpoint + "/20200202";
|
|
122
|
-
|
|
122
|
+
if (this.logger)
|
|
123
|
+
this.logger.info(`ManagementAgentClient endpoint set to ${this._endpoint}`);
|
|
124
|
+
}
|
|
125
|
+
get logger() {
|
|
126
|
+
return common.LOG.logger;
|
|
123
127
|
}
|
|
124
128
|
/**
|
|
125
129
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -128,7 +132,8 @@ class ManagementAgentClient {
|
|
|
128
132
|
*/
|
|
129
133
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
130
134
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
131
|
-
|
|
135
|
+
if (this.logger)
|
|
136
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
132
137
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
133
138
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ManagementAgentClient.serviceEndpointTemplate, this._region, ManagementAgentClient.endpointServiceName);
|
|
134
139
|
}
|
|
@@ -195,11 +200,12 @@ class ManagementAgentClient {
|
|
|
195
200
|
* @param CreateDataSourceRequest
|
|
196
201
|
* @return CreateDataSourceResponse
|
|
197
202
|
* @throws OciError when an error occurs
|
|
198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
|
|
199
204
|
*/
|
|
200
205
|
createDataSource(createDataSourceRequest) {
|
|
201
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
-
|
|
207
|
+
if (this.logger)
|
|
208
|
+
this.logger.debug("Calling operation ManagementAgentClient#createDataSource.");
|
|
203
209
|
const operationName = "createDataSource";
|
|
204
210
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/CreateDataSource";
|
|
205
211
|
const pathParams = {
|
|
@@ -214,6 +220,8 @@ class ManagementAgentClient {
|
|
|
214
220
|
};
|
|
215
221
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
216
222
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDataSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
223
|
+
if (this.logger)
|
|
224
|
+
retrier.logger = this.logger;
|
|
217
225
|
const request = yield oci_common_2.composeRequest({
|
|
218
226
|
baseEndpoint: this._endpoint,
|
|
219
227
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -255,11 +263,12 @@ class ManagementAgentClient {
|
|
|
255
263
|
* @param CreateManagementAgentInstallKeyRequest
|
|
256
264
|
* @return CreateManagementAgentInstallKeyResponse
|
|
257
265
|
* @throws OciError when an error occurs
|
|
258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/CreateManagementAgentInstallKey.ts.html |here} to see how to use CreateManagementAgentInstallKey API.
|
|
259
267
|
*/
|
|
260
268
|
createManagementAgentInstallKey(createManagementAgentInstallKeyRequest) {
|
|
261
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
262
|
-
|
|
270
|
+
if (this.logger)
|
|
271
|
+
this.logger.debug("Calling operation ManagementAgentClient#createManagementAgentInstallKey.");
|
|
263
272
|
const operationName = "createManagementAgentInstallKey";
|
|
264
273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/CreateManagementAgentInstallKey";
|
|
265
274
|
const pathParams = {};
|
|
@@ -271,6 +280,8 @@ class ManagementAgentClient {
|
|
|
271
280
|
};
|
|
272
281
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
273
282
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
283
|
+
if (this.logger)
|
|
284
|
+
retrier.logger = this.logger;
|
|
274
285
|
const request = yield oci_common_2.composeRequest({
|
|
275
286
|
baseEndpoint: this._endpoint,
|
|
276
287
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -316,11 +327,12 @@ class ManagementAgentClient {
|
|
|
316
327
|
* @param DeleteDataSourceRequest
|
|
317
328
|
* @return DeleteDataSourceResponse
|
|
318
329
|
* @throws OciError when an error occurs
|
|
319
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
|
|
320
331
|
*/
|
|
321
332
|
deleteDataSource(deleteDataSourceRequest) {
|
|
322
333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
323
|
-
|
|
334
|
+
if (this.logger)
|
|
335
|
+
this.logger.debug("Calling operation ManagementAgentClient#deleteDataSource.");
|
|
324
336
|
const operationName = "deleteDataSource";
|
|
325
337
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/DeleteDataSource";
|
|
326
338
|
const pathParams = {
|
|
@@ -335,6 +347,8 @@ class ManagementAgentClient {
|
|
|
335
347
|
};
|
|
336
348
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
337
349
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDataSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
350
|
+
if (this.logger)
|
|
351
|
+
retrier.logger = this.logger;
|
|
338
352
|
const request = yield oci_common_2.composeRequest({
|
|
339
353
|
baseEndpoint: this._endpoint,
|
|
340
354
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -374,11 +388,12 @@ class ManagementAgentClient {
|
|
|
374
388
|
* @param DeleteManagementAgentRequest
|
|
375
389
|
* @return DeleteManagementAgentResponse
|
|
376
390
|
* @throws OciError when an error occurs
|
|
377
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/DeleteManagementAgent.ts.html |here} to see how to use DeleteManagementAgent API.
|
|
378
392
|
*/
|
|
379
393
|
deleteManagementAgent(deleteManagementAgentRequest) {
|
|
380
394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
381
|
-
|
|
395
|
+
if (this.logger)
|
|
396
|
+
this.logger.debug("Calling operation ManagementAgentClient#deleteManagementAgent.");
|
|
382
397
|
const operationName = "deleteManagementAgent";
|
|
383
398
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/DeleteManagementAgent";
|
|
384
399
|
const pathParams = {
|
|
@@ -392,6 +407,8 @@ class ManagementAgentClient {
|
|
|
392
407
|
};
|
|
393
408
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
394
409
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagementAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
410
|
+
if (this.logger)
|
|
411
|
+
retrier.logger = this.logger;
|
|
395
412
|
const request = yield oci_common_2.composeRequest({
|
|
396
413
|
baseEndpoint: this._endpoint,
|
|
397
414
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -426,11 +443,12 @@ class ManagementAgentClient {
|
|
|
426
443
|
* @param DeleteManagementAgentInstallKeyRequest
|
|
427
444
|
* @return DeleteManagementAgentInstallKeyResponse
|
|
428
445
|
* @throws OciError when an error occurs
|
|
429
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
446
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/DeleteManagementAgentInstallKey.ts.html |here} to see how to use DeleteManagementAgentInstallKey API.
|
|
430
447
|
*/
|
|
431
448
|
deleteManagementAgentInstallKey(deleteManagementAgentInstallKeyRequest) {
|
|
432
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
433
|
-
|
|
450
|
+
if (this.logger)
|
|
451
|
+
this.logger.debug("Calling operation ManagementAgentClient#deleteManagementAgentInstallKey.");
|
|
434
452
|
const operationName = "deleteManagementAgentInstallKey";
|
|
435
453
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/DeleteManagementAgentInstallKey";
|
|
436
454
|
const pathParams = {
|
|
@@ -444,6 +462,8 @@ class ManagementAgentClient {
|
|
|
444
462
|
};
|
|
445
463
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
446
464
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
465
|
+
if (this.logger)
|
|
466
|
+
retrier.logger = this.logger;
|
|
447
467
|
const request = yield oci_common_2.composeRequest({
|
|
448
468
|
baseEndpoint: this._endpoint,
|
|
449
469
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -478,11 +498,12 @@ class ManagementAgentClient {
|
|
|
478
498
|
* @param DeleteWorkRequestRequest
|
|
479
499
|
* @return DeleteWorkRequestResponse
|
|
480
500
|
* @throws OciError when an error occurs
|
|
481
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
501
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
482
502
|
*/
|
|
483
503
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
484
504
|
return __awaiter(this, void 0, void 0, function* () {
|
|
485
|
-
|
|
505
|
+
if (this.logger)
|
|
506
|
+
this.logger.debug("Calling operation ManagementAgentClient#deleteWorkRequest.");
|
|
486
507
|
const operationName = "deleteWorkRequest";
|
|
487
508
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequest/DeleteWorkRequest";
|
|
488
509
|
const pathParams = {
|
|
@@ -496,6 +517,8 @@ class ManagementAgentClient {
|
|
|
496
517
|
};
|
|
497
518
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
498
519
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
520
|
+
if (this.logger)
|
|
521
|
+
retrier.logger = this.logger;
|
|
499
522
|
const request = yield oci_common_2.composeRequest({
|
|
500
523
|
baseEndpoint: this._endpoint,
|
|
501
524
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -531,11 +554,12 @@ class ManagementAgentClient {
|
|
|
531
554
|
* @param DeployPluginsRequest
|
|
532
555
|
* @return DeployPluginsResponse
|
|
533
556
|
* @throws OciError when an error occurs
|
|
534
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/DeployPlugins.ts.html |here} to see how to use DeployPlugins API.
|
|
535
558
|
*/
|
|
536
559
|
deployPlugins(deployPluginsRequest) {
|
|
537
560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
538
|
-
|
|
561
|
+
if (this.logger)
|
|
562
|
+
this.logger.debug("Calling operation ManagementAgentClient#deployPlugins.");
|
|
539
563
|
const operationName = "deployPlugins";
|
|
540
564
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/DeployPlugins";
|
|
541
565
|
const pathParams = {};
|
|
@@ -547,6 +571,8 @@ class ManagementAgentClient {
|
|
|
547
571
|
};
|
|
548
572
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
549
573
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deployPluginsRequest.retryConfiguration, specRetryConfiguration);
|
|
574
|
+
if (this.logger)
|
|
575
|
+
retrier.logger = this.logger;
|
|
550
576
|
const request = yield oci_common_2.composeRequest({
|
|
551
577
|
baseEndpoint: this._endpoint,
|
|
552
578
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -589,11 +615,12 @@ class ManagementAgentClient {
|
|
|
589
615
|
* @param GetAutoUpgradableConfigRequest
|
|
590
616
|
* @return GetAutoUpgradableConfigResponse
|
|
591
617
|
* @throws OciError when an error occurs
|
|
592
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
618
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/GetAutoUpgradableConfig.ts.html |here} to see how to use GetAutoUpgradableConfig API.
|
|
593
619
|
*/
|
|
594
620
|
getAutoUpgradableConfig(getAutoUpgradableConfigRequest) {
|
|
595
621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
-
|
|
622
|
+
if (this.logger)
|
|
623
|
+
this.logger.debug("Calling operation ManagementAgentClient#getAutoUpgradableConfig.");
|
|
597
624
|
const operationName = "getAutoUpgradableConfig";
|
|
598
625
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/GetAutoUpgradableConfig";
|
|
599
626
|
const pathParams = {};
|
|
@@ -606,6 +633,8 @@ class ManagementAgentClient {
|
|
|
606
633
|
};
|
|
607
634
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
608
635
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAutoUpgradableConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
636
|
+
if (this.logger)
|
|
637
|
+
retrier.logger = this.logger;
|
|
609
638
|
const request = yield oci_common_2.composeRequest({
|
|
610
639
|
baseEndpoint: this._endpoint,
|
|
611
640
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -645,11 +674,12 @@ class ManagementAgentClient {
|
|
|
645
674
|
* @param GetDataSourceRequest
|
|
646
675
|
* @return GetDataSourceResponse
|
|
647
676
|
* @throws OciError when an error occurs
|
|
648
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
677
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/GetDataSource.ts.html |here} to see how to use GetDataSource API.
|
|
649
678
|
*/
|
|
650
679
|
getDataSource(getDataSourceRequest) {
|
|
651
680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
652
|
-
|
|
681
|
+
if (this.logger)
|
|
682
|
+
this.logger.debug("Calling operation ManagementAgentClient#getDataSource.");
|
|
653
683
|
const operationName = "getDataSource";
|
|
654
684
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/GetDataSource";
|
|
655
685
|
const pathParams = {
|
|
@@ -664,6 +694,8 @@ class ManagementAgentClient {
|
|
|
664
694
|
};
|
|
665
695
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
666
696
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
697
|
+
if (this.logger)
|
|
698
|
+
retrier.logger = this.logger;
|
|
667
699
|
const request = yield oci_common_2.composeRequest({
|
|
668
700
|
baseEndpoint: this._endpoint,
|
|
669
701
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -707,11 +739,12 @@ class ManagementAgentClient {
|
|
|
707
739
|
* @param GetManagementAgentRequest
|
|
708
740
|
* @return GetManagementAgentResponse
|
|
709
741
|
* @throws OciError when an error occurs
|
|
710
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/GetManagementAgent.ts.html |here} to see how to use GetManagementAgent API.
|
|
711
743
|
*/
|
|
712
744
|
getManagementAgent(getManagementAgentRequest) {
|
|
713
745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
714
|
-
|
|
746
|
+
if (this.logger)
|
|
747
|
+
this.logger.debug("Calling operation ManagementAgentClient#getManagementAgent.");
|
|
715
748
|
const operationName = "getManagementAgent";
|
|
716
749
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/GetManagementAgent";
|
|
717
750
|
const pathParams = {
|
|
@@ -724,6 +757,8 @@ class ManagementAgentClient {
|
|
|
724
757
|
};
|
|
725
758
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
726
759
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
760
|
+
if (this.logger)
|
|
761
|
+
retrier.logger = this.logger;
|
|
727
762
|
const request = yield oci_common_2.composeRequest({
|
|
728
763
|
baseEndpoint: this._endpoint,
|
|
729
764
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -767,11 +802,12 @@ class ManagementAgentClient {
|
|
|
767
802
|
* @param GetManagementAgentInstallKeyRequest
|
|
768
803
|
* @return GetManagementAgentInstallKeyResponse
|
|
769
804
|
* @throws OciError when an error occurs
|
|
770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
805
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/GetManagementAgentInstallKey.ts.html |here} to see how to use GetManagementAgentInstallKey API.
|
|
771
806
|
*/
|
|
772
807
|
getManagementAgentInstallKey(getManagementAgentInstallKeyRequest) {
|
|
773
808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
774
|
-
|
|
809
|
+
if (this.logger)
|
|
810
|
+
this.logger.debug("Calling operation ManagementAgentClient#getManagementAgentInstallKey.");
|
|
775
811
|
const operationName = "getManagementAgentInstallKey";
|
|
776
812
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/GetManagementAgentInstallKey";
|
|
777
813
|
const pathParams = {
|
|
@@ -784,6 +820,8 @@ class ManagementAgentClient {
|
|
|
784
820
|
};
|
|
785
821
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
786
822
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
823
|
+
if (this.logger)
|
|
824
|
+
retrier.logger = this.logger;
|
|
787
825
|
const request = yield oci_common_2.composeRequest({
|
|
788
826
|
baseEndpoint: this._endpoint,
|
|
789
827
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -828,11 +866,12 @@ class ManagementAgentClient {
|
|
|
828
866
|
* @param GetManagementAgentInstallKeyContentRequest
|
|
829
867
|
* @return GetManagementAgentInstallKeyContentResponse
|
|
830
868
|
* @throws OciError when an error occurs
|
|
831
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
869
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/GetManagementAgentInstallKeyContent.ts.html |here} to see how to use GetManagementAgentInstallKeyContent API.
|
|
832
870
|
*/
|
|
833
871
|
getManagementAgentInstallKeyContent(getManagementAgentInstallKeyContentRequest) {
|
|
834
872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
835
|
-
|
|
873
|
+
if (this.logger)
|
|
874
|
+
this.logger.debug("Calling operation ManagementAgentClient#getManagementAgentInstallKeyContent.");
|
|
836
875
|
const operationName = "getManagementAgentInstallKeyContent";
|
|
837
876
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/GetManagementAgentInstallKeyContent";
|
|
838
877
|
const pathParams = {
|
|
@@ -847,6 +886,8 @@ class ManagementAgentClient {
|
|
|
847
886
|
};
|
|
848
887
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
849
888
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentInstallKeyContentRequest.retryConfiguration, specRetryConfiguration);
|
|
889
|
+
if (this.logger)
|
|
890
|
+
retrier.logger = this.logger;
|
|
850
891
|
const request = yield oci_common_2.composeRequest({
|
|
851
892
|
baseEndpoint: this._endpoint,
|
|
852
893
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -894,11 +935,12 @@ class ManagementAgentClient {
|
|
|
894
935
|
* @param GetWorkRequestRequest
|
|
895
936
|
* @return GetWorkRequestResponse
|
|
896
937
|
* @throws OciError when an error occurs
|
|
897
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
938
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
898
939
|
*/
|
|
899
940
|
getWorkRequest(getWorkRequestRequest) {
|
|
900
941
|
return __awaiter(this, void 0, void 0, function* () {
|
|
901
|
-
|
|
942
|
+
if (this.logger)
|
|
943
|
+
this.logger.debug("Calling operation ManagementAgentClient#getWorkRequest.");
|
|
902
944
|
const operationName = "getWorkRequest";
|
|
903
945
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequest/GetWorkRequest";
|
|
904
946
|
const pathParams = {
|
|
@@ -911,6 +953,8 @@ class ManagementAgentClient {
|
|
|
911
953
|
};
|
|
912
954
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
913
955
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
956
|
+
if (this.logger)
|
|
957
|
+
retrier.logger = this.logger;
|
|
914
958
|
const request = yield oci_common_2.composeRequest({
|
|
915
959
|
baseEndpoint: this._endpoint,
|
|
916
960
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -959,11 +1003,12 @@ class ManagementAgentClient {
|
|
|
959
1003
|
* @param ListAvailabilityHistoriesRequest
|
|
960
1004
|
* @return ListAvailabilityHistoriesResponse
|
|
961
1005
|
* @throws OciError when an error occurs
|
|
962
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1006
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListAvailabilityHistories.ts.html |here} to see how to use ListAvailabilityHistories API.
|
|
963
1007
|
*/
|
|
964
1008
|
listAvailabilityHistories(listAvailabilityHistoriesRequest) {
|
|
965
1009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
966
|
-
|
|
1010
|
+
if (this.logger)
|
|
1011
|
+
this.logger.debug("Calling operation ManagementAgentClient#listAvailabilityHistories.");
|
|
967
1012
|
const operationName = "listAvailabilityHistories";
|
|
968
1013
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/ListAvailabilityHistories";
|
|
969
1014
|
const pathParams = {
|
|
@@ -983,6 +1028,8 @@ class ManagementAgentClient {
|
|
|
983
1028
|
};
|
|
984
1029
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
985
1030
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailabilityHistoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
1031
|
+
if (this.logger)
|
|
1032
|
+
retrier.logger = this.logger;
|
|
986
1033
|
const request = yield oci_common_2.composeRequest({
|
|
987
1034
|
baseEndpoint: this._endpoint,
|
|
988
1035
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1067,11 +1114,12 @@ class ManagementAgentClient {
|
|
|
1067
1114
|
* @param ListDataSourcesRequest
|
|
1068
1115
|
* @return ListDataSourcesResponse
|
|
1069
1116
|
* @throws OciError when an error occurs
|
|
1070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListDataSources.ts.html |here} to see how to use ListDataSources API.
|
|
1071
1118
|
*/
|
|
1072
1119
|
listDataSources(listDataSourcesRequest) {
|
|
1073
1120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1074
|
-
|
|
1121
|
+
if (this.logger)
|
|
1122
|
+
this.logger.debug("Calling operation ManagementAgentClient#listDataSources.");
|
|
1075
1123
|
const operationName = "listDataSources";
|
|
1076
1124
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/ListDataSources";
|
|
1077
1125
|
const pathParams = {
|
|
@@ -1090,6 +1138,8 @@ class ManagementAgentClient {
|
|
|
1090
1138
|
};
|
|
1091
1139
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1092
1140
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDataSourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
1141
|
+
if (this.logger)
|
|
1142
|
+
retrier.logger = this.logger;
|
|
1093
1143
|
const request = yield oci_common_2.composeRequest({
|
|
1094
1144
|
baseEndpoint: this._endpoint,
|
|
1095
1145
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1174,11 +1224,12 @@ class ManagementAgentClient {
|
|
|
1174
1224
|
* @param ListManagementAgentImagesRequest
|
|
1175
1225
|
* @return ListManagementAgentImagesResponse
|
|
1176
1226
|
* @throws OciError when an error occurs
|
|
1177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListManagementAgentImages.ts.html |here} to see how to use ListManagementAgentImages API.
|
|
1178
1228
|
*/
|
|
1179
1229
|
listManagementAgentImages(listManagementAgentImagesRequest) {
|
|
1180
1230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1181
|
-
|
|
1231
|
+
if (this.logger)
|
|
1232
|
+
this.logger.debug("Calling operation ManagementAgentClient#listManagementAgentImages.");
|
|
1182
1233
|
const operationName = "listManagementAgentImages";
|
|
1183
1234
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentImage/ListManagementAgentImages";
|
|
1184
1235
|
const pathParams = {};
|
|
@@ -1199,6 +1250,8 @@ class ManagementAgentClient {
|
|
|
1199
1250
|
};
|
|
1200
1251
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1201
1252
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentImagesRequest.retryConfiguration, specRetryConfiguration);
|
|
1253
|
+
if (this.logger)
|
|
1254
|
+
retrier.logger = this.logger;
|
|
1202
1255
|
const request = yield oci_common_2.composeRequest({
|
|
1203
1256
|
baseEndpoint: this._endpoint,
|
|
1204
1257
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1283,11 +1336,12 @@ class ManagementAgentClient {
|
|
|
1283
1336
|
* @param ListManagementAgentInstallKeysRequest
|
|
1284
1337
|
* @return ListManagementAgentInstallKeysResponse
|
|
1285
1338
|
* @throws OciError when an error occurs
|
|
1286
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListManagementAgentInstallKeys.ts.html |here} to see how to use ListManagementAgentInstallKeys API.
|
|
1287
1340
|
*/
|
|
1288
1341
|
listManagementAgentInstallKeys(listManagementAgentInstallKeysRequest) {
|
|
1289
1342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1290
|
-
|
|
1343
|
+
if (this.logger)
|
|
1344
|
+
this.logger.debug("Calling operation ManagementAgentClient#listManagementAgentInstallKeys.");
|
|
1291
1345
|
const operationName = "listManagementAgentInstallKeys";
|
|
1292
1346
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/ListManagementAgentInstallKeys";
|
|
1293
1347
|
const pathParams = {};
|
|
@@ -1307,6 +1361,8 @@ class ManagementAgentClient {
|
|
|
1307
1361
|
};
|
|
1308
1362
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1309
1363
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentInstallKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
1364
|
+
if (this.logger)
|
|
1365
|
+
retrier.logger = this.logger;
|
|
1310
1366
|
const request = yield oci_common_2.composeRequest({
|
|
1311
1367
|
baseEndpoint: this._endpoint,
|
|
1312
1368
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1391,11 +1447,12 @@ class ManagementAgentClient {
|
|
|
1391
1447
|
* @param ListManagementAgentPluginsRequest
|
|
1392
1448
|
* @return ListManagementAgentPluginsResponse
|
|
1393
1449
|
* @throws OciError when an error occurs
|
|
1394
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListManagementAgentPlugins.ts.html |here} to see how to use ListManagementAgentPlugins API.
|
|
1395
1451
|
*/
|
|
1396
1452
|
listManagementAgentPlugins(listManagementAgentPluginsRequest) {
|
|
1397
1453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1398
|
-
|
|
1454
|
+
if (this.logger)
|
|
1455
|
+
this.logger.debug("Calling operation ManagementAgentClient#listManagementAgentPlugins.");
|
|
1399
1456
|
const operationName = "listManagementAgentPlugins";
|
|
1400
1457
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentPlugin/ListManagementAgentPlugins";
|
|
1401
1458
|
const pathParams = {};
|
|
@@ -1416,6 +1473,8 @@ class ManagementAgentClient {
|
|
|
1416
1473
|
};
|
|
1417
1474
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1418
1475
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentPluginsRequest.retryConfiguration, specRetryConfiguration);
|
|
1476
|
+
if (this.logger)
|
|
1477
|
+
retrier.logger = this.logger;
|
|
1419
1478
|
const request = yield oci_common_2.composeRequest({
|
|
1420
1479
|
baseEndpoint: this._endpoint,
|
|
1421
1480
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1502,11 +1561,12 @@ class ManagementAgentClient {
|
|
|
1502
1561
|
* @param ListManagementAgentsRequest
|
|
1503
1562
|
* @return ListManagementAgentsResponse
|
|
1504
1563
|
* @throws OciError when an error occurs
|
|
1505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1564
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListManagementAgents.ts.html |here} to see how to use ListManagementAgents API.
|
|
1506
1565
|
*/
|
|
1507
1566
|
listManagementAgents(listManagementAgentsRequest) {
|
|
1508
1567
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1509
|
-
|
|
1568
|
+
if (this.logger)
|
|
1569
|
+
this.logger.debug("Calling operation ManagementAgentClient#listManagementAgents.");
|
|
1510
1570
|
const operationName = "listManagementAgents";
|
|
1511
1571
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/ListManagementAgents";
|
|
1512
1572
|
const pathParams = {};
|
|
@@ -1537,6 +1597,8 @@ class ManagementAgentClient {
|
|
|
1537
1597
|
};
|
|
1538
1598
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1539
1599
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1600
|
+
if (this.logger)
|
|
1601
|
+
retrier.logger = this.logger;
|
|
1540
1602
|
const request = yield oci_common_2.composeRequest({
|
|
1541
1603
|
baseEndpoint: this._endpoint,
|
|
1542
1604
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1621,11 +1683,12 @@ class ManagementAgentClient {
|
|
|
1621
1683
|
* @param ListWorkRequestErrorsRequest
|
|
1622
1684
|
* @return ListWorkRequestErrorsResponse
|
|
1623
1685
|
* @throws OciError when an error occurs
|
|
1624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1625
1687
|
*/
|
|
1626
1688
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1627
1689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1628
|
-
|
|
1690
|
+
if (this.logger)
|
|
1691
|
+
this.logger.debug("Calling operation ManagementAgentClient#listWorkRequestErrors.");
|
|
1629
1692
|
const operationName = "listWorkRequestErrors";
|
|
1630
1693
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequestError/ListWorkRequestErrors";
|
|
1631
1694
|
const pathParams = {
|
|
@@ -1643,6 +1706,8 @@ class ManagementAgentClient {
|
|
|
1643
1706
|
};
|
|
1644
1707
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1645
1708
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1709
|
+
if (this.logger)
|
|
1710
|
+
retrier.logger = this.logger;
|
|
1646
1711
|
const request = yield oci_common_2.composeRequest({
|
|
1647
1712
|
baseEndpoint: this._endpoint,
|
|
1648
1713
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1727,11 +1792,12 @@ class ManagementAgentClient {
|
|
|
1727
1792
|
* @param ListWorkRequestLogsRequest
|
|
1728
1793
|
* @return ListWorkRequestLogsResponse
|
|
1729
1794
|
* @throws OciError when an error occurs
|
|
1730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1795
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1731
1796
|
*/
|
|
1732
1797
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1733
1798
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1734
|
-
|
|
1799
|
+
if (this.logger)
|
|
1800
|
+
this.logger.debug("Calling operation ManagementAgentClient#listWorkRequestLogs.");
|
|
1735
1801
|
const operationName = "listWorkRequestLogs";
|
|
1736
1802
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
1737
1803
|
const pathParams = {
|
|
@@ -1749,6 +1815,8 @@ class ManagementAgentClient {
|
|
|
1749
1815
|
};
|
|
1750
1816
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1751
1817
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1818
|
+
if (this.logger)
|
|
1819
|
+
retrier.logger = this.logger;
|
|
1752
1820
|
const request = yield oci_common_2.composeRequest({
|
|
1753
1821
|
baseEndpoint: this._endpoint,
|
|
1754
1822
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1833,11 +1901,12 @@ class ManagementAgentClient {
|
|
|
1833
1901
|
* @param ListWorkRequestsRequest
|
|
1834
1902
|
* @return ListWorkRequestsResponse
|
|
1835
1903
|
* @throws OciError when an error occurs
|
|
1836
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1837
1905
|
*/
|
|
1838
1906
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1839
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1840
|
-
|
|
1908
|
+
if (this.logger)
|
|
1909
|
+
this.logger.debug("Calling operation ManagementAgentClient#listWorkRequests.");
|
|
1841
1910
|
const operationName = "listWorkRequests";
|
|
1842
1911
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/WorkRequest/ListWorkRequests";
|
|
1843
1912
|
const pathParams = {};
|
|
@@ -1858,6 +1927,8 @@ class ManagementAgentClient {
|
|
|
1858
1927
|
};
|
|
1859
1928
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1860
1929
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1930
|
+
if (this.logger)
|
|
1931
|
+
retrier.logger = this.logger;
|
|
1861
1932
|
const request = yield oci_common_2.composeRequest({
|
|
1862
1933
|
baseEndpoint: this._endpoint,
|
|
1863
1934
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1943,11 +2014,12 @@ class ManagementAgentClient {
|
|
|
1943
2014
|
* @param SetAutoUpgradableConfigRequest
|
|
1944
2015
|
* @return SetAutoUpgradableConfigResponse
|
|
1945
2016
|
* @throws OciError when an error occurs
|
|
1946
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2017
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/SetAutoUpgradableConfig.ts.html |here} to see how to use SetAutoUpgradableConfig API.
|
|
1947
2018
|
*/
|
|
1948
2019
|
setAutoUpgradableConfig(setAutoUpgradableConfigRequest) {
|
|
1949
2020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1950
|
-
|
|
2021
|
+
if (this.logger)
|
|
2022
|
+
this.logger.debug("Calling operation ManagementAgentClient#setAutoUpgradableConfig.");
|
|
1951
2023
|
const operationName = "setAutoUpgradableConfig";
|
|
1952
2024
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/SetAutoUpgradableConfig";
|
|
1953
2025
|
const pathParams = {};
|
|
@@ -1959,6 +2031,8 @@ class ManagementAgentClient {
|
|
|
1959
2031
|
};
|
|
1960
2032
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1961
2033
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setAutoUpgradableConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2034
|
+
if (this.logger)
|
|
2035
|
+
retrier.logger = this.logger;
|
|
1962
2036
|
const request = yield oci_common_2.composeRequest({
|
|
1963
2037
|
baseEndpoint: this._endpoint,
|
|
1964
2038
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2000,11 +2074,12 @@ class ManagementAgentClient {
|
|
|
2000
2074
|
* @param SummarizeManagementAgentCountsRequest
|
|
2001
2075
|
* @return SummarizeManagementAgentCountsResponse
|
|
2002
2076
|
* @throws OciError when an error occurs
|
|
2003
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2077
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/SummarizeManagementAgentCounts.ts.html |here} to see how to use SummarizeManagementAgentCounts API.
|
|
2004
2078
|
*/
|
|
2005
2079
|
summarizeManagementAgentCounts(summarizeManagementAgentCountsRequest) {
|
|
2006
2080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2007
|
-
|
|
2081
|
+
if (this.logger)
|
|
2082
|
+
this.logger.debug("Calling operation ManagementAgentClient#summarizeManagementAgentCounts.");
|
|
2008
2083
|
const operationName = "summarizeManagementAgentCounts";
|
|
2009
2084
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/SummarizeManagementAgentCounts";
|
|
2010
2085
|
const pathParams = {};
|
|
@@ -2022,6 +2097,8 @@ class ManagementAgentClient {
|
|
|
2022
2097
|
};
|
|
2023
2098
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2024
2099
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagementAgentCountsRequest.retryConfiguration, specRetryConfiguration);
|
|
2100
|
+
if (this.logger)
|
|
2101
|
+
retrier.logger = this.logger;
|
|
2025
2102
|
const request = yield oci_common_2.composeRequest({
|
|
2026
2103
|
baseEndpoint: this._endpoint,
|
|
2027
2104
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2067,11 +2144,12 @@ class ManagementAgentClient {
|
|
|
2067
2144
|
* @param SummarizeManagementAgentPluginCountsRequest
|
|
2068
2145
|
* @return SummarizeManagementAgentPluginCountsResponse
|
|
2069
2146
|
* @throws OciError when an error occurs
|
|
2070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2147
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/SummarizeManagementAgentPluginCounts.ts.html |here} to see how to use SummarizeManagementAgentPluginCounts API.
|
|
2071
2148
|
*/
|
|
2072
2149
|
summarizeManagementAgentPluginCounts(summarizeManagementAgentPluginCountsRequest) {
|
|
2073
2150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2074
|
-
|
|
2151
|
+
if (this.logger)
|
|
2152
|
+
this.logger.debug("Calling operation ManagementAgentClient#summarizeManagementAgentPluginCounts.");
|
|
2075
2153
|
const operationName = "summarizeManagementAgentPluginCounts";
|
|
2076
2154
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/SummarizeManagementAgentPluginCounts";
|
|
2077
2155
|
const pathParams = {};
|
|
@@ -2087,6 +2165,8 @@ class ManagementAgentClient {
|
|
|
2087
2165
|
};
|
|
2088
2166
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2089
2167
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagementAgentPluginCountsRequest.retryConfiguration, specRetryConfiguration);
|
|
2168
|
+
if (this.logger)
|
|
2169
|
+
retrier.logger = this.logger;
|
|
2090
2170
|
const request = yield oci_common_2.composeRequest({
|
|
2091
2171
|
baseEndpoint: this._endpoint,
|
|
2092
2172
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2131,11 +2211,12 @@ class ManagementAgentClient {
|
|
|
2131
2211
|
* @param UpdateDataSourceRequest
|
|
2132
2212
|
* @return UpdateDataSourceResponse
|
|
2133
2213
|
* @throws OciError when an error occurs
|
|
2134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
|
|
2135
2215
|
*/
|
|
2136
2216
|
updateDataSource(updateDataSourceRequest) {
|
|
2137
2217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2138
|
-
|
|
2218
|
+
if (this.logger)
|
|
2219
|
+
this.logger.debug("Calling operation ManagementAgentClient#updateDataSource.");
|
|
2139
2220
|
const operationName = "updateDataSource";
|
|
2140
2221
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/UpdateDataSource";
|
|
2141
2222
|
const pathParams = {
|
|
@@ -2151,6 +2232,8 @@ class ManagementAgentClient {
|
|
|
2151
2232
|
};
|
|
2152
2233
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2153
2234
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDataSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
2235
|
+
if (this.logger)
|
|
2236
|
+
retrier.logger = this.logger;
|
|
2154
2237
|
const request = yield oci_common_2.composeRequest({
|
|
2155
2238
|
baseEndpoint: this._endpoint,
|
|
2156
2239
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2192,11 +2275,12 @@ class ManagementAgentClient {
|
|
|
2192
2275
|
* @param UpdateManagementAgentRequest
|
|
2193
2276
|
* @return UpdateManagementAgentResponse
|
|
2194
2277
|
* @throws OciError when an error occurs
|
|
2195
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/UpdateManagementAgent.ts.html |here} to see how to use UpdateManagementAgent API.
|
|
2196
2279
|
*/
|
|
2197
2280
|
updateManagementAgent(updateManagementAgentRequest) {
|
|
2198
2281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2199
|
-
|
|
2282
|
+
if (this.logger)
|
|
2283
|
+
this.logger.debug("Calling operation ManagementAgentClient#updateManagementAgent.");
|
|
2200
2284
|
const operationName = "updateManagementAgent";
|
|
2201
2285
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgent/UpdateManagementAgent";
|
|
2202
2286
|
const pathParams = {
|
|
@@ -2211,6 +2295,8 @@ class ManagementAgentClient {
|
|
|
2211
2295
|
};
|
|
2212
2296
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2213
2297
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagementAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
2298
|
+
if (this.logger)
|
|
2299
|
+
retrier.logger = this.logger;
|
|
2214
2300
|
const request = yield oci_common_2.composeRequest({
|
|
2215
2301
|
baseEndpoint: this._endpoint,
|
|
2216
2302
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2256,11 +2342,12 @@ class ManagementAgentClient {
|
|
|
2256
2342
|
* @param UpdateManagementAgentInstallKeyRequest
|
|
2257
2343
|
* @return UpdateManagementAgentInstallKeyResponse
|
|
2258
2344
|
* @throws OciError when an error occurs
|
|
2259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/managementagent/UpdateManagementAgentInstallKey.ts.html |here} to see how to use UpdateManagementAgentInstallKey API.
|
|
2260
2346
|
*/
|
|
2261
2347
|
updateManagementAgentInstallKey(updateManagementAgentInstallKeyRequest) {
|
|
2262
2348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2263
|
-
|
|
2349
|
+
if (this.logger)
|
|
2350
|
+
this.logger.debug("Calling operation ManagementAgentClient#updateManagementAgentInstallKey.");
|
|
2264
2351
|
const operationName = "updateManagementAgentInstallKey";
|
|
2265
2352
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/management-agent/20200202/ManagementAgentInstallKey/UpdateManagementAgentInstallKey";
|
|
2266
2353
|
const pathParams = {
|
|
@@ -2275,6 +2362,8 @@ class ManagementAgentClient {
|
|
|
2275
2362
|
};
|
|
2276
2363
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2277
2364
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
2365
|
+
if (this.logger)
|
|
2366
|
+
retrier.logger = this.logger;
|
|
2278
2367
|
const request = yield oci_common_2.composeRequest({
|
|
2279
2368
|
baseEndpoint: this._endpoint,
|
|
2280
2369
|
defaultHeaders: this._defaultHeaders,
|