@azure/arm-healthcareapis 1.1.0 → 2.0.0-alpha.20220201.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +2292 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkNameAvailability.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkNameAvailability.js +33 -0
  11. package/dist-esm/samples-dev/checkNameAvailability.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +62 -0
  15. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +1 -0
  16. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +2 -0
  17. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +39 -0
  19. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteService.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteService.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteService.js +31 -0
  23. package/dist-esm/samples-dev/deleteService.js.map +1 -0
  24. package/dist-esm/samples-dev/getMetadata.d.ts +2 -0
  25. package/dist-esm/samples-dev/getMetadata.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/getMetadata.js +31 -0
  27. package/dist-esm/samples-dev/getMetadata.js.map +1 -0
  28. package/dist-esm/samples-dev/getOperationResult.d.ts +2 -0
  29. package/dist-esm/samples-dev/getOperationResult.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getOperationResult.js +31 -0
  31. package/dist-esm/samples-dev/getOperationResult.js.map +1 -0
  32. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +2 -0
  33. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +44 -0
  35. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +1 -0
  36. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +2 -0
  37. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/listAllServicesInSubscription.js +43 -0
  39. package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +1 -0
  40. package/dist-esm/samples-dev/listOperations.d.ts +2 -0
  41. package/dist-esm/samples-dev/listOperations.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/listOperations.js +43 -0
  43. package/dist-esm/samples-dev/listOperations.js.map +1 -0
  44. package/dist-esm/samples-dev/patchService.d.ts +2 -0
  45. package/dist-esm/samples-dev/patchService.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/patchService.js +34 -0
  47. package/dist-esm/samples-dev/patchService.js.map +1 -0
  48. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +38 -0
  51. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +2 -0
  53. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +32 -0
  55. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +1 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +2 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionList.js +45 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +1 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +32 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
  64. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateLinkResourcesGet.js +32 -0
  67. package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +1 -0
  68. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +2 -0
  69. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +31 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +1 -0
  72. package/dist-esm/src/healthcareApisManagementClient.d.ts +22 -0
  73. package/dist-esm/src/healthcareApisManagementClient.d.ts.map +1 -0
  74. package/dist-esm/src/healthcareApisManagementClient.js +55 -0
  75. package/dist-esm/src/healthcareApisManagementClient.js.map +1 -0
  76. package/dist-esm/src/index.d.ts +5 -0
  77. package/dist-esm/src/index.d.ts.map +1 -0
  78. package/dist-esm/src/index.js +12 -0
  79. package/dist-esm/src/index.js.map +1 -0
  80. package/dist-esm/src/lroImpl.d.ts +16 -0
  81. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  82. package/dist-esm/src/lroImpl.js +29 -0
  83. package/dist-esm/src/lroImpl.js.map +1 -0
  84. package/dist-esm/src/models/index.d.ts +609 -0
  85. package/dist-esm/src/models/index.d.ts.map +1 -0
  86. package/dist-esm/src/models/index.js +65 -0
  87. package/dist-esm/src/models/index.js.map +1 -0
  88. package/dist-esm/src/models/mappers.d.ts +32 -0
  89. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  90. package/{esm → dist-esm/src}/models/mappers.js +335 -321
  91. package/dist-esm/src/models/mappers.js.map +1 -0
  92. package/dist-esm/src/models/parameters.d.ts +18 -0
  93. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  94. package/dist-esm/src/models/parameters.js +159 -0
  95. package/dist-esm/src/models/parameters.js.map +1 -0
  96. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  97. package/dist-esm/src/operations/index.d.ts.map +1 -0
  98. package/{esm → dist-esm/src}/operations/index.js +3 -5
  99. package/dist-esm/src/operations/index.js.map +1 -0
  100. package/dist-esm/src/operations/operationResults.d.ts +20 -0
  101. package/dist-esm/src/operations/operationResults.d.ts.map +1 -0
  102. package/dist-esm/src/operations/operationResults.js +56 -0
  103. package/dist-esm/src/operations/operationResults.js.map +1 -0
  104. package/dist-esm/src/operations/operations.d.ts +32 -0
  105. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operations/operations.js +120 -0
  107. package/dist-esm/src/operations/operations.js.map +1 -0
  108. package/dist-esm/src/operations/privateEndpointConnections.d.ts +78 -0
  109. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  110. package/dist-esm/src/operations/privateEndpointConnections.js +314 -0
  111. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  112. package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
  113. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  114. package/dist-esm/src/operations/privateLinkResources.js +85 -0
  115. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  116. package/dist-esm/src/operations/services.d.ts +114 -0
  117. package/dist-esm/src/operations/services.d.ts.map +1 -0
  118. package/dist-esm/src/operations/services.js +527 -0
  119. package/dist-esm/src/operations/services.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  121. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  123. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/operationResults.d.ts +12 -0
  125. package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/operationResults.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/operationResults.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  129. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
  133. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
  137. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/services.d.ts +78 -0
  141. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  144. package/dist-esm/test/sampleTest.d.ts +2 -0
  145. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  146. package/dist-esm/test/sampleTest.js +40 -0
  147. package/dist-esm/test/sampleTest.js.map +1 -0
  148. package/package.json +81 -22
  149. package/review/arm-healthcareapis.api.md +535 -0
  150. package/rollup.config.js +181 -30
  151. package/src/healthcareApisManagementClient.ts +82 -43
  152. package/src/index.ts +12 -0
  153. package/src/lroImpl.ts +34 -0
  154. package/src/models/index.ts +450 -739
  155. package/src/models/mappers.ts +336 -319
  156. package/src/models/parameters.ts +111 -48
  157. package/src/operations/index.ts +3 -5
  158. package/src/operations/operationResults.ts +39 -54
  159. package/src/operations/operations.ts +87 -73
  160. package/src/operations/privateEndpointConnections.ts +321 -161
  161. package/src/operations/privateLinkResources.ts +64 -97
  162. package/src/operations/services.ts +538 -362
  163. package/src/operationsInterfaces/index.ts +13 -0
  164. package/src/operationsInterfaces/operationResults.ts +27 -0
  165. package/src/operationsInterfaces/operations.ts +22 -0
  166. package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
  167. package/src/operationsInterfaces/privateLinkResources.ts +42 -0
  168. package/src/operationsInterfaces/services.ts +152 -0
  169. package/tsconfig.json +5 -4
  170. package/types/arm-healthcareapis.d.ts +885 -0
  171. package/types/tsdoc-metadata.json +11 -0
  172. package/dist/arm-healthcareapis.js +0 -2100
  173. package/dist/arm-healthcareapis.js.map +0 -1
  174. package/dist/arm-healthcareapis.min.js +0 -1
  175. package/dist/arm-healthcareapis.min.js.map +0 -1
  176. package/esm/healthcareApisManagementClient.d.ts +0 -28
  177. package/esm/healthcareApisManagementClient.d.ts.map +0 -1
  178. package/esm/healthcareApisManagementClient.js +0 -42
  179. package/esm/healthcareApisManagementClient.js.map +0 -1
  180. package/esm/healthcareApisManagementClientContext.d.ts +0 -22
  181. package/esm/healthcareApisManagementClientContext.d.ts.map +0 -1
  182. package/esm/healthcareApisManagementClientContext.js +0 -61
  183. package/esm/healthcareApisManagementClientContext.js.map +0 -1
  184. package/esm/models/index.d.ts +0 -907
  185. package/esm/models/index.d.ts.map +0 -1
  186. package/esm/models/index.js +0 -8
  187. package/esm/models/index.js.map +0 -1
  188. package/esm/models/mappers.d.ts +0 -33
  189. package/esm/models/mappers.d.ts.map +0 -1
  190. package/esm/models/mappers.js.map +0 -1
  191. package/esm/models/operationResultsMappers.d.ts +0 -2
  192. package/esm/models/operationResultsMappers.d.ts.map +0 -1
  193. package/esm/models/operationResultsMappers.js +0 -9
  194. package/esm/models/operationResultsMappers.js.map +0 -1
  195. package/esm/models/operationsMappers.d.ts +0 -2
  196. package/esm/models/operationsMappers.d.ts.map +0 -1
  197. package/esm/models/operationsMappers.js +0 -9
  198. package/esm/models/operationsMappers.js.map +0 -1
  199. package/esm/models/parameters.d.ts +0 -12
  200. package/esm/models/parameters.d.ts.map +0 -1
  201. package/esm/models/parameters.js +0 -120
  202. package/esm/models/parameters.js.map +0 -1
  203. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  204. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  205. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  206. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  207. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  208. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  209. package/esm/models/privateLinkResourcesMappers.js +0 -9
  210. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  211. package/esm/models/servicesMappers.d.ts +0 -2
  212. package/esm/models/servicesMappers.d.ts.map +0 -1
  213. package/esm/models/servicesMappers.js +0 -9
  214. package/esm/models/servicesMappers.js.map +0 -1
  215. package/esm/operations/index.d.ts.map +0 -1
  216. package/esm/operations/index.js.map +0 -1
  217. package/esm/operations/operationResults.d.ts +0 -34
  218. package/esm/operations/operationResults.d.ts.map +0 -1
  219. package/esm/operations/operationResults.js +0 -61
  220. package/esm/operations/operationResults.js.map +0 -1
  221. package/esm/operations/operations.d.ts +0 -46
  222. package/esm/operations/operations.d.ts.map +0 -1
  223. package/esm/operations/operations.js +0 -77
  224. package/esm/operations/operations.js.map +0 -1
  225. package/esm/operations/privateEndpointConnections.d.ts +0 -104
  226. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  227. package/esm/operations/privateEndpointConnections.js +0 -209
  228. package/esm/operations/privateEndpointConnections.js.map +0 -1
  229. package/esm/operations/privateLinkResources.d.ts +0 -58
  230. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  231. package/esm/operations/privateLinkResources.js +0 -91
  232. package/esm/operations/privateLinkResources.js.map +0 -1
  233. package/esm/operations/services.d.ts +0 -177
  234. package/esm/operations/services.d.ts.map +0 -1
  235. package/esm/operations/services.js +0 -362
  236. package/esm/operations/services.js.map +0 -1
  237. package/src/healthcareApisManagementClientContext.ts +0 -68
  238. package/src/models/operationResultsMappers.ts +0 -13
  239. package/src/models/operationsMappers.ts +0 -15
  240. package/src/models/privateEndpointConnectionsMappers.ts +0 -31
  241. package/src/models/privateLinkResourcesMappers.ts +0 -31
  242. package/src/models/servicesMappers.ts +0 -34
@@ -1,177 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { HealthcareApisManagementClientContext } from "../healthcareApisManagementClientContext";
5
- /** Class representing a Services. */
6
- export declare class Services {
7
- private readonly client;
8
- /**
9
- * Create a Services.
10
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: HealthcareApisManagementClientContext);
13
- /**
14
- * Get the metadata of a service instance.
15
- * @param resourceGroupName The name of the resource group that contains the service instance.
16
- * @param resourceName The name of the service instance.
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.ServicesGetResponse>
19
- */
20
- get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServicesGetResponse>;
21
- /**
22
- * @param resourceGroupName The name of the resource group that contains the service instance.
23
- * @param resourceName The name of the service instance.
24
- * @param callback The callback
25
- */
26
- get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ServicesDescription>): void;
27
- /**
28
- * @param resourceGroupName The name of the resource group that contains the service instance.
29
- * @param resourceName The name of the service instance.
30
- * @param options The optional parameters
31
- * @param callback The callback
32
- */
33
- get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServicesDescription>): void;
34
- /**
35
- * Create or update the metadata of a service instance.
36
- * @param resourceGroupName The name of the resource group that contains the service instance.
37
- * @param resourceName The name of the service instance.
38
- * @param serviceDescription The service instance metadata.
39
- * @param [options] The optional parameters
40
- * @returns Promise<Models.ServicesCreateOrUpdateResponse>
41
- */
42
- createOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: Models.ServicesDescription, options?: msRest.RequestOptionsBase): Promise<Models.ServicesCreateOrUpdateResponse>;
43
- /**
44
- * Update the metadata of a service instance.
45
- * @param resourceGroupName The name of the resource group that contains the service instance.
46
- * @param resourceName The name of the service instance.
47
- * @param servicePatchDescription The service instance metadata and security metadata.
48
- * @param [options] The optional parameters
49
- * @returns Promise<Models.ServicesUpdateResponse>
50
- */
51
- update(resourceGroupName: string, resourceName: string, servicePatchDescription: Models.ServicesPatchDescription, options?: msRest.RequestOptionsBase): Promise<Models.ServicesUpdateResponse>;
52
- /**
53
- * Delete a service instance.
54
- * @param resourceGroupName The name of the resource group that contains the service instance.
55
- * @param resourceName The name of the service instance.
56
- * @param [options] The optional parameters
57
- * @returns Promise<msRest.RestResponse>
58
- */
59
- deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
60
- /**
61
- * Get all the service instances in a subscription.
62
- * @param [options] The optional parameters
63
- * @returns Promise<Models.ServicesListResponse>
64
- */
65
- list(options?: msRest.RequestOptionsBase): Promise<Models.ServicesListResponse>;
66
- /**
67
- * @param callback The callback
68
- */
69
- list(callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
70
- /**
71
- * @param options The optional parameters
72
- * @param callback The callback
73
- */
74
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
75
- /**
76
- * Get all the service instances in a resource group.
77
- * @param resourceGroupName The name of the resource group that contains the service instance.
78
- * @param [options] The optional parameters
79
- * @returns Promise<Models.ServicesListByResourceGroupResponse>
80
- */
81
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServicesListByResourceGroupResponse>;
82
- /**
83
- * @param resourceGroupName The name of the resource group that contains the service instance.
84
- * @param callback The callback
85
- */
86
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
87
- /**
88
- * @param resourceGroupName The name of the resource group that contains the service instance.
89
- * @param options The optional parameters
90
- * @param callback The callback
91
- */
92
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
93
- /**
94
- * Check if a service instance name is available.
95
- * @param checkNameAvailabilityInputs Set the name parameter in the CheckNameAvailabilityParameters
96
- * structure to the name of the service instance to check.
97
- * @param [options] The optional parameters
98
- * @returns Promise<Models.ServicesCheckNameAvailabilityResponse>
99
- */
100
- checkNameAvailability(checkNameAvailabilityInputs: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase): Promise<Models.ServicesCheckNameAvailabilityResponse>;
101
- /**
102
- * @param checkNameAvailabilityInputs Set the name parameter in the CheckNameAvailabilityParameters
103
- * structure to the name of the service instance to check.
104
- * @param callback The callback
105
- */
106
- checkNameAvailability(checkNameAvailabilityInputs: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback<Models.ServicesNameAvailabilityInfo>): void;
107
- /**
108
- * @param checkNameAvailabilityInputs Set the name parameter in the CheckNameAvailabilityParameters
109
- * structure to the name of the service instance to check.
110
- * @param options The optional parameters
111
- * @param callback The callback
112
- */
113
- checkNameAvailability(checkNameAvailabilityInputs: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServicesNameAvailabilityInfo>): void;
114
- /**
115
- * Create or update the metadata of a service instance.
116
- * @param resourceGroupName The name of the resource group that contains the service instance.
117
- * @param resourceName The name of the service instance.
118
- * @param serviceDescription The service instance metadata.
119
- * @param [options] The optional parameters
120
- * @returns Promise<msRestAzure.LROPoller>
121
- */
122
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: Models.ServicesDescription, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
123
- /**
124
- * Update the metadata of a service instance.
125
- * @param resourceGroupName The name of the resource group that contains the service instance.
126
- * @param resourceName The name of the service instance.
127
- * @param servicePatchDescription The service instance metadata and security metadata.
128
- * @param [options] The optional parameters
129
- * @returns Promise<msRestAzure.LROPoller>
130
- */
131
- beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: Models.ServicesPatchDescription, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
132
- /**
133
- * Delete a service instance.
134
- * @param resourceGroupName The name of the resource group that contains the service instance.
135
- * @param resourceName The name of the service instance.
136
- * @param [options] The optional parameters
137
- * @returns Promise<msRestAzure.LROPoller>
138
- */
139
- beginDeleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
140
- /**
141
- * Get all the service instances in a subscription.
142
- * @param nextPageLink The NextLink from the previous successful call to List operation.
143
- * @param [options] The optional parameters
144
- * @returns Promise<Models.ServicesListNextResponse>
145
- */
146
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServicesListNextResponse>;
147
- /**
148
- * @param nextPageLink The NextLink from the previous successful call to List operation.
149
- * @param callback The callback
150
- */
151
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
152
- /**
153
- * @param nextPageLink The NextLink from the previous successful call to List operation.
154
- * @param options The optional parameters
155
- * @param callback The callback
156
- */
157
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
158
- /**
159
- * Get all the service instances in a resource group.
160
- * @param nextPageLink The NextLink from the previous successful call to List operation.
161
- * @param [options] The optional parameters
162
- * @returns Promise<Models.ServicesListByResourceGroupNextResponse>
163
- */
164
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServicesListByResourceGroupNextResponse>;
165
- /**
166
- * @param nextPageLink The NextLink from the previous successful call to List operation.
167
- * @param callback The callback
168
- */
169
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
170
- /**
171
- * @param nextPageLink The NextLink from the previous successful call to List operation.
172
- * @param options The optional parameters
173
- * @param callback The callback
174
- */
175
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServicesDescriptionListResult>): void;
176
- }
177
- //# sourceMappingURL=services.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/operations/services.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,qCAAqC,EAAE,MAAM,0CAA0C,CAAC;AAEjG,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwC;IAE/D;;;OAGG;gBACS,MAAM,EAAE,qCAAqC;IAIzD;;;;;;OAMG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAC;IAC9H;;;;OAIG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxH;;;;;OAKG;IACH,GAA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4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/servicesMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a Services. */
15
- var Services = /** @class */ (function () {
16
- /**
17
- * Create a Services.
18
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
19
- */
20
- function Services(client) {
21
- this.client = client;
22
- }
23
- Services.prototype.get = function (resourceGroupName, resourceName, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- resourceName: resourceName,
27
- options: options
28
- }, getOperationSpec, callback);
29
- };
30
- /**
31
- * Create or update the metadata of a service instance.
32
- * @param resourceGroupName The name of the resource group that contains the service instance.
33
- * @param resourceName The name of the service instance.
34
- * @param serviceDescription The service instance metadata.
35
- * @param [options] The optional parameters
36
- * @returns Promise<Models.ServicesCreateOrUpdateResponse>
37
- */
38
- Services.prototype.createOrUpdate = function (resourceGroupName, resourceName, serviceDescription, options) {
39
- return this.beginCreateOrUpdate(resourceGroupName, resourceName, serviceDescription, options)
40
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
41
- };
42
- /**
43
- * Update the metadata of a service instance.
44
- * @param resourceGroupName The name of the resource group that contains the service instance.
45
- * @param resourceName The name of the service instance.
46
- * @param servicePatchDescription The service instance metadata and security metadata.
47
- * @param [options] The optional parameters
48
- * @returns Promise<Models.ServicesUpdateResponse>
49
- */
50
- Services.prototype.update = function (resourceGroupName, resourceName, servicePatchDescription, options) {
51
- return this.beginUpdate(resourceGroupName, resourceName, servicePatchDescription, options)
52
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
53
- };
54
- /**
55
- * Delete a service instance.
56
- * @param resourceGroupName The name of the resource group that contains the service instance.
57
- * @param resourceName The name of the service instance.
58
- * @param [options] The optional parameters
59
- * @returns Promise<msRest.RestResponse>
60
- */
61
- Services.prototype.deleteMethod = function (resourceGroupName, resourceName, options) {
62
- return this.beginDeleteMethod(resourceGroupName, resourceName, options)
63
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
64
- };
65
- Services.prototype.list = function (options, callback) {
66
- return this.client.sendOperationRequest({
67
- options: options
68
- }, listOperationSpec, callback);
69
- };
70
- Services.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
71
- return this.client.sendOperationRequest({
72
- resourceGroupName: resourceGroupName,
73
- options: options
74
- }, listByResourceGroupOperationSpec, callback);
75
- };
76
- Services.prototype.checkNameAvailability = function (checkNameAvailabilityInputs, options, callback) {
77
- return this.client.sendOperationRequest({
78
- checkNameAvailabilityInputs: checkNameAvailabilityInputs,
79
- options: options
80
- }, checkNameAvailabilityOperationSpec, callback);
81
- };
82
- /**
83
- * Create or update the metadata of a service instance.
84
- * @param resourceGroupName The name of the resource group that contains the service instance.
85
- * @param resourceName The name of the service instance.
86
- * @param serviceDescription The service instance metadata.
87
- * @param [options] The optional parameters
88
- * @returns Promise<msRestAzure.LROPoller>
89
- */
90
- Services.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, serviceDescription, options) {
91
- return this.client.sendLRORequest({
92
- resourceGroupName: resourceGroupName,
93
- resourceName: resourceName,
94
- serviceDescription: serviceDescription,
95
- options: options
96
- }, beginCreateOrUpdateOperationSpec, options);
97
- };
98
- /**
99
- * Update the metadata of a service instance.
100
- * @param resourceGroupName The name of the resource group that contains the service instance.
101
- * @param resourceName The name of the service instance.
102
- * @param servicePatchDescription The service instance metadata and security metadata.
103
- * @param [options] The optional parameters
104
- * @returns Promise<msRestAzure.LROPoller>
105
- */
106
- Services.prototype.beginUpdate = function (resourceGroupName, resourceName, servicePatchDescription, options) {
107
- return this.client.sendLRORequest({
108
- resourceGroupName: resourceGroupName,
109
- resourceName: resourceName,
110
- servicePatchDescription: servicePatchDescription,
111
- options: options
112
- }, beginUpdateOperationSpec, options);
113
- };
114
- /**
115
- * Delete a service instance.
116
- * @param resourceGroupName The name of the resource group that contains the service instance.
117
- * @param resourceName The name of the service instance.
118
- * @param [options] The optional parameters
119
- * @returns Promise<msRestAzure.LROPoller>
120
- */
121
- Services.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, options) {
122
- return this.client.sendLRORequest({
123
- resourceGroupName: resourceGroupName,
124
- resourceName: resourceName,
125
- options: options
126
- }, beginDeleteMethodOperationSpec, options);
127
- };
128
- Services.prototype.listNext = function (nextPageLink, options, callback) {
129
- return this.client.sendOperationRequest({
130
- nextPageLink: nextPageLink,
131
- options: options
132
- }, listNextOperationSpec, callback);
133
- };
134
- Services.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
135
- return this.client.sendOperationRequest({
136
- nextPageLink: nextPageLink,
137
- options: options
138
- }, listByResourceGroupNextOperationSpec, callback);
139
- };
140
- return Services;
141
- }());
142
- export { Services };
143
- // Operation Specifications
144
- var serializer = new msRest.Serializer(Mappers);
145
- var getOperationSpec = {
146
- httpMethod: "GET",
147
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
148
- urlParameters: [
149
- Parameters.subscriptionId,
150
- Parameters.resourceGroupName,
151
- Parameters.resourceName
152
- ],
153
- queryParameters: [
154
- Parameters.apiVersion
155
- ],
156
- headerParameters: [
157
- Parameters.acceptLanguage
158
- ],
159
- responses: {
160
- 200: {
161
- bodyMapper: Mappers.ServicesDescription
162
- },
163
- default: {
164
- bodyMapper: Mappers.ErrorDetails
165
- }
166
- },
167
- serializer: serializer
168
- };
169
- var listOperationSpec = {
170
- httpMethod: "GET",
171
- path: "subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services",
172
- urlParameters: [
173
- Parameters.subscriptionId
174
- ],
175
- queryParameters: [
176
- Parameters.apiVersion
177
- ],
178
- headerParameters: [
179
- Parameters.acceptLanguage
180
- ],
181
- responses: {
182
- 200: {
183
- bodyMapper: Mappers.ServicesDescriptionListResult
184
- },
185
- default: {
186
- bodyMapper: Mappers.ErrorDetails
187
- }
188
- },
189
- serializer: serializer
190
- };
191
- var listByResourceGroupOperationSpec = {
192
- httpMethod: "GET",
193
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services",
194
- urlParameters: [
195
- Parameters.subscriptionId,
196
- Parameters.resourceGroupName
197
- ],
198
- queryParameters: [
199
- Parameters.apiVersion
200
- ],
201
- headerParameters: [
202
- Parameters.acceptLanguage
203
- ],
204
- responses: {
205
- 200: {
206
- bodyMapper: Mappers.ServicesDescriptionListResult
207
- },
208
- default: {
209
- bodyMapper: Mappers.ErrorDetails
210
- }
211
- },
212
- serializer: serializer
213
- };
214
- var checkNameAvailabilityOperationSpec = {
215
- httpMethod: "POST",
216
- path: "subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability",
217
- urlParameters: [
218
- Parameters.subscriptionId
219
- ],
220
- queryParameters: [
221
- Parameters.apiVersion
222
- ],
223
- headerParameters: [
224
- Parameters.acceptLanguage
225
- ],
226
- requestBody: {
227
- parameterPath: "checkNameAvailabilityInputs",
228
- mapper: __assign(__assign({}, Mappers.CheckNameAvailabilityParameters), { required: true })
229
- },
230
- responses: {
231
- 200: {
232
- bodyMapper: Mappers.ServicesNameAvailabilityInfo
233
- },
234
- default: {
235
- bodyMapper: Mappers.ErrorDetails
236
- }
237
- },
238
- serializer: serializer
239
- };
240
- var beginCreateOrUpdateOperationSpec = {
241
- httpMethod: "PUT",
242
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
243
- urlParameters: [
244
- Parameters.subscriptionId,
245
- Parameters.resourceGroupName,
246
- Parameters.resourceName
247
- ],
248
- queryParameters: [
249
- Parameters.apiVersion
250
- ],
251
- headerParameters: [
252
- Parameters.acceptLanguage
253
- ],
254
- requestBody: {
255
- parameterPath: "serviceDescription",
256
- mapper: __assign(__assign({}, Mappers.ServicesDescription), { required: true })
257
- },
258
- responses: {
259
- 200: {
260
- bodyMapper: Mappers.ServicesDescription
261
- },
262
- 201: {
263
- bodyMapper: Mappers.ServicesDescription
264
- },
265
- default: {
266
- bodyMapper: Mappers.ErrorDetails
267
- }
268
- },
269
- serializer: serializer
270
- };
271
- var beginUpdateOperationSpec = {
272
- httpMethod: "PATCH",
273
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
274
- urlParameters: [
275
- Parameters.subscriptionId,
276
- Parameters.resourceGroupName,
277
- Parameters.resourceName
278
- ],
279
- queryParameters: [
280
- Parameters.apiVersion
281
- ],
282
- headerParameters: [
283
- Parameters.acceptLanguage
284
- ],
285
- requestBody: {
286
- parameterPath: "servicePatchDescription",
287
- mapper: __assign(__assign({}, Mappers.ServicesPatchDescription), { required: true })
288
- },
289
- responses: {
290
- 200: {
291
- bodyMapper: Mappers.ServicesDescription
292
- },
293
- default: {
294
- bodyMapper: Mappers.ErrorDetails
295
- }
296
- },
297
- serializer: serializer
298
- };
299
- var beginDeleteMethodOperationSpec = {
300
- httpMethod: "DELETE",
301
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
302
- urlParameters: [
303
- Parameters.subscriptionId,
304
- Parameters.resourceGroupName,
305
- Parameters.resourceName
306
- ],
307
- queryParameters: [
308
- Parameters.apiVersion
309
- ],
310
- headerParameters: [
311
- Parameters.acceptLanguage
312
- ],
313
- responses: {
314
- 202: {},
315
- 204: {},
316
- default: {
317
- bodyMapper: Mappers.ErrorDetails
318
- }
319
- },
320
- serializer: serializer
321
- };
322
- var listNextOperationSpec = {
323
- httpMethod: "GET",
324
- baseUrl: "https://management.azure.com",
325
- path: "{nextLink}",
326
- urlParameters: [
327
- Parameters.nextPageLink
328
- ],
329
- headerParameters: [
330
- Parameters.acceptLanguage
331
- ],
332
- responses: {
333
- 200: {
334
- bodyMapper: Mappers.ServicesDescriptionListResult
335
- },
336
- default: {
337
- bodyMapper: Mappers.ErrorDetails
338
- }
339
- },
340
- serializer: serializer
341
- };
342
- var listByResourceGroupNextOperationSpec = {
343
- httpMethod: "GET",
344
- baseUrl: "https://management.azure.com",
345
- path: "{nextLink}",
346
- urlParameters: [
347
- Parameters.nextPageLink
348
- ],
349
- headerParameters: [
350
- Parameters.acceptLanguage
351
- ],
352
- responses: {
353
- 200: {
354
- bodyMapper: Mappers.ServicesDescriptionListResult
355
- },
356
- default: {
357
- bodyMapper: Mappers.ErrorDetails
358
- }
359
- },
360
- serializer: serializer
361
- };
362
- //# sourceMappingURL=services.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/operations/services.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAA6C;QACvD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,sBAAG,GAAH,UAAI,iBAAyB,EAAE,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QAC1M,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAwC,CAAC;IACrD,CAAC;IAED;;;;;;;OAOG;IACH,iCAAc,GAAd,UAAe,iBAAyB,EAAE,YAAoB,EAAE,kBAA8C,EAAE,OAAmC;QACjJ,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAC,YAAY,EAAC,kBAAkB,EAAC,OAAO,CAAC;aACvF,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA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AC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,68 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import { TokenCredential } from "@azure/core-auth";
14
- import * as msRestAzure from "@azure/ms-rest-azure-js";
15
-
16
- const packageName = "@azure/arm-healthcareapis";
17
- const packageVersion = "1.1.0";
18
-
19
- export class HealthcareApisManagementClientContext extends msRestAzure.AzureServiceClient {
20
- credentials: msRest.ServiceClientCredentials | TokenCredential;
21
- subscriptionId: string;
22
- apiVersion?: string;
23
-
24
- /**
25
- * Initializes a new instance of the HealthcareApisManagementClient class.
26
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
27
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
28
- * more information about these credentials, see
29
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
30
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
31
- * @azure/ms-rest-browserauth are also supported.
32
- * @param subscriptionId The subscription identifier.
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HealthcareApisManagementClientOptions) {
36
- if (credentials == undefined) {
37
- throw new Error('\'credentials\' cannot be null.');
38
- }
39
- if (subscriptionId == undefined) {
40
- throw new Error('\'subscriptionId\' cannot be null.');
41
- }
42
-
43
- if (!options) {
44
- options = {};
45
- }
46
- if(!options.userAgent) {
47
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
- }
50
-
51
- super(credentials, options);
52
-
53
- this.apiVersion = '2020-03-30';
54
- this.acceptLanguage = 'en-US';
55
- this.longRunningOperationRetryTimeout = 30;
56
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
57
- this.requestContentType = "application/json; charset=utf-8";
58
- this.credentials = credentials;
59
- this.subscriptionId = subscriptionId;
60
-
61
- if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
62
- this.acceptLanguage = options.acceptLanguage;
63
- }
64
- if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
65
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
66
- }
67
- }
68
- }
@@ -1,13 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
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
-
9
- export {
10
- ErrorDetails,
11
- ErrorDetailsInternal,
12
- OperationResultsDescription
13
- } from "../models/mappers";
@@ -1,15 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
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
-
9
- export {
10
- ErrorDetails,
11
- ErrorDetailsInternal,
12
- Operation,
13
- OperationDisplay,
14
- OperationListResult
15
- } from "../models/mappers";