oci-optimizer 2.7.0 → 2.10.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/index.d.ts +4 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +58 -25
- package/lib/client.js +245 -26
- package/lib/client.js.map +1 -1
- package/lib/model/action-type.d.ts +4 -1
- package/lib/model/action-type.js +4 -1
- package/lib/model/action-type.js.map +1 -1
- package/lib/model/action.d.ts +4 -1
- package/lib/model/action.js +4 -1
- package/lib/model/action.js.map +1 -1
- package/lib/model/bulk-apply-recommendations-details.d.ts +4 -1
- package/lib/model/bulk-apply-recommendations-details.js +4 -1
- package/lib/model/bulk-apply-recommendations-details.js.map +1 -1
- package/lib/model/bulk-apply-resource-action.d.ts +4 -1
- package/lib/model/bulk-apply-resource-action.js +4 -1
- package/lib/model/bulk-apply-resource-action.js.map +1 -1
- package/lib/model/category-collection.d.ts +4 -1
- package/lib/model/category-collection.js +4 -1
- package/lib/model/category-collection.js.map +1 -1
- package/lib/model/category-summary.d.ts +17 -3
- package/lib/model/category-summary.js +4 -1
- package/lib/model/category-summary.js.map +1 -1
- package/lib/model/category.d.ts +17 -3
- package/lib/model/category.js +4 -1
- package/lib/model/category.js.map +1 -1
- package/lib/model/create-profile-details.d.ts +8 -1
- package/lib/model/create-profile-details.js +4 -1
- package/lib/model/create-profile-details.js.map +1 -1
- package/lib/model/enrollment-status-collection.d.ts +4 -1
- package/lib/model/enrollment-status-collection.js +4 -1
- package/lib/model/enrollment-status-collection.js.map +1 -1
- package/lib/model/enrollment-status-summary.d.ts +4 -1
- package/lib/model/enrollment-status-summary.js +4 -1
- package/lib/model/enrollment-status-summary.js.map +1 -1
- package/lib/model/enrollment-status.d.ts +4 -1
- package/lib/model/enrollment-status.js +4 -1
- package/lib/model/enrollment-status.js.map +1 -1
- package/lib/model/evaluated-metric.d.ts +40 -0
- package/lib/model/evaluated-metric.js +32 -0
- package/lib/model/evaluated-metric.js.map +1 -0
- package/lib/model/history-collection.d.ts +4 -1
- package/lib/model/history-collection.js +4 -1
- package/lib/model/history-collection.js.map +1 -1
- package/lib/model/history-summary.d.ts +4 -1
- package/lib/model/history-summary.js +4 -1
- package/lib/model/history-summary.js.map +1 -1
- package/lib/model/importance.d.ts +4 -1
- package/lib/model/importance.js +4 -1
- package/lib/model/importance.js.map +1 -1
- package/lib/model/index.d.ts +18 -1
- package/lib/model/index.js +20 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/level-configuration.d.ts +4 -1
- package/lib/model/level-configuration.js +4 -1
- package/lib/model/level-configuration.js.map +1 -1
- package/lib/model/levels-configuration.d.ts +4 -1
- package/lib/model/levels-configuration.js +4 -1
- package/lib/model/levels-configuration.js.map +1 -1
- package/lib/model/lifecycle-state.d.ts +4 -1
- package/lib/model/lifecycle-state.js +4 -1
- package/lib/model/lifecycle-state.js.map +1 -1
- package/lib/model/operation-status.d.ts +4 -1
- package/lib/model/operation-status.js +4 -1
- package/lib/model/operation-status.js.map +1 -1
- package/lib/model/operation-type.d.ts +4 -1
- package/lib/model/operation-type.js +4 -1
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/optimizer-enrollment-status.d.ts +4 -1
- package/lib/model/optimizer-enrollment-status.js +4 -1
- package/lib/model/optimizer-enrollment-status.js.map +1 -1
- package/lib/model/profile-collection.d.ts +4 -1
- package/lib/model/profile-collection.js +4 -1
- package/lib/model/profile-collection.js.map +1 -1
- package/lib/model/profile-level-collection.d.ts +30 -0
- package/lib/model/profile-level-collection.js +64 -0
- package/lib/model/profile-level-collection.js.map +1 -0
- package/lib/model/profile-level-summary.d.ts +56 -0
- package/lib/model/profile-level-summary.js +64 -0
- package/lib/model/profile-level-summary.js.map +1 -0
- package/lib/model/profile-summary.d.ts +8 -1
- package/lib/model/profile-summary.js +4 -1
- package/lib/model/profile-summary.js.map +1 -1
- package/lib/model/profile.d.ts +8 -1
- package/lib/model/profile.js +4 -1
- package/lib/model/profile.js.map +1 -1
- package/lib/model/query-details.d.ts +30 -0
- package/lib/model/query-details.js +32 -0
- package/lib/model/query-details.js.map +1 -0
- package/lib/model/queryable-field-collection.d.ts +30 -0
- package/lib/model/queryable-field-collection.js +64 -0
- package/lib/model/queryable-field-collection.js.map +1 -0
- package/lib/model/queryable-field-summary.d.ts +53 -0
- package/lib/model/queryable-field-summary.js +77 -0
- package/lib/model/queryable-field-summary.js.map +1 -0
- package/lib/model/recommendation-collection.d.ts +4 -1
- package/lib/model/recommendation-collection.js +4 -1
- package/lib/model/recommendation-collection.js.map +1 -1
- package/lib/model/recommendation-count.d.ts +4 -1
- package/lib/model/recommendation-count.js +4 -1
- package/lib/model/recommendation-count.js.map +1 -1
- package/lib/model/recommendation-strategy-collection.d.ts +4 -1
- package/lib/model/recommendation-strategy-collection.js +4 -1
- package/lib/model/recommendation-strategy-collection.js.map +1 -1
- package/lib/model/recommendation-strategy-summary.d.ts +4 -1
- package/lib/model/recommendation-strategy-summary.js +4 -1
- package/lib/model/recommendation-strategy-summary.js.map +1 -1
- package/lib/model/recommendation-summary.d.ts +15 -1
- package/lib/model/recommendation-summary.js +4 -1
- package/lib/model/recommendation-summary.js.map +1 -1
- package/lib/model/recommendation.d.ts +15 -1
- package/lib/model/recommendation.js +4 -1
- package/lib/model/recommendation.js.map +1 -1
- package/lib/model/resource-action-collection.d.ts +4 -1
- package/lib/model/resource-action-collection.js +4 -1
- package/lib/model/resource-action-collection.js.map +1 -1
- package/lib/model/resource-action-summary.d.ts +4 -1
- package/lib/model/resource-action-summary.js +4 -1
- package/lib/model/resource-action-summary.js.map +1 -1
- package/lib/model/resource-action.d.ts +4 -1
- package/lib/model/resource-action.js +4 -1
- package/lib/model/resource-action.js.map +1 -1
- package/lib/model/resource-count.d.ts +4 -1
- package/lib/model/resource-count.js +4 -1
- package/lib/model/resource-count.js.map +1 -1
- package/lib/model/sort-order.d.ts +4 -1
- package/lib/model/sort-order.js +4 -1
- package/lib/model/sort-order.js.map +1 -1
- package/lib/model/status.d.ts +4 -1
- package/lib/model/status.js +4 -1
- package/lib/model/status.js.map +1 -1
- package/lib/model/strategy-parameter-type.d.ts +4 -1
- package/lib/model/strategy-parameter-type.js +4 -1
- package/lib/model/strategy-parameter-type.js.map +1 -1
- package/lib/model/strategy-parameter.d.ts +4 -1
- package/lib/model/strategy-parameter.js +4 -1
- package/lib/model/strategy-parameter.js.map +1 -1
- package/lib/model/strategy.d.ts +4 -1
- package/lib/model/strategy.js +4 -1
- package/lib/model/strategy.js.map +1 -1
- package/lib/model/supported-level.d.ts +4 -1
- package/lib/model/supported-level.js +4 -1
- package/lib/model/supported-level.js.map +1 -1
- package/lib/model/supported-levels.d.ts +4 -1
- package/lib/model/supported-levels.js +4 -1
- package/lib/model/supported-levels.js.map +1 -1
- package/lib/model/tag-value-type.d.ts +9 -6
- package/lib/model/tag-value-type.js +9 -6
- package/lib/model/tag-value-type.js.map +1 -1
- package/lib/model/target-compartments.d.ts +6 -3
- package/lib/model/target-compartments.js +4 -1
- package/lib/model/target-compartments.js.map +1 -1
- package/lib/model/target-tag.d.ts +18 -6
- package/lib/model/target-tag.js +4 -1
- package/lib/model/target-tag.js.map +1 -1
- package/lib/model/target-tags.d.ts +6 -3
- package/lib/model/target-tags.js +4 -1
- package/lib/model/target-tags.js.map +1 -1
- package/lib/model/update-enrollment-status-details.d.ts +4 -1
- package/lib/model/update-enrollment-status-details.js +4 -1
- package/lib/model/update-enrollment-status-details.js.map +1 -1
- package/lib/model/update-profile-details.d.ts +8 -1
- package/lib/model/update-profile-details.js +4 -1
- package/lib/model/update-profile-details.js.map +1 -1
- package/lib/model/update-recommendation-details.d.ts +4 -1
- package/lib/model/update-recommendation-details.js +4 -1
- package/lib/model/update-recommendation-details.js.map +1 -1
- package/lib/model/update-resource-action-details.d.ts +4 -1
- package/lib/model/update-resource-action-details.js +4 -1
- package/lib/model/update-resource-action-details.js.map +1 -1
- package/lib/model/work-request-action-type.d.ts +4 -1
- package/lib/model/work-request-action-type.js +4 -1
- package/lib/model/work-request-action-type.js.map +1 -1
- package/lib/model/work-request-collection.d.ts +4 -1
- package/lib/model/work-request-collection.js +4 -1
- package/lib/model/work-request-collection.js.map +1 -1
- package/lib/model/work-request-error-collection.d.ts +4 -1
- package/lib/model/work-request-error-collection.js +4 -1
- package/lib/model/work-request-error-collection.js.map +1 -1
- package/lib/model/work-request-error.d.ts +5 -2
- package/lib/model/work-request-error.js +4 -1
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +4 -1
- package/lib/model/work-request-log-entry-collection.js +4 -1
- package/lib/model/work-request-log-entry-collection.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +4 -1
- package/lib/model/work-request-log-entry.js +4 -1
- package/lib/model/work-request-log-entry.js.map +1 -1
- package/lib/model/work-request-resource-metadata-key.d.ts +30 -0
- package/lib/model/work-request-resource-metadata-key.js +41 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +10 -1
- package/lib/model/work-request-resource.js +4 -1
- package/lib/model/work-request-resource.js.map +1 -1
- package/lib/model/work-request.d.ts +4 -1
- package/lib/model/work-request.js +4 -1
- package/lib/model/work-request.js.map +1 -1
- package/lib/optimizer-waiter.d.ts +4 -1
- package/lib/optimizer-waiter.js +4 -1
- package/lib/optimizer-waiter.js.map +1 -1
- package/lib/request/bulk-apply-recommendations-request.d.ts +1 -1
- package/lib/request/create-profile-request.d.ts +1 -1
- package/lib/request/delete-profile-request.d.ts +1 -1
- package/lib/request/filter-resource-actions-request.d.ts +53 -0
- package/lib/request/filter-resource-actions-request.js +15 -0
- package/lib/request/filter-resource-actions-request.js.map +1 -0
- package/lib/request/get-category-request.d.ts +1 -1
- package/lib/request/get-enrollment-status-request.d.ts +1 -1
- package/lib/request/get-profile-request.d.ts +1 -1
- package/lib/request/get-recommendation-request.d.ts +1 -1
- package/lib/request/get-resource-action-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +10 -1
- package/lib/request/index.js +7 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-categories-request.d.ts +1 -1
- package/lib/request/list-enrollment-statuses-request.d.ts +1 -1
- package/lib/request/list-histories-request.d.ts +1 -1
- package/lib/request/list-profile-levels-request.d.ts +68 -0
- package/lib/request/list-profile-levels-request.js +24 -0
- package/lib/request/list-profile-levels-request.js.map +1 -0
- package/lib/request/list-profiles-request.d.ts +1 -1
- package/lib/request/list-recommendation-strategies-request.d.ts +1 -1
- package/lib/request/list-recommendations-request.d.ts +1 -1
- package/lib/request/list-resource-action-queryable-fields-request.d.ts +44 -0
- package/lib/request/list-resource-action-queryable-fields-request.js +15 -0
- package/lib/request/list-resource-action-queryable-fields-request.js.map +1 -0
- package/lib/request/list-resource-actions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-enrollment-status-request.d.ts +1 -1
- package/lib/request/update-profile-request.d.ts +1 -1
- package/lib/request/update-recommendation-request.d.ts +1 -1
- package/lib/request/update-resource-action-request.d.ts +1 -1
- package/lib/response/filter-resource-actions-response.d.ts +38 -0
- package/lib/response/filter-resource-actions-response.js +15 -0
- package/lib/response/filter-resource-actions-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -1
- package/lib/response/index.js +4 -1
- package/lib/response/index.js.map +1 -1
- package/lib/response/list-profile-levels-response.d.ts +38 -0
- package/lib/response/list-profile-levels-response.js +15 -0
- package/lib/response/list-profile-levels-response.js.map +1 -0
- package/lib/response/list-resource-action-queryable-fields-response.d.ts +38 -0
- package/lib/response/list-resource-action-queryable-fields-response.js +15 -0
- package/lib/response/list-resource-action-queryable-fields-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Cloud Advisor API
|
|
4
|
-
*
|
|
4
|
+
* Use the Cloud Advisor API to find potential inefficiencies in your tenancy and address them.
|
|
5
|
+
Cloud Advisor can help you save money, improve performance, strengthen system resilience, and improve security.
|
|
6
|
+
For more information, see [Cloud Advisor](/Content/CloudAdvisor/Concepts/cloudadvisoroverview.htm).
|
|
7
|
+
|
|
5
8
|
* OpenAPI spec version: 20200606
|
|
6
9
|
*
|
|
7
10
|
*
|
|
@@ -52,7 +55,7 @@ var OptimizerApiKeys;
|
|
|
52
55
|
(function (OptimizerApiKeys) {
|
|
53
56
|
})(OptimizerApiKeys = exports.OptimizerApiKeys || (exports.OptimizerApiKeys = {}));
|
|
54
57
|
/**
|
|
55
|
-
* This service client
|
|
58
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
56
59
|
*/
|
|
57
60
|
class OptimizerClient {
|
|
58
61
|
constructor(params, clientConfiguration) {
|
|
@@ -69,7 +72,7 @@ class OptimizerClient {
|
|
|
69
72
|
: null;
|
|
70
73
|
}
|
|
71
74
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
72
|
-
const specCircuitBreakerEnabled =
|
|
75
|
+
const specCircuitBreakerEnabled = true;
|
|
73
76
|
if (!this._circuitBreaker &&
|
|
74
77
|
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
75
78
|
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
@@ -151,7 +154,7 @@ class OptimizerClient {
|
|
|
151
154
|
* @param BulkApplyRecommendationsRequest
|
|
152
155
|
* @return BulkApplyRecommendationsResponse
|
|
153
156
|
* @throws OciError when an error occurs
|
|
154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/BulkApplyRecommendations.ts.html |here} to see how to use BulkApplyRecommendations API.
|
|
155
158
|
*/
|
|
156
159
|
bulkApplyRecommendations(bulkApplyRecommendationsRequest) {
|
|
157
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -211,7 +214,7 @@ class OptimizerClient {
|
|
|
211
214
|
* @param CreateProfileRequest
|
|
212
215
|
* @return CreateProfileResponse
|
|
213
216
|
* @throws OciError when an error occurs
|
|
214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/CreateProfile.ts.html |here} to see how to use CreateProfile API.
|
|
215
218
|
*/
|
|
216
219
|
createProfile(createProfileRequest) {
|
|
217
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -273,7 +276,7 @@ class OptimizerClient {
|
|
|
273
276
|
* @param DeleteProfileRequest
|
|
274
277
|
* @return DeleteProfileResponse
|
|
275
278
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/DeleteProfile.ts.html |here} to see how to use DeleteProfile API.
|
|
277
280
|
*/
|
|
278
281
|
deleteProfile(deleteProfileRequest) {
|
|
279
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -320,6 +323,78 @@ class OptimizerClient {
|
|
|
320
323
|
}
|
|
321
324
|
});
|
|
322
325
|
}
|
|
326
|
+
/**
|
|
327
|
+
* Queries the Cloud Advisor resource actions that are supported by the specified recommendation.
|
|
328
|
+
*
|
|
329
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
330
|
+
* @param FilterResourceActionsRequest
|
|
331
|
+
* @return FilterResourceActionsResponse
|
|
332
|
+
* @throws OciError when an error occurs
|
|
333
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/FilterResourceActions.ts.html |here} to see how to use FilterResourceActions API.
|
|
334
|
+
*/
|
|
335
|
+
filterResourceActions(filterResourceActionsRequest) {
|
|
336
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
337
|
+
if (this.logger)
|
|
338
|
+
this.logger.debug("Calling operation OptimizerClient#filterResourceActions.");
|
|
339
|
+
const pathParams = {};
|
|
340
|
+
const queryParams = {
|
|
341
|
+
"compartmentId": filterResourceActionsRequest.compartmentId,
|
|
342
|
+
"compartmentIdInSubtree": filterResourceActionsRequest.compartmentIdInSubtree,
|
|
343
|
+
"recommendationId": filterResourceActionsRequest.recommendationId,
|
|
344
|
+
"limit": filterResourceActionsRequest.limit,
|
|
345
|
+
"page": filterResourceActionsRequest.page
|
|
346
|
+
};
|
|
347
|
+
let headerParams = {
|
|
348
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
349
|
+
"opc-request-id": filterResourceActionsRequest.opcRequestId
|
|
350
|
+
};
|
|
351
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
352
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, filterResourceActionsRequest.retryConfiguration, specRetryConfiguration);
|
|
353
|
+
if (this.logger)
|
|
354
|
+
retrier.logger = this.logger;
|
|
355
|
+
const request = yield oci_common_1.composeRequest({
|
|
356
|
+
baseEndpoint: this._endpoint,
|
|
357
|
+
defaultHeaders: this._defaultHeaders,
|
|
358
|
+
path: "/actions/filterResourceActions",
|
|
359
|
+
method: "POST",
|
|
360
|
+
bodyContent: common.ObjectSerializer.serialize(filterResourceActionsRequest.queryDetails, "QueryDetails", model.QueryDetails.getJsonObj),
|
|
361
|
+
pathParams: pathParams,
|
|
362
|
+
headerParams: headerParams,
|
|
363
|
+
queryParams: queryParams
|
|
364
|
+
});
|
|
365
|
+
try {
|
|
366
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
367
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
368
|
+
responseObject: {},
|
|
369
|
+
body: yield response.json(),
|
|
370
|
+
bodyKey: "resourceActionCollection",
|
|
371
|
+
bodyModel: model.ResourceActionCollection,
|
|
372
|
+
type: "model.ResourceActionCollection",
|
|
373
|
+
responseHeaders: [
|
|
374
|
+
{
|
|
375
|
+
value: response.headers.get("opc-request-id"),
|
|
376
|
+
key: "opcRequestId",
|
|
377
|
+
dataType: "string"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
value: response.headers.get("opc-next-page"),
|
|
381
|
+
key: "opcNextPage",
|
|
382
|
+
dataType: "string"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
value: response.headers.get("opc-prev-page"),
|
|
386
|
+
key: "opcPrevPage",
|
|
387
|
+
dataType: "string"
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
});
|
|
391
|
+
return sdkResponse;
|
|
392
|
+
}
|
|
393
|
+
catch (err) {
|
|
394
|
+
throw err;
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
}
|
|
323
398
|
/**
|
|
324
399
|
* Gets the category that corresponds to the specified OCID.
|
|
325
400
|
*
|
|
@@ -327,7 +402,7 @@ class OptimizerClient {
|
|
|
327
402
|
* @param GetCategoryRequest
|
|
328
403
|
* @return GetCategoryResponse
|
|
329
404
|
* @throws OciError when an error occurs
|
|
330
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
405
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/GetCategory.ts.html |here} to see how to use GetCategory API.
|
|
331
406
|
*/
|
|
332
407
|
getCategory(getCategoryRequest) {
|
|
333
408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -384,7 +459,7 @@ class OptimizerClient {
|
|
|
384
459
|
* @param GetEnrollmentStatusRequest
|
|
385
460
|
* @return GetEnrollmentStatusResponse
|
|
386
461
|
* @throws OciError when an error occurs
|
|
387
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
462
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/GetEnrollmentStatus.ts.html |here} to see how to use GetEnrollmentStatus API.
|
|
388
463
|
*/
|
|
389
464
|
getEnrollmentStatus(getEnrollmentStatusRequest) {
|
|
390
465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -446,7 +521,7 @@ class OptimizerClient {
|
|
|
446
521
|
* @param GetProfileRequest
|
|
447
522
|
* @return GetProfileResponse
|
|
448
523
|
* @throws OciError when an error occurs
|
|
449
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
524
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/GetProfile.ts.html |here} to see how to use GetProfile API.
|
|
450
525
|
*/
|
|
451
526
|
getProfile(getProfileRequest) {
|
|
452
527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -508,7 +583,7 @@ class OptimizerClient {
|
|
|
508
583
|
* @param GetRecommendationRequest
|
|
509
584
|
* @return GetRecommendationResponse
|
|
510
585
|
* @throws OciError when an error occurs
|
|
511
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
586
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/GetRecommendation.ts.html |here} to see how to use GetRecommendation API.
|
|
512
587
|
*/
|
|
513
588
|
getRecommendation(getRecommendationRequest) {
|
|
514
589
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -570,7 +645,7 @@ class OptimizerClient {
|
|
|
570
645
|
* @param GetResourceActionRequest
|
|
571
646
|
* @return GetResourceActionResponse
|
|
572
647
|
* @throws OciError when an error occurs
|
|
573
|
-
* @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.10.0/optimizer/GetResourceAction.ts.html |here} to see how to use GetResourceAction API.
|
|
574
649
|
*/
|
|
575
650
|
getResourceAction(getResourceActionRequest) {
|
|
576
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -631,7 +706,7 @@ class OptimizerClient {
|
|
|
631
706
|
* @param GetWorkRequestRequest
|
|
632
707
|
* @return GetWorkRequestResponse
|
|
633
708
|
* @throws OciError when an error occurs
|
|
634
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
709
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
635
710
|
*/
|
|
636
711
|
getWorkRequest(getWorkRequestRequest) {
|
|
637
712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -693,7 +768,7 @@ class OptimizerClient {
|
|
|
693
768
|
* @param ListCategoriesRequest
|
|
694
769
|
* @return ListCategoriesResponse
|
|
695
770
|
* @throws OciError when an error occurs
|
|
696
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
771
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListCategories.ts.html |here} to see how to use ListCategories API.
|
|
697
772
|
*/
|
|
698
773
|
listCategories(listCategoriesRequest) {
|
|
699
774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -767,7 +842,7 @@ class OptimizerClient {
|
|
|
767
842
|
* @param ListEnrollmentStatusesRequest
|
|
768
843
|
* @return ListEnrollmentStatusesResponse
|
|
769
844
|
* @throws OciError when an error occurs
|
|
770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListEnrollmentStatuses.ts.html |here} to see how to use ListEnrollmentStatuses API.
|
|
771
846
|
*/
|
|
772
847
|
listEnrollmentStatuses(listEnrollmentStatusesRequest) {
|
|
773
848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -841,7 +916,7 @@ class OptimizerClient {
|
|
|
841
916
|
* @param ListHistoriesRequest
|
|
842
917
|
* @return ListHistoriesResponse
|
|
843
918
|
* @throws OciError when an error occurs
|
|
844
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListHistories.ts.html |here} to see how to use ListHistories API.
|
|
845
920
|
*/
|
|
846
921
|
listHistories(listHistoriesRequest) {
|
|
847
922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -912,6 +987,80 @@ class OptimizerClient {
|
|
|
912
987
|
}
|
|
913
988
|
});
|
|
914
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
* Lists the existing profile levels.
|
|
992
|
+
*
|
|
993
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
994
|
+
* @param ListProfileLevelsRequest
|
|
995
|
+
* @return ListProfileLevelsResponse
|
|
996
|
+
* @throws OciError when an error occurs
|
|
997
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListProfileLevels.ts.html |here} to see how to use ListProfileLevels API.
|
|
998
|
+
*/
|
|
999
|
+
listProfileLevels(listProfileLevelsRequest) {
|
|
1000
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1001
|
+
if (this.logger)
|
|
1002
|
+
this.logger.debug("Calling operation OptimizerClient#listProfileLevels.");
|
|
1003
|
+
const pathParams = {};
|
|
1004
|
+
const queryParams = {
|
|
1005
|
+
"compartmentId": listProfileLevelsRequest.compartmentId,
|
|
1006
|
+
"compartmentIdInSubtree": listProfileLevelsRequest.compartmentIdInSubtree,
|
|
1007
|
+
"name": listProfileLevelsRequest.name,
|
|
1008
|
+
"recommendationName": listProfileLevelsRequest.recommendationName,
|
|
1009
|
+
"limit": listProfileLevelsRequest.limit,
|
|
1010
|
+
"page": listProfileLevelsRequest.page,
|
|
1011
|
+
"sortOrder": listProfileLevelsRequest.sortOrder,
|
|
1012
|
+
"sortBy": listProfileLevelsRequest.sortBy
|
|
1013
|
+
};
|
|
1014
|
+
let headerParams = {
|
|
1015
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1016
|
+
"opc-request-id": listProfileLevelsRequest.opcRequestId
|
|
1017
|
+
};
|
|
1018
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1019
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfileLevelsRequest.retryConfiguration, specRetryConfiguration);
|
|
1020
|
+
if (this.logger)
|
|
1021
|
+
retrier.logger = this.logger;
|
|
1022
|
+
const request = yield oci_common_1.composeRequest({
|
|
1023
|
+
baseEndpoint: this._endpoint,
|
|
1024
|
+
defaultHeaders: this._defaultHeaders,
|
|
1025
|
+
path: "/profileLevels",
|
|
1026
|
+
method: "GET",
|
|
1027
|
+
pathParams: pathParams,
|
|
1028
|
+
headerParams: headerParams,
|
|
1029
|
+
queryParams: queryParams
|
|
1030
|
+
});
|
|
1031
|
+
try {
|
|
1032
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1033
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1034
|
+
responseObject: {},
|
|
1035
|
+
body: yield response.json(),
|
|
1036
|
+
bodyKey: "profileLevelCollection",
|
|
1037
|
+
bodyModel: model.ProfileLevelCollection,
|
|
1038
|
+
type: "model.ProfileLevelCollection",
|
|
1039
|
+
responseHeaders: [
|
|
1040
|
+
{
|
|
1041
|
+
value: response.headers.get("opc-request-id"),
|
|
1042
|
+
key: "opcRequestId",
|
|
1043
|
+
dataType: "string"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
value: response.headers.get("opc-next-page"),
|
|
1047
|
+
key: "opcNextPage",
|
|
1048
|
+
dataType: "string"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
value: response.headers.get("opc-prev-page"),
|
|
1052
|
+
key: "opcPrevPage",
|
|
1053
|
+
dataType: "string"
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
1056
|
+
});
|
|
1057
|
+
return sdkResponse;
|
|
1058
|
+
}
|
|
1059
|
+
catch (err) {
|
|
1060
|
+
throw err;
|
|
1061
|
+
}
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
915
1064
|
/**
|
|
916
1065
|
* Lists the existing profiles.
|
|
917
1066
|
*
|
|
@@ -919,7 +1068,7 @@ class OptimizerClient {
|
|
|
919
1068
|
* @param ListProfilesRequest
|
|
920
1069
|
* @return ListProfilesResponse
|
|
921
1070
|
* @throws OciError when an error occurs
|
|
922
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1071
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListProfiles.ts.html |here} to see how to use ListProfiles API.
|
|
923
1072
|
*/
|
|
924
1073
|
listProfiles(listProfilesRequest) {
|
|
925
1074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -992,7 +1141,7 @@ class OptimizerClient {
|
|
|
992
1141
|
* @param ListRecommendationStrategiesRequest
|
|
993
1142
|
* @return ListRecommendationStrategiesResponse
|
|
994
1143
|
* @throws OciError when an error occurs
|
|
995
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListRecommendationStrategies.ts.html |here} to see how to use ListRecommendationStrategies API.
|
|
996
1145
|
*/
|
|
997
1146
|
listRecommendationStrategies(listRecommendationStrategiesRequest) {
|
|
998
1147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1066,7 +1215,7 @@ class OptimizerClient {
|
|
|
1066
1215
|
* @param ListRecommendationsRequest
|
|
1067
1216
|
* @return ListRecommendationsResponse
|
|
1068
1217
|
* @throws OciError when an error occurs
|
|
1069
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
|
|
1070
1219
|
*/
|
|
1071
1220
|
listRecommendations(listRecommendationsRequest) {
|
|
1072
1221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1135,6 +1284,76 @@ class OptimizerClient {
|
|
|
1135
1284
|
}
|
|
1136
1285
|
});
|
|
1137
1286
|
}
|
|
1287
|
+
/**
|
|
1288
|
+
* Lists the fields that are indexed for querying and their associated value types.
|
|
1289
|
+
*
|
|
1290
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1291
|
+
* @param ListResourceActionQueryableFieldsRequest
|
|
1292
|
+
* @return ListResourceActionQueryableFieldsResponse
|
|
1293
|
+
* @throws OciError when an error occurs
|
|
1294
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListResourceActionQueryableFields.ts.html |here} to see how to use ListResourceActionQueryableFields API.
|
|
1295
|
+
*/
|
|
1296
|
+
listResourceActionQueryableFields(listResourceActionQueryableFieldsRequest) {
|
|
1297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1298
|
+
if (this.logger)
|
|
1299
|
+
this.logger.debug("Calling operation OptimizerClient#listResourceActionQueryableFields.");
|
|
1300
|
+
const pathParams = {};
|
|
1301
|
+
const queryParams = {
|
|
1302
|
+
"compartmentId": listResourceActionQueryableFieldsRequest.compartmentId,
|
|
1303
|
+
"compartmentIdInSubtree": listResourceActionQueryableFieldsRequest.compartmentIdInSubtree,
|
|
1304
|
+
"limit": listResourceActionQueryableFieldsRequest.limit,
|
|
1305
|
+
"page": listResourceActionQueryableFieldsRequest.page
|
|
1306
|
+
};
|
|
1307
|
+
let headerParams = {
|
|
1308
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1309
|
+
"opc-request-id": listResourceActionQueryableFieldsRequest.opcRequestId
|
|
1310
|
+
};
|
|
1311
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1312
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceActionQueryableFieldsRequest.retryConfiguration, specRetryConfiguration);
|
|
1313
|
+
if (this.logger)
|
|
1314
|
+
retrier.logger = this.logger;
|
|
1315
|
+
const request = yield oci_common_1.composeRequest({
|
|
1316
|
+
baseEndpoint: this._endpoint,
|
|
1317
|
+
defaultHeaders: this._defaultHeaders,
|
|
1318
|
+
path: "/resourceActions/actions/getQueryableFields",
|
|
1319
|
+
method: "GET",
|
|
1320
|
+
pathParams: pathParams,
|
|
1321
|
+
headerParams: headerParams,
|
|
1322
|
+
queryParams: queryParams
|
|
1323
|
+
});
|
|
1324
|
+
try {
|
|
1325
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1326
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1327
|
+
responseObject: {},
|
|
1328
|
+
body: yield response.json(),
|
|
1329
|
+
bodyKey: "queryableFieldCollection",
|
|
1330
|
+
bodyModel: model.QueryableFieldCollection,
|
|
1331
|
+
type: "model.QueryableFieldCollection",
|
|
1332
|
+
responseHeaders: [
|
|
1333
|
+
{
|
|
1334
|
+
value: response.headers.get("opc-request-id"),
|
|
1335
|
+
key: "opcRequestId",
|
|
1336
|
+
dataType: "string"
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
value: response.headers.get("opc-next-page"),
|
|
1340
|
+
key: "opcNextPage",
|
|
1341
|
+
dataType: "string"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
value: response.headers.get("opc-prev-page"),
|
|
1345
|
+
key: "opcPrevPage",
|
|
1346
|
+
dataType: "string"
|
|
1347
|
+
}
|
|
1348
|
+
]
|
|
1349
|
+
});
|
|
1350
|
+
return sdkResponse;
|
|
1351
|
+
}
|
|
1352
|
+
catch (err) {
|
|
1353
|
+
throw err;
|
|
1354
|
+
}
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1138
1357
|
/**
|
|
1139
1358
|
* Lists the Cloud Advisor resource actions that are supported by the specified recommendation.
|
|
1140
1359
|
*
|
|
@@ -1142,7 +1361,7 @@ class OptimizerClient {
|
|
|
1142
1361
|
* @param ListResourceActionsRequest
|
|
1143
1362
|
* @return ListResourceActionsResponse
|
|
1144
1363
|
* @throws OciError when an error occurs
|
|
1145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListResourceActions.ts.html |here} to see how to use ListResourceActions API.
|
|
1146
1365
|
*/
|
|
1147
1366
|
listResourceActions(listResourceActionsRequest) {
|
|
1148
1367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1219,7 +1438,7 @@ class OptimizerClient {
|
|
|
1219
1438
|
* @param ListWorkRequestErrorsRequest
|
|
1220
1439
|
* @return ListWorkRequestErrorsResponse
|
|
1221
1440
|
* @throws OciError when an error occurs
|
|
1222
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1223
1442
|
*/
|
|
1224
1443
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1225
1444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1284,7 +1503,7 @@ class OptimizerClient {
|
|
|
1284
1503
|
* @param ListWorkRequestLogsRequest
|
|
1285
1504
|
* @return ListWorkRequestLogsResponse
|
|
1286
1505
|
* @throws OciError when an error occurs
|
|
1287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1288
1507
|
*/
|
|
1289
1508
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1290
1509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1349,7 +1568,7 @@ class OptimizerClient {
|
|
|
1349
1568
|
* @param ListWorkRequestsRequest
|
|
1350
1569
|
* @return ListWorkRequestsResponse
|
|
1351
1570
|
* @throws OciError when an error occurs
|
|
1352
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1353
1572
|
*/
|
|
1354
1573
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1355
1574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1413,7 +1632,7 @@ class OptimizerClient {
|
|
|
1413
1632
|
* @param UpdateEnrollmentStatusRequest
|
|
1414
1633
|
* @return UpdateEnrollmentStatusResponse
|
|
1415
1634
|
* @throws OciError when an error occurs
|
|
1416
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/UpdateEnrollmentStatus.ts.html |here} to see how to use UpdateEnrollmentStatus API.
|
|
1417
1636
|
*/
|
|
1418
1637
|
updateEnrollmentStatus(updateEnrollmentStatusRequest) {
|
|
1419
1638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1477,7 +1696,7 @@ class OptimizerClient {
|
|
|
1477
1696
|
* @param UpdateProfileRequest
|
|
1478
1697
|
* @return UpdateProfileResponse
|
|
1479
1698
|
* @throws OciError when an error occurs
|
|
1480
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1699
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/UpdateProfile.ts.html |here} to see how to use UpdateProfile API.
|
|
1481
1700
|
*/
|
|
1482
1701
|
updateProfile(updateProfileRequest) {
|
|
1483
1702
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1546,7 +1765,7 @@ class OptimizerClient {
|
|
|
1546
1765
|
* @param UpdateRecommendationRequest
|
|
1547
1766
|
* @return UpdateRecommendationResponse
|
|
1548
1767
|
* @throws OciError when an error occurs
|
|
1549
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1768
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/UpdateRecommendation.ts.html |here} to see how to use UpdateRecommendation API.
|
|
1550
1769
|
*/
|
|
1551
1770
|
updateRecommendation(updateRecommendationRequest) {
|
|
1552
1771
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1615,7 +1834,7 @@ class OptimizerClient {
|
|
|
1615
1834
|
* @param UpdateResourceActionRequest
|
|
1616
1835
|
* @return UpdateResourceActionResponse
|
|
1617
1836
|
* @throws OciError when an error occurs
|
|
1618
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1837
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/optimizer/UpdateResourceAction.ts.html |here} to see how to use UpdateResourceAction API.
|
|
1619
1838
|
*/
|
|
1620
1839
|
updateResourceAction(updateResourceActionRequest) {
|
|
1621
1840
|
return __awaiter(this, void 0, void 0, function* () {
|