oci-optimizer 2.38.0 → 2.40.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/lib/client.d.ts +29 -29
  2. package/lib/client.js +40 -29
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/category-summary.d.ts +4 -0
  5. package/lib/model/category-summary.js.map +1 -1
  6. package/lib/model/category.d.ts +4 -0
  7. package/lib/model/category.js.map +1 -1
  8. package/lib/request/bulk-apply-recommendations-request.d.ts +1 -1
  9. package/lib/request/create-profile-request.d.ts +1 -1
  10. package/lib/request/delete-profile-request.d.ts +1 -1
  11. package/lib/request/filter-resource-actions-request.d.ts +40 -4
  12. package/lib/request/get-category-request.d.ts +1 -1
  13. package/lib/request/get-enrollment-status-request.d.ts +1 -1
  14. package/lib/request/get-profile-request.d.ts +1 -1
  15. package/lib/request/get-recommendation-request.d.ts +1 -1
  16. package/lib/request/get-resource-action-request.d.ts +1 -1
  17. package/lib/request/get-work-request-request.d.ts +1 -1
  18. package/lib/request/list-categories-request.d.ts +33 -1
  19. package/lib/request/list-categories-request.js.map +1 -1
  20. package/lib/request/list-enrollment-statuses-request.d.ts +1 -1
  21. package/lib/request/list-histories-request.d.ts +1 -1
  22. package/lib/request/list-profile-levels-request.d.ts +1 -1
  23. package/lib/request/list-profiles-request.d.ts +1 -1
  24. package/lib/request/list-recommendation-strategies-request.d.ts +1 -1
  25. package/lib/request/list-recommendations-request.d.ts +38 -2
  26. package/lib/request/list-recommendations-request.js.map +1 -1
  27. package/lib/request/list-resource-action-queryable-fields-request.d.ts +1 -1
  28. package/lib/request/list-resource-actions-request.d.ts +38 -2
  29. package/lib/request/list-resource-actions-request.js.map +1 -1
  30. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  31. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  32. package/lib/request/list-work-requests-request.d.ts +1 -1
  33. package/lib/request/update-enrollment-status-request.d.ts +1 -1
  34. package/lib/request/update-profile-request.d.ts +1 -1
  35. package/lib/request/update-recommendation-request.d.ts +2 -2
  36. package/lib/request/update-resource-action-request.d.ts +1 -1
  37. package/package.json +3 -3
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/ListResourceActions.ts.html |here} to see how to use ListResourceActionsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/ListResourceActions.ts.html |here} to see how to use ListResourceActionsRequest.
17
17
  */
18
18
  export interface ListResourceActionsRequest extends common.BaseRequest {
19
19
  /**
@@ -30,7 +30,43 @@ export interface ListResourceActionsRequest extends common.BaseRequest {
30
30
  /**
31
31
  * The unique OCID associated with the recommendation.
32
32
  */
33
- "recommendationId": string;
33
+ "recommendationId"?: string;
34
+ /**
35
+ * Optional. A filter that returns results that match the recommendation name specified.
36
+ */
37
+ "recommendationName"?: string;
38
+ /**
39
+ * A list of child tenancies for which the respective data will be returned. Please note that
40
+ * the parent tenancy id can also be included in this list. For example, if there is a parent P with two
41
+ * children A and B, to return results of only parent P and child A, this list should be populated with
42
+ * tenancy id of parent P and child A.
43
+ * <p>
44
+ If this list contains a tenancy id that isn't part of the organization of parent P, the request will
45
+ * fail. That is, let's say there is an organization with parent P with children A and B, and also one
46
+ * other tenant T that isn't part of the organization. If T is included in the list of
47
+ * childTenancyIds, the request will fail.
48
+ * <p>
49
+ It is important to note that if you are setting the includeOrganization parameter value as true and
50
+ * also populating the childTenancyIds parameter with a list of child tenancies, the request will fail.
51
+ * The childTenancyIds and includeOrganization should be used exclusively.
52
+ * <p>
53
+ When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
54
+ *
55
+ */
56
+ "childTenancyIds"?: Array<string>;
57
+ /**
58
+ * When set to true, the data for all child tenancies including the parent is returned. That is, if
59
+ * there is an organization with parent P and children A and B, to return the data for the parent P, child
60
+ * A and child B, this parameter value should be set to true.
61
+ * <p>
62
+ Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like
63
+ * to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate
64
+ * the list with tenancy id of P and A.
65
+ * <p>
66
+ When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
67
+ *
68
+ */
69
+ "includeOrganization"?: boolean;
34
70
  /**
35
71
  * Optional. A filter that returns results that match the name specified.
36
72
  */
@@ -1 +1 @@
1
- {"version":3,"file":"list-resource-actions-request.js","sourceRoot":"","sources":["../../../../../lib/optimizer/lib/request/list-resource-actions-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoEH,IAAiB,0BAA0B,CAK1C;AALD,WAAiB,0BAA0B;IACzC,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,uBAAa,CAAA;QACb,qCAA2B,CAAA;IAC7B,CAAC,EAHW,MAAM,GAAN,iCAAM,KAAN,iCAAM,QAGjB;AACH,CAAC,EALgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAK1C"}
1
+ {"version":3,"file":"list-resource-actions-request.js","sourceRoot":"","sources":["../../../../../lib/optimizer/lib/request/list-resource-actions-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAwGH,IAAiB,0BAA0B,CAK1C;AALD,WAAiB,0BAA0B;IACzC,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,uBAAa,CAAA;QACb,qCAA2B,CAAA;IAC7B,CAAC,EAHW,MAAM,GAAN,iCAAM,KAAN,iCAAM,QAGjB;AACH,CAAC,EALgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAK1C"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
16
16
  */
17
17
  export interface ListWorkRequestErrorsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
16
16
  */
17
17
  export interface ListWorkRequestLogsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
16
16
  */
17
17
  export interface ListWorkRequestsRequest extends common.BaseRequest {
18
18
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/UpdateEnrollmentStatus.ts.html |here} to see how to use UpdateEnrollmentStatusRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/UpdateEnrollmentStatus.ts.html |here} to see how to use UpdateEnrollmentStatusRequest.
17
17
  */
18
18
  export interface UpdateEnrollmentStatusRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/UpdateProfile.ts.html |here} to see how to use UpdateProfileRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/UpdateProfile.ts.html |here} to see how to use UpdateProfileRequest.
17
17
  */
18
18
  export interface UpdateProfileRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/UpdateRecommendation.ts.html |here} to see how to use UpdateRecommendationRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/UpdateRecommendation.ts.html |here} to see how to use UpdateRecommendationRequest.
17
17
  */
18
18
  export interface UpdateRecommendationRequest extends common.BaseRequest {
19
19
  /**
@@ -21,7 +21,7 @@ export interface UpdateRecommendationRequest extends common.BaseRequest {
21
21
  */
22
22
  "recommendationId": string;
23
23
  /**
24
- * The request object for udpating the recommendation details.
24
+ * The request object for updating the recommendation details.
25
25
  */
26
26
  "updateRecommendationDetails": model.UpdateRecommendationDetails;
27
27
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/optimizer/UpdateResourceAction.ts.html |here} to see how to use UpdateResourceActionRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.1/optimizer/UpdateResourceAction.ts.html |here} to see how to use UpdateResourceActionRequest.
17
17
  */
18
18
  export interface UpdateResourceActionRequest extends common.BaseRequest {
19
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-optimizer",
3
- "version": "2.38.0",
3
+ "version": "2.40.1",
4
4
  "description": "OCI NodeJS client for Optimizer Service",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.38.0",
19
- "oci-workrequests": "2.38.0"
18
+ "oci-common": "2.40.1",
19
+ "oci-workrequests": "2.40.1"
20
20
  },
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org"