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

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 +13 -10
  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
@@ -84,6 +84,13 @@ export const ServicesProperties: coreClient.CompositeMapper = {
84
84
  name: "Composite",
85
85
  className: "ServiceAcrConfigurationInfo"
86
86
  }
87
+ },
88
+ importConfiguration: {
89
+ serializedName: "importConfiguration",
90
+ type: {
91
+ name: "Composite",
92
+ className: "ServiceImportConfigurationInfo"
93
+ }
87
94
  }
88
95
  }
89
96
  }
@@ -129,6 +136,17 @@ export const ServiceCosmosDbConfigurationInfo: coreClient.CompositeMapper = {
129
136
  type: {
130
137
  name: "String"
131
138
  }
139
+ },
140
+ crossTenantCmkApplicationId: {
141
+ constraints: {
142
+ Pattern: new RegExp(
143
+ "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$"
144
+ )
145
+ },
146
+ serializedName: "crossTenantCmkApplicationId",
147
+ type: {
148
+ name: "String"
149
+ }
132
150
  }
133
151
  }
134
152
  }
@@ -371,6 +389,33 @@ export const ServiceOciArtifactEntry: coreClient.CompositeMapper = {
371
389
  }
372
390
  };
373
391
 
392
+ export const ServiceImportConfigurationInfo: coreClient.CompositeMapper = {
393
+ type: {
394
+ name: "Composite",
395
+ className: "ServiceImportConfigurationInfo",
396
+ modelProperties: {
397
+ integrationDataStore: {
398
+ serializedName: "integrationDataStore",
399
+ type: {
400
+ name: "String"
401
+ }
402
+ },
403
+ initialImportMode: {
404
+ serializedName: "initialImportMode",
405
+ type: {
406
+ name: "Boolean"
407
+ }
408
+ },
409
+ enabled: {
410
+ serializedName: "enabled",
411
+ type: {
412
+ name: "Boolean"
413
+ }
414
+ }
415
+ }
416
+ }
417
+ };
418
+
374
419
  export const SystemData: coreClient.CompositeMapper = {
375
420
  type: {
376
421
  name: "Composite",
@@ -891,6 +936,100 @@ export const DicomServiceAuthenticationConfiguration: coreClient.CompositeMapper
891
936
  }
892
937
  };
893
938
 
939
+ export const CorsConfiguration: coreClient.CompositeMapper = {
940
+ type: {
941
+ name: "Composite",
942
+ className: "CorsConfiguration",
943
+ modelProperties: {
944
+ origins: {
945
+ serializedName: "origins",
946
+ type: {
947
+ name: "Sequence",
948
+ element: {
949
+ constraints: {
950
+ Pattern: new RegExp(
951
+ "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
952
+ )
953
+ },
954
+ type: {
955
+ name: "String"
956
+ }
957
+ }
958
+ }
959
+ },
960
+ headers: {
961
+ serializedName: "headers",
962
+ type: {
963
+ name: "Sequence",
964
+ element: {
965
+ type: {
966
+ name: "String"
967
+ }
968
+ }
969
+ }
970
+ },
971
+ methods: {
972
+ serializedName: "methods",
973
+ type: {
974
+ name: "Sequence",
975
+ element: {
976
+ type: {
977
+ name: "String"
978
+ }
979
+ }
980
+ }
981
+ },
982
+ maxAge: {
983
+ constraints: {
984
+ InclusiveMaximum: 99999,
985
+ InclusiveMinimum: 0
986
+ },
987
+ serializedName: "maxAge",
988
+ type: {
989
+ name: "Number"
990
+ }
991
+ },
992
+ allowCredentials: {
993
+ serializedName: "allowCredentials",
994
+ type: {
995
+ name: "Boolean"
996
+ }
997
+ }
998
+ }
999
+ }
1000
+ };
1001
+
1002
+ export const Encryption: coreClient.CompositeMapper = {
1003
+ type: {
1004
+ name: "Composite",
1005
+ className: "Encryption",
1006
+ modelProperties: {
1007
+ customerManagedKeyEncryption: {
1008
+ serializedName: "customerManagedKeyEncryption",
1009
+ type: {
1010
+ name: "Composite",
1011
+ className: "EncryptionCustomerManagedKeyEncryption"
1012
+ }
1013
+ }
1014
+ }
1015
+ }
1016
+ };
1017
+
1018
+ export const EncryptionCustomerManagedKeyEncryption: coreClient.CompositeMapper = {
1019
+ type: {
1020
+ name: "Composite",
1021
+ className: "EncryptionCustomerManagedKeyEncryption",
1022
+ modelProperties: {
1023
+ keyEncryptionKeyUrl: {
1024
+ serializedName: "keyEncryptionKeyUrl",
1025
+ type: {
1026
+ name: "String"
1027
+ }
1028
+ }
1029
+ }
1030
+ }
1031
+ };
1032
+
894
1033
  export const ServiceManagedIdentity: coreClient.CompositeMapper = {
895
1034
  type: {
896
1035
  name: "Composite",
@@ -1109,27 +1248,6 @@ export const FhirServiceCollection: coreClient.CompositeMapper = {
1109
1248
  }
1110
1249
  };
1111
1250
 
1112
- export const FhirServiceAccessPolicyEntry: coreClient.CompositeMapper = {
1113
- type: {
1114
- name: "Composite",
1115
- className: "FhirServiceAccessPolicyEntry",
1116
- modelProperties: {
1117
- objectId: {
1118
- constraints: {
1119
- Pattern: new RegExp(
1120
- "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$"
1121
- )
1122
- },
1123
- serializedName: "objectId",
1124
- required: true,
1125
- type: {
1126
- name: "String"
1127
- }
1128
- }
1129
- }
1130
- }
1131
- };
1132
-
1133
1251
  export const FhirServiceAcrConfiguration: coreClient.CompositeMapper = {
1134
1252
  type: {
1135
1253
  name: "Composite",
@@ -1289,6 +1407,48 @@ export const ResourceVersionPolicyConfiguration: coreClient.CompositeMapper = {
1289
1407
  }
1290
1408
  };
1291
1409
 
1410
+ export const FhirServiceImportConfiguration: coreClient.CompositeMapper = {
1411
+ type: {
1412
+ name: "Composite",
1413
+ className: "FhirServiceImportConfiguration",
1414
+ modelProperties: {
1415
+ integrationDataStore: {
1416
+ serializedName: "integrationDataStore",
1417
+ type: {
1418
+ name: "String"
1419
+ }
1420
+ },
1421
+ initialImportMode: {
1422
+ serializedName: "initialImportMode",
1423
+ type: {
1424
+ name: "Boolean"
1425
+ }
1426
+ },
1427
+ enabled: {
1428
+ serializedName: "enabled",
1429
+ type: {
1430
+ name: "Boolean"
1431
+ }
1432
+ }
1433
+ }
1434
+ }
1435
+ };
1436
+
1437
+ export const ImplementationGuidesConfiguration: coreClient.CompositeMapper = {
1438
+ type: {
1439
+ name: "Composite",
1440
+ className: "ImplementationGuidesConfiguration",
1441
+ modelProperties: {
1442
+ usCoreMissingData: {
1443
+ serializedName: "usCoreMissingData",
1444
+ type: {
1445
+ name: "Boolean"
1446
+ }
1447
+ }
1448
+ }
1449
+ }
1450
+ };
1451
+
1292
1452
  export const ListOperations: coreClient.CompositeMapper = {
1293
1453
  type: {
1294
1454
  name: "Composite",
@@ -1550,6 +1710,12 @@ export const MetricSpecification: coreClient.CompositeMapper = {
1550
1710
  name: "Boolean"
1551
1711
  }
1552
1712
  },
1713
+ metricFilterPattern: {
1714
+ serializedName: "metricFilterPattern",
1715
+ type: {
1716
+ name: "String"
1717
+ }
1718
+ },
1553
1719
  dimensions: {
1554
1720
  serializedName: "dimensions",
1555
1721
  type: {
@@ -1562,11 +1728,35 @@ export const MetricSpecification: coreClient.CompositeMapper = {
1562
1728
  }
1563
1729
  }
1564
1730
  },
1731
+ isInternal: {
1732
+ serializedName: "isInternal",
1733
+ type: {
1734
+ name: "Boolean"
1735
+ }
1736
+ },
1737
+ sourceMdmAccount: {
1738
+ serializedName: "sourceMdmAccount",
1739
+ type: {
1740
+ name: "String"
1741
+ }
1742
+ },
1565
1743
  sourceMdmNamespace: {
1566
1744
  serializedName: "sourceMdmNamespace",
1567
1745
  type: {
1568
1746
  name: "String"
1569
1747
  }
1748
+ },
1749
+ enableRegionalMdmAccount: {
1750
+ serializedName: "enableRegionalMdmAccount",
1751
+ type: {
1752
+ name: "Boolean"
1753
+ }
1754
+ },
1755
+ resourceIdDimensionNameOverride: {
1756
+ serializedName: "resourceIdDimensionNameOverride",
1757
+ type: {
1758
+ name: "String"
1759
+ }
1570
1760
  }
1571
1761
  }
1572
1762
  }
@@ -1864,6 +2054,13 @@ export const DicomService: coreClient.CompositeMapper = {
1864
2054
  className: "DicomServiceAuthenticationConfiguration"
1865
2055
  }
1866
2056
  },
2057
+ corsConfiguration: {
2058
+ serializedName: "properties.corsConfiguration",
2059
+ type: {
2060
+ name: "Composite",
2061
+ className: "CorsConfiguration"
2062
+ }
2063
+ },
1867
2064
  serviceUrl: {
1868
2065
  serializedName: "properties.serviceUrl",
1869
2066
  readOnly: true,
@@ -1889,6 +2086,20 @@ export const DicomService: coreClient.CompositeMapper = {
1889
2086
  type: {
1890
2087
  name: "String"
1891
2088
  }
2089
+ },
2090
+ eventState: {
2091
+ serializedName: "properties.eventState",
2092
+ readOnly: true,
2093
+ type: {
2094
+ name: "String"
2095
+ }
2096
+ },
2097
+ encryption: {
2098
+ serializedName: "properties.encryption",
2099
+ type: {
2100
+ name: "Composite",
2101
+ className: "Encryption"
2102
+ }
1892
2103
  }
1893
2104
  }
1894
2105
  }
@@ -1960,18 +2171,6 @@ export const FhirService: coreClient.CompositeMapper = {
1960
2171
  name: "String"
1961
2172
  }
1962
2173
  },
1963
- accessPolicies: {
1964
- serializedName: "properties.accessPolicies",
1965
- type: {
1966
- name: "Sequence",
1967
- element: {
1968
- type: {
1969
- name: "Composite",
1970
- className: "FhirServiceAccessPolicyEntry"
1971
- }
1972
- }
1973
- }
1974
- },
1975
2174
  acrConfiguration: {
1976
2175
  serializedName: "properties.acrConfiguration",
1977
2176
  type: {
@@ -2032,6 +2231,27 @@ export const FhirService: coreClient.CompositeMapper = {
2032
2231
  name: "Composite",
2033
2232
  className: "ResourceVersionPolicyConfiguration"
2034
2233
  }
2234
+ },
2235
+ importConfiguration: {
2236
+ serializedName: "properties.importConfiguration",
2237
+ type: {
2238
+ name: "Composite",
2239
+ className: "FhirServiceImportConfiguration"
2240
+ }
2241
+ },
2242
+ implementationGuidesConfiguration: {
2243
+ serializedName: "properties.implementationGuidesConfiguration",
2244
+ type: {
2245
+ name: "Composite",
2246
+ className: "ImplementationGuidesConfiguration"
2247
+ }
2248
+ },
2249
+ encryption: {
2250
+ serializedName: "properties.encryption",
2251
+ type: {
2252
+ name: "Composite",
2253
+ className: "Encryption"
2254
+ }
2035
2255
  }
2036
2256
  }
2037
2257
  }
@@ -55,7 +55,7 @@ export const $host: OperationURLParameter = {
55
55
  export const apiVersion: OperationQueryParameter = {
56
56
  parameterPath: "apiVersion",
57
57
  mapper: {
58
- defaultValue: "2021-11-01",
58
+ defaultValue: "2023-11-01",
59
59
  isConstant: true,
60
60
  serializedName: "api-version",
61
61
  type: {
@@ -67,6 +67,9 @@ export const apiVersion: OperationQueryParameter = {
67
67
  export const subscriptionId: OperationURLParameter = {
68
68
  parameterPath: "subscriptionId",
69
69
  mapper: {
70
+ constraints: {
71
+ MinLength: 1
72
+ },
70
73
  serializedName: "subscriptionId",
71
74
  required: true,
72
75
  type: {
@@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client";
13
13
  import * as Mappers from "../models/mappers";
14
14
  import * as Parameters from "../models/parameters";
15
15
  import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
16
- import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
17
- import { LroImpl } from "../lroImpl";
16
+ import {
17
+ SimplePollerLike,
18
+ OperationState,
19
+ createHttpPoller
20
+ } from "@azure/core-lro";
21
+ import { createLroSpec } from "../lroImpl";
18
22
  import {
19
23
  DicomService,
20
24
  DicomServicesListByWorkspaceNextOptionalParams,
@@ -179,8 +183,8 @@ export class DicomServicesImpl implements DicomServices {
179
183
  dicomservice: DicomService,
180
184
  options?: DicomServicesCreateOrUpdateOptionalParams
181
185
  ): Promise<
182
- PollerLike<
183
- PollOperationState<DicomServicesCreateOrUpdateResponse>,
186
+ SimplePollerLike<
187
+ OperationState<DicomServicesCreateOrUpdateResponse>,
184
188
  DicomServicesCreateOrUpdateResponse
185
189
  >
186
190
  > {
@@ -190,7 +194,7 @@ export class DicomServicesImpl implements DicomServices {
190
194
  ): Promise<DicomServicesCreateOrUpdateResponse> => {
191
195
  return this.client.sendOperationRequest(args, spec);
192
196
  };
193
- const sendOperation = async (
197
+ const sendOperationFn = async (
194
198
  args: coreClient.OperationArguments,
195
199
  spec: coreClient.OperationSpec
196
200
  ) => {
@@ -223,19 +227,22 @@ export class DicomServicesImpl implements DicomServices {
223
227
  };
224
228
  };
225
229
 
226
- const lro = new LroImpl(
227
- sendOperation,
228
- {
230
+ const lro = createLroSpec({
231
+ sendOperationFn,
232
+ args: {
229
233
  resourceGroupName,
230
234
  workspaceName,
231
235
  dicomServiceName,
232
236
  dicomservice,
233
237
  options
234
238
  },
235
- createOrUpdateOperationSpec
236
- );
237
- const poller = new LroEngine(lro, {
238
- resumeFrom: options?.resumeFrom,
239
+ spec: createOrUpdateOperationSpec
240
+ });
241
+ const poller = await createHttpPoller<
242
+ DicomServicesCreateOrUpdateResponse,
243
+ OperationState<DicomServicesCreateOrUpdateResponse>
244
+ >(lro, {
245
+ restoreFrom: options?.resumeFrom,
239
246
  intervalInMs: options?.updateIntervalInMs
240
247
  });
241
248
  await poller.poll();
@@ -282,8 +289,8 @@ export class DicomServicesImpl implements DicomServices {
282
289
  dicomservicePatchResource: DicomServicePatchResource,
283
290
  options?: DicomServicesUpdateOptionalParams
284
291
  ): Promise<
285
- PollerLike<
286
- PollOperationState<DicomServicesUpdateResponse>,
292
+ SimplePollerLike<
293
+ OperationState<DicomServicesUpdateResponse>,
287
294
  DicomServicesUpdateResponse
288
295
  >
289
296
  > {
@@ -293,7 +300,7 @@ export class DicomServicesImpl implements DicomServices {
293
300
  ): Promise<DicomServicesUpdateResponse> => {
294
301
  return this.client.sendOperationRequest(args, spec);
295
302
  };
296
- const sendOperation = async (
303
+ const sendOperationFn = async (
297
304
  args: coreClient.OperationArguments,
298
305
  spec: coreClient.OperationSpec
299
306
  ) => {
@@ -326,19 +333,22 @@ export class DicomServicesImpl implements DicomServices {
326
333
  };
327
334
  };
328
335
 
329
- const lro = new LroImpl(
330
- sendOperation,
331
- {
336
+ const lro = createLroSpec({
337
+ sendOperationFn,
338
+ args: {
332
339
  resourceGroupName,
333
340
  dicomServiceName,
334
341
  workspaceName,
335
342
  dicomservicePatchResource,
336
343
  options
337
344
  },
338
- updateOperationSpec
339
- );
340
- const poller = new LroEngine(lro, {
341
- resumeFrom: options?.resumeFrom,
345
+ spec: updateOperationSpec
346
+ });
347
+ const poller = await createHttpPoller<
348
+ DicomServicesUpdateResponse,
349
+ OperationState<DicomServicesUpdateResponse>
350
+ >(lro, {
351
+ restoreFrom: options?.resumeFrom,
342
352
  intervalInMs: options?.updateIntervalInMs
343
353
  });
344
354
  await poller.poll();
@@ -382,14 +392,14 @@ export class DicomServicesImpl implements DicomServices {
382
392
  dicomServiceName: string,
383
393
  workspaceName: string,
384
394
  options?: DicomServicesDeleteOptionalParams
385
- ): Promise<PollerLike<PollOperationState<void>, void>> {
395
+ ): Promise<SimplePollerLike<OperationState<void>, void>> {
386
396
  const directSendOperation = async (
387
397
  args: coreClient.OperationArguments,
388
398
  spec: coreClient.OperationSpec
389
399
  ): Promise<void> => {
390
400
  return this.client.sendOperationRequest(args, spec);
391
401
  };
392
- const sendOperation = async (
402
+ const sendOperationFn = async (
393
403
  args: coreClient.OperationArguments,
394
404
  spec: coreClient.OperationSpec
395
405
  ) => {
@@ -422,13 +432,13 @@ export class DicomServicesImpl implements DicomServices {
422
432
  };
423
433
  };
424
434
 
425
- const lro = new LroImpl(
426
- sendOperation,
427
- { resourceGroupName, dicomServiceName, workspaceName, options },
428
- deleteOperationSpec
429
- );
430
- const poller = new LroEngine(lro, {
431
- resumeFrom: options?.resumeFrom,
435
+ const lro = createLroSpec({
436
+ sendOperationFn,
437
+ args: { resourceGroupName, dicomServiceName, workspaceName, options },
438
+ spec: deleteOperationSpec
439
+ });
440
+ const poller = await createHttpPoller<void, OperationState<void>>(lro, {
441
+ restoreFrom: options?.resumeFrom,
432
442
  intervalInMs: options?.updateIntervalInMs
433
443
  });
434
444
  await poller.poll();
@@ -627,7 +637,6 @@ const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {
627
637
  bodyMapper: Mappers.ErrorDetails
628
638
  }
629
639
  },
630
- queryParameters: [Parameters.apiVersion],
631
640
  urlParameters: [
632
641
  Parameters.$host,
633
642
  Parameters.subscriptionId,
@@ -204,7 +204,6 @@ const listByIotConnectorNextOperationSpec: coreClient.OperationSpec = {
204
204
  bodyMapper: Mappers.ErrorDetails
205
205
  }
206
206
  },
207
- queryParameters: [Parameters.apiVersion],
208
207
  urlParameters: [
209
208
  Parameters.$host,
210
209
  Parameters.subscriptionId,