oci-stackmonitoring 2.79.1 → 2.80.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 +66 -65
- package/lib/client.js +328 -131
- package/lib/client.js.map +1 -1
- package/lib/model/config-summary.js +4 -2
- package/lib/model/config-summary.js.map +1 -1
- package/lib/model/config.js +4 -2
- package/lib/model/config.js.map +1 -1
- package/lib/model/create-config-details.js +4 -2
- package/lib/model/create-config-details.js.map +1 -1
- package/lib/model/metric-extension-query-properties.js +4 -2
- package/lib/model/metric-extension-query-properties.js.map +1 -1
- package/lib/model/metric-extension-update-query-properties.js +4 -2
- package/lib/model/metric-extension-update-query-properties.js.map +1 -1
- package/lib/model/monitored-resource-credential.js +4 -2
- package/lib/model/monitored-resource-credential.js.map +1 -1
- package/lib/model/monitored-resource-task-details.js +4 -2
- package/lib/model/monitored-resource-task-details.js.map +1 -1
- package/lib/model/resource-type-metadata-details.js +4 -2
- package/lib/model/resource-type-metadata-details.js.map +1 -1
- package/lib/model/update-config-details.js +4 -2
- package/lib/model/update-config-details.js.map +1 -1
- package/lib/request/associate-monitored-resources-request.d.ts +1 -1
- package/lib/request/change-config-compartment-request.d.ts +1 -1
- package/lib/request/change-metric-extension-compartment-request.d.ts +1 -1
- package/lib/request/change-monitored-resource-compartment-request.d.ts +1 -1
- package/lib/request/change-monitored-resource-task-compartment-request.d.ts +1 -1
- package/lib/request/change-process-set-compartment-request.d.ts +1 -1
- package/lib/request/create-baselineable-metric-request.d.ts +1 -1
- package/lib/request/create-config-request.d.ts +1 -1
- package/lib/request/create-discovery-job-request.d.ts +1 -1
- package/lib/request/create-metric-extension-request.d.ts +1 -1
- package/lib/request/create-monitored-resource-request.d.ts +1 -1
- package/lib/request/create-monitored-resource-task-request.d.ts +1 -1
- package/lib/request/create-monitored-resource-type-request.d.ts +1 -1
- package/lib/request/create-process-set-request.d.ts +1 -1
- package/lib/request/delete-baselineable-metric-request.d.ts +1 -1
- package/lib/request/delete-config-request.d.ts +1 -1
- package/lib/request/delete-discovery-job-request.d.ts +1 -1
- package/lib/request/delete-metric-extension-request.d.ts +1 -1
- package/lib/request/delete-monitored-resource-request.d.ts +1 -1
- package/lib/request/delete-monitored-resource-type-request.d.ts +1 -1
- package/lib/request/delete-process-set-request.d.ts +1 -1
- package/lib/request/disable-external-database-request.d.ts +1 -1
- package/lib/request/disable-metric-extension-request.d.ts +1 -1
- package/lib/request/disassociate-monitored-resources-request.d.ts +1 -1
- package/lib/request/enable-metric-extension-request.d.ts +1 -1
- package/lib/request/evaluate-baselineable-metric-request.d.ts +1 -1
- package/lib/request/export-metric-extension-request.d.ts +1 -1
- package/lib/request/get-baselineable-metric-request.d.ts +1 -1
- package/lib/request/get-config-request.d.ts +1 -1
- package/lib/request/get-discovery-job-request.d.ts +1 -1
- package/lib/request/get-metric-extension-request.d.ts +1 -1
- package/lib/request/get-monitored-resource-request.d.ts +1 -1
- package/lib/request/get-monitored-resource-task-request.d.ts +1 -1
- package/lib/request/get-monitored-resource-type-request.d.ts +1 -1
- package/lib/request/get-process-set-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-baselineable-metrics-request.d.ts +1 -1
- package/lib/request/list-configs-request.d.ts +1 -1
- package/lib/request/list-discovery-job-logs-request.d.ts +1 -1
- package/lib/request/list-discovery-jobs-request.d.ts +1 -1
- package/lib/request/list-metric-extensions-request.d.ts +1 -1
- package/lib/request/list-monitored-resource-tasks-request.d.ts +1 -1
- package/lib/request/list-monitored-resource-types-request.d.ts +1 -1
- package/lib/request/list-monitored-resources-request.d.ts +1 -1
- package/lib/request/list-process-sets-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/manage-license-request.d.ts +1 -1
- package/lib/request/publish-metric-extension-request.d.ts +1 -1
- package/lib/request/request-monitored-resources-summarized-count-request.d.ts +1 -1
- package/lib/request/search-associated-resources-request.d.ts +1 -1
- package/lib/request/search-monitored-resource-associations-request.d.ts +1 -1
- package/lib/request/search-monitored-resource-members-request.d.ts +1 -1
- package/lib/request/search-monitored-resources-request.d.ts +1 -1
- package/lib/request/test-metric-extension-request.d.ts +1 -1
- package/lib/request/update-and-propagate-tags-request.d.ts +1 -1
- package/lib/request/update-baselineable-metric-request.d.ts +1 -1
- package/lib/request/update-config-request.d.ts +1 -1
- package/lib/request/update-metric-extension-request.d.ts +1 -1
- package/lib/request/update-monitored-resource-request.d.ts +1 -1
- package/lib/request/update-monitored-resource-task-request.d.ts +1 -1
- package/lib/request/update-monitored-resource-type-request.d.ts +1 -1
- package/lib/request/update-process-set-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -57,7 +57,7 @@ var StackMonitoringApiKeys;
|
|
|
57
57
|
*/
|
|
58
58
|
class StackMonitoringClient {
|
|
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 StackMonitoringClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20210330";
|
|
119
|
-
|
|
119
|
+
if (this.logger)
|
|
120
|
+
this.logger.info(`StackMonitoringClient 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 StackMonitoringClient {
|
|
|
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(StackMonitoringClient.serviceEndpointTemplate, this._region, StackMonitoringClient.endpointServiceName);
|
|
131
136
|
}
|
|
@@ -194,11 +199,12 @@ class StackMonitoringClient {
|
|
|
194
199
|
* @param AssociateMonitoredResourcesRequest
|
|
195
200
|
* @return AssociateMonitoredResourcesResponse
|
|
196
201
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/AssociateMonitoredResources.ts.html |here} to see how to use AssociateMonitoredResources API.
|
|
198
203
|
*/
|
|
199
204
|
associateMonitoredResources(associateMonitoredResourcesRequest) {
|
|
200
205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
-
|
|
206
|
+
if (this.logger)
|
|
207
|
+
this.logger.debug("Calling operation StackMonitoringClient#associateMonitoredResources.");
|
|
202
208
|
const operationName = "associateMonitoredResources";
|
|
203
209
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/AssociateMonitoredResources";
|
|
204
210
|
const pathParams = {};
|
|
@@ -211,6 +217,8 @@ class StackMonitoringClient {
|
|
|
211
217
|
};
|
|
212
218
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
213
219
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, associateMonitoredResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
220
|
+
if (this.logger)
|
|
221
|
+
retrier.logger = this.logger;
|
|
214
222
|
const request = yield oci_common_1.composeRequest({
|
|
215
223
|
baseEndpoint: this._endpoint,
|
|
216
224
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -266,11 +274,12 @@ class StackMonitoringClient {
|
|
|
266
274
|
* @param ChangeConfigCompartmentRequest
|
|
267
275
|
* @return ChangeConfigCompartmentResponse
|
|
268
276
|
* @throws OciError when an error occurs
|
|
269
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ChangeConfigCompartment.ts.html |here} to see how to use ChangeConfigCompartment API.
|
|
270
278
|
*/
|
|
271
279
|
changeConfigCompartment(changeConfigCompartmentRequest) {
|
|
272
280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
-
|
|
281
|
+
if (this.logger)
|
|
282
|
+
this.logger.debug("Calling operation StackMonitoringClient#changeConfigCompartment.");
|
|
274
283
|
const operationName = "changeConfigCompartment";
|
|
275
284
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/Config/ChangeConfigCompartment";
|
|
276
285
|
const pathParams = {
|
|
@@ -285,6 +294,8 @@ class StackMonitoringClient {
|
|
|
285
294
|
};
|
|
286
295
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
287
296
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConfigCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
297
|
+
if (this.logger)
|
|
298
|
+
retrier.logger = this.logger;
|
|
288
299
|
const request = yield oci_common_1.composeRequest({
|
|
289
300
|
baseEndpoint: this._endpoint,
|
|
290
301
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -322,11 +333,12 @@ class StackMonitoringClient {
|
|
|
322
333
|
* @param ChangeMetricExtensionCompartmentRequest
|
|
323
334
|
* @return ChangeMetricExtensionCompartmentResponse
|
|
324
335
|
* @throws OciError when an error occurs
|
|
325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ChangeMetricExtensionCompartment.ts.html |here} to see how to use ChangeMetricExtensionCompartment API.
|
|
326
337
|
*/
|
|
327
338
|
changeMetricExtensionCompartment(changeMetricExtensionCompartmentRequest) {
|
|
328
339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
329
|
-
|
|
340
|
+
if (this.logger)
|
|
341
|
+
this.logger.debug("Calling operation StackMonitoringClient#changeMetricExtensionCompartment.");
|
|
330
342
|
const operationName = "changeMetricExtensionCompartment";
|
|
331
343
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/ChangeMetricExtensionCompartment";
|
|
332
344
|
const pathParams = {
|
|
@@ -341,6 +353,8 @@ class StackMonitoringClient {
|
|
|
341
353
|
};
|
|
342
354
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
343
355
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMetricExtensionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
356
|
+
if (this.logger)
|
|
357
|
+
retrier.logger = this.logger;
|
|
344
358
|
const request = yield oci_common_1.composeRequest({
|
|
345
359
|
baseEndpoint: this._endpoint,
|
|
346
360
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -378,11 +392,12 @@ class StackMonitoringClient {
|
|
|
378
392
|
* @param ChangeMonitoredResourceCompartmentRequest
|
|
379
393
|
* @return ChangeMonitoredResourceCompartmentResponse
|
|
380
394
|
* @throws OciError when an error occurs
|
|
381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ChangeMonitoredResourceCompartment.ts.html |here} to see how to use ChangeMonitoredResourceCompartment API.
|
|
382
396
|
*/
|
|
383
397
|
changeMonitoredResourceCompartment(changeMonitoredResourceCompartmentRequest) {
|
|
384
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
385
|
-
|
|
399
|
+
if (this.logger)
|
|
400
|
+
this.logger.debug("Calling operation StackMonitoringClient#changeMonitoredResourceCompartment.");
|
|
386
401
|
const operationName = "changeMonitoredResourceCompartment";
|
|
387
402
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/ChangeMonitoredResourceCompartment";
|
|
388
403
|
const pathParams = {
|
|
@@ -397,6 +412,8 @@ class StackMonitoringClient {
|
|
|
397
412
|
};
|
|
398
413
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
399
414
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMonitoredResourceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
415
|
+
if (this.logger)
|
|
416
|
+
retrier.logger = this.logger;
|
|
400
417
|
const request = yield oci_common_1.composeRequest({
|
|
401
418
|
baseEndpoint: this._endpoint,
|
|
402
419
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -438,11 +455,12 @@ class StackMonitoringClient {
|
|
|
438
455
|
* @param ChangeMonitoredResourceTaskCompartmentRequest
|
|
439
456
|
* @return ChangeMonitoredResourceTaskCompartmentResponse
|
|
440
457
|
* @throws OciError when an error occurs
|
|
441
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
458
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ChangeMonitoredResourceTaskCompartment.ts.html |here} to see how to use ChangeMonitoredResourceTaskCompartment API.
|
|
442
459
|
*/
|
|
443
460
|
changeMonitoredResourceTaskCompartment(changeMonitoredResourceTaskCompartmentRequest) {
|
|
444
461
|
return __awaiter(this, void 0, void 0, function* () {
|
|
445
|
-
|
|
462
|
+
if (this.logger)
|
|
463
|
+
this.logger.debug("Calling operation StackMonitoringClient#changeMonitoredResourceTaskCompartment.");
|
|
446
464
|
const operationName = "changeMonitoredResourceTaskCompartment";
|
|
447
465
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/monitoredResourceTask/ChangeMonitoredResourceTaskCompartment";
|
|
448
466
|
const pathParams = {
|
|
@@ -457,6 +475,8 @@ class StackMonitoringClient {
|
|
|
457
475
|
};
|
|
458
476
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
459
477
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMonitoredResourceTaskCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
478
|
+
if (this.logger)
|
|
479
|
+
retrier.logger = this.logger;
|
|
460
480
|
const request = yield oci_common_1.composeRequest({
|
|
461
481
|
baseEndpoint: this._endpoint,
|
|
462
482
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -493,11 +513,12 @@ class StackMonitoringClient {
|
|
|
493
513
|
* @param ChangeProcessSetCompartmentRequest
|
|
494
514
|
* @return ChangeProcessSetCompartmentResponse
|
|
495
515
|
* @throws OciError when an error occurs
|
|
496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ChangeProcessSetCompartment.ts.html |here} to see how to use ChangeProcessSetCompartment API.
|
|
497
517
|
*/
|
|
498
518
|
changeProcessSetCompartment(changeProcessSetCompartmentRequest) {
|
|
499
519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
500
|
-
|
|
520
|
+
if (this.logger)
|
|
521
|
+
this.logger.debug("Calling operation StackMonitoringClient#changeProcessSetCompartment.");
|
|
501
522
|
const operationName = "changeProcessSetCompartment";
|
|
502
523
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ProcessSet/ChangeProcessSetCompartment";
|
|
503
524
|
const pathParams = {
|
|
@@ -512,6 +533,8 @@ class StackMonitoringClient {
|
|
|
512
533
|
};
|
|
513
534
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
514
535
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProcessSetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
536
|
+
if (this.logger)
|
|
537
|
+
retrier.logger = this.logger;
|
|
515
538
|
const request = yield oci_common_1.composeRequest({
|
|
516
539
|
baseEndpoint: this._endpoint,
|
|
517
540
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -547,11 +570,12 @@ class StackMonitoringClient {
|
|
|
547
570
|
* @param CreateBaselineableMetricRequest
|
|
548
571
|
* @return CreateBaselineableMetricResponse
|
|
549
572
|
* @throws OciError when an error occurs
|
|
550
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateBaselineableMetric.ts.html |here} to see how to use CreateBaselineableMetric API.
|
|
551
574
|
*/
|
|
552
575
|
createBaselineableMetric(createBaselineableMetricRequest) {
|
|
553
576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
554
|
-
|
|
577
|
+
if (this.logger)
|
|
578
|
+
this.logger.debug("Calling operation StackMonitoringClient#createBaselineableMetric.");
|
|
555
579
|
const operationName = "createBaselineableMetric";
|
|
556
580
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/CreateBaselineableMetricDetails/CreateBaselineableMetric";
|
|
557
581
|
const pathParams = {};
|
|
@@ -563,6 +587,8 @@ class StackMonitoringClient {
|
|
|
563
587
|
};
|
|
564
588
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
565
589
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBaselineableMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
590
|
+
if (this.logger)
|
|
591
|
+
retrier.logger = this.logger;
|
|
566
592
|
const request = yield oci_common_1.composeRequest({
|
|
567
593
|
baseEndpoint: this._endpoint,
|
|
568
594
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -619,11 +645,12 @@ class StackMonitoringClient {
|
|
|
619
645
|
* @param CreateConfigRequest
|
|
620
646
|
* @return CreateConfigResponse
|
|
621
647
|
* @throws OciError when an error occurs
|
|
622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
648
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateConfig.ts.html |here} to see how to use CreateConfig API.
|
|
623
649
|
*/
|
|
624
650
|
createConfig(createConfigRequest) {
|
|
625
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
626
|
-
|
|
652
|
+
if (this.logger)
|
|
653
|
+
this.logger.debug("Calling operation StackMonitoringClient#createConfig.");
|
|
627
654
|
const operationName = "createConfig";
|
|
628
655
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/Config/CreateConfig";
|
|
629
656
|
const pathParams = {};
|
|
@@ -635,6 +662,8 @@ class StackMonitoringClient {
|
|
|
635
662
|
};
|
|
636
663
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
637
664
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
665
|
+
if (this.logger)
|
|
666
|
+
retrier.logger = this.logger;
|
|
638
667
|
const request = yield oci_common_1.composeRequest({
|
|
639
668
|
baseEndpoint: this._endpoint,
|
|
640
669
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -680,11 +709,12 @@ class StackMonitoringClient {
|
|
|
680
709
|
* @param CreateDiscoveryJobRequest
|
|
681
710
|
* @return CreateDiscoveryJobResponse
|
|
682
711
|
* @throws OciError when an error occurs
|
|
683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateDiscoveryJob.ts.html |here} to see how to use CreateDiscoveryJob API.
|
|
684
713
|
*/
|
|
685
714
|
createDiscoveryJob(createDiscoveryJobRequest) {
|
|
686
715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
687
|
-
|
|
716
|
+
if (this.logger)
|
|
717
|
+
this.logger.debug("Calling operation StackMonitoringClient#createDiscoveryJob.");
|
|
688
718
|
const operationName = "createDiscoveryJob";
|
|
689
719
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/DiscoveryJob/CreateDiscoveryJob";
|
|
690
720
|
const pathParams = {};
|
|
@@ -696,6 +726,8 @@ class StackMonitoringClient {
|
|
|
696
726
|
};
|
|
697
727
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
698
728
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDiscoveryJobRequest.retryConfiguration, specRetryConfiguration);
|
|
729
|
+
if (this.logger)
|
|
730
|
+
retrier.logger = this.logger;
|
|
699
731
|
const request = yield oci_common_1.composeRequest({
|
|
700
732
|
baseEndpoint: this._endpoint,
|
|
701
733
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -741,11 +773,12 @@ class StackMonitoringClient {
|
|
|
741
773
|
* @param CreateMetricExtensionRequest
|
|
742
774
|
* @return CreateMetricExtensionResponse
|
|
743
775
|
* @throws OciError when an error occurs
|
|
744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateMetricExtension.ts.html |here} to see how to use CreateMetricExtension API.
|
|
745
777
|
*/
|
|
746
778
|
createMetricExtension(createMetricExtensionRequest) {
|
|
747
779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
|
-
|
|
780
|
+
if (this.logger)
|
|
781
|
+
this.logger.debug("Calling operation StackMonitoringClient#createMetricExtension.");
|
|
749
782
|
const operationName = "createMetricExtension";
|
|
750
783
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/CreateMetricExtension";
|
|
751
784
|
const pathParams = {};
|
|
@@ -757,6 +790,8 @@ class StackMonitoringClient {
|
|
|
757
790
|
};
|
|
758
791
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
759
792
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
793
|
+
if (this.logger)
|
|
794
|
+
retrier.logger = this.logger;
|
|
760
795
|
const request = yield oci_common_1.composeRequest({
|
|
761
796
|
baseEndpoint: this._endpoint,
|
|
762
797
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -809,11 +844,12 @@ class StackMonitoringClient {
|
|
|
809
844
|
* @param CreateMonitoredResourceRequest
|
|
810
845
|
* @return CreateMonitoredResourceResponse
|
|
811
846
|
* @throws OciError when an error occurs
|
|
812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateMonitoredResource.ts.html |here} to see how to use CreateMonitoredResource API.
|
|
813
848
|
*/
|
|
814
849
|
createMonitoredResource(createMonitoredResourceRequest) {
|
|
815
850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
816
|
-
|
|
851
|
+
if (this.logger)
|
|
852
|
+
this.logger.debug("Calling operation StackMonitoringClient#createMonitoredResource.");
|
|
817
853
|
const operationName = "createMonitoredResource";
|
|
818
854
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/CreateMonitoredResource";
|
|
819
855
|
const pathParams = {};
|
|
@@ -826,6 +862,8 @@ class StackMonitoringClient {
|
|
|
826
862
|
};
|
|
827
863
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
828
864
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMonitoredResourceRequest.retryConfiguration, specRetryConfiguration);
|
|
865
|
+
if (this.logger)
|
|
866
|
+
retrier.logger = this.logger;
|
|
829
867
|
const request = yield oci_common_1.composeRequest({
|
|
830
868
|
baseEndpoint: this._endpoint,
|
|
831
869
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -890,11 +928,12 @@ class StackMonitoringClient {
|
|
|
890
928
|
* @param CreateMonitoredResourceTaskRequest
|
|
891
929
|
* @return CreateMonitoredResourceTaskResponse
|
|
892
930
|
* @throws OciError when an error occurs
|
|
893
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
931
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateMonitoredResourceTask.ts.html |here} to see how to use CreateMonitoredResourceTask API.
|
|
894
932
|
*/
|
|
895
933
|
createMonitoredResourceTask(createMonitoredResourceTaskRequest) {
|
|
896
934
|
return __awaiter(this, void 0, void 0, function* () {
|
|
897
|
-
|
|
935
|
+
if (this.logger)
|
|
936
|
+
this.logger.debug("Calling operation StackMonitoringClient#createMonitoredResourceTask.");
|
|
898
937
|
const operationName = "createMonitoredResourceTask";
|
|
899
938
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceTask/CreateMonitoredResourceTask";
|
|
900
939
|
const pathParams = {};
|
|
@@ -906,6 +945,8 @@ class StackMonitoringClient {
|
|
|
906
945
|
};
|
|
907
946
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
908
947
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMonitoredResourceTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
948
|
+
if (this.logger)
|
|
949
|
+
retrier.logger = this.logger;
|
|
909
950
|
const request = yield oci_common_1.composeRequest({
|
|
910
951
|
baseEndpoint: this._endpoint,
|
|
911
952
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -955,11 +996,12 @@ class StackMonitoringClient {
|
|
|
955
996
|
* @param CreateMonitoredResourceTypeRequest
|
|
956
997
|
* @return CreateMonitoredResourceTypeResponse
|
|
957
998
|
* @throws OciError when an error occurs
|
|
958
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateMonitoredResourceType.ts.html |here} to see how to use CreateMonitoredResourceType API.
|
|
959
1000
|
*/
|
|
960
1001
|
createMonitoredResourceType(createMonitoredResourceTypeRequest) {
|
|
961
1002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
962
|
-
|
|
1003
|
+
if (this.logger)
|
|
1004
|
+
this.logger.debug("Calling operation StackMonitoringClient#createMonitoredResourceType.");
|
|
963
1005
|
const operationName = "createMonitoredResourceType";
|
|
964
1006
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceType/CreateMonitoredResourceType";
|
|
965
1007
|
const pathParams = {};
|
|
@@ -971,6 +1013,8 @@ class StackMonitoringClient {
|
|
|
971
1013
|
};
|
|
972
1014
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
973
1015
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMonitoredResourceTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
1016
|
+
if (this.logger)
|
|
1017
|
+
retrier.logger = this.logger;
|
|
974
1018
|
const request = yield oci_common_1.composeRequest({
|
|
975
1019
|
baseEndpoint: this._endpoint,
|
|
976
1020
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1015,11 +1059,12 @@ class StackMonitoringClient {
|
|
|
1015
1059
|
* @param CreateProcessSetRequest
|
|
1016
1060
|
* @return CreateProcessSetResponse
|
|
1017
1061
|
* @throws OciError when an error occurs
|
|
1018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1062
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/CreateProcessSet.ts.html |here} to see how to use CreateProcessSet API.
|
|
1019
1063
|
*/
|
|
1020
1064
|
createProcessSet(createProcessSetRequest) {
|
|
1021
1065
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1022
|
-
|
|
1066
|
+
if (this.logger)
|
|
1067
|
+
this.logger.debug("Calling operation StackMonitoringClient#createProcessSet.");
|
|
1023
1068
|
const operationName = "createProcessSet";
|
|
1024
1069
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ProcessSet/CreateProcessSet";
|
|
1025
1070
|
const pathParams = {};
|
|
@@ -1031,6 +1076,8 @@ class StackMonitoringClient {
|
|
|
1031
1076
|
};
|
|
1032
1077
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1033
1078
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProcessSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1079
|
+
if (this.logger)
|
|
1080
|
+
retrier.logger = this.logger;
|
|
1034
1081
|
const request = yield oci_common_1.composeRequest({
|
|
1035
1082
|
baseEndpoint: this._endpoint,
|
|
1036
1083
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1075,11 +1122,12 @@ class StackMonitoringClient {
|
|
|
1075
1122
|
* @param DeleteBaselineableMetricRequest
|
|
1076
1123
|
* @return DeleteBaselineableMetricResponse
|
|
1077
1124
|
* @throws OciError when an error occurs
|
|
1078
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1125
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteBaselineableMetric.ts.html |here} to see how to use DeleteBaselineableMetric API.
|
|
1079
1126
|
*/
|
|
1080
1127
|
deleteBaselineableMetric(deleteBaselineableMetricRequest) {
|
|
1081
1128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1082
|
-
|
|
1129
|
+
if (this.logger)
|
|
1130
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteBaselineableMetric.");
|
|
1083
1131
|
const operationName = "deleteBaselineableMetric";
|
|
1084
1132
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/BaselineableMetric/DeleteBaselineableMetric";
|
|
1085
1133
|
const pathParams = {
|
|
@@ -1093,6 +1141,8 @@ class StackMonitoringClient {
|
|
|
1093
1141
|
};
|
|
1094
1142
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1095
1143
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBaselineableMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
1144
|
+
if (this.logger)
|
|
1145
|
+
retrier.logger = this.logger;
|
|
1096
1146
|
const request = yield oci_common_1.composeRequest({
|
|
1097
1147
|
baseEndpoint: this._endpoint,
|
|
1098
1148
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1132,11 +1182,12 @@ class StackMonitoringClient {
|
|
|
1132
1182
|
* @param DeleteConfigRequest
|
|
1133
1183
|
* @return DeleteConfigResponse
|
|
1134
1184
|
* @throws OciError when an error occurs
|
|
1135
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1185
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteConfig.ts.html |here} to see how to use DeleteConfig API.
|
|
1136
1186
|
*/
|
|
1137
1187
|
deleteConfig(deleteConfigRequest) {
|
|
1138
1188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1139
|
-
|
|
1189
|
+
if (this.logger)
|
|
1190
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteConfig.");
|
|
1140
1191
|
const operationName = "deleteConfig";
|
|
1141
1192
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/Config/DeleteConfig";
|
|
1142
1193
|
const pathParams = {
|
|
@@ -1150,6 +1201,8 @@ class StackMonitoringClient {
|
|
|
1150
1201
|
};
|
|
1151
1202
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1152
1203
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1204
|
+
if (this.logger)
|
|
1205
|
+
retrier.logger = this.logger;
|
|
1153
1206
|
const request = yield oci_common_1.composeRequest({
|
|
1154
1207
|
baseEndpoint: this._endpoint,
|
|
1155
1208
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1184,11 +1237,12 @@ class StackMonitoringClient {
|
|
|
1184
1237
|
* @param DeleteDiscoveryJobRequest
|
|
1185
1238
|
* @return DeleteDiscoveryJobResponse
|
|
1186
1239
|
* @throws OciError when an error occurs
|
|
1187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1240
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteDiscoveryJob.ts.html |here} to see how to use DeleteDiscoveryJob API.
|
|
1188
1241
|
*/
|
|
1189
1242
|
deleteDiscoveryJob(deleteDiscoveryJobRequest) {
|
|
1190
1243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1191
|
-
|
|
1244
|
+
if (this.logger)
|
|
1245
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteDiscoveryJob.");
|
|
1192
1246
|
const operationName = "deleteDiscoveryJob";
|
|
1193
1247
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/DiscoveryJob/DeleteDiscoveryJob";
|
|
1194
1248
|
const pathParams = {
|
|
@@ -1202,6 +1256,8 @@ class StackMonitoringClient {
|
|
|
1202
1256
|
};
|
|
1203
1257
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1204
1258
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDiscoveryJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1259
|
+
if (this.logger)
|
|
1260
|
+
retrier.logger = this.logger;
|
|
1205
1261
|
const request = yield oci_common_1.composeRequest({
|
|
1206
1262
|
baseEndpoint: this._endpoint,
|
|
1207
1263
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1236,11 +1292,12 @@ class StackMonitoringClient {
|
|
|
1236
1292
|
* @param DeleteMetricExtensionRequest
|
|
1237
1293
|
* @return DeleteMetricExtensionResponse
|
|
1238
1294
|
* @throws OciError when an error occurs
|
|
1239
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteMetricExtension.ts.html |here} to see how to use DeleteMetricExtension API.
|
|
1240
1296
|
*/
|
|
1241
1297
|
deleteMetricExtension(deleteMetricExtensionRequest) {
|
|
1242
1298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1243
|
-
|
|
1299
|
+
if (this.logger)
|
|
1300
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteMetricExtension.");
|
|
1244
1301
|
const operationName = "deleteMetricExtension";
|
|
1245
1302
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/DeleteMetricExtension";
|
|
1246
1303
|
const pathParams = {
|
|
@@ -1254,6 +1311,8 @@ class StackMonitoringClient {
|
|
|
1254
1311
|
};
|
|
1255
1312
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1256
1313
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
1314
|
+
if (this.logger)
|
|
1315
|
+
retrier.logger = this.logger;
|
|
1257
1316
|
const request = yield oci_common_1.composeRequest({
|
|
1258
1317
|
baseEndpoint: this._endpoint,
|
|
1259
1318
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1292,11 +1351,12 @@ class StackMonitoringClient {
|
|
|
1292
1351
|
* @param DeleteMonitoredResourceRequest
|
|
1293
1352
|
* @return DeleteMonitoredResourceResponse
|
|
1294
1353
|
* @throws OciError when an error occurs
|
|
1295
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1354
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteMonitoredResource.ts.html |here} to see how to use DeleteMonitoredResource API.
|
|
1296
1355
|
*/
|
|
1297
1356
|
deleteMonitoredResource(deleteMonitoredResourceRequest) {
|
|
1298
1357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1299
|
-
|
|
1358
|
+
if (this.logger)
|
|
1359
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteMonitoredResource.");
|
|
1300
1360
|
const operationName = "deleteMonitoredResource";
|
|
1301
1361
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/DeleteMonitoredResource";
|
|
1302
1362
|
const pathParams = {
|
|
@@ -1312,6 +1372,8 @@ class StackMonitoringClient {
|
|
|
1312
1372
|
};
|
|
1313
1373
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1314
1374
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMonitoredResourceRequest.retryConfiguration, specRetryConfiguration);
|
|
1375
|
+
if (this.logger)
|
|
1376
|
+
retrier.logger = this.logger;
|
|
1315
1377
|
const request = yield oci_common_1.composeRequest({
|
|
1316
1378
|
baseEndpoint: this._endpoint,
|
|
1317
1379
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1351,11 +1413,12 @@ class StackMonitoringClient {
|
|
|
1351
1413
|
* @param DeleteMonitoredResourceTypeRequest
|
|
1352
1414
|
* @return DeleteMonitoredResourceTypeResponse
|
|
1353
1415
|
* @throws OciError when an error occurs
|
|
1354
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1416
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteMonitoredResourceType.ts.html |here} to see how to use DeleteMonitoredResourceType API.
|
|
1355
1417
|
*/
|
|
1356
1418
|
deleteMonitoredResourceType(deleteMonitoredResourceTypeRequest) {
|
|
1357
1419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1358
|
-
|
|
1420
|
+
if (this.logger)
|
|
1421
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteMonitoredResourceType.");
|
|
1359
1422
|
const operationName = "deleteMonitoredResourceType";
|
|
1360
1423
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceType/DeleteMonitoredResourceType";
|
|
1361
1424
|
const pathParams = {
|
|
@@ -1369,6 +1432,8 @@ class StackMonitoringClient {
|
|
|
1369
1432
|
};
|
|
1370
1433
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1371
1434
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMonitoredResourceTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
1435
|
+
if (this.logger)
|
|
1436
|
+
retrier.logger = this.logger;
|
|
1372
1437
|
const request = yield oci_common_1.composeRequest({
|
|
1373
1438
|
baseEndpoint: this._endpoint,
|
|
1374
1439
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1403,11 +1468,12 @@ class StackMonitoringClient {
|
|
|
1403
1468
|
* @param DeleteProcessSetRequest
|
|
1404
1469
|
* @return DeleteProcessSetResponse
|
|
1405
1470
|
* @throws OciError when an error occurs
|
|
1406
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DeleteProcessSet.ts.html |here} to see how to use DeleteProcessSet API.
|
|
1407
1472
|
*/
|
|
1408
1473
|
deleteProcessSet(deleteProcessSetRequest) {
|
|
1409
1474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1410
|
-
|
|
1475
|
+
if (this.logger)
|
|
1476
|
+
this.logger.debug("Calling operation StackMonitoringClient#deleteProcessSet.");
|
|
1411
1477
|
const operationName = "deleteProcessSet";
|
|
1412
1478
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ProcessSet/DeleteProcessSet";
|
|
1413
1479
|
const pathParams = {
|
|
@@ -1421,6 +1487,8 @@ class StackMonitoringClient {
|
|
|
1421
1487
|
};
|
|
1422
1488
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1423
1489
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProcessSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1490
|
+
if (this.logger)
|
|
1491
|
+
retrier.logger = this.logger;
|
|
1424
1492
|
const request = yield oci_common_1.composeRequest({
|
|
1425
1493
|
baseEndpoint: this._endpoint,
|
|
1426
1494
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1457,11 +1525,12 @@ class StackMonitoringClient {
|
|
|
1457
1525
|
* @param DisableExternalDatabaseRequest
|
|
1458
1526
|
* @return DisableExternalDatabaseResponse
|
|
1459
1527
|
* @throws OciError when an error occurs
|
|
1460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DisableExternalDatabase.ts.html |here} to see how to use DisableExternalDatabase API.
|
|
1461
1529
|
*/
|
|
1462
1530
|
disableExternalDatabase(disableExternalDatabaseRequest) {
|
|
1463
1531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1464
|
-
|
|
1532
|
+
if (this.logger)
|
|
1533
|
+
this.logger.debug("Calling operation StackMonitoringClient#disableExternalDatabase.");
|
|
1465
1534
|
const operationName = "disableExternalDatabase";
|
|
1466
1535
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/DisableExternalDatabase";
|
|
1467
1536
|
const pathParams = {
|
|
@@ -1476,6 +1545,8 @@ class StackMonitoringClient {
|
|
|
1476
1545
|
};
|
|
1477
1546
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1478
1547
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExternalDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
1548
|
+
if (this.logger)
|
|
1549
|
+
retrier.logger = this.logger;
|
|
1479
1550
|
const request = yield oci_common_1.composeRequest({
|
|
1480
1551
|
baseEndpoint: this._endpoint,
|
|
1481
1552
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1516,11 +1587,12 @@ class StackMonitoringClient {
|
|
|
1516
1587
|
* @param DisableMetricExtensionRequest
|
|
1517
1588
|
* @return DisableMetricExtensionResponse
|
|
1518
1589
|
* @throws OciError when an error occurs
|
|
1519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DisableMetricExtension.ts.html |here} to see how to use DisableMetricExtension API.
|
|
1520
1591
|
*/
|
|
1521
1592
|
disableMetricExtension(disableMetricExtensionRequest) {
|
|
1522
1593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1523
|
-
|
|
1594
|
+
if (this.logger)
|
|
1595
|
+
this.logger.debug("Calling operation StackMonitoringClient#disableMetricExtension.");
|
|
1524
1596
|
const operationName = "disableMetricExtension";
|
|
1525
1597
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/DisableMetricExtension";
|
|
1526
1598
|
const pathParams = {
|
|
@@ -1535,6 +1607,8 @@ class StackMonitoringClient {
|
|
|
1535
1607
|
};
|
|
1536
1608
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1537
1609
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
1610
|
+
if (this.logger)
|
|
1611
|
+
retrier.logger = this.logger;
|
|
1538
1612
|
const request = yield oci_common_1.composeRequest({
|
|
1539
1613
|
baseEndpoint: this._endpoint,
|
|
1540
1614
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1575,11 +1649,12 @@ class StackMonitoringClient {
|
|
|
1575
1649
|
* @param DisassociateMonitoredResourcesRequest
|
|
1576
1650
|
* @return DisassociateMonitoredResourcesResponse
|
|
1577
1651
|
* @throws OciError when an error occurs
|
|
1578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1652
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/DisassociateMonitoredResources.ts.html |here} to see how to use DisassociateMonitoredResources API.
|
|
1579
1653
|
*/
|
|
1580
1654
|
disassociateMonitoredResources(disassociateMonitoredResourcesRequest) {
|
|
1581
1655
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1582
|
-
|
|
1656
|
+
if (this.logger)
|
|
1657
|
+
this.logger.debug("Calling operation StackMonitoringClient#disassociateMonitoredResources.");
|
|
1583
1658
|
const operationName = "disassociateMonitoredResources";
|
|
1584
1659
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/DisassociateMonitoredResources";
|
|
1585
1660
|
const pathParams = {};
|
|
@@ -1592,6 +1667,8 @@ class StackMonitoringClient {
|
|
|
1592
1667
|
};
|
|
1593
1668
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1594
1669
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disassociateMonitoredResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
1670
|
+
if (this.logger)
|
|
1671
|
+
retrier.logger = this.logger;
|
|
1595
1672
|
const request = yield oci_common_1.composeRequest({
|
|
1596
1673
|
baseEndpoint: this._endpoint,
|
|
1597
1674
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1628,11 +1705,12 @@ class StackMonitoringClient {
|
|
|
1628
1705
|
* @param EnableMetricExtensionRequest
|
|
1629
1706
|
* @return EnableMetricExtensionResponse
|
|
1630
1707
|
* @throws OciError when an error occurs
|
|
1631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1708
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/EnableMetricExtension.ts.html |here} to see how to use EnableMetricExtension API.
|
|
1632
1709
|
*/
|
|
1633
1710
|
enableMetricExtension(enableMetricExtensionRequest) {
|
|
1634
1711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1635
|
-
|
|
1712
|
+
if (this.logger)
|
|
1713
|
+
this.logger.debug("Calling operation StackMonitoringClient#enableMetricExtension.");
|
|
1636
1714
|
const operationName = "enableMetricExtension";
|
|
1637
1715
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/EnableMetricExtension";
|
|
1638
1716
|
const pathParams = {
|
|
@@ -1647,6 +1725,8 @@ class StackMonitoringClient {
|
|
|
1647
1725
|
};
|
|
1648
1726
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1649
1727
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
1728
|
+
if (this.logger)
|
|
1729
|
+
retrier.logger = this.logger;
|
|
1650
1730
|
const request = yield oci_common_1.composeRequest({
|
|
1651
1731
|
baseEndpoint: this._endpoint,
|
|
1652
1732
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1687,11 +1767,12 @@ class StackMonitoringClient {
|
|
|
1687
1767
|
* @param EvaluateBaselineableMetricRequest
|
|
1688
1768
|
* @return EvaluateBaselineableMetricResponse
|
|
1689
1769
|
* @throws OciError when an error occurs
|
|
1690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1770
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/EvaluateBaselineableMetric.ts.html |here} to see how to use EvaluateBaselineableMetric API.
|
|
1691
1771
|
*/
|
|
1692
1772
|
evaluateBaselineableMetric(evaluateBaselineableMetricRequest) {
|
|
1693
1773
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1694
|
-
|
|
1774
|
+
if (this.logger)
|
|
1775
|
+
this.logger.debug("Calling operation StackMonitoringClient#evaluateBaselineableMetric.");
|
|
1695
1776
|
const operationName = "evaluateBaselineableMetric";
|
|
1696
1777
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/EvaluateBaselineableMetricResult/EvaluateBaselineableMetric";
|
|
1697
1778
|
const pathParams = {
|
|
@@ -1706,6 +1787,8 @@ class StackMonitoringClient {
|
|
|
1706
1787
|
};
|
|
1707
1788
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1708
1789
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, evaluateBaselineableMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
1790
|
+
if (this.logger)
|
|
1791
|
+
retrier.logger = this.logger;
|
|
1709
1792
|
const request = yield oci_common_1.composeRequest({
|
|
1710
1793
|
baseEndpoint: this._endpoint,
|
|
1711
1794
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1752,11 +1835,12 @@ class StackMonitoringClient {
|
|
|
1752
1835
|
* @param ExportMetricExtensionRequest
|
|
1753
1836
|
* @return ExportMetricExtensionResponse
|
|
1754
1837
|
* @throws OciError when an error occurs
|
|
1755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1838
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ExportMetricExtension.ts.html |here} to see how to use ExportMetricExtension API.
|
|
1756
1839
|
*/
|
|
1757
1840
|
exportMetricExtension(exportMetricExtensionRequest) {
|
|
1758
1841
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1759
|
-
|
|
1842
|
+
if (this.logger)
|
|
1843
|
+
this.logger.debug("Calling operation StackMonitoringClient#exportMetricExtension.");
|
|
1760
1844
|
const operationName = "exportMetricExtension";
|
|
1761
1845
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/ExportMetricExtension";
|
|
1762
1846
|
const pathParams = {
|
|
@@ -1771,6 +1855,8 @@ class StackMonitoringClient {
|
|
|
1771
1855
|
};
|
|
1772
1856
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1773
1857
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
1858
|
+
if (this.logger)
|
|
1859
|
+
retrier.logger = this.logger;
|
|
1774
1860
|
const request = yield oci_common_1.composeRequest({
|
|
1775
1861
|
baseEndpoint: this._endpoint,
|
|
1776
1862
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1813,11 +1899,12 @@ class StackMonitoringClient {
|
|
|
1813
1899
|
* @param GetBaselineableMetricRequest
|
|
1814
1900
|
* @return GetBaselineableMetricResponse
|
|
1815
1901
|
* @throws OciError when an error occurs
|
|
1816
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1902
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetBaselineableMetric.ts.html |here} to see how to use GetBaselineableMetric API.
|
|
1817
1903
|
*/
|
|
1818
1904
|
getBaselineableMetric(getBaselineableMetricRequest) {
|
|
1819
1905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1820
|
-
|
|
1906
|
+
if (this.logger)
|
|
1907
|
+
this.logger.debug("Calling operation StackMonitoringClient#getBaselineableMetric.");
|
|
1821
1908
|
const operationName = "getBaselineableMetric";
|
|
1822
1909
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/BaselineableMetric/GetBaselineableMetric";
|
|
1823
1910
|
const pathParams = {
|
|
@@ -1830,6 +1917,8 @@ class StackMonitoringClient {
|
|
|
1830
1917
|
};
|
|
1831
1918
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1832
1919
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBaselineableMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
1920
|
+
if (this.logger)
|
|
1921
|
+
retrier.logger = this.logger;
|
|
1833
1922
|
const request = yield oci_common_1.composeRequest({
|
|
1834
1923
|
baseEndpoint: this._endpoint,
|
|
1835
1924
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1878,11 +1967,12 @@ class StackMonitoringClient {
|
|
|
1878
1967
|
* @param GetConfigRequest
|
|
1879
1968
|
* @return GetConfigResponse
|
|
1880
1969
|
* @throws OciError when an error occurs
|
|
1881
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1970
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetConfig.ts.html |here} to see how to use GetConfig API.
|
|
1882
1971
|
*/
|
|
1883
1972
|
getConfig(getConfigRequest) {
|
|
1884
1973
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1885
|
-
|
|
1974
|
+
if (this.logger)
|
|
1975
|
+
this.logger.debug("Calling operation StackMonitoringClient#getConfig.");
|
|
1886
1976
|
const operationName = "getConfig";
|
|
1887
1977
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/Config/GetConfig";
|
|
1888
1978
|
const pathParams = {
|
|
@@ -1895,6 +1985,8 @@ class StackMonitoringClient {
|
|
|
1895
1985
|
};
|
|
1896
1986
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1897
1987
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1988
|
+
if (this.logger)
|
|
1989
|
+
retrier.logger = this.logger;
|
|
1898
1990
|
const request = yield oci_common_1.composeRequest({
|
|
1899
1991
|
baseEndpoint: this._endpoint,
|
|
1900
1992
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1939,11 +2031,12 @@ class StackMonitoringClient {
|
|
|
1939
2031
|
* @param GetDiscoveryJobRequest
|
|
1940
2032
|
* @return GetDiscoveryJobResponse
|
|
1941
2033
|
* @throws OciError when an error occurs
|
|
1942
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2034
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetDiscoveryJob.ts.html |here} to see how to use GetDiscoveryJob API.
|
|
1943
2035
|
*/
|
|
1944
2036
|
getDiscoveryJob(getDiscoveryJobRequest) {
|
|
1945
2037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1946
|
-
|
|
2038
|
+
if (this.logger)
|
|
2039
|
+
this.logger.debug("Calling operation StackMonitoringClient#getDiscoveryJob.");
|
|
1947
2040
|
const operationName = "getDiscoveryJob";
|
|
1948
2041
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/DiscoveryJob/GetDiscoveryJob";
|
|
1949
2042
|
const pathParams = {
|
|
@@ -1956,6 +2049,8 @@ class StackMonitoringClient {
|
|
|
1956
2049
|
};
|
|
1957
2050
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1958
2051
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDiscoveryJobRequest.retryConfiguration, specRetryConfiguration);
|
|
2052
|
+
if (this.logger)
|
|
2053
|
+
retrier.logger = this.logger;
|
|
1959
2054
|
const request = yield oci_common_1.composeRequest({
|
|
1960
2055
|
baseEndpoint: this._endpoint,
|
|
1961
2056
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1999,11 +2094,12 @@ class StackMonitoringClient {
|
|
|
1999
2094
|
* @param GetMetricExtensionRequest
|
|
2000
2095
|
* @return GetMetricExtensionResponse
|
|
2001
2096
|
* @throws OciError when an error occurs
|
|
2002
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetMetricExtension.ts.html |here} to see how to use GetMetricExtension API.
|
|
2003
2098
|
*/
|
|
2004
2099
|
getMetricExtension(getMetricExtensionRequest) {
|
|
2005
2100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2006
|
-
|
|
2101
|
+
if (this.logger)
|
|
2102
|
+
this.logger.debug("Calling operation StackMonitoringClient#getMetricExtension.");
|
|
2007
2103
|
const operationName = "getMetricExtension";
|
|
2008
2104
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/GetMetricExtension";
|
|
2009
2105
|
const pathParams = {
|
|
@@ -2016,6 +2112,8 @@ class StackMonitoringClient {
|
|
|
2016
2112
|
};
|
|
2017
2113
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2018
2114
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
2115
|
+
if (this.logger)
|
|
2116
|
+
retrier.logger = this.logger;
|
|
2019
2117
|
const request = yield oci_common_1.composeRequest({
|
|
2020
2118
|
baseEndpoint: this._endpoint,
|
|
2021
2119
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2060,11 +2158,12 @@ class StackMonitoringClient {
|
|
|
2060
2158
|
* @param GetMonitoredResourceRequest
|
|
2061
2159
|
* @return GetMonitoredResourceResponse
|
|
2062
2160
|
* @throws OciError when an error occurs
|
|
2063
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetMonitoredResource.ts.html |here} to see how to use GetMonitoredResource API.
|
|
2064
2162
|
*/
|
|
2065
2163
|
getMonitoredResource(getMonitoredResourceRequest) {
|
|
2066
2164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2067
|
-
|
|
2165
|
+
if (this.logger)
|
|
2166
|
+
this.logger.debug("Calling operation StackMonitoringClient#getMonitoredResource.");
|
|
2068
2167
|
const operationName = "getMonitoredResource";
|
|
2069
2168
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/GetMonitoredResource";
|
|
2070
2169
|
const pathParams = {
|
|
@@ -2077,6 +2176,8 @@ class StackMonitoringClient {
|
|
|
2077
2176
|
};
|
|
2078
2177
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2079
2178
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMonitoredResourceRequest.retryConfiguration, specRetryConfiguration);
|
|
2179
|
+
if (this.logger)
|
|
2180
|
+
retrier.logger = this.logger;
|
|
2080
2181
|
const request = yield oci_common_1.composeRequest({
|
|
2081
2182
|
baseEndpoint: this._endpoint,
|
|
2082
2183
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2120,11 +2221,12 @@ class StackMonitoringClient {
|
|
|
2120
2221
|
* @param GetMonitoredResourceTaskRequest
|
|
2121
2222
|
* @return GetMonitoredResourceTaskResponse
|
|
2122
2223
|
* @throws OciError when an error occurs
|
|
2123
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetMonitoredResourceTask.ts.html |here} to see how to use GetMonitoredResourceTask API.
|
|
2124
2225
|
*/
|
|
2125
2226
|
getMonitoredResourceTask(getMonitoredResourceTaskRequest) {
|
|
2126
2227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2127
|
-
|
|
2228
|
+
if (this.logger)
|
|
2229
|
+
this.logger.debug("Calling operation StackMonitoringClient#getMonitoredResourceTask.");
|
|
2128
2230
|
const operationName = "getMonitoredResourceTask";
|
|
2129
2231
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceTask/GetMonitoredResourceTask";
|
|
2130
2232
|
const pathParams = {
|
|
@@ -2137,6 +2239,8 @@ class StackMonitoringClient {
|
|
|
2137
2239
|
};
|
|
2138
2240
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2139
2241
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMonitoredResourceTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
2242
|
+
if (this.logger)
|
|
2243
|
+
retrier.logger = this.logger;
|
|
2140
2244
|
const request = yield oci_common_1.composeRequest({
|
|
2141
2245
|
baseEndpoint: this._endpoint,
|
|
2142
2246
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2180,11 +2284,12 @@ class StackMonitoringClient {
|
|
|
2180
2284
|
* @param GetMonitoredResourceTypeRequest
|
|
2181
2285
|
* @return GetMonitoredResourceTypeResponse
|
|
2182
2286
|
* @throws OciError when an error occurs
|
|
2183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetMonitoredResourceType.ts.html |here} to see how to use GetMonitoredResourceType API.
|
|
2184
2288
|
*/
|
|
2185
2289
|
getMonitoredResourceType(getMonitoredResourceTypeRequest) {
|
|
2186
2290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2187
|
-
|
|
2291
|
+
if (this.logger)
|
|
2292
|
+
this.logger.debug("Calling operation StackMonitoringClient#getMonitoredResourceType.");
|
|
2188
2293
|
const operationName = "getMonitoredResourceType";
|
|
2189
2294
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceType/GetMonitoredResourceType";
|
|
2190
2295
|
const pathParams = {
|
|
@@ -2197,6 +2302,8 @@ class StackMonitoringClient {
|
|
|
2197
2302
|
};
|
|
2198
2303
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2199
2304
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMonitoredResourceTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
2305
|
+
if (this.logger)
|
|
2306
|
+
retrier.logger = this.logger;
|
|
2200
2307
|
const request = yield oci_common_1.composeRequest({
|
|
2201
2308
|
baseEndpoint: this._endpoint,
|
|
2202
2309
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2240,11 +2347,12 @@ class StackMonitoringClient {
|
|
|
2240
2347
|
* @param GetProcessSetRequest
|
|
2241
2348
|
* @return GetProcessSetResponse
|
|
2242
2349
|
* @throws OciError when an error occurs
|
|
2243
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetProcessSet.ts.html |here} to see how to use GetProcessSet API.
|
|
2244
2351
|
*/
|
|
2245
2352
|
getProcessSet(getProcessSetRequest) {
|
|
2246
2353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2247
|
-
|
|
2354
|
+
if (this.logger)
|
|
2355
|
+
this.logger.debug("Calling operation StackMonitoringClient#getProcessSet.");
|
|
2248
2356
|
const operationName = "getProcessSet";
|
|
2249
2357
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ProcessSet/GetProcessSet";
|
|
2250
2358
|
const pathParams = {
|
|
@@ -2257,6 +2365,8 @@ class StackMonitoringClient {
|
|
|
2257
2365
|
};
|
|
2258
2366
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2259
2367
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProcessSetRequest.retryConfiguration, specRetryConfiguration);
|
|
2368
|
+
if (this.logger)
|
|
2369
|
+
retrier.logger = this.logger;
|
|
2260
2370
|
const request = yield oci_common_1.composeRequest({
|
|
2261
2371
|
baseEndpoint: this._endpoint,
|
|
2262
2372
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2300,11 +2410,12 @@ class StackMonitoringClient {
|
|
|
2300
2410
|
* @param GetWorkRequestRequest
|
|
2301
2411
|
* @return GetWorkRequestResponse
|
|
2302
2412
|
* @throws OciError when an error occurs
|
|
2303
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2413
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2304
2414
|
*/
|
|
2305
2415
|
getWorkRequest(getWorkRequestRequest) {
|
|
2306
2416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2307
|
-
|
|
2417
|
+
if (this.logger)
|
|
2418
|
+
this.logger.debug("Calling operation StackMonitoringClient#getWorkRequest.");
|
|
2308
2419
|
const operationName = "getWorkRequest";
|
|
2309
2420
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/WorkRequest/GetWorkRequest";
|
|
2310
2421
|
const pathParams = {
|
|
@@ -2317,6 +2428,8 @@ class StackMonitoringClient {
|
|
|
2317
2428
|
};
|
|
2318
2429
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2319
2430
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2431
|
+
if (this.logger)
|
|
2432
|
+
retrier.logger = this.logger;
|
|
2320
2433
|
const request = yield oci_common_1.composeRequest({
|
|
2321
2434
|
baseEndpoint: this._endpoint,
|
|
2322
2435
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2360,11 +2473,12 @@ class StackMonitoringClient {
|
|
|
2360
2473
|
* @param ListBaselineableMetricsRequest
|
|
2361
2474
|
* @return ListBaselineableMetricsResponse
|
|
2362
2475
|
* @throws OciError when an error occurs
|
|
2363
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListBaselineableMetrics.ts.html |here} to see how to use ListBaselineableMetrics API.
|
|
2364
2477
|
*/
|
|
2365
2478
|
listBaselineableMetrics(listBaselineableMetricsRequest) {
|
|
2366
2479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2367
|
-
|
|
2480
|
+
if (this.logger)
|
|
2481
|
+
this.logger.debug("Calling operation StackMonitoringClient#listBaselineableMetrics.");
|
|
2368
2482
|
const operationName = "listBaselineableMetrics";
|
|
2369
2483
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/BaselineableMetricSummary/ListBaselineableMetrics";
|
|
2370
2484
|
const pathParams = {};
|
|
@@ -2385,6 +2499,8 @@ class StackMonitoringClient {
|
|
|
2385
2499
|
};
|
|
2386
2500
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2387
2501
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBaselineableMetricsRequest.retryConfiguration, specRetryConfiguration);
|
|
2502
|
+
if (this.logger)
|
|
2503
|
+
retrier.logger = this.logger;
|
|
2388
2504
|
const request = yield oci_common_1.composeRequest({
|
|
2389
2505
|
baseEndpoint: this._endpoint,
|
|
2390
2506
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2434,11 +2550,12 @@ class StackMonitoringClient {
|
|
|
2434
2550
|
* @param ListConfigsRequest
|
|
2435
2551
|
* @return ListConfigsResponse
|
|
2436
2552
|
* @throws OciError when an error occurs
|
|
2437
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2553
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListConfigs.ts.html |here} to see how to use ListConfigs API.
|
|
2438
2554
|
*/
|
|
2439
2555
|
listConfigs(listConfigsRequest) {
|
|
2440
2556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2441
|
-
|
|
2557
|
+
if (this.logger)
|
|
2558
|
+
this.logger.debug("Calling operation StackMonitoringClient#listConfigs.");
|
|
2442
2559
|
const operationName = "listConfigs";
|
|
2443
2560
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ConfigCollection/ListConfigs";
|
|
2444
2561
|
const pathParams = {};
|
|
@@ -2458,6 +2575,8 @@ class StackMonitoringClient {
|
|
|
2458
2575
|
};
|
|
2459
2576
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2460
2577
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigsRequest.retryConfiguration, specRetryConfiguration);
|
|
2578
|
+
if (this.logger)
|
|
2579
|
+
retrier.logger = this.logger;
|
|
2461
2580
|
const request = yield oci_common_1.composeRequest({
|
|
2462
2581
|
baseEndpoint: this._endpoint,
|
|
2463
2582
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2502,11 +2621,12 @@ class StackMonitoringClient {
|
|
|
2502
2621
|
* @param ListDiscoveryJobLogsRequest
|
|
2503
2622
|
* @return ListDiscoveryJobLogsResponse
|
|
2504
2623
|
* @throws OciError when an error occurs
|
|
2505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2624
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListDiscoveryJobLogs.ts.html |here} to see how to use ListDiscoveryJobLogs API.
|
|
2506
2625
|
*/
|
|
2507
2626
|
listDiscoveryJobLogs(listDiscoveryJobLogsRequest) {
|
|
2508
2627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2509
|
-
|
|
2628
|
+
if (this.logger)
|
|
2629
|
+
this.logger.debug("Calling operation StackMonitoringClient#listDiscoveryJobLogs.");
|
|
2510
2630
|
const operationName = "listDiscoveryJobLogs";
|
|
2511
2631
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/DiscoveryJobLogCollection/ListDiscoveryJobLogs";
|
|
2512
2632
|
const pathParams = {
|
|
@@ -2525,6 +2645,8 @@ class StackMonitoringClient {
|
|
|
2525
2645
|
};
|
|
2526
2646
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2527
2647
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDiscoveryJobLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2648
|
+
if (this.logger)
|
|
2649
|
+
retrier.logger = this.logger;
|
|
2528
2650
|
const request = yield oci_common_1.composeRequest({
|
|
2529
2651
|
baseEndpoint: this._endpoint,
|
|
2530
2652
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2569,11 +2691,12 @@ class StackMonitoringClient {
|
|
|
2569
2691
|
* @param ListDiscoveryJobsRequest
|
|
2570
2692
|
* @return ListDiscoveryJobsResponse
|
|
2571
2693
|
* @throws OciError when an error occurs
|
|
2572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2694
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListDiscoveryJobs.ts.html |here} to see how to use ListDiscoveryJobs API.
|
|
2573
2695
|
*/
|
|
2574
2696
|
listDiscoveryJobs(listDiscoveryJobsRequest) {
|
|
2575
2697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2576
|
-
|
|
2698
|
+
if (this.logger)
|
|
2699
|
+
this.logger.debug("Calling operation StackMonitoringClient#listDiscoveryJobs.");
|
|
2577
2700
|
const operationName = "listDiscoveryJobs";
|
|
2578
2701
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/DiscoveryJobCollection/ListDiscoveryJobs";
|
|
2579
2702
|
const pathParams = {};
|
|
@@ -2591,6 +2714,8 @@ class StackMonitoringClient {
|
|
|
2591
2714
|
};
|
|
2592
2715
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2593
2716
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDiscoveryJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
2717
|
+
if (this.logger)
|
|
2718
|
+
retrier.logger = this.logger;
|
|
2594
2719
|
const request = yield oci_common_1.composeRequest({
|
|
2595
2720
|
baseEndpoint: this._endpoint,
|
|
2596
2721
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2634,11 +2759,12 @@ class StackMonitoringClient {
|
|
|
2634
2759
|
* @param ListMetricExtensionsRequest
|
|
2635
2760
|
* @return ListMetricExtensionsResponse
|
|
2636
2761
|
* @throws OciError when an error occurs
|
|
2637
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2762
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListMetricExtensions.ts.html |here} to see how to use ListMetricExtensions API.
|
|
2638
2763
|
*/
|
|
2639
2764
|
listMetricExtensions(listMetricExtensionsRequest) {
|
|
2640
2765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2641
|
-
|
|
2766
|
+
if (this.logger)
|
|
2767
|
+
this.logger.debug("Calling operation StackMonitoringClient#listMetricExtensions.");
|
|
2642
2768
|
const operationName = "listMetricExtensions";
|
|
2643
2769
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/ListMetricExtensions";
|
|
2644
2770
|
const pathParams = {};
|
|
@@ -2660,6 +2786,8 @@ class StackMonitoringClient {
|
|
|
2660
2786
|
};
|
|
2661
2787
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2662
2788
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMetricExtensionsRequest.retryConfiguration, specRetryConfiguration);
|
|
2789
|
+
if (this.logger)
|
|
2790
|
+
retrier.logger = this.logger;
|
|
2663
2791
|
const request = yield oci_common_1.composeRequest({
|
|
2664
2792
|
baseEndpoint: this._endpoint,
|
|
2665
2793
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2704,11 +2832,12 @@ class StackMonitoringClient {
|
|
|
2704
2832
|
* @param ListMonitoredResourceTasksRequest
|
|
2705
2833
|
* @return ListMonitoredResourceTasksResponse
|
|
2706
2834
|
* @throws OciError when an error occurs
|
|
2707
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2835
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListMonitoredResourceTasks.ts.html |here} to see how to use ListMonitoredResourceTasks API.
|
|
2708
2836
|
*/
|
|
2709
2837
|
listMonitoredResourceTasks(listMonitoredResourceTasksRequest) {
|
|
2710
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2711
|
-
|
|
2839
|
+
if (this.logger)
|
|
2840
|
+
this.logger.debug("Calling operation StackMonitoringClient#listMonitoredResourceTasks.");
|
|
2712
2841
|
const operationName = "listMonitoredResourceTasks";
|
|
2713
2842
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceTask/ListMonitoredResourceTasks";
|
|
2714
2843
|
const pathParams = {};
|
|
@@ -2726,6 +2855,8 @@ class StackMonitoringClient {
|
|
|
2726
2855
|
};
|
|
2727
2856
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2728
2857
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMonitoredResourceTasksRequest.retryConfiguration, specRetryConfiguration);
|
|
2858
|
+
if (this.logger)
|
|
2859
|
+
retrier.logger = this.logger;
|
|
2729
2860
|
const request = yield oci_common_1.composeRequest({
|
|
2730
2861
|
baseEndpoint: this._endpoint,
|
|
2731
2862
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2780,11 +2911,12 @@ class StackMonitoringClient {
|
|
|
2780
2911
|
* @param ListMonitoredResourceTypesRequest
|
|
2781
2912
|
* @return ListMonitoredResourceTypesResponse
|
|
2782
2913
|
* @throws OciError when an error occurs
|
|
2783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2914
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListMonitoredResourceTypes.ts.html |here} to see how to use ListMonitoredResourceTypes API.
|
|
2784
2915
|
*/
|
|
2785
2916
|
listMonitoredResourceTypes(listMonitoredResourceTypesRequest) {
|
|
2786
2917
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2787
|
-
|
|
2918
|
+
if (this.logger)
|
|
2919
|
+
this.logger.debug("Calling operation StackMonitoringClient#listMonitoredResourceTypes.");
|
|
2788
2920
|
const operationName = "listMonitoredResourceTypes";
|
|
2789
2921
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceType/ListMonitoredResourceTypes";
|
|
2790
2922
|
const pathParams = {};
|
|
@@ -2807,6 +2939,8 @@ class StackMonitoringClient {
|
|
|
2807
2939
|
};
|
|
2808
2940
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2809
2941
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMonitoredResourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
2942
|
+
if (this.logger)
|
|
2943
|
+
retrier.logger = this.logger;
|
|
2810
2944
|
const request = yield oci_common_1.composeRequest({
|
|
2811
2945
|
baseEndpoint: this._endpoint,
|
|
2812
2946
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2855,11 +2989,12 @@ class StackMonitoringClient {
|
|
|
2855
2989
|
* @param ListMonitoredResourcesRequest
|
|
2856
2990
|
* @return ListMonitoredResourcesResponse
|
|
2857
2991
|
* @throws OciError when an error occurs
|
|
2858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2992
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListMonitoredResources.ts.html |here} to see how to use ListMonitoredResources API.
|
|
2859
2993
|
*/
|
|
2860
2994
|
listMonitoredResources(listMonitoredResourcesRequest) {
|
|
2861
2995
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2862
|
-
|
|
2996
|
+
if (this.logger)
|
|
2997
|
+
this.logger.debug("Calling operation StackMonitoringClient#listMonitoredResources.");
|
|
2863
2998
|
const operationName = "listMonitoredResources";
|
|
2864
2999
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/ListMonitoredResources";
|
|
2865
3000
|
const pathParams = {};
|
|
@@ -2878,6 +3013,8 @@ class StackMonitoringClient {
|
|
|
2878
3013
|
};
|
|
2879
3014
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2880
3015
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMonitoredResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
3016
|
+
if (this.logger)
|
|
3017
|
+
retrier.logger = this.logger;
|
|
2881
3018
|
const request = yield oci_common_1.composeRequest({
|
|
2882
3019
|
baseEndpoint: this._endpoint,
|
|
2883
3020
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2926,11 +3063,12 @@ class StackMonitoringClient {
|
|
|
2926
3063
|
* @param ListProcessSetsRequest
|
|
2927
3064
|
* @return ListProcessSetsResponse
|
|
2928
3065
|
* @throws OciError when an error occurs
|
|
2929
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3066
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListProcessSets.ts.html |here} to see how to use ListProcessSets API.
|
|
2930
3067
|
*/
|
|
2931
3068
|
listProcessSets(listProcessSetsRequest) {
|
|
2932
3069
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2933
|
-
|
|
3070
|
+
if (this.logger)
|
|
3071
|
+
this.logger.debug("Calling operation StackMonitoringClient#listProcessSets.");
|
|
2934
3072
|
const operationName = "listProcessSets";
|
|
2935
3073
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ProcessSetCollection/ListProcessSets";
|
|
2936
3074
|
const pathParams = {};
|
|
@@ -2948,6 +3086,8 @@ class StackMonitoringClient {
|
|
|
2948
3086
|
};
|
|
2949
3087
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2950
3088
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProcessSetsRequest.retryConfiguration, specRetryConfiguration);
|
|
3089
|
+
if (this.logger)
|
|
3090
|
+
retrier.logger = this.logger;
|
|
2951
3091
|
const request = yield oci_common_1.composeRequest({
|
|
2952
3092
|
baseEndpoint: this._endpoint,
|
|
2953
3093
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2992,11 +3132,12 @@ class StackMonitoringClient {
|
|
|
2992
3132
|
* @param ListWorkRequestErrorsRequest
|
|
2993
3133
|
* @return ListWorkRequestErrorsResponse
|
|
2994
3134
|
* @throws OciError when an error occurs
|
|
2995
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3135
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2996
3136
|
*/
|
|
2997
3137
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2998
3138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2999
|
-
|
|
3139
|
+
if (this.logger)
|
|
3140
|
+
this.logger.debug("Calling operation StackMonitoringClient#listWorkRequestErrors.");
|
|
3000
3141
|
const operationName = "listWorkRequestErrors";
|
|
3001
3142
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/WorkRequestErrorCollection/ListWorkRequestErrors";
|
|
3002
3143
|
const pathParams = {
|
|
@@ -3014,6 +3155,8 @@ class StackMonitoringClient {
|
|
|
3014
3155
|
};
|
|
3015
3156
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3016
3157
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3158
|
+
if (this.logger)
|
|
3159
|
+
retrier.logger = this.logger;
|
|
3017
3160
|
const request = yield oci_common_1.composeRequest({
|
|
3018
3161
|
baseEndpoint: this._endpoint,
|
|
3019
3162
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3058,11 +3201,12 @@ class StackMonitoringClient {
|
|
|
3058
3201
|
* @param ListWorkRequestLogsRequest
|
|
3059
3202
|
* @return ListWorkRequestLogsResponse
|
|
3060
3203
|
* @throws OciError when an error occurs
|
|
3061
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3204
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3062
3205
|
*/
|
|
3063
3206
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3064
3207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3065
|
-
|
|
3208
|
+
if (this.logger)
|
|
3209
|
+
this.logger.debug("Calling operation StackMonitoringClient#listWorkRequestLogs.");
|
|
3066
3210
|
const operationName = "listWorkRequestLogs";
|
|
3067
3211
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/WorkRequestLogEntryCollection/ListWorkRequestLogs";
|
|
3068
3212
|
const pathParams = {
|
|
@@ -3080,6 +3224,8 @@ class StackMonitoringClient {
|
|
|
3080
3224
|
};
|
|
3081
3225
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3082
3226
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3227
|
+
if (this.logger)
|
|
3228
|
+
retrier.logger = this.logger;
|
|
3083
3229
|
const request = yield oci_common_1.composeRequest({
|
|
3084
3230
|
baseEndpoint: this._endpoint,
|
|
3085
3231
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3124,11 +3270,12 @@ class StackMonitoringClient {
|
|
|
3124
3270
|
* @param ListWorkRequestsRequest
|
|
3125
3271
|
* @return ListWorkRequestsResponse
|
|
3126
3272
|
* @throws OciError when an error occurs
|
|
3127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3273
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3128
3274
|
*/
|
|
3129
3275
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3130
3276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3131
|
-
|
|
3277
|
+
if (this.logger)
|
|
3278
|
+
this.logger.debug("Calling operation StackMonitoringClient#listWorkRequests.");
|
|
3132
3279
|
const operationName = "listWorkRequests";
|
|
3133
3280
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/WorkRequestSummaryCollection/ListWorkRequests";
|
|
3134
3281
|
const pathParams = {};
|
|
@@ -3148,6 +3295,8 @@ class StackMonitoringClient {
|
|
|
3148
3295
|
};
|
|
3149
3296
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3150
3297
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3298
|
+
if (this.logger)
|
|
3299
|
+
retrier.logger = this.logger;
|
|
3151
3300
|
const request = yield oci_common_1.composeRequest({
|
|
3152
3301
|
baseEndpoint: this._endpoint,
|
|
3153
3302
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3196,11 +3345,12 @@ class StackMonitoringClient {
|
|
|
3196
3345
|
* @param ManageLicenseRequest
|
|
3197
3346
|
* @return ManageLicenseResponse
|
|
3198
3347
|
* @throws OciError when an error occurs
|
|
3199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/ManageLicense.ts.html |here} to see how to use ManageLicense API.
|
|
3200
3349
|
*/
|
|
3201
3350
|
manageLicense(manageLicenseRequest) {
|
|
3202
3351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3203
|
-
|
|
3352
|
+
if (this.logger)
|
|
3353
|
+
this.logger.debug("Calling operation StackMonitoringClient#manageLicense.");
|
|
3204
3354
|
const operationName = "manageLicense";
|
|
3205
3355
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/ManageLicense";
|
|
3206
3356
|
const pathParams = {
|
|
@@ -3215,6 +3365,8 @@ class StackMonitoringClient {
|
|
|
3215
3365
|
};
|
|
3216
3366
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3217
3367
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, manageLicenseRequest.retryConfiguration, specRetryConfiguration);
|
|
3368
|
+
if (this.logger)
|
|
3369
|
+
retrier.logger = this.logger;
|
|
3218
3370
|
const request = yield oci_common_1.composeRequest({
|
|
3219
3371
|
baseEndpoint: this._endpoint,
|
|
3220
3372
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3250,11 +3402,12 @@ class StackMonitoringClient {
|
|
|
3250
3402
|
* @param PublishMetricExtensionRequest
|
|
3251
3403
|
* @return PublishMetricExtensionResponse
|
|
3252
3404
|
* @throws OciError when an error occurs
|
|
3253
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3405
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/PublishMetricExtension.ts.html |here} to see how to use PublishMetricExtension API.
|
|
3254
3406
|
*/
|
|
3255
3407
|
publishMetricExtension(publishMetricExtensionRequest) {
|
|
3256
3408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3257
|
-
|
|
3409
|
+
if (this.logger)
|
|
3410
|
+
this.logger.debug("Calling operation StackMonitoringClient#publishMetricExtension.");
|
|
3258
3411
|
const operationName = "publishMetricExtension";
|
|
3259
3412
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/PublishMetricExtension";
|
|
3260
3413
|
const pathParams = {
|
|
@@ -3269,6 +3422,8 @@ class StackMonitoringClient {
|
|
|
3269
3422
|
};
|
|
3270
3423
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3271
3424
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
3425
|
+
if (this.logger)
|
|
3426
|
+
retrier.logger = this.logger;
|
|
3272
3427
|
const request = yield oci_common_1.composeRequest({
|
|
3273
3428
|
baseEndpoint: this._endpoint,
|
|
3274
3429
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3318,11 +3473,12 @@ class StackMonitoringClient {
|
|
|
3318
3473
|
* @param RequestMonitoredResourcesSummarizedCountRequest
|
|
3319
3474
|
* @return RequestMonitoredResourcesSummarizedCountResponse
|
|
3320
3475
|
* @throws OciError when an error occurs
|
|
3321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/RequestMonitoredResourcesSummarizedCount.ts.html |here} to see how to use RequestMonitoredResourcesSummarizedCount API.
|
|
3322
3477
|
*/
|
|
3323
3478
|
requestMonitoredResourcesSummarizedCount(requestMonitoredResourcesSummarizedCountRequest) {
|
|
3324
3479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3325
|
-
|
|
3480
|
+
if (this.logger)
|
|
3481
|
+
this.logger.debug("Calling operation StackMonitoringClient#requestMonitoredResourcesSummarizedCount.");
|
|
3326
3482
|
const operationName = "requestMonitoredResourcesSummarizedCount";
|
|
3327
3483
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/RequestMonitoredResourcesSummarizedCount";
|
|
3328
3484
|
const pathParams = {};
|
|
@@ -3342,6 +3498,8 @@ class StackMonitoringClient {
|
|
|
3342
3498
|
};
|
|
3343
3499
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3344
3500
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestMonitoredResourcesSummarizedCountRequest.retryConfiguration, specRetryConfiguration);
|
|
3501
|
+
if (this.logger)
|
|
3502
|
+
retrier.logger = this.logger;
|
|
3345
3503
|
const request = yield oci_common_1.composeRequest({
|
|
3346
3504
|
baseEndpoint: this._endpoint,
|
|
3347
3505
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3392,11 +3550,12 @@ class StackMonitoringClient {
|
|
|
3392
3550
|
* @param SearchAssociatedResourcesRequest
|
|
3393
3551
|
* @return SearchAssociatedResourcesResponse
|
|
3394
3552
|
* @throws OciError when an error occurs
|
|
3395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3553
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/SearchAssociatedResources.ts.html |here} to see how to use SearchAssociatedResources API.
|
|
3396
3554
|
*/
|
|
3397
3555
|
searchAssociatedResources(searchAssociatedResourcesRequest) {
|
|
3398
3556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3399
|
-
|
|
3557
|
+
if (this.logger)
|
|
3558
|
+
this.logger.debug("Calling operation StackMonitoringClient#searchAssociatedResources.");
|
|
3400
3559
|
const operationName = "searchAssociatedResources";
|
|
3401
3560
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/SearchAssociatedResources";
|
|
3402
3561
|
const pathParams = {};
|
|
@@ -3414,6 +3573,8 @@ class StackMonitoringClient {
|
|
|
3414
3573
|
};
|
|
3415
3574
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3416
3575
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchAssociatedResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
3576
|
+
if (this.logger)
|
|
3577
|
+
retrier.logger = this.logger;
|
|
3417
3578
|
const request = yield oci_common_1.composeRequest({
|
|
3418
3579
|
baseEndpoint: this._endpoint,
|
|
3419
3580
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3464,11 +3625,12 @@ class StackMonitoringClient {
|
|
|
3464
3625
|
* @param SearchMonitoredResourceAssociationsRequest
|
|
3465
3626
|
* @return SearchMonitoredResourceAssociationsResponse
|
|
3466
3627
|
* @throws OciError when an error occurs
|
|
3467
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3628
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/SearchMonitoredResourceAssociations.ts.html |here} to see how to use SearchMonitoredResourceAssociations API.
|
|
3468
3629
|
*/
|
|
3469
3630
|
searchMonitoredResourceAssociations(searchMonitoredResourceAssociationsRequest) {
|
|
3470
3631
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3471
|
-
|
|
3632
|
+
if (this.logger)
|
|
3633
|
+
this.logger.debug("Calling operation StackMonitoringClient#searchMonitoredResourceAssociations.");
|
|
3472
3634
|
const operationName = "searchMonitoredResourceAssociations";
|
|
3473
3635
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/SearchMonitoredResourceAssociations";
|
|
3474
3636
|
const pathParams = {};
|
|
@@ -3484,6 +3646,8 @@ class StackMonitoringClient {
|
|
|
3484
3646
|
};
|
|
3485
3647
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3486
3648
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchMonitoredResourceAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3649
|
+
if (this.logger)
|
|
3650
|
+
retrier.logger = this.logger;
|
|
3487
3651
|
const request = yield oci_common_1.composeRequest({
|
|
3488
3652
|
baseEndpoint: this._endpoint,
|
|
3489
3653
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3534,11 +3698,12 @@ class StackMonitoringClient {
|
|
|
3534
3698
|
* @param SearchMonitoredResourceMembersRequest
|
|
3535
3699
|
* @return SearchMonitoredResourceMembersResponse
|
|
3536
3700
|
* @throws OciError when an error occurs
|
|
3537
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/SearchMonitoredResourceMembers.ts.html |here} to see how to use SearchMonitoredResourceMembers API.
|
|
3538
3702
|
*/
|
|
3539
3703
|
searchMonitoredResourceMembers(searchMonitoredResourceMembersRequest) {
|
|
3540
3704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3541
|
-
|
|
3705
|
+
if (this.logger)
|
|
3706
|
+
this.logger.debug("Calling operation StackMonitoringClient#searchMonitoredResourceMembers.");
|
|
3542
3707
|
const operationName = "searchMonitoredResourceMembers";
|
|
3543
3708
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/SearchMonitoredResourceMembers";
|
|
3544
3709
|
const pathParams = {
|
|
@@ -3558,6 +3723,8 @@ class StackMonitoringClient {
|
|
|
3558
3723
|
};
|
|
3559
3724
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3560
3725
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchMonitoredResourceMembersRequest.retryConfiguration, specRetryConfiguration);
|
|
3726
|
+
if (this.logger)
|
|
3727
|
+
retrier.logger = this.logger;
|
|
3561
3728
|
const request = yield oci_common_1.composeRequest({
|
|
3562
3729
|
baseEndpoint: this._endpoint,
|
|
3563
3730
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3608,11 +3775,12 @@ class StackMonitoringClient {
|
|
|
3608
3775
|
* @param SearchMonitoredResourcesRequest
|
|
3609
3776
|
* @return SearchMonitoredResourcesResponse
|
|
3610
3777
|
* @throws OciError when an error occurs
|
|
3611
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3778
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/SearchMonitoredResources.ts.html |here} to see how to use SearchMonitoredResources API.
|
|
3612
3779
|
*/
|
|
3613
3780
|
searchMonitoredResources(searchMonitoredResourcesRequest) {
|
|
3614
3781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3615
|
-
|
|
3782
|
+
if (this.logger)
|
|
3783
|
+
this.logger.debug("Calling operation StackMonitoringClient#searchMonitoredResources.");
|
|
3616
3784
|
const operationName = "searchMonitoredResources";
|
|
3617
3785
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/SearchMonitoredResources";
|
|
3618
3786
|
const pathParams = {};
|
|
@@ -3630,6 +3798,8 @@ class StackMonitoringClient {
|
|
|
3630
3798
|
};
|
|
3631
3799
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3632
3800
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchMonitoredResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
3801
|
+
if (this.logger)
|
|
3802
|
+
retrier.logger = this.logger;
|
|
3633
3803
|
const request = yield oci_common_1.composeRequest({
|
|
3634
3804
|
baseEndpoint: this._endpoint,
|
|
3635
3805
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3679,11 +3849,12 @@ class StackMonitoringClient {
|
|
|
3679
3849
|
* @param TestMetricExtensionRequest
|
|
3680
3850
|
* @return TestMetricExtensionResponse
|
|
3681
3851
|
* @throws OciError when an error occurs
|
|
3682
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/TestMetricExtension.ts.html |here} to see how to use TestMetricExtension API.
|
|
3683
3853
|
*/
|
|
3684
3854
|
testMetricExtension(testMetricExtensionRequest) {
|
|
3685
3855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3686
|
-
|
|
3856
|
+
if (this.logger)
|
|
3857
|
+
this.logger.debug("Calling operation StackMonitoringClient#testMetricExtension.");
|
|
3687
3858
|
const operationName = "testMetricExtension";
|
|
3688
3859
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/TestMetricExtension";
|
|
3689
3860
|
const pathParams = {
|
|
@@ -3698,6 +3869,8 @@ class StackMonitoringClient {
|
|
|
3698
3869
|
};
|
|
3699
3870
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3700
3871
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, testMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
3872
|
+
if (this.logger)
|
|
3873
|
+
retrier.logger = this.logger;
|
|
3701
3874
|
const request = yield oci_common_1.composeRequest({
|
|
3702
3875
|
baseEndpoint: this._endpoint,
|
|
3703
3876
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3751,11 +3924,12 @@ class StackMonitoringClient {
|
|
|
3751
3924
|
* @param UpdateAndPropagateTagsRequest
|
|
3752
3925
|
* @return UpdateAndPropagateTagsResponse
|
|
3753
3926
|
* @throws OciError when an error occurs
|
|
3754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateAndPropagateTags.ts.html |here} to see how to use UpdateAndPropagateTags API.
|
|
3755
3928
|
*/
|
|
3756
3929
|
updateAndPropagateTags(updateAndPropagateTagsRequest) {
|
|
3757
3930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3758
|
-
|
|
3931
|
+
if (this.logger)
|
|
3932
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateAndPropagateTags.");
|
|
3759
3933
|
const operationName = "updateAndPropagateTags";
|
|
3760
3934
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/UpdateAndPropagateTags";
|
|
3761
3935
|
const pathParams = {
|
|
@@ -3770,6 +3944,8 @@ class StackMonitoringClient {
|
|
|
3770
3944
|
};
|
|
3771
3945
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3772
3946
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAndPropagateTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
3947
|
+
if (this.logger)
|
|
3948
|
+
retrier.logger = this.logger;
|
|
3773
3949
|
const request = yield oci_common_1.composeRequest({
|
|
3774
3950
|
baseEndpoint: this._endpoint,
|
|
3775
3951
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3810,11 +3986,12 @@ class StackMonitoringClient {
|
|
|
3810
3986
|
* @param UpdateBaselineableMetricRequest
|
|
3811
3987
|
* @return UpdateBaselineableMetricResponse
|
|
3812
3988
|
* @throws OciError when an error occurs
|
|
3813
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateBaselineableMetric.ts.html |here} to see how to use UpdateBaselineableMetric API.
|
|
3814
3990
|
*/
|
|
3815
3991
|
updateBaselineableMetric(updateBaselineableMetricRequest) {
|
|
3816
3992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3817
|
-
|
|
3993
|
+
if (this.logger)
|
|
3994
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateBaselineableMetric.");
|
|
3818
3995
|
const operationName = "updateBaselineableMetric";
|
|
3819
3996
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/UpdateBaselineableMetricDetails/UpdateBaselineableMetric";
|
|
3820
3997
|
const pathParams = {
|
|
@@ -3828,6 +4005,8 @@ class StackMonitoringClient {
|
|
|
3828
4005
|
};
|
|
3829
4006
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3830
4007
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBaselineableMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
4008
|
+
if (this.logger)
|
|
4009
|
+
retrier.logger = this.logger;
|
|
3831
4010
|
const request = yield oci_common_1.composeRequest({
|
|
3832
4011
|
baseEndpoint: this._endpoint,
|
|
3833
4012
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3877,11 +4056,12 @@ class StackMonitoringClient {
|
|
|
3877
4056
|
* @param UpdateConfigRequest
|
|
3878
4057
|
* @return UpdateConfigResponse
|
|
3879
4058
|
* @throws OciError when an error occurs
|
|
3880
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateConfig.ts.html |here} to see how to use UpdateConfig API.
|
|
3881
4060
|
*/
|
|
3882
4061
|
updateConfig(updateConfigRequest) {
|
|
3883
4062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3884
|
-
|
|
4063
|
+
if (this.logger)
|
|
4064
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateConfig.");
|
|
3885
4065
|
const operationName = "updateConfig";
|
|
3886
4066
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/Config/UpdateConfig";
|
|
3887
4067
|
const pathParams = {
|
|
@@ -3895,6 +4075,8 @@ class StackMonitoringClient {
|
|
|
3895
4075
|
};
|
|
3896
4076
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3897
4077
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
4078
|
+
if (this.logger)
|
|
4079
|
+
retrier.logger = this.logger;
|
|
3898
4080
|
const request = yield oci_common_1.composeRequest({
|
|
3899
4081
|
baseEndpoint: this._endpoint,
|
|
3900
4082
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3939,11 +4121,12 @@ class StackMonitoringClient {
|
|
|
3939
4121
|
* @param UpdateMetricExtensionRequest
|
|
3940
4122
|
* @return UpdateMetricExtensionResponse
|
|
3941
4123
|
* @throws OciError when an error occurs
|
|
3942
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateMetricExtension.ts.html |here} to see how to use UpdateMetricExtension API.
|
|
3943
4125
|
*/
|
|
3944
4126
|
updateMetricExtension(updateMetricExtensionRequest) {
|
|
3945
4127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3946
|
-
|
|
4128
|
+
if (this.logger)
|
|
4129
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateMetricExtension.");
|
|
3947
4130
|
const operationName = "updateMetricExtension";
|
|
3948
4131
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/UpdateMetricExtension";
|
|
3949
4132
|
const pathParams = {
|
|
@@ -3957,6 +4140,8 @@ class StackMonitoringClient {
|
|
|
3957
4140
|
};
|
|
3958
4141
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3959
4142
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMetricExtensionRequest.retryConfiguration, specRetryConfiguration);
|
|
4143
|
+
if (this.logger)
|
|
4144
|
+
retrier.logger = this.logger;
|
|
3960
4145
|
const request = yield oci_common_1.composeRequest({
|
|
3961
4146
|
baseEndpoint: this._endpoint,
|
|
3962
4147
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4009,11 +4194,12 @@ class StackMonitoringClient {
|
|
|
4009
4194
|
* @param UpdateMonitoredResourceRequest
|
|
4010
4195
|
* @return UpdateMonitoredResourceResponse
|
|
4011
4196
|
* @throws OciError when an error occurs
|
|
4012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateMonitoredResource.ts.html |here} to see how to use UpdateMonitoredResource API.
|
|
4013
4198
|
*/
|
|
4014
4199
|
updateMonitoredResource(updateMonitoredResourceRequest) {
|
|
4015
4200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4016
|
-
|
|
4201
|
+
if (this.logger)
|
|
4202
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateMonitoredResource.");
|
|
4017
4203
|
const operationName = "updateMonitoredResource";
|
|
4018
4204
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/UpdateMonitoredResource";
|
|
4019
4205
|
const pathParams = {
|
|
@@ -4027,6 +4213,8 @@ class StackMonitoringClient {
|
|
|
4027
4213
|
};
|
|
4028
4214
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4029
4215
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMonitoredResourceRequest.retryConfiguration, specRetryConfiguration);
|
|
4216
|
+
if (this.logger)
|
|
4217
|
+
retrier.logger = this.logger;
|
|
4030
4218
|
const request = yield oci_common_1.composeRequest({
|
|
4031
4219
|
baseEndpoint: this._endpoint,
|
|
4032
4220
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4068,11 +4256,12 @@ class StackMonitoringClient {
|
|
|
4068
4256
|
* @param UpdateMonitoredResourceTaskRequest
|
|
4069
4257
|
* @return UpdateMonitoredResourceTaskResponse
|
|
4070
4258
|
* @throws OciError when an error occurs
|
|
4071
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4259
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateMonitoredResourceTask.ts.html |here} to see how to use UpdateMonitoredResourceTask API.
|
|
4072
4260
|
*/
|
|
4073
4261
|
updateMonitoredResourceTask(updateMonitoredResourceTaskRequest) {
|
|
4074
4262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4075
|
-
|
|
4263
|
+
if (this.logger)
|
|
4264
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateMonitoredResourceTask.");
|
|
4076
4265
|
const operationName = "updateMonitoredResourceTask";
|
|
4077
4266
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceTask/UpdateMonitoredResourceTask";
|
|
4078
4267
|
const pathParams = {
|
|
@@ -4086,6 +4275,8 @@ class StackMonitoringClient {
|
|
|
4086
4275
|
};
|
|
4087
4276
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4088
4277
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMonitoredResourceTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
4278
|
+
if (this.logger)
|
|
4279
|
+
retrier.logger = this.logger;
|
|
4089
4280
|
const request = yield oci_common_1.composeRequest({
|
|
4090
4281
|
baseEndpoint: this._endpoint,
|
|
4091
4282
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4131,11 +4322,12 @@ class StackMonitoringClient {
|
|
|
4131
4322
|
* @param UpdateMonitoredResourceTypeRequest
|
|
4132
4323
|
* @return UpdateMonitoredResourceTypeResponse
|
|
4133
4324
|
* @throws OciError when an error occurs
|
|
4134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateMonitoredResourceType.ts.html |here} to see how to use UpdateMonitoredResourceType API.
|
|
4135
4326
|
*/
|
|
4136
4327
|
updateMonitoredResourceType(updateMonitoredResourceTypeRequest) {
|
|
4137
4328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4138
|
-
|
|
4329
|
+
if (this.logger)
|
|
4330
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateMonitoredResourceType.");
|
|
4139
4331
|
const operationName = "updateMonitoredResourceType";
|
|
4140
4332
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceType/UpdateMonitoredResourceType";
|
|
4141
4333
|
const pathParams = {
|
|
@@ -4149,6 +4341,8 @@ class StackMonitoringClient {
|
|
|
4149
4341
|
};
|
|
4150
4342
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4151
4343
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMonitoredResourceTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
4344
|
+
if (this.logger)
|
|
4345
|
+
retrier.logger = this.logger;
|
|
4152
4346
|
const request = yield oci_common_1.composeRequest({
|
|
4153
4347
|
baseEndpoint: this._endpoint,
|
|
4154
4348
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4193,11 +4387,12 @@ class StackMonitoringClient {
|
|
|
4193
4387
|
* @param UpdateProcessSetRequest
|
|
4194
4388
|
* @return UpdateProcessSetResponse
|
|
4195
4389
|
* @throws OciError when an error occurs
|
|
4196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4390
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/stackmonitoring/UpdateProcessSet.ts.html |here} to see how to use UpdateProcessSet API.
|
|
4197
4391
|
*/
|
|
4198
4392
|
updateProcessSet(updateProcessSetRequest) {
|
|
4199
4393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4200
|
-
|
|
4394
|
+
if (this.logger)
|
|
4395
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateProcessSet.");
|
|
4201
4396
|
const operationName = "updateProcessSet";
|
|
4202
4397
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/ProcessSet/UpdateProcessSet";
|
|
4203
4398
|
const pathParams = {
|
|
@@ -4211,6 +4406,8 @@ class StackMonitoringClient {
|
|
|
4211
4406
|
};
|
|
4212
4407
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4213
4408
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProcessSetRequest.retryConfiguration, specRetryConfiguration);
|
|
4409
|
+
if (this.logger)
|
|
4410
|
+
retrier.logger = this.logger;
|
|
4214
4411
|
const request = yield oci_common_1.composeRequest({
|
|
4215
4412
|
baseEndpoint: this._endpoint,
|
|
4216
4413
|
defaultHeaders: this._defaultHeaders,
|