@azure/arm-healthcareapis 2.0.0 → 2.1.1-alpha.20220330.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (324) hide show
  1. package/CHANGELOG.md +161 -0
  2. package/README.md +11 -0
  3. package/dist/index.js +4828 -844
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +33 -0
  10. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -0
  11. package/dist-esm/samples-dev/dicomServicesDeleteSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/dicomServicesDeleteSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/dicomServicesDeleteSample.js +32 -0
  14. package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -0
  15. package/dist-esm/samples-dev/dicomServicesGetSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/dicomServicesGetSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/dicomServicesGetSample.js +32 -0
  18. package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -0
  19. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +45 -0
  22. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -0
  23. package/dist-esm/samples-dev/dicomServicesUpdateSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/dicomServicesUpdateSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/dicomServicesUpdateSample.js +35 -0
  26. package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -0
  27. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +46 -0
  30. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -0
  31. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +60 -0
  34. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -0
  35. package/dist-esm/samples-dev/fhirServicesDeleteSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/fhirServicesDeleteSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/fhirServicesDeleteSample.js +32 -0
  38. package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -0
  39. package/dist-esm/samples-dev/fhirServicesGetSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/fhirServicesGetSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/fhirServicesGetSample.js +32 -0
  42. package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -0
  43. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +45 -0
  46. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -0
  47. package/dist-esm/samples-dev/fhirServicesUpdateSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/fhirServicesUpdateSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/fhirServicesUpdateSample.js +35 -0
  50. package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -0
  51. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +65 -0
  54. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -0
  55. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +33 -0
  58. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -0
  59. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +33 -0
  62. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -0
  63. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +69 -0
  66. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -0
  67. package/dist-esm/samples-dev/iotConnectorsDeleteSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/iotConnectorsDeleteSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +32 -0
  70. package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -0
  71. package/dist-esm/samples-dev/iotConnectorsGetSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/iotConnectorsGetSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/iotConnectorsGetSample.js +32 -0
  74. package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -0
  75. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +45 -0
  78. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -0
  79. package/dist-esm/samples-dev/iotConnectorsUpdateSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/iotConnectorsUpdateSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +40 -0
  82. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -0
  83. package/dist-esm/samples-dev/operationResultsGetSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/operationResultsGetSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/operationResultsGetSample.js +31 -0
  86. package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -0
  87. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  90. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  91. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
  94. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
  95. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
  98. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  99. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
  102. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  103. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +45 -0
  106. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -0
  107. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +32 -0
  110. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  111. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +31 -0
  114. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -0
  115. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +2 -0
  116. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +33 -0
  118. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -0
  119. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +2 -0
  120. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +88 -0
  122. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -0
  123. package/dist-esm/samples-dev/servicesDeleteSample.d.ts +2 -0
  124. package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/servicesDeleteSample.js +31 -0
  126. package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -0
  127. package/dist-esm/samples-dev/servicesGetSample.d.ts +2 -0
  128. package/dist-esm/samples-dev/servicesGetSample.d.ts.map +1 -0
  129. package/dist-esm/samples-dev/servicesGetSample.js +31 -0
  130. package/dist-esm/samples-dev/servicesGetSample.js.map +1 -0
  131. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +2 -0
  132. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +1 -0
  133. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +44 -0
  134. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -0
  135. package/dist-esm/samples-dev/servicesListSample.d.ts +2 -0
  136. package/dist-esm/samples-dev/servicesListSample.d.ts.map +1 -0
  137. package/dist-esm/samples-dev/servicesListSample.js +43 -0
  138. package/dist-esm/samples-dev/servicesListSample.js.map +1 -0
  139. package/dist-esm/samples-dev/servicesUpdateSample.d.ts +2 -0
  140. package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +1 -0
  141. package/dist-esm/samples-dev/servicesUpdateSample.js +34 -0
  142. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -0
  143. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
  144. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
  145. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +38 -0
  146. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
  147. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.d.ts +2 -0
  148. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  149. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +32 -0
  150. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -0
  151. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.d.ts +2 -0
  152. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.d.ts.map +1 -0
  153. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +32 -0
  154. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -0
  155. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.d.ts +2 -0
  156. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.d.ts.map +1 -0
  157. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +45 -0
  158. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -0
  159. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.d.ts +2 -0
  160. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.d.ts.map +1 -0
  161. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +32 -0
  162. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -0
  163. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.d.ts +2 -0
  164. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.d.ts.map +1 -0
  165. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +45 -0
  166. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -0
  167. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +2 -0
  168. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +1 -0
  169. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +32 -0
  170. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -0
  171. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +2 -0
  172. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +1 -0
  173. package/dist-esm/samples-dev/workspacesDeleteSample.js +31 -0
  174. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -0
  175. package/dist-esm/samples-dev/workspacesGetSample.d.ts +2 -0
  176. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +1 -0
  177. package/dist-esm/samples-dev/workspacesGetSample.js +31 -0
  178. package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -0
  179. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +2 -0
  180. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +1 -0
  181. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +44 -0
  182. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -0
  183. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +2 -0
  184. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +1 -0
  185. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +43 -0
  186. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -0
  187. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +2 -0
  188. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +1 -0
  189. package/dist-esm/samples-dev/workspacesUpdateSample.js +34 -0
  190. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -0
  191. package/dist-esm/src/healthcareApisManagementClient.d.ts +11 -3
  192. package/dist-esm/src/healthcareApisManagementClient.d.ts.map +1 -1
  193. package/dist-esm/src/healthcareApisManagementClient.js +15 -6
  194. package/dist-esm/src/healthcareApisManagementClient.js.map +1 -1
  195. package/dist-esm/src/models/index.d.ts +821 -57
  196. package/dist-esm/src/models/index.d.ts.map +1 -1
  197. package/dist-esm/src/models/index.js +43 -0
  198. package/dist-esm/src/models/index.js.map +1 -1
  199. package/dist-esm/src/models/mappers.d.ts +45 -4
  200. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  201. package/dist-esm/src/models/mappers.js +1241 -110
  202. package/dist-esm/src/models/mappers.js.map +1 -1
  203. package/dist-esm/src/models/parameters.d.ts +17 -2
  204. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  205. package/dist-esm/src/models/parameters.js +126 -16
  206. package/dist-esm/src/models/parameters.js.map +1 -1
  207. package/dist-esm/src/operations/dicomServices.d.ts +99 -0
  208. package/dist-esm/src/operations/dicomServices.d.ts.map +1 -0
  209. package/dist-esm/src/operations/dicomServices.js +435 -0
  210. package/dist-esm/src/operations/dicomServices.js.map +1 -0
  211. package/dist-esm/src/operations/fhirDestinations.d.ts +41 -0
  212. package/dist-esm/src/operations/fhirDestinations.d.ts.map +1 -0
  213. package/dist-esm/src/operations/fhirDestinations.js +142 -0
  214. package/dist-esm/src/operations/fhirDestinations.js.map +1 -0
  215. package/dist-esm/src/operations/fhirServices.d.ts +99 -0
  216. package/dist-esm/src/operations/fhirServices.d.ts.map +1 -0
  217. package/dist-esm/src/operations/fhirServices.js +435 -0
  218. package/dist-esm/src/operations/fhirServices.js.map +1 -0
  219. package/dist-esm/src/operations/index.d.ts +10 -2
  220. package/dist-esm/src/operations/index.d.ts.map +1 -1
  221. package/dist-esm/src/operations/index.js +10 -2
  222. package/dist-esm/src/operations/index.js.map +1 -1
  223. package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +63 -0
  224. package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -0
  225. package/dist-esm/src/operations/iotConnectorFhirDestination.js +251 -0
  226. package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -0
  227. package/dist-esm/src/operations/iotConnectors.d.ts +99 -0
  228. package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -0
  229. package/dist-esm/src/operations/iotConnectors.js +435 -0
  230. package/dist-esm/src/operations/iotConnectors.js.map +1 -0
  231. package/dist-esm/src/operations/operationResults.js +0 -3
  232. package/dist-esm/src/operations/operationResults.js.map +1 -1
  233. package/dist-esm/src/operations/operations.d.ts +4 -4
  234. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  235. package/dist-esm/src/operations/operations.js +4 -4
  236. package/dist-esm/src/operations/operations.js.map +1 -1
  237. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  238. package/dist-esm/src/operations/privateEndpointConnections.js +6 -2
  239. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  240. package/dist-esm/src/operations/services.d.ts.map +1 -1
  241. package/dist-esm/src/operations/services.js +9 -3
  242. package/dist-esm/src/operations/services.js.map +1 -1
  243. package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +78 -0
  244. package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -0
  245. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +318 -0
  246. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -0
  247. package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts +38 -0
  248. package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts.map +1 -0
  249. package/dist-esm/src/operations/workspacePrivateLinkResources.js +131 -0
  250. package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -0
  251. package/dist-esm/src/operations/workspaces.d.ts +107 -0
  252. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  253. package/dist-esm/src/operations/workspaces.js +506 -0
  254. package/dist-esm/src/operations/workspaces.js.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +74 -0
  256. package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/dicomServices.js +9 -0
  258. package/dist-esm/src/operationsInterfaces/dicomServices.js.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/fhirDestinations.d.ts +14 -0
  260. package/dist-esm/src/operationsInterfaces/fhirDestinations.d.ts.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/fhirDestinations.js +9 -0
  262. package/dist-esm/src/operationsInterfaces/fhirDestinations.js.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +74 -0
  264. package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -0
  265. package/dist-esm/src/operationsInterfaces/fhirServices.js +9 -0
  266. package/dist-esm/src/operationsInterfaces/fhirServices.js.map +1 -0
  267. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -2
  268. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  269. package/dist-esm/src/operationsInterfaces/index.js +10 -2
  270. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  271. package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +55 -0
  272. package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -0
  273. package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.js +9 -0
  274. package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.js.map +1 -0
  275. package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +74 -0
  276. package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -0
  277. package/dist-esm/src/operationsInterfaces/iotConnectors.js +9 -0
  278. package/dist-esm/src/operationsInterfaces/iotConnectors.js.map +1 -0
  279. package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
  280. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  281. package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +61 -0
  282. package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -0
  283. package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.js +9 -0
  284. package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.js.map +1 -0
  285. package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.d.ts +21 -0
  286. package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.d.ts.map +1 -0
  287. package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.js +9 -0
  288. package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.js.map +1 -0
  289. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
  290. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  291. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  292. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  293. package/package.json +24 -12
  294. package/review/arm-healthcareapis.api.md +731 -9
  295. package/rollup.config.js +6 -72
  296. package/src/healthcareApisManagementClient.ts +52 -13
  297. package/src/models/index.ts +968 -67
  298. package/src/models/mappers.ts +1374 -134
  299. package/src/models/parameters.ts +151 -16
  300. package/src/operations/dicomServices.ts +626 -0
  301. package/src/operations/fhirDestinations.ts +204 -0
  302. package/src/operations/fhirServices.ts +626 -0
  303. package/src/operations/index.ts +10 -2
  304. package/src/operations/iotConnectorFhirDestination.ts +360 -0
  305. package/src/operations/iotConnectors.ts +626 -0
  306. package/src/operations/operationResults.ts +0 -3
  307. package/src/operations/operations.ts +8 -8
  308. package/src/operations/privateEndpointConnections.ts +6 -2
  309. package/src/operations/services.ts +9 -3
  310. package/src/operations/workspacePrivateEndpointConnections.ts +450 -0
  311. package/src/operations/workspacePrivateLinkResources.ts +180 -0
  312. package/src/operations/workspaces.ts +680 -0
  313. package/src/operationsInterfaces/dicomServices.ts +147 -0
  314. package/src/operationsInterfaces/fhirDestinations.ts +31 -0
  315. package/src/operationsInterfaces/fhirServices.ts +147 -0
  316. package/src/operationsInterfaces/index.ts +10 -2
  317. package/src/operationsInterfaces/iotConnectorFhirDestination.ts +107 -0
  318. package/src/operationsInterfaces/iotConnectors.ts +147 -0
  319. package/src/operationsInterfaces/operations.ts +3 -3
  320. package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +116 -0
  321. package/src/operationsInterfaces/workspacePrivateLinkResources.ts +44 -0
  322. package/src/operationsInterfaces/workspaces.ts +139 -0
  323. package/tsconfig.json +18 -5
  324. package/types/arm-healthcareapis.d.ts +1346 -30
@@ -0,0 +1,360 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { IotConnectorFhirDestination } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
14
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
15
+ import { LroImpl } from "../lroImpl";
16
+ import {
17
+ IotConnectorFhirDestinationGetOptionalParams,
18
+ IotConnectorFhirDestinationGetResponse,
19
+ IotFhirDestination,
20
+ IotConnectorFhirDestinationCreateOrUpdateOptionalParams,
21
+ IotConnectorFhirDestinationCreateOrUpdateResponse,
22
+ IotConnectorFhirDestinationDeleteOptionalParams
23
+ } from "../models";
24
+
25
+ /** Class containing IotConnectorFhirDestination operations. */
26
+ export class IotConnectorFhirDestinationImpl
27
+ implements IotConnectorFhirDestination {
28
+ private readonly client: HealthcareApisManagementClient;
29
+
30
+ /**
31
+ * Initialize a new instance of the class IotConnectorFhirDestination class.
32
+ * @param client Reference to the service client
33
+ */
34
+ constructor(client: HealthcareApisManagementClient) {
35
+ this.client = client;
36
+ }
37
+
38
+ /**
39
+ * Gets the properties of the specified Iot Connector FHIR destination.
40
+ * @param resourceGroupName The name of the resource group that contains the service instance.
41
+ * @param workspaceName The name of workspace resource.
42
+ * @param iotConnectorName The name of IoT Connector resource.
43
+ * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
44
+ * @param options The options parameters.
45
+ */
46
+ get(
47
+ resourceGroupName: string,
48
+ workspaceName: string,
49
+ iotConnectorName: string,
50
+ fhirDestinationName: string,
51
+ options?: IotConnectorFhirDestinationGetOptionalParams
52
+ ): Promise<IotConnectorFhirDestinationGetResponse> {
53
+ return this.client.sendOperationRequest(
54
+ {
55
+ resourceGroupName,
56
+ workspaceName,
57
+ iotConnectorName,
58
+ fhirDestinationName,
59
+ options
60
+ },
61
+ getOperationSpec
62
+ );
63
+ }
64
+
65
+ /**
66
+ * Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
67
+ * @param resourceGroupName The name of the resource group that contains the service instance.
68
+ * @param workspaceName The name of workspace resource.
69
+ * @param iotConnectorName The name of IoT Connector resource.
70
+ * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
71
+ * @param iotFhirDestination The parameters for creating or updating an IoT Connector FHIR destination
72
+ * resource.
73
+ * @param options The options parameters.
74
+ */
75
+ async beginCreateOrUpdate(
76
+ resourceGroupName: string,
77
+ workspaceName: string,
78
+ iotConnectorName: string,
79
+ fhirDestinationName: string,
80
+ iotFhirDestination: IotFhirDestination,
81
+ options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams
82
+ ): Promise<
83
+ PollerLike<
84
+ PollOperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>,
85
+ IotConnectorFhirDestinationCreateOrUpdateResponse
86
+ >
87
+ > {
88
+ const directSendOperation = async (
89
+ args: coreClient.OperationArguments,
90
+ spec: coreClient.OperationSpec
91
+ ): Promise<IotConnectorFhirDestinationCreateOrUpdateResponse> => {
92
+ return this.client.sendOperationRequest(args, spec);
93
+ };
94
+ const sendOperation = async (
95
+ args: coreClient.OperationArguments,
96
+ spec: coreClient.OperationSpec
97
+ ) => {
98
+ let currentRawResponse:
99
+ | coreClient.FullOperationResponse
100
+ | undefined = undefined;
101
+ const providedCallback = args.options?.onResponse;
102
+ const callback: coreClient.RawResponseCallback = (
103
+ rawResponse: coreClient.FullOperationResponse,
104
+ flatResponse: unknown
105
+ ) => {
106
+ currentRawResponse = rawResponse;
107
+ providedCallback?.(rawResponse, flatResponse);
108
+ };
109
+ const updatedArgs = {
110
+ ...args,
111
+ options: {
112
+ ...args.options,
113
+ onResponse: callback
114
+ }
115
+ };
116
+ const flatResponse = await directSendOperation(updatedArgs, spec);
117
+ return {
118
+ flatResponse,
119
+ rawResponse: {
120
+ statusCode: currentRawResponse!.status,
121
+ body: currentRawResponse!.parsedBody,
122
+ headers: currentRawResponse!.headers.toJSON()
123
+ }
124
+ };
125
+ };
126
+
127
+ const lro = new LroImpl(
128
+ sendOperation,
129
+ {
130
+ resourceGroupName,
131
+ workspaceName,
132
+ iotConnectorName,
133
+ fhirDestinationName,
134
+ iotFhirDestination,
135
+ options
136
+ },
137
+ createOrUpdateOperationSpec
138
+ );
139
+ const poller = new LroEngine(lro, {
140
+ resumeFrom: options?.resumeFrom,
141
+ intervalInMs: options?.updateIntervalInMs
142
+ });
143
+ await poller.poll();
144
+ return poller;
145
+ }
146
+
147
+ /**
148
+ * Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
149
+ * @param resourceGroupName The name of the resource group that contains the service instance.
150
+ * @param workspaceName The name of workspace resource.
151
+ * @param iotConnectorName The name of IoT Connector resource.
152
+ * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
153
+ * @param iotFhirDestination The parameters for creating or updating an IoT Connector FHIR destination
154
+ * resource.
155
+ * @param options The options parameters.
156
+ */
157
+ async beginCreateOrUpdateAndWait(
158
+ resourceGroupName: string,
159
+ workspaceName: string,
160
+ iotConnectorName: string,
161
+ fhirDestinationName: string,
162
+ iotFhirDestination: IotFhirDestination,
163
+ options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams
164
+ ): Promise<IotConnectorFhirDestinationCreateOrUpdateResponse> {
165
+ const poller = await this.beginCreateOrUpdate(
166
+ resourceGroupName,
167
+ workspaceName,
168
+ iotConnectorName,
169
+ fhirDestinationName,
170
+ iotFhirDestination,
171
+ options
172
+ );
173
+ return poller.pollUntilDone();
174
+ }
175
+
176
+ /**
177
+ * Deletes an IoT Connector FHIR destination.
178
+ * @param resourceGroupName The name of the resource group that contains the service instance.
179
+ * @param workspaceName The name of workspace resource.
180
+ * @param iotConnectorName The name of IoT Connector resource.
181
+ * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
182
+ * @param options The options parameters.
183
+ */
184
+ async beginDelete(
185
+ resourceGroupName: string,
186
+ workspaceName: string,
187
+ iotConnectorName: string,
188
+ fhirDestinationName: string,
189
+ options?: IotConnectorFhirDestinationDeleteOptionalParams
190
+ ): Promise<PollerLike<PollOperationState<void>, void>> {
191
+ const directSendOperation = async (
192
+ args: coreClient.OperationArguments,
193
+ spec: coreClient.OperationSpec
194
+ ): Promise<void> => {
195
+ return this.client.sendOperationRequest(args, spec);
196
+ };
197
+ const sendOperation = async (
198
+ args: coreClient.OperationArguments,
199
+ spec: coreClient.OperationSpec
200
+ ) => {
201
+ let currentRawResponse:
202
+ | coreClient.FullOperationResponse
203
+ | undefined = undefined;
204
+ const providedCallback = args.options?.onResponse;
205
+ const callback: coreClient.RawResponseCallback = (
206
+ rawResponse: coreClient.FullOperationResponse,
207
+ flatResponse: unknown
208
+ ) => {
209
+ currentRawResponse = rawResponse;
210
+ providedCallback?.(rawResponse, flatResponse);
211
+ };
212
+ const updatedArgs = {
213
+ ...args,
214
+ options: {
215
+ ...args.options,
216
+ onResponse: callback
217
+ }
218
+ };
219
+ const flatResponse = await directSendOperation(updatedArgs, spec);
220
+ return {
221
+ flatResponse,
222
+ rawResponse: {
223
+ statusCode: currentRawResponse!.status,
224
+ body: currentRawResponse!.parsedBody,
225
+ headers: currentRawResponse!.headers.toJSON()
226
+ }
227
+ };
228
+ };
229
+
230
+ const lro = new LroImpl(
231
+ sendOperation,
232
+ {
233
+ resourceGroupName,
234
+ workspaceName,
235
+ iotConnectorName,
236
+ fhirDestinationName,
237
+ options
238
+ },
239
+ deleteOperationSpec
240
+ );
241
+ const poller = new LroEngine(lro, {
242
+ resumeFrom: options?.resumeFrom,
243
+ intervalInMs: options?.updateIntervalInMs
244
+ });
245
+ await poller.poll();
246
+ return poller;
247
+ }
248
+
249
+ /**
250
+ * Deletes an IoT Connector FHIR destination.
251
+ * @param resourceGroupName The name of the resource group that contains the service instance.
252
+ * @param workspaceName The name of workspace resource.
253
+ * @param iotConnectorName The name of IoT Connector resource.
254
+ * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
255
+ * @param options The options parameters.
256
+ */
257
+ async beginDeleteAndWait(
258
+ resourceGroupName: string,
259
+ workspaceName: string,
260
+ iotConnectorName: string,
261
+ fhirDestinationName: string,
262
+ options?: IotConnectorFhirDestinationDeleteOptionalParams
263
+ ): Promise<void> {
264
+ const poller = await this.beginDelete(
265
+ resourceGroupName,
266
+ workspaceName,
267
+ iotConnectorName,
268
+ fhirDestinationName,
269
+ options
270
+ );
271
+ return poller.pollUntilDone();
272
+ }
273
+ }
274
+ // Operation Specifications
275
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
276
+
277
+ const getOperationSpec: coreClient.OperationSpec = {
278
+ path:
279
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
280
+ httpMethod: "GET",
281
+ responses: {
282
+ 200: {
283
+ bodyMapper: Mappers.IotFhirDestination
284
+ },
285
+ default: {
286
+ bodyMapper: Mappers.ErrorDetails
287
+ }
288
+ },
289
+ queryParameters: [Parameters.apiVersion],
290
+ urlParameters: [
291
+ Parameters.$host,
292
+ Parameters.subscriptionId,
293
+ Parameters.resourceGroupName,
294
+ Parameters.workspaceName,
295
+ Parameters.iotConnectorName,
296
+ Parameters.fhirDestinationName
297
+ ],
298
+ headerParameters: [Parameters.accept],
299
+ serializer
300
+ };
301
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
302
+ path:
303
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
304
+ httpMethod: "PUT",
305
+ responses: {
306
+ 200: {
307
+ bodyMapper: Mappers.IotFhirDestination
308
+ },
309
+ 201: {
310
+ bodyMapper: Mappers.IotFhirDestination
311
+ },
312
+ 202: {
313
+ bodyMapper: Mappers.IotFhirDestination
314
+ },
315
+ 204: {
316
+ bodyMapper: Mappers.IotFhirDestination
317
+ },
318
+ default: {
319
+ bodyMapper: Mappers.ErrorDetails
320
+ }
321
+ },
322
+ requestBody: Parameters.iotFhirDestination,
323
+ queryParameters: [Parameters.apiVersion],
324
+ urlParameters: [
325
+ Parameters.$host,
326
+ Parameters.subscriptionId,
327
+ Parameters.resourceGroupName,
328
+ Parameters.workspaceName,
329
+ Parameters.iotConnectorName,
330
+ Parameters.fhirDestinationName
331
+ ],
332
+ headerParameters: [Parameters.accept, Parameters.contentType],
333
+ mediaType: "json",
334
+ serializer
335
+ };
336
+ const deleteOperationSpec: coreClient.OperationSpec = {
337
+ path:
338
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
339
+ httpMethod: "DELETE",
340
+ responses: {
341
+ 200: {},
342
+ 201: {},
343
+ 202: {},
344
+ 204: {},
345
+ default: {
346
+ bodyMapper: Mappers.ErrorModel
347
+ }
348
+ },
349
+ queryParameters: [Parameters.apiVersion],
350
+ urlParameters: [
351
+ Parameters.$host,
352
+ Parameters.subscriptionId,
353
+ Parameters.resourceGroupName,
354
+ Parameters.workspaceName,
355
+ Parameters.iotConnectorName,
356
+ Parameters.fhirDestinationName
357
+ ],
358
+ headerParameters: [Parameters.accept],
359
+ serializer
360
+ };