@azure/arm-healthcareapis 2.0.0-alpha.20220325.1 → 2.1.1-alpha.20220328.4

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 +8 -8
  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,60 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates or updates a FHIR Service resource with the specified parameters.
15
+ *
16
+ * @summary Creates or updates a FHIR Service resource with the specified parameters.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Create.json
18
+ */
19
+ function createOrUpdateAFhirService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const fhirServiceName = "fhirservice1";
25
+ const fhirservice = {
26
+ accessPolicies: [
27
+ { objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
28
+ { objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
29
+ ],
30
+ acrConfiguration: { loginServers: ["test1.azurecr.io"] },
31
+ authenticationConfiguration: {
32
+ audience: "https://azurehealthcareapis.com",
33
+ authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
34
+ smartProxyEnabled: true
35
+ },
36
+ corsConfiguration: {
37
+ allowCredentials: false,
38
+ headers: ["*"],
39
+ maxAge: 1440,
40
+ methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
41
+ origins: ["*"]
42
+ },
43
+ exportConfiguration: { storageAccountName: "existingStorageAccount" },
44
+ identity: { type: "SystemAssigned" },
45
+ kind: "fhir-R4",
46
+ location: "westus",
47
+ tags: {
48
+ additionalProp1: "string",
49
+ additionalProp2: "string",
50
+ additionalProp3: "string"
51
+ }
52
+ };
53
+ const credential = new DefaultAzureCredential();
54
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
55
+ const result = yield client.fhirServices.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, fhirServiceName, fhirservice);
56
+ console.log(result);
57
+ });
58
+ }
59
+ createOrUpdateAFhirService().catch(console.error);
60
+ //# sourceMappingURL=fhirServicesCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,WAAW,GAAgB;YAC/B,cAAc,EAAE;gBACd,EAAE,QAAQ,EAAE,sCAAsC,EAAE;gBACpD,EAAE,QAAQ,EAAE,sCAAsC,EAAE;aACrD;YACD,gBAAgB,EAAE,EAAE,YAAY,EAAE,CAAC,kBAAkB,CAAC,EAAE;YACxD,2BAA2B,EAAE;gBAC3B,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EACP,wEAAwE;gBAC1E,iBAAiB,EAAE,IAAI;aACxB;YACD,iBAAiB,EAAE;gBACjB,gBAAgB,EAAE,KAAK;gBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;gBACd,MAAM,EAAE,IAAI;gBACZ,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;gBAC7D,OAAO,EAAE,CAAC,GAAG,CAAC;aACf;YACD,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,wBAAwB,EAAE;YACrE,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fhirServicesDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Deletes a FHIR Service.
15
+ *
16
+ * @summary Deletes a FHIR Service.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Delete.json
18
+ */
19
+ function deleteAFhirService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const fhirServiceName = "fhirservice1";
24
+ const workspaceName = "workspace1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
27
+ const result = yield client.fhirServices.beginDeleteAndWait(resourceGroupName, fhirServiceName, workspaceName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ deleteAFhirService().catch(console.error);
32
+ //# sourceMappingURL=fhirServicesDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,EACf,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fhirServicesGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Gets the properties of the specified FHIR Service.
15
+ *
16
+ * @summary Gets the properties of the specified FHIR Service.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Get.json
18
+ */
19
+ function getAFhirService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const fhirServiceName = "fhirservices1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
27
+ const result = yield client.fhirServices.get(resourceGroupName, workspaceName, fhirServiceName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ getAFhirService().catch(console.error);
32
+ //# sourceMappingURL=fhirServicesGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAC1C,iBAAiB,EACjB,aAAa,EACb,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fhirServicesListByWorkspaceSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesListByWorkspaceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesListByWorkspaceSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
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
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists all FHIR Services for the given workspace
15
+ *
16
+ * @summary Lists all FHIR Services for the given workspace
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_List.json
18
+ */
19
+ function listFhirservices() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "subid";
23
+ const resourceGroupName = "testRG";
24
+ const workspaceName = "workspace1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
27
+ const resArray = new Array();
28
+ try {
29
+ for (var _b = __asyncValues(client.fhirServices.listByWorkspace(resourceGroupName, workspaceName)), _c; _c = yield _b.next(), !_c.done;) {
30
+ let item = _c.value;
31
+ resArray.push(item);
32
+ }
33
+ }
34
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
35
+ finally {
36
+ try {
37
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
38
+ }
39
+ finally { if (e_1) throw e_1.error; }
40
+ }
41
+ console.log(resArray);
42
+ });
43
+ }
44
+ listFhirservices().catch(console.error);
45
+ //# sourceMappingURL=fhirServicesListByWorkspaceSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gBAAgB;;;QAC7B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,eAAe,CACxD,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fhirServicesUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Patch FHIR Service details.
15
+ *
16
+ * @summary Patch FHIR Service details.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Patch.json
18
+ */
19
+ function updateAFhirService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const fhirServiceName = "fhirservice1";
24
+ const workspaceName = "workspace1";
25
+ const fhirservicePatchResource = {
26
+ tags: { tagKey: "tagValue" }
27
+ };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
30
+ const result = yield client.fhirServices.beginUpdateAndWait(resourceGroupName, fhirServiceName, workspaceName, fhirservicePatchResource);
31
+ console.log(result);
32
+ });
33
+ }
34
+ updateAFhirService().catch(console.error);
35
+ //# sourceMappingURL=fhirServicesUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhirServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,wBAAwB,GAA6B;YACzD,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,wBAAwB,CACzB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorFhirDestinationCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,65 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
15
+ *
16
+ * @summary Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json
18
+ */
19
+ function createOrUpdateAnIotConnectorFhirDestination() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const iotConnectorName = "blue";
25
+ const fhirDestinationName = "dest1";
26
+ const iotFhirDestination = {
27
+ fhirMapping: {
28
+ content: {
29
+ template: [
30
+ {
31
+ template: {
32
+ codes: [
33
+ {
34
+ code: "8867-4",
35
+ display: "Heart rate",
36
+ system: "http://loinc.org"
37
+ }
38
+ ],
39
+ periodInterval: 60,
40
+ typeName: "heartrate",
41
+ value: {
42
+ defaultPeriod: 5000,
43
+ unit: "count/min",
44
+ valueName: "hr",
45
+ valueType: "SampledData"
46
+ }
47
+ },
48
+ templateType: "CodeValueFhir"
49
+ }
50
+ ],
51
+ templateType: "CollectionFhirTemplate"
52
+ }
53
+ },
54
+ fhirServiceResourceId: "subscriptions/11111111-2222-3333-4444-555566667777/resourceGroups/myrg/providers/Microsoft.HealthcareApis/workspaces/myworkspace/fhirservices/myfhirservice",
55
+ location: "westus",
56
+ resourceIdentityResolutionType: "Create"
57
+ };
58
+ const credential = new DefaultAzureCredential();
59
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
60
+ const result = yield client.iotConnectorFhirDestination.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, iotConnectorName, fhirDestinationName, iotFhirDestination);
61
+ console.log(result);
62
+ });
63
+ }
64
+ createOrUpdateAnIotConnectorFhirDestination().catch(console.error);
65
+ //# sourceMappingURL=iotConnectorFhirDestinationCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,kBAAkB,GAAuB;YAC7C,WAAW,EAAE;gBACX,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,KAAK,EAAE;oCACL;wCACE,IAAI,EAAE,QAAQ;wCACd,OAAO,EAAE,YAAY;wCACrB,MAAM,EAAE,kBAAkB;qCAC3B;iCACF;gCACD,cAAc,EAAE,EAAE;gCAClB,QAAQ,EAAE,WAAW;gCACrB,KAAK,EAAE;oCACL,aAAa,EAAE,IAAI;oCACnB,IAAI,EAAE,WAAW;oCACjB,SAAS,EAAE,IAAI;oCACf,SAAS,EAAE,aAAa;iCACzB;6BACF;4BACD,YAAY,EAAE,eAAe;yBAC9B;qBACF;oBACD,YAAY,EAAE,wBAAwB;iBACvC;aACF;YACD,qBAAqB,EACnB,6JAA6J;YAC/J,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CAChF,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorFhirDestinationDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorFhirDestinationDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Deletes an IoT Connector FHIR destination.
15
+ *
16
+ * @summary Deletes an IoT Connector FHIR destination.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json
18
+ */
19
+ function deleteAnIoTConnectorDestination() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const iotConnectorName = "blue";
25
+ const fhirDestinationName = "dest1";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
28
+ const result = yield client.iotConnectorFhirDestination.beginDeleteAndWait(resourceGroupName, workspaceName, iotConnectorName, fhirDestinationName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ deleteAnIoTConnectorDestination().catch(console.error);
33
+ //# sourceMappingURL=iotConnectorFhirDestinationDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorFhirDestinationDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,kBAAkB,CACxE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorFhirDestinationGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorFhirDestinationGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Gets the properties of the specified Iot Connector FHIR destination.
15
+ *
16
+ * @summary Gets the properties of the specified Iot Connector FHIR destination.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json
18
+ */
19
+ function getAnIoTConnectorDestination() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const iotConnectorName = "blue";
25
+ const fhirDestinationName = "dest1";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
28
+ const result = yield client.iotConnectorFhirDestination.get(resourceGroupName, workspaceName, iotConnectorName, fhirDestinationName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ getAnIoTConnectorDestination().catch(console.error);
33
+ //# sourceMappingURL=iotConnectorFhirDestinationGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorFhirDestinationGetSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,GAAG,CACzD,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorsCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,69 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates or updates an IoT Connector resource with the specified parameters.
15
+ *
16
+ * @summary Creates or updates an IoT Connector resource with the specified parameters.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Create.json
18
+ */
19
+ function createAnIoTConnector() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const iotConnectorName = "blue";
25
+ const iotConnector = {
26
+ deviceMapping: {
27
+ content: {
28
+ template: [
29
+ {
30
+ template: {
31
+ deviceIdExpression: "$.deviceid",
32
+ timestampExpression: "$.measurementdatetime",
33
+ typeMatchExpression: "$..[?(@heartrate)]",
34
+ typeName: "heartrate",
35
+ values: [
36
+ {
37
+ required: "true",
38
+ valueExpression: "$.heartrate",
39
+ valueName: "hr"
40
+ }
41
+ ]
42
+ },
43
+ templateType: "JsonPathContent"
44
+ }
45
+ ],
46
+ templateType: "CollectionContent"
47
+ }
48
+ },
49
+ identity: { type: "SystemAssigned" },
50
+ ingestionEndpointConfiguration: {
51
+ consumerGroup: "ConsumerGroupA",
52
+ eventHubName: "MyEventHubName",
53
+ fullyQualifiedEventHubNamespace: "myeventhub.servicesbus.windows.net"
54
+ },
55
+ location: "westus",
56
+ tags: {
57
+ additionalProp1: "string",
58
+ additionalProp2: "string",
59
+ additionalProp3: "string"
60
+ }
61
+ };
62
+ const credential = new DefaultAzureCredential();
63
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
64
+ const result = yield client.iotConnectors.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, iotConnectorName, iotConnector);
65
+ console.log(result);
66
+ });
67
+ }
68
+ createAnIoTConnector().catch(console.error);
69
+ //# sourceMappingURL=iotConnectorsCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,YAAY,GAAiB;YACjC,aAAa,EAAE;gBACb,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,kBAAkB,EAAE,YAAY;gCAChC,mBAAmB,EAAE,uBAAuB;gCAC5C,mBAAmB,EAAE,oBAAoB;gCACzC,QAAQ,EAAE,WAAW;gCACrB,MAAM,EAAE;oCACN;wCACE,QAAQ,EAAE,MAAM;wCAChB,eAAe,EAAE,aAAa;wCAC9B,SAAS,EAAE,IAAI;qCAChB;iCACF;6BACF;4BACD,YAAY,EAAE,iBAAiB;yBAChC;qBACF;oBACD,YAAY,EAAE,mBAAmB;iBAClC;aACF;YACD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,8BAA8B,EAAE;gBAC9B,aAAa,EAAE,gBAAgB;gBAC/B,YAAY,EAAE,gBAAgB;gBAC9B,+BAA+B,EAAE,oCAAoC;aACtE;YACD,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,0BAA0B,CAClE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oBAAoB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Deletes an IoT Connector.
15
+ *
16
+ * @summary Deletes an IoT Connector.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Delete.json
18
+ */
19
+ function deleteAnIoTConnector() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const iotConnectorName = "blue";
24
+ const workspaceName = "workspace1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
27
+ const result = yield client.iotConnectors.beginDeleteAndWait(resourceGroupName, iotConnectorName, workspaceName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ deleteAnIoTConnector().catch(console.error);
32
+ //# sourceMappingURL=iotConnectorsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,kBAAkB,CAC1D,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oBAAoB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Gets the properties of the specified IoT Connector.
15
+ *
16
+ * @summary Gets the properties of the specified IoT Connector.
17
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Get.json
18
+ */
19
+ function getAnIoTConnector() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "testRG";
23
+ const workspaceName = "workspace1";
24
+ const iotConnectorName = "blue";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new HealthcareApisManagementClient(credential, subscriptionId);
27
+ const result = yield client.iotConnectors.get(resourceGroupName, workspaceName, iotConnectorName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ getAnIoTConnector().catch(console.error);
32
+ //# sourceMappingURL=iotConnectorsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsGetSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,GAAG,CAC3C,iBAAiB,EACjB,aAAa,EACb,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=iotConnectorsListByWorkspaceSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotConnectorsListByWorkspaceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsListByWorkspaceSample.ts"],"names":[],"mappings":""}