@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,626 @@
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { DicomServices } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
13
+ import * as Parameters from "../models/parameters";
14
+ import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
15
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
+ import { LroImpl } from "../lroImpl";
17
+ import {
18
+ DicomService,
19
+ DicomServicesListByWorkspaceNextOptionalParams,
20
+ DicomServicesListByWorkspaceOptionalParams,
21
+ DicomServicesListByWorkspaceResponse,
22
+ DicomServicesGetOptionalParams,
23
+ DicomServicesGetResponse,
24
+ DicomServicesCreateOrUpdateOptionalParams,
25
+ DicomServicesCreateOrUpdateResponse,
26
+ DicomServicePatchResource,
27
+ DicomServicesUpdateOptionalParams,
28
+ DicomServicesUpdateResponse,
29
+ DicomServicesDeleteOptionalParams,
30
+ DicomServicesListByWorkspaceNextResponse
31
+ } from "../models";
32
+
33
+ /// <reference lib="esnext.asynciterable" />
34
+ /** Class containing DicomServices operations. */
35
+ export class DicomServicesImpl implements DicomServices {
36
+ private readonly client: HealthcareApisManagementClient;
37
+
38
+ /**
39
+ * Initialize a new instance of the class DicomServices class.
40
+ * @param client Reference to the service client
41
+ */
42
+ constructor(client: HealthcareApisManagementClient) {
43
+ this.client = client;
44
+ }
45
+
46
+ /**
47
+ * Lists all DICOM Services for the given workspace
48
+ * @param resourceGroupName The name of the resource group that contains the service instance.
49
+ * @param workspaceName The name of workspace resource.
50
+ * @param options The options parameters.
51
+ */
52
+ public listByWorkspace(
53
+ resourceGroupName: string,
54
+ workspaceName: string,
55
+ options?: DicomServicesListByWorkspaceOptionalParams
56
+ ): PagedAsyncIterableIterator<DicomService> {
57
+ const iter = this.listByWorkspacePagingAll(
58
+ resourceGroupName,
59
+ workspaceName,
60
+ options
61
+ );
62
+ return {
63
+ next() {
64
+ return iter.next();
65
+ },
66
+ [Symbol.asyncIterator]() {
67
+ return this;
68
+ },
69
+ byPage: () => {
70
+ return this.listByWorkspacePagingPage(
71
+ resourceGroupName,
72
+ workspaceName,
73
+ options
74
+ );
75
+ }
76
+ };
77
+ }
78
+
79
+ private async *listByWorkspacePagingPage(
80
+ resourceGroupName: string,
81
+ workspaceName: string,
82
+ options?: DicomServicesListByWorkspaceOptionalParams
83
+ ): AsyncIterableIterator<DicomService[]> {
84
+ let result = await this._listByWorkspace(
85
+ resourceGroupName,
86
+ workspaceName,
87
+ options
88
+ );
89
+ yield result.value || [];
90
+ let continuationToken = result.nextLink;
91
+ while (continuationToken) {
92
+ result = await this._listByWorkspaceNext(
93
+ resourceGroupName,
94
+ workspaceName,
95
+ continuationToken,
96
+ options
97
+ );
98
+ continuationToken = result.nextLink;
99
+ yield result.value || [];
100
+ }
101
+ }
102
+
103
+ private async *listByWorkspacePagingAll(
104
+ resourceGroupName: string,
105
+ workspaceName: string,
106
+ options?: DicomServicesListByWorkspaceOptionalParams
107
+ ): AsyncIterableIterator<DicomService> {
108
+ for await (const page of this.listByWorkspacePagingPage(
109
+ resourceGroupName,
110
+ workspaceName,
111
+ options
112
+ )) {
113
+ yield* page;
114
+ }
115
+ }
116
+
117
+ /**
118
+ * Lists all DICOM Services for the given workspace
119
+ * @param resourceGroupName The name of the resource group that contains the service instance.
120
+ * @param workspaceName The name of workspace resource.
121
+ * @param options The options parameters.
122
+ */
123
+ private _listByWorkspace(
124
+ resourceGroupName: string,
125
+ workspaceName: string,
126
+ options?: DicomServicesListByWorkspaceOptionalParams
127
+ ): Promise<DicomServicesListByWorkspaceResponse> {
128
+ return this.client.sendOperationRequest(
129
+ { resourceGroupName, workspaceName, options },
130
+ listByWorkspaceOperationSpec
131
+ );
132
+ }
133
+
134
+ /**
135
+ * Gets the properties of the specified DICOM Service.
136
+ * @param resourceGroupName The name of the resource group that contains the service instance.
137
+ * @param workspaceName The name of workspace resource.
138
+ * @param dicomServiceName The name of DICOM Service resource.
139
+ * @param options The options parameters.
140
+ */
141
+ get(
142
+ resourceGroupName: string,
143
+ workspaceName: string,
144
+ dicomServiceName: string,
145
+ options?: DicomServicesGetOptionalParams
146
+ ): Promise<DicomServicesGetResponse> {
147
+ return this.client.sendOperationRequest(
148
+ { resourceGroupName, workspaceName, dicomServiceName, options },
149
+ getOperationSpec
150
+ );
151
+ }
152
+
153
+ /**
154
+ * Creates or updates a DICOM Service resource with the specified parameters.
155
+ * @param resourceGroupName The name of the resource group that contains the service instance.
156
+ * @param workspaceName The name of workspace resource.
157
+ * @param dicomServiceName The name of DICOM Service resource.
158
+ * @param dicomservice The parameters for creating or updating a Dicom Service resource.
159
+ * @param options The options parameters.
160
+ */
161
+ async beginCreateOrUpdate(
162
+ resourceGroupName: string,
163
+ workspaceName: string,
164
+ dicomServiceName: string,
165
+ dicomservice: DicomService,
166
+ options?: DicomServicesCreateOrUpdateOptionalParams
167
+ ): Promise<
168
+ PollerLike<
169
+ PollOperationState<DicomServicesCreateOrUpdateResponse>,
170
+ DicomServicesCreateOrUpdateResponse
171
+ >
172
+ > {
173
+ const directSendOperation = async (
174
+ args: coreClient.OperationArguments,
175
+ spec: coreClient.OperationSpec
176
+ ): Promise<DicomServicesCreateOrUpdateResponse> => {
177
+ return this.client.sendOperationRequest(args, spec);
178
+ };
179
+ const sendOperation = async (
180
+ args: coreClient.OperationArguments,
181
+ spec: coreClient.OperationSpec
182
+ ) => {
183
+ let currentRawResponse:
184
+ | coreClient.FullOperationResponse
185
+ | undefined = undefined;
186
+ const providedCallback = args.options?.onResponse;
187
+ const callback: coreClient.RawResponseCallback = (
188
+ rawResponse: coreClient.FullOperationResponse,
189
+ flatResponse: unknown
190
+ ) => {
191
+ currentRawResponse = rawResponse;
192
+ providedCallback?.(rawResponse, flatResponse);
193
+ };
194
+ const updatedArgs = {
195
+ ...args,
196
+ options: {
197
+ ...args.options,
198
+ onResponse: callback
199
+ }
200
+ };
201
+ const flatResponse = await directSendOperation(updatedArgs, spec);
202
+ return {
203
+ flatResponse,
204
+ rawResponse: {
205
+ statusCode: currentRawResponse!.status,
206
+ body: currentRawResponse!.parsedBody,
207
+ headers: currentRawResponse!.headers.toJSON()
208
+ }
209
+ };
210
+ };
211
+
212
+ const lro = new LroImpl(
213
+ sendOperation,
214
+ {
215
+ resourceGroupName,
216
+ workspaceName,
217
+ dicomServiceName,
218
+ dicomservice,
219
+ options
220
+ },
221
+ createOrUpdateOperationSpec
222
+ );
223
+ const poller = new LroEngine(lro, {
224
+ resumeFrom: options?.resumeFrom,
225
+ intervalInMs: options?.updateIntervalInMs
226
+ });
227
+ await poller.poll();
228
+ return poller;
229
+ }
230
+
231
+ /**
232
+ * Creates or updates a DICOM Service resource with the specified parameters.
233
+ * @param resourceGroupName The name of the resource group that contains the service instance.
234
+ * @param workspaceName The name of workspace resource.
235
+ * @param dicomServiceName The name of DICOM Service resource.
236
+ * @param dicomservice The parameters for creating or updating a Dicom Service resource.
237
+ * @param options The options parameters.
238
+ */
239
+ async beginCreateOrUpdateAndWait(
240
+ resourceGroupName: string,
241
+ workspaceName: string,
242
+ dicomServiceName: string,
243
+ dicomservice: DicomService,
244
+ options?: DicomServicesCreateOrUpdateOptionalParams
245
+ ): Promise<DicomServicesCreateOrUpdateResponse> {
246
+ const poller = await this.beginCreateOrUpdate(
247
+ resourceGroupName,
248
+ workspaceName,
249
+ dicomServiceName,
250
+ dicomservice,
251
+ options
252
+ );
253
+ return poller.pollUntilDone();
254
+ }
255
+
256
+ /**
257
+ * Patch DICOM Service details.
258
+ * @param resourceGroupName The name of the resource group that contains the service instance.
259
+ * @param dicomServiceName The name of DICOM Service resource.
260
+ * @param workspaceName The name of workspace resource.
261
+ * @param dicomservicePatchResource The parameters for updating a Dicom Service.
262
+ * @param options The options parameters.
263
+ */
264
+ async beginUpdate(
265
+ resourceGroupName: string,
266
+ dicomServiceName: string,
267
+ workspaceName: string,
268
+ dicomservicePatchResource: DicomServicePatchResource,
269
+ options?: DicomServicesUpdateOptionalParams
270
+ ): Promise<
271
+ PollerLike<
272
+ PollOperationState<DicomServicesUpdateResponse>,
273
+ DicomServicesUpdateResponse
274
+ >
275
+ > {
276
+ const directSendOperation = async (
277
+ args: coreClient.OperationArguments,
278
+ spec: coreClient.OperationSpec
279
+ ): Promise<DicomServicesUpdateResponse> => {
280
+ return this.client.sendOperationRequest(args, spec);
281
+ };
282
+ const sendOperation = async (
283
+ args: coreClient.OperationArguments,
284
+ spec: coreClient.OperationSpec
285
+ ) => {
286
+ let currentRawResponse:
287
+ | coreClient.FullOperationResponse
288
+ | undefined = undefined;
289
+ const providedCallback = args.options?.onResponse;
290
+ const callback: coreClient.RawResponseCallback = (
291
+ rawResponse: coreClient.FullOperationResponse,
292
+ flatResponse: unknown
293
+ ) => {
294
+ currentRawResponse = rawResponse;
295
+ providedCallback?.(rawResponse, flatResponse);
296
+ };
297
+ const updatedArgs = {
298
+ ...args,
299
+ options: {
300
+ ...args.options,
301
+ onResponse: callback
302
+ }
303
+ };
304
+ const flatResponse = await directSendOperation(updatedArgs, spec);
305
+ return {
306
+ flatResponse,
307
+ rawResponse: {
308
+ statusCode: currentRawResponse!.status,
309
+ body: currentRawResponse!.parsedBody,
310
+ headers: currentRawResponse!.headers.toJSON()
311
+ }
312
+ };
313
+ };
314
+
315
+ const lro = new LroImpl(
316
+ sendOperation,
317
+ {
318
+ resourceGroupName,
319
+ dicomServiceName,
320
+ workspaceName,
321
+ dicomservicePatchResource,
322
+ options
323
+ },
324
+ updateOperationSpec
325
+ );
326
+ const poller = new LroEngine(lro, {
327
+ resumeFrom: options?.resumeFrom,
328
+ intervalInMs: options?.updateIntervalInMs
329
+ });
330
+ await poller.poll();
331
+ return poller;
332
+ }
333
+
334
+ /**
335
+ * Patch DICOM Service details.
336
+ * @param resourceGroupName The name of the resource group that contains the service instance.
337
+ * @param dicomServiceName The name of DICOM Service resource.
338
+ * @param workspaceName The name of workspace resource.
339
+ * @param dicomservicePatchResource The parameters for updating a Dicom Service.
340
+ * @param options The options parameters.
341
+ */
342
+ async beginUpdateAndWait(
343
+ resourceGroupName: string,
344
+ dicomServiceName: string,
345
+ workspaceName: string,
346
+ dicomservicePatchResource: DicomServicePatchResource,
347
+ options?: DicomServicesUpdateOptionalParams
348
+ ): Promise<DicomServicesUpdateResponse> {
349
+ const poller = await this.beginUpdate(
350
+ resourceGroupName,
351
+ dicomServiceName,
352
+ workspaceName,
353
+ dicomservicePatchResource,
354
+ options
355
+ );
356
+ return poller.pollUntilDone();
357
+ }
358
+
359
+ /**
360
+ * Deletes a DICOM Service.
361
+ * @param resourceGroupName The name of the resource group that contains the service instance.
362
+ * @param dicomServiceName The name of DICOM Service resource.
363
+ * @param workspaceName The name of workspace resource.
364
+ * @param options The options parameters.
365
+ */
366
+ async beginDelete(
367
+ resourceGroupName: string,
368
+ dicomServiceName: string,
369
+ workspaceName: string,
370
+ options?: DicomServicesDeleteOptionalParams
371
+ ): Promise<PollerLike<PollOperationState<void>, void>> {
372
+ const directSendOperation = async (
373
+ args: coreClient.OperationArguments,
374
+ spec: coreClient.OperationSpec
375
+ ): Promise<void> => {
376
+ return this.client.sendOperationRequest(args, spec);
377
+ };
378
+ const sendOperation = async (
379
+ args: coreClient.OperationArguments,
380
+ spec: coreClient.OperationSpec
381
+ ) => {
382
+ let currentRawResponse:
383
+ | coreClient.FullOperationResponse
384
+ | undefined = undefined;
385
+ const providedCallback = args.options?.onResponse;
386
+ const callback: coreClient.RawResponseCallback = (
387
+ rawResponse: coreClient.FullOperationResponse,
388
+ flatResponse: unknown
389
+ ) => {
390
+ currentRawResponse = rawResponse;
391
+ providedCallback?.(rawResponse, flatResponse);
392
+ };
393
+ const updatedArgs = {
394
+ ...args,
395
+ options: {
396
+ ...args.options,
397
+ onResponse: callback
398
+ }
399
+ };
400
+ const flatResponse = await directSendOperation(updatedArgs, spec);
401
+ return {
402
+ flatResponse,
403
+ rawResponse: {
404
+ statusCode: currentRawResponse!.status,
405
+ body: currentRawResponse!.parsedBody,
406
+ headers: currentRawResponse!.headers.toJSON()
407
+ }
408
+ };
409
+ };
410
+
411
+ const lro = new LroImpl(
412
+ sendOperation,
413
+ { resourceGroupName, dicomServiceName, workspaceName, options },
414
+ deleteOperationSpec
415
+ );
416
+ const poller = new LroEngine(lro, {
417
+ resumeFrom: options?.resumeFrom,
418
+ intervalInMs: options?.updateIntervalInMs
419
+ });
420
+ await poller.poll();
421
+ return poller;
422
+ }
423
+
424
+ /**
425
+ * Deletes a DICOM Service.
426
+ * @param resourceGroupName The name of the resource group that contains the service instance.
427
+ * @param dicomServiceName The name of DICOM Service resource.
428
+ * @param workspaceName The name of workspace resource.
429
+ * @param options The options parameters.
430
+ */
431
+ async beginDeleteAndWait(
432
+ resourceGroupName: string,
433
+ dicomServiceName: string,
434
+ workspaceName: string,
435
+ options?: DicomServicesDeleteOptionalParams
436
+ ): Promise<void> {
437
+ const poller = await this.beginDelete(
438
+ resourceGroupName,
439
+ dicomServiceName,
440
+ workspaceName,
441
+ options
442
+ );
443
+ return poller.pollUntilDone();
444
+ }
445
+
446
+ /**
447
+ * ListByWorkspaceNext
448
+ * @param resourceGroupName The name of the resource group that contains the service instance.
449
+ * @param workspaceName The name of workspace resource.
450
+ * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
451
+ * @param options The options parameters.
452
+ */
453
+ private _listByWorkspaceNext(
454
+ resourceGroupName: string,
455
+ workspaceName: string,
456
+ nextLink: string,
457
+ options?: DicomServicesListByWorkspaceNextOptionalParams
458
+ ): Promise<DicomServicesListByWorkspaceNextResponse> {
459
+ return this.client.sendOperationRequest(
460
+ { resourceGroupName, workspaceName, nextLink, options },
461
+ listByWorkspaceNextOperationSpec
462
+ );
463
+ }
464
+ }
465
+ // Operation Specifications
466
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
467
+
468
+ const listByWorkspaceOperationSpec: coreClient.OperationSpec = {
469
+ path:
470
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices",
471
+ httpMethod: "GET",
472
+ responses: {
473
+ 200: {
474
+ bodyMapper: Mappers.DicomServiceCollection
475
+ },
476
+ default: {
477
+ bodyMapper: Mappers.ErrorDetails
478
+ }
479
+ },
480
+ queryParameters: [Parameters.apiVersion],
481
+ urlParameters: [
482
+ Parameters.$host,
483
+ Parameters.subscriptionId,
484
+ Parameters.resourceGroupName,
485
+ Parameters.workspaceName
486
+ ],
487
+ headerParameters: [Parameters.accept],
488
+ serializer
489
+ };
490
+ const getOperationSpec: coreClient.OperationSpec = {
491
+ path:
492
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}",
493
+ httpMethod: "GET",
494
+ responses: {
495
+ 200: {
496
+ bodyMapper: Mappers.DicomService
497
+ },
498
+ default: {
499
+ bodyMapper: Mappers.ErrorDetails
500
+ }
501
+ },
502
+ queryParameters: [Parameters.apiVersion],
503
+ urlParameters: [
504
+ Parameters.$host,
505
+ Parameters.subscriptionId,
506
+ Parameters.resourceGroupName,
507
+ Parameters.workspaceName,
508
+ Parameters.dicomServiceName
509
+ ],
510
+ headerParameters: [Parameters.accept],
511
+ serializer
512
+ };
513
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
514
+ path:
515
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}",
516
+ httpMethod: "PUT",
517
+ responses: {
518
+ 200: {
519
+ bodyMapper: Mappers.DicomService
520
+ },
521
+ 201: {
522
+ bodyMapper: Mappers.DicomService
523
+ },
524
+ 202: {
525
+ bodyMapper: Mappers.DicomService
526
+ },
527
+ 204: {
528
+ bodyMapper: Mappers.DicomService
529
+ },
530
+ default: {
531
+ bodyMapper: Mappers.ErrorDetails
532
+ }
533
+ },
534
+ requestBody: Parameters.dicomservice,
535
+ queryParameters: [Parameters.apiVersion],
536
+ urlParameters: [
537
+ Parameters.$host,
538
+ Parameters.subscriptionId,
539
+ Parameters.resourceGroupName,
540
+ Parameters.workspaceName,
541
+ Parameters.dicomServiceName
542
+ ],
543
+ headerParameters: [Parameters.accept, Parameters.contentType],
544
+ mediaType: "json",
545
+ serializer
546
+ };
547
+ const updateOperationSpec: coreClient.OperationSpec = {
548
+ path:
549
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}",
550
+ httpMethod: "PATCH",
551
+ responses: {
552
+ 200: {
553
+ bodyMapper: Mappers.DicomService
554
+ },
555
+ 201: {
556
+ bodyMapper: Mappers.DicomService
557
+ },
558
+ 202: {
559
+ bodyMapper: Mappers.DicomService
560
+ },
561
+ 204: {
562
+ bodyMapper: Mappers.DicomService
563
+ },
564
+ default: {
565
+ bodyMapper: Mappers.ErrorDetails
566
+ }
567
+ },
568
+ requestBody: Parameters.dicomservicePatchResource,
569
+ queryParameters: [Parameters.apiVersion],
570
+ urlParameters: [
571
+ Parameters.$host,
572
+ Parameters.subscriptionId,
573
+ Parameters.resourceGroupName,
574
+ Parameters.workspaceName,
575
+ Parameters.dicomServiceName
576
+ ],
577
+ headerParameters: [Parameters.accept, Parameters.contentType],
578
+ mediaType: "json",
579
+ serializer
580
+ };
581
+ const deleteOperationSpec: coreClient.OperationSpec = {
582
+ path:
583
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}",
584
+ httpMethod: "DELETE",
585
+ responses: {
586
+ 200: {},
587
+ 201: {},
588
+ 202: {},
589
+ 204: {},
590
+ default: {
591
+ bodyMapper: Mappers.ErrorModel
592
+ }
593
+ },
594
+ queryParameters: [Parameters.apiVersion],
595
+ urlParameters: [
596
+ Parameters.$host,
597
+ Parameters.subscriptionId,
598
+ Parameters.resourceGroupName,
599
+ Parameters.workspaceName,
600
+ Parameters.dicomServiceName
601
+ ],
602
+ headerParameters: [Parameters.accept],
603
+ serializer
604
+ };
605
+ const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {
606
+ path: "{nextLink}",
607
+ httpMethod: "GET",
608
+ responses: {
609
+ 200: {
610
+ bodyMapper: Mappers.DicomServiceCollection
611
+ },
612
+ default: {
613
+ bodyMapper: Mappers.ErrorDetails
614
+ }
615
+ },
616
+ queryParameters: [Parameters.apiVersion],
617
+ urlParameters: [
618
+ Parameters.$host,
619
+ Parameters.subscriptionId,
620
+ Parameters.resourceGroupName,
621
+ Parameters.nextLink,
622
+ Parameters.workspaceName
623
+ ],
624
+ headerParameters: [Parameters.accept],
625
+ serializer
626
+ };