@azure/arm-healthdataaiservices 1.0.0-alpha.20241127.1 → 1.0.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 (473) hide show
  1. package/CHANGELOG.md +3 -13
  2. package/README.md +10 -4
  3. package/dist/browser/api/deidServices/index.d.ts +16 -17
  4. package/dist/browser/api/deidServices/index.d.ts.map +1 -1
  5. package/dist/browser/api/deidServices/index.js +31 -423
  6. package/dist/browser/api/deidServices/index.js.map +1 -1
  7. package/dist/browser/api/healthDataAIServicesContext.d.ts +4 -4
  8. package/dist/browser/api/healthDataAIServicesContext.d.ts.map +1 -1
  9. package/dist/browser/api/healthDataAIServicesContext.js +28 -6
  10. package/dist/browser/api/healthDataAIServicesContext.js.map +1 -1
  11. package/dist/browser/api/index.d.ts +2 -1
  12. package/dist/browser/api/index.d.ts.map +1 -1
  13. package/dist/browser/api/index.js.map +1 -1
  14. package/dist/browser/api/operations/index.d.ts +6 -7
  15. package/dist/browser/api/operations/index.d.ts.map +1 -1
  16. package/dist/browser/api/operations/index.js +7 -25
  17. package/dist/browser/api/operations/index.js.map +1 -1
  18. package/dist/browser/api/options.d.ts.map +1 -0
  19. package/dist/browser/api/options.js.map +1 -0
  20. package/dist/browser/api/privateEndpointConnections/index.d.ts +12 -13
  21. package/dist/browser/api/privateEndpointConnections/index.d.ts.map +1 -1
  22. package/dist/browser/api/privateEndpointConnections/index.js +21 -125
  23. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
  24. package/dist/browser/api/privateLinks/index.d.ts +6 -7
  25. package/dist/browser/api/privateLinks/index.d.ts.map +1 -1
  26. package/dist/browser/api/privateLinks/index.js +7 -37
  27. package/dist/browser/api/privateLinks/index.js.map +1 -1
  28. package/dist/browser/classic/deidServices/index.d.ts +4 -4
  29. package/dist/browser/classic/deidServices/index.d.ts.map +1 -1
  30. package/dist/browser/classic/deidServices/index.js.map +1 -1
  31. package/dist/browser/classic/operations/index.d.ts +3 -3
  32. package/dist/browser/classic/operations/index.d.ts.map +1 -1
  33. package/dist/browser/classic/operations/index.js.map +1 -1
  34. package/dist/browser/classic/privateEndpointConnections/index.d.ts +3 -3
  35. package/dist/browser/classic/privateEndpointConnections/index.d.ts.map +1 -1
  36. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
  37. package/dist/browser/classic/privateLinks/index.d.ts +3 -3
  38. package/dist/browser/classic/privateLinks/index.d.ts.map +1 -1
  39. package/dist/browser/classic/privateLinks/index.js.map +1 -1
  40. package/dist/browser/healthDataAIServicesClient.d.ts +2 -2
  41. package/dist/browser/healthDataAIServicesClient.d.ts.map +1 -1
  42. package/dist/browser/healthDataAIServicesClient.js +1 -1
  43. package/dist/browser/healthDataAIServicesClient.js.map +1 -1
  44. package/dist/browser/index.d.ts +5 -2
  45. package/dist/browser/index.d.ts.map +1 -1
  46. package/dist/browser/index.js +2 -2
  47. package/dist/browser/index.js.map +1 -1
  48. package/dist/browser/models/index.d.ts +1 -3
  49. package/dist/browser/models/index.d.ts.map +1 -1
  50. package/dist/browser/models/index.js +1 -1
  51. package/dist/browser/models/index.js.map +1 -1
  52. package/dist/browser/models/models.d.ts +140 -125
  53. package/dist/browser/models/models.d.ts.map +1 -1
  54. package/dist/browser/models/models.js +318 -72
  55. package/dist/browser/models/models.js.map +1 -1
  56. package/dist/browser/restorePollerHelpers.d.ts +2 -2
  57. package/dist/browser/restorePollerHelpers.d.ts.map +1 -1
  58. package/dist/browser/restorePollerHelpers.js +26 -10
  59. package/dist/browser/restorePollerHelpers.js.map +1 -1
  60. package/dist/browser/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  61. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  62. package/dist/{esm/api → browser/static-helpers}/pagingHelpers.js +4 -5
  63. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  64. package/dist/{esm/api → browser/static-helpers}/pollingHelpers.d.ts +1 -1
  65. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
  66. package/dist/browser/{api → static-helpers}/pollingHelpers.js +6 -11
  67. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  68. package/dist/commonjs/api/deidServices/index.d.ts +16 -17
  69. package/dist/commonjs/api/deidServices/index.d.ts.map +1 -1
  70. package/dist/commonjs/api/deidServices/index.js +29 -421
  71. package/dist/commonjs/api/deidServices/index.js.map +1 -1
  72. package/dist/commonjs/api/healthDataAIServicesContext.d.ts +4 -4
  73. package/dist/commonjs/api/healthDataAIServicesContext.d.ts.map +1 -1
  74. package/dist/commonjs/api/healthDataAIServicesContext.js +27 -6
  75. package/dist/commonjs/api/healthDataAIServicesContext.js.map +1 -1
  76. package/dist/commonjs/api/index.d.ts +2 -1
  77. package/dist/commonjs/api/index.d.ts.map +1 -1
  78. package/dist/commonjs/api/index.js.map +1 -1
  79. package/dist/commonjs/api/operations/index.d.ts +6 -7
  80. package/dist/commonjs/api/operations/index.d.ts.map +1 -1
  81. package/dist/commonjs/api/operations/index.js +6 -24
  82. package/dist/commonjs/api/operations/index.js.map +1 -1
  83. package/dist/commonjs/api/options.d.ts.map +1 -0
  84. package/dist/commonjs/api/options.js.map +1 -0
  85. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +12 -13
  86. package/dist/commonjs/api/privateEndpointConnections/index.d.ts.map +1 -1
  87. package/dist/commonjs/api/privateEndpointConnections/index.js +19 -123
  88. package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
  89. package/dist/commonjs/api/privateLinks/index.d.ts +6 -7
  90. package/dist/commonjs/api/privateLinks/index.d.ts.map +1 -1
  91. package/dist/commonjs/api/privateLinks/index.js +6 -36
  92. package/dist/commonjs/api/privateLinks/index.js.map +1 -1
  93. package/dist/commonjs/classic/deidServices/index.d.ts +4 -4
  94. package/dist/commonjs/classic/deidServices/index.d.ts.map +1 -1
  95. package/dist/commonjs/classic/deidServices/index.js.map +1 -1
  96. package/dist/commonjs/classic/operations/index.d.ts +3 -3
  97. package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
  98. package/dist/commonjs/classic/operations/index.js.map +1 -1
  99. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +3 -3
  100. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts.map +1 -1
  101. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -1
  102. package/dist/commonjs/classic/privateLinks/index.d.ts +3 -3
  103. package/dist/commonjs/classic/privateLinks/index.d.ts.map +1 -1
  104. package/dist/commonjs/classic/privateLinks/index.js.map +1 -1
  105. package/dist/commonjs/healthDataAIServicesClient.d.ts +2 -2
  106. package/dist/commonjs/healthDataAIServicesClient.d.ts.map +1 -1
  107. package/dist/commonjs/healthDataAIServicesClient.js +1 -1
  108. package/dist/commonjs/healthDataAIServicesClient.js.map +1 -1
  109. package/dist/commonjs/index.d.ts +5 -2
  110. package/dist/commonjs/index.d.ts.map +1 -1
  111. package/dist/commonjs/index.js +3 -2
  112. package/dist/commonjs/index.js.map +1 -1
  113. package/dist/commonjs/models/index.d.ts +1 -3
  114. package/dist/commonjs/models/index.d.ts.map +1 -1
  115. package/dist/commonjs/models/index.js +3 -2
  116. package/dist/commonjs/models/index.js.map +1 -1
  117. package/dist/commonjs/models/models.d.ts +140 -125
  118. package/dist/commonjs/models/models.d.ts.map +1 -1
  119. package/dist/commonjs/models/models.js +349 -75
  120. package/dist/commonjs/models/models.js.map +1 -1
  121. package/dist/commonjs/restorePollerHelpers.d.ts +2 -2
  122. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -1
  123. package/dist/commonjs/restorePollerHelpers.js +26 -10
  124. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  125. package/dist/commonjs/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  126. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  127. package/dist/commonjs/{api → static-helpers}/pagingHelpers.js +4 -5
  128. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  129. package/dist/{browser/api → commonjs/static-helpers}/pollingHelpers.d.ts +1 -1
  130. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
  131. package/dist/commonjs/{api → static-helpers}/pollingHelpers.js +6 -11
  132. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  133. package/dist/esm/api/deidServices/index.d.ts +16 -17
  134. package/dist/esm/api/deidServices/index.d.ts.map +1 -1
  135. package/dist/esm/api/deidServices/index.js +31 -423
  136. package/dist/esm/api/deidServices/index.js.map +1 -1
  137. package/dist/esm/api/healthDataAIServicesContext.d.ts +4 -4
  138. package/dist/esm/api/healthDataAIServicesContext.d.ts.map +1 -1
  139. package/dist/esm/api/healthDataAIServicesContext.js +28 -6
  140. package/dist/esm/api/healthDataAIServicesContext.js.map +1 -1
  141. package/dist/esm/api/index.d.ts +2 -1
  142. package/dist/esm/api/index.d.ts.map +1 -1
  143. package/dist/esm/api/index.js.map +1 -1
  144. package/dist/esm/api/operations/index.d.ts +6 -7
  145. package/dist/esm/api/operations/index.d.ts.map +1 -1
  146. package/dist/esm/api/operations/index.js +7 -25
  147. package/dist/esm/api/operations/index.js.map +1 -1
  148. package/dist/esm/api/options.d.ts.map +1 -0
  149. package/dist/esm/api/options.js.map +1 -0
  150. package/dist/esm/api/privateEndpointConnections/index.d.ts +12 -13
  151. package/dist/esm/api/privateEndpointConnections/index.d.ts.map +1 -1
  152. package/dist/esm/api/privateEndpointConnections/index.js +21 -125
  153. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
  154. package/dist/esm/api/privateLinks/index.d.ts +6 -7
  155. package/dist/esm/api/privateLinks/index.d.ts.map +1 -1
  156. package/dist/esm/api/privateLinks/index.js +7 -37
  157. package/dist/esm/api/privateLinks/index.js.map +1 -1
  158. package/dist/esm/classic/deidServices/index.d.ts +4 -4
  159. package/dist/esm/classic/deidServices/index.d.ts.map +1 -1
  160. package/dist/esm/classic/deidServices/index.js.map +1 -1
  161. package/dist/esm/classic/operations/index.d.ts +3 -3
  162. package/dist/esm/classic/operations/index.d.ts.map +1 -1
  163. package/dist/esm/classic/operations/index.js.map +1 -1
  164. package/dist/esm/classic/privateEndpointConnections/index.d.ts +3 -3
  165. package/dist/esm/classic/privateEndpointConnections/index.d.ts.map +1 -1
  166. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
  167. package/dist/esm/classic/privateLinks/index.d.ts +3 -3
  168. package/dist/esm/classic/privateLinks/index.d.ts.map +1 -1
  169. package/dist/esm/classic/privateLinks/index.js.map +1 -1
  170. package/dist/esm/healthDataAIServicesClient.d.ts +2 -2
  171. package/dist/esm/healthDataAIServicesClient.d.ts.map +1 -1
  172. package/dist/esm/healthDataAIServicesClient.js +1 -1
  173. package/dist/esm/healthDataAIServicesClient.js.map +1 -1
  174. package/dist/esm/index.d.ts +5 -2
  175. package/dist/esm/index.d.ts.map +1 -1
  176. package/dist/esm/index.js +2 -2
  177. package/dist/esm/index.js.map +1 -1
  178. package/dist/esm/models/index.d.ts +1 -3
  179. package/dist/esm/models/index.d.ts.map +1 -1
  180. package/dist/esm/models/index.js +1 -1
  181. package/dist/esm/models/index.js.map +1 -1
  182. package/dist/esm/models/models.d.ts +140 -125
  183. package/dist/esm/models/models.d.ts.map +1 -1
  184. package/dist/esm/models/models.js +318 -72
  185. package/dist/esm/models/models.js.map +1 -1
  186. package/dist/esm/restorePollerHelpers.d.ts +2 -2
  187. package/dist/esm/restorePollerHelpers.d.ts.map +1 -1
  188. package/dist/esm/restorePollerHelpers.js +26 -10
  189. package/dist/esm/restorePollerHelpers.js.map +1 -1
  190. package/dist/esm/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  191. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  192. package/dist/{react-native/api → esm/static-helpers}/pagingHelpers.js +4 -5
  193. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  194. package/dist/{commonjs/api → esm/static-helpers}/pollingHelpers.d.ts +1 -1
  195. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
  196. package/dist/{react-native/api → esm/static-helpers}/pollingHelpers.js +6 -11
  197. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  198. package/dist/react-native/api/deidServices/index.d.ts +16 -17
  199. package/dist/react-native/api/deidServices/index.d.ts.map +1 -1
  200. package/dist/react-native/api/deidServices/index.js +31 -423
  201. package/dist/react-native/api/deidServices/index.js.map +1 -1
  202. package/dist/react-native/api/healthDataAIServicesContext.d.ts +4 -4
  203. package/dist/react-native/api/healthDataAIServicesContext.d.ts.map +1 -1
  204. package/dist/react-native/api/healthDataAIServicesContext.js +28 -6
  205. package/dist/react-native/api/healthDataAIServicesContext.js.map +1 -1
  206. package/dist/react-native/api/index.d.ts +2 -1
  207. package/dist/react-native/api/index.d.ts.map +1 -1
  208. package/dist/react-native/api/index.js.map +1 -1
  209. package/dist/react-native/api/operations/index.d.ts +6 -7
  210. package/dist/react-native/api/operations/index.d.ts.map +1 -1
  211. package/dist/react-native/api/operations/index.js +7 -25
  212. package/dist/react-native/api/operations/index.js.map +1 -1
  213. package/dist/react-native/api/options.d.ts.map +1 -0
  214. package/dist/react-native/api/options.js.map +1 -0
  215. package/dist/react-native/api/privateEndpointConnections/index.d.ts +12 -13
  216. package/dist/react-native/api/privateEndpointConnections/index.d.ts.map +1 -1
  217. package/dist/react-native/api/privateEndpointConnections/index.js +21 -125
  218. package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -1
  219. package/dist/react-native/api/privateLinks/index.d.ts +6 -7
  220. package/dist/react-native/api/privateLinks/index.d.ts.map +1 -1
  221. package/dist/react-native/api/privateLinks/index.js +7 -37
  222. package/dist/react-native/api/privateLinks/index.js.map +1 -1
  223. package/dist/react-native/classic/deidServices/index.d.ts +4 -4
  224. package/dist/react-native/classic/deidServices/index.d.ts.map +1 -1
  225. package/dist/react-native/classic/deidServices/index.js.map +1 -1
  226. package/dist/react-native/classic/operations/index.d.ts +3 -3
  227. package/dist/react-native/classic/operations/index.d.ts.map +1 -1
  228. package/dist/react-native/classic/operations/index.js.map +1 -1
  229. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +3 -3
  230. package/dist/react-native/classic/privateEndpointConnections/index.d.ts.map +1 -1
  231. package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -1
  232. package/dist/react-native/classic/privateLinks/index.d.ts +3 -3
  233. package/dist/react-native/classic/privateLinks/index.d.ts.map +1 -1
  234. package/dist/react-native/classic/privateLinks/index.js.map +1 -1
  235. package/dist/react-native/healthDataAIServicesClient.d.ts +2 -2
  236. package/dist/react-native/healthDataAIServicesClient.d.ts.map +1 -1
  237. package/dist/react-native/healthDataAIServicesClient.js +1 -1
  238. package/dist/react-native/healthDataAIServicesClient.js.map +1 -1
  239. package/dist/react-native/index.d.ts +5 -2
  240. package/dist/react-native/index.d.ts.map +1 -1
  241. package/dist/react-native/index.js +2 -2
  242. package/dist/react-native/index.js.map +1 -1
  243. package/dist/react-native/models/index.d.ts +1 -3
  244. package/dist/react-native/models/index.d.ts.map +1 -1
  245. package/dist/react-native/models/index.js +1 -1
  246. package/dist/react-native/models/index.js.map +1 -1
  247. package/dist/react-native/models/models.d.ts +140 -125
  248. package/dist/react-native/models/models.d.ts.map +1 -1
  249. package/dist/react-native/models/models.js +318 -72
  250. package/dist/react-native/models/models.js.map +1 -1
  251. package/dist/react-native/restorePollerHelpers.d.ts +2 -2
  252. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -1
  253. package/dist/react-native/restorePollerHelpers.js +26 -10
  254. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  255. package/dist/react-native/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
  256. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  257. package/dist/{browser/api → react-native/static-helpers}/pagingHelpers.js +4 -5
  258. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  259. package/dist/react-native/{api → static-helpers}/pollingHelpers.d.ts +1 -1
  260. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
  261. package/dist/{esm/api → react-native/static-helpers}/pollingHelpers.js +6 -11
  262. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  263. package/package.json +41 -52
  264. package/review/arm-healthdataaiservices-models.api.md +16 -105
  265. package/review/arm-healthdataaiservices.api.md +16 -33
  266. package/dist/browser/api/pagingHelpers.d.ts +0 -7
  267. package/dist/browser/api/pagingHelpers.d.ts.map +0 -1
  268. package/dist/browser/api/pagingHelpers.js.map +0 -1
  269. package/dist/browser/api/pollingHelpers.d.ts.map +0 -1
  270. package/dist/browser/api/pollingHelpers.js.map +0 -1
  271. package/dist/browser/models/options.d.ts.map +0 -1
  272. package/dist/browser/models/options.js.map +0 -1
  273. package/dist/browser/models/pagingTypes.d.ts.map +0 -1
  274. package/dist/browser/models/pagingTypes.js +0 -4
  275. package/dist/browser/models/pagingTypes.js.map +0 -1
  276. package/dist/browser/rest/clientDefinitions.d.ts +0 -61
  277. package/dist/browser/rest/clientDefinitions.d.ts.map +0 -1
  278. package/dist/browser/rest/clientDefinitions.js +0 -4
  279. package/dist/browser/rest/clientDefinitions.js.map +0 -1
  280. package/dist/browser/rest/healthDataAIServicesClient.d.ts +0 -15
  281. package/dist/browser/rest/healthDataAIServicesClient.d.ts.map +0 -1
  282. package/dist/browser/rest/healthDataAIServicesClient.js +0 -42
  283. package/dist/browser/rest/healthDataAIServicesClient.js.map +0 -1
  284. package/dist/browser/rest/index.d.ts +0 -12
  285. package/dist/browser/rest/index.d.ts.map +0 -1
  286. package/dist/browser/rest/index.js +0 -14
  287. package/dist/browser/rest/index.js.map +0 -1
  288. package/dist/browser/rest/isUnexpected.d.ts +0 -14
  289. package/dist/browser/rest/isUnexpected.d.ts.map +0 -1
  290. package/dist/browser/rest/isUnexpected.js +0 -83
  291. package/dist/browser/rest/isUnexpected.js.map +0 -1
  292. package/dist/browser/rest/models.d.ts +0 -213
  293. package/dist/browser/rest/models.d.ts.map +0 -1
  294. package/dist/browser/rest/models.js +0 -4
  295. package/dist/browser/rest/models.js.map +0 -1
  296. package/dist/browser/rest/outputModels.d.ts +0 -304
  297. package/dist/browser/rest/outputModels.d.ts.map +0 -1
  298. package/dist/browser/rest/outputModels.js +0 -4
  299. package/dist/browser/rest/outputModels.js.map +0 -1
  300. package/dist/browser/rest/paginateHelper.d.ts +0 -43
  301. package/dist/browser/rest/paginateHelper.d.ts.map +0 -1
  302. package/dist/browser/rest/paginateHelper.js +0 -70
  303. package/dist/browser/rest/paginateHelper.js.map +0 -1
  304. package/dist/browser/rest/parameters.d.ts +0 -27
  305. package/dist/browser/rest/parameters.d.ts.map +0 -1
  306. package/dist/browser/rest/parameters.js +0 -4
  307. package/dist/browser/rest/parameters.js.map +0 -1
  308. package/dist/browser/rest/pollingHelper.d.ts +0 -81
  309. package/dist/browser/rest/pollingHelper.d.ts.map +0 -1
  310. package/dist/browser/rest/pollingHelper.js +0 -97
  311. package/dist/browser/rest/pollingHelper.js.map +0 -1
  312. package/dist/browser/rest/responses.d.ts +0 -190
  313. package/dist/browser/rest/responses.d.ts.map +0 -1
  314. package/dist/browser/rest/responses.js +0 -4
  315. package/dist/browser/rest/responses.js.map +0 -1
  316. package/dist/commonjs/api/pagingHelpers.d.ts +0 -7
  317. package/dist/commonjs/api/pagingHelpers.d.ts.map +0 -1
  318. package/dist/commonjs/api/pagingHelpers.js.map +0 -1
  319. package/dist/commonjs/api/pollingHelpers.d.ts.map +0 -1
  320. package/dist/commonjs/api/pollingHelpers.js.map +0 -1
  321. package/dist/commonjs/models/options.d.ts.map +0 -1
  322. package/dist/commonjs/models/options.js.map +0 -1
  323. package/dist/commonjs/models/pagingTypes.d.ts.map +0 -1
  324. package/dist/commonjs/models/pagingTypes.js +0 -5
  325. package/dist/commonjs/models/pagingTypes.js.map +0 -1
  326. package/dist/commonjs/rest/clientDefinitions.d.ts +0 -61
  327. package/dist/commonjs/rest/clientDefinitions.d.ts.map +0 -1
  328. package/dist/commonjs/rest/clientDefinitions.js +0 -5
  329. package/dist/commonjs/rest/clientDefinitions.js.map +0 -1
  330. package/dist/commonjs/rest/healthDataAIServicesClient.d.ts +0 -15
  331. package/dist/commonjs/rest/healthDataAIServicesClient.d.ts.map +0 -1
  332. package/dist/commonjs/rest/healthDataAIServicesClient.js +0 -45
  333. package/dist/commonjs/rest/healthDataAIServicesClient.js.map +0 -1
  334. package/dist/commonjs/rest/index.d.ts +0 -12
  335. package/dist/commonjs/rest/index.d.ts.map +0 -1
  336. package/dist/commonjs/rest/index.js +0 -17
  337. package/dist/commonjs/rest/index.js.map +0 -1
  338. package/dist/commonjs/rest/isUnexpected.d.ts +0 -14
  339. package/dist/commonjs/rest/isUnexpected.d.ts.map +0 -1
  340. package/dist/commonjs/rest/isUnexpected.js +0 -86
  341. package/dist/commonjs/rest/isUnexpected.js.map +0 -1
  342. package/dist/commonjs/rest/models.d.ts +0 -213
  343. package/dist/commonjs/rest/models.d.ts.map +0 -1
  344. package/dist/commonjs/rest/models.js +0 -5
  345. package/dist/commonjs/rest/models.js.map +0 -1
  346. package/dist/commonjs/rest/outputModels.d.ts +0 -304
  347. package/dist/commonjs/rest/outputModels.d.ts.map +0 -1
  348. package/dist/commonjs/rest/outputModels.js +0 -5
  349. package/dist/commonjs/rest/outputModels.js.map +0 -1
  350. package/dist/commonjs/rest/paginateHelper.d.ts +0 -43
  351. package/dist/commonjs/rest/paginateHelper.d.ts.map +0 -1
  352. package/dist/commonjs/rest/paginateHelper.js +0 -73
  353. package/dist/commonjs/rest/paginateHelper.js.map +0 -1
  354. package/dist/commonjs/rest/parameters.d.ts +0 -27
  355. package/dist/commonjs/rest/parameters.d.ts.map +0 -1
  356. package/dist/commonjs/rest/parameters.js +0 -5
  357. package/dist/commonjs/rest/parameters.js.map +0 -1
  358. package/dist/commonjs/rest/pollingHelper.d.ts +0 -81
  359. package/dist/commonjs/rest/pollingHelper.d.ts.map +0 -1
  360. package/dist/commonjs/rest/pollingHelper.js +0 -100
  361. package/dist/commonjs/rest/pollingHelper.js.map +0 -1
  362. package/dist/commonjs/rest/responses.d.ts +0 -190
  363. package/dist/commonjs/rest/responses.d.ts.map +0 -1
  364. package/dist/commonjs/rest/responses.js +0 -5
  365. package/dist/commonjs/rest/responses.js.map +0 -1
  366. package/dist/esm/api/pagingHelpers.d.ts +0 -7
  367. package/dist/esm/api/pagingHelpers.d.ts.map +0 -1
  368. package/dist/esm/api/pagingHelpers.js.map +0 -1
  369. package/dist/esm/api/pollingHelpers.d.ts.map +0 -1
  370. package/dist/esm/api/pollingHelpers.js.map +0 -1
  371. package/dist/esm/models/options.d.ts.map +0 -1
  372. package/dist/esm/models/options.js.map +0 -1
  373. package/dist/esm/models/pagingTypes.d.ts.map +0 -1
  374. package/dist/esm/models/pagingTypes.js +0 -4
  375. package/dist/esm/models/pagingTypes.js.map +0 -1
  376. package/dist/esm/rest/clientDefinitions.d.ts +0 -61
  377. package/dist/esm/rest/clientDefinitions.d.ts.map +0 -1
  378. package/dist/esm/rest/clientDefinitions.js +0 -4
  379. package/dist/esm/rest/clientDefinitions.js.map +0 -1
  380. package/dist/esm/rest/healthDataAIServicesClient.d.ts +0 -15
  381. package/dist/esm/rest/healthDataAIServicesClient.d.ts.map +0 -1
  382. package/dist/esm/rest/healthDataAIServicesClient.js +0 -42
  383. package/dist/esm/rest/healthDataAIServicesClient.js.map +0 -1
  384. package/dist/esm/rest/index.d.ts +0 -12
  385. package/dist/esm/rest/index.d.ts.map +0 -1
  386. package/dist/esm/rest/index.js +0 -14
  387. package/dist/esm/rest/index.js.map +0 -1
  388. package/dist/esm/rest/isUnexpected.d.ts +0 -14
  389. package/dist/esm/rest/isUnexpected.d.ts.map +0 -1
  390. package/dist/esm/rest/isUnexpected.js +0 -83
  391. package/dist/esm/rest/isUnexpected.js.map +0 -1
  392. package/dist/esm/rest/models.d.ts +0 -213
  393. package/dist/esm/rest/models.d.ts.map +0 -1
  394. package/dist/esm/rest/models.js +0 -4
  395. package/dist/esm/rest/models.js.map +0 -1
  396. package/dist/esm/rest/outputModels.d.ts +0 -304
  397. package/dist/esm/rest/outputModels.d.ts.map +0 -1
  398. package/dist/esm/rest/outputModels.js +0 -4
  399. package/dist/esm/rest/outputModels.js.map +0 -1
  400. package/dist/esm/rest/paginateHelper.d.ts +0 -43
  401. package/dist/esm/rest/paginateHelper.d.ts.map +0 -1
  402. package/dist/esm/rest/paginateHelper.js +0 -70
  403. package/dist/esm/rest/paginateHelper.js.map +0 -1
  404. package/dist/esm/rest/parameters.d.ts +0 -27
  405. package/dist/esm/rest/parameters.d.ts.map +0 -1
  406. package/dist/esm/rest/parameters.js +0 -4
  407. package/dist/esm/rest/parameters.js.map +0 -1
  408. package/dist/esm/rest/pollingHelper.d.ts +0 -81
  409. package/dist/esm/rest/pollingHelper.d.ts.map +0 -1
  410. package/dist/esm/rest/pollingHelper.js +0 -97
  411. package/dist/esm/rest/pollingHelper.js.map +0 -1
  412. package/dist/esm/rest/responses.d.ts +0 -190
  413. package/dist/esm/rest/responses.d.ts.map +0 -1
  414. package/dist/esm/rest/responses.js +0 -4
  415. package/dist/esm/rest/responses.js.map +0 -1
  416. package/dist/react-native/api/pagingHelpers.d.ts +0 -7
  417. package/dist/react-native/api/pagingHelpers.d.ts.map +0 -1
  418. package/dist/react-native/api/pagingHelpers.js.map +0 -1
  419. package/dist/react-native/api/pollingHelpers.d.ts.map +0 -1
  420. package/dist/react-native/api/pollingHelpers.js.map +0 -1
  421. package/dist/react-native/models/options.d.ts.map +0 -1
  422. package/dist/react-native/models/options.js.map +0 -1
  423. package/dist/react-native/models/pagingTypes.d.ts.map +0 -1
  424. package/dist/react-native/models/pagingTypes.js +0 -4
  425. package/dist/react-native/models/pagingTypes.js.map +0 -1
  426. package/dist/react-native/rest/clientDefinitions.d.ts +0 -61
  427. package/dist/react-native/rest/clientDefinitions.d.ts.map +0 -1
  428. package/dist/react-native/rest/clientDefinitions.js +0 -4
  429. package/dist/react-native/rest/clientDefinitions.js.map +0 -1
  430. package/dist/react-native/rest/healthDataAIServicesClient.d.ts +0 -15
  431. package/dist/react-native/rest/healthDataAIServicesClient.d.ts.map +0 -1
  432. package/dist/react-native/rest/healthDataAIServicesClient.js +0 -42
  433. package/dist/react-native/rest/healthDataAIServicesClient.js.map +0 -1
  434. package/dist/react-native/rest/index.d.ts +0 -12
  435. package/dist/react-native/rest/index.d.ts.map +0 -1
  436. package/dist/react-native/rest/index.js +0 -14
  437. package/dist/react-native/rest/index.js.map +0 -1
  438. package/dist/react-native/rest/isUnexpected.d.ts +0 -14
  439. package/dist/react-native/rest/isUnexpected.d.ts.map +0 -1
  440. package/dist/react-native/rest/isUnexpected.js +0 -83
  441. package/dist/react-native/rest/isUnexpected.js.map +0 -1
  442. package/dist/react-native/rest/models.d.ts +0 -213
  443. package/dist/react-native/rest/models.d.ts.map +0 -1
  444. package/dist/react-native/rest/models.js +0 -4
  445. package/dist/react-native/rest/models.js.map +0 -1
  446. package/dist/react-native/rest/outputModels.d.ts +0 -304
  447. package/dist/react-native/rest/outputModels.d.ts.map +0 -1
  448. package/dist/react-native/rest/outputModels.js +0 -4
  449. package/dist/react-native/rest/outputModels.js.map +0 -1
  450. package/dist/react-native/rest/paginateHelper.d.ts +0 -43
  451. package/dist/react-native/rest/paginateHelper.d.ts.map +0 -1
  452. package/dist/react-native/rest/paginateHelper.js +0 -70
  453. package/dist/react-native/rest/paginateHelper.js.map +0 -1
  454. package/dist/react-native/rest/parameters.d.ts +0 -27
  455. package/dist/react-native/rest/parameters.d.ts.map +0 -1
  456. package/dist/react-native/rest/parameters.js +0 -4
  457. package/dist/react-native/rest/parameters.js.map +0 -1
  458. package/dist/react-native/rest/pollingHelper.d.ts +0 -81
  459. package/dist/react-native/rest/pollingHelper.d.ts.map +0 -1
  460. package/dist/react-native/rest/pollingHelper.js +0 -97
  461. package/dist/react-native/rest/pollingHelper.js.map +0 -1
  462. package/dist/react-native/rest/responses.d.ts +0 -190
  463. package/dist/react-native/rest/responses.d.ts.map +0 -1
  464. package/dist/react-native/rest/responses.js +0 -4
  465. package/dist/react-native/rest/responses.js.map +0 -1
  466. /package/dist/browser/{models → api}/options.d.ts +0 -0
  467. /package/dist/browser/{models → api}/options.js +0 -0
  468. /package/dist/commonjs/{models → api}/options.d.ts +0 -0
  469. /package/dist/commonjs/{models → api}/options.js +0 -0
  470. /package/dist/esm/{models → api}/options.d.ts +0 -0
  471. /package/dist/esm/{models → api}/options.js +0 -0
  472. /package/dist/react-native/{models → api}/options.d.ts +0 -0
  473. /package/dist/react-native/{models → api}/options.js +0 -0
@@ -14,10 +14,9 @@ exports.privateEndpointConnectionsDelete = privateEndpointConnectionsDelete;
14
14
  exports._privateEndpointConnectionsListByDeidServiceSend = _privateEndpointConnectionsListByDeidServiceSend;
15
15
  exports._privateEndpointConnectionsListByDeidServiceDeserialize = _privateEndpointConnectionsListByDeidServiceDeserialize;
16
16
  exports.privateEndpointConnectionsListByDeidService = privateEndpointConnectionsListByDeidService;
17
- const pollingHelpers_js_1 = require("../pollingHelpers.js");
18
17
  const models_js_1 = require("../../models/models.js");
19
- const pagingHelpers_js_1 = require("../pagingHelpers.js");
20
- const index_js_1 = require("../../rest/index.js");
18
+ const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
19
+ const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
21
20
  const core_client_1 = require("@azure-rest/core-client");
22
21
  function _privateEndpointConnectionsGetSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
23
22
  return context
@@ -25,43 +24,11 @@ function _privateEndpointConnectionsGetSend(context, subscriptionId, resourceGro
25
24
  .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
26
25
  }
27
26
  async function _privateEndpointConnectionsGetDeserialize(result) {
28
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
29
- if ((0, index_js_1.isUnexpected)(result)) {
27
+ const expectedStatuses = ["200"];
28
+ if (!expectedStatuses.includes(result.status)) {
30
29
  throw (0, core_client_1.createRestError)(result);
31
30
  }
32
- return {
33
- id: result.body["id"],
34
- name: result.body["name"],
35
- type: result.body["type"],
36
- systemData: !result.body.systemData
37
- ? undefined
38
- : {
39
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
40
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
41
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
42
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
43
- : undefined,
44
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
45
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
46
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
47
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
48
- : undefined,
49
- },
50
- properties: !result.body.properties
51
- ? undefined
52
- : {
53
- groupIds: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
54
- privateEndpoint: !((_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
55
- ? undefined
56
- : { id: (_m = (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
57
- privateLinkServiceConnectionState: {
58
- status: (_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
59
- description: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
60
- actionsRequired: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
61
- },
62
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
63
- },
64
- };
31
+ return (0, models_js_1.privateEndpointConnectionResourceDeserializer)(result.body);
65
32
  }
66
33
  /** Get a specific private connection */
67
34
  async function privateEndpointConnectionsGet(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
@@ -73,60 +40,24 @@ function _privateEndpointConnectionsCreateSend(context, subscriptionId, resource
73
40
  }) {
74
41
  return context
75
42
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName)
76
- .put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
77
- properties: !resource.properties
78
- ? resource.properties
79
- : (0, models_js_1.privateEndpointConnectionPropertiesSerializer)(resource.properties),
80
- } }));
43
+ .put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: (0, models_js_1.privateEndpointConnectionResourceSerializer)(resource) }));
81
44
  }
82
45
  async function _privateEndpointConnectionsCreateDeserialize(result) {
83
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
84
- if ((0, index_js_1.isUnexpected)(result)) {
46
+ const expectedStatuses = ["200", "201"];
47
+ if (!expectedStatuses.includes(result.status)) {
85
48
  throw (0, core_client_1.createRestError)(result);
86
49
  }
87
- const res = result;
88
- return {
89
- id: res.body["id"],
90
- name: res.body["name"],
91
- type: res.body["type"],
92
- systemData: !res.body.systemData
93
- ? undefined
94
- : {
95
- createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
96
- createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
97
- createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
98
- ? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
99
- : undefined,
100
- lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
101
- lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
102
- lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
103
- ? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
104
- : undefined,
105
- },
106
- properties: !res.body.properties
107
- ? undefined
108
- : {
109
- groupIds: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
110
- privateEndpoint: !((_k = res.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
111
- ? undefined
112
- : { id: (_m = (_l = res.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
113
- privateLinkServiceConnectionState: {
114
- status: (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
115
- description: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
116
- actionsRequired: (_q = res.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
117
- },
118
- provisioningState: (_r = res.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
119
- },
120
- };
50
+ return (0, models_js_1.privateEndpointConnectionResourceDeserializer)(result.body);
121
51
  }
122
52
  /** Create a Private endpoint connection */
123
53
  function privateEndpointConnectionsCreate(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options = {
124
54
  requestOptions: {},
125
55
  }) {
126
- return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsCreateDeserialize, {
56
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsCreateDeserialize, ["200", "201"], {
127
57
  updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
128
58
  abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
129
59
  getInitialResponse: () => _privateEndpointConnectionsCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options),
60
+ resourceLocationConfig: "azure-async-operation",
130
61
  });
131
62
  }
132
63
  function _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
@@ -137,7 +68,8 @@ function _privateEndpointConnectionsDeleteSend(context, subscriptionId, resource
137
68
  .delete(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
138
69
  }
139
70
  async function _privateEndpointConnectionsDeleteDeserialize(result) {
140
- if ((0, index_js_1.isUnexpected)(result)) {
71
+ const expectedStatuses = ["202", "204", "200"];
72
+ if (!expectedStatuses.includes(result.status)) {
141
73
  throw (0, core_client_1.createRestError)(result);
142
74
  }
143
75
  return;
@@ -146,10 +78,11 @@ async function _privateEndpointConnectionsDeleteDeserialize(result) {
146
78
  function privateEndpointConnectionsDelete(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
147
79
  requestOptions: {},
148
80
  }) {
149
- return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsDeleteDeserialize, {
81
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsDeleteDeserialize, ["202", "204", "200"], {
150
82
  updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
151
83
  abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
152
84
  getInitialResponse: () => _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options),
85
+ resourceLocationConfig: "location",
153
86
  });
154
87
  }
155
88
  function _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = {
@@ -160,53 +93,16 @@ function _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionI
160
93
  .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
161
94
  }
162
95
  async function _privateEndpointConnectionsListByDeidServiceDeserialize(result) {
163
- if ((0, index_js_1.isUnexpected)(result)) {
96
+ const expectedStatuses = ["200"];
97
+ if (!expectedStatuses.includes(result.status)) {
164
98
  throw (0, core_client_1.createRestError)(result);
165
99
  }
166
- return {
167
- value: result.body["value"].map((p) => {
168
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
169
- return {
170
- id: p["id"],
171
- name: p["name"],
172
- type: p["type"],
173
- systemData: !p.systemData
174
- ? undefined
175
- : {
176
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
177
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
178
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
179
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
180
- : undefined,
181
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
182
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
183
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
184
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
185
- : undefined,
186
- },
187
- properties: !p.properties
188
- ? undefined
189
- : {
190
- groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
191
- privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
192
- ? undefined
193
- : { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
194
- privateLinkServiceConnectionState: {
195
- status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
196
- description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
197
- actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
198
- },
199
- provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
200
- },
201
- };
202
- }),
203
- nextLink: result.body["nextLink"],
204
- };
100
+ return (0, models_js_1._privateEndpointConnectionResourceListResultDeserializer)(result.body);
205
101
  }
206
102
  /** List private endpoint connections on the given resource */
207
103
  function privateEndpointConnectionsListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = {
208
104
  requestOptions: {},
209
105
  }) {
210
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
106
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
211
107
  }
212
108
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAuClC,gFAmBC;AAED,8FA2CC;AAGD,sEAiBC;AAED,sFAgCC;AAED,oGAgDC;AAGD,4EA+BC;AAED,sFAwBC;AAED,oGAYC;AAGD,4EAuBC;AAED,4GAoBC;AAED,0HAiDC;AAGD,kGAsBC;AAnZD,4DAA4D;AAE5D,sDAIgC;AAEhC,0DAA8D;AAC9D,kDAe6B;AAC7B,yDAIiC;AAQjC,SAAgB,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,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AAC,CAAC,UAAU,0CAAG,mBAAmB,CAAC;qBACvD;aACN,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,8DAA8D;AAC9D,SAAgB,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,OAAO,EACP,GAAG,EAAE,CACH,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,uDAAuD,EACvD,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { getLongRunningPoller } from \"../pollingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n privateEndpointConnectionPropertiesSerializer,\n PrivateEndpointConnectionResource,\n _PrivateEndpointConnectionResourceListResult,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n HealthDataAIServicesContext as Client,\n PrivateEndpointConnectionsCreate200Response,\n PrivateEndpointConnectionsCreate201Response,\n PrivateEndpointConnectionsCreateDefaultResponse,\n PrivateEndpointConnectionsCreateLogicalResponse,\n PrivateEndpointConnectionsDelete202Response,\n PrivateEndpointConnectionsDelete204Response,\n PrivateEndpointConnectionsDeleteDefaultResponse,\n PrivateEndpointConnectionsDeleteLogicalResponse,\n PrivateEndpointConnectionsGet200Response,\n PrivateEndpointConnectionsGetDefaultResponse,\n PrivateEndpointConnectionsListByDeidService200Response,\n PrivateEndpointConnectionsListByDeidServiceDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _privateEndpointConnectionsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod<\n PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsGetDeserialize(\n result: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse,\n): Promise<PrivateEndpointConnectionResource> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n groupIds: result.body.properties?.[\"groupIds\"],\n privateEndpoint: !result.body.properties?.privateEndpoint\n ? undefined\n : { id: result.body.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: result.body.properties?.privateLinkServiceConnectionState[\"status\"],\n description: result.body.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired:\n result.body.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a specific private connection */\nexport async function privateEndpointConnectionsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _privateEndpointConnectionsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n );\n return _privateEndpointConnectionsGetDeserialize(result);\n}\n\nexport function _privateEndpointConnectionsCreateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsCreate200Response\n | PrivateEndpointConnectionsCreate201Response\n | PrivateEndpointConnectionsCreateDefaultResponse\n | PrivateEndpointConnectionsCreateLogicalResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n properties: !resource.properties\n ? resource.properties\n : privateEndpointConnectionPropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _privateEndpointConnectionsCreateDeserialize(\n result:\n | PrivateEndpointConnectionsCreate200Response\n | PrivateEndpointConnectionsCreate201Response\n | PrivateEndpointConnectionsCreateDefaultResponse\n | PrivateEndpointConnectionsCreateLogicalResponse,\n): Promise<PrivateEndpointConnectionResource> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n const res = result as unknown as PrivateEndpointConnectionsCreateLogicalResponse;\n return {\n id: res.body[\"id\"],\n name: res.body[\"name\"],\n type: res.body[\"type\"],\n systemData: !res.body.systemData\n ? undefined\n : {\n createdBy: res.body.systemData?.[\"createdBy\"],\n createdByType: res.body.systemData?.[\"createdByType\"],\n createdAt:\n res.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(res.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: res.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: res.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n res.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(res.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !res.body.properties\n ? undefined\n : {\n groupIds: res.body.properties?.[\"groupIds\"],\n privateEndpoint: !res.body.properties?.privateEndpoint\n ? undefined\n : { id: res.body.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: res.body.properties?.privateLinkServiceConnectionState[\"status\"],\n description: res.body.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired:\n res.body.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: res.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a Private endpoint connection */\nexport function privateEndpointConnectionsCreate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n> {\n return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsCreateSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n }) as PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n}\n\nexport function _privateEndpointConnectionsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsDelete202Response\n | PrivateEndpointConnectionsDelete204Response\n | PrivateEndpointConnectionsDeleteDefaultResponse\n | PrivateEndpointConnectionsDeleteLogicalResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsDeleteDeserialize(\n result:\n | PrivateEndpointConnectionsDelete202Response\n | PrivateEndpointConnectionsDelete204Response\n | PrivateEndpointConnectionsDeleteDefaultResponse\n | PrivateEndpointConnectionsDeleteLogicalResponse,\n): Promise<void> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete the private endpoint connection */\nexport function privateEndpointConnectionsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _privateEndpointConnectionsListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsListByDeidService200Response\n | PrivateEndpointConnectionsListByDeidServiceDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsListByDeidServiceDeserialize(\n result:\n | PrivateEndpointConnectionsListByDeidService200Response\n | PrivateEndpointConnectionsListByDeidServiceDefaultResponse,\n): Promise<_PrivateEndpointConnectionResourceListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n groupIds: p.properties?.[\"groupIds\"],\n privateEndpoint: !p.properties?.privateEndpoint\n ? undefined\n : { id: p.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: p.properties?.privateLinkServiceConnectionState[\"status\"],\n description: p.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired: p.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List private endpoint connections on the given resource */\nexport function privateEndpointConnectionsListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateEndpointConnectionsListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateEndpointConnectionsListByDeidServiceDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA6BlC,gFAiBC;AAED,8FASC;AAGD,sEAiBC;AAED,sFAuBC;AAED,oGASC;AAGD,4EAqCC;AAED,sFAmBC;AAED,oGASC;AAGD,4EA6BC;AAED,4GAiBC;AAED,0HASC;AAGD,kGAuBC;AAxQD,sDAMgC;AAChC,4EAG+C;AAC/C,8EAA8E;AAC9E,yDAKiC;AAGjC,SAAgB,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,uMAAuM,EACvM,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,CAC9B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AI,CAAC,CAAC;AAC/E,CAAC;AAED,8DAA8D;AAC9D,SAAgB,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,OAAO,EACP,GAAG,EAAE,CACH,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,uDAAuD,EACvD,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n HealthDataAIServicesContext as Client,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../index.js\";\nimport {\n PrivateEndpointConnectionResource,\n privateEndpointConnectionResourceSerializer,\n privateEndpointConnectionResourceDeserializer,\n _PrivateEndpointConnectionResourceListResult,\n _privateEndpointConnectionResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _privateEndpointConnectionsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Get a specific private connection */\nexport async function privateEndpointConnectionsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _privateEndpointConnectionsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n );\n return _privateEndpointConnectionsGetDeserialize(result);\n}\n\nexport function _privateEndpointConnectionsCreateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: privateEndpointConnectionResourceSerializer(resource),\n });\n}\n\nexport async function _privateEndpointConnectionsCreateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Create a Private endpoint connection */\nexport function privateEndpointConnectionsCreate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n> {\n return getLongRunningPoller(\n context,\n _privateEndpointConnectionsCreateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsCreateSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n}\n\nexport function _privateEndpointConnectionsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete the private endpoint connection */\nexport function privateEndpointConnectionsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _privateEndpointConnectionsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _privateEndpointConnectionsListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsListByDeidServiceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateEndpointConnectionResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _privateEndpointConnectionResourceListResultDeserializer(result.body);\n}\n\n/** List private endpoint connections on the given resource */\nexport function privateEndpointConnectionsListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateEndpointConnectionsListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateEndpointConnectionsListByDeidServiceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -1,10 +1,9 @@
1
- import { PrivateLinkResource, _PrivateLinkResourceListResult } from "../../models/models.js";
2
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
3
- import { HealthDataAIServicesContext as Client, PrivateLinksListByDeidService200Response, PrivateLinksListByDeidServiceDefaultResponse } from "../../rest/index.js";
4
- import { StreamableMethod } from "@azure-rest/core-client";
5
- import { PrivateLinksListByDeidServiceOptionalParams } from "../../models/options.js";
6
- export declare function _privateLinksListByDeidServiceSend(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): StreamableMethod<PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse>;
7
- export declare function _privateLinksListByDeidServiceDeserialize(result: PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse): Promise<_PrivateLinkResourceListResult>;
1
+ import { HealthDataAIServicesContext as Client, PrivateLinksListByDeidServiceOptionalParams } from "../index.js";
2
+ import { _PrivateLinkResourceListResult, PrivateLinkResource } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ export declare function _privateLinksListByDeidServiceSend(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): StreamableMethod;
6
+ export declare function _privateLinksListByDeidServiceDeserialize(result: PathUncheckedResponse): Promise<_PrivateLinkResourceListResult>;
8
7
  /** List private links on the given resource */
9
8
  export declare function privateLinksListByDeidService(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
10
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAEL,2BAA2B,IAAI,MAAM,EACrC,wCAAwC,EACxC,4CAA4C,EAC7C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,2CAA2C,EAAE,MAAM,yBAAyB,CAAC;AAEtF,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CACjB,wCAAwC,GAAG,4CAA4C,CACxF,CASA;AAED,wBAAsB,yCAAyC,CAC7D,MAAM,EAAE,wCAAwC,GAAG,4CAA4C,GAC9F,OAAO,CAAC,8BAA8B,CAAC,CAsCzC;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,0BAA0B,CAAC,mBAAmB,CAAC,CAcjD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,IAAI,MAAM,EACrC,2CAA2C,EAC5C,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,8BAA8B,EAE9B,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CASlB;AAED,wBAAsB,yCAAyC,CAC7D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAOzC;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,0BAA0B,CAAC,mBAAmB,CAAC,CAejD"}
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports._privateLinksListByDeidServiceSend = _privateLinksListByDeidServiceSend;
6
6
  exports._privateLinksListByDeidServiceDeserialize = _privateLinksListByDeidServiceDeserialize;
7
7
  exports.privateLinksListByDeidService = privateLinksListByDeidService;
8
- const pagingHelpers_js_1 = require("../pagingHelpers.js");
9
- const index_js_1 = require("../../rest/index.js");
8
+ const models_js_1 = require("../../models/models.js");
9
+ const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
10
10
  const core_client_1 = require("@azure-rest/core-client");
11
11
  function _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
12
12
  return context
@@ -14,44 +14,14 @@ function _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGro
14
14
  .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
15
15
  }
16
16
  async function _privateLinksListByDeidServiceDeserialize(result) {
17
- if ((0, index_js_1.isUnexpected)(result)) {
17
+ const expectedStatuses = ["200"];
18
+ if (!expectedStatuses.includes(result.status)) {
18
19
  throw (0, core_client_1.createRestError)(result);
19
20
  }
20
- return {
21
- value: result.body["value"].map((p) => {
22
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
23
- return {
24
- id: p["id"],
25
- name: p["name"],
26
- type: p["type"],
27
- systemData: !p.systemData
28
- ? undefined
29
- : {
30
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
31
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
32
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
33
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
34
- : undefined,
35
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
36
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
37
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
38
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
39
- : undefined,
40
- },
41
- properties: !p.properties
42
- ? undefined
43
- : {
44
- groupId: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupId"],
45
- requiredMembers: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["requiredMembers"],
46
- requiredZoneNames: (_l = p.properties) === null || _l === void 0 ? void 0 : _l["requiredZoneNames"],
47
- },
48
- };
49
- }),
50
- nextLink: result.body["nextLink"],
51
- };
21
+ return (0, models_js_1._privateLinkResourceListResultDeserializer)(result.body);
52
22
  }
53
23
  /** List private links on the given resource */
54
24
  function privateLinksListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
55
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
25
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
56
26
  }
57
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkBlC,gFAiBC;AAED,8FAwCC;AAGD,sEAoBC;AAhGD,0DAA8D;AAC9D,kDAK6B;AAC7B,yDAIiC;AAGjC,SAAgB,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAI7E,OAAO,OAAO;SACX,IAAI,CACH,iKAAiK,EACjK,cAAc,EACd,iBAAiB,EACjB,eAAe,CAChB;SACA,GAAG,mBAAM,IAAA,iDAAmC,EAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAEM,KAAK,UAAU,yCAAyC,CAC7D,MAA+F;IAE/F,IAAI,IAAA,uBAAY,EAAC,MAAM,CAAC,EAAE,CAAC;QACzB,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;;YACpC,OAAO;gBACL,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC;gBACX,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,UAAU,EAAE,CAAC,CAAC,CAAC,UAAU;oBACvB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC;wBACE,SAAS,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,WAAW,CAAC;wBACtC,aAAa,EAAE,MAAA,CAAC,CAAC,UA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,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PrivateLinkResource, _PrivateLinkResourceListResult } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n HealthDataAIServicesContext as Client,\n PrivateLinksListByDeidService200Response,\n PrivateLinksListByDeidServiceDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport { PrivateLinksListByDeidServiceOptionalParams } from \"../../models/options.js\";\n\nexport function _privateLinksListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): StreamableMethod<\n PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateLinksListByDeidServiceDeserialize(\n result: PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse,\n): Promise<_PrivateLinkResourceListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n groupId: p.properties?.[\"groupId\"],\n requiredMembers: p.properties?.[\"requiredMembers\"],\n requiredZoneNames: p.properties?.[\"requiredZoneNames\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List private links on the given resource */\nexport function privateLinksListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateLinksListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateLinksListByDeidServiceDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsBlC,gFAeC;AAED,8FASC;AAGD,sEAqBC;AAlED,sDAIgC;AAChC,4EAG+C;AAC/C,yDAKiC;AAEjC,SAAgB,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,iKAAiK,EACjK,cAAc,EACd,iBAAiB,EACjB,eAAe,CAChB;SACA,GAAG,mBAAM,IAAA,iDAAmC,EAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAEM,KAAK,UAAU,yCAAyC,CAC7D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,IAAA,sDAA0C,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,+CAA+C;AAC/C,SAAgB,6BAA6B,CAC3C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,IAAA,0CAAuB,EAC5B,OAAO,EACP,GAAG,EAAE,CACH,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,yCAAyC,EACzC,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n HealthDataAIServicesContext as Client,\n PrivateLinksListByDeidServiceOptionalParams,\n} from \"../index.js\";\nimport {\n _PrivateLinkResourceListResult,\n _privateLinkResourceListResultDeserializer,\n PrivateLinkResource,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _privateLinksListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateLinksListByDeidServiceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateLinkResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _privateLinkResourceListResultDeserializer(result.body);\n}\n\n/** List private links on the given resource */\nexport function privateLinksListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateLinksListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateLinksListByDeidServiceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
2
2
  import { DeidService, DeidUpdate } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
4
  import { PollerLike, OperationState } from "@azure/core-lro";
5
- import { DeidServicesGetOptionalParams, DeidServicesListByResourceGroupOptionalParams, DeidServicesListBySubscriptionOptionalParams, DeidServicesCreateOptionalParams, DeidServicesUpdateOptionalParams, DeidServicesDeleteOptionalParams } from "../../models/options.js";
5
+ import { DeidServicesGetOptionalParams, DeidServicesListByResourceGroupOptionalParams, DeidServicesListBySubscriptionOptionalParams, DeidServicesCreateOptionalParams, DeidServicesUpdateOptionalParams, DeidServicesDeleteOptionalParams } from "../../api/options.js";
6
6
  /** Interface representing a DeidServices operations. */
7
7
  export interface DeidServicesOperations {
8
8
  /** Get a DeidService */
@@ -20,8 +20,8 @@ export interface DeidServicesOperations {
20
20
  }
21
21
  export declare function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string): {
22
22
  get: (resourceGroupName: string, deidServiceName: string, options?: DeidServicesGetOptionalParams) => Promise<DeidService>;
23
- listByResourceGroup: (resourceGroupName: string, options?: DeidServicesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../models/pagingTypes.js").PageSettings>;
24
- listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../models/pagingTypes.js").PageSettings>;
23
+ listByResourceGroup: (resourceGroupName: string, options?: DeidServicesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
24
+ listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
25
25
  create: (resourceGroupName: string, deidServiceName: string, resource: DeidService, options?: DeidServicesCreateOptionalParams) => PollerLike<OperationState<DeidService>, DeidService>;
26
26
  update: (resourceGroupName: string, deidServiceName: string, properties: DeidUpdate, options?: DeidServicesUpdateOptionalParams) => PollerLike<OperationState<DeidService>, DeidService>;
27
27
  delete: (resourceGroupName: string, deidServiceName: string, options?: DeidServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AASjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,6BAA6B,EAC7B,6CAA6C,EAC7C,4CAA4C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M,YACf,6CAA6C;mCAE1B,4CAA4C;gCAGtD,MAAM,mBACR,MAAM,YACb,WAAW,YACX,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,cACX,UAAU,YACZ,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,YACb,gCAAgC;EAG/C;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,sBAAsB,CAIxB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AASvF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,6BAA6B,EAC7B,6CAA6C,EAC7C,4CAA4C,EAC5C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EACjC,MAAM,sBAAsB,CAAC;AAE9B,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,wBAAwB;IACxB,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,KACpC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,mDAAmD;IACnD,mBAAmB,EAAE,CACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,KACpD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC7C,oDAAoD;IACpD,kBAAkB,EAAE,CAClB,OAAO,CAAC,EAAE,4CAA4C,KACnD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC7C,2BAA2B;IAC3B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,WAAW,EACrB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;IAC1D,2BAA2B;IAC3B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;IAC1D,2BAA2B;IAC3B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,2BAA2B,EAAE,cAAc,EAAE,MAAM;6BAGnE,MAAM,mBACR,MAAM,YACb,6BAA6B;6CAGpB,MAAM,YACf,6CAA6C;mCAE1B,4CAA4C;gCAGtD,MAAM,mBACR,MAAM,YACb,WAAW,YACX,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,cACX,UAAU,YACZ,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,YACb,gCAAgC;EAG/C;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,sBAAsB,CAIxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA8DlC,0CA+CC;AAED,8DAOC;AAlHD,8DAOyC;AAmDzC,SAAgB,eAAe,CAAC,OAAoC,EAAE,cAAsB;IAC1F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,OAAuC,EACvC,EAAE,CAAC,IAAA,0BAAe,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;QAC1F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,IAAA,0CAA+B,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,IAAA,yCAA8B,EAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAClE,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,QAAqB,EACrB,OAA0C,EAC1C,EAAE,CACF,IAAA,6BAAkB,EAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,UAAsB,EACtB,OAA0C,EAC1C,EAAE,CACF,IAAA,6BAAkB,EAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,OAA0C,EAC1C,EAAE,CAAC,IAAA,6BAAkB,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;KAC9F,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,OAAoC,EACpC,cAAsB;IAEtB,yBACK,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,EAC3C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { DeidService, DeidUpdate } from \"../../models/models.js\";\nimport {\n deidServicesGet,\n deidServicesListByResourceGroup,\n deidServicesListBySubscription,\n deidServicesCreate,\n deidServicesUpdate,\n deidServicesDelete,\n} from \"../../api/deidServices/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DeidServicesGetOptionalParams,\n DeidServicesListByResourceGroupOptionalParams,\n DeidServicesListBySubscriptionOptionalParams,\n DeidServicesCreateOptionalParams,\n DeidServicesUpdateOptionalParams,\n DeidServicesDeleteOptionalParams,\n} from \"../../models/options.js\";\n\n/** Interface representing a DeidServices operations. */\nexport interface DeidServicesOperations {\n /** Get a DeidService */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => Promise<DeidService>;\n /** List DeidService resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** List DeidService resources by subscription ID */\n listBySubscription: (\n options?: DeidServicesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** Create a DeidService */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Update a DeidService */\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Delete a DeidService */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n}\n\nexport function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) =>\n deidServicesListBySubscription(context, subscriptionId, options),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) =>\n deidServicesCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) =>\n deidServicesUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options),\n };\n}\n\nexport function getDeidServicesOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): DeidServicesOperations {\n return {\n ...getDeidServices(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA8DlC,0CA+CC;AAED,8DAOC;AAnHD,8DAOyC;AAoDzC,SAAgB,eAAe,CAAC,OAAoC,EAAE,cAAsB;IAC1F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,OAAuC,EACvC,EAAE,CAAC,IAAA,0BAAe,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;QAC1F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,IAAA,0CAA+B,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,IAAA,yCAA8B,EAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAClE,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,QAAqB,EACrB,OAA0C,EAC1C,EAAE,CACF,IAAA,6BAAkB,EAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,UAAsB,EACtB,OAA0C,EAC1C,EAAE,CACF,IAAA,6BAAkB,EAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,OAA0C,EAC1C,EAAE,CAAC,IAAA,6BAAkB,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;KAC9F,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,OAAoC,EACpC,cAAsB;IAEtB,yBACK,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,EAC3C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport {\n deidServicesGet,\n deidServicesListByResourceGroup,\n deidServicesListBySubscription,\n deidServicesCreate,\n deidServicesUpdate,\n deidServicesDelete,\n} from \"../../api/deidServices/index.js\";\nimport { DeidService, DeidUpdate } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DeidServicesGetOptionalParams,\n DeidServicesListByResourceGroupOptionalParams,\n DeidServicesListBySubscriptionOptionalParams,\n DeidServicesCreateOptionalParams,\n DeidServicesUpdateOptionalParams,\n DeidServicesDeleteOptionalParams,\n} from \"../../api/options.js\";\n\n/** Interface representing a DeidServices operations. */\nexport interface DeidServicesOperations {\n /** Get a DeidService */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => Promise<DeidService>;\n /** List DeidService resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** List DeidService resources by subscription ID */\n listBySubscription: (\n options?: DeidServicesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** Create a DeidService */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Update a DeidService */\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Delete a DeidService */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n}\n\nexport function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) =>\n deidServicesListBySubscription(context, subscriptionId, options),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) =>\n deidServicesCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) =>\n deidServicesUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options),\n };\n}\n\nexport function getDeidServicesOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): DeidServicesOperations {\n return {\n ...getDeidServices(context, subscriptionId),\n };\n}\n"]}
@@ -1,14 +1,14 @@
1
1
  import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
2
+ import { OperationsListOptionalParams } from "../../api/options.js";
2
3
  import { Operation } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
4
- import { OperationsListOptionalParams } from "../../models/options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  /** Interface representing a Operations operations. */
6
6
  export interface OperationsOperations {
7
7
  /** List the operations for the provider */
8
8
  list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
9
9
  }
10
10
  export declare function getOperations(context: HealthDataAIServicesContext): {
11
- list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation, Operation[], import("../../models/pagingTypes.js").PageSettings>;
11
+ list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation, Operation[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
12
12
  };
13
13
  export declare function getOperationsOperations(context: HealthDataAIServicesContext): OperationsOperations;
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAEvE,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACzF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B;qBAE7C,4BAA4B;EAEhD;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,2BAA2B,GACnC,oBAAoB,CAItB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACzF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B;qBAE7C,4BAA4B;EAEhD;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,2BAA2B,GACnC,oBAAoB,CAItB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAclC,sCAIC;AAED,0DAMC;AAtBD,4DAA+D;AAU/D,SAAgB,aAAa,CAAC,OAAoC;IAChE,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAA,yBAAc,EAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,SAAgB,uBAAuB,CACrC,OAAoC;IAEpC,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { OperationsListOptionalParams } from \"../../models/options.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: HealthDataAIServicesContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(\n context: HealthDataAIServicesContext,\n): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAclC,sCAIC;AAED,0DAMC;AAvBD,4DAA+D;AAW/D,SAAgB,aAAa,CAAC,OAAoC;IAChE,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAA,yBAAc,EAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,SAAgB,uBAAuB,CACrC,OAAoC;IAEpC,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: HealthDataAIServicesContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(\n context: HealthDataAIServicesContext,\n): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
2
+ import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByDeidServiceOptionalParams } from "../../api/options.js";
2
3
  import { PrivateEndpointConnectionResource } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
5
  import { PollerLike, OperationState } from "@azure/core-lro";
5
- import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByDeidServiceOptionalParams } from "../../models/options.js";
6
6
  /** Interface representing a PrivateEndpointConnections operations. */
7
7
  export interface PrivateEndpointConnectionsOperations {
8
8
  /** Get a specific private connection */
@@ -18,7 +18,7 @@ export declare function getPrivateEndpointConnections(context: HealthDataAIServi
18
18
  get: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams) => Promise<PrivateEndpointConnectionResource>;
19
19
  create: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsCreateOptionalParams) => PollerLike<OperationState<PrivateEndpointConnectionResource>, PrivateEndpointConnectionResource>;
20
20
  delete: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
21
- listByDeidService: (resourceGroupName: string, deidServiceName: string, options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource, PrivateEndpointConnectionResource[], import("../../models/pagingTypes.js").PageSettings>;
21
+ listByDeidService: (resourceGroupName: string, deidServiceName: string, options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource, PrivateEndpointConnectionResource[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
22
22
  };
23
23
  export declare function getPrivateEndpointConnectionsOperations(context: HealthDataAIServicesContext, subscriptionId: string): PrivateEndpointConnectionsOperations;
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAO3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,2CAA2C,EAC3C,8CAA8C,EAC9C,8CAA8C,EAC9C,yDAAyD,EAC1D,MAAM,yBAAyB,CAAC;AAEjC,sEAAsE;AACtE,MAAM,WAAW,oCAAoC;IACnD,wCAAwC;IACxC,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,KAClD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAChD,2CAA2C;IAC3C,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,QAAQ,EAAE,iCAAiC,EAC3C,OAAO,CAAC,EAAE,8CAA8C,KACrD,UAAU,CACb,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CAAC;IACF,6CAA6C;IAC7C,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,KACrD,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC5C,8DAA8D;IAC9D,iBAAiB,EAAE,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yDAAyD,KAChE,0BAA0B,CAAC,iCAAiC,CAAC,CAAC;CACpE;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM;6BAIC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,2CAA2C;gCAWlC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,iCAAiC,YACjC,8CAA8C;gCAYrC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,8CAA8C;2CAWrC,MAAM,mBACR,MAAM,YACb,yDAAyD;EAUxE;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,oCAAoC,CAItC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EACL,2CAA2C,EAC3C,8CAA8C,EAC9C,8CAA8C,EAC9C,yDAAyD,EAC1D,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D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+1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsDlC,sEA8DC;AAED,0FAOC;AAzHD,4EAKuD;AA6CvD,SAAgB,6BAA6B,CAC3C,OAAoC,EACpC,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAqD,EACrD,EAAE,CACF,IAAA,wCAA6B,EAC3B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,QAA2C,EAC3C,OAAwD,EACxD,EAAE,CACF,IAAA,2CAAgC,EAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAwD,EACxD,EAAE,CACF,IAAA,2CAAgC,EAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,iBAAiB,EAAE,CACjB,iBAAyB,EACzB,eAAuB,EACvB,OAAmE,EACnE,EAAE,CACF,IAAA,sDAA2C,EACzC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,SAAgB,uCAAuC,CACrD,OAAoC,EACpC,cAAsB;IAEtB,yBACK,6BAA6B,CAAC,OAAO,EAAE,cAAc,CAAC,EACzD;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { PrivateEndpointConnectionResource } from \"../../models/models.js\";\nimport {\n privateEndpointConnectionsGet,\n privateEndpointConnectionsCreate,\n privateEndpointConnectionsDelete,\n privateEndpointConnectionsListByDeidService,\n} from \"../../api/privateEndpointConnections/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../../models/options.js\";\n\n/** Interface representing a PrivateEndpointConnections operations. */\nexport interface PrivateEndpointConnectionsOperations {\n /** Get a specific private connection */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ) => Promise<PrivateEndpointConnectionResource>;\n /** Create a Private endpoint connection */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsCreateOptionalParams,\n ) => PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n /** Delete the private endpoint connection */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** List private endpoint connections on the given resource */\n listByDeidService: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n ) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;\n}\n\nexport function getPrivateEndpointConnections(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ) =>\n privateEndpointConnectionsGet(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsCreateOptionalParams,\n ) =>\n privateEndpointConnectionsCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ) =>\n privateEndpointConnectionsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n listByDeidService: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n ) =>\n privateEndpointConnectionsListByDeidService(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n };\n}\n\nexport function getPrivateEndpointConnectionsOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): PrivateEndpointConnectionsOperations {\n return {\n ...getPrivateEndpointConnections(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsDlC,sEA8DC;AAED,0FAOC;AApHD,4EAKuD;AAwCvD,SAAgB,6BAA6B,CAC3C,OAAoC,EACpC,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAqD,EACrD,EAAE,CACF,IAAA,wCAA6B,EAC3B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,QAA2C,EAC3C,OAAwD,EACxD,EAAE,CACF,IAAA,2CAAgC,EAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAwD,EACxD,EAAE,CACF,IAAA,2CAAgC,EAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,iBAAiB,EAAE,CACjB,iBAAyB,EACzB,eAAuB,EACvB,OAAmE,EACnE,EAAE,CACF,IAAA,sDAA2C,EACzC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,SAAgB,uCAAuC,CACrD,OAAoC,EACpC,cAAsB;IAEtB,yBACK,6BAA6B,CAAC,OAAO,EAAE,cAAc,CAAC,EACzD;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../../api/options.js\";\nimport {\n privateEndpointConnectionsGet,\n privateEndpointConnectionsCreate,\n privateEndpointConnectionsDelete,\n privateEndpointConnectionsListByDeidService,\n} from \"../../api/privateEndpointConnections/index.js\";\nimport { PrivateEndpointConnectionResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a PrivateEndpointConnections operations. */\nexport interface PrivateEndpointConnectionsOperations {\n /** Get a specific private connection */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ) => Promise<PrivateEndpointConnectionResource>;\n /** Create a Private endpoint connection */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsCreateOptionalParams,\n ) => PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n /** Delete the private endpoint connection */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** List private endpoint connections on the given resource */\n listByDeidService: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n ) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;\n}\n\nexport function getPrivateEndpointConnections(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ) =>\n privateEndpointConnectionsGet(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsCreateOptionalParams,\n ) =>\n privateEndpointConnectionsCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ) =>\n privateEndpointConnectionsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n listByDeidService: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n ) =>\n privateEndpointConnectionsListByDeidService(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n };\n}\n\nexport function getPrivateEndpointConnectionsOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): PrivateEndpointConnectionsOperations {\n return {\n ...getPrivateEndpointConnections(context, subscriptionId),\n };\n}\n"]}