oci-ocvp 2.74.0 → 2.76.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 (305) hide show
  1. package/index.d.ts +4 -1
  2. package/index.js +5 -2
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +193 -32
  5. package/lib/client.js +763 -85
  6. package/lib/client.js.map +1 -1
  7. package/lib/cluster-waiter.d.ts +31 -0
  8. package/lib/cluster-waiter.js +67 -0
  9. package/lib/cluster-waiter.js.map +1 -0
  10. package/lib/esxihost-waiter.d.ts +1 -1
  11. package/lib/esxihost-waiter.js +1 -1
  12. package/lib/model/action-types.d.ts +1 -1
  13. package/lib/model/action-types.js +1 -1
  14. package/lib/model/change-sddc-compartment-details.d.ts +1 -1
  15. package/lib/model/change-sddc-compartment-details.js +1 -1
  16. package/lib/model/{supported-sku-summary.d.ts → cluster-collection.d.ts} +8 -9
  17. package/lib/model/{supported-sku-summary-collection.js → cluster-collection.js} +10 -10
  18. package/lib/model/cluster-collection.js.map +1 -0
  19. package/lib/model/cluster-summary.d.ts +137 -0
  20. package/lib/model/{supported-sku-summary.js → cluster-summary.js} +8 -8
  21. package/lib/model/cluster-summary.js.map +1 -0
  22. package/lib/model/cluster.d.ts +208 -0
  23. package/lib/model/cluster.js +89 -0
  24. package/lib/model/cluster.js.map +1 -0
  25. package/lib/model/{sku.d.ts → commitment.d.ts} +6 -6
  26. package/lib/model/commitment.js +43 -0
  27. package/lib/model/commitment.js.map +1 -0
  28. package/lib/model/create-cluster-details.d.ts +138 -0
  29. package/lib/model/create-cluster-details.js +69 -0
  30. package/lib/model/create-cluster-details.js.map +1 -0
  31. package/lib/model/create-esxi-host-details.d.ts +21 -30
  32. package/lib/model/create-esxi-host-details.js +1 -1
  33. package/lib/model/create-esxi-host-details.js.map +1 -1
  34. package/lib/model/create-sddc-details.d.ts +11 -142
  35. package/lib/model/create-sddc-details.js +5 -9
  36. package/lib/model/create-sddc-details.js.map +1 -1
  37. package/lib/model/{datastore-summary.d.ts → datastore-details.d.ts} +5 -5
  38. package/lib/model/{datastore-summary.js → datastore-details.js} +8 -8
  39. package/lib/model/{datastore-summary.js.map → datastore-details.js.map} +1 -1
  40. package/lib/model/datastore-info.d.ts +1 -1
  41. package/lib/model/datastore-info.js +1 -1
  42. package/lib/model/datastore-types.d.ts +1 -1
  43. package/lib/model/datastore-types.js +1 -1
  44. package/lib/model/downgrade-hcx-details.d.ts +1 -1
  45. package/lib/model/downgrade-hcx-details.js +1 -1
  46. package/lib/model/esxi-host-collection.d.ts +1 -1
  47. package/lib/model/esxi-host-collection.js +1 -1
  48. package/lib/model/esxi-host-summary.d.ts +15 -9
  49. package/lib/model/esxi-host-summary.js +1 -1
  50. package/lib/model/esxi-host-summary.js.map +1 -1
  51. package/lib/model/esxi-host.d.ts +21 -10
  52. package/lib/model/esxi-host.js +1 -1
  53. package/lib/model/esxi-host.js.map +1 -1
  54. package/lib/model/hcx-license-status.d.ts +1 -1
  55. package/lib/model/hcx-license-status.js +1 -1
  56. package/lib/model/hcx-license-summary.d.ts +1 -1
  57. package/lib/model/hcx-license-summary.js +1 -1
  58. package/lib/model/{sddc-types.d.ts → hcx-modes.d.ts} +9 -8
  59. package/lib/model/{sku.js → hcx-modes.js} +15 -16
  60. package/lib/model/hcx-modes.js.map +1 -0
  61. package/lib/model/index.d.ts +37 -11
  62. package/lib/model/index.js +39 -12
  63. package/lib/model/index.js.map +1 -1
  64. package/lib/model/initial-cluster-configuration.d.ts +102 -0
  65. package/lib/model/initial-cluster-configuration.js +69 -0
  66. package/lib/model/initial-cluster-configuration.js.map +1 -0
  67. package/lib/model/initial-configuration.d.ts +29 -0
  68. package/lib/model/initial-configuration.js +63 -0
  69. package/lib/model/initial-configuration.js.map +1 -0
  70. package/lib/model/lifecycle-states.d.ts +1 -1
  71. package/lib/model/lifecycle-states.js +1 -1
  72. package/lib/model/network-configuration.d.ts +183 -0
  73. package/lib/model/network-configuration.js +31 -0
  74. package/lib/model/network-configuration.js.map +1 -0
  75. package/lib/model/operation-status.d.ts +1 -1
  76. package/lib/model/operation-status.js +1 -1
  77. package/lib/model/operation-types.d.ts +5 -1
  78. package/lib/model/operation-types.js +5 -1
  79. package/lib/model/operation-types.js.map +1 -1
  80. package/lib/model/password-types.d.ts +31 -0
  81. package/lib/model/password-types.js +42 -0
  82. package/lib/model/password-types.js.map +1 -0
  83. package/lib/model/replace-host-details.d.ts +32 -0
  84. package/lib/model/replace-host-details.js +31 -0
  85. package/lib/model/replace-host-details.js.map +1 -0
  86. package/lib/model/sddc-collection.d.ts +1 -1
  87. package/lib/model/sddc-collection.js +1 -1
  88. package/lib/model/sddc-password.d.ts +32 -0
  89. package/lib/model/sddc-password.js +31 -0
  90. package/lib/model/sddc-password.js.map +1 -0
  91. package/lib/model/sddc-summary.d.ts +5 -25
  92. package/lib/model/sddc-summary.js +1 -1
  93. package/lib/model/sddc-summary.js.map +1 -1
  94. package/lib/model/sddc.d.ts +26 -263
  95. package/lib/model/sddc.js +7 -31
  96. package/lib/model/sddc.js.map +1 -1
  97. package/lib/model/sort-orders.d.ts +1 -1
  98. package/lib/model/sort-orders.js +1 -1
  99. package/lib/model/supported-commitment-summary-collection.d.ts +29 -0
  100. package/lib/model/supported-commitment-summary-collection.js +63 -0
  101. package/lib/model/supported-commitment-summary-collection.js.map +1 -0
  102. package/lib/model/{supported-sku-summary-collection.d.ts → supported-commitment-summary.d.ts} +8 -8
  103. package/lib/model/supported-commitment-summary.js +31 -0
  104. package/lib/model/supported-commitment-summary.js.map +1 -0
  105. package/lib/model/supported-esxi-software-version-summary.d.ts +38 -0
  106. package/lib/model/supported-esxi-software-version-summary.js +31 -0
  107. package/lib/model/supported-esxi-software-version-summary.js.map +1 -0
  108. package/lib/model/supported-host-shape-collection.d.ts +1 -1
  109. package/lib/model/supported-host-shape-collection.js +1 -1
  110. package/lib/model/supported-host-shape-summary.d.ts +9 -14
  111. package/lib/model/supported-host-shape-summary.js +5 -11
  112. package/lib/model/supported-host-shape-summary.js.map +1 -1
  113. package/lib/model/supported-vmware-software-version-collection.d.ts +1 -1
  114. package/lib/model/supported-vmware-software-version-collection.js +1 -1
  115. package/lib/model/supported-vmware-software-version-summary.d.ts +7 -1
  116. package/lib/model/supported-vmware-software-version-summary.js +35 -3
  117. package/lib/model/supported-vmware-software-version-summary.js.map +1 -1
  118. package/lib/model/update-cluster-details.d.ts +75 -0
  119. package/lib/model/update-cluster-details.js +59 -0
  120. package/lib/model/update-cluster-details.js.map +1 -0
  121. package/lib/model/update-esxi-host-details.d.ts +5 -5
  122. package/lib/model/update-esxi-host-details.js +1 -1
  123. package/lib/model/update-sddc-details.d.ts +11 -64
  124. package/lib/model/update-sddc-details.js +1 -1
  125. package/lib/model/update-sddc-details.js.map +1 -1
  126. package/lib/model/vsphere-license.d.ts +1 -1
  127. package/lib/model/vsphere-license.js +1 -1
  128. package/lib/model/vsphere-types.d.ts +30 -0
  129. package/lib/model/{sddc-types.js → vsphere-types.js} +14 -14
  130. package/lib/model/vsphere-types.js.map +1 -0
  131. package/lib/model/vsphere-upgrade-object.d.ts +1 -1
  132. package/lib/model/vsphere-upgrade-object.js +1 -1
  133. package/lib/model/work-request-collection.d.ts +1 -1
  134. package/lib/model/work-request-collection.js +1 -1
  135. package/lib/model/work-request-error-collection.d.ts +1 -1
  136. package/lib/model/work-request-error-collection.js +1 -1
  137. package/lib/model/work-request-error.d.ts +1 -1
  138. package/lib/model/work-request-error.js +1 -1
  139. package/lib/model/work-request-log-entry-collection.d.ts +1 -1
  140. package/lib/model/work-request-log-entry-collection.js +1 -1
  141. package/lib/model/work-request-log-entry.d.ts +1 -1
  142. package/lib/model/work-request-log-entry.js +1 -1
  143. package/lib/model/work-request-resource.d.ts +1 -1
  144. package/lib/model/work-request-resource.js +1 -1
  145. package/lib/model/work-request.d.ts +1 -1
  146. package/lib/model/work-request.js +1 -1
  147. package/lib/request/cancel-downgrade-hcx-request.d.ts +2 -2
  148. package/lib/request/cancel-downgrade-hcx-request.js +1 -1
  149. package/lib/request/change-sddc-compartment-request.d.ts +2 -2
  150. package/lib/request/change-sddc-compartment-request.js +1 -1
  151. package/lib/request/create-cluster-request.d.ts +38 -0
  152. package/lib/request/{list-supported-skus-request.js → create-cluster-request.js} +2 -2
  153. package/lib/request/create-cluster-request.js.map +1 -0
  154. package/lib/request/create-esxi-host-request.d.ts +2 -2
  155. package/lib/request/create-esxi-host-request.js +1 -1
  156. package/lib/request/create-sddc-request.d.ts +2 -2
  157. package/lib/request/create-sddc-request.js +1 -1
  158. package/lib/request/delete-cluster-request.d.ts +38 -0
  159. package/lib/{response/list-supported-skus-response.js → request/delete-cluster-request.js} +2 -2
  160. package/lib/request/delete-cluster-request.js.map +1 -0
  161. package/lib/request/delete-esxi-host-request.d.ts +2 -2
  162. package/lib/request/delete-esxi-host-request.js +1 -1
  163. package/lib/request/delete-sddc-request.d.ts +2 -2
  164. package/lib/request/delete-sddc-request.js +1 -1
  165. package/lib/request/downgrade-hcx-request.d.ts +2 -2
  166. package/lib/request/downgrade-hcx-request.js +1 -1
  167. package/lib/request/get-cluster-request.d.ts +29 -0
  168. package/lib/request/get-cluster-request.js +15 -0
  169. package/lib/request/get-cluster-request.js.map +1 -0
  170. package/lib/request/get-esxi-host-request.d.ts +2 -2
  171. package/lib/request/get-esxi-host-request.js +1 -1
  172. package/lib/request/get-sddc-request.d.ts +2 -2
  173. package/lib/request/get-sddc-request.js +1 -1
  174. package/lib/request/get-work-request-request.d.ts +2 -2
  175. package/lib/request/get-work-request-request.js +1 -1
  176. package/lib/request/index.d.ts +19 -3
  177. package/lib/request/index.js +4 -2
  178. package/lib/request/index.js.map +1 -1
  179. package/lib/request/inplace-upgrade-request.d.ts +47 -0
  180. package/lib/request/inplace-upgrade-request.js +15 -0
  181. package/lib/request/inplace-upgrade-request.js.map +1 -0
  182. package/lib/request/list-clusters-request.d.ts +80 -0
  183. package/lib/request/list-clusters-request.js +24 -0
  184. package/lib/request/list-clusters-request.js.map +1 -0
  185. package/lib/request/list-esxi-hosts-request.d.ts +7 -2
  186. package/lib/request/list-esxi-hosts-request.js +1 -1
  187. package/lib/request/list-esxi-hosts-request.js.map +1 -1
  188. package/lib/request/list-sddcs-request.d.ts +2 -2
  189. package/lib/request/list-sddcs-request.js +1 -1
  190. package/lib/request/{list-supported-skus-request.d.ts → list-supported-commitments-request.d.ts} +3 -3
  191. package/lib/request/list-supported-commitments-request.js +15 -0
  192. package/lib/request/list-supported-commitments-request.js.map +1 -0
  193. package/lib/request/list-supported-host-shapes-request.d.ts +9 -5
  194. package/lib/request/list-supported-host-shapes-request.js +1 -1
  195. package/lib/request/list-supported-vmware-software-versions-request.d.ts +10 -2
  196. package/lib/request/list-supported-vmware-software-versions-request.js +1 -1
  197. package/lib/request/list-work-request-errors-request.d.ts +2 -2
  198. package/lib/request/list-work-request-errors-request.js +1 -1
  199. package/lib/request/list-work-request-logs-request.d.ts +2 -2
  200. package/lib/request/list-work-request-logs-request.js +1 -1
  201. package/lib/request/list-work-requests-request.d.ts +2 -2
  202. package/lib/request/list-work-requests-request.js +1 -1
  203. package/lib/request/refresh-hcx-license-status-request.d.ts +2 -2
  204. package/lib/request/refresh-hcx-license-status-request.js +1 -1
  205. package/lib/request/replace-host-request.d.ts +52 -0
  206. package/lib/request/replace-host-request.js +15 -0
  207. package/lib/request/replace-host-request.js.map +1 -0
  208. package/lib/request/retrieve-password-request.d.ts +52 -0
  209. package/lib/request/retrieve-password-request.js +15 -0
  210. package/lib/request/retrieve-password-request.js.map +1 -0
  211. package/lib/request/swap-billing-request.d.ts +2 -2
  212. package/lib/request/swap-billing-request.js +1 -1
  213. package/lib/request/update-cluster-request.d.ts +43 -0
  214. package/lib/request/update-cluster-request.js +15 -0
  215. package/lib/request/update-cluster-request.js.map +1 -0
  216. package/lib/request/update-esxi-host-request.d.ts +2 -2
  217. package/lib/request/update-esxi-host-request.js +1 -1
  218. package/lib/request/update-sddc-request.d.ts +2 -2
  219. package/lib/request/update-sddc-request.js +1 -1
  220. package/lib/request/upgrade-hcx-request.d.ts +2 -2
  221. package/lib/request/upgrade-hcx-request.js +1 -1
  222. package/lib/response/cancel-downgrade-hcx-response.d.ts +1 -1
  223. package/lib/response/cancel-downgrade-hcx-response.js +1 -1
  224. package/lib/response/change-sddc-compartment-response.d.ts +1 -1
  225. package/lib/response/change-sddc-compartment-response.js +1 -1
  226. package/lib/response/create-cluster-response.d.ts +25 -0
  227. package/lib/response/create-cluster-response.js +15 -0
  228. package/lib/response/create-cluster-response.js.map +1 -0
  229. package/lib/response/create-esxi-host-response.d.ts +1 -1
  230. package/lib/response/create-esxi-host-response.js +1 -1
  231. package/lib/response/create-sddc-response.d.ts +1 -1
  232. package/lib/response/create-sddc-response.js +1 -1
  233. package/lib/response/delete-cluster-response.d.ts +25 -0
  234. package/lib/response/delete-cluster-response.js +15 -0
  235. package/lib/response/delete-cluster-response.js.map +1 -0
  236. package/lib/response/delete-esxi-host-response.d.ts +1 -1
  237. package/lib/response/delete-esxi-host-response.js +1 -1
  238. package/lib/response/delete-sddc-response.d.ts +1 -1
  239. package/lib/response/delete-sddc-response.js +1 -1
  240. package/lib/response/downgrade-hcx-response.d.ts +1 -1
  241. package/lib/response/downgrade-hcx-response.js +1 -1
  242. package/lib/response/get-cluster-response.d.ts +30 -0
  243. package/lib/response/get-cluster-response.js +15 -0
  244. package/lib/response/get-cluster-response.js.map +1 -0
  245. package/lib/response/get-esxi-host-response.d.ts +1 -1
  246. package/lib/response/get-esxi-host-response.js +1 -1
  247. package/lib/response/get-sddc-response.d.ts +1 -1
  248. package/lib/response/get-sddc-response.js +1 -1
  249. package/lib/response/get-work-request-response.d.ts +1 -1
  250. package/lib/response/get-work-request-response.js +1 -1
  251. package/lib/response/index.d.ts +19 -3
  252. package/lib/response/index.js +1 -1
  253. package/lib/response/inplace-upgrade-response.d.ts +25 -0
  254. package/lib/response/inplace-upgrade-response.js +15 -0
  255. package/lib/response/inplace-upgrade-response.js.map +1 -0
  256. package/lib/response/{list-supported-skus-response.d.ts → list-clusters-response.d.ts} +4 -4
  257. package/lib/response/list-clusters-response.js +15 -0
  258. package/lib/response/list-clusters-response.js.map +1 -0
  259. package/lib/response/list-esxi-hosts-response.d.ts +1 -1
  260. package/lib/response/list-esxi-hosts-response.js +1 -1
  261. package/lib/response/list-sddcs-response.d.ts +1 -1
  262. package/lib/response/list-sddcs-response.js +1 -1
  263. package/lib/response/list-supported-commitments-response.d.ts +32 -0
  264. package/lib/response/list-supported-commitments-response.js +15 -0
  265. package/lib/response/list-supported-commitments-response.js.map +1 -0
  266. package/lib/response/list-supported-host-shapes-response.d.ts +1 -1
  267. package/lib/response/list-supported-host-shapes-response.js +1 -1
  268. package/lib/response/list-supported-vmware-software-versions-response.d.ts +1 -1
  269. package/lib/response/list-supported-vmware-software-versions-response.js +1 -1
  270. package/lib/response/list-work-request-errors-response.d.ts +1 -1
  271. package/lib/response/list-work-request-errors-response.js +1 -1
  272. package/lib/response/list-work-request-logs-response.d.ts +1 -1
  273. package/lib/response/list-work-request-logs-response.js +1 -1
  274. package/lib/response/list-work-requests-response.d.ts +1 -1
  275. package/lib/response/list-work-requests-response.js +1 -1
  276. package/lib/response/refresh-hcx-license-status-response.d.ts +1 -1
  277. package/lib/response/refresh-hcx-license-status-response.js +1 -1
  278. package/lib/response/replace-host-response.d.ts +25 -0
  279. package/lib/response/replace-host-response.js +15 -0
  280. package/lib/response/replace-host-response.js.map +1 -0
  281. package/lib/response/retrieve-password-response.d.ts +30 -0
  282. package/lib/response/retrieve-password-response.js +15 -0
  283. package/lib/response/retrieve-password-response.js.map +1 -0
  284. package/lib/response/swap-billing-response.d.ts +1 -1
  285. package/lib/response/swap-billing-response.js +1 -1
  286. package/lib/response/update-cluster-response.d.ts +30 -0
  287. package/lib/response/update-cluster-response.js +15 -0
  288. package/lib/response/update-cluster-response.js.map +1 -0
  289. package/lib/response/update-esxi-host-response.d.ts +1 -1
  290. package/lib/response/update-esxi-host-response.js +1 -1
  291. package/lib/response/update-sddc-response.d.ts +1 -1
  292. package/lib/response/update-sddc-response.js +1 -1
  293. package/lib/response/upgrade-hcx-response.d.ts +1 -1
  294. package/lib/response/upgrade-hcx-response.js +1 -1
  295. package/lib/sddc-waiter.d.ts +1 -1
  296. package/lib/sddc-waiter.js +1 -1
  297. package/lib/workrequest-waiter.d.ts +1 -1
  298. package/lib/workrequest-waiter.js +1 -1
  299. package/package.json +3 -3
  300. package/lib/model/sddc-types.js.map +0 -1
  301. package/lib/model/sku.js.map +0 -1
  302. package/lib/model/supported-sku-summary-collection.js.map +0 -1
  303. package/lib/model/supported-sku-summary.js.map +0 -1
  304. package/lib/request/list-supported-skus-request.js.map +0 -1
  305. package/lib/response/list-supported-skus-response.js.map +0 -1
package/lib/client.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Use the Oracle Cloud VMware API to create SDDCs and manage ESXi hosts and software.
5
5
  For more information, see [Oracle Cloud VMware Solution](/iaas/Content/VMware/Concepts/ocvsoverview.htm).
6
6
 
7
- * OpenAPI spec version: 20200501
7
+ * OpenAPI spec version: 20230701
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OracleSDKGenerator.
@@ -42,9 +42,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  });
43
43
  };
44
44
  Object.defineProperty(exports, "__esModule", { value: true });
45
- exports.WorkRequestClient = exports.WorkRequestApiKeys = exports.SddcClient = exports.SddcApiKeys = exports.EsxiHostClient = exports.EsxiHostApiKeys = void 0;
45
+ exports.WorkRequestClient = exports.WorkRequestApiKeys = exports.SddcClient = exports.SddcApiKeys = exports.EsxiHostClient = exports.EsxiHostApiKeys = exports.ClusterClient = exports.ClusterApiKeys = void 0;
46
46
  const common = require("oci-common");
47
47
  const model = __importStar(require("./model"));
48
+ const cluster_waiter_1 = require("./cluster-waiter");
48
49
  const esxihost_waiter_1 = require("./esxihost-waiter");
49
50
  const sddc_waiter_1 = require("./sddc-waiter");
50
51
  const workrequest_waiter_1 = require("./workrequest-waiter");
@@ -52,6 +53,474 @@ const oci_common_1 = require("oci-common");
52
53
  // ===============================================
53
54
  // This file is autogenerated - Please do not edit
54
55
  // ===============================================
56
+ var ClusterApiKeys;
57
+ (function (ClusterApiKeys) {
58
+ })(ClusterApiKeys = exports.ClusterApiKeys || (exports.ClusterApiKeys = {}));
59
+ /**
60
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
61
+ */
62
+ class ClusterClient {
63
+ constructor(params, clientConfiguration) {
64
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
65
+ this["_endpoint"] = "";
66
+ this["_defaultHeaders"] = {};
67
+ this._circuitBreaker = null;
68
+ this._httpOptions = undefined;
69
+ this._bodyDuplexMode = undefined;
70
+ this.targetService = "Cluster";
71
+ this._regionId = "";
72
+ this._lastSetRegionOrRegionId = "";
73
+ const requestSigner = params.authenticationDetailsProvider
74
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
75
+ : null;
76
+ if (clientConfiguration) {
77
+ this._clientConfiguration = clientConfiguration;
78
+ this._circuitBreaker = clientConfiguration.circuitBreaker
79
+ ? clientConfiguration.circuitBreaker.circuit
80
+ : null;
81
+ this._httpOptions = clientConfiguration.httpOptions
82
+ ? clientConfiguration.httpOptions
83
+ : undefined;
84
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
85
+ ? clientConfiguration.bodyDuplexMode
86
+ : undefined;
87
+ }
88
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
89
+ const specCircuitBreakerEnabled = true;
90
+ if (!this._circuitBreaker &&
91
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
92
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
93
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
94
+ }
95
+ this._httpClient =
96
+ params.httpClient ||
97
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
98
+ if (params.authenticationDetailsProvider &&
99
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
100
+ const provider = params.authenticationDetailsProvider;
101
+ if (provider.getRegion()) {
102
+ this.region = provider.getRegion();
103
+ }
104
+ }
105
+ }
106
+ /**
107
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
108
+ */
109
+ get endpoint() {
110
+ return this._endpoint;
111
+ }
112
+ /**
113
+ * Sets the endpoint to call (ex, https://www.example.com).
114
+ * @param endpoint The endpoint of the service.
115
+ */
116
+ set endpoint(endpoint) {
117
+ this._endpoint = endpoint;
118
+ this._endpoint = this._endpoint + "/20230701";
119
+ if (this.logger)
120
+ this.logger.info(`ClusterClient endpoint set to ${this._endpoint}`);
121
+ }
122
+ get logger() {
123
+ return common.LOG.logger;
124
+ }
125
+ /**
126
+ * Determines whether realm specific endpoint should be used or not.
127
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
128
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
129
+ */
130
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
131
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
132
+ if (this.logger)
133
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
135
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ClusterClient.serviceEndpointTemplate, this._region, ClusterClient.endpointServiceName);
136
+ }
137
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
138
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ClusterClient.serviceEndpointTemplate, this._regionId, ClusterClient.endpointServiceName);
139
+ }
140
+ }
141
+ /**
142
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
143
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
144
+ * @param region The region of the service.
145
+ */
146
+ set region(region) {
147
+ this._region = region;
148
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ClusterClient.serviceEndpointTemplate, region, ClusterClient.endpointServiceName);
149
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
150
+ }
151
+ /**
152
+ * Sets the regionId to call (ex, 'us-phoenix-1').
153
+ *
154
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
155
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
156
+ * and then call {@link #endpoint(String) endpoint}.
157
+ * @param regionId The public region ID.
158
+ */
159
+ set regionId(regionId) {
160
+ this._regionId = regionId;
161
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ClusterClient.serviceEndpointTemplate, regionId, ClusterClient.endpointServiceName);
162
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
163
+ }
164
+ /**
165
+ * Creates a new ClusterWaiter for resources for this service.
166
+ *
167
+ * @param config The waiter configuration for termination and delay strategy
168
+ * @return The service waiters.
169
+ */
170
+ createWaiters(config) {
171
+ this._waiters = new cluster_waiter_1.ClusterWaiter(this, config);
172
+ return this._waiters;
173
+ }
174
+ /**
175
+ * Gets the waiters available for resources for this service.
176
+ *
177
+ * @return The service waiters.
178
+ */
179
+ getWaiters() {
180
+ if (this._waiters) {
181
+ return this._waiters;
182
+ }
183
+ throw Error("Waiters do not exist. Please create waiters.");
184
+ }
185
+ /**
186
+ * Create a vSphere Cluster in software-defined data center (SDDC).
187
+ * <p>
188
+ Use the {@link WorkRequest} operations to track the
189
+ * creation of the Cluster.
190
+ * <p>
191
+ **Important:** You must configure the Cluster's networking resources with the security rules detailed in [Security Rules for Oracle Cloud VMware Solution SDDCs](https://docs.cloud.oracle.com/iaas/Content/VMware/Reference/ocvssecurityrules.htm). Otherwise, provisioning the SDDC will fail. The rules are based on the requirements set by VMware.
192
+ *
193
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
194
+ * @param CreateClusterRequest
195
+ * @return CreateClusterResponse
196
+ * @throws OciError when an error occurs
197
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/CreateCluster.ts.html |here} to see how to use CreateCluster API.
198
+ */
199
+ createCluster(createClusterRequest) {
200
+ return __awaiter(this, void 0, void 0, function* () {
201
+ if (this.logger)
202
+ this.logger.debug("Calling operation ClusterClient#createCluster.");
203
+ const operationName = "createCluster";
204
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/CreateCluster";
205
+ const pathParams = {};
206
+ const queryParams = {};
207
+ let headerParams = {
208
+ "Content-Type": common.Constants.APPLICATION_JSON,
209
+ "opc-retry-token": createClusterRequest.opcRetryToken,
210
+ "opc-request-id": createClusterRequest.opcRequestId
211
+ };
212
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
213
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createClusterRequest.retryConfiguration, specRetryConfiguration);
214
+ if (this.logger)
215
+ retrier.logger = this.logger;
216
+ const request = yield oci_common_1.composeRequest({
217
+ baseEndpoint: this._endpoint,
218
+ defaultHeaders: this._defaultHeaders,
219
+ path: "/clusters",
220
+ method: "POST",
221
+ bodyContent: common.ObjectSerializer.serialize(createClusterRequest.createClusterDetails, "CreateClusterDetails", model.CreateClusterDetails.getJsonObj),
222
+ pathParams: pathParams,
223
+ headerParams: headerParams,
224
+ queryParams: queryParams
225
+ });
226
+ try {
227
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
228
+ const sdkResponse = oci_common_1.composeResponse({
229
+ responseObject: {},
230
+ responseHeaders: [
231
+ {
232
+ value: response.headers.get("opc-work-request-id"),
233
+ key: "opcWorkRequestId",
234
+ dataType: "string"
235
+ },
236
+ {
237
+ value: response.headers.get("opc-request-id"),
238
+ key: "opcRequestId",
239
+ dataType: "string"
240
+ }
241
+ ]
242
+ });
243
+ return sdkResponse;
244
+ }
245
+ catch (err) {
246
+ throw err;
247
+ }
248
+ });
249
+ }
250
+ /**
251
+ * Deletes the specified Cluster, along with the other resources that were
252
+ * created with the Cluster. For example: the Compute instances, DNS records,
253
+ * and so on.
254
+ * <p>
255
+ Use the {@link WorkRequest} operations to track the
256
+ * deletion of the Cluster.
257
+ *
258
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
259
+ * @param DeleteClusterRequest
260
+ * @return DeleteClusterResponse
261
+ * @throws OciError when an error occurs
262
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
263
+ */
264
+ deleteCluster(deleteClusterRequest) {
265
+ return __awaiter(this, void 0, void 0, function* () {
266
+ if (this.logger)
267
+ this.logger.debug("Calling operation ClusterClient#deleteCluster.");
268
+ const operationName = "deleteCluster";
269
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/DeleteCluster";
270
+ const pathParams = {
271
+ "{clusterId}": deleteClusterRequest.clusterId
272
+ };
273
+ const queryParams = {};
274
+ let headerParams = {
275
+ "Content-Type": common.Constants.APPLICATION_JSON,
276
+ "if-match": deleteClusterRequest.ifMatch,
277
+ "opc-request-id": deleteClusterRequest.opcRequestId
278
+ };
279
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
280
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteClusterRequest.retryConfiguration, specRetryConfiguration);
281
+ if (this.logger)
282
+ retrier.logger = this.logger;
283
+ const request = yield oci_common_1.composeRequest({
284
+ baseEndpoint: this._endpoint,
285
+ defaultHeaders: this._defaultHeaders,
286
+ path: "/clusters/{clusterId}",
287
+ method: "DELETE",
288
+ pathParams: pathParams,
289
+ headerParams: headerParams,
290
+ queryParams: queryParams
291
+ });
292
+ try {
293
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
294
+ const sdkResponse = oci_common_1.composeResponse({
295
+ responseObject: {},
296
+ responseHeaders: [
297
+ {
298
+ value: response.headers.get("opc-work-request-id"),
299
+ key: "opcWorkRequestId",
300
+ dataType: "string"
301
+ },
302
+ {
303
+ value: response.headers.get("opc-request-id"),
304
+ key: "opcRequestId",
305
+ dataType: "string"
306
+ }
307
+ ]
308
+ });
309
+ return sdkResponse;
310
+ }
311
+ catch (err) {
312
+ throw err;
313
+ }
314
+ });
315
+ }
316
+ /**
317
+ * Gets the specified Cluster's information.
318
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
319
+ * @param GetClusterRequest
320
+ * @return GetClusterResponse
321
+ * @throws OciError when an error occurs
322
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/GetCluster.ts.html |here} to see how to use GetCluster API.
323
+ */
324
+ getCluster(getClusterRequest) {
325
+ return __awaiter(this, void 0, void 0, function* () {
326
+ if (this.logger)
327
+ this.logger.debug("Calling operation ClusterClient#getCluster.");
328
+ const operationName = "getCluster";
329
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/GetCluster";
330
+ const pathParams = {
331
+ "{clusterId}": getClusterRequest.clusterId
332
+ };
333
+ const queryParams = {};
334
+ let headerParams = {
335
+ "Content-Type": common.Constants.APPLICATION_JSON,
336
+ "opc-request-id": getClusterRequest.opcRequestId
337
+ };
338
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
339
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getClusterRequest.retryConfiguration, specRetryConfiguration);
340
+ if (this.logger)
341
+ retrier.logger = this.logger;
342
+ const request = yield oci_common_1.composeRequest({
343
+ baseEndpoint: this._endpoint,
344
+ defaultHeaders: this._defaultHeaders,
345
+ path: "/clusters/{clusterId}",
346
+ method: "GET",
347
+ pathParams: pathParams,
348
+ headerParams: headerParams,
349
+ queryParams: queryParams
350
+ });
351
+ try {
352
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
353
+ const sdkResponse = oci_common_1.composeResponse({
354
+ responseObject: {},
355
+ body: yield response.json(),
356
+ bodyKey: "cluster",
357
+ bodyModel: model.Cluster,
358
+ type: "model.Cluster",
359
+ responseHeaders: [
360
+ {
361
+ value: response.headers.get("etag"),
362
+ key: "etag",
363
+ dataType: "string"
364
+ },
365
+ {
366
+ value: response.headers.get("opc-request-id"),
367
+ key: "opcRequestId",
368
+ dataType: "string"
369
+ }
370
+ ]
371
+ });
372
+ return sdkResponse;
373
+ }
374
+ catch (err) {
375
+ throw err;
376
+ }
377
+ });
378
+ }
379
+ /**
380
+ * Lists the Clusters in the specified compartment.
381
+ *
382
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
383
+ * @param ListClustersRequest
384
+ * @return ListClustersResponse
385
+ * @throws OciError when an error occurs
386
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListClusters.ts.html |here} to see how to use ListClusters API.
387
+ */
388
+ listClusters(listClustersRequest) {
389
+ return __awaiter(this, void 0, void 0, function* () {
390
+ if (this.logger)
391
+ this.logger.debug("Calling operation ClusterClient#listClusters.");
392
+ const operationName = "listClusters";
393
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/ClusterSummary/ListClusters";
394
+ const pathParams = {};
395
+ const queryParams = {
396
+ "sddcId": listClustersRequest.sddcId,
397
+ "displayName": listClustersRequest.displayName,
398
+ "limit": listClustersRequest.limit,
399
+ "page": listClustersRequest.page,
400
+ "sortOrder": listClustersRequest.sortOrder,
401
+ "sortBy": listClustersRequest.sortBy,
402
+ "lifecycleState": listClustersRequest.lifecycleState,
403
+ "compartmentId": listClustersRequest.compartmentId
404
+ };
405
+ let headerParams = {
406
+ "Content-Type": common.Constants.APPLICATION_JSON,
407
+ "opc-request-id": listClustersRequest.opcRequestId
408
+ };
409
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
410
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listClustersRequest.retryConfiguration, specRetryConfiguration);
411
+ if (this.logger)
412
+ retrier.logger = this.logger;
413
+ const request = yield oci_common_1.composeRequest({
414
+ baseEndpoint: this._endpoint,
415
+ defaultHeaders: this._defaultHeaders,
416
+ path: "/clusters",
417
+ method: "GET",
418
+ pathParams: pathParams,
419
+ headerParams: headerParams,
420
+ queryParams: queryParams
421
+ });
422
+ try {
423
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
424
+ const sdkResponse = oci_common_1.composeResponse({
425
+ responseObject: {},
426
+ body: yield response.json(),
427
+ bodyKey: "clusterCollection",
428
+ bodyModel: model.ClusterCollection,
429
+ type: "model.ClusterCollection",
430
+ responseHeaders: [
431
+ {
432
+ value: response.headers.get("opc-request-id"),
433
+ key: "opcRequestId",
434
+ dataType: "string"
435
+ },
436
+ {
437
+ value: response.headers.get("opc-next-page"),
438
+ key: "opcNextPage",
439
+ dataType: "string"
440
+ }
441
+ ]
442
+ });
443
+ return sdkResponse;
444
+ }
445
+ catch (err) {
446
+ throw err;
447
+ }
448
+ });
449
+ }
450
+ /**
451
+ * Updates the specified Cluster.
452
+ * <p>
453
+ **Important:** Updating a Cluster affects only certain attributes in the `Cluster`
454
+ * object and does not affect the VMware environment currently running in
455
+ * the Cluster.
456
+ *
457
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
458
+ * @param UpdateClusterRequest
459
+ * @return UpdateClusterResponse
460
+ * @throws OciError when an error occurs
461
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
462
+ */
463
+ updateCluster(updateClusterRequest) {
464
+ return __awaiter(this, void 0, void 0, function* () {
465
+ if (this.logger)
466
+ this.logger.debug("Calling operation ClusterClient#updateCluster.");
467
+ const operationName = "updateCluster";
468
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/UpdateCluster";
469
+ const pathParams = {
470
+ "{clusterId}": updateClusterRequest.clusterId
471
+ };
472
+ const queryParams = {};
473
+ let headerParams = {
474
+ "Content-Type": common.Constants.APPLICATION_JSON,
475
+ "if-match": updateClusterRequest.ifMatch,
476
+ "opc-request-id": updateClusterRequest.opcRequestId
477
+ };
478
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
479
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateClusterRequest.retryConfiguration, specRetryConfiguration);
480
+ if (this.logger)
481
+ retrier.logger = this.logger;
482
+ const request = yield oci_common_1.composeRequest({
483
+ baseEndpoint: this._endpoint,
484
+ defaultHeaders: this._defaultHeaders,
485
+ path: "/clusters/{clusterId}",
486
+ method: "PUT",
487
+ bodyContent: common.ObjectSerializer.serialize(updateClusterRequest.updateClusterDetails, "UpdateClusterDetails", model.UpdateClusterDetails.getJsonObj),
488
+ pathParams: pathParams,
489
+ headerParams: headerParams,
490
+ queryParams: queryParams
491
+ });
492
+ try {
493
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
494
+ const sdkResponse = oci_common_1.composeResponse({
495
+ responseObject: {},
496
+ body: yield response.json(),
497
+ bodyKey: "cluster",
498
+ bodyModel: model.Cluster,
499
+ type: "model.Cluster",
500
+ responseHeaders: [
501
+ {
502
+ value: response.headers.get("etag"),
503
+ key: "etag",
504
+ dataType: "string"
505
+ },
506
+ {
507
+ value: response.headers.get("opc-request-id"),
508
+ key: "opcRequestId",
509
+ dataType: "string"
510
+ }
511
+ ]
512
+ });
513
+ return sdkResponse;
514
+ }
515
+ catch (err) {
516
+ throw err;
517
+ }
518
+ });
519
+ }
520
+ }
521
+ exports.ClusterClient = ClusterClient;
522
+ ClusterClient.serviceEndpointTemplate = "https://ocvps.{region}.oci.{secondLevelDomain}";
523
+ ClusterClient.endpointServiceName = "";
55
524
  var EsxiHostApiKeys;
56
525
  (function (EsxiHostApiKeys) {
57
526
  })(EsxiHostApiKeys = exports.EsxiHostApiKeys || (exports.EsxiHostApiKeys = {}));
@@ -84,6 +553,10 @@ class EsxiHostClient {
84
553
  ? clientConfiguration.bodyDuplexMode
85
554
  : undefined;
86
555
  }
556
+ if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
557
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
558
+ throw errmsg.concat("ocvp");
559
+ }
87
560
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
88
561
  const specCircuitBreakerEnabled = true;
89
562
  if (!this._circuitBreaker &&
@@ -114,7 +587,7 @@ class EsxiHostClient {
114
587
  */
115
588
  set endpoint(endpoint) {
116
589
  this._endpoint = endpoint;
117
- this._endpoint = this._endpoint + "/20200501";
590
+ this._endpoint = this._endpoint + "/20230701";
118
591
  if (this.logger)
119
592
  this.logger.info(`EsxiHostClient endpoint set to ${this._endpoint}`);
120
593
  }
@@ -193,14 +666,14 @@ class EsxiHostClient {
193
666
  * @param CreateEsxiHostRequest
194
667
  * @return CreateEsxiHostResponse
195
668
  * @throws OciError when an error occurs
196
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
669
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
197
670
  */
198
671
  createEsxiHost(createEsxiHostRequest) {
199
672
  return __awaiter(this, void 0, void 0, function* () {
200
673
  if (this.logger)
201
674
  this.logger.debug("Calling operation EsxiHostClient#createEsxiHost.");
202
675
  const operationName = "createEsxiHost";
203
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/CreateEsxiHost";
676
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/CreateEsxiHost";
204
677
  const pathParams = {};
205
678
  const queryParams = {};
206
679
  let headerParams = {
@@ -266,14 +739,14 @@ class EsxiHostClient {
266
739
  * @param DeleteEsxiHostRequest
267
740
  * @return DeleteEsxiHostResponse
268
741
  * @throws OciError when an error occurs
269
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
742
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
270
743
  */
271
744
  deleteEsxiHost(deleteEsxiHostRequest) {
272
745
  return __awaiter(this, void 0, void 0, function* () {
273
746
  if (this.logger)
274
747
  this.logger.debug("Calling operation EsxiHostClient#deleteEsxiHost.");
275
748
  const operationName = "deleteEsxiHost";
276
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/DeleteEsxiHost";
749
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/DeleteEsxiHost";
277
750
  const pathParams = {
278
751
  "{esxiHostId}": deleteEsxiHostRequest.esxiHostId
279
752
  };
@@ -326,14 +799,14 @@ class EsxiHostClient {
326
799
  * @param GetEsxiHostRequest
327
800
  * @return GetEsxiHostResponse
328
801
  * @throws OciError when an error occurs
329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
802
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
330
803
  */
331
804
  getEsxiHost(getEsxiHostRequest) {
332
805
  return __awaiter(this, void 0, void 0, function* () {
333
806
  if (this.logger)
334
807
  this.logger.debug("Calling operation EsxiHostClient#getEsxiHost.");
335
808
  const operationName = "getEsxiHost";
336
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/GetEsxiHost";
809
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/GetEsxiHost";
337
810
  const pathParams = {
338
811
  "{esxiHostId}": getEsxiHostRequest.esxiHostId
339
812
  };
@@ -383,6 +856,68 @@ class EsxiHostClient {
383
856
  }
384
857
  });
385
858
  }
859
+ /**
860
+ * In-place upgrade a ESXi host.
861
+ *
862
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
863
+ * @param InplaceUpgradeRequest
864
+ * @return InplaceUpgradeResponse
865
+ * @throws OciError when an error occurs
866
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/InplaceUpgrade.ts.html |here} to see how to use InplaceUpgrade API.
867
+ */
868
+ inplaceUpgrade(inplaceUpgradeRequest) {
869
+ return __awaiter(this, void 0, void 0, function* () {
870
+ if (this.logger)
871
+ this.logger.debug("Calling operation EsxiHostClient#inplaceUpgrade.");
872
+ const operationName = "inplaceUpgrade";
873
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/InplaceUpgrade";
874
+ const pathParams = {
875
+ "{esxiHostId}": inplaceUpgradeRequest.esxiHostId
876
+ };
877
+ const queryParams = {};
878
+ let headerParams = {
879
+ "Content-Type": common.Constants.APPLICATION_JSON,
880
+ "opc-retry-token": inplaceUpgradeRequest.opcRetryToken,
881
+ "if-match": inplaceUpgradeRequest.ifMatch,
882
+ "opc-request-id": inplaceUpgradeRequest.opcRequestId
883
+ };
884
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
885
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, inplaceUpgradeRequest.retryConfiguration, specRetryConfiguration);
886
+ if (this.logger)
887
+ retrier.logger = this.logger;
888
+ const request = yield oci_common_1.composeRequest({
889
+ baseEndpoint: this._endpoint,
890
+ defaultHeaders: this._defaultHeaders,
891
+ path: "/esxiHosts/{esxiHostId}/actions/inplaceUpgrade",
892
+ method: "POST",
893
+ pathParams: pathParams,
894
+ headerParams: headerParams,
895
+ queryParams: queryParams
896
+ });
897
+ try {
898
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
899
+ const sdkResponse = oci_common_1.composeResponse({
900
+ responseObject: {},
901
+ responseHeaders: [
902
+ {
903
+ value: response.headers.get("opc-work-request-id"),
904
+ key: "opcWorkRequestId",
905
+ dataType: "string"
906
+ },
907
+ {
908
+ value: response.headers.get("opc-request-id"),
909
+ key: "opcRequestId",
910
+ dataType: "string"
911
+ }
912
+ ]
913
+ });
914
+ return sdkResponse;
915
+ }
916
+ catch (err) {
917
+ throw err;
918
+ }
919
+ });
920
+ }
386
921
  /**
387
922
  * Lists the ESXi hosts in the specified SDDC. The list can be filtered
388
923
  * by Compute instance OCID or ESXi display name.
@@ -398,17 +933,18 @@ class EsxiHostClient {
398
933
  * @param ListEsxiHostsRequest
399
934
  * @return ListEsxiHostsResponse
400
935
  * @throws OciError when an error occurs
401
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
936
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
402
937
  */
403
938
  listEsxiHosts(listEsxiHostsRequest) {
404
939
  return __awaiter(this, void 0, void 0, function* () {
405
940
  if (this.logger)
406
941
  this.logger.debug("Calling operation EsxiHostClient#listEsxiHosts.");
407
942
  const operationName = "listEsxiHosts";
408
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHostSummary/ListEsxiHosts";
943
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHostSummary/ListEsxiHosts";
409
944
  const pathParams = {};
410
945
  const queryParams = {
411
946
  "sddcId": listEsxiHostsRequest.sddcId,
947
+ "clusterId": listEsxiHostsRequest.clusterId,
412
948
  "computeInstanceId": listEsxiHostsRequest.computeInstanceId,
413
949
  "displayName": listEsxiHostsRequest.displayName,
414
950
  "limit": listEsxiHostsRequest.limit,
@@ -465,6 +1001,69 @@ class EsxiHostClient {
465
1001
  }
466
1002
  });
467
1003
  }
1004
+ /**
1005
+ * Replace a faulty ESXi host whose underlying bare metal is broken
1006
+ *
1007
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1008
+ * @param ReplaceHostRequest
1009
+ * @return ReplaceHostResponse
1010
+ * @throws OciError when an error occurs
1011
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ReplaceHost.ts.html |here} to see how to use ReplaceHost API.
1012
+ */
1013
+ replaceHost(replaceHostRequest) {
1014
+ return __awaiter(this, void 0, void 0, function* () {
1015
+ if (this.logger)
1016
+ this.logger.debug("Calling operation EsxiHostClient#replaceHost.");
1017
+ const operationName = "replaceHost";
1018
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/ReplaceHost";
1019
+ const pathParams = {
1020
+ "{esxiHostId}": replaceHostRequest.esxiHostId
1021
+ };
1022
+ const queryParams = {};
1023
+ let headerParams = {
1024
+ "Content-Type": common.Constants.APPLICATION_JSON,
1025
+ "opc-retry-token": replaceHostRequest.opcRetryToken,
1026
+ "if-match": replaceHostRequest.ifMatch,
1027
+ "opc-request-id": replaceHostRequest.opcRequestId
1028
+ };
1029
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1030
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, replaceHostRequest.retryConfiguration, specRetryConfiguration);
1031
+ if (this.logger)
1032
+ retrier.logger = this.logger;
1033
+ const request = yield oci_common_1.composeRequest({
1034
+ baseEndpoint: this._endpoint,
1035
+ defaultHeaders: this._defaultHeaders,
1036
+ path: "/esxiHosts/{esxiHostId}/actions/replaceHost",
1037
+ method: "POST",
1038
+ bodyContent: common.ObjectSerializer.serialize(replaceHostRequest.replaceHostDetails, "ReplaceHostDetails", model.ReplaceHostDetails.getJsonObj),
1039
+ pathParams: pathParams,
1040
+ headerParams: headerParams,
1041
+ queryParams: queryParams
1042
+ });
1043
+ try {
1044
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1045
+ const sdkResponse = oci_common_1.composeResponse({
1046
+ responseObject: {},
1047
+ responseHeaders: [
1048
+ {
1049
+ value: response.headers.get("opc-work-request-id"),
1050
+ key: "opcWorkRequestId",
1051
+ dataType: "string"
1052
+ },
1053
+ {
1054
+ value: response.headers.get("opc-request-id"),
1055
+ key: "opcRequestId",
1056
+ dataType: "string"
1057
+ }
1058
+ ]
1059
+ });
1060
+ return sdkResponse;
1061
+ }
1062
+ catch (err) {
1063
+ throw err;
1064
+ }
1065
+ });
1066
+ }
468
1067
  /**
469
1068
  * Swap billing between two Active ESXi hosts.
470
1069
  *
@@ -472,14 +1071,14 @@ class EsxiHostClient {
472
1071
  * @param SwapBillingRequest
473
1072
  * @return SwapBillingResponse
474
1073
  * @throws OciError when an error occurs
475
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/SwapBilling.ts.html |here} to see how to use SwapBilling API.
1074
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/SwapBilling.ts.html |here} to see how to use SwapBilling API.
476
1075
  */
477
1076
  swapBilling(swapBillingRequest) {
478
1077
  return __awaiter(this, void 0, void 0, function* () {
479
1078
  if (this.logger)
480
1079
  this.logger.debug("Calling operation EsxiHostClient#swapBilling.");
481
1080
  const operationName = "swapBilling";
482
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/SwapBilling";
1081
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/SwapBilling";
483
1082
  const pathParams = {
484
1083
  "{esxiHostId}": swapBillingRequest.esxiHostId
485
1084
  };
@@ -535,14 +1134,14 @@ class EsxiHostClient {
535
1134
  * @param UpdateEsxiHostRequest
536
1135
  * @return UpdateEsxiHostResponse
537
1136
  * @throws OciError when an error occurs
538
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
1137
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
539
1138
  */
540
1139
  updateEsxiHost(updateEsxiHostRequest) {
541
1140
  return __awaiter(this, void 0, void 0, function* () {
542
1141
  if (this.logger)
543
1142
  this.logger.debug("Calling operation EsxiHostClient#updateEsxiHost.");
544
1143
  const operationName = "updateEsxiHost";
545
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/UpdateEsxiHost";
1144
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/UpdateEsxiHost";
546
1145
  const pathParams = {
547
1146
  "{esxiHostId}": updateEsxiHostRequest.esxiHostId
548
1147
  };
@@ -630,6 +1229,10 @@ class SddcClient {
630
1229
  ? clientConfiguration.bodyDuplexMode
631
1230
  : undefined;
632
1231
  }
1232
+ if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
1233
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
1234
+ throw errmsg.concat("ocvp");
1235
+ }
633
1236
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
634
1237
  const specCircuitBreakerEnabled = true;
635
1238
  if (!this._circuitBreaker &&
@@ -660,7 +1263,7 @@ class SddcClient {
660
1263
  */
661
1264
  set endpoint(endpoint) {
662
1265
  this._endpoint = endpoint;
663
- this._endpoint = this._endpoint + "/20200501";
1266
+ this._endpoint = this._endpoint + "/20230701";
664
1267
  if (this.logger)
665
1268
  this.logger.info(`SddcClient endpoint set to ${this._endpoint}`);
666
1269
  }
@@ -734,14 +1337,14 @@ class SddcClient {
734
1337
  * @param CancelDowngradeHcxRequest
735
1338
  * @return CancelDowngradeHcxResponse
736
1339
  * @throws OciError when an error occurs
737
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
1340
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
738
1341
  */
739
1342
  cancelDowngradeHcx(cancelDowngradeHcxRequest) {
740
1343
  return __awaiter(this, void 0, void 0, function* () {
741
1344
  if (this.logger)
742
1345
  this.logger.debug("Calling operation SddcClient#cancelDowngradeHcx.");
743
1346
  const operationName = "cancelDowngradeHcx";
744
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/CancelDowngradeHcx";
1347
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/CancelDowngradeHcx";
745
1348
  const pathParams = {
746
1349
  "{sddcId}": cancelDowngradeHcxRequest.sddcId
747
1350
  };
@@ -798,14 +1401,14 @@ class SddcClient {
798
1401
  * @param ChangeSddcCompartmentRequest
799
1402
  * @return ChangeSddcCompartmentResponse
800
1403
  * @throws OciError when an error occurs
801
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
1404
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
802
1405
  */
803
1406
  changeSddcCompartment(changeSddcCompartmentRequest) {
804
1407
  return __awaiter(this, void 0, void 0, function* () {
805
1408
  if (this.logger)
806
1409
  this.logger.debug("Calling operation SddcClient#changeSddcCompartment.");
807
1410
  const operationName = "changeSddcCompartment";
808
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/ChangeSddcCompartment";
1411
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/ChangeSddcCompartment";
809
1412
  const pathParams = {
810
1413
  "{sddcId}": changeSddcCompartmentRequest.sddcId
811
1414
  };
@@ -861,14 +1464,14 @@ class SddcClient {
861
1464
  * @param CreateSddcRequest
862
1465
  * @return CreateSddcResponse
863
1466
  * @throws OciError when an error occurs
864
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
1467
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
865
1468
  */
866
1469
  createSddc(createSddcRequest) {
867
1470
  return __awaiter(this, void 0, void 0, function* () {
868
1471
  if (this.logger)
869
1472
  this.logger.debug("Calling operation SddcClient#createSddc.");
870
1473
  const operationName = "createSddc";
871
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/CreateSddc";
1474
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/CreateSddc";
872
1475
  const pathParams = {};
873
1476
  const queryParams = {};
874
1477
  let headerParams = {
@@ -926,14 +1529,14 @@ class SddcClient {
926
1529
  * @param DeleteSddcRequest
927
1530
  * @return DeleteSddcResponse
928
1531
  * @throws OciError when an error occurs
929
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
1532
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
930
1533
  */
931
1534
  deleteSddc(deleteSddcRequest) {
932
1535
  return __awaiter(this, void 0, void 0, function* () {
933
1536
  if (this.logger)
934
1537
  this.logger.debug("Calling operation SddcClient#deleteSddc.");
935
1538
  const operationName = "deleteSddc";
936
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/DeleteSddc";
1539
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/DeleteSddc";
937
1540
  const pathParams = {
938
1541
  "{sddcId}": deleteSddcRequest.sddcId
939
1542
  };
@@ -991,14 +1594,14 @@ class SddcClient {
991
1594
  * @param DowngradeHcxRequest
992
1595
  * @return DowngradeHcxResponse
993
1596
  * @throws OciError when an error occurs
994
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
1597
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
995
1598
  */
996
1599
  downgradeHcx(downgradeHcxRequest) {
997
1600
  return __awaiter(this, void 0, void 0, function* () {
998
1601
  if (this.logger)
999
1602
  this.logger.debug("Calling operation SddcClient#downgradeHcx.");
1000
1603
  const operationName = "downgradeHcx";
1001
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/DowngradeHcx";
1604
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/DowngradeHcx";
1002
1605
  const pathParams = {
1003
1606
  "{sddcId}": downgradeHcxRequest.sddcId
1004
1607
  };
@@ -1053,14 +1656,14 @@ class SddcClient {
1053
1656
  * @param GetSddcRequest
1054
1657
  * @return GetSddcResponse
1055
1658
  * @throws OciError when an error occurs
1056
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
1659
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
1057
1660
  */
1058
1661
  getSddc(getSddcRequest) {
1059
1662
  return __awaiter(this, void 0, void 0, function* () {
1060
1663
  if (this.logger)
1061
1664
  this.logger.debug("Calling operation SddcClient#getSddc.");
1062
1665
  const operationName = "getSddc";
1063
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/GetSddc";
1666
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/GetSddc";
1064
1667
  const pathParams = {
1065
1668
  "{sddcId}": getSddcRequest.sddcId
1066
1669
  };
@@ -1118,14 +1721,14 @@ class SddcClient {
1118
1721
  * @param ListSddcsRequest
1119
1722
  * @return ListSddcsResponse
1120
1723
  * @throws OciError when an error occurs
1121
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
1724
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
1122
1725
  */
1123
1726
  listSddcs(listSddcsRequest) {
1124
1727
  return __awaiter(this, void 0, void 0, function* () {
1125
1728
  if (this.logger)
1126
1729
  this.logger.debug("Calling operation SddcClient#listSddcs.");
1127
1730
  const operationName = "listSddcs";
1128
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SddcSummary/ListSddcs";
1731
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SddcSummary/ListSddcs";
1129
1732
  const pathParams = {};
1130
1733
  const queryParams = {
1131
1734
  "compartmentId": listSddcsRequest.compartmentId,
@@ -1183,40 +1786,39 @@ class SddcClient {
1183
1786
  });
1184
1787
  }
1185
1788
  /**
1186
- * Lists supported compute shapes for ESXi hosts.
1789
+ * Lists supported Commitments.
1187
1790
  *
1188
1791
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1189
- * @param ListSupportedHostShapesRequest
1190
- * @return ListSupportedHostShapesResponse
1792
+ * @param ListSupportedCommitmentsRequest
1793
+ * @return ListSupportedCommitmentsResponse
1191
1794
  * @throws OciError when an error occurs
1192
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
1795
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListSupportedCommitments.ts.html |here} to see how to use ListSupportedCommitments API.
1193
1796
  */
1194
- listSupportedHostShapes(listSupportedHostShapesRequest) {
1797
+ listSupportedCommitments(listSupportedCommitmentsRequest) {
1195
1798
  return __awaiter(this, void 0, void 0, function* () {
1196
1799
  if (this.logger)
1197
- this.logger.debug("Calling operation SddcClient#listSupportedHostShapes.");
1198
- const operationName = "listSupportedHostShapes";
1199
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapeSummary/ListSupportedHostShapes";
1800
+ this.logger.debug("Calling operation SddcClient#listSupportedCommitments.");
1801
+ const operationName = "listSupportedCommitments";
1802
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SupportedCommitmentSummary/ListSupportedCommitments";
1200
1803
  const pathParams = {};
1201
1804
  const queryParams = {
1202
- "compartmentId": listSupportedHostShapesRequest.compartmentId,
1203
- "limit": listSupportedHostShapesRequest.limit,
1204
- "page": listSupportedHostShapesRequest.page,
1205
- "name": listSupportedHostShapesRequest.name,
1206
- "sddcType": listSupportedHostShapesRequest.sddcType
1805
+ "compartmentId": listSupportedCommitmentsRequest.compartmentId,
1806
+ "limit": listSupportedCommitmentsRequest.limit,
1807
+ "page": listSupportedCommitmentsRequest.page,
1808
+ "hostShapeName": listSupportedCommitmentsRequest.hostShapeName
1207
1809
  };
1208
1810
  let headerParams = {
1209
1811
  "Content-Type": common.Constants.APPLICATION_JSON,
1210
- "opc-request-id": listSupportedHostShapesRequest.opcRequestId
1812
+ "opc-request-id": listSupportedCommitmentsRequest.opcRequestId
1211
1813
  };
1212
1814
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1213
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedHostShapesRequest.retryConfiguration, specRetryConfiguration);
1815
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedCommitmentsRequest.retryConfiguration, specRetryConfiguration);
1214
1816
  if (this.logger)
1215
1817
  retrier.logger = this.logger;
1216
1818
  const request = yield oci_common_1.composeRequest({
1217
1819
  baseEndpoint: this._endpoint,
1218
1820
  defaultHeaders: this._defaultHeaders,
1219
- path: "/supportedHostShapes",
1821
+ path: "/supportedCommitments",
1220
1822
  method: "GET",
1221
1823
  pathParams: pathParams,
1222
1824
  headerParams: headerParams,
@@ -1227,9 +1829,9 @@ class SddcClient {
1227
1829
  const sdkResponse = oci_common_1.composeResponse({
1228
1830
  responseObject: {},
1229
1831
  body: yield response.json(),
1230
- bodyKey: "supportedHostShapeCollection",
1231
- bodyModel: model.SupportedHostShapeCollection,
1232
- type: "model.SupportedHostShapeCollection",
1832
+ bodyKey: "supportedCommitmentSummaryCollection",
1833
+ bodyModel: model.SupportedCommitmentSummaryCollection,
1834
+ type: "model.SupportedCommitmentSummaryCollection",
1233
1835
  responseHeaders: [
1234
1836
  {
1235
1837
  value: response.headers.get("opc-request-id"),
@@ -1251,39 +1853,41 @@ class SddcClient {
1251
1853
  });
1252
1854
  }
1253
1855
  /**
1254
- * Lists supported SKUs.
1856
+ * Lists supported compute shapes for ESXi hosts.
1255
1857
  *
1256
1858
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1257
- * @param ListSupportedSkusRequest
1258
- * @return ListSupportedSkusResponse
1859
+ * @param ListSupportedHostShapesRequest
1860
+ * @return ListSupportedHostShapesResponse
1259
1861
  * @throws OciError when an error occurs
1260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListSupportedSkus.ts.html |here} to see how to use ListSupportedSkus API.
1862
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
1261
1863
  */
1262
- listSupportedSkus(listSupportedSkusRequest) {
1864
+ listSupportedHostShapes(listSupportedHostShapesRequest) {
1263
1865
  return __awaiter(this, void 0, void 0, function* () {
1264
1866
  if (this.logger)
1265
- this.logger.debug("Calling operation SddcClient#listSupportedSkus.");
1266
- const operationName = "listSupportedSkus";
1267
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus";
1867
+ this.logger.debug("Calling operation SddcClient#listSupportedHostShapes.");
1868
+ const operationName = "listSupportedHostShapes";
1869
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SupportedHostShapeSummary/ListSupportedHostShapes";
1268
1870
  const pathParams = {};
1269
1871
  const queryParams = {
1270
- "compartmentId": listSupportedSkusRequest.compartmentId,
1271
- "limit": listSupportedSkusRequest.limit,
1272
- "page": listSupportedSkusRequest.page,
1273
- "hostShapeName": listSupportedSkusRequest.hostShapeName
1872
+ "compartmentId": listSupportedHostShapesRequest.compartmentId,
1873
+ "limit": listSupportedHostShapesRequest.limit,
1874
+ "page": listSupportedHostShapesRequest.page,
1875
+ "name": listSupportedHostShapesRequest.name,
1876
+ "isSingleHostSddcSupported": listSupportedHostShapesRequest.isSingleHostSddcSupported,
1877
+ "initialHostShapeName": listSupportedHostShapesRequest.initialHostShapeName
1274
1878
  };
1275
1879
  let headerParams = {
1276
1880
  "Content-Type": common.Constants.APPLICATION_JSON,
1277
- "opc-request-id": listSupportedSkusRequest.opcRequestId
1881
+ "opc-request-id": listSupportedHostShapesRequest.opcRequestId
1278
1882
  };
1279
1883
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1280
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedSkusRequest.retryConfiguration, specRetryConfiguration);
1884
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedHostShapesRequest.retryConfiguration, specRetryConfiguration);
1281
1885
  if (this.logger)
1282
1886
  retrier.logger = this.logger;
1283
1887
  const request = yield oci_common_1.composeRequest({
1284
1888
  baseEndpoint: this._endpoint,
1285
1889
  defaultHeaders: this._defaultHeaders,
1286
- path: "/supportedSkus",
1890
+ path: "/supportedHostShapes",
1287
1891
  method: "GET",
1288
1892
  pathParams: pathParams,
1289
1893
  headerParams: headerParams,
@@ -1294,9 +1898,9 @@ class SddcClient {
1294
1898
  const sdkResponse = oci_common_1.composeResponse({
1295
1899
  responseObject: {},
1296
1900
  body: yield response.json(),
1297
- bodyKey: "supportedSkuSummaryCollection",
1298
- bodyModel: model.SupportedSkuSummaryCollection,
1299
- type: "model.SupportedSkuSummaryCollection",
1901
+ bodyKey: "supportedHostShapeCollection",
1902
+ bodyModel: model.SupportedHostShapeCollection,
1903
+ type: "model.SupportedHostShapeCollection",
1300
1904
  responseHeaders: [
1301
1905
  {
1302
1906
  value: response.headers.get("opc-request-id"),
@@ -1325,19 +1929,21 @@ class SddcClient {
1325
1929
  * @param ListSupportedVmwareSoftwareVersionsRequest
1326
1930
  * @return ListSupportedVmwareSoftwareVersionsResponse
1327
1931
  * @throws OciError when an error occurs
1328
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
1932
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
1329
1933
  */
1330
1934
  listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
1331
1935
  return __awaiter(this, void 0, void 0, function* () {
1332
1936
  if (this.logger)
1333
1937
  this.logger.debug("Calling operation SddcClient#listSupportedVmwareSoftwareVersions.");
1334
1938
  const operationName = "listSupportedVmwareSoftwareVersions";
1335
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SupportedVmwareSoftwareVersionSummary/ListSupportedVmwareSoftwareVersions";
1939
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SupportedVmwareSoftwareVersionSummary/ListSupportedVmwareSoftwareVersions";
1336
1940
  const pathParams = {};
1337
1941
  const queryParams = {
1338
1942
  "compartmentId": listSupportedVmwareSoftwareVersionsRequest.compartmentId,
1339
1943
  "limit": listSupportedVmwareSoftwareVersionsRequest.limit,
1340
- "page": listSupportedVmwareSoftwareVersionsRequest.page
1944
+ "page": listSupportedVmwareSoftwareVersionsRequest.page,
1945
+ "version": listSupportedVmwareSoftwareVersionsRequest.version,
1946
+ "hostShapeName": listSupportedVmwareSoftwareVersionsRequest.hostShapeName
1341
1947
  };
1342
1948
  let headerParams = {
1343
1949
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -1390,14 +1996,14 @@ class SddcClient {
1390
1996
  * @param RefreshHcxLicenseStatusRequest
1391
1997
  * @return RefreshHcxLicenseStatusResponse
1392
1998
  * @throws OciError when an error occurs
1393
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
1999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
1394
2000
  */
1395
2001
  refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
1396
2002
  return __awaiter(this, void 0, void 0, function* () {
1397
2003
  if (this.logger)
1398
2004
  this.logger.debug("Calling operation SddcClient#refreshHcxLicenseStatus.");
1399
2005
  const operationName = "refreshHcxLicenseStatus";
1400
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/RefreshHcxLicenseStatus";
2006
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/RefreshHcxLicenseStatus";
1401
2007
  const pathParams = {
1402
2008
  "{sddcId}": refreshHcxLicenseStatusRequest.sddcId
1403
2009
  };
@@ -1445,6 +2051,74 @@ class SddcClient {
1445
2051
  }
1446
2052
  });
1447
2053
  }
2054
+ /**
2055
+ * Retrieve the SDDC password.
2056
+ *
2057
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2058
+ * @param RetrievePasswordRequest
2059
+ * @return RetrievePasswordResponse
2060
+ * @throws OciError when an error occurs
2061
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/RetrievePassword.ts.html |here} to see how to use RetrievePassword API.
2062
+ */
2063
+ retrievePassword(retrievePasswordRequest) {
2064
+ return __awaiter(this, void 0, void 0, function* () {
2065
+ if (this.logger)
2066
+ this.logger.debug("Calling operation SddcClient#retrievePassword.");
2067
+ const operationName = "retrievePassword";
2068
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/RetrievePassword";
2069
+ const pathParams = {
2070
+ "{sddcId}": retrievePasswordRequest.sddcId
2071
+ };
2072
+ const queryParams = {
2073
+ "type": retrievePasswordRequest.type
2074
+ };
2075
+ let headerParams = {
2076
+ "Content-Type": common.Constants.APPLICATION_JSON,
2077
+ "if-match": retrievePasswordRequest.ifMatch,
2078
+ "opc-request-id": retrievePasswordRequest.opcRequestId,
2079
+ "opc-retry-token": retrievePasswordRequest.opcRetryToken
2080
+ };
2081
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2082
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrievePasswordRequest.retryConfiguration, specRetryConfiguration);
2083
+ if (this.logger)
2084
+ retrier.logger = this.logger;
2085
+ const request = yield oci_common_1.composeRequest({
2086
+ baseEndpoint: this._endpoint,
2087
+ defaultHeaders: this._defaultHeaders,
2088
+ path: "/sddcs/{sddcId}/actions/retrievePassword",
2089
+ method: "POST",
2090
+ pathParams: pathParams,
2091
+ headerParams: headerParams,
2092
+ queryParams: queryParams
2093
+ });
2094
+ try {
2095
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2096
+ const sdkResponse = oci_common_1.composeResponse({
2097
+ responseObject: {},
2098
+ body: yield response.json(),
2099
+ bodyKey: "sddcPassword",
2100
+ bodyModel: model.SddcPassword,
2101
+ type: "model.SddcPassword",
2102
+ responseHeaders: [
2103
+ {
2104
+ value: response.headers.get("etag"),
2105
+ key: "etag",
2106
+ dataType: "string"
2107
+ },
2108
+ {
2109
+ value: response.headers.get("opc-request-id"),
2110
+ key: "opcRequestId",
2111
+ dataType: "string"
2112
+ }
2113
+ ]
2114
+ });
2115
+ return sdkResponse;
2116
+ }
2117
+ catch (err) {
2118
+ throw err;
2119
+ }
2120
+ });
2121
+ }
1448
2122
  /**
1449
2123
  * Updates the specified SDDC.
1450
2124
  * <p>
@@ -1457,14 +2131,14 @@ class SddcClient {
1457
2131
  * @param UpdateSddcRequest
1458
2132
  * @return UpdateSddcResponse
1459
2133
  * @throws OciError when an error occurs
1460
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
2134
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
1461
2135
  */
1462
2136
  updateSddc(updateSddcRequest) {
1463
2137
  return __awaiter(this, void 0, void 0, function* () {
1464
2138
  if (this.logger)
1465
2139
  this.logger.debug("Calling operation SddcClient#updateSddc.");
1466
2140
  const operationName = "updateSddc";
1467
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/UpdateSddc";
2141
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/UpdateSddc";
1468
2142
  const pathParams = {
1469
2143
  "{sddcId}": updateSddcRequest.sddcId
1470
2144
  };
@@ -1523,14 +2197,14 @@ class SddcClient {
1523
2197
  * @param UpgradeHcxRequest
1524
2198
  * @return UpgradeHcxResponse
1525
2199
  * @throws OciError when an error occurs
1526
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
2200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
1527
2201
  */
1528
2202
  upgradeHcx(upgradeHcxRequest) {
1529
2203
  return __awaiter(this, void 0, void 0, function* () {
1530
2204
  if (this.logger)
1531
2205
  this.logger.debug("Calling operation SddcClient#upgradeHcx.");
1532
2206
  const operationName = "upgradeHcx";
1533
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/UpgradeHcx";
2207
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/UpgradeHcx";
1534
2208
  const pathParams = {
1535
2209
  "{sddcId}": upgradeHcxRequest.sddcId
1536
2210
  };
@@ -1614,6 +2288,10 @@ class WorkRequestClient {
1614
2288
  ? clientConfiguration.bodyDuplexMode
1615
2289
  : undefined;
1616
2290
  }
2291
+ if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
2292
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
2293
+ throw errmsg.concat("ocvp");
2294
+ }
1617
2295
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
1618
2296
  const specCircuitBreakerEnabled = true;
1619
2297
  if (!this._circuitBreaker &&
@@ -1644,7 +2322,7 @@ class WorkRequestClient {
1644
2322
  */
1645
2323
  set endpoint(endpoint) {
1646
2324
  this._endpoint = endpoint;
1647
- this._endpoint = this._endpoint + "/20200501";
2325
+ this._endpoint = this._endpoint + "/20230701";
1648
2326
  if (this.logger)
1649
2327
  this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
1650
2328
  }
@@ -1717,14 +2395,14 @@ class WorkRequestClient {
1717
2395
  * @param GetWorkRequestRequest
1718
2396
  * @return GetWorkRequestResponse
1719
2397
  * @throws OciError when an error occurs
1720
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
2398
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1721
2399
  */
1722
2400
  getWorkRequest(getWorkRequestRequest) {
1723
2401
  return __awaiter(this, void 0, void 0, function* () {
1724
2402
  if (this.logger)
1725
2403
  this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
1726
2404
  const operationName = "getWorkRequest";
1727
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequest/GetWorkRequest";
2405
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequest/GetWorkRequest";
1728
2406
  const pathParams = {
1729
2407
  "{workRequestId}": getWorkRequestRequest.workRequestId
1730
2408
  };
@@ -1781,14 +2459,14 @@ class WorkRequestClient {
1781
2459
  * @param ListWorkRequestErrorsRequest
1782
2460
  * @return ListWorkRequestErrorsResponse
1783
2461
  * @throws OciError when an error occurs
1784
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1785
2463
  */
1786
2464
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1787
2465
  return __awaiter(this, void 0, void 0, function* () {
1788
2466
  if (this.logger)
1789
2467
  this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
1790
2468
  const operationName = "listWorkRequestErrors";
1791
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequestError/ListWorkRequestErrors";
2469
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequestError/ListWorkRequestErrors";
1792
2470
  const pathParams = {
1793
2471
  "{workRequestId}": listWorkRequestErrorsRequest.workRequestId
1794
2472
  };
@@ -1848,14 +2526,14 @@ class WorkRequestClient {
1848
2526
  * @param ListWorkRequestLogsRequest
1849
2527
  * @return ListWorkRequestLogsResponse
1850
2528
  * @throws OciError when an error occurs
1851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2529
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1852
2530
  */
1853
2531
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1854
2532
  return __awaiter(this, void 0, void 0, function* () {
1855
2533
  if (this.logger)
1856
2534
  this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
1857
2535
  const operationName = "listWorkRequestLogs";
1858
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequestLogEntry/ListWorkRequestLogs";
2536
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequestLogEntry/ListWorkRequestLogs";
1859
2537
  const pathParams = {
1860
2538
  "{workRequestId}": listWorkRequestLogsRequest.workRequestId
1861
2539
  };
@@ -1915,14 +2593,14 @@ class WorkRequestClient {
1915
2593
  * @param ListWorkRequestsRequest
1916
2594
  * @return ListWorkRequestsResponse
1917
2595
  * @throws OciError when an error occurs
1918
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.74.0/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2596
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1919
2597
  */
1920
2598
  listWorkRequests(listWorkRequestsRequest) {
1921
2599
  return __awaiter(this, void 0, void 0, function* () {
1922
2600
  if (this.logger)
1923
2601
  this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
1924
2602
  const operationName = "listWorkRequests";
1925
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequest/ListWorkRequests";
2603
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequest/ListWorkRequests";
1926
2604
  const pathParams = {};
1927
2605
  const queryParams = {
1928
2606
  "compartmentId": listWorkRequestsRequest.compartmentId,