oci-opensearch 2.37.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 (248) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +25 -0
  6. package/index.js +48 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +298 -0
  9. package/lib/client.js +1413 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/action-type.d.ts +31 -0
  12. package/lib/model/action-type.js +42 -0
  13. package/lib/model/action-type.js.map +1 -0
  14. package/lib/model/backup-event-details.d.ts +46 -0
  15. package/lib/model/backup-event-details.js +29 -0
  16. package/lib/model/backup-event-details.js.map +1 -0
  17. package/lib/model/backup-opensearch-cluster-details.d.ts +29 -0
  18. package/lib/model/backup-opensearch-cluster-details.js +29 -0
  19. package/lib/model/backup-opensearch-cluster-details.js.map +1 -0
  20. package/lib/model/backup-state.d.ts +24 -0
  21. package/lib/model/backup-state.js +35 -0
  22. package/lib/model/backup-state.js.map +1 -0
  23. package/lib/model/change-opensearch-cluster-backup-compartment-details.d.ts +27 -0
  24. package/lib/model/change-opensearch-cluster-backup-compartment-details.js +29 -0
  25. package/lib/model/change-opensearch-cluster-backup-compartment-details.js.map +1 -0
  26. package/lib/model/change-opensearch-cluster-compartment-details.d.ts +27 -0
  27. package/lib/model/change-opensearch-cluster-compartment-details.js +29 -0
  28. package/lib/model/change-opensearch-cluster-compartment-details.js.map +1 -0
  29. package/lib/model/create-opensearch-cluster-details.d.ts +134 -0
  30. package/lib/model/create-opensearch-cluster-details.js +29 -0
  31. package/lib/model/create-opensearch-cluster-details.js.map +1 -0
  32. package/lib/model/data-node-host-type.d.ts +28 -0
  33. package/lib/model/data-node-host-type.js +39 -0
  34. package/lib/model/data-node-host-type.js.map +1 -0
  35. package/lib/model/export-opensearch-cluster-backup-details.d.ts +67 -0
  36. package/lib/model/export-opensearch-cluster-backup-details.js +29 -0
  37. package/lib/model/export-opensearch-cluster-backup-details.js.map +1 -0
  38. package/lib/model/get-manifest-response.d.ts +25 -0
  39. package/lib/model/get-manifest-response.js +29 -0
  40. package/lib/model/get-manifest-response.js.map +1 -0
  41. package/lib/model/index.d.ts +88 -0
  42. package/lib/model/index.js +111 -0
  43. package/lib/model/index.js.map +1 -0
  44. package/lib/model/master-node-host-type.d.ts +28 -0
  45. package/lib/model/master-node-host-type.js +39 -0
  46. package/lib/model/master-node-host-type.js.map +1 -0
  47. package/lib/model/opensearch-cluster-backup-collection.d.ts +26 -0
  48. package/lib/model/opensearch-cluster-backup-collection.js +61 -0
  49. package/lib/model/opensearch-cluster-backup-collection.js.map +1 -0
  50. package/lib/model/opensearch-cluster-backup-summary.d.ts +97 -0
  51. package/lib/model/opensearch-cluster-backup-summary.js +29 -0
  52. package/lib/model/opensearch-cluster-backup-summary.js.map +1 -0
  53. package/lib/model/opensearch-cluster-backup.d.ts +133 -0
  54. package/lib/model/opensearch-cluster-backup.js +53 -0
  55. package/lib/model/opensearch-cluster-backup.js.map +1 -0
  56. package/lib/model/opensearch-cluster-collection.d.ts +26 -0
  57. package/lib/model/opensearch-cluster-collection.js +61 -0
  58. package/lib/model/opensearch-cluster-collection.js.map +1 -0
  59. package/lib/model/opensearch-cluster-summary.d.ts +93 -0
  60. package/lib/model/opensearch-cluster-summary.js +29 -0
  61. package/lib/model/opensearch-cluster-summary.js.map +1 -0
  62. package/lib/model/opensearch-cluster.d.ts +201 -0
  63. package/lib/model/opensearch-cluster.js +43 -0
  64. package/lib/model/opensearch-cluster.js.map +1 -0
  65. package/lib/model/opensearch-versions-collection.d.ts +26 -0
  66. package/lib/model/opensearch-versions-collection.js +61 -0
  67. package/lib/model/opensearch-versions-collection.js.map +1 -0
  68. package/lib/model/opensearch-versions-summary.d.ts +25 -0
  69. package/lib/model/opensearch-versions-summary.js +29 -0
  70. package/lib/model/opensearch-versions-summary.js.map +1 -0
  71. package/lib/model/operation-status.d.ts +32 -0
  72. package/lib/model/operation-status.js +43 -0
  73. package/lib/model/operation-status.js.map +1 -0
  74. package/lib/model/operation-type.d.ts +35 -0
  75. package/lib/model/operation-type.js +46 -0
  76. package/lib/model/operation-type.js.map +1 -0
  77. package/lib/model/resize-opensearch-cluster-horizontal-details.d.ts +51 -0
  78. package/lib/model/resize-opensearch-cluster-horizontal-details.js +29 -0
  79. package/lib/model/resize-opensearch-cluster-horizontal-details.js.map +1 -0
  80. package/lib/model/resize-opensearch-cluster-vertical-details.d.ts +67 -0
  81. package/lib/model/resize-opensearch-cluster-vertical-details.js +29 -0
  82. package/lib/model/resize-opensearch-cluster-vertical-details.js.map +1 -0
  83. package/lib/model/restore-opensearch-cluster-backup-details.d.ts +25 -0
  84. package/lib/model/restore-opensearch-cluster-backup-details.js +29 -0
  85. package/lib/model/restore-opensearch-cluster-backup-details.js.map +1 -0
  86. package/lib/model/restore-opensearch-cluster-details.d.ts +33 -0
  87. package/lib/model/restore-opensearch-cluster-details.js +29 -0
  88. package/lib/model/restore-opensearch-cluster-details.js.map +1 -0
  89. package/lib/model/sort-order.d.ts +23 -0
  90. package/lib/model/sort-order.js +34 -0
  91. package/lib/model/sort-order.js.map +1 -0
  92. package/lib/model/update-checkin-details.d.ts +25 -0
  93. package/lib/model/update-checkin-details.js +29 -0
  94. package/lib/model/update-checkin-details.js.map +1 -0
  95. package/lib/model/update-cluster-hardened-image-details.d.ts +25 -0
  96. package/lib/model/update-cluster-hardened-image-details.js +29 -0
  97. package/lib/model/update-cluster-hardened-image-details.js.map +1 -0
  98. package/lib/model/update-cluster-status-details.d.ts +29 -0
  99. package/lib/model/update-cluster-status-details.js +29 -0
  100. package/lib/model/update-cluster-status-details.js.map +1 -0
  101. package/lib/model/update-opensearch-cluster-backup-details.d.ts +43 -0
  102. package/lib/model/update-opensearch-cluster-backup-details.js +29 -0
  103. package/lib/model/update-opensearch-cluster-backup-details.js.map +1 -0
  104. package/lib/model/update-opensearch-cluster-details.d.ts +44 -0
  105. package/lib/model/update-opensearch-cluster-details.js +29 -0
  106. package/lib/model/update-opensearch-cluster-details.js.map +1 -0
  107. package/lib/model/work-request-collection.d.ts +26 -0
  108. package/lib/model/work-request-collection.js +61 -0
  109. package/lib/model/work-request-collection.js.map +1 -0
  110. package/lib/model/work-request-error-collection.d.ts +26 -0
  111. package/lib/model/work-request-error-collection.js +61 -0
  112. package/lib/model/work-request-error-collection.js.map +1 -0
  113. package/lib/model/work-request-error.d.ts +34 -0
  114. package/lib/model/work-request-error.js +29 -0
  115. package/lib/model/work-request-error.js.map +1 -0
  116. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  117. package/lib/model/work-request-log-entry-collection.js +61 -0
  118. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  119. package/lib/model/work-request-log-entry.d.ts +29 -0
  120. package/lib/model/work-request-log-entry.js +29 -0
  121. package/lib/model/work-request-log-entry.js.map +1 -0
  122. package/lib/model/work-request-resource.d.ts +42 -0
  123. package/lib/model/work-request-resource.js +29 -0
  124. package/lib/model/work-request-resource.js.map +1 -0
  125. package/lib/model/work-request.d.ts +58 -0
  126. package/lib/model/work-request.js +61 -0
  127. package/lib/model/work-request.js.map +1 -0
  128. package/lib/opensearchcluster-waiter.d.ts +36 -0
  129. package/lib/opensearchcluster-waiter.js +76 -0
  130. package/lib/opensearchcluster-waiter.js.map +1 -0
  131. package/lib/opensearchclusterbackup-waiter.d.ts +29 -0
  132. package/lib/opensearchclusterbackup-waiter.js +65 -0
  133. package/lib/opensearchclusterbackup-waiter.js.map +1 -0
  134. package/lib/request/backup-opensearch-cluster-request.d.ts +49 -0
  135. package/lib/request/backup-opensearch-cluster-request.js +15 -0
  136. package/lib/request/backup-opensearch-cluster-request.js.map +1 -0
  137. package/lib/request/create-opensearch-cluster-request.d.ts +36 -0
  138. package/lib/request/create-opensearch-cluster-request.js +15 -0
  139. package/lib/request/create-opensearch-cluster-request.js.map +1 -0
  140. package/lib/request/delete-opensearch-cluster-backup-request.d.ts +35 -0
  141. package/lib/request/delete-opensearch-cluster-backup-request.js +15 -0
  142. package/lib/request/delete-opensearch-cluster-backup-request.js.map +1 -0
  143. package/lib/request/delete-opensearch-cluster-request.d.ts +35 -0
  144. package/lib/request/delete-opensearch-cluster-request.js +15 -0
  145. package/lib/request/delete-opensearch-cluster-request.js.map +1 -0
  146. package/lib/request/get-opensearch-cluster-backup-request.d.ts +26 -0
  147. package/lib/request/get-opensearch-cluster-backup-request.js +15 -0
  148. package/lib/request/get-opensearch-cluster-backup-request.js.map +1 -0
  149. package/lib/request/get-opensearch-cluster-request.d.ts +26 -0
  150. package/lib/request/get-opensearch-cluster-request.js +15 -0
  151. package/lib/request/get-opensearch-cluster-request.js.map +1 -0
  152. package/lib/request/get-work-request-request.d.ts +26 -0
  153. package/lib/request/get-work-request-request.js +15 -0
  154. package/lib/request/get-work-request-request.js.map +1 -0
  155. package/lib/request/index.d.ts +48 -0
  156. package/lib/request/index.js +39 -0
  157. package/lib/request/index.js.map +1 -0
  158. package/lib/request/list-opensearch-cluster-backups-request.d.ts +66 -0
  159. package/lib/request/list-opensearch-cluster-backups-request.js +24 -0
  160. package/lib/request/list-opensearch-cluster-backups-request.js.map +1 -0
  161. package/lib/request/list-opensearch-clusters-request.d.ts +62 -0
  162. package/lib/request/list-opensearch-clusters-request.js +24 -0
  163. package/lib/request/list-opensearch-clusters-request.js.map +1 -0
  164. package/lib/request/list-opensearch-versions-request.d.ts +30 -0
  165. package/lib/request/list-opensearch-versions-request.js +15 -0
  166. package/lib/request/list-opensearch-versions-request.js.map +1 -0
  167. package/lib/request/list-work-request-errors-request.d.ts +34 -0
  168. package/lib/request/list-work-request-errors-request.js +15 -0
  169. package/lib/request/list-work-request-errors-request.js.map +1 -0
  170. package/lib/request/list-work-request-logs-request.d.ts +34 -0
  171. package/lib/request/list-work-request-logs-request.js +15 -0
  172. package/lib/request/list-work-request-logs-request.js.map +1 -0
  173. package/lib/request/list-work-requests-request.d.ts +42 -0
  174. package/lib/request/list-work-requests-request.js +15 -0
  175. package/lib/request/list-work-requests-request.js.map +1 -0
  176. package/lib/request/opensearch-cluster-restore-request.d.ts +49 -0
  177. package/lib/request/opensearch-cluster-restore-request.js +15 -0
  178. package/lib/request/opensearch-cluster-restore-request.js.map +1 -0
  179. package/lib/request/resize-opensearch-cluster-horizontal-request.d.ts +49 -0
  180. package/lib/request/resize-opensearch-cluster-horizontal-request.js +15 -0
  181. package/lib/request/resize-opensearch-cluster-horizontal-request.js.map +1 -0
  182. package/lib/request/resize-opensearch-cluster-vertical-request.d.ts +49 -0
  183. package/lib/request/resize-opensearch-cluster-vertical-request.js +15 -0
  184. package/lib/request/resize-opensearch-cluster-vertical-request.js.map +1 -0
  185. package/lib/request/update-opensearch-cluster-backup-request.d.ts +40 -0
  186. package/lib/request/update-opensearch-cluster-backup-request.js +15 -0
  187. package/lib/request/update-opensearch-cluster-backup-request.js.map +1 -0
  188. package/lib/request/update-opensearch-cluster-request.d.ts +40 -0
  189. package/lib/request/update-opensearch-cluster-request.js +15 -0
  190. package/lib/request/update-opensearch-cluster-request.js.map +1 -0
  191. package/lib/response/backup-opensearch-cluster-response.d.ts +25 -0
  192. package/lib/response/backup-opensearch-cluster-response.js +15 -0
  193. package/lib/response/backup-opensearch-cluster-response.js.map +1 -0
  194. package/lib/response/create-opensearch-cluster-response.d.ts +25 -0
  195. package/lib/response/create-opensearch-cluster-response.js +15 -0
  196. package/lib/response/create-opensearch-cluster-response.js.map +1 -0
  197. package/lib/response/delete-opensearch-cluster-backup-response.d.ts +25 -0
  198. package/lib/response/delete-opensearch-cluster-backup-response.js +15 -0
  199. package/lib/response/delete-opensearch-cluster-backup-response.js.map +1 -0
  200. package/lib/response/delete-opensearch-cluster-response.d.ts +25 -0
  201. package/lib/response/delete-opensearch-cluster-response.js +15 -0
  202. package/lib/response/delete-opensearch-cluster-response.js.map +1 -0
  203. package/lib/response/get-opensearch-cluster-backup-response.d.ts +30 -0
  204. package/lib/response/get-opensearch-cluster-backup-response.js +15 -0
  205. package/lib/response/get-opensearch-cluster-backup-response.js.map +1 -0
  206. package/lib/response/get-opensearch-cluster-response.d.ts +30 -0
  207. package/lib/response/get-opensearch-cluster-response.js +15 -0
  208. package/lib/response/get-opensearch-cluster-response.js.map +1 -0
  209. package/lib/response/get-work-request-response.d.ts +29 -0
  210. package/lib/response/get-work-request-response.js +15 -0
  211. package/lib/response/get-work-request-response.js.map +1 -0
  212. package/lib/response/index.d.ts +48 -0
  213. package/lib/response/index.js +15 -0
  214. package/lib/response/index.js.map +1 -0
  215. package/lib/response/list-opensearch-cluster-backups-response.d.ts +32 -0
  216. package/lib/response/list-opensearch-cluster-backups-response.js +15 -0
  217. package/lib/response/list-opensearch-cluster-backups-response.js.map +1 -0
  218. package/lib/response/list-opensearch-clusters-response.d.ts +32 -0
  219. package/lib/response/list-opensearch-clusters-response.js +15 -0
  220. package/lib/response/list-opensearch-clusters-response.js.map +1 -0
  221. package/lib/response/list-opensearch-versions-response.d.ts +32 -0
  222. package/lib/response/list-opensearch-versions-response.js +15 -0
  223. package/lib/response/list-opensearch-versions-response.js.map +1 -0
  224. package/lib/response/list-work-request-errors-response.d.ts +32 -0
  225. package/lib/response/list-work-request-errors-response.js +15 -0
  226. package/lib/response/list-work-request-errors-response.js.map +1 -0
  227. package/lib/response/list-work-request-logs-response.d.ts +32 -0
  228. package/lib/response/list-work-request-logs-response.js +15 -0
  229. package/lib/response/list-work-request-logs-response.js.map +1 -0
  230. package/lib/response/list-work-requests-response.d.ts +32 -0
  231. package/lib/response/list-work-requests-response.js +15 -0
  232. package/lib/response/list-work-requests-response.js.map +1 -0
  233. package/lib/response/opensearch-cluster-restore-response.d.ts +25 -0
  234. package/lib/response/opensearch-cluster-restore-response.js +15 -0
  235. package/lib/response/opensearch-cluster-restore-response.js.map +1 -0
  236. package/lib/response/resize-opensearch-cluster-horizontal-response.d.ts +25 -0
  237. package/lib/response/resize-opensearch-cluster-horizontal-response.js +15 -0
  238. package/lib/response/resize-opensearch-cluster-horizontal-response.js.map +1 -0
  239. package/lib/response/resize-opensearch-cluster-vertical-response.d.ts +25 -0
  240. package/lib/response/resize-opensearch-cluster-vertical-response.js +15 -0
  241. package/lib/response/resize-opensearch-cluster-vertical-response.js.map +1 -0
  242. package/lib/response/update-opensearch-cluster-backup-response.d.ts +25 -0
  243. package/lib/response/update-opensearch-cluster-backup-response.js +15 -0
  244. package/lib/response/update-opensearch-cluster-backup-response.js.map +1 -0
  245. package/lib/response/update-opensearch-cluster-response.d.ts +25 -0
  246. package/lib/response/update-opensearch-cluster-response.js +15 -0
  247. package/lib/response/update-opensearch-cluster-response.js.map +1 -0
  248. package/package.json +29 -0
@@ -0,0 +1,201 @@
1
+ /**
2
+ * OpenSearch Service API
3
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
4
+ * OpenAPI spec version: 20180828
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * An OpenSearch cluster resource. An OpenSearch cluster is set of instances that provide OpenSearch functionality in OCI Search Service with OpenSearch.
16
+ * For more information, see [About Search Service with OpenSearch](https://docs.cloud.oracle.com/iaas/Content/search-opensearch/Concepts/ociopensearch.htm).
17
+ *
18
+ */
19
+ export interface OpensearchCluster {
20
+ /**
21
+ * The OCID of the cluster.
22
+ */
23
+ "id": string;
24
+ /**
25
+ * The name of the cluster. Avoid entering confidential information.
26
+ */
27
+ "displayName": string;
28
+ /**
29
+ * The OCID of the compartment where the cluster is located.
30
+ */
31
+ "compartmentId": string;
32
+ /**
33
+ * The current state of the cluster.
34
+ */
35
+ "lifecycleState": OpensearchCluster.LifecycleState;
36
+ /**
37
+ * The amount of time in milliseconds since the cluster was created.
38
+ */
39
+ "timeCreated": Date;
40
+ /**
41
+ * The amount of time in milliseconds since the cluster was updated.
42
+ */
43
+ "timeUpdated"?: Date;
44
+ /**
45
+ * The amount of time in milliseconds since the cluster was updated.
46
+ */
47
+ "timeDeleted"?: Date;
48
+ /**
49
+ * Additional information about the current lifecycle state of the cluster.
50
+ */
51
+ "lifecycleDetails"?: string;
52
+ /**
53
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
54
+ * Example: `{\"bar-key\": \"value\"}`
55
+ *
56
+ */
57
+ "freeformTags"?: {
58
+ [key: string]: string;
59
+ };
60
+ /**
61
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
62
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
63
+ *
64
+ */
65
+ "definedTags"?: {
66
+ [key: string]: {
67
+ [key: string]: any;
68
+ };
69
+ };
70
+ /**
71
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
72
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
73
+ *
74
+ */
75
+ "systemTags"?: {
76
+ [key: string]: {
77
+ [key: string]: any;
78
+ };
79
+ };
80
+ /**
81
+ * The software version the cluster is running.
82
+ */
83
+ "softwareVersion": string;
84
+ /**
85
+ * The size in GB of the cluster's total storage. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
86
+ */
87
+ "totalStorageGB": number;
88
+ /**
89
+ * The fully qualified domain name (FQDN) for the cluster's API endpoint.
90
+ */
91
+ "opensearchFqdn": string;
92
+ /**
93
+ * The cluster's private IP address.
94
+ */
95
+ "opensearchPrivateIp": string;
96
+ /**
97
+ * The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
98
+ */
99
+ "opendashboardFqdn": string;
100
+ /**
101
+ * The private IP address for the cluster's OpenSearch Dashboard.
102
+ */
103
+ "opendashboardPrivateIp": string;
104
+ /**
105
+ * The number of master nodes configured for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
106
+ */
107
+ "masterNodeCount": number;
108
+ /**
109
+ * The instance type for the cluster's master nodes.
110
+ */
111
+ "masterNodeHostType": model.MasterNodeHostType;
112
+ /**
113
+ * The bare metal shape for the cluster's master nodes.
114
+ */
115
+ "masterNodeHostBareMetalShape"?: string;
116
+ /**
117
+ * The number of OCPUs configured for cluster's master nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
118
+ */
119
+ "masterNodeHostOcpuCount": number;
120
+ /**
121
+ * The amount of memory in GB, for the cluster's master nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
122
+ */
123
+ "masterNodeHostMemoryGB": number;
124
+ /**
125
+ * The number of data nodes configured for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
126
+ */
127
+ "dataNodeCount": number;
128
+ /**
129
+ * The instance type for the cluster's data nodes.
130
+ */
131
+ "dataNodeHostType": model.DataNodeHostType;
132
+ /**
133
+ * The bare metal shape for the cluster's data nodes.
134
+ */
135
+ "dataNodeHostBareMetalShape"?: string;
136
+ /**
137
+ * The number of OCPUs configured for the cluster's data nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
138
+ */
139
+ "dataNodeHostOcpuCount": number;
140
+ /**
141
+ * The amount of memory in GB, for the cluster's data nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
142
+ */
143
+ "dataNodeHostMemoryGB": number;
144
+ /**
145
+ * The amount of storage in GB, to configure per node for the cluster's data nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
146
+ */
147
+ "dataNodeStorageGB": number;
148
+ /**
149
+ * The number of OpenSearch Dashboard nodes configured for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
150
+ */
151
+ "opendashboardNodeCount": number;
152
+ /**
153
+ * The amount of memory in GB, for the cluster's OpenSearch Dashboard nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
154
+ */
155
+ "opendashboardNodeHostOcpuCount": number;
156
+ /**
157
+ * The amount of memory in GB, for the cluster's OpenSearch Dashboard nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
158
+ */
159
+ "opendashboardNodeHostMemoryGB": number;
160
+ /**
161
+ * The OCID of the cluster's VCN.
162
+ */
163
+ "vcnId": string;
164
+ /**
165
+ * The OCID of the cluster's subnet.
166
+ */
167
+ "subnetId": string;
168
+ /**
169
+ * The OCID for the compartment where the cluster's VCN is located.
170
+ */
171
+ "vcnCompartmentId": string;
172
+ /**
173
+ * The OCID for the compartment where the cluster's subnet is located.
174
+ */
175
+ "subnetCompartmentId": string;
176
+ /**
177
+ * The fully qualified domain name (FQDN) for the cluster's API endpoint.
178
+ */
179
+ "fqdn"?: string;
180
+ /**
181
+ * The availability domains to distribute the cluser nodes across.
182
+ */
183
+ "availabilityDomains": Array<string>;
184
+ }
185
+ export declare namespace OpensearchCluster {
186
+ enum LifecycleState {
187
+ Active = "ACTIVE",
188
+ Creating = "CREATING",
189
+ Updating = "UPDATING",
190
+ Deleting = "DELETING",
191
+ Deleted = "DELETED",
192
+ Failed = "FAILED",
193
+ /**
194
+ * This value is used if a service returns a value for this enum that is not recognized by this
195
+ * version of the SDK.
196
+ */
197
+ UnknownValue = "UNKNOWN_VALUE"
198
+ }
199
+ function getJsonObj(obj: OpensearchCluster): object;
200
+ function getDeserializedJsonObj(obj: OpensearchCluster): object;
201
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * OpenSearch Service API
4
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
5
+ * OpenAPI spec version: 20180828
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.OpensearchCluster = void 0;
16
+ var OpensearchCluster;
17
+ (function (OpensearchCluster) {
18
+ let LifecycleState;
19
+ (function (LifecycleState) {
20
+ LifecycleState["Active"] = "ACTIVE";
21
+ LifecycleState["Creating"] = "CREATING";
22
+ LifecycleState["Updating"] = "UPDATING";
23
+ LifecycleState["Deleting"] = "DELETING";
24
+ LifecycleState["Deleted"] = "DELETED";
25
+ LifecycleState["Failed"] = "FAILED";
26
+ /**
27
+ * This value is used if a service returns a value for this enum that is not recognized by this
28
+ * version of the SDK.
29
+ */
30
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
31
+ })(LifecycleState = OpensearchCluster.LifecycleState || (OpensearchCluster.LifecycleState = {}));
32
+ function getJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ OpensearchCluster.getJsonObj = getJsonObj;
37
+ function getDeserializedJsonObj(obj) {
38
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
39
+ return jsonObj;
40
+ }
41
+ OpensearchCluster.getDeserializedJsonObj = getDeserializedJsonObj;
42
+ })(OpensearchCluster = exports.OpensearchCluster || (exports.OpensearchCluster = {}));
43
+ //# sourceMappingURL=opensearch-cluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opensearch-cluster.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-cluster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuKH,IAAiB,iBAAiB,CAyBjC;AAzBD,WAAiB,iBAAiB;IAChC,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,gCAAc,KAAd,gCAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAyBjC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * OpenSearch Service API
3
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
4
+ * OpenAPI spec version: 20180828
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * The list of OpenSearch versions returned in an OpenSearch version search.
16
+ */
17
+ export interface OpensearchVersionsCollection {
18
+ /**
19
+ * A list of OpenSearch versions.
20
+ */
21
+ "items": Array<model.OpensearchVersionsSummary>;
22
+ }
23
+ export declare namespace OpensearchVersionsCollection {
24
+ function getJsonObj(obj: OpensearchVersionsCollection): object;
25
+ function getDeserializedJsonObj(obj: OpensearchVersionsCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * OpenSearch Service API
4
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
5
+ * OpenAPI spec version: 20180828
6
+ *
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.OpensearchVersionsCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var OpensearchVersionsCollection;
37
+ (function (OpensearchVersionsCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.OpensearchVersionsSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ OpensearchVersionsCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.OpensearchVersionsSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ OpensearchVersionsCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(OpensearchVersionsCollection = exports.OpensearchVersionsCollection || (exports.OpensearchVersionsCollection = {}));
61
+ //# sourceMappingURL=opensearch-versions-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opensearch-versions-collection.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-versions-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,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,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,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,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * OpenSearch Service API
3
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
4
+ * OpenAPI spec version: 20180828
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ /**
14
+ * A description of Opensearch versions
15
+ */
16
+ export interface OpensearchVersionsSummary {
17
+ /**
18
+ * The version of OpenSearch.
19
+ */
20
+ "version": string;
21
+ }
22
+ export declare namespace OpensearchVersionsSummary {
23
+ function getJsonObj(obj: OpensearchVersionsSummary): object;
24
+ function getDeserializedJsonObj(obj: OpensearchVersionsSummary): object;
25
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * OpenSearch Service API
4
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
5
+ * OpenAPI spec version: 20180828
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.OpensearchVersionsSummary = void 0;
16
+ var OpensearchVersionsSummary;
17
+ (function (OpensearchVersionsSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ OpensearchVersionsSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ OpensearchVersionsSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(OpensearchVersionsSummary = exports.OpensearchVersionsSummary || (exports.OpensearchVersionsSummary = {}));
29
+ //# sourceMappingURL=opensearch-versions-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opensearch-versions-summary.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-versions-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * OpenSearch Service API
3
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
4
+ * OpenAPI spec version: 20180828
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ /**
14
+ * The status of the operation that spawned the work request.
15
+ **/
16
+ export declare enum OperationStatus {
17
+ Accepted = "ACCEPTED",
18
+ InProgress = "IN_PROGRESS",
19
+ Failed = "FAILED",
20
+ Succeeded = "SUCCEEDED",
21
+ Canceling = "CANCELING",
22
+ Canceled = "CANCELED",
23
+ /**
24
+ * This value is used if a service returns a value for this enum that is not recognized by this
25
+ * version of the SDK.
26
+ */
27
+ UnknownValue = "UNKNOWN_VALUE"
28
+ }
29
+ export declare namespace OperationStatus {
30
+ function getJsonObj(obj: OperationStatus): OperationStatus;
31
+ function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
32
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * OpenSearch Service API
4
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
5
+ * OpenAPI spec version: 20180828
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.OperationStatus = void 0;
16
+ /**
17
+ * The status of the operation that spawned the work request.
18
+ **/
19
+ var OperationStatus;
20
+ (function (OperationStatus) {
21
+ OperationStatus["Accepted"] = "ACCEPTED";
22
+ OperationStatus["InProgress"] = "IN_PROGRESS";
23
+ OperationStatus["Failed"] = "FAILED";
24
+ OperationStatus["Succeeded"] = "SUCCEEDED";
25
+ OperationStatus["Canceling"] = "CANCELING";
26
+ OperationStatus["Canceled"] = "CANCELED";
27
+ /**
28
+ * This value is used if a service returns a value for this enum that is not recognized by this
29
+ * version of the SDK.
30
+ */
31
+ OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
32
+ })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
33
+ (function (OperationStatus) {
34
+ function getJsonObj(obj) {
35
+ return obj;
36
+ }
37
+ OperationStatus.getJsonObj = getJsonObj;
38
+ function getDeserializedJsonObj(obj) {
39
+ return obj;
40
+ }
41
+ OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
42
+ })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
43
+ //# sourceMappingURL=operation-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAaX;AAbD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAbW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAa1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * OpenSearch Service API
3
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
4
+ * OpenAPI spec version: 20180828
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ /**
14
+ * The types of operations that spawn work requests.
15
+ **/
16
+ export declare enum OperationType {
17
+ CreateOpensearchCluster = "CREATE_OPENSEARCH_CLUSTER",
18
+ UpdateOpensearchCluster = "UPDATE_OPENSEARCH_CLUSTER",
19
+ DeleteOpensearchCluster = "DELETE_OPENSEARCH_CLUSTER",
20
+ MoveOpensearchCluster = "MOVE_OPENSEARCH_CLUSTER",
21
+ RestoreOpensearchCluster = "RESTORE_OPENSEARCH_CLUSTER",
22
+ BackupOpensearchCluster = "BACKUP_OPENSEARCH_CLUSTER",
23
+ UpdateOpensearchClusterBackup = "UPDATE_OPENSEARCH_CLUSTER_BACKUP",
24
+ MoveOpensearchClusterBackup = "MOVE_OPENSEARCH_CLUSTER_BACKUP",
25
+ DeleteOpensearchClusterBackup = "DELETE_OPENSEARCH_CLUSTER_BACKUP",
26
+ /**
27
+ * This value is used if a service returns a value for this enum that is not recognized by this
28
+ * version of the SDK.
29
+ */
30
+ UnknownValue = "UNKNOWN_VALUE"
31
+ }
32
+ export declare namespace OperationType {
33
+ function getJsonObj(obj: OperationType): OperationType;
34
+ function getDeserializedJsonObj(obj: OperationType): OperationType;
35
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * OpenSearch Service API
4
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
5
+ * OpenAPI spec version: 20180828
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.OperationType = void 0;
16
+ /**
17
+ * The types of operations that spawn work requests.
18
+ **/
19
+ var OperationType;
20
+ (function (OperationType) {
21
+ OperationType["CreateOpensearchCluster"] = "CREATE_OPENSEARCH_CLUSTER";
22
+ OperationType["UpdateOpensearchCluster"] = "UPDATE_OPENSEARCH_CLUSTER";
23
+ OperationType["DeleteOpensearchCluster"] = "DELETE_OPENSEARCH_CLUSTER";
24
+ OperationType["MoveOpensearchCluster"] = "MOVE_OPENSEARCH_CLUSTER";
25
+ OperationType["RestoreOpensearchCluster"] = "RESTORE_OPENSEARCH_CLUSTER";
26
+ OperationType["BackupOpensearchCluster"] = "BACKUP_OPENSEARCH_CLUSTER";
27
+ OperationType["UpdateOpensearchClusterBackup"] = "UPDATE_OPENSEARCH_CLUSTER_BACKUP";
28
+ OperationType["MoveOpensearchClusterBackup"] = "MOVE_OPENSEARCH_CLUSTER_BACKUP";
29
+ OperationType["DeleteOpensearchClusterBackup"] = "DELETE_OPENSEARCH_CLUSTER_BACKUP";
30
+ /**
31
+ * This value is used if a service returns a value for this enum that is not recognized by this
32
+ * version of the SDK.
33
+ */
34
+ OperationType["UnknownValue"] = "UNKNOWN_VALUE";
35
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
36
+ (function (OperationType) {
37
+ function getJsonObj(obj) {
38
+ return obj;
39
+ }
40
+ OperationType.getJsonObj = getJsonObj;
41
+ function getDeserializedJsonObj(obj) {
42
+ return obj;
43
+ }
44
+ OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
45
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
46
+ //# sourceMappingURL=operation-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAgBX;AAhBD,WAAY,aAAa;IACvB,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,kEAAiD,CAAA;IACjD,wEAAuD,CAAA;IACvD,sEAAqD,CAAA;IACrD,mFAAkE,CAAA;IAClE,+EAA8D,CAAA;IAC9D,mFAAkE,CAAA;IAElE;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAhBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAgBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * OpenSearch Service API
3
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
4
+ * OpenAPI spec version: 20180828
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ /**
14
+ * The node count configuration to update on an existing OpenSearch cluster for [horizontal resizing](https://docs.cloud.oracle.com/iaas/Content/search-opensearch/Tasks/resizingacluster.htm#horizontalresize).
15
+ */
16
+ export interface ResizeOpensearchClusterHorizontalDetails {
17
+ /**
18
+ * The number of master nodes to configure for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
19
+ */
20
+ "masterNodeCount"?: number;
21
+ /**
22
+ * The number of data nodes to configure for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "dataNodeCount"?: number;
25
+ /**
26
+ * The number of OpenSearch Dashboard nodes to configure for the cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
+ */
28
+ "opendashboardNodeCount"?: number;
29
+ /**
30
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
31
+ * Example: `{\"bar-key\": \"value\"}`
32
+ *
33
+ */
34
+ "freeformTags"?: {
35
+ [key: string]: string;
36
+ };
37
+ /**
38
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
39
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
40
+ *
41
+ */
42
+ "definedTags"?: {
43
+ [key: string]: {
44
+ [key: string]: any;
45
+ };
46
+ };
47
+ }
48
+ export declare namespace ResizeOpensearchClusterHorizontalDetails {
49
+ function getJsonObj(obj: ResizeOpensearchClusterHorizontalDetails): object;
50
+ function getDeserializedJsonObj(obj: ResizeOpensearchClusterHorizontalDetails): object;
51
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * OpenSearch Service API
4
+ * The OpenSearch service API provides access to OCI Search Service with OpenSearch.
5
+ * OpenAPI spec version: 20180828
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ResizeOpensearchClusterHorizontalDetails = void 0;
16
+ var ResizeOpensearchClusterHorizontalDetails;
17
+ (function (ResizeOpensearchClusterHorizontalDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ResizeOpensearchClusterHorizontalDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ResizeOpensearchClusterHorizontalDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ResizeOpensearchClusterHorizontalDetails = exports.ResizeOpensearchClusterHorizontalDetails || (exports.ResizeOpensearchClusterHorizontalDetails = {}));
29
+ //# sourceMappingURL=resize-opensearch-cluster-horizontal-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resize-opensearch-cluster-horizontal-details.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/resize-opensearch-cluster-horizontal-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmCH,IAAiB,wCAAwC,CAWxD;AAXD,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CAAC,GAA6C;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6C;QAClF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAWxD"}