oci-databasetools 2.28.0 → 2.31.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 (255) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/lib/client.d.ts +48 -48
  4. package/lib/client.js +58 -58
  5. package/lib/client.js.map +1 -1
  6. package/lib/databasetools-waiter.d.ts +1 -1
  7. package/lib/databasetools-waiter.js +1 -1
  8. package/lib/model/action-type.d.ts +2 -2
  9. package/lib/model/action-type.js +2 -2
  10. package/lib/model/change-database-tools-connection-compartment-details.d.ts +3 -3
  11. package/lib/model/change-database-tools-connection-compartment-details.js +1 -1
  12. package/lib/model/change-database-tools-private-endpoint-compartment-details.d.ts +3 -3
  13. package/lib/model/change-database-tools-private-endpoint-compartment-details.js +1 -1
  14. package/lib/model/connection-type.d.ts +3 -2
  15. package/lib/model/connection-type.js +3 -2
  16. package/lib/model/connection-type.js.map +1 -1
  17. package/lib/model/create-database-tools-connection-details.d.ts +3 -3
  18. package/lib/model/create-database-tools-connection-details.js +5 -1
  19. package/lib/model/create-database-tools-connection-details.js.map +1 -1
  20. package/lib/model/create-database-tools-connection-my-sql-details.d.ts +50 -0
  21. package/lib/model/create-database-tools-connection-my-sql-details.js +78 -0
  22. package/lib/model/create-database-tools-connection-my-sql-details.js.map +1 -0
  23. package/lib/model/create-database-tools-connection-oracle-database-details.d.ts +6 -6
  24. package/lib/model/create-database-tools-connection-oracle-database-details.js +1 -1
  25. package/lib/model/create-database-tools-private-endpoint-details.d.ts +5 -5
  26. package/lib/model/create-database-tools-private-endpoint-details.js +1 -1
  27. package/lib/model/create-database-tools-related-resource-details.d.ts +1 -1
  28. package/lib/model/create-database-tools-related-resource-details.js +1 -1
  29. package/lib/model/create-database-tools-related-resource-my-sql-details.d.ts +30 -0
  30. package/lib/model/create-database-tools-related-resource-my-sql-details.js +29 -0
  31. package/lib/model/create-database-tools-related-resource-my-sql-details.js.map +1 -0
  32. package/lib/model/database-tools-connection-collection.d.ts +3 -3
  33. package/lib/model/database-tools-connection-collection.js +1 -1
  34. package/lib/model/database-tools-connection-my-sql-summary.d.ts +50 -0
  35. package/lib/model/database-tools-connection-my-sql-summary.js +78 -0
  36. package/lib/model/database-tools-connection-my-sql-summary.js.map +1 -0
  37. package/lib/model/database-tools-connection-my-sql.d.ts +50 -0
  38. package/lib/model/database-tools-connection-my-sql.js +78 -0
  39. package/lib/model/database-tools-connection-my-sql.js.map +1 -0
  40. package/lib/model/database-tools-connection-oracle-database-summary.d.ts +5 -5
  41. package/lib/model/database-tools-connection-oracle-database-summary.js +1 -1
  42. package/lib/model/database-tools-connection-oracle-database.d.ts +7 -7
  43. package/lib/model/database-tools-connection-oracle-database.js +1 -1
  44. package/lib/model/database-tools-connection-summary.d.ts +7 -7
  45. package/lib/model/database-tools-connection-summary.js +5 -1
  46. package/lib/model/database-tools-connection-summary.js.map +1 -1
  47. package/lib/model/database-tools-connection.d.ts +8 -8
  48. package/lib/model/database-tools-connection.js +5 -1
  49. package/lib/model/database-tools-connection.js.map +1 -1
  50. package/lib/model/database-tools-endpoint-service-collection.d.ts +3 -3
  51. package/lib/model/database-tools-endpoint-service-collection.js +1 -1
  52. package/lib/model/database-tools-endpoint-service-summary.d.ts +8 -8
  53. package/lib/model/database-tools-endpoint-service-summary.js +1 -1
  54. package/lib/model/database-tools-endpoint-service.d.ts +8 -8
  55. package/lib/model/database-tools-endpoint-service.js +1 -1
  56. package/lib/model/database-tools-key-store-content-details.d.ts +1 -1
  57. package/lib/model/database-tools-key-store-content-details.js +1 -1
  58. package/lib/model/database-tools-key-store-content-my-sql-details.d.ts +22 -0
  59. package/lib/model/database-tools-key-store-content-my-sql-details.js +65 -0
  60. package/lib/model/database-tools-key-store-content-my-sql-details.js.map +1 -0
  61. package/lib/model/database-tools-key-store-content-my-sql-summary.d.ts +22 -0
  62. package/lib/model/database-tools-key-store-content-my-sql-summary.js +65 -0
  63. package/lib/model/database-tools-key-store-content-my-sql-summary.js.map +1 -0
  64. package/lib/model/{service-capability.d.ts → database-tools-key-store-content-my-sql.d.ts} +8 -8
  65. package/lib/model/database-tools-key-store-content-my-sql.js +65 -0
  66. package/lib/model/database-tools-key-store-content-my-sql.js.map +1 -0
  67. package/lib/model/database-tools-key-store-content-secret-id-details.d.ts +1 -1
  68. package/lib/model/database-tools-key-store-content-secret-id-details.js +1 -1
  69. package/lib/model/database-tools-key-store-content-secret-id-my-sql-details.d.ts +28 -0
  70. package/lib/model/database-tools-key-store-content-secret-id-my-sql-details.js +54 -0
  71. package/lib/model/database-tools-key-store-content-secret-id-my-sql-details.js.map +1 -0
  72. package/lib/model/database-tools-key-store-content-secret-id-my-sql-summary.d.ts +28 -0
  73. package/lib/model/database-tools-key-store-content-secret-id-my-sql-summary.js +54 -0
  74. package/lib/model/database-tools-key-store-content-secret-id-my-sql-summary.js.map +1 -0
  75. package/lib/model/database-tools-key-store-content-secret-id-my-sql.d.ts +28 -0
  76. package/lib/model/database-tools-key-store-content-secret-id-my-sql.js +54 -0
  77. package/lib/model/database-tools-key-store-content-secret-id-my-sql.js.map +1 -0
  78. package/lib/model/database-tools-key-store-content-secret-id-summary.d.ts +1 -1
  79. package/lib/model/database-tools-key-store-content-secret-id-summary.js +1 -1
  80. package/lib/model/database-tools-key-store-content-secret-id.d.ts +1 -1
  81. package/lib/model/database-tools-key-store-content-secret-id.js +1 -1
  82. package/lib/model/database-tools-key-store-content-summary.d.ts +1 -1
  83. package/lib/model/database-tools-key-store-content-summary.js +1 -1
  84. package/lib/model/database-tools-key-store-content.d.ts +1 -1
  85. package/lib/model/database-tools-key-store-content.js +1 -1
  86. package/lib/model/database-tools-key-store-details.d.ts +1 -1
  87. package/lib/model/database-tools-key-store-details.js +1 -1
  88. package/lib/model/database-tools-key-store-my-sql-details.d.ts +28 -0
  89. package/lib/model/database-tools-key-store-my-sql-details.js +63 -0
  90. package/lib/model/database-tools-key-store-my-sql-details.js.map +1 -0
  91. package/lib/model/database-tools-key-store-my-sql-summary.d.ts +28 -0
  92. package/lib/model/database-tools-key-store-my-sql-summary.js +63 -0
  93. package/lib/model/database-tools-key-store-my-sql-summary.js.map +1 -0
  94. package/lib/model/database-tools-key-store-my-sql.d.ts +28 -0
  95. package/lib/model/{database-tools-allowed-network-sources.js → database-tools-key-store-my-sql.js} +18 -16
  96. package/lib/model/database-tools-key-store-my-sql.js.map +1 -0
  97. package/lib/model/database-tools-key-store-password-details.d.ts +1 -1
  98. package/lib/model/database-tools-key-store-password-details.js +1 -1
  99. package/lib/model/database-tools-key-store-password-my-sql-details.d.ts +22 -0
  100. package/lib/model/database-tools-key-store-password-my-sql-details.js +65 -0
  101. package/lib/model/database-tools-key-store-password-my-sql-details.js.map +1 -0
  102. package/lib/model/database-tools-key-store-password-my-sql-summary.d.ts +22 -0
  103. package/lib/model/database-tools-key-store-password-my-sql-summary.js +65 -0
  104. package/lib/model/database-tools-key-store-password-my-sql-summary.js.map +1 -0
  105. package/lib/model/database-tools-key-store-password-my-sql.d.ts +22 -0
  106. package/lib/model/database-tools-key-store-password-my-sql.js +65 -0
  107. package/lib/model/database-tools-key-store-password-my-sql.js.map +1 -0
  108. package/lib/model/database-tools-key-store-password-secret-id-details.d.ts +1 -1
  109. package/lib/model/database-tools-key-store-password-secret-id-details.js +1 -1
  110. package/lib/model/database-tools-key-store-password-secret-id-my-sql-details.d.ts +28 -0
  111. package/lib/model/database-tools-key-store-password-secret-id-my-sql-details.js +54 -0
  112. package/lib/model/database-tools-key-store-password-secret-id-my-sql-details.js.map +1 -0
  113. package/lib/model/database-tools-key-store-password-secret-id-my-sql-summary.d.ts +28 -0
  114. package/lib/model/database-tools-key-store-password-secret-id-my-sql-summary.js +54 -0
  115. package/lib/model/database-tools-key-store-password-secret-id-my-sql-summary.js.map +1 -0
  116. package/lib/model/database-tools-key-store-password-secret-id-my-sql.d.ts +28 -0
  117. package/lib/model/database-tools-key-store-password-secret-id-my-sql.js +54 -0
  118. package/lib/model/database-tools-key-store-password-secret-id-my-sql.js.map +1 -0
  119. package/lib/model/database-tools-key-store-password-secret-id-summary.d.ts +1 -1
  120. package/lib/model/database-tools-key-store-password-secret-id-summary.js +1 -1
  121. package/lib/model/database-tools-key-store-password-secret-id.d.ts +1 -1
  122. package/lib/model/database-tools-key-store-password-secret-id.js +1 -1
  123. package/lib/model/database-tools-key-store-password-summary.d.ts +1 -1
  124. package/lib/model/database-tools-key-store-password-summary.js +1 -1
  125. package/lib/model/database-tools-key-store-password.d.ts +1 -1
  126. package/lib/model/database-tools-key-store-password.js +1 -1
  127. package/lib/model/database-tools-key-store-summary.d.ts +1 -1
  128. package/lib/model/database-tools-key-store-summary.js +1 -1
  129. package/lib/model/database-tools-key-store.d.ts +1 -1
  130. package/lib/model/database-tools-key-store.js +1 -1
  131. package/lib/model/database-tools-private-endpoint-collection.d.ts +3 -3
  132. package/lib/model/database-tools-private-endpoint-collection.js +1 -1
  133. package/lib/model/database-tools-private-endpoint-reverse-connection-configuration.d.ts +2 -2
  134. package/lib/model/database-tools-private-endpoint-reverse-connection-configuration.js +1 -1
  135. package/lib/model/database-tools-private-endpoint-reverse-connections-source-ip.d.ts +1 -1
  136. package/lib/model/database-tools-private-endpoint-reverse-connections-source-ip.js +1 -1
  137. package/lib/model/database-tools-private-endpoint-summary.d.ts +9 -9
  138. package/lib/model/database-tools-private-endpoint-summary.js +1 -1
  139. package/lib/model/database-tools-private-endpoint.d.ts +9 -9
  140. package/lib/model/database-tools-private-endpoint.js +1 -1
  141. package/lib/model/database-tools-related-resource-my-sql.d.ts +30 -0
  142. package/lib/model/{database-tools-virtual-source.js → database-tools-related-resource-my-sql.js} +8 -8
  143. package/lib/model/database-tools-related-resource-my-sql.js.map +1 -0
  144. package/lib/model/database-tools-related-resource.d.ts +1 -1
  145. package/lib/model/database-tools-related-resource.js +1 -1
  146. package/lib/model/database-tools-user-password-details.d.ts +1 -1
  147. package/lib/model/database-tools-user-password-details.js +1 -1
  148. package/lib/model/database-tools-user-password-secret-id-details.d.ts +2 -2
  149. package/lib/model/database-tools-user-password-secret-id-details.js +1 -1
  150. package/lib/model/database-tools-user-password-secret-id-summary.d.ts +1 -1
  151. package/lib/model/database-tools-user-password-secret-id-summary.js +1 -1
  152. package/lib/model/database-tools-user-password-secret-id.d.ts +1 -1
  153. package/lib/model/database-tools-user-password-secret-id.js +1 -1
  154. package/lib/model/database-tools-user-password-summary.d.ts +1 -1
  155. package/lib/model/database-tools-user-password-summary.js +1 -1
  156. package/lib/model/database-tools-user-password.d.ts +1 -1
  157. package/lib/model/database-tools-user-password.js +1 -1
  158. package/lib/model/index.d.ts +53 -7
  159. package/lib/model/index.js +55 -9
  160. package/lib/model/index.js.map +1 -1
  161. package/lib/model/key-store-type-my-sql.d.ts +29 -0
  162. package/lib/model/key-store-type-my-sql.js +40 -0
  163. package/lib/model/key-store-type-my-sql.js.map +1 -0
  164. package/lib/model/key-store-type.d.ts +2 -2
  165. package/lib/model/key-store-type.js +2 -2
  166. package/lib/model/lifecycle-state.d.ts +2 -2
  167. package/lib/model/lifecycle-state.js +2 -2
  168. package/lib/model/operation-status.d.ts +2 -2
  169. package/lib/model/operation-status.js +2 -2
  170. package/lib/model/operation-type.d.ts +1 -1
  171. package/lib/model/operation-type.js +1 -1
  172. package/lib/model/related-resource-entity-type-my-sql.d.ts +27 -0
  173. package/lib/model/related-resource-entity-type-my-sql.js +38 -0
  174. package/lib/model/related-resource-entity-type-my-sql.js.map +1 -0
  175. package/lib/model/related-resource-entity-type.d.ts +2 -2
  176. package/lib/model/related-resource-entity-type.js +2 -2
  177. package/lib/model/sort-order.d.ts +2 -2
  178. package/lib/model/sort-order.js +2 -2
  179. package/lib/model/update-database-tools-connection-details.d.ts +1 -1
  180. package/lib/model/update-database-tools-connection-details.js +5 -1
  181. package/lib/model/update-database-tools-connection-details.js.map +1 -1
  182. package/lib/model/update-database-tools-connection-my-sql-details.d.ts +50 -0
  183. package/lib/model/update-database-tools-connection-my-sql-details.js +78 -0
  184. package/lib/model/update-database-tools-connection-my-sql-details.js.map +1 -0
  185. package/lib/model/update-database-tools-connection-oracle-database-details.d.ts +5 -5
  186. package/lib/model/update-database-tools-connection-oracle-database-details.js +1 -1
  187. package/lib/model/update-database-tools-private-endpoint-details.d.ts +2 -2
  188. package/lib/model/update-database-tools-private-endpoint-details.js +1 -1
  189. package/lib/model/update-database-tools-related-resource-details.d.ts +1 -1
  190. package/lib/model/update-database-tools-related-resource-details.js +1 -1
  191. package/lib/model/update-database-tools-related-resource-my-sql-details.d.ts +30 -0
  192. package/lib/model/update-database-tools-related-resource-my-sql-details.js +29 -0
  193. package/lib/model/update-database-tools-related-resource-my-sql-details.js.map +1 -0
  194. package/lib/model/validate-database-tools-connection-details.d.ts +1 -1
  195. package/lib/model/validate-database-tools-connection-details.js +5 -1
  196. package/lib/model/validate-database-tools-connection-details.js.map +1 -1
  197. package/lib/model/validate-database-tools-connection-my-sql-details.d.ts +24 -0
  198. package/lib/model/validate-database-tools-connection-my-sql-details.js +54 -0
  199. package/lib/model/validate-database-tools-connection-my-sql-details.js.map +1 -0
  200. package/lib/model/validate-database-tools-connection-my-sql-result.d.ts +32 -0
  201. package/lib/model/validate-database-tools-connection-my-sql-result.js +54 -0
  202. package/lib/model/validate-database-tools-connection-my-sql-result.js.map +1 -0
  203. package/lib/model/validate-database-tools-connection-oracle-database-details.d.ts +2 -2
  204. package/lib/model/validate-database-tools-connection-oracle-database-details.js +1 -1
  205. package/lib/model/validate-database-tools-connection-oracle-database-result.d.ts +1 -1
  206. package/lib/model/validate-database-tools-connection-oracle-database-result.js +1 -1
  207. package/lib/model/validate-database-tools-connection-result.d.ts +2 -2
  208. package/lib/model/validate-database-tools-connection-result.js +5 -1
  209. package/lib/model/validate-database-tools-connection-result.js.map +1 -1
  210. package/lib/model/work-request-collection.d.ts +3 -3
  211. package/lib/model/work-request-collection.js +1 -1
  212. package/lib/model/work-request-error-collection.d.ts +2 -2
  213. package/lib/model/work-request-error-collection.js +1 -1
  214. package/lib/model/work-request-error.d.ts +1 -1
  215. package/lib/model/work-request-error.js +1 -1
  216. package/lib/model/work-request-log-entry-collection.d.ts +3 -3
  217. package/lib/model/work-request-log-entry-collection.js +1 -1
  218. package/lib/model/work-request-log-entry.d.ts +2 -2
  219. package/lib/model/work-request-log-entry.js +1 -1
  220. package/lib/model/work-request-resource.d.ts +2 -2
  221. package/lib/model/work-request-resource.js +1 -1
  222. package/lib/model/work-request-summary.d.ts +1 -1
  223. package/lib/model/work-request-summary.js +1 -1
  224. package/lib/model/work-request.d.ts +1 -1
  225. package/lib/model/work-request.js +1 -1
  226. package/lib/request/change-database-tools-connection-compartment-request.d.ts +2 -2
  227. package/lib/request/change-database-tools-private-endpoint-compartment-request.d.ts +2 -2
  228. package/lib/request/create-database-tools-connection-request.d.ts +3 -3
  229. package/lib/request/create-database-tools-private-endpoint-request.d.ts +1 -1
  230. package/lib/request/delete-database-tools-connection-request.d.ts +2 -2
  231. package/lib/request/delete-database-tools-private-endpoint-request.d.ts +2 -2
  232. package/lib/request/get-database-tools-connection-request.d.ts +2 -2
  233. package/lib/request/get-database-tools-endpoint-service-request.d.ts +2 -2
  234. package/lib/request/get-database-tools-private-endpoint-request.d.ts +2 -2
  235. package/lib/request/get-work-request-request.d.ts +1 -1
  236. package/lib/request/index.d.ts +1 -1
  237. package/lib/request/index.js +1 -1
  238. package/lib/request/list-database-tools-connections-request.d.ts +4 -4
  239. package/lib/request/list-database-tools-endpoint-services-request.d.ts +4 -4
  240. package/lib/request/list-database-tools-private-endpoints-request.d.ts +5 -5
  241. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  242. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  243. package/lib/request/list-work-requests-request.d.ts +1 -1
  244. package/lib/request/update-database-tools-connection-request.d.ts +3 -3
  245. package/lib/request/update-database-tools-private-endpoint-request.d.ts +2 -2
  246. package/lib/request/validate-database-tools-connection-request.d.ts +3 -3
  247. package/lib/response/index.d.ts +1 -1
  248. package/lib/response/index.js +1 -1
  249. package/package.json +3 -3
  250. package/lib/model/database-tools-allowed-network-sources.d.ts +0 -34
  251. package/lib/model/database-tools-allowed-network-sources.js.map +0 -1
  252. package/lib/model/database-tools-virtual-source.d.ts +0 -29
  253. package/lib/model/database-tools-virtual-source.js.map +0 -1
  254. package/lib/model/service-capability.js +0 -33
  255. package/lib/model/service-capability.js.map +0 -1
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Database Tools
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
+ * OpenAPI spec version: 20201005
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 update details for a Database Tools MySQL Server connection.
16
+ */
17
+ export interface UpdateDatabaseToolsConnectionMySqlDetails extends model.UpdateDatabaseToolsConnectionDetails {
18
+ "relatedResource"?: model.UpdateDatabaseToolsRelatedResourceMySqlDetails;
19
+ /**
20
+ * The connection string used to connect to the MySQL Server.
21
+ */
22
+ "connectionString"?: string;
23
+ /**
24
+ * The user name.
25
+ */
26
+ "userName"?: string;
27
+ "userPassword"?: model.DatabaseToolsUserPasswordSecretIdDetails;
28
+ /**
29
+ * The advanced connection properties key-value pair (e.g., `sslMode`).
30
+ */
31
+ "advancedProperties"?: {
32
+ [key: string]: string;
33
+ };
34
+ /**
35
+ * The CA certificate to verify the server's certificate and
36
+ * the client private key and associated certificate required for client authentication.
37
+ *
38
+ */
39
+ "keyStores"?: Array<model.DatabaseToolsKeyStoreMySqlDetails>;
40
+ /**
41
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.
42
+ */
43
+ "privateEndpointId"?: string;
44
+ "type": string;
45
+ }
46
+ export declare namespace UpdateDatabaseToolsConnectionMySqlDetails {
47
+ function getJsonObj(obj: UpdateDatabaseToolsConnectionMySqlDetails, isParentJsonObj?: boolean): object;
48
+ const type = "MYSQL";
49
+ function getDeserializedJsonObj(obj: UpdateDatabaseToolsConnectionMySqlDetails, isParentJsonObj?: boolean): object;
50
+ }
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /**
3
+ * Database Tools
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
+ * OpenAPI spec version: 20201005
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.UpdateDatabaseToolsConnectionMySqlDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UpdateDatabaseToolsConnectionMySqlDetails;
37
+ (function (UpdateDatabaseToolsConnectionMySqlDetails) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.UpdateDatabaseToolsConnectionDetails.getJsonObj(obj))), {
42
+ "relatedResource": obj.relatedResource
43
+ ? model.UpdateDatabaseToolsRelatedResourceMySqlDetails.getJsonObj(obj.relatedResource)
44
+ : undefined,
45
+ "userPassword": obj.userPassword
46
+ ? model.DatabaseToolsUserPasswordDetails.getJsonObj(obj.userPassword)
47
+ : undefined,
48
+ "keyStores": obj.keyStores
49
+ ? obj.keyStores.map(item => {
50
+ return model.DatabaseToolsKeyStoreMySqlDetails.getJsonObj(item);
51
+ })
52
+ : undefined
53
+ });
54
+ return jsonObj;
55
+ }
56
+ UpdateDatabaseToolsConnectionMySqlDetails.getJsonObj = getJsonObj;
57
+ UpdateDatabaseToolsConnectionMySqlDetails.type = "MYSQL";
58
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
59
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
60
+ ? obj
61
+ : model.UpdateDatabaseToolsConnectionDetails.getDeserializedJsonObj(obj))), {
62
+ "relatedResource": obj.relatedResource
63
+ ? model.UpdateDatabaseToolsRelatedResourceMySqlDetails.getDeserializedJsonObj(obj.relatedResource)
64
+ : undefined,
65
+ "userPassword": obj.userPassword
66
+ ? model.DatabaseToolsUserPasswordDetails.getDeserializedJsonObj(obj.userPassword)
67
+ : undefined,
68
+ "keyStores": obj.keyStores
69
+ ? obj.keyStores.map(item => {
70
+ return model.DatabaseToolsKeyStoreMySqlDetails.getDeserializedJsonObj(item);
71
+ })
72
+ : undefined
73
+ });
74
+ return jsonObj;
75
+ }
76
+ UpdateDatabaseToolsConnectionMySqlDetails.getDeserializedJsonObj = getDeserializedJsonObj;
77
+ })(UpdateDatabaseToolsConnectionMySqlDetails = exports.UpdateDatabaseToolsConnectionMySqlDetails || (exports.UpdateDatabaseToolsConnectionMySqlDetails = {}));
78
+ //# sourceMappingURL=update-database-tools-connection-my-sql-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-database-tools-connection-my-sql-details.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/update-database-tools-connection-my-sql-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoClC,IAAiB,yCAAyC,CA8DzD;AA9DD,WAAiB,yCAAyC;IACxD,SAAgB,UAAU,CACxB,GAA8C,EAC9C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oCAAoC,CAAC,UAAU,CACpD,GAAG,CAC0C,CAAC,GACjD;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,8CAA8C,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACtF,CAAC,CAAC,SAAS;YAEb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACrE,CAAC,CAAC,SAAS;YAEb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA5Be,oDAAU,aA4BzB,CAAA;IACY,8CAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAA8C,EAC9C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CAChE,GAAG,CAC0C,CAAC,GACjD;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,8CAA8C,CAAC,sBAAsB,CACzE,GAAG,CAAC,eAAe,CACpB;gBACH,CAAC,CAAC,SAAS;YAEb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjF,CAAC,CAAC,SAAS;YAEb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,gEAAsB,yBA8BrC,CAAA;AACH,CAAC,EA9DgB,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QA8DzD"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -12,21 +12,21 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * The information about new DatabaseToolsConnection for an Oracle Database.
15
+ * The update details for a Database Tools Oracle Database connection.
16
16
  */
17
17
  export interface UpdateDatabaseToolsConnectionOracleDatabaseDetails extends model.UpdateDatabaseToolsConnectionDetails {
18
18
  "relatedResource"?: model.UpdateDatabaseToolsRelatedResourceDetails;
19
19
  /**
20
- * Connect descriptor or Easy Connect Naming method to connect to the database.
20
+ * The connect descriptor or Easy Connect Naming method used to connect to the database.
21
21
  */
22
22
  "connectionString"?: string;
23
23
  /**
24
- * Database user name.
24
+ * The database user name.
25
25
  */
26
26
  "userName"?: string;
27
27
  "userPassword"?: model.DatabaseToolsUserPasswordSecretIdDetails;
28
28
  /**
29
- * Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).
29
+ * The advanced connection properties key-value pair (e.g., `oracle.net.ssl_server_dn_match`).
30
30
  */
31
31
  "advancedProperties"?: {
32
32
  [key: string]: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -37,7 +37,7 @@ export interface UpdateDatabaseToolsPrivateEndpointDetails {
37
37
  */
38
38
  "displayName"?: string;
39
39
  /**
40
- * A description of the DatabaseToolsPrivateEndpoint.
40
+ * A description of the Database Tools private endpoint.
41
41
  */
42
42
  "description"?: string;
43
43
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Database Tools
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
+ * OpenAPI spec version: 20201005
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 related resource
16
+ */
17
+ export interface UpdateDatabaseToolsRelatedResourceMySqlDetails {
18
+ /**
19
+ * The resource entity type.
20
+ */
21
+ "entityType"?: model.RelatedResourceEntityTypeMySql;
22
+ /**
23
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related resource.
24
+ */
25
+ "identifier"?: string;
26
+ }
27
+ export declare namespace UpdateDatabaseToolsRelatedResourceMySqlDetails {
28
+ function getJsonObj(obj: UpdateDatabaseToolsRelatedResourceMySqlDetails): object;
29
+ function getDeserializedJsonObj(obj: UpdateDatabaseToolsRelatedResourceMySqlDetails): object;
30
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Database Tools
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
+ * OpenAPI spec version: 20201005
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.UpdateDatabaseToolsRelatedResourceMySqlDetails = void 0;
16
+ var UpdateDatabaseToolsRelatedResourceMySqlDetails;
17
+ (function (UpdateDatabaseToolsRelatedResourceMySqlDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ UpdateDatabaseToolsRelatedResourceMySqlDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ UpdateDatabaseToolsRelatedResourceMySqlDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(UpdateDatabaseToolsRelatedResourceMySqlDetails = exports.UpdateDatabaseToolsRelatedResourceMySqlDetails || (exports.UpdateDatabaseToolsRelatedResourceMySqlDetails = {}));
29
+ //# sourceMappingURL=update-database-tools-related-resource-my-sql-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-database-tools-related-resource-my-sql-details.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/update-database-tools-related-resource-my-sql-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,8CAA8C,CAa9D;AAbD,WAAiB,8CAA8C;IAC7D,SAAgB,UAAU,CAAC,GAAmD;QAC5E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAmD;QAEnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,qEAAsB,yBAMrC,CAAA;AACH,CAAC,EAbgB,8CAA8C,GAA9C,sDAA8C,KAA9C,sDAA8C,QAa9D"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -41,6 +41,8 @@ var ValidateDatabaseToolsConnectionDetails;
41
41
  switch (obj.type) {
42
42
  case "ORACLE_DATABASE":
43
43
  return model.ValidateDatabaseToolsConnectionOracleDatabaseDetails.getJsonObj(jsonObj, true);
44
+ case "MYSQL":
45
+ return model.ValidateDatabaseToolsConnectionMySqlDetails.getJsonObj(jsonObj, true);
44
46
  default:
45
47
  throw Error("Unknown value for: " + obj.type);
46
48
  }
@@ -54,6 +56,8 @@ var ValidateDatabaseToolsConnectionDetails;
54
56
  switch (obj.type) {
55
57
  case "ORACLE_DATABASE":
56
58
  return model.ValidateDatabaseToolsConnectionOracleDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
59
+ case "MYSQL":
60
+ return model.ValidateDatabaseToolsConnectionMySqlDetails.getDeserializedJsonObj(jsonObj, true);
57
61
  default:
58
62
  throw Error("Unknown value for: " + obj.type);
59
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"validate-database-tools-connection-details.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/validate-database-tools-connection-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,sCAAsC,CAiCtD;AAjCD,WAAiB,sCAAsC;IACrD,SAAgB,UAAU,CAAC,GAA2C;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,oDAAoD,CAAC,UAAU,CACL,OAAQ,EAC7E,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,iDAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2C;QAChF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,oDAAoD,CAAC,sBAAsB,CACjB,OAAQ,EAC7E,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,6DAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QAiCtD"}
1
+ {"version":3,"file":"validate-database-tools-connection-details.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/validate-database-tools-connection-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,sCAAsC,CA2CtD;AA3CD,WAAiB,sCAAsC;IACrD,SAAgB,UAAU,CAAC,GAA2C;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,oDAAoD,CAAC,UAAU,CACL,OAAQ,EAC7E,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,2CAA2C,CAAC,UAAU,CACL,OAAQ,EACpE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,iDAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2C;QAChF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,oDAAoD,CAAC,sBAAsB,CACjB,OAAQ,EAC7E,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CACjB,OAAQ,EACpE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,6DAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QA2CtD"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Database Tools
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
+ * OpenAPI spec version: 20201005
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
+ * Connection validation details for the MySQL Server.
16
+ */
17
+ export interface ValidateDatabaseToolsConnectionMySqlDetails extends model.ValidateDatabaseToolsConnectionDetails {
18
+ "type": string;
19
+ }
20
+ export declare namespace ValidateDatabaseToolsConnectionMySqlDetails {
21
+ function getJsonObj(obj: ValidateDatabaseToolsConnectionMySqlDetails, isParentJsonObj?: boolean): object;
22
+ const type = "MYSQL";
23
+ function getDeserializedJsonObj(obj: ValidateDatabaseToolsConnectionMySqlDetails, isParentJsonObj?: boolean): object;
24
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Database Tools
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
+ * OpenAPI spec version: 20201005
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.ValidateDatabaseToolsConnectionMySqlDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ValidateDatabaseToolsConnectionMySqlDetails;
37
+ (function (ValidateDatabaseToolsConnectionMySqlDetails) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.ValidateDatabaseToolsConnectionDetails.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ ValidateDatabaseToolsConnectionMySqlDetails.getJsonObj = getJsonObj;
45
+ ValidateDatabaseToolsConnectionMySqlDetails.type = "MYSQL";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.ValidateDatabaseToolsConnectionDetails.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ ValidateDatabaseToolsConnectionMySqlDetails.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(ValidateDatabaseToolsConnectionMySqlDetails = exports.ValidateDatabaseToolsConnectionMySqlDetails || (exports.ValidateDatabaseToolsConnectionMySqlDetails = {}));
54
+ //# sourceMappingURL=validate-database-tools-connection-my-sql-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-database-tools-connection-my-sql-details.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/validate-database-tools-connection-my-sql-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,2CAA2C,CAgC3D;AAhCD,WAAiB,2CAA2C;IAC1D,SAAgB,UAAU,CACxB,GAAgD,EAChD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sCAAsC,CAAC,UAAU,CACtD,GAAG,CAC4C,CAAC,GACnD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sDAAU,aAczB,CAAA;IACY,gDAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAAgD,EAChD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sCAAsC,CAAC,sBAAsB,CAClE,GAAG,CAC4C,CAAC,GACnD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,kEAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,2CAA2C,GAA3C,mDAA2C,KAA3C,mDAA2C,QAgC3D"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Database Tools
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
+ * OpenAPI spec version: 20201005
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
+ * Connection validaton result for the MySQL Server.
16
+ */
17
+ export interface ValidateDatabaseToolsConnectionMySqlResult extends model.ValidateDatabaseToolsConnectionResult {
18
+ /**
19
+ * The database name.
20
+ */
21
+ "databaseName"?: string;
22
+ /**
23
+ * The database version.
24
+ */
25
+ "databaseVersion"?: string;
26
+ "type": string;
27
+ }
28
+ export declare namespace ValidateDatabaseToolsConnectionMySqlResult {
29
+ function getJsonObj(obj: ValidateDatabaseToolsConnectionMySqlResult, isParentJsonObj?: boolean): object;
30
+ const type = "MYSQL";
31
+ function getDeserializedJsonObj(obj: ValidateDatabaseToolsConnectionMySqlResult, isParentJsonObj?: boolean): object;
32
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Database Tools
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
+ * OpenAPI spec version: 20201005
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.ValidateDatabaseToolsConnectionMySqlResult = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ValidateDatabaseToolsConnectionMySqlResult;
37
+ (function (ValidateDatabaseToolsConnectionMySqlResult) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.ValidateDatabaseToolsConnectionResult.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ ValidateDatabaseToolsConnectionMySqlResult.getJsonObj = getJsonObj;
45
+ ValidateDatabaseToolsConnectionMySqlResult.type = "MYSQL";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.ValidateDatabaseToolsConnectionResult.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ ValidateDatabaseToolsConnectionMySqlResult.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(ValidateDatabaseToolsConnectionMySqlResult = exports.ValidateDatabaseToolsConnectionMySqlResult || (exports.ValidateDatabaseToolsConnectionMySqlResult = {}));
54
+ //# sourceMappingURL=validate-database-tools-connection-my-sql-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-database-tools-connection-my-sql-result.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/validate-database-tools-connection-my-sql-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,0CAA0C,CAgC1D;AAhCD,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,qCAAqC,CAAC,UAAU,CACrD,GAAG,CAC2C,CAAC,GAClD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,qDAAU,aAczB,CAAA;IACY,+CAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qCAAqC,CAAC,sBAAsB,CACjE,GAAG,CAC2C,CAAC,GAClD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,iEAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QAgC1D"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * Connection validation details for Oracle Database.
15
+ * Connection validation details for the Oracle Database.
16
16
  */
17
17
  export interface ValidateDatabaseToolsConnectionOracleDatabaseDetails extends model.ValidateDatabaseToolsConnectionDetails {
18
18
  "type": string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -15,7 +15,7 @@
15
15
  */
16
16
  export interface ValidateDatabaseToolsConnectionResult {
17
17
  /**
18
- * A short code that defines the result of the validation, meant for programmatic parsing.
18
+ * A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
19
19
  */
20
20
  "code": string;
21
21
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Database Tools
4
- * Database Tools APIs to manage Connections and Private Endpoints.
4
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
5
5
  * OpenAPI spec version: 20201005
6
6
  *
7
7
  *
@@ -41,6 +41,8 @@ var ValidateDatabaseToolsConnectionResult;
41
41
  switch (obj.type) {
42
42
  case "ORACLE_DATABASE":
43
43
  return model.ValidateDatabaseToolsConnectionOracleDatabaseResult.getJsonObj(jsonObj, true);
44
+ case "MYSQL":
45
+ return model.ValidateDatabaseToolsConnectionMySqlResult.getJsonObj(jsonObj, true);
44
46
  default:
45
47
  throw Error("Unknown value for: " + obj.type);
46
48
  }
@@ -54,6 +56,8 @@ var ValidateDatabaseToolsConnectionResult;
54
56
  switch (obj.type) {
55
57
  case "ORACLE_DATABASE":
56
58
  return model.ValidateDatabaseToolsConnectionOracleDatabaseResult.getDeserializedJsonObj(jsonObj, true);
59
+ case "MYSQL":
60
+ return model.ValidateDatabaseToolsConnectionMySqlResult.getDeserializedJsonObj(jsonObj, true);
57
61
  default:
58
62
  throw Error("Unknown value for: " + obj.type);
59
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"validate-database-tools-connection-result.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/validate-database-tools-connection-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,qCAAqC,CAiCrD;AAjCD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,mDAAmD,CAAC,UAAU,CACL,OAAQ,EAC5E,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,gDAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,mDAAmD,CAAC,sBAAsB,CACjB,OAAQ,EAC5E,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,4DAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAiCrD"}
1
+ {"version":3,"file":"validate-database-tools-connection-result.js","sourceRoot":"","sources":["../../../../../lib/databasetools/lib/model/validate-database-tools-connection-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,qCAAqC,CA2CrD;AA3CD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,mDAAmD,CAAC,UAAU,CACL,OAAQ,EAC5E,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,0CAA0C,CAAC,UAAU,CACL,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,gDAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,mDAAmD,CAAC,sBAAsB,CACjB,OAAQ,EAC5E,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACjB,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,4DAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QA2CrD"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Database Tools
3
- * Database Tools APIs to manage Connections and Private Endpoints.
3
+ * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
4
4
  * OpenAPI spec version: 20201005
5
5
  *
6
6
  *
@@ -12,11 +12,11 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * List of WorkRequestSummary items.
15
+ * List of `WorkRequestSummary` items.
16
16
  */
17
17
  export interface WorkRequestCollection {
18
18
  /**
19
- * Array of WorkRequestSummary.
19
+ * Array of `WorkRequestSummary` items.
20
20
  */
21
21
  "items": Array<model.WorkRequestSummary>;
22
22
  }