@azure/arm-healthcareapis 2.2.1-alpha.20231211.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 (268) 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/dist-esm/samples-dev/checkNameAvailability.d.ts +0 -2
  202. package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +0 -1
  203. package/dist-esm/samples-dev/checkNameAvailability.js +0 -33
  204. package/dist-esm/samples-dev/checkNameAvailability.js.map +0 -1
  205. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +0 -2
  206. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +0 -1
  207. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +0 -62
  208. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +0 -1
  209. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +0 -2
  210. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +0 -1
  211. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +0 -39
  212. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +0 -1
  213. package/dist-esm/samples-dev/deleteService.d.ts +0 -2
  214. package/dist-esm/samples-dev/deleteService.d.ts.map +0 -1
  215. package/dist-esm/samples-dev/deleteService.js +0 -31
  216. package/dist-esm/samples-dev/deleteService.js.map +0 -1
  217. package/dist-esm/samples-dev/getMetadata.d.ts +0 -2
  218. package/dist-esm/samples-dev/getMetadata.d.ts.map +0 -1
  219. package/dist-esm/samples-dev/getMetadata.js +0 -31
  220. package/dist-esm/samples-dev/getMetadata.js.map +0 -1
  221. package/dist-esm/samples-dev/getOperationResult.d.ts +0 -2
  222. package/dist-esm/samples-dev/getOperationResult.d.ts.map +0 -1
  223. package/dist-esm/samples-dev/getOperationResult.js +0 -31
  224. package/dist-esm/samples-dev/getOperationResult.js.map +0 -1
  225. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +0 -2
  226. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +0 -1
  227. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +0 -46
  228. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +0 -1
  229. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +0 -2
  230. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +0 -1
  231. package/dist-esm/samples-dev/listAllServicesInSubscription.js +0 -45
  232. package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +0 -1
  233. package/dist-esm/samples-dev/listOperations.d.ts +0 -2
  234. package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
  235. package/dist-esm/samples-dev/listOperations.js +0 -45
  236. package/dist-esm/samples-dev/listOperations.js.map +0 -1
  237. package/dist-esm/samples-dev/patchService.d.ts +0 -2
  238. package/dist-esm/samples-dev/patchService.d.ts.map +0 -1
  239. package/dist-esm/samples-dev/patchService.js +0 -34
  240. package/dist-esm/samples-dev/patchService.js.map +0 -1
  241. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +0 -2
  242. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +0 -38
  244. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +0 -1
  245. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +0 -2
  246. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +0 -32
  248. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +0 -1
  249. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +0 -2
  250. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +0 -1
  251. package/dist-esm/samples-dev/privateEndpointConnectionList.js +0 -47
  252. package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +0 -1
  253. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +0 -2
  254. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +0 -32
  256. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +0 -1
  257. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +0 -2
  258. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/privateLinkResourcesGet.js +0 -32
  260. package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +0 -1
  261. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +0 -2
  262. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +0 -31
  264. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +0 -1
  265. package/dist-esm/test/sampleTest.d.ts +0 -2
  266. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  267. package/dist-esm/test/sampleTest.js +0 -38
  268. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { FhirService, FhirServicesListByWorkspaceOptionalParams, FhirServicesGetOptionalParams, FhirServicesGetResponse, FhirServicesCreateOrUpdateOptionalParams, FhirServicesCreateOrUpdateResponse, FhirServicePatchResource, FhirServicesUpdateOptionalParams, FhirServicesUpdateResponse, FhirServicesDeleteOptionalParams } from "../models";
4
4
  /** Interface representing a FhirServices. */
5
5
  export interface FhirServices {
@@ -26,7 +26,7 @@ export interface FhirServices {
26
26
  * @param fhirservice The parameters for creating or updating a Fhir Service resource.
27
27
  * @param options The options parameters.
28
28
  */
29
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
29
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
30
30
  /**
31
31
  * Creates or updates a FHIR Service resource with the specified parameters.
32
32
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -44,7 +44,7 @@ export interface FhirServices {
44
44
  * @param fhirservicePatchResource The parameters for updating a Fhir Service.
45
45
  * @param options The options parameters.
46
46
  */
47
- beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
47
+ beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
48
48
  /**
49
49
  * Patch FHIR Service details.
50
50
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -61,7 +61,7 @@ export interface FhirServices {
61
61
  * @param workspaceName The name of workspace resource.
62
62
  * @param options The options parameters.
63
63
  */
64
- beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
64
+ beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
65
65
  /**
66
66
  * Deletes a FHIR Service.
67
67
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"fhirServices.d.ts","sourceRoot":"","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E,MAAM,EACvB,aAAa,EAAE,MAAM,EACrB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,0BAA0B,CAAC,EAC9C,0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,EACrB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"fhirServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fhirServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,WAAW,EACX,yCAAyC,EACzC,6BAA6B,EAC7B,uBAAuB,EACvB,wCAAwC,EACxC,kCAAkC,EAClC,wBAAwB,EACxB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAGnB,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;O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;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,4 +1,4 @@
1
- import { PollerLike, PollOperationState } from "@azure/core-lro";
1
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
2
2
  import { IotConnectorFhirDestinationGetOptionalParams, IotConnectorFhirDestinationGetResponse, IotFhirDestination, IotConnectorFhirDestinationCreateOrUpdateOptionalParams, IotConnectorFhirDestinationCreateOrUpdateResponse, IotConnectorFhirDestinationDeleteOptionalParams } from "../models";
3
3
  /** Interface representing a IotConnectorFhirDestination. */
4
4
  export interface IotConnectorFhirDestination {
@@ -21,7 +21,7 @@ export interface IotConnectorFhirDestination {
21
21
  * resource.
22
22
  * @param options The options parameters.
23
23
  */
24
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
24
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
25
25
  /**
26
26
  * Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
27
27
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -41,7 +41,7 @@ export interface IotConnectorFhirDestination {
41
41
  * @param fhirDestinationName The name of IoT Connector FHIR destination resource.
42
42
  * @param options The options parameters.
43
43
  */
44
- beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
44
+ beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
45
45
  /**
46
46
  * Deletes an IoT Connector FHIR destination.
47
47
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"iotConnectorFhirDestination.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/iotConnectorFhirDestination.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,kBAAkB,EAClB,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAChD,MAAM,WAAW,CAAC;AAEnB,4DAA4D;AAC5D,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;;;OASG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,iDAAiD,CAAC,EACrE,iDAAiD,CAClD,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC9D;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"iotConnectorFhirDestination.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/iotConnectorFhirDestination.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,kBAAkB,EAClB,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAChD,MAAM,WAAW,CAAC;AAEnB,4DAA4D;AAC5D,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;;;OASG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iDAAiD,CAAC,EACjE,iDAAiD,CAClD,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC9D;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { IotConnector, IotConnectorsListByWorkspaceOptionalParams, IotConnectorsGetOptionalParams, IotConnectorsGetResponse, IotConnectorsCreateOrUpdateOptionalParams, IotConnectorsCreateOrUpdateResponse, IotConnectorPatchResource, IotConnectorsUpdateOptionalParams, IotConnectorsUpdateResponse, IotConnectorsDeleteOptionalParams } from "../models";
4
4
  /** Interface representing a IotConnectors. */
5
5
  export interface IotConnectors {
@@ -26,7 +26,7 @@ export interface IotConnectors {
26
26
  * @param iotConnector The parameters for creating or updating an IoT Connectors resource.
27
27
  * @param options The options parameters.
28
28
  */
29
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
29
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
30
30
  /**
31
31
  * Creates or updates an IoT Connector resource with the specified parameters.
32
32
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -44,7 +44,7 @@ export interface IotConnectors {
44
44
  * @param iotConnectorPatchResource The parameters for updating an IoT Connector.
45
45
  * @param options The options parameters.
46
46
  */
47
- beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
47
+ beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
48
48
  /**
49
49
  * Patch an IoT Connector.
50
50
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -61,7 +61,7 @@ export interface IotConnectors {
61
61
  * @param workspaceName The name of workspace resource.
62
62
  * @param options The options parameters.
63
63
  */
64
- beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
64
+ beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
65
65
  /**
66
66
  * Deletes an IoT Connector.
67
67
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"iotConnectors.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/iotConnectors.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,YAAY,EACZ,0CAA0C,EAC1C,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,yBAAyB,EACzB,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;OAO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EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"iotConnectors.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/iotConnectors.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,YAAY,EACZ,0CAA0C,EAC1C,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,yBAAyB,EACzB,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,YAAY,EAC1B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,YAAY,EAC1B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,2BAA2B,CAAC,EAC3C,2BAA2B,CAC5B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { PrivateEndpointConnectionDescription, PrivateEndpointConnectionsListByServiceOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
4
4
  /** Interface representing a PrivateEndpointConnections. */
5
5
  export interface PrivateEndpointConnections {
@@ -28,7 +28,7 @@ export interface PrivateEndpointConnections {
28
28
  * @param properties The private endpoint connection properties.
29
29
  * @param options The options parameters.
30
30
  */
31
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
31
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
32
32
  /**
33
33
  * Update the state of the specified private endpoint connection associated with the service.
34
34
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -47,7 +47,7 @@ export interface PrivateEndpointConnections {
47
47
  * Azure resource
48
48
  * @param options The options parameters.
49
49
  */
50
- beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
50
+ beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
51
51
  /**
52
52
  * Deletes a private endpoint connection.
53
53
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MA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UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,oCAAoC,EACpC,qDAAqD,EACrD,2CAA2C,EAC3C,qCAAqC,EACrC,yBAAyB,EACzB,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAGnB,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,oCAAoC,CAAC,CAAC;IACpE;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { ServicesDescription, ServicesListOptionalParams, ServicesListByResourceGroupOptionalParams, ServicesGetOptionalParams, ServicesGetResponse, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, ServicesPatchDescription, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesDeleteOptionalParams, CheckNameAvailabilityParameters, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse } from "../models";
4
4
  /** Interface representing a Services. */
5
5
  export interface Services {
@@ -28,7 +28,7 @@ export interface Services {
28
28
  * @param serviceDescription The service instance metadata.
29
29
  * @param options The options parameters.
30
30
  */
31
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
31
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
32
32
  /**
33
33
  * Create or update the metadata of a service instance.
34
34
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -44,7 +44,7 @@ export interface Services {
44
44
  * @param servicePatchDescription The service instance metadata and security metadata.
45
45
  * @param options The options parameters.
46
46
  */
47
- beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
47
+ beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
48
48
  /**
49
49
  * Update the metadata of a service instance.
50
50
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -59,7 +59,7 @@ export interface Services {
59
59
  * @param resourceName The name of the service instance.
60
60
  * @param options The options parameters.
61
61
  */
62
- beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
62
+ beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
63
63
  /**
64
64
  * Delete a service instance.
65
65
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EA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BAA4B,GACrC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,sBAAsB,CAAC,EAC1C,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uBAAuB,EAAE,wBAAwB,EACjD,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,qBAAqB,CACnB,2BAA2B,EAAE,+BAA+B,EAC5D,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,yCAAyC,EACzC,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,+BAA+B,EAC/B,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WA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WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,qBAAqB,CACnB,2BAA2B,EAAE,+BAA+B,EAC5D,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD"}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { PrivateEndpointConnectionDescription, WorkspacePrivateEndpointConnectionsListByWorkspaceOptionalParams, WorkspacePrivateEndpointConnectionsGetOptionalParams, WorkspacePrivateEndpointConnectionsGetResponse, WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse, WorkspacePrivateEndpointConnectionsDeleteOptionalParams } from "../models";
4
4
  /** Interface representing a WorkspacePrivateEndpointConnections. */
5
5
  export interface WorkspacePrivateEndpointConnections {
@@ -28,7 +28,7 @@ export interface WorkspacePrivateEndpointConnections {
28
28
  * @param properties The private endpoint connection properties.
29
29
  * @param options The options parameters.
30
30
  */
31
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
31
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
32
32
  /**
33
33
  * Update the state of the specified private endpoint connection associated with the workspace.
34
34
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -47,7 +47,7 @@ export interface WorkspacePrivateEndpointConnections {
47
47
  * Azure resource
48
48
  * @param options The options parameters.
49
49
  */
50
- beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
50
+ beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
51
51
  /**
52
52
  * Deletes a private endpoint connection.
53
53
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"workspacePrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspacePrivateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,oCAAoC,EACpC,gEAAgE,EAChE,oDAAoD,EACpD,8CAA8C,EAC9C,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACxD,MAAM,WAAW,CAAC;AAGnB,oEAAoE;AACpE,MAAM,WAAW,mCAAmC;IAClD;;;;;OAKG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gEAAgE,GACzE,0BAA0B,CAAC,oCAAoC,CAAC,CAAC;IACpE;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;IAC3D;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,oCAAoC,EAChD,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CACR,UAAU,CACR,kBAAkB,CAChB,yDAAyD,CAC1D,EACD,yDAAyD,CAC1D,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,oCAAoC,EAChD,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC,CAAC;IACtE;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"workspacePrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspacePrivateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAA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C,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { Workspace, WorkspacesListBySubscriptionOptionalParams, WorkspacesListByResourceGroupOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacePatchResource, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, WorkspacesDeleteOptionalParams } from "../models";
4
4
  /** Interface representing a Workspaces. */
5
5
  export interface Workspaces {
@@ -28,7 +28,7 @@ export interface Workspaces {
28
28
  * @param workspace The parameters for creating or updating a healthcare workspace.
29
29
  * @param options The options parameters.
30
30
  */
31
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
31
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
32
32
  /**
33
33
  * Creates or updates a workspace resource with the specified parameters.
34
34
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -44,7 +44,7 @@ export interface Workspaces {
44
44
  * @param workspacePatchResource The parameters for updating a specified workspace.
45
45
  * @param options The options parameters.
46
46
  */
47
- beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
47
+ beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
48
48
  /**
49
49
  * Patch workspace details.
50
50
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -59,7 +59,7 @@ export interface Workspaces {
59
59
  * @param workspaceName The name of workspace resource.
60
60
  * @param options The options parameters.
61
61
  */
62
- beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
62
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
63
63
  /**
64
64
  * Deletes a specified workspace.
65
65
  * @param resourceGroupName The name of the resource group that contains the service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,SAAS,EACT,0CAA0C,EAC1C,2CAA2C,EAC3C,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,sBAAsB,EACtB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,SAAS,CAAC,C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AC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,0CAA0C,EAC1C,2CAA2C,EAC3C,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,sBAAsB,EACtB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gCAAgC,CAAC,EAChD,gCAAgC,CACjC,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -2,11 +2,11 @@ export interface PageInfo {
2
2
  continuationToken?: string;
3
3
  }
4
4
  /**
5
- * Given a result page from a pageable operation, returns a
6
- * continuation token that can be used to begin paging from
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
7
  * that point later.
8
- * @param page A result object from calling .byPage() on a paged operation.
9
- * @returns The continuation token that can be passed into byPage().
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
10
  */
11
11
  export declare function getContinuationToken(page: unknown): string | undefined;
12
12
  export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
@@ -7,11 +7,11 @@
7
7
  */
8
8
  const pageMap = new WeakMap();
9
9
  /**
10
- * Given a result page from a pageable operation, returns a
11
- * continuation token that can be used to begin paging from
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
12
  * that point later.
13
- * @param page A result object from calling .byPage() on a paged operation.
14
- * @returns The continuation token that can be passed into byPage().
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
17
  var _a;
@@ -0,0 +1,4 @@
1
+ export declare const testPollingOptions: {
2
+ updateIntervalInMs: number | undefined;
3
+ };
4
+ //# sourceMappingURL=healthcareapis_operations_test.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthcareapis_operations_test.spec.d.ts","sourceRoot":"","sources":["../../test/healthcareapis_operations_test.spec.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
@@ -0,0 +1,111 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
10
+ import { createTestCredential } from "@azure-tools/test-credential";
11
+ import { assert } from "chai";
12
+ import { HealthcareApisManagementClient } from "../src/healthcareApisManagementClient";
13
+ const replaceableVariables = {
14
+ AZURE_CLIENT_ID: "azure_client_id",
15
+ AZURE_CLIENT_SECRET: "azure_client_secret",
16
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
17
+ SUBSCRIPTION_ID: "azure_subscription_id"
18
+ };
19
+ const recorderOptions = {
20
+ envSetupForPlayback: replaceableVariables
21
+ };
22
+ export const testPollingOptions = {
23
+ updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
24
+ };
25
+ describe("HealthcareApis test", () => {
26
+ let recorder;
27
+ let subscriptionId;
28
+ let client;
29
+ let location;
30
+ let resourceGroup;
31
+ let resourcename;
32
+ beforeEach(function () {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ recorder = new Recorder(this.currentTest);
35
+ yield recorder.start(recorderOptions);
36
+ subscriptionId = env.SUBSCRIPTION_ID || '';
37
+ // This is an example of how the environment variables are used
38
+ const credential = createTestCredential();
39
+ client = new HealthcareApisManagementClient(credential, subscriptionId, recorder.configureClientOptions({}));
40
+ location = "eastus";
41
+ resourceGroup = "myjstest";
42
+ resourcename = "resourcetest";
43
+ });
44
+ });
45
+ afterEach(function () {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ yield recorder.stop();
48
+ });
49
+ });
50
+ it("workspaces create test", function () {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ const res = yield client.workspaces.beginCreateOrUpdateAndWait(resourceGroup, resourcename, {
53
+ location,
54
+ properties: {}
55
+ }, testPollingOptions);
56
+ assert.equal(res.name, resourcename);
57
+ });
58
+ });
59
+ it("workspaces get test", function () {
60
+ return __awaiter(this, void 0, void 0, function* () {
61
+ const res = yield client.workspaces.get(resourceGroup, resourcename);
62
+ assert.equal(res.name, resourcename);
63
+ });
64
+ });
65
+ it("workspaces list test", function () {
66
+ var _a, e_1, _b, _c;
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ const resArray = new Array();
69
+ try {
70
+ for (var _d = true, _e = __asyncValues(client.workspaces.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
71
+ _c = _f.value;
72
+ _d = false;
73
+ let item = _c;
74
+ resArray.push(item);
75
+ }
76
+ }
77
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
+ finally {
79
+ try {
80
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
81
+ }
82
+ finally { if (e_1) throw e_1.error; }
83
+ }
84
+ assert.equal(resArray.length, 1);
85
+ });
86
+ });
87
+ it("workspaces delete test", function () {
88
+ var _a, e_2, _b, _c;
89
+ return __awaiter(this, void 0, void 0, function* () {
90
+ const resArray = new Array();
91
+ const res = yield client.workspaces.beginDeleteAndWait(resourceGroup, resourcename);
92
+ try {
93
+ for (var _d = true, _e = __asyncValues(client.workspaces.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
94
+ _c = _f.value;
95
+ _d = false;
96
+ let item = _c;
97
+ resArray.push(item);
98
+ }
99
+ }
100
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
101
+ finally {
102
+ try {
103
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
104
+ }
105
+ finally { if (e_2) throw e_2.error; }
106
+ }
107
+ assert.equal(resArray.length, 0);
108
+ });
109
+ });
110
+ });
111
+ //# sourceMappingURL=healthcareapis_operations_test.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthcareapis_operations_test.spec.js","sourceRoot":"","sources":["../../test/healthcareapis_operations_test.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBA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AAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -3,17 +3,17 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for HealthcareApisManagementClient.",
6
- "version": "2.2.1-alpha.20231211.1",
6
+ "version": "3.0.0-alpha.20231221.2",
7
7
  "engines": {
8
8
  "node": ">=18.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/core-lro": "^2.2.0",
11
+ "@azure/core-lro": "^2.5.4",
12
12
  "@azure/abort-controller": "^1.0.0",
13
13
  "@azure/core-paging": "^1.2.0",
14
- "@azure/core-client": "^1.6.1",
14
+ "@azure/core-client": "^1.7.0",
15
15
  "@azure/core-auth": "^1.3.0",
16
- "@azure/core-rest-pipeline": "^1.8.0",
16
+ "@azure/core-rest-pipeline": "^1.12.0",
17
17
  "tslib": "^2.2.0"
18
18
  },
19
19
  "keywords": [
@@ -29,22 +29,24 @@
29
29
  "types": "./types/arm-healthcareapis.d.ts",
30
30
  "devDependencies": {
31
31
  "@microsoft/api-extractor": "^7.31.1",
32
- "mkdirp": "^1.0.4",
32
+ "mkdirp": "^2.1.2",
33
33
  "typescript": "~5.2.0",
34
34
  "uglify-js": "^3.4.9",
35
- "rimraf": "^3.0.0",
35
+ "rimraf": "^5.0.0",
36
+ "dotenv": "^16.0.0",
37
+ "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
36
38
  "@azure/identity": "^3.3.0",
37
39
  "@azure-tools/test-recorder": "^3.0.0",
38
40
  "@azure-tools/test-credential": "^1.0.0",
39
41
  "mocha": "^10.0.0",
42
+ "@types/mocha": "^10.0.0",
43
+ "esm": "^3.2.18",
40
44
  "@types/chai": "^4.2.8",
41
45
  "chai": "^4.2.0",
42
46
  "cross-env": "^7.0.2",
43
47
  "@types/node": "^18.0.0",
44
- "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
45
48
  "ts-node": "^10.0.0"
46
49
  },
47
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthcareapis/arm-healthcareapis",
48
50
  "repository": {
49
51
  "type": "git",
50
52
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
@@ -77,7 +79,7 @@
77
79
  "extract-api": "api-extractor run --local",
78
80
  "lint": "echo skipped",
79
81
  "audit": "echo skipped",
80
- "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
82
+ "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
81
83
  "build:node": "echo skipped",
82
84
  "build:browser": "echo skipped",
83
85
  "build:test": "echo skipped",
@@ -105,6 +107,7 @@
105
107
  ]
106
108
  },
107
109
  "autoPublish": true,
110
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthcareapis/arm-healthcareapis",
108
111
  "//sampleConfiguration": {
109
112
  "productName": "",
110
113
  "productSlugs": [