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