oci-bds 2.20.0 → 2.24.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.
Files changed (204) hide show
  1. package/lib/client.d.ts +140 -35
  2. package/lib/client.js +376 -36
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/add-auto-scale-policy-details.d.ts +36 -0
  5. package/lib/model/add-auto-scale-policy-details.js +78 -0
  6. package/lib/model/add-auto-scale-policy-details.js.map +1 -0
  7. package/lib/model/add-auto-scaling-configuration-details.d.ts +3 -2
  8. package/lib/model/add-auto-scaling-configuration-details.js +8 -2
  9. package/lib/model/add-auto-scaling-configuration-details.js.map +1 -1
  10. package/lib/model/add-block-storage-details.d.ts +8 -0
  11. package/lib/model/add-block-storage-details.js +5 -0
  12. package/lib/model/add-block-storage-details.js.map +1 -1
  13. package/lib/model/add-metric-based-horizontal-scaling-policy-details.d.ts +30 -0
  14. package/lib/model/add-metric-based-horizontal-scaling-policy-details.js +69 -0
  15. package/lib/model/add-metric-based-horizontal-scaling-policy-details.js.map +1 -0
  16. package/lib/model/add-metric-based-vertical-scaling-policy-details.d.ts +30 -0
  17. package/lib/model/add-metric-based-vertical-scaling-policy-details.js +69 -0
  18. package/lib/model/add-metric-based-vertical-scaling-policy-details.js.map +1 -0
  19. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.d.ts +33 -0
  20. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.js +67 -0
  21. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.js.map +1 -0
  22. package/lib/model/add-schedule-based-vertical-scaling-policy-details.d.ts +33 -0
  23. package/lib/model/add-schedule-based-vertical-scaling-policy-details.js +67 -0
  24. package/lib/model/add-schedule-based-vertical-scaling-policy-details.js.map +1 -0
  25. package/lib/model/add-worker-nodes-details.d.ts +19 -0
  26. package/lib/model/add-worker-nodes-details.js +35 -2
  27. package/lib/model/add-worker-nodes-details.js.map +1 -1
  28. package/lib/model/auto-scale-policy-details.d.ts +57 -0
  29. package/lib/model/auto-scale-policy-details.js +98 -0
  30. package/lib/model/auto-scale-policy-details.js.map +1 -0
  31. package/lib/model/auto-scale-policy.d.ts +3 -1
  32. package/lib/model/auto-scale-policy.js +1 -0
  33. package/lib/model/auto-scale-policy.js.map +1 -1
  34. package/lib/model/auto-scaling-configuration-summary.d.ts +2 -1
  35. package/lib/model/auto-scaling-configuration-summary.js +8 -2
  36. package/lib/model/auto-scaling-configuration-summary.js.map +1 -1
  37. package/lib/model/auto-scaling-configuration.d.ts +3 -1
  38. package/lib/model/auto-scaling-configuration.js +9 -2
  39. package/lib/model/auto-scaling-configuration.js.map +1 -1
  40. package/lib/model/bds-instance.d.ts +5 -0
  41. package/lib/model/bds-instance.js +1 -0
  42. package/lib/model/bds-instance.js.map +1 -1
  43. package/lib/model/change-shape-nodes.d.ts +12 -3
  44. package/lib/model/change-shape-nodes.js +48 -2
  45. package/lib/model/change-shape-nodes.js.map +1 -1
  46. package/lib/model/cluster-details.d.ts +8 -0
  47. package/lib/model/cluster-details.js.map +1 -1
  48. package/lib/model/create-bds-instance-details.d.ts +8 -0
  49. package/lib/model/create-bds-instance-details.js.map +1 -1
  50. package/lib/model/create-node-details.d.ts +2 -0
  51. package/lib/model/create-node-details.js +30 -2
  52. package/lib/model/create-node-details.js.map +1 -1
  53. package/lib/model/day-based-horizontal-scaling-schedule-details.d.ts +26 -0
  54. package/lib/model/day-based-horizontal-scaling-schedule-details.js +67 -0
  55. package/lib/model/day-based-horizontal-scaling-schedule-details.js.map +1 -0
  56. package/lib/model/day-based-vertical-scaling-schedule-details.d.ts +26 -0
  57. package/lib/model/day-based-vertical-scaling-schedule-details.js +67 -0
  58. package/lib/model/day-based-vertical-scaling-schedule-details.js.map +1 -0
  59. package/lib/model/horizontal-scaling-schedule-details.d.ts +23 -0
  60. package/lib/model/horizontal-scaling-schedule-details.js +66 -0
  61. package/lib/model/horizontal-scaling-schedule-details.js.map +1 -0
  62. package/lib/model/index.d.ts +62 -0
  63. package/lib/model/index.js +64 -1
  64. package/lib/model/index.js.map +1 -1
  65. package/lib/model/install-patch-details.d.ts +30 -0
  66. package/lib/model/install-patch-details.js +30 -0
  67. package/lib/model/install-patch-details.js.map +1 -0
  68. package/lib/model/metric-based-horizontal-scale-in-config.d.ts +32 -0
  69. package/lib/model/metric-based-horizontal-scale-in-config.js +56 -0
  70. package/lib/model/metric-based-horizontal-scale-in-config.js.map +1 -0
  71. package/lib/model/metric-based-horizontal-scale-out-config.d.ts +32 -0
  72. package/lib/model/metric-based-horizontal-scale-out-config.js +56 -0
  73. package/lib/model/metric-based-horizontal-scale-out-config.js.map +1 -0
  74. package/lib/model/metric-based-horizontal-scaling-policy-details.d.ts +30 -0
  75. package/lib/model/metric-based-horizontal-scaling-policy-details.js +69 -0
  76. package/lib/model/metric-based-horizontal-scaling-policy-details.js.map +1 -0
  77. package/lib/model/metric-based-vertical-scale-down-config.d.ts +40 -0
  78. package/lib/model/metric-based-vertical-scale-down-config.js +56 -0
  79. package/lib/model/metric-based-vertical-scale-down-config.js.map +1 -0
  80. package/lib/model/metric-based-vertical-scale-up-config.d.ts +41 -0
  81. package/lib/model/metric-based-vertical-scale-up-config.js +56 -0
  82. package/lib/model/metric-based-vertical-scale-up-config.js.map +1 -0
  83. package/lib/model/metric-based-vertical-scaling-policy-details.d.ts +30 -0
  84. package/lib/model/metric-based-vertical-scaling-policy-details.js +69 -0
  85. package/lib/model/metric-based-vertical-scaling-policy-details.js.map +1 -0
  86. package/lib/model/metric-threshold-rule.d.ts +2 -2
  87. package/lib/model/node.d.ts +9 -0
  88. package/lib/model/node.js +1 -0
  89. package/lib/model/node.js.map +1 -1
  90. package/lib/model/operation-types.d.ts +6 -0
  91. package/lib/model/operation-types.js +6 -0
  92. package/lib/model/operation-types.js.map +1 -1
  93. package/lib/model/patch-history-summary.d.ts +44 -0
  94. package/lib/model/patch-history-summary.js +41 -0
  95. package/lib/model/patch-history-summary.js.map +1 -0
  96. package/lib/model/patch-summary.d.ts +30 -0
  97. package/lib/model/patch-summary.js +30 -0
  98. package/lib/model/patch-summary.js.map +1 -0
  99. package/lib/model/remove-node-details.d.ts +36 -0
  100. package/lib/model/remove-node-details.js +30 -0
  101. package/lib/model/remove-node-details.js.map +1 -0
  102. package/lib/model/schedule-based-horizontal-scaling-policy-details.d.ts +33 -0
  103. package/lib/model/schedule-based-horizontal-scaling-policy-details.js +67 -0
  104. package/lib/model/schedule-based-horizontal-scaling-policy-details.js.map +1 -0
  105. package/lib/model/schedule-based-vertical-scaling-policy-details.d.ts +33 -0
  106. package/lib/model/schedule-based-vertical-scaling-policy-details.js +67 -0
  107. package/lib/model/schedule-based-vertical-scaling-policy-details.js.map +1 -0
  108. package/lib/model/schedule-type.d.ts +28 -0
  109. package/lib/model/schedule-type.js +39 -0
  110. package/lib/model/schedule-type.js.map +1 -0
  111. package/lib/model/shape-config-details.d.ts +30 -0
  112. package/lib/model/shape-config-details.js +30 -0
  113. package/lib/model/shape-config-details.js.map +1 -0
  114. package/lib/model/time-and-horizontal-scaling-config.d.ts +31 -0
  115. package/lib/model/time-and-horizontal-scaling-config.js +30 -0
  116. package/lib/model/time-and-horizontal-scaling-config.js.map +1 -0
  117. package/lib/model/time-and-vertical-scaling-config.d.ts +42 -0
  118. package/lib/model/time-and-vertical-scaling-config.js +30 -0
  119. package/lib/model/time-and-vertical-scaling-config.js.map +1 -0
  120. package/lib/model/update-auto-scale-policy-details.d.ts +23 -0
  121. package/lib/model/update-auto-scale-policy-details.js +78 -0
  122. package/lib/model/update-auto-scale-policy-details.js.map +1 -0
  123. package/lib/model/update-auto-scaling-configuration-details.d.ts +1 -0
  124. package/lib/model/update-auto-scaling-configuration-details.js +8 -2
  125. package/lib/model/update-auto-scaling-configuration-details.js.map +1 -1
  126. package/lib/model/update-bds-instance-details.d.ts +4 -0
  127. package/lib/model/update-bds-instance-details.js.map +1 -1
  128. package/lib/model/update-metric-based-horizontal-scaling-policy-details.d.ts +30 -0
  129. package/lib/model/update-metric-based-horizontal-scaling-policy-details.js +69 -0
  130. package/lib/model/update-metric-based-horizontal-scaling-policy-details.js.map +1 -0
  131. package/lib/model/update-metric-based-vertical-scaling-policy-details.d.ts +30 -0
  132. package/lib/model/update-metric-based-vertical-scaling-policy-details.js +69 -0
  133. package/lib/model/update-metric-based-vertical-scaling-policy-details.js.map +1 -0
  134. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.d.ts +33 -0
  135. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.js +67 -0
  136. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.js.map +1 -0
  137. package/lib/model/update-schedule-based-vertical-scaling-policy-details.d.ts +33 -0
  138. package/lib/model/update-schedule-based-vertical-scaling-policy-details.js +67 -0
  139. package/lib/model/update-schedule-based-vertical-scaling-policy-details.js.map +1 -0
  140. package/lib/model/vertical-scaling-schedule-details.d.ts +23 -0
  141. package/lib/model/vertical-scaling-schedule-details.js +66 -0
  142. package/lib/model/vertical-scaling-schedule-details.js.map +1 -0
  143. package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
  144. package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
  145. package/lib/request/add-block-storage-request.d.ts +1 -1
  146. package/lib/request/add-cloud-sql-request.d.ts +1 -1
  147. package/lib/request/add-worker-nodes-request.d.ts +1 -1
  148. package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
  149. package/lib/request/change-shape-request.d.ts +1 -1
  150. package/lib/request/create-bds-api-key-request.d.ts +1 -1
  151. package/lib/request/create-bds-instance-request.d.ts +1 -1
  152. package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
  153. package/lib/request/delete-bds-api-key-request.d.ts +1 -1
  154. package/lib/request/delete-bds-instance-request.d.ts +1 -1
  155. package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
  156. package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
  157. package/lib/request/get-bds-api-key-request.d.ts +1 -1
  158. package/lib/request/get-bds-instance-request.d.ts +1 -1
  159. package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
  160. package/lib/request/get-work-request-request.d.ts +1 -1
  161. package/lib/request/index.d.ts +8 -0
  162. package/lib/request/index.js +3 -1
  163. package/lib/request/index.js.map +1 -1
  164. package/lib/request/install-patch-request.d.ts +49 -0
  165. package/lib/request/install-patch-request.js +15 -0
  166. package/lib/request/install-patch-request.js.map +1 -0
  167. package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
  168. package/lib/request/list-bds-api-keys-request.d.ts +1 -1
  169. package/lib/request/list-bds-instances-request.d.ts +1 -1
  170. package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
  171. package/lib/request/list-patch-histories-request.d.ts +58 -0
  172. package/lib/request/list-patch-histories-request.js +24 -0
  173. package/lib/request/list-patch-histories-request.js.map +1 -0
  174. package/lib/request/list-patches-request.d.ts +34 -0
  175. package/lib/request/list-patches-request.js +15 -0
  176. package/lib/request/list-patches-request.js.map +1 -0
  177. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  178. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  179. package/lib/request/list-work-requests-request.d.ts +1 -1
  180. package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
  181. package/lib/request/remove-cloud-sql-request.d.ts +1 -1
  182. package/lib/request/remove-node-request.d.ts +40 -0
  183. package/lib/request/remove-node-request.js +15 -0
  184. package/lib/request/remove-node-request.js.map +1 -0
  185. package/lib/request/restart-node-request.d.ts +1 -1
  186. package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
  187. package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
  188. package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
  189. package/lib/request/update-bds-instance-request.d.ts +1 -1
  190. package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
  191. package/lib/response/index.d.ts +8 -0
  192. package/lib/response/install-patch-response.d.ts +25 -0
  193. package/lib/response/install-patch-response.js +15 -0
  194. package/lib/response/install-patch-response.js.map +1 -0
  195. package/lib/response/list-patch-histories-response.d.ts +32 -0
  196. package/lib/response/list-patch-histories-response.js +15 -0
  197. package/lib/response/list-patch-histories-response.js.map +1 -0
  198. package/lib/response/list-patches-response.d.ts +32 -0
  199. package/lib/response/list-patches-response.js +15 -0
  200. package/lib/response/list-patches-response.js.map +1 -0
  201. package/lib/response/remove-node-response.d.ts +25 -0
  202. package/lib/response/remove-node-response.js +15 -0
  203. package/lib/response/remove-node-response.js.map +1 -0
  204. package/package.json +3 -3
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Big Data Service API
3
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
4
+
5
+ * OpenAPI spec version: 20190531
6
+ * Contact: rahul.ra.arora@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ import * as model from "../model";
15
+ /**
16
+ * Details of a metric based vertical autoscaling policy.
17
+ * <p>
18
+ In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.
19
+ *
20
+ */
21
+ export interface AddMetricBasedVerticalScalingPolicyDetails extends model.AddAutoScalePolicyDetails {
22
+ "scaleUpConfig"?: model.MetricBasedVerticalScaleUpConfig;
23
+ "scaleDownConfig"?: model.MetricBasedVerticalScaleDownConfig;
24
+ "policyType": string;
25
+ }
26
+ export declare namespace AddMetricBasedVerticalScalingPolicyDetails {
27
+ function getJsonObj(obj: AddMetricBasedVerticalScalingPolicyDetails, isParentJsonObj?: boolean): object;
28
+ const policyType = "METRIC_BASED_VERTICAL_SCALING_POLICY";
29
+ function getDeserializedJsonObj(obj: AddMetricBasedVerticalScalingPolicyDetails, isParentJsonObj?: boolean): object;
30
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * Big Data Service API
4
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
5
+
6
+ * OpenAPI spec version: 20190531
7
+ * Contact: rahul.ra.arora@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.AddMetricBasedVerticalScalingPolicyDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var AddMetricBasedVerticalScalingPolicyDetails;
38
+ (function (AddMetricBasedVerticalScalingPolicyDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.AddAutoScalePolicyDetails.getJsonObj(obj))), {
43
+ "scaleUpConfig": obj.scaleUpConfig
44
+ ? model.MetricBasedVerticalScaleUpConfig.getJsonObj(obj.scaleUpConfig)
45
+ : undefined,
46
+ "scaleDownConfig": obj.scaleDownConfig
47
+ ? model.MetricBasedVerticalScaleDownConfig.getJsonObj(obj.scaleDownConfig)
48
+ : undefined
49
+ });
50
+ return jsonObj;
51
+ }
52
+ AddMetricBasedVerticalScalingPolicyDetails.getJsonObj = getJsonObj;
53
+ AddMetricBasedVerticalScalingPolicyDetails.policyType = "METRIC_BASED_VERTICAL_SCALING_POLICY";
54
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
55
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
56
+ ? obj
57
+ : model.AddAutoScalePolicyDetails.getDeserializedJsonObj(obj))), {
58
+ "scaleUpConfig": obj.scaleUpConfig
59
+ ? model.MetricBasedVerticalScaleUpConfig.getDeserializedJsonObj(obj.scaleUpConfig)
60
+ : undefined,
61
+ "scaleDownConfig": obj.scaleDownConfig
62
+ ? model.MetricBasedVerticalScaleDownConfig.getDeserializedJsonObj(obj.scaleDownConfig)
63
+ : undefined
64
+ });
65
+ return jsonObj;
66
+ }
67
+ AddMetricBasedVerticalScalingPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
68
+ })(AddMetricBasedVerticalScalingPolicyDetails = exports.AddMetricBasedVerticalScalingPolicyDetails || (exports.AddMetricBasedVerticalScalingPolicyDetails = {}));
69
+ //# sourceMappingURL=add-metric-based-vertical-scaling-policy-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-metric-based-vertical-scaling-policy-details.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/add-metric-based-vertical-scaling-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,0CAA0C,CA8C1D;AA9CD,WAAiB,0CAA0C;IACzD,SAAgB,UAAU,CACxB,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACzC,GAAG,CAC2C,CAAC,GAClD;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACtE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC1E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,qDAAU,aAqBzB,CAAA;IACY,qDAAU,GAAG,sCAAsC,CAAC;IACjE,SAAgB,sBAAsB,CACpC,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC2C,CAAC,GAClD;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAClF,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACtF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,iEAAsB,yBAqBrC,CAAA;AACH,CAAC,EA9CgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QA8C1D"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Big Data Service API
3
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
4
+
5
+ * OpenAPI spec version: 20190531
6
+ * Contact: rahul.ra.arora@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ import * as model from "../model";
15
+ /**
16
+ * Details of a schedule based horizontal autoscaling policy.
17
+ * <p>
18
+ In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.
19
+ *
20
+ */
21
+ export interface AddScheduleBasedHorizontalScalingPolicyDetails extends model.AddAutoScalePolicyDetails {
22
+ /**
23
+ * The time zone of the execution schedule, in IANA time zone database name format
24
+ */
25
+ "timezone"?: string;
26
+ "scheduleDetails"?: Array<model.HorizontalScalingScheduleDetails>;
27
+ "policyType": string;
28
+ }
29
+ export declare namespace AddScheduleBasedHorizontalScalingPolicyDetails {
30
+ function getJsonObj(obj: AddScheduleBasedHorizontalScalingPolicyDetails, isParentJsonObj?: boolean): object;
31
+ const policyType = "SCHEDULE_BASED_HORIZONTAL_SCALING_POLICY";
32
+ function getDeserializedJsonObj(obj: AddScheduleBasedHorizontalScalingPolicyDetails, isParentJsonObj?: boolean): object;
33
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /**
3
+ * Big Data Service API
4
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
5
+
6
+ * OpenAPI spec version: 20190531
7
+ * Contact: rahul.ra.arora@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.AddScheduleBasedHorizontalScalingPolicyDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var AddScheduleBasedHorizontalScalingPolicyDetails;
38
+ (function (AddScheduleBasedHorizontalScalingPolicyDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.AddAutoScalePolicyDetails.getJsonObj(obj))), {
43
+ "scheduleDetails": obj.scheduleDetails
44
+ ? obj.scheduleDetails.map(item => {
45
+ return model.HorizontalScalingScheduleDetails.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ AddScheduleBasedHorizontalScalingPolicyDetails.getJsonObj = getJsonObj;
52
+ AddScheduleBasedHorizontalScalingPolicyDetails.policyType = "SCHEDULE_BASED_HORIZONTAL_SCALING_POLICY";
53
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
54
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
55
+ ? obj
56
+ : model.AddAutoScalePolicyDetails.getDeserializedJsonObj(obj))), {
57
+ "scheduleDetails": obj.scheduleDetails
58
+ ? obj.scheduleDetails.map(item => {
59
+ return model.HorizontalScalingScheduleDetails.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined
62
+ });
63
+ return jsonObj;
64
+ }
65
+ AddScheduleBasedHorizontalScalingPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
66
+ })(AddScheduleBasedHorizontalScalingPolicyDetails = exports.AddScheduleBasedHorizontalScalingPolicyDetails || (exports.AddScheduleBasedHorizontalScalingPolicyDetails = {}));
67
+ //# sourceMappingURL=add-schedule-based-horizontal-scaling-policy-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-schedule-based-horizontal-scaling-policy-details.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/add-schedule-based-horizontal-scaling-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,8CAA8C,CA4C9D;AA5CD,WAAiB,8CAA8C;IAC7D,SAAgB,UAAU,CACxB,GAAmD,EACnD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACzC,GAAG,CAC+C,CAAC,GACtD;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,yDAAU,aAoBzB,CAAA;IACY,yDAAU,GAAG,0CAA0C,CAAC;IACrE,SAAgB,sBAAsB,CACpC,GAAmD,EACnD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC+C,CAAC,GACtD;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,qEAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,8CAA8C,GAA9C,sDAA8C,KAA9C,sDAA8C,QA4C9D"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Big Data Service API
3
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
4
+
5
+ * OpenAPI spec version: 20190531
6
+ * Contact: rahul.ra.arora@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ import * as model from "../model";
15
+ /**
16
+ * Details of a schedule based vertical autoscaling policy.
17
+ * <p>
18
+ In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.
19
+ *
20
+ */
21
+ export interface AddScheduleBasedVerticalScalingPolicyDetails extends model.AddAutoScalePolicyDetails {
22
+ /**
23
+ * The time zone of the execution schedule, in IANA time zone database name format
24
+ */
25
+ "timezone"?: string;
26
+ "scheduleDetails"?: Array<model.VerticalScalingScheduleDetails>;
27
+ "policyType": string;
28
+ }
29
+ export declare namespace AddScheduleBasedVerticalScalingPolicyDetails {
30
+ function getJsonObj(obj: AddScheduleBasedVerticalScalingPolicyDetails, isParentJsonObj?: boolean): object;
31
+ const policyType = "SCHEDULE_BASED_VERTICAL_SCALING_POLICY";
32
+ function getDeserializedJsonObj(obj: AddScheduleBasedVerticalScalingPolicyDetails, isParentJsonObj?: boolean): object;
33
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /**
3
+ * Big Data Service API
4
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
5
+
6
+ * OpenAPI spec version: 20190531
7
+ * Contact: rahul.ra.arora@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.AddScheduleBasedVerticalScalingPolicyDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var AddScheduleBasedVerticalScalingPolicyDetails;
38
+ (function (AddScheduleBasedVerticalScalingPolicyDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.AddAutoScalePolicyDetails.getJsonObj(obj))), {
43
+ "scheduleDetails": obj.scheduleDetails
44
+ ? obj.scheduleDetails.map(item => {
45
+ return model.VerticalScalingScheduleDetails.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ AddScheduleBasedVerticalScalingPolicyDetails.getJsonObj = getJsonObj;
52
+ AddScheduleBasedVerticalScalingPolicyDetails.policyType = "SCHEDULE_BASED_VERTICAL_SCALING_POLICY";
53
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
54
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
55
+ ? obj
56
+ : model.AddAutoScalePolicyDetails.getDeserializedJsonObj(obj))), {
57
+ "scheduleDetails": obj.scheduleDetails
58
+ ? obj.scheduleDetails.map(item => {
59
+ return model.VerticalScalingScheduleDetails.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined
62
+ });
63
+ return jsonObj;
64
+ }
65
+ AddScheduleBasedVerticalScalingPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
66
+ })(AddScheduleBasedVerticalScalingPolicyDetails = exports.AddScheduleBasedVerticalScalingPolicyDetails || (exports.AddScheduleBasedVerticalScalingPolicyDetails = {}));
67
+ //# sourceMappingURL=add-schedule-based-vertical-scaling-policy-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-schedule-based-vertical-scaling-policy-details.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/add-schedule-based-vertical-scaling-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,4CAA4C,CA4C5D;AA5CD,WAAiB,4CAA4C;IAC3D,SAAgB,UAAU,CACxB,GAAiD,EACjD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACzC,GAAG,CAC6C,CAAC,GACpD;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uDAAU,aAoBzB,CAAA;IACY,uDAAU,GAAG,wCAAwC,CAAC;IACnE,SAAgB,sBAAsB,CACpC,GAAiD,EACjD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC6C,CAAC,GACpD;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mEAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QA4C5D"}
@@ -11,6 +11,7 @@
11
11
  * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
+ import * as model from "../model";
14
15
  /**
15
16
  * The information about added nodes.
16
17
  */
@@ -23,8 +24,26 @@ export interface AddWorkerNodesDetails {
23
24
  * Number of additional worker nodes for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
25
  */
25
26
  "numberOfWorkerNodes": number;
27
+ /**
28
+ * Worker node types, can either be Worker Data node or Compute only worker node.
29
+ */
30
+ "nodeType": AddWorkerNodesDetails.NodeType;
31
+ /**
32
+ * Shape of the node. This has to be specified when adding compute only worker node at the first time. Otherwise, it's a read-only property.
33
+ */
34
+ "shape"?: string;
35
+ /**
36
+ * The size of block volume in GB to be attached to the given node. This has to be specified when adding compute only worker node at the first time. Otherwise, it's a read-only property.
37
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
38
+ */
39
+ "blockVolumeSizeInGBs"?: number;
40
+ "shapeConfig"?: model.ShapeConfigDetails;
26
41
  }
27
42
  export declare namespace AddWorkerNodesDetails {
43
+ enum NodeType {
44
+ Worker = "WORKER",
45
+ ComputeOnlyWorker = "COMPUTE_ONLY_WORKER"
46
+ }
28
47
  function getJsonObj(obj: AddWorkerNodesDetails): object;
29
48
  function getDeserializedJsonObj(obj: AddWorkerNodesDetails): object;
30
49
  }
@@ -12,17 +12,50 @@
12
12
  * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
13
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
14
  */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
15
34
  Object.defineProperty(exports, "__esModule", { value: true });
16
35
  exports.AddWorkerNodesDetails = void 0;
36
+ const model = __importStar(require("../model"));
17
37
  var AddWorkerNodesDetails;
18
38
  (function (AddWorkerNodesDetails) {
39
+ let NodeType;
40
+ (function (NodeType) {
41
+ NodeType["Worker"] = "WORKER";
42
+ NodeType["ComputeOnlyWorker"] = "COMPUTE_ONLY_WORKER";
43
+ })(NodeType = AddWorkerNodesDetails.NodeType || (AddWorkerNodesDetails.NodeType = {}));
19
44
  function getJsonObj(obj) {
20
- const jsonObj = Object.assign(Object.assign({}, obj), {});
45
+ const jsonObj = Object.assign(Object.assign({}, obj), {
46
+ "shapeConfig": obj.shapeConfig
47
+ ? model.ShapeConfigDetails.getJsonObj(obj.shapeConfig)
48
+ : undefined
49
+ });
21
50
  return jsonObj;
22
51
  }
23
52
  AddWorkerNodesDetails.getJsonObj = getJsonObj;
24
53
  function getDeserializedJsonObj(obj) {
25
- const jsonObj = Object.assign(Object.assign({}, obj), {});
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {
55
+ "shapeConfig": obj.shapeConfig
56
+ ? model.ShapeConfigDetails.getDeserializedJsonObj(obj.shapeConfig)
57
+ : undefined
58
+ });
26
59
  return jsonObj;
27
60
  }
28
61
  AddWorkerNodesDetails.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"add-worker-nodes-details.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/add-worker-nodes-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAmBH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
1
+ {"version":3,"file":"add-worker-nodes-details.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/add-worker-nodes-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+BlC,IAAiB,qBAAqB,CA8BrC;AA9BD,WAAiB,qBAAqB;IACpC,IAAY,QAGX;IAHD,WAAY,QAAQ;QAClB,6BAAiB,CAAA;QACjB,qDAAyC,CAAA;IAC3C,CAAC,EAHW,QAAQ,GAAR,8BAAQ,KAAR,8BAAQ,QAGnB;IAED,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACtD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,gCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,4CAAsB,yBAWrC,CAAA;AACH,CAAC,EA9BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA8BrC"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Big Data Service API
3
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
4
+
5
+ * OpenAPI spec version: 20190531
6
+ * Contact: rahul.ra.arora@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ /**
15
+ * Details of an autoscale policy.
16
+ * <p>
17
+ You can create following types of autoscaling policies:
18
+ * <p>
19
+ - **MetricBasedVerticalScalingPolicy:** Vertical autoscaling action is triggered when a performance metric exceeds a threshold
20
+ * - **MetricBasedHorizontalScalingPolicy:** Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
21
+ * - **ScheduleBasedVerticalScalingPolicy:** Vertical autoscaling action is triggered at the specific times that you schedule.
22
+ * - **ScheduleBasedHorizontalScalingPolicy:** Horizontal autoscaling action is triggered at the specific times that you schedule.
23
+ *
24
+ */
25
+ export interface AutoScalePolicyDetails {
26
+ /**
27
+ * The type of autoscaling trigger.
28
+ */
29
+ "triggerType": AutoScalePolicyDetails.TriggerType;
30
+ /**
31
+ * The type of autoscaling action to take.
32
+ */
33
+ "actionType": AutoScalePolicyDetails.ActionType;
34
+ "policyType": string;
35
+ }
36
+ export declare namespace AutoScalePolicyDetails {
37
+ enum TriggerType {
38
+ MetricBased = "METRIC_BASED",
39
+ ScheduleBased = "SCHEDULE_BASED",
40
+ /**
41
+ * This value is used if a service returns a value for this enum that is not recognized by this
42
+ * version of the SDK.
43
+ */
44
+ UnknownValue = "UNKNOWN_VALUE"
45
+ }
46
+ enum ActionType {
47
+ VerticalScaling = "VERTICAL_SCALING",
48
+ HorizontalScaling = "HORIZONTAL_SCALING",
49
+ /**
50
+ * This value is used if a service returns a value for this enum that is not recognized by this
51
+ * version of the SDK.
52
+ */
53
+ UnknownValue = "UNKNOWN_VALUE"
54
+ }
55
+ function getJsonObj(obj: AutoScalePolicyDetails): object;
56
+ function getDeserializedJsonObj(obj: AutoScalePolicyDetails): object;
57
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ /**
3
+ * Big Data Service API
4
+ * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
5
+
6
+ * OpenAPI spec version: 20190531
7
+ * Contact: rahul.ra.arora@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.AutoScalePolicyDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var AutoScalePolicyDetails;
38
+ (function (AutoScalePolicyDetails) {
39
+ let TriggerType;
40
+ (function (TriggerType) {
41
+ TriggerType["MetricBased"] = "METRIC_BASED";
42
+ TriggerType["ScheduleBased"] = "SCHEDULE_BASED";
43
+ /**
44
+ * This value is used if a service returns a value for this enum that is not recognized by this
45
+ * version of the SDK.
46
+ */
47
+ TriggerType["UnknownValue"] = "UNKNOWN_VALUE";
48
+ })(TriggerType = AutoScalePolicyDetails.TriggerType || (AutoScalePolicyDetails.TriggerType = {}));
49
+ let ActionType;
50
+ (function (ActionType) {
51
+ ActionType["VerticalScaling"] = "VERTICAL_SCALING";
52
+ ActionType["HorizontalScaling"] = "HORIZONTAL_SCALING";
53
+ /**
54
+ * This value is used if a service returns a value for this enum that is not recognized by this
55
+ * version of the SDK.
56
+ */
57
+ ActionType["UnknownValue"] = "UNKNOWN_VALUE";
58
+ })(ActionType = AutoScalePolicyDetails.ActionType || (AutoScalePolicyDetails.ActionType = {}));
59
+ function getJsonObj(obj) {
60
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
61
+ if ("policyType" in obj && obj.policyType) {
62
+ switch (obj.policyType) {
63
+ case "METRIC_BASED_VERTICAL_SCALING_POLICY":
64
+ return model.MetricBasedVerticalScalingPolicyDetails.getJsonObj(jsonObj, true);
65
+ case "SCHEDULE_BASED_VERTICAL_SCALING_POLICY":
66
+ return model.ScheduleBasedVerticalScalingPolicyDetails.getJsonObj(jsonObj, true);
67
+ case "SCHEDULE_BASED_HORIZONTAL_SCALING_POLICY":
68
+ return model.ScheduleBasedHorizontalScalingPolicyDetails.getJsonObj(jsonObj, true);
69
+ case "METRIC_BASED_HORIZONTAL_SCALING_POLICY":
70
+ return model.MetricBasedHorizontalScalingPolicyDetails.getJsonObj(jsonObj, true);
71
+ default:
72
+ throw Error("Unknown value for: " + obj.policyType);
73
+ }
74
+ }
75
+ return jsonObj;
76
+ }
77
+ AutoScalePolicyDetails.getJsonObj = getJsonObj;
78
+ function getDeserializedJsonObj(obj) {
79
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
80
+ if ("policyType" in obj && obj.policyType) {
81
+ switch (obj.policyType) {
82
+ case "METRIC_BASED_VERTICAL_SCALING_POLICY":
83
+ return model.MetricBasedVerticalScalingPolicyDetails.getDeserializedJsonObj(jsonObj, true);
84
+ case "SCHEDULE_BASED_VERTICAL_SCALING_POLICY":
85
+ return model.ScheduleBasedVerticalScalingPolicyDetails.getDeserializedJsonObj(jsonObj, true);
86
+ case "SCHEDULE_BASED_HORIZONTAL_SCALING_POLICY":
87
+ return model.ScheduleBasedHorizontalScalingPolicyDetails.getDeserializedJsonObj(jsonObj, true);
88
+ case "METRIC_BASED_HORIZONTAL_SCALING_POLICY":
89
+ return model.MetricBasedHorizontalScalingPolicyDetails.getDeserializedJsonObj(jsonObj, true);
90
+ default:
91
+ throw Error("Unknown value for: " + obj.policyType);
92
+ }
93
+ }
94
+ return jsonObj;
95
+ }
96
+ AutoScalePolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
97
+ })(AutoScalePolicyDetails = exports.AutoScalePolicyDetails || (exports.AutoScalePolicyDetails = {}));
98
+ //# sourceMappingURL=auto-scale-policy-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auto-scale-policy-details.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/auto-scale-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,sBAAsB,CAmFtC;AAnFD,WAAiB,sBAAsB;IACrC,IAAY,WAQX;IARD,WAAY,WAAW;QACrB,2CAA4B,CAAA;QAC5B,+CAAgC,CAAA;QAChC;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EARW,WAAW,GAAX,kCAAW,KAAX,kCAAW,QAQtB;IAED,IAAY,UAQX;IARD,WAAY,UAAU;QACpB,kDAAoC,CAAA;QACpC,sDAAwC,CAAA;QACxC;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EARW,UAAU,GAAV,iCAAU,KAAV,iCAAU,QAQrB;IAED,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YACzC,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,sCAAsC;oBACzC,OAAO,KAAK,CAAC,uCAAuC,CAAC,UAAU,CACL,OAAQ,EAChE,IAAI,CACL,CAAC;gBACJ,KAAK,wCAAwC;oBAC3C,OAAO,KAAK,CAAC,yCAAyC,CAAC,UAAU,CACL,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ,KAAK,0CAA0C;oBAC7C,OAAO,KAAK,CAAC,2CAA2C,CAAC,UAAU,CACL,OAAQ,EACpE,IAAI,CACL,CAAC;gBACJ,KAAK,wCAAwC;oBAC3C,OAAO,KAAK,CAAC,yCAAyC,CAAC,UAAU,CACL,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,iCAAU,aA8BzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YACzC,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,sCAAsC;oBACzC,OAAO,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CACjB,OAAQ,EAChE,IAAI,CACL,CAAC;gBACJ,KAAK,wCAAwC;oBAC3C,OAAO,KAAK,CAAC,yCAAyC,CAAC,sBAAsB,CACjB,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ,KAAK,0CAA0C;oBAC7C,OAAO,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CACjB,OAAQ,EACpE,IAAI,CACL,CAAC;gBACJ,KAAK,wCAAwC;oBAC3C,OAAO,KAAK,CAAC,yCAAyC,CAAC,sBAAsB,CACjB,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,6CAAsB,yBA8BrC,CAAA;AACH,CAAC,EAnFgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAmFtC"}
@@ -13,7 +13,8 @@
13
13
  */
14
14
  import * as model from "../model";
15
15
  /**
16
- * Policy definitions for the autoscale configuration.
16
+ * This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the `AutoScalePolicyDetails` model to manage autoscale policy details for ODH clusters.
17
+ *
17
18
  */
18
19
  export interface AutoScalePolicy {
19
20
  /**
@@ -29,6 +30,7 @@ export declare namespace AutoScalePolicy {
29
30
  enum PolicyType {
30
31
  ThresholdBased = "THRESHOLD_BASED",
31
32
  ScheduleBased = "SCHEDULE_BASED",
33
+ None = "NONE",
32
34
  /**
33
35
  * This value is used if a service returns a value for this enum that is not recognized by this
34
36
  * version of the SDK.
@@ -40,6 +40,7 @@ var AutoScalePolicy;
40
40
  (function (PolicyType) {
41
41
  PolicyType["ThresholdBased"] = "THRESHOLD_BASED";
42
42
  PolicyType["ScheduleBased"] = "SCHEDULE_BASED";
43
+ PolicyType["None"] = "NONE";
43
44
  /**
44
45
  * This value is used if a service returns a value for this enum that is not recognized by this
45
46
  * version of the SDK.
@@ -1 +1 @@
1
- {"version":3,"file":"auto-scale-policy.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/auto-scale-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,eAAe,CAuC/B;AAvCD,WAAiB,eAAe;IAC9B,IAAY,UAQX;IARD,WAAY,UAAU;QACpB,gDAAkC,CAAA;QAClC,8CAAgC,CAAA;QAChC;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EARW,UAAU,GAAV,0BAAU,KAAV,0BAAU,QAQrB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EAvCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuC/B"}
1
+ {"version":3,"file":"auto-scale-policy.js","sourceRoot":"","sources":["../../../../../lib/bds/lib/model/auto-scale-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,eAAe,CAwC/B;AAxCD,WAAiB,eAAe;IAC9B,IAAY,UASX;IATD,WAAY,UAAU;QACpB,gDAAkC,CAAA;QAClC,8CAAgC,CAAA;QAChC,2BAAa,CAAA;QACb;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EATW,UAAU,GAAV,0BAAU,KAAV,0BAAU,QASrB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EAxCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAwC/B"}
@@ -29,7 +29,7 @@ export interface AutoScalingConfigurationSummary {
29
29
  */
30
30
  "lifecycleState": string;
31
31
  /**
32
- * A node type that is managed by an autoscale configuration. The only supported type is WORKER.
32
+ * A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
33
33
  */
34
34
  "nodeType": string;
35
35
  /**
@@ -42,6 +42,7 @@ export interface AutoScalingConfigurationSummary {
42
42
  */
43
43
  "timeUpdated": Date;
44
44
  "policy": model.AutoScalePolicy;
45
+ "policyDetails"?: model.MetricBasedVerticalScalingPolicyDetails | model.ScheduleBasedVerticalScalingPolicyDetails | model.ScheduleBasedHorizontalScalingPolicyDetails | model.MetricBasedHorizontalScalingPolicyDetails;
45
46
  }
46
47
  export declare namespace AutoScalingConfigurationSummary {
47
48
  function getJsonObj(obj: AutoScalingConfigurationSummary): object;