@azure/arm-healthcareapis 2.2.1-alpha.20231211.1 → 3.0.0-alpha.20231222.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. package/CHANGELOG.md +27 -8
  2. package/LICENSE +1 -1
  3. package/dist/index.js +524 -231
  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.js +11 -4
  8. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/dicomServicesDeleteSample.js +11 -4
  10. package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -1
  11. package/dist-esm/samples-dev/dicomServicesGetSample.js +11 -4
  12. package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -1
  13. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +11 -4
  14. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -1
  15. package/dist-esm/samples-dev/dicomServicesUpdateSample.js +11 -4
  16. package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
  17. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +11 -4
  18. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -1
  19. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +28 -9
  20. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
  21. package/dist-esm/samples-dev/fhirServicesDeleteSample.js +11 -4
  22. package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -1
  23. package/dist-esm/samples-dev/fhirServicesGetSample.js +11 -4
  24. package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -1
  25. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +11 -4
  26. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -1
  27. package/dist-esm/samples-dev/fhirServicesUpdateSample.js +11 -4
  28. package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
  29. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -4
  30. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
  31. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +11 -4
  32. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -1
  33. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +11 -4
  34. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -1
  35. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +11 -4
  36. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +11 -4
  38. package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -1
  39. package/dist-esm/samples-dev/iotConnectorsGetSample.js +11 -4
  40. package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -1
  41. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +11 -4
  42. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -1
  43. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +11 -4
  44. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/operationResultsGetSample.js +10 -3
  46. package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -1
  47. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  48. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  49. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -4
  50. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  51. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
  52. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  53. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
  54. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  55. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +11 -4
  56. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
  57. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -4
  58. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
  59. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +11 -4
  60. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -1
  61. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +10 -3
  62. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
  63. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +65 -8
  64. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
  65. package/dist-esm/samples-dev/servicesDeleteSample.js +11 -4
  66. package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -1
  67. package/dist-esm/samples-dev/servicesGetSample.js +29 -4
  68. package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
  69. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +11 -4
  70. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
  71. package/dist-esm/samples-dev/servicesListSample.js +10 -3
  72. package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
  73. package/dist-esm/samples-dev/servicesUpdateSample.js +11 -4
  74. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
  75. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +11 -4
  76. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  77. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +11 -4
  78. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
  79. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +11 -4
  80. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -1
  81. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +11 -4
  82. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -1
  83. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +11 -4
  84. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -1
  85. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +11 -4
  86. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -1
  87. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +11 -4
  88. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
  89. package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
  90. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
  91. package/dist-esm/samples-dev/workspacesGetSample.js +11 -4
  92. package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
  93. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
  94. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
  95. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
  96. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
  97. package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
  98. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  99. package/dist-esm/src/healthcareApisManagementClient.d.ts +1 -1
  100. package/dist-esm/src/healthcareApisManagementClient.js +3 -3
  101. package/dist-esm/src/lroImpl.d.ts +6 -11
  102. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  103. package/dist-esm/src/lroImpl.js +12 -20
  104. package/dist-esm/src/lroImpl.js.map +1 -1
  105. package/dist-esm/src/models/index.d.ts +95 -27
  106. package/dist-esm/src/models/index.d.ts.map +1 -1
  107. package/dist-esm/src/models/index.js +10 -10
  108. package/dist-esm/src/models/index.js.map +1 -1
  109. package/dist-esm/src/models/mappers.d.ts +6 -1
  110. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  111. package/dist-esm/src/models/mappers.js +237 -29
  112. package/dist-esm/src/models/mappers.js.map +1 -1
  113. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  114. package/dist-esm/src/models/parameters.js +4 -1
  115. package/dist-esm/src/models/parameters.js.map +1 -1
  116. package/dist-esm/src/operations/dicomServices.d.ts +4 -4
  117. package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
  118. package/dist-esm/src/operations/dicomServices.js +38 -27
  119. package/dist-esm/src/operations/dicomServices.js.map +1 -1
  120. package/dist-esm/src/operations/fhirDestinations.js +0 -1
  121. package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
  122. package/dist-esm/src/operations/fhirServices.d.ts +4 -4
  123. package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
  124. package/dist-esm/src/operations/fhirServices.js +38 -27
  125. package/dist-esm/src/operations/fhirServices.js.map +1 -1
  126. package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +3 -3
  127. package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
  128. package/dist-esm/src/operations/iotConnectorFhirDestination.js +31 -23
  129. package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
  130. package/dist-esm/src/operations/iotConnectors.d.ts +4 -4
  131. package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
  132. package/dist-esm/src/operations/iotConnectors.js +38 -27
  133. package/dist-esm/src/operations/iotConnectors.js.map +1 -1
  134. package/dist-esm/src/operations/operations.js +0 -1
  135. package/dist-esm/src/operations/operations.js.map +1 -1
  136. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  137. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  138. package/dist-esm/src/operations/privateEndpointConnections.js +29 -21
  139. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  140. package/dist-esm/src/operations/services.d.ts +4 -4
  141. package/dist-esm/src/operations/services.d.ts.map +1 -1
  142. package/dist-esm/src/operations/services.js +31 -16
  143. package/dist-esm/src/operations/services.js.map +1 -1
  144. package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +3 -3
  145. package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
  146. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +29 -21
  147. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
  148. package/dist-esm/src/operations/workspaces.d.ts +4 -4
  149. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  150. package/dist-esm/src/operations/workspaces.js +31 -16
  151. package/dist-esm/src/operations/workspaces.js.map +1 -1
  152. package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +4 -4
  153. package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -1
  154. package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +4 -4
  155. package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -1
  156. package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +3 -3
  157. package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -1
  158. package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +4 -4
  159. package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -1
  160. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  161. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  162. package/dist-esm/src/operationsInterfaces/services.d.ts +4 -4
  163. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -1
  164. package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +3 -3
  165. package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -1
  166. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
  167. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
  168. package/dist-esm/src/pagingHelper.d.ts +4 -4
  169. package/dist-esm/src/pagingHelper.js +4 -4
  170. package/dist-esm/test/healthcareapis_operations_test.spec.d.ts +4 -0
  171. package/dist-esm/test/healthcareapis_operations_test.spec.d.ts.map +1 -0
  172. package/dist-esm/test/healthcareapis_operations_test.spec.js +111 -0
  173. package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -0
  174. package/package.json +12 -9
  175. package/review/arm-healthcareapis.api.md +74 -29
  176. package/src/healthcareApisManagementClient.ts +3 -3
  177. package/src/lroImpl.ts +31 -23
  178. package/src/models/index.ts +103 -30
  179. package/src/models/mappers.ts +253 -33
  180. package/src/models/parameters.ts +4 -1
  181. package/src/operations/dicomServices.ts +41 -32
  182. package/src/operations/fhirDestinations.ts +0 -1
  183. package/src/operations/fhirServices.ts +41 -32
  184. package/src/operations/iotConnectorFhirDestination.ts +28 -21
  185. package/src/operations/iotConnectors.ts +41 -32
  186. package/src/operations/operations.ts +0 -1
  187. package/src/operations/privateEndpointConnections.ts +28 -21
  188. package/src/operations/services.ts +46 -33
  189. package/src/operations/workspacePrivateEndpointConnections.ts +28 -23
  190. package/src/operations/workspaces.ts +46 -33
  191. package/src/operationsInterfaces/dicomServices.ts +6 -6
  192. package/src/operationsInterfaces/fhirServices.ts +6 -6
  193. package/src/operationsInterfaces/iotConnectorFhirDestination.ts +4 -4
  194. package/src/operationsInterfaces/iotConnectors.ts +6 -6
  195. package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
  196. package/src/operationsInterfaces/services.ts +6 -6
  197. package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +4 -6
  198. package/src/operationsInterfaces/workspaces.ts +6 -6
  199. package/src/pagingHelper.ts +4 -4
  200. package/types/arm-healthcareapis.d.ts +110 -37
  201. package/types/tsdoc-metadata.json +1 -1
  202. package/dist-esm/samples-dev/checkNameAvailability.d.ts +0 -2
  203. package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +0 -1
  204. package/dist-esm/samples-dev/checkNameAvailability.js +0 -33
  205. package/dist-esm/samples-dev/checkNameAvailability.js.map +0 -1
  206. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +0 -2
  207. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +0 -1
  208. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +0 -62
  209. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +0 -1
  210. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +0 -2
  211. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +0 -1
  212. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +0 -39
  213. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +0 -1
  214. package/dist-esm/samples-dev/deleteService.d.ts +0 -2
  215. package/dist-esm/samples-dev/deleteService.d.ts.map +0 -1
  216. package/dist-esm/samples-dev/deleteService.js +0 -31
  217. package/dist-esm/samples-dev/deleteService.js.map +0 -1
  218. package/dist-esm/samples-dev/getMetadata.d.ts +0 -2
  219. package/dist-esm/samples-dev/getMetadata.d.ts.map +0 -1
  220. package/dist-esm/samples-dev/getMetadata.js +0 -31
  221. package/dist-esm/samples-dev/getMetadata.js.map +0 -1
  222. package/dist-esm/samples-dev/getOperationResult.d.ts +0 -2
  223. package/dist-esm/samples-dev/getOperationResult.d.ts.map +0 -1
  224. package/dist-esm/samples-dev/getOperationResult.js +0 -31
  225. package/dist-esm/samples-dev/getOperationResult.js.map +0 -1
  226. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +0 -2
  227. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +0 -1
  228. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +0 -46
  229. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +0 -1
  230. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +0 -2
  231. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +0 -1
  232. package/dist-esm/samples-dev/listAllServicesInSubscription.js +0 -45
  233. package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +0 -1
  234. package/dist-esm/samples-dev/listOperations.d.ts +0 -2
  235. package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/listOperations.js +0 -45
  237. package/dist-esm/samples-dev/listOperations.js.map +0 -1
  238. package/dist-esm/samples-dev/patchService.d.ts +0 -2
  239. package/dist-esm/samples-dev/patchService.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/patchService.js +0 -34
  241. package/dist-esm/samples-dev/patchService.js.map +0 -1
  242. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +0 -2
  243. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +0 -38
  245. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +0 -1
  246. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +0 -2
  247. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +0 -32
  249. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +0 -1
  250. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +0 -2
  251. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/privateEndpointConnectionList.js +0 -47
  253. package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +0 -1
  254. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +0 -2
  255. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +0 -32
  257. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +0 -1
  258. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +0 -2
  259. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/privateLinkResourcesGet.js +0 -32
  261. package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +0 -1
  262. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +0 -2
  263. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +0 -31
  265. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +0 -1
  266. package/dist-esm/test/sampleTest.d.ts +0 -2
  267. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  268. package/dist-esm/test/sampleTest.js +0 -38
  269. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { PollerLike, PollOperationState } from "@azure/core-lro";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
11
  import {
12
12
  Workspace,
13
13
  WorkspacesListBySubscriptionOptionalParams,
@@ -65,8 +65,8 @@ export interface Workspaces {
65
65
  workspace: Workspace,
66
66
  options?: WorkspacesCreateOrUpdateOptionalParams
67
67
  ): Promise<
68
- PollerLike<
69
- PollOperationState<WorkspacesCreateOrUpdateResponse>,
68
+ SimplePollerLike<
69
+ OperationState<WorkspacesCreateOrUpdateResponse>,
70
70
  WorkspacesCreateOrUpdateResponse
71
71
  >
72
72
  >;
@@ -96,8 +96,8 @@ export interface Workspaces {
96
96
  workspacePatchResource: WorkspacePatchResource,
97
97
  options?: WorkspacesUpdateOptionalParams
98
98
  ): Promise<
99
- PollerLike<
100
- PollOperationState<WorkspacesUpdateResponse>,
99
+ SimplePollerLike<
100
+ OperationState<WorkspacesUpdateResponse>,
101
101
  WorkspacesUpdateResponse
102
102
  >
103
103
  >;
@@ -124,7 +124,7 @@ export interface Workspaces {
124
124
  resourceGroupName: string,
125
125
  workspaceName: string,
126
126
  options?: WorkspacesDeleteOptionalParams
127
- ): Promise<PollerLike<PollOperationState<void>, void>>;
127
+ ): Promise<SimplePollerLike<OperationState<void>, void>>;
128
128
  /**
129
129
  * Deletes a specified workspace.
130
130
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -13,11 +13,11 @@ export interface PageInfo {
13
13
  const pageMap = new WeakMap<object, PageInfo>();
14
14
 
15
15
  /**
16
- * Given a result page from a pageable operation, returns a
17
- * continuation token that can be used to begin paging from
16
+ * Given the last `.value` produced by the `byPage` iterator,
17
+ * returns a continuation token that can be used to begin paging from
18
18
  * that point later.
19
- * @param page A result object from calling .byPage() on a paged operation.
20
- * @returns The continuation token that can be passed into byPage().
19
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
20
+ * @returns The continuation token that can be passed into byPage() during future calls.
21
21
  */
22
22
  export function getContinuationToken(page: unknown): string | undefined {
23
23
  if (typeof page !== "object" || page === null) {
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  /**
8
8
  * Defines values for ActionType. \
@@ -21,6 +21,20 @@ export declare interface CheckNameAvailabilityParameters {
21
21
  type: string;
22
22
  }
23
23
 
24
+ /** The settings for the CORS configuration of the service instance. */
25
+ export declare interface CorsConfiguration {
26
+ /** The origins to be allowed via CORS. */
27
+ origins?: string[];
28
+ /** The headers to be allowed via CORS. */
29
+ headers?: string[];
30
+ /** The methods to be allowed via CORS. */
31
+ methods?: string[];
32
+ /** The max age to be allowed via CORS. */
33
+ maxAge?: number;
34
+ /** If credentials are allowed via CORS. */
35
+ allowCredentials?: boolean;
36
+ }
37
+
24
38
  /**
25
39
  * Defines values for CreatedByType. \
26
40
  * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
@@ -47,6 +61,8 @@ export declare interface DicomService extends TaggedResource, ServiceManagedIden
47
61
  readonly provisioningState?: ProvisioningState;
48
62
  /** Dicom Service authentication configuration. */
49
63
  authenticationConfiguration?: DicomServiceAuthenticationConfiguration;
64
+ /** Dicom Service Cors configuration. */
65
+ corsConfiguration?: CorsConfiguration;
50
66
  /**
51
67
  * The url of the Dicom Services.
52
68
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -59,6 +75,13 @@ export declare interface DicomService extends TaggedResource, ServiceManagedIden
59
75
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
60
76
  /** Control permission for data plane traffic coming from public networks while private endpoint is enabled. */
61
77
  publicNetworkAccess?: PublicNetworkAccess;
78
+ /**
79
+ * DICOM Service event support status.
80
+ * NOTE: This property will not be serialized. It can only be populated by the server.
81
+ */
82
+ readonly eventState?: ServiceEventState;
83
+ /** The encryption settings of the DICOM service */
84
+ encryption?: Encryption;
62
85
  }
63
86
 
64
87
  /** Authentication configuration information */
@@ -112,7 +135,7 @@ export declare interface DicomServices {
112
135
  * @param dicomservice The parameters for creating or updating a Dicom Service resource.
113
136
  * @param options The options parameters.
114
137
  */
115
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DicomServicesCreateOrUpdateResponse>, DicomServicesCreateOrUpdateResponse>>;
138
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DicomServicesCreateOrUpdateResponse>, DicomServicesCreateOrUpdateResponse>>;
116
139
  /**
117
140
  * Creates or updates a DICOM Service resource with the specified parameters.
118
141
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -130,7 +153,7 @@ export declare interface DicomServices {
130
153
  * @param dicomservicePatchResource The parameters for updating a Dicom Service.
131
154
  * @param options The options parameters.
132
155
  */
133
- beginUpdate(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DicomServicesUpdateResponse>, DicomServicesUpdateResponse>>;
156
+ beginUpdate(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DicomServicesUpdateResponse>, DicomServicesUpdateResponse>>;
134
157
  /**
135
158
  * Patch DICOM Service details.
136
159
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -147,7 +170,7 @@ export declare interface DicomServices {
147
170
  * @param workspaceName The name of workspace resource.
148
171
  * @param options The options parameters.
149
172
  */
150
- beginDelete(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
173
+ beginDelete(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
151
174
  /**
152
175
  * Deletes a DICOM Service.
153
176
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -209,6 +232,18 @@ export declare interface DicomServicesUpdateOptionalParams extends coreClient.Op
209
232
  /** Contains response data for the update operation. */
210
233
  export declare type DicomServicesUpdateResponse = DicomService;
211
234
 
235
+ /** Settings to encrypt a service */
236
+ export declare interface Encryption {
237
+ /** The encryption settings for the customer-managed key */
238
+ customerManagedKeyEncryption?: EncryptionCustomerManagedKeyEncryption;
239
+ }
240
+
241
+ /** The encryption settings for the customer-managed key */
242
+ export declare interface EncryptionCustomerManagedKeyEncryption {
243
+ /** The URL of the key to use for encryption */
244
+ keyEncryptionKeyUrl?: string;
245
+ }
246
+
212
247
  /** Error details. */
213
248
  export declare interface ErrorDetails {
214
249
  /** Error details */
@@ -291,8 +326,6 @@ export declare interface FhirService extends TaggedResource, ServiceManagedIdent
291
326
  * NOTE: This property will not be serialized. It can only be populated by the server.
292
327
  */
293
328
  readonly provisioningState?: ProvisioningState;
294
- /** Fhir Service access policies. */
295
- accessPolicies?: FhirServiceAccessPolicyEntry[];
296
329
  /** Fhir Service Azure container registry configuration. */
297
330
  acrConfiguration?: FhirServiceAcrConfiguration;
298
331
  /** Fhir Service authentication configuration. */
@@ -315,12 +348,12 @@ export declare interface FhirService extends TaggedResource, ServiceManagedIdent
315
348
  readonly eventState?: ServiceEventState;
316
349
  /** Determines tracking of history for resources. */
317
350
  resourceVersionPolicyConfiguration?: ResourceVersionPolicyConfiguration;
318
- }
319
-
320
- /** An access policy entry. */
321
- export declare interface FhirServiceAccessPolicyEntry {
322
- /** An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. */
323
- objectId: string;
351
+ /** Fhir Service import configuration. */
352
+ importConfiguration?: FhirServiceImportConfiguration;
353
+ /** Implementation Guides configuration. */
354
+ implementationGuidesConfiguration?: ImplementationGuidesConfiguration;
355
+ /** The encryption settings of the FHIR service */
356
+ encryption?: Encryption;
324
357
  }
325
358
 
326
359
  /** Azure container registry configuration information */
@@ -369,6 +402,16 @@ export declare interface FhirServiceExportConfiguration {
369
402
  storageAccountName?: string;
370
403
  }
371
404
 
405
+ /** Import operation configuration information */
406
+ export declare interface FhirServiceImportConfiguration {
407
+ /** The name of the default integration storage account. */
408
+ integrationDataStore?: string;
409
+ /** If the FHIR service is in InitialImportMode. */
410
+ initialImportMode?: boolean;
411
+ /** If the import operation is enabled. */
412
+ enabled?: boolean;
413
+ }
414
+
372
415
  /**
373
416
  * Defines values for FhirServiceKind. \
374
417
  * {@link KnownFhirServiceKind} can be used interchangeably with FhirServiceKind,
@@ -408,7 +451,7 @@ export declare interface FhirServices {
408
451
  * @param fhirservice The parameters for creating or updating a Fhir Service resource.
409
452
  * @param options The options parameters.
410
453
  */
411
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
454
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
412
455
  /**
413
456
  * Creates or updates a FHIR Service resource with the specified parameters.
414
457
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -426,7 +469,7 @@ export declare interface FhirServices {
426
469
  * @param fhirservicePatchResource The parameters for updating a Fhir Service.
427
470
  * @param options The options parameters.
428
471
  */
429
- beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
472
+ beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
430
473
  /**
431
474
  * Patch FHIR Service details.
432
475
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -443,7 +486,7 @@ export declare interface FhirServices {
443
486
  * @param workspaceName The name of workspace resource.
444
487
  * @param options The options parameters.
445
488
  */
446
- beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
489
+ beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
447
490
  /**
448
491
  * Deletes a FHIR Service.
449
492
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -506,11 +549,11 @@ export declare interface FhirServicesUpdateOptionalParams extends coreClient.Ope
506
549
  export declare type FhirServicesUpdateResponse = FhirService;
507
550
 
508
551
  /**
509
- * Given a result page from a pageable operation, returns a
510
- * continuation token that can be used to begin paging from
552
+ * Given the last `.value` produced by the `byPage` iterator,
553
+ * returns a continuation token that can be used to begin paging from
511
554
  * that point later.
512
- * @param page A result object from calling .byPage() on a paged operation.
513
- * @returns The continuation token that can be passed into byPage().
555
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
556
+ * @returns The continuation token that can be passed into byPage() during future calls.
514
557
  */
515
558
  export declare function getContinuationToken(page: unknown): string | undefined;
516
559
 
@@ -521,7 +564,7 @@ export declare class HealthcareApisManagementClient extends coreClient.ServiceCl
521
564
  /**
522
565
  * Initializes a new instance of the HealthcareApisManagementClient class.
523
566
  * @param credentials Subscription credentials which uniquely identify client subscription.
524
- * @param subscriptionId The subscription identifier.
567
+ * @param subscriptionId The ID of the target subscription.
525
568
  * @param options The parameter options
526
569
  */
527
570
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HealthcareApisManagementClientOptionalParams);
@@ -552,6 +595,12 @@ export declare interface HealthcareApisManagementClientOptionalParams extends co
552
595
  endpoint?: string;
553
596
  }
554
597
 
598
+ /** The settings for Implementation Guides - defining capabilities for national standards, vendor consortiums, clinical societies, etc. */
599
+ export declare interface ImplementationGuidesConfiguration {
600
+ /** If US Core Missing Data requirement is enabled. */
601
+ usCoreMissingData?: boolean;
602
+ }
603
+
555
604
  /** IoT Connector definition. */
556
605
  export declare interface IotConnector extends TaggedResource, ServiceManagedIdentity {
557
606
  /**
@@ -599,7 +648,7 @@ export declare interface IotConnectorFhirDestination {
599
648
  * resource.
600
649
  * @param options The options parameters.
601
650
  */
602
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
651
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
603
652
  /**
604
653
  * Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
605
654
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -619,7 +668,7 @@ export declare interface IotConnectorFhirDestination {
619
668
  * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
620
669
  * @param options The options parameters.
621
670
  */
622
- beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
671
+ beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
623
672
  /**
624
673
  * Deletes an IoT Connector FHIR destination.
625
674
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -686,7 +735,7 @@ export declare interface IotConnectors {
686
735
  * @param iotConnector The parameters for creating or updating an IoT Connectors resource.
687
736
  * @param options The options parameters.
688
737
  */
689
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
738
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
690
739
  /**
691
740
  * Creates or updates an IoT Connector resource with the specified parameters.
692
741
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -704,7 +753,7 @@ export declare interface IotConnectors {
704
753
  * @param iotConnectorPatchResource The parameters for updating an IoT Connector.
705
754
  * @param options The options parameters.
706
755
  */
707
- beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
756
+ beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
708
757
  /**
709
758
  * Patch an IoT Connector.
710
759
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -721,7 +770,7 @@ export declare interface IotConnectors {
721
770
  * @param workspaceName The name of workspace resource.
722
771
  * @param options The options parameters.
723
772
  */
724
- beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
773
+ beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
725
774
  /**
726
775
  * Deletes an IoT Connector.
727
776
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1077,10 +1126,20 @@ export declare interface MetricSpecification {
1077
1126
  supportedTimeGrainTypes?: string[];
1078
1127
  /** Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. */
1079
1128
  fillGapWithZero?: boolean;
1129
+ /** Pattern for the filter of the metric. */
1130
+ metricFilterPattern?: string;
1080
1131
  /** Dimensions of the metric */
1081
1132
  dimensions?: MetricDimension[];
1082
- /** Name of the MDM namespace. Optional. */
1133
+ /** Whether the metric is internal. */
1134
+ isInternal?: boolean;
1135
+ /** The source MDM account. */
1136
+ sourceMdmAccount?: string;
1137
+ /** The source MDM namespace. */
1083
1138
  sourceMdmNamespace?: string;
1139
+ /** Whether regional MDM account enabled. */
1140
+ enableRegionalMdmAccount?: boolean;
1141
+ /** The resource Id dimension name override. */
1142
+ resourceIdDimensionNameOverride?: string;
1084
1143
  }
1085
1144
 
1086
1145
  /** Service REST API operation. */
@@ -1308,7 +1367,7 @@ export declare interface PrivateEndpointConnections {
1308
1367
  * @param properties The private endpoint connection properties.
1309
1368
  * @param options The options parameters.
1310
1369
  */
1311
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
1370
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
1312
1371
  /**
1313
1372
  * Update the state of the specified private endpoint connection associated with the service.
1314
1373
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1327,7 +1386,7 @@ export declare interface PrivateEndpointConnections {
1327
1386
  * Azure resource
1328
1387
  * @param options The options parameters.
1329
1388
  */
1330
- beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1389
+ beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1331
1390
  /**
1332
1391
  * Deletes a private endpoint connection.
1333
1392
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1590,6 +1649,8 @@ export declare interface ServiceCosmosDbConfigurationInfo {
1590
1649
  offerThroughput?: number;
1591
1650
  /** The URI of the customer-managed key for the backing database. */
1592
1651
  keyVaultKeyUri?: string;
1652
+ /** The multi-tenant application id used to enable CMK access for services in a data sovereign region. */
1653
+ crossTenantCmkApplicationId?: string;
1593
1654
  }
1594
1655
 
1595
1656
  /**
@@ -1609,6 +1670,16 @@ export declare interface ServiceExportConfigurationInfo {
1609
1670
  storageAccountName?: string;
1610
1671
  }
1611
1672
 
1673
+ /** Import operation configuration information */
1674
+ export declare interface ServiceImportConfigurationInfo {
1675
+ /** The name of the default integration storage account. */
1676
+ integrationDataStore?: string;
1677
+ /** If the FHIR service is in InitialImportMode. */
1678
+ initialImportMode?: boolean;
1679
+ /** If the import operation is enabled. */
1680
+ enabled?: boolean;
1681
+ }
1682
+
1612
1683
  /** Managed service identity (system assigned and/or user assigned identities) */
1613
1684
  export declare interface ServiceManagedIdentity {
1614
1685
  /** Setting indicating whether the service has a managed identity associated with it. */
@@ -1687,7 +1758,7 @@ export declare interface Services {
1687
1758
  * @param serviceDescription The service instance metadata.
1688
1759
  * @param options The options parameters.
1689
1760
  */
1690
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
1761
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
1691
1762
  /**
1692
1763
  * Create or update the metadata of a service instance.
1693
1764
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1703,7 +1774,7 @@ export declare interface Services {
1703
1774
  * @param servicePatchDescription The service instance metadata and security metadata.
1704
1775
  * @param options The options parameters.
1705
1776
  */
1706
- beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
1777
+ beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
1707
1778
  /**
1708
1779
  * Update the metadata of a service instance.
1709
1780
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1718,7 +1789,7 @@ export declare interface Services {
1718
1789
  * @param resourceName The name of the service instance.
1719
1790
  * @param options The options parameters.
1720
1791
  */
1721
- beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1792
+ beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1722
1793
  /**
1723
1794
  * Delete a service instance.
1724
1795
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1872,6 +1943,8 @@ export declare interface ServicesProperties {
1872
1943
  publicNetworkAccess?: PublicNetworkAccess;
1873
1944
  /** The azure container registry settings used for convert data operation of the service instance. */
1874
1945
  acrConfiguration?: ServiceAcrConfigurationInfo;
1946
+ /** The settings for the import operation of the service instance. */
1947
+ importConfiguration?: ServiceImportConfigurationInfo;
1875
1948
  }
1876
1949
 
1877
1950
  /** The common properties of a service. */
@@ -2016,7 +2089,7 @@ export declare interface WorkspacePrivateEndpointConnections {
2016
2089
  * @param properties The private endpoint connection properties.
2017
2090
  * @param options The options parameters.
2018
2091
  */
2019
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
2092
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
2020
2093
  /**
2021
2094
  * Update the state of the specified private endpoint connection associated with the workspace.
2022
2095
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -2035,7 +2108,7 @@ export declare interface WorkspacePrivateEndpointConnections {
2035
2108
  * Azure resource
2036
2109
  * @param options The options parameters.
2037
2110
  */
2038
- beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2111
+ beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2039
2112
  /**
2040
2113
  * Deletes a private endpoint connection.
2041
2114
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -2156,7 +2229,7 @@ export declare interface Workspaces {
2156
2229
  * @param workspace The parameters for creating or updating a healthcare workspace.
2157
2230
  * @param options The options parameters.
2158
2231
  */
2159
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
2232
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
2160
2233
  /**
2161
2234
  * Creates or updates a workspace resource with the specified parameters.
2162
2235
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -2172,7 +2245,7 @@ export declare interface Workspaces {
2172
2245
  * @param workspacePatchResource The parameters for updating a specified workspace.
2173
2246
  * @param options The options parameters.
2174
2247
  */
2175
- beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
2248
+ beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
2176
2249
  /**
2177
2250
  * Patch workspace details.
2178
2251
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -2187,7 +2260,7 @@ export declare interface Workspaces {
2187
2260
  * @param workspaceName The name of workspace resource.
2188
2261
  * @param options The options parameters.
2189
2262
  */
2190
- beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2263
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2191
2264
  /**
2192
2265
  * Deletes a specified workspace.
2193
2266
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.38.5"
8
+ "packageVersion": "7.39.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=checkNameAvailability.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkNameAvailability.d.ts","sourceRoot":"","sources":["../../samples-dev/checkNameAvailability.ts"],"names":[],"mappings":""}
@@ -1,33 +0,0 @@
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
- /**
12
- * This sample demonstrates how to Check if a service instance name is available.
13
- *
14
- * @summary Check if a service instance name is available.
15
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/CheckNameAvailabilityPost.json
16
- */
17
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function checkNameAvailability() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const checkNameAvailabilityInputs = {
23
- name: "serviceName",
24
- type: "Microsoft.HealthcareApis/services"
25
- };
26
- const credential = new DefaultAzureCredential();
27
- const client = new HealthcareApisManagementClient(credential, subscriptionId);
28
- const result = yield client.services.checkNameAvailability(checkNameAvailabilityInputs);
29
- console.log(result);
30
- });
31
- }
32
- checkNameAvailability().catch(console.error);
33
- //# sourceMappingURL=checkNameAvailability.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkNameAvailability.js","sourceRoot":"","sources":["../../samples-dev/checkNameAvailability.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,2BAA2B,GAAoC;YACnE,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,mCAAmC;SAC1C,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,QAAQ,CAAC,qBAAqB,CACxD,2BAA2B,CAC5B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createOrUpdateAServiceWithAllParameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrUpdateAServiceWithAllParameters.d.ts","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithAllParameters.ts"],"names":[],"mappings":""}
@@ -1,62 +0,0 @@
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
- /**
12
- * This sample demonstrates how to Create or update the metadata of a service instance.
13
- *
14
- * @summary Create or update the metadata of a service instance.
15
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceCreate.json
16
- */
17
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createOrUpdateAServiceWithAllParameters() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const resourceName = "service1";
24
- const serviceDescription = {
25
- identity: { type: "SystemAssigned" },
26
- kind: "fhir-R4",
27
- location: "westus2",
28
- properties: {
29
- accessPolicies: [
30
- { objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
31
- { objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
32
- ],
33
- authenticationConfiguration: {
34
- audience: "https://azurehealthcareapis.com",
35
- authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
36
- smartProxyEnabled: true
37
- },
38
- corsConfiguration: {
39
- allowCredentials: false,
40
- headers: ["*"],
41
- maxAge: 1440,
42
- methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
43
- origins: ["*"]
44
- },
45
- cosmosDbConfiguration: {
46
- keyVaultKeyUri: "https://my-vault.vault.azure.net/keys/my-key",
47
- offerThroughput: 1000
48
- },
49
- exportConfiguration: { storageAccountName: "existingStorageAccount" },
50
- privateEndpointConnections: [],
51
- publicNetworkAccess: "Disabled"
52
- },
53
- tags: {}
54
- };
55
- const credential = new DefaultAzureCredential();
56
- const client = new HealthcareApisManagementClient(credential, subscriptionId);
57
- const result = yield client.services.beginCreateOrUpdateAndWait(resourceGroupName, resourceName, serviceDescription);
58
- console.log(result);
59
- });
60
- }
61
- createOrUpdateAServiceWithAllParameters().catch(console.error);
62
- //# sourceMappingURL=createOrUpdateAServiceWithAllParameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrUpdateAServiceWithAllParameters.js","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithAllParameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,kBAAkB,GAAwB;YAC9C,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,EAAE,QAAQ,EAAE,sCAAsC,EAAE;oBACpD,EAAE,QAAQ,EAAE,sCAAsC,EAAE;iBACrD;gBACD,2BAA2B,EAAE;oBAC3B,QAAQ,EAAE,iCAAiC;oBAC3C,SAAS,EACP,wEAAwE;oBAC1E,iBAAiB,EAAE,IAAI;iBACxB;gBACD,iBAAiB,EAAE;oBACjB,gBAAgB,EAAE,KAAK;oBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC7D,OAAO,EAAE,CAAC,GAAG,CAAC;iBACf;gBACD,qBAAqB,EAAE;oBACrB,cAAc,EAAE,8CAA8C;oBAC9D,eAAe,EAAE,IAAI;iBACtB;gBACD,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,wBAAwB,EAAE;gBACrE,0BAA0B,EAAE,EAAE;gBAC9B,mBAAmB,EAAE,UAAU;aAChC;YACD,IAAI,EAAE,EAAE;SACT,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,QAAQ,CAAC,0BAA0B,CAC7D,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createOrUpdateAServiceWithMinimumParameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrUpdateAServiceWithMinimumParameters.d.ts","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithMinimumParameters.ts"],"names":[],"mappings":""}
@@ -1,39 +0,0 @@
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
- /**
12
- * This sample demonstrates how to Create or update the metadata of a service instance.
13
- *
14
- * @summary Create or update the metadata of a service instance.
15
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceCreateMinimum.json
16
- */
17
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createOrUpdateAServiceWithMinimumParameters() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rg1";
23
- const resourceName = "service2";
24
- const serviceDescription = {
25
- kind: "fhir-R4",
26
- location: "westus2",
27
- properties: {
28
- accessPolicies: [{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" }]
29
- },
30
- tags: {}
31
- };
32
- const credential = new DefaultAzureCredential();
33
- const client = new HealthcareApisManagementClient(credential, subscriptionId);
34
- const result = yield client.services.beginCreateOrUpdateAndWait(resourceGroupName, resourceName, serviceDescription);
35
- console.log(result);
36
- });
37
- }
38
- createOrUpdateAServiceWithMinimumParameters().catch(console.error);
39
- //# sourceMappingURL=createOrUpdateAServiceWithMinimumParameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrUpdateAServiceWithMinimumParameters.js","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithMinimumParameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,kBAAkB,GAAwB;YAC9C,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACV,cAAc,EAAE,CAAC,EAAE,QAAQ,EAAE,sCAAsC,EAAE,CAAC;aACvE;YACD,IAAI,EAAE,EAAE;SACT,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,QAAQ,CAAC,0BAA0B,CAC7D,iBAAiB,EACjB,YAAY,EACZ,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"}