@azure/arm-healthcareapis 2.2.1-alpha.20231113.1 → 3.0.0-alpha.20231221.2

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
@@ -6,9 +6,9 @@
6
6
 
7
7
  import * as coreAuth from '@azure/core-auth';
8
8
  import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
9
10
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
12
 
13
13
  // @public
14
14
  export type ActionType = string;
@@ -19,12 +19,24 @@ export interface CheckNameAvailabilityParameters {
19
19
  type: string;
20
20
  }
21
21
 
22
+ // @public
23
+ export interface CorsConfiguration {
24
+ allowCredentials?: boolean;
25
+ headers?: string[];
26
+ maxAge?: number;
27
+ methods?: string[];
28
+ origins?: string[];
29
+ }
30
+
22
31
  // @public
23
32
  export type CreatedByType = string;
24
33
 
25
34
  // @public
26
35
  export interface DicomService extends TaggedResource, ServiceManagedIdentity {
27
36
  authenticationConfiguration?: DicomServiceAuthenticationConfiguration;
37
+ corsConfiguration?: CorsConfiguration;
38
+ encryption?: Encryption;
39
+ readonly eventState?: ServiceEventState;
28
40
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
29
41
  readonly provisioningState?: ProvisioningState;
30
42
  publicNetworkAccess?: PublicNetworkAccess;
@@ -50,11 +62,11 @@ export interface DicomServicePatchResource extends ResourceTags, ServiceManagedI
50
62
 
51
63
  // @public
52
64
  export interface DicomServices {
53
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DicomServicesCreateOrUpdateResponse>, DicomServicesCreateOrUpdateResponse>>;
65
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DicomServicesCreateOrUpdateResponse>, DicomServicesCreateOrUpdateResponse>>;
54
66
  beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<DicomServicesCreateOrUpdateResponse>;
55
- beginDelete(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
67
+ beginDelete(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
56
68
  beginDeleteAndWait(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<void>;
57
- beginUpdate(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DicomServicesUpdateResponse>, DicomServicesUpdateResponse>>;
69
+ beginUpdate(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DicomServicesUpdateResponse>, DicomServicesUpdateResponse>>;
58
70
  beginUpdateAndWait(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<DicomServicesUpdateResponse>;
59
71
  get(resourceGroupName: string, workspaceName: string, dicomServiceName: string, options?: DicomServicesGetOptionalParams): Promise<DicomServicesGetResponse>;
60
72
  listByWorkspace(resourceGroupName: string, workspaceName: string, options?: DicomServicesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<DicomService>;
@@ -105,6 +117,16 @@ export interface DicomServicesUpdateOptionalParams extends coreClient.OperationO
105
117
  // @public
106
118
  export type DicomServicesUpdateResponse = DicomService;
107
119
 
120
+ // @public
121
+ export interface Encryption {
122
+ customerManagedKeyEncryption?: EncryptionCustomerManagedKeyEncryption;
123
+ }
124
+
125
+ // @public
126
+ export interface EncryptionCustomerManagedKeyEncryption {
127
+ keyEncryptionKeyUrl?: string;
128
+ }
129
+
108
130
  // @public
109
131
  export interface ErrorDetails {
110
132
  error?: ErrorDetailsInternal;
@@ -146,12 +168,14 @@ export type FhirResourceVersionPolicy = string;
146
168
 
147
169
  // @public
148
170
  export interface FhirService extends TaggedResource, ServiceManagedIdentity {
149
- accessPolicies?: FhirServiceAccessPolicyEntry[];
150
171
  acrConfiguration?: FhirServiceAcrConfiguration;
151
172
  authenticationConfiguration?: FhirServiceAuthenticationConfiguration;
152
173
  corsConfiguration?: FhirServiceCorsConfiguration;
174
+ encryption?: Encryption;
153
175
  readonly eventState?: ServiceEventState;
154
176
  exportConfiguration?: FhirServiceExportConfiguration;
177
+ implementationGuidesConfiguration?: ImplementationGuidesConfiguration;
178
+ importConfiguration?: FhirServiceImportConfiguration;
155
179
  kind?: FhirServiceKind;
156
180
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
157
181
  readonly provisioningState?: ProvisioningState;
@@ -160,11 +184,6 @@ export interface FhirService extends TaggedResource, ServiceManagedIdentity {
160
184
  readonly systemData?: SystemData;
161
185
  }
162
186
 
163
- // @public
164
- export interface FhirServiceAccessPolicyEntry {
165
- objectId: string;
166
- }
167
-
168
187
  // @public
169
188
  export interface FhirServiceAcrConfiguration {
170
189
  loginServers?: string[];
@@ -198,6 +217,13 @@ export interface FhirServiceExportConfiguration {
198
217
  storageAccountName?: string;
199
218
  }
200
219
 
220
+ // @public
221
+ export interface FhirServiceImportConfiguration {
222
+ enabled?: boolean;
223
+ initialImportMode?: boolean;
224
+ integrationDataStore?: string;
225
+ }
226
+
201
227
  // @public
202
228
  export type FhirServiceKind = string;
203
229
 
@@ -207,11 +233,11 @@ export interface FhirServicePatchResource extends ResourceTags, ServiceManagedId
207
233
 
208
234
  // @public
209
235
  export interface FhirServices {
210
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
236
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
211
237
  beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<FhirServicesCreateOrUpdateResponse>;
212
- beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
238
+ beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
213
239
  beginDeleteAndWait(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<void>;
214
- beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
240
+ beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
215
241
  beginUpdateAndWait(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<FhirServicesUpdateResponse>;
216
242
  get(resourceGroupName: string, workspaceName: string, fhirServiceName: string, options?: FhirServicesGetOptionalParams): Promise<FhirServicesGetResponse>;
217
243
  listByWorkspace(resourceGroupName: string, workspaceName: string, options?: FhirServicesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<FhirService>;
@@ -309,6 +335,11 @@ export interface HealthcareApisManagementClientOptionalParams extends coreClient
309
335
  endpoint?: string;
310
336
  }
311
337
 
338
+ // @public
339
+ export interface ImplementationGuidesConfiguration {
340
+ usCoreMissingData?: boolean;
341
+ }
342
+
312
343
  // @public
313
344
  export interface IotConnector extends TaggedResource, ServiceManagedIdentity {
314
345
  deviceMapping?: IotMappingProperties;
@@ -325,9 +356,9 @@ export interface IotConnectorCollection {
325
356
 
326
357
  // @public
327
358
  export interface IotConnectorFhirDestination {
328
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
359
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
329
360
  beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<IotConnectorFhirDestinationCreateOrUpdateResponse>;
330
- beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
361
+ beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
331
362
  beginDeleteAndWait(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<void>;
332
363
  get(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationGetOptionalParams): Promise<IotConnectorFhirDestinationGetResponse>;
333
364
  }
@@ -360,11 +391,11 @@ export interface IotConnectorPatchResource extends ResourceTags, ServiceManagedI
360
391
 
361
392
  // @public
362
393
  export interface IotConnectors {
363
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
394
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
364
395
  beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<IotConnectorsCreateOrUpdateResponse>;
365
- beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
396
+ beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
366
397
  beginDeleteAndWait(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<void>;
367
- beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
398
+ beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
368
399
  beginUpdateAndWait(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<IotConnectorsUpdateResponse>;
369
400
  get(resourceGroupName: string, workspaceName: string, iotConnectorName: string, options?: IotConnectorsGetOptionalParams): Promise<IotConnectorsGetResponse>;
370
401
  listByWorkspace(resourceGroupName: string, workspaceName: string, options?: IotConnectorsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<IotConnector>;
@@ -595,8 +626,13 @@ export interface MetricSpecification {
595
626
  dimensions?: MetricDimension[];
596
627
  displayDescription?: string;
597
628
  displayName?: string;
629
+ enableRegionalMdmAccount?: boolean;
598
630
  fillGapWithZero?: boolean;
631
+ isInternal?: boolean;
632
+ metricFilterPattern?: string;
599
633
  name?: string;
634
+ resourceIdDimensionNameOverride?: string;
635
+ sourceMdmAccount?: string;
600
636
  sourceMdmNamespace?: string;
601
637
  supportedAggregationTypes?: string[];
602
638
  supportedTimeGrainTypes?: string[];
@@ -702,9 +738,9 @@ export type PrivateEndpointConnectionProvisioningState = string;
702
738
 
703
739
  // @public
704
740
  export interface PrivateEndpointConnections {
705
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
741
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
706
742
  beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
707
- beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
743
+ beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
708
744
  beginDeleteAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
709
745
  get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
710
746
  listByService(resourceGroupName: string, resourceName: string, options?: PrivateEndpointConnectionsListByServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionDescription>;
@@ -851,6 +887,7 @@ export interface ServiceCorsConfigurationInfo {
851
887
 
852
888
  // @public
853
889
  export interface ServiceCosmosDbConfigurationInfo {
890
+ crossTenantCmkApplicationId?: string;
854
891
  keyVaultKeyUri?: string;
855
892
  offerThroughput?: number;
856
893
  }
@@ -863,6 +900,13 @@ export interface ServiceExportConfigurationInfo {
863
900
  storageAccountName?: string;
864
901
  }
865
902
 
903
+ // @public
904
+ export interface ServiceImportConfigurationInfo {
905
+ enabled?: boolean;
906
+ initialImportMode?: boolean;
907
+ integrationDataStore?: string;
908
+ }
909
+
866
910
  // @public
867
911
  export interface ServiceManagedIdentity {
868
912
  identity?: ServiceManagedIdentityIdentity;
@@ -893,11 +937,11 @@ export interface ServiceOciArtifactEntry {
893
937
 
894
938
  // @public
895
939
  export interface Services {
896
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
940
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
897
941
  beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServicesCreateOrUpdateResponse>;
898
- beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
942
+ beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
899
943
  beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<void>;
900
- beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
944
+ beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
901
945
  beginUpdateAndWait(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<ServicesUpdateResponse>;
902
946
  checkNameAvailability(checkNameAvailabilityInputs: CheckNameAvailabilityParameters, options?: ServicesCheckNameAvailabilityOptionalParams): Promise<ServicesCheckNameAvailabilityResponse>;
903
947
  get(resourceGroupName: string, resourceName: string, options?: ServicesGetOptionalParams): Promise<ServicesGetResponse>;
@@ -1003,6 +1047,7 @@ export interface ServicesProperties {
1003
1047
  corsConfiguration?: ServiceCorsConfigurationInfo;
1004
1048
  cosmosDbConfiguration?: ServiceCosmosDbConfigurationInfo;
1005
1049
  exportConfiguration?: ServiceExportConfigurationInfo;
1050
+ importConfiguration?: ServiceImportConfigurationInfo;
1006
1051
  privateEndpointConnections?: PrivateEndpointConnection[];
1007
1052
  readonly provisioningState?: ProvisioningState;
1008
1053
  publicNetworkAccess?: PublicNetworkAccess;
@@ -1076,9 +1121,9 @@ export interface WorkspacePatchResource extends ResourceTags {
1076
1121
 
1077
1122
  // @public
1078
1123
  export interface WorkspacePrivateEndpointConnections {
1079
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
1124
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
1080
1125
  beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>;
1081
- beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1126
+ beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1082
1127
  beginDeleteAndWait(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
1083
1128
  get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsGetOptionalParams): Promise<WorkspacePrivateEndpointConnectionsGetResponse>;
1084
1129
  listByWorkspace(resourceGroupName: string, workspaceName: string, options?: WorkspacePrivateEndpointConnectionsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionDescription>;
@@ -1142,11 +1187,11 @@ export interface WorkspaceProperties {
1142
1187
 
1143
1188
  // @public
1144
1189
  export interface Workspaces {
1145
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
1190
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
1146
1191
  beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
1147
- beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1192
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1148
1193
  beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
1149
- beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
1194
+ beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
1150
1195
  beginUpdateAndWait(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
1151
1196
  get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
1152
1197
  listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
@@ -54,7 +54,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
54
54
  /**
55
55
  * Initializes a new instance of the HealthcareApisManagementClient class.
56
56
  * @param credentials Subscription credentials which uniquely identify client subscription.
57
- * @param subscriptionId The subscription identifier.
57
+ * @param subscriptionId The ID of the target subscription.
58
58
  * @param options The parameter options
59
59
  */
60
60
  constructor(
@@ -78,7 +78,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
78
78
  credential: credentials
79
79
  };
80
80
 
81
- const packageDetails = `azsdk-js-arm-healthcareapis/2.2.1`;
81
+ const packageDetails = `azsdk-js-arm-healthcareapis/3.0.0`;
82
82
  const userAgentPrefix =
83
83
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
84
84
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -131,7 +131,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
131
131
 
132
132
  // Assigning values to Constant parameters
133
133
  this.$host = options.$host || "https://management.azure.com";
134
- this.apiVersion = options.apiVersion || "2021-11-01";
134
+ this.apiVersion = options.apiVersion || "2023-11-01";
135
135
  this.services = new ServicesImpl(this);
136
136
  this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
137
137
  this.privateLinkResources = new PrivateLinkResourcesImpl(this);
package/src/lroImpl.ts CHANGED
@@ -6,29 +6,37 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT license.
11
+
12
+ import { AbortSignalLike } from "@azure/abort-controller";
9
13
  import { LongRunningOperation, LroResponse } from "@azure/core-lro";
10
14
 
11
- export class LroImpl<T> implements LongRunningOperation<T> {
12
- constructor(
13
- private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,
14
- private args: Record<string, unknown>,
15
- private spec: {
16
- readonly requestBody?: unknown;
17
- readonly path?: string;
18
- readonly httpMethod: string;
19
- } & Record<string, any>,
20
- public requestPath: string = spec.path!,
21
- public requestMethod: string = spec.httpMethod
22
- ) {}
23
- public async sendInitialRequest(): Promise<LroResponse<T>> {
24
- return this.sendOperationFn(this.args, this.spec);
25
- }
26
- public async sendPollRequest(path: string): Promise<LroResponse<T>> {
27
- const { requestBody, ...restSpec } = this.spec;
28
- return this.sendOperationFn(this.args, {
29
- ...restSpec,
30
- path,
31
- httpMethod: "GET"
32
- });
33
- }
15
+ export function createLroSpec<T>(inputs: {
16
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
17
+ args: Record<string, unknown>;
18
+ spec: {
19
+ readonly requestBody?: unknown;
20
+ readonly path?: string;
21
+ readonly httpMethod: string;
22
+ } & Record<string, any>;
23
+ }): LongRunningOperation<T> {
24
+ const { args, spec, sendOperationFn } = inputs;
25
+ return {
26
+ requestMethod: spec.httpMethod,
27
+ requestPath: spec.path!,
28
+ sendInitialRequest: () => sendOperationFn(args, spec),
29
+ sendPollRequest: (
30
+ path: string,
31
+ options?: { abortSignal?: AbortSignalLike }
32
+ ) => {
33
+ const { requestBody, ...restSpec } = spec;
34
+ return sendOperationFn(args, {
35
+ ...restSpec,
36
+ httpMethod: "GET",
37
+ path,
38
+ abortSignal: options?.abortSignal
39
+ });
40
+ }
41
+ };
34
42
  }
@@ -31,6 +31,8 @@ export interface ServicesProperties {
31
31
  publicNetworkAccess?: PublicNetworkAccess;
32
32
  /** The azure container registry settings used for convert data operation of the service instance. */
33
33
  acrConfiguration?: ServiceAcrConfigurationInfo;
34
+ /** The settings for the import operation of the service instance. */
35
+ importConfiguration?: ServiceImportConfigurationInfo;
34
36
  }
35
37
 
36
38
  /** An access policy entry. */
@@ -45,6 +47,8 @@ export interface ServiceCosmosDbConfigurationInfo {
45
47
  offerThroughput?: number;
46
48
  /** The URI of the customer-managed key for the backing database. */
47
49
  keyVaultKeyUri?: string;
50
+ /** The multi-tenant application id used to enable CMK access for services in a data sovereign region. */
51
+ crossTenantCmkApplicationId?: string;
48
52
  }
49
53
 
50
54
  /** Authentication configuration information */
@@ -133,6 +137,16 @@ export interface ServiceOciArtifactEntry {
133
137
  digest?: string;
134
138
  }
135
139
 
140
+ /** Import operation configuration information */
141
+ export interface ServiceImportConfigurationInfo {
142
+ /** The name of the default integration storage account. */
143
+ integrationDataStore?: string;
144
+ /** If the FHIR service is in InitialImportMode. */
145
+ initialImportMode?: boolean;
146
+ /** If the import operation is enabled. */
147
+ enabled?: boolean;
148
+ }
149
+
136
150
  /** Metadata pertaining to creation and last modification of the resource. */
137
151
  export interface SystemData {
138
152
  /** The identity that created the resource. */
@@ -350,6 +364,32 @@ export interface DicomServiceAuthenticationConfiguration {
350
364
  readonly audiences?: string[];
351
365
  }
352
366
 
367
+ /** The settings for the CORS configuration of the service instance. */
368
+ export interface CorsConfiguration {
369
+ /** The origins to be allowed via CORS. */
370
+ origins?: string[];
371
+ /** The headers to be allowed via CORS. */
372
+ headers?: string[];
373
+ /** The methods to be allowed via CORS. */
374
+ methods?: string[];
375
+ /** The max age to be allowed via CORS. */
376
+ maxAge?: number;
377
+ /** If credentials are allowed via CORS. */
378
+ allowCredentials?: boolean;
379
+ }
380
+
381
+ /** Settings to encrypt a service */
382
+ export interface Encryption {
383
+ /** The encryption settings for the customer-managed key */
384
+ customerManagedKeyEncryption?: EncryptionCustomerManagedKeyEncryption;
385
+ }
386
+
387
+ /** The encryption settings for the customer-managed key */
388
+ export interface EncryptionCustomerManagedKeyEncryption {
389
+ /** The URL of the key to use for encryption */
390
+ keyEncryptionKeyUrl?: string;
391
+ }
392
+
353
393
  /** Managed service identity (system assigned and/or user assigned identities) */
354
394
  export interface ServiceManagedIdentity {
355
395
  /** Setting indicating whether the service has a managed identity associated with it. */
@@ -437,12 +477,6 @@ export interface FhirServiceCollection {
437
477
  value?: FhirService[];
438
478
  }
439
479
 
440
- /** An access policy entry. */
441
- export interface FhirServiceAccessPolicyEntry {
442
- /** An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. */
443
- objectId: string;
444
- }
445
-
446
480
  /** Azure container registry configuration information */
447
481
  export interface FhirServiceAcrConfiguration {
448
482
  /** The list of the Azure container registry login servers. */
@@ -489,6 +523,22 @@ export interface ResourceVersionPolicyConfiguration {
489
523
  resourceTypeOverrides?: { [propertyName: string]: FhirResourceVersionPolicy };
490
524
  }
491
525
 
526
+ /** Import operation configuration information */
527
+ export interface FhirServiceImportConfiguration {
528
+ /** The name of the default integration storage account. */
529
+ integrationDataStore?: string;
530
+ /** If the FHIR service is in InitialImportMode. */
531
+ initialImportMode?: boolean;
532
+ /** If the import operation is enabled. */
533
+ enabled?: boolean;
534
+ }
535
+
536
+ /** The settings for Implementation Guides - defining capabilities for national standards, vendor consortiums, clinical societies, etc. */
537
+ export interface ImplementationGuidesConfiguration {
538
+ /** If US Core Missing Data requirement is enabled. */
539
+ usCoreMissingData?: boolean;
540
+ }
541
+
492
542
  /** Available operations of the service */
493
543
  export interface ListOperations {
494
544
  /**
@@ -599,10 +649,20 @@ export interface MetricSpecification {
599
649
  supportedTimeGrainTypes?: string[];
600
650
  /** Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. */
601
651
  fillGapWithZero?: boolean;
652
+ /** Pattern for the filter of the metric. */
653
+ metricFilterPattern?: string;
602
654
  /** Dimensions of the metric */
603
655
  dimensions?: MetricDimension[];
604
- /** Name of the MDM namespace. Optional. */
656
+ /** Whether the metric is internal. */
657
+ isInternal?: boolean;
658
+ /** The source MDM account. */
659
+ sourceMdmAccount?: string;
660
+ /** The source MDM namespace. */
605
661
  sourceMdmNamespace?: string;
662
+ /** Whether regional MDM account enabled. */
663
+ enableRegionalMdmAccount?: boolean;
664
+ /** The resource Id dimension name override. */
665
+ resourceIdDimensionNameOverride?: string;
606
666
  }
607
667
 
608
668
  /** Specifications of the Dimension of metrics */
@@ -733,6 +793,8 @@ export interface DicomService extends TaggedResource, ServiceManagedIdentity {
733
793
  readonly provisioningState?: ProvisioningState;
734
794
  /** Dicom Service authentication configuration. */
735
795
  authenticationConfiguration?: DicomServiceAuthenticationConfiguration;
796
+ /** Dicom Service Cors configuration. */
797
+ corsConfiguration?: CorsConfiguration;
736
798
  /**
737
799
  * The url of the Dicom Services.
738
800
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -745,6 +807,13 @@ export interface DicomService extends TaggedResource, ServiceManagedIdentity {
745
807
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
746
808
  /** Control permission for data plane traffic coming from public networks while private endpoint is enabled. */
747
809
  publicNetworkAccess?: PublicNetworkAccess;
810
+ /**
811
+ * DICOM Service event support status.
812
+ * NOTE: This property will not be serialized. It can only be populated by the server.
813
+ */
814
+ readonly eventState?: ServiceEventState;
815
+ /** The encryption settings of the DICOM service */
816
+ encryption?: Encryption;
748
817
  }
749
818
 
750
819
  /** IoT Connector definition. */
@@ -779,8 +848,6 @@ export interface FhirService extends TaggedResource, ServiceManagedIdentity {
779
848
  * NOTE: This property will not be serialized. It can only be populated by the server.
780
849
  */
781
850
  readonly provisioningState?: ProvisioningState;
782
- /** Fhir Service access policies. */
783
- accessPolicies?: FhirServiceAccessPolicyEntry[];
784
851
  /** Fhir Service Azure container registry configuration. */
785
852
  acrConfiguration?: FhirServiceAcrConfiguration;
786
853
  /** Fhir Service authentication configuration. */
@@ -803,6 +870,12 @@ export interface FhirService extends TaggedResource, ServiceManagedIdentity {
803
870
  readonly eventState?: ServiceEventState;
804
871
  /** Determines tracking of history for resources. */
805
872
  resourceVersionPolicyConfiguration?: ResourceVersionPolicyConfiguration;
873
+ /** Fhir Service import configuration. */
874
+ importConfiguration?: FhirServiceImportConfiguration;
875
+ /** Implementation Guides configuration. */
876
+ implementationGuidesConfiguration?: ImplementationGuidesConfiguration;
877
+ /** The encryption settings of the FHIR service */
878
+ encryption?: Encryption;
806
879
  }
807
880
 
808
881
  /** IoT Connector destination properties for an Azure FHIR service. */
@@ -1021,6 +1094,27 @@ export enum KnownManagedServiceIdentityType {
1021
1094
  */
1022
1095
  export type ManagedServiceIdentityType = string;
1023
1096
 
1097
+ /** Known values of {@link ServiceEventState} that the service accepts. */
1098
+ export enum KnownServiceEventState {
1099
+ /** Disabled */
1100
+ Disabled = "Disabled",
1101
+ /** Enabled */
1102
+ Enabled = "Enabled",
1103
+ /** Updating */
1104
+ Updating = "Updating"
1105
+ }
1106
+
1107
+ /**
1108
+ * Defines values for ServiceEventState. \
1109
+ * {@link KnownServiceEventState} can be used interchangeably with ServiceEventState,
1110
+ * this enum contains the known values that the service supports.
1111
+ * ### Known values supported by the service
1112
+ * **Disabled** \
1113
+ * **Enabled** \
1114
+ * **Updating**
1115
+ */
1116
+ export type ServiceEventState = string;
1117
+
1024
1118
  /** Known values of {@link ServiceManagedIdentityType} that the service accepts. */
1025
1119
  export enum KnownServiceManagedIdentityType {
1026
1120
  /** None */
@@ -1081,27 +1175,6 @@ export enum KnownFhirServiceKind {
1081
1175
  */
1082
1176
  export type FhirServiceKind = string;
1083
1177
 
1084
- /** Known values of {@link ServiceEventState} that the service accepts. */
1085
- export enum KnownServiceEventState {
1086
- /** Disabled */
1087
- Disabled = "Disabled",
1088
- /** Enabled */
1089
- Enabled = "Enabled",
1090
- /** Updating */
1091
- Updating = "Updating"
1092
- }
1093
-
1094
- /**
1095
- * Defines values for ServiceEventState. \
1096
- * {@link KnownServiceEventState} can be used interchangeably with ServiceEventState,
1097
- * this enum contains the known values that the service supports.
1098
- * ### Known values supported by the service
1099
- * **Disabled** \
1100
- * **Enabled** \
1101
- * **Updating**
1102
- */
1103
- export type ServiceEventState = string;
1104
-
1105
1178
  /** Known values of {@link FhirResourceVersionPolicy} that the service accepts. */
1106
1179
  export enum KnownFhirResourceVersionPolicy {
1107
1180
  /** NoVersion */