@azure/arm-healthcareapis 1.1.1 → 2.0.0

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 +80 -33
  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,986 +1,697 @@
1
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.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * An access policy entry.
16
- */
17
- export interface ServiceAccessPolicyEntry {
11
+ /** The properties of a service instance. */
12
+ export interface ServicesProperties {
18
13
  /**
19
- * An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
14
+ * The provisioning state.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
16
  */
17
+ readonly provisioningState?: ProvisioningState;
18
+ /** The access policies of the service instance. */
19
+ accessPolicies?: ServiceAccessPolicyEntry[];
20
+ /** The settings for the Cosmos DB database backing the service. */
21
+ cosmosDbConfiguration?: ServiceCosmosDbConfigurationInfo;
22
+ /** The authentication configuration for the service instance. */
23
+ authenticationConfiguration?: ServiceAuthenticationConfigurationInfo;
24
+ /** The settings for the CORS configuration of the service instance. */
25
+ corsConfiguration?: ServiceCorsConfigurationInfo;
26
+ /** The settings for the export operation of the service instance. */
27
+ exportConfiguration?: ServiceExportConfigurationInfo;
28
+ /** The list of private endpoint connections that are set up for this resource. */
29
+ privateEndpointConnections?: PrivateEndpointConnection[];
30
+ /** Control permission for data plane traffic coming from public networks while private endpoint is enabled. */
31
+ publicNetworkAccess?: PublicNetworkAccess;
32
+ /** The azure container registry settings used for convert data operation of the service instance. */
33
+ acrConfiguration?: ServiceAcrConfigurationInfo;
34
+ }
35
+
36
+ /** An access policy entry. */
37
+ export interface ServiceAccessPolicyEntry {
38
+ /** An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. */
21
39
  objectId: string;
22
40
  }
23
41
 
24
- /**
25
- * The settings for the Cosmos DB database backing the service.
26
- */
42
+ /** The settings for the Cosmos DB database backing the service. */
27
43
  export interface ServiceCosmosDbConfigurationInfo {
28
- /**
29
- * The provisioned throughput for the backing database.
30
- */
44
+ /** The provisioned throughput for the backing database. */
31
45
  offerThroughput?: number;
32
- /**
33
- * The URI of the customer-managed key for the backing database.
34
- */
46
+ /** The URI of the customer-managed key for the backing database. */
35
47
  keyVaultKeyUri?: string;
36
48
  }
37
49
 
38
- /**
39
- * Authentication configuration information
40
- */
50
+ /** Authentication configuration information */
41
51
  export interface ServiceAuthenticationConfigurationInfo {
42
- /**
43
- * The authority url for the service
44
- */
52
+ /** The authority url for the service */
45
53
  authority?: string;
46
- /**
47
- * The audience url for the service
48
- */
54
+ /** The audience url for the service */
49
55
  audience?: string;
50
- /**
51
- * If the SMART on FHIR proxy is enabled
52
- */
56
+ /** If the SMART on FHIR proxy is enabled */
53
57
  smartProxyEnabled?: boolean;
54
58
  }
55
59
 
56
- /**
57
- * The settings for the CORS configuration of the service instance.
58
- */
60
+ /** The settings for the CORS configuration of the service instance. */
59
61
  export interface ServiceCorsConfigurationInfo {
60
- /**
61
- * The origins to be allowed via CORS.
62
- */
62
+ /** The origins to be allowed via CORS. */
63
63
  origins?: string[];
64
- /**
65
- * The headers to be allowed via CORS.
66
- */
64
+ /** The headers to be allowed via CORS. */
67
65
  headers?: string[];
68
- /**
69
- * The methods to be allowed via CORS.
70
- */
66
+ /** The methods to be allowed via CORS. */
71
67
  methods?: string[];
72
- /**
73
- * The max age to be allowed via CORS.
74
- */
68
+ /** The max age to be allowed via CORS. */
75
69
  maxAge?: number;
76
- /**
77
- * If credentials are allowed via CORS.
78
- */
70
+ /** If credentials are allowed via CORS. */
79
71
  allowCredentials?: boolean;
80
72
  }
81
73
 
82
- /**
83
- * Export operation configuration information
84
- */
74
+ /** Export operation configuration information */
85
75
  export interface ServiceExportConfigurationInfo {
86
- /**
87
- * The name of the default export storage account.
88
- */
76
+ /** The name of the default export storage account. */
89
77
  storageAccountName?: string;
90
78
  }
91
79
 
92
- /**
93
- * The Private Endpoint resource.
94
- */
80
+ /** The Private Endpoint resource. */
95
81
  export interface PrivateEndpoint {
96
82
  /**
97
83
  * The ARM identifier for Private Endpoint
98
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
84
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
85
  */
100
86
  readonly id?: string;
101
87
  }
102
88
 
103
- /**
104
- * A collection of information about the state of the connection between service consumer and
105
- * provider.
106
- */
89
+ /** A collection of information about the state of the connection between service consumer and provider. */
107
90
  export interface PrivateLinkServiceConnectionState {
108
- /**
109
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
110
- * service. Possible values include: 'Pending', 'Approved', 'Rejected'
111
- */
91
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
112
92
  status?: PrivateEndpointServiceConnectionStatus;
113
- /**
114
- * The reason for approval/rejection of the connection.
115
- */
93
+ /** The reason for approval/rejection of the connection. */
116
94
  description?: string;
117
- /**
118
- * A message indicating if changes on the service provider require any updates on the consumer.
119
- */
95
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
120
96
  actionsRequired?: string;
121
97
  }
122
98
 
123
- /**
124
- * An interface representing Resource.
125
- */
126
- export interface Resource extends BaseResource {
99
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
100
+ export interface Resource {
127
101
  /**
128
- * Fully qualified resource Id for the resource. Ex -
129
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
130
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
102
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
131
104
  */
132
105
  readonly id?: string;
133
106
  /**
134
107
  * The name of the resource
135
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
136
109
  */
137
110
  readonly name?: string;
138
111
  /**
139
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
140
- * Microsoft.Storage/storageAccounts.
141
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
112
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
142
114
  */
143
115
  readonly type?: string;
144
116
  }
145
117
 
146
- /**
147
- * The Private Endpoint Connection resource.
148
- */
149
- export interface PrivateEndpointConnection extends Resource {
150
- /**
151
- * The resource of private end point.
152
- */
153
- privateEndpoint?: PrivateEndpoint;
154
- /**
155
- * A collection of information about the state of the connection between service consumer and
156
- * provider.
157
- */
158
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
159
- /**
160
- * The provisioning state of the private endpoint connection resource. Possible values include:
161
- * 'Succeeded', 'Creating', 'Deleting', 'Failed'
162
- */
163
- provisioningState?: PrivateEndpointConnectionProvisioningState;
118
+ /** Azure container registry configuration information */
119
+ export interface ServiceAcrConfigurationInfo {
120
+ /** The list of the ACR login servers. */
121
+ loginServers?: string[];
164
122
  }
165
123
 
166
- /**
167
- * The properties of a service instance.
168
- */
169
- export interface ServicesProperties {
170
- /**
171
- * The provisioning state. Possible values include: 'Deleting', 'Succeeded', 'Creating',
172
- * 'Accepted', 'Verifying', 'Updating', 'Failed', 'Canceled', 'Deprovisioned'
173
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
174
- */
175
- readonly provisioningState?: ProvisioningState;
176
- /**
177
- * The access policies of the service instance.
178
- */
179
- accessPolicies?: ServiceAccessPolicyEntry[];
180
- /**
181
- * The settings for the Cosmos DB database backing the service.
182
- */
183
- cosmosDbConfiguration?: ServiceCosmosDbConfigurationInfo;
184
- /**
185
- * The authentication configuration for the service instance.
186
- */
187
- authenticationConfiguration?: ServiceAuthenticationConfigurationInfo;
188
- /**
189
- * The settings for the CORS configuration of the service instance.
190
- */
191
- corsConfiguration?: ServiceCorsConfigurationInfo;
192
- /**
193
- * The settings for the export operation of the service instance.
194
- */
195
- exportConfiguration?: ServiceExportConfigurationInfo;
196
- /**
197
- * The list of private endpoint connections that are set up for this resource.
198
- */
199
- privateEndpointConnections?: PrivateEndpointConnection[];
200
- /**
201
- * Control permission for data plane traffic coming from public networks while private endpoint
202
- * is enabled. Possible values include: 'Enabled', 'Disabled'
203
- */
204
- publicNetworkAccess?: PublicNetworkAccess;
124
+ /** Metadata pertaining to creation and last modification of the resource. */
125
+ export interface SystemData {
126
+ /** The identity that created the resource. */
127
+ createdBy?: string;
128
+ /** The type of identity that created the resource. */
129
+ createdByType?: CreatedByType;
130
+ /** The timestamp of resource creation (UTC). */
131
+ createdAt?: Date;
132
+ /** The identity that last modified the resource. */
133
+ lastModifiedBy?: string;
134
+ /** The type of identity that last modified the resource. */
135
+ lastModifiedByType?: CreatedByType;
136
+ /** The timestamp of resource last modification (UTC) */
137
+ lastModifiedAt?: Date;
205
138
  }
206
139
 
207
- /**
208
- * The common properties of a service.
209
- */
210
- export interface ServicesResource extends BaseResource {
140
+ /** The common properties of a service. */
141
+ export interface ServicesResource {
211
142
  /**
212
143
  * The resource identifier.
213
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
145
  */
215
146
  readonly id?: string;
216
147
  /**
217
148
  * The resource name.
218
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
219
150
  */
220
151
  readonly name?: string;
221
152
  /**
222
153
  * The resource type.
223
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
224
155
  */
225
156
  readonly type?: string;
226
- /**
227
- * The kind of the service. Possible values include: 'fhir', 'fhir-Stu3', 'fhir-R4'
228
- */
157
+ /** The kind of the service. */
229
158
  kind: Kind;
230
- /**
231
- * The resource location.
232
- */
159
+ /** The resource location. */
233
160
  location: string;
234
- /**
235
- * The resource tags.
236
- */
161
+ /** The resource tags. */
237
162
  tags?: { [propertyName: string]: string };
238
- /**
239
- * An etag associated with the resource, used for optimistic concurrency when editing it.
240
- */
163
+ /** An etag associated with the resource, used for optimistic concurrency when editing it. */
241
164
  etag?: string;
242
- /**
243
- * Setting indicating whether the service has a managed identity associated with it.
244
- */
165
+ /** Setting indicating whether the service has a managed identity associated with it. */
245
166
  identity?: ServicesResourceIdentity;
246
167
  }
247
168
 
248
- /**
249
- * The description of the service.
250
- */
251
- export interface ServicesDescription extends ServicesResource {
252
- /**
253
- * The common properties of a service.
254
- */
255
- properties?: ServicesProperties;
256
- }
257
-
258
- /**
259
- * The description of the service.
260
- */
261
- export interface ServicesPatchDescription {
262
- /**
263
- * Instance tags
264
- */
265
- tags?: { [propertyName: string]: string };
266
- /**
267
- * Control permission for data plane traffic coming from public networks while private endpoint
268
- * is enabled. Possible values include: 'Enabled', 'Disabled'
269
- */
270
- publicNetworkAccess?: PublicNetworkAccess;
271
- }
272
-
273
- /**
274
- * Setting indicating whether the service has a managed identity associated with it.
275
- */
169
+ /** Setting indicating whether the service has a managed identity associated with it. */
276
170
  export interface ServicesResourceIdentity {
277
171
  /**
278
172
  * The principal ID of the resource identity.
279
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
280
174
  */
281
175
  readonly principalId?: string;
282
176
  /**
283
177
  * The tenant ID of the resource.
284
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
178
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
179
  */
286
180
  readonly tenantId?: string;
287
- /**
288
- * Type of identity being specified, currently SystemAssigned and None are allowed. Possible
289
- * values include: 'SystemAssigned', 'None'
290
- */
181
+ /** Type of identity being specified, currently SystemAssigned and None are allowed. */
291
182
  type?: ManagedServiceIdentityType;
292
183
  }
293
184
 
294
- /**
295
- * Error details.
296
- */
185
+ /** Error details. */
186
+ export interface ErrorDetails {
187
+ /** Object containing error details. */
188
+ error?: ErrorDetailsInternal;
189
+ }
190
+
191
+ /** Error details. */
297
192
  export interface ErrorDetailsInternal {
298
193
  /**
299
194
  * The error code.
300
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
195
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
196
  */
302
197
  readonly code?: string;
303
198
  /**
304
199
  * The error message.
305
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
200
+ * NOTE: This property will not be serialized. It can only be populated by the server.
306
201
  */
307
202
  readonly message?: string;
308
203
  /**
309
204
  * The target of the particular error.
310
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
205
+ * NOTE: This property will not be serialized. It can only be populated by the server.
311
206
  */
312
207
  readonly target?: string;
313
208
  }
314
209
 
315
- /**
316
- * Error details.
317
- */
318
- export interface ErrorDetails {
210
+ /** The description of the service. */
211
+ export interface ServicesPatchDescription {
212
+ /** Instance tags */
213
+ tags?: { [propertyName: string]: string };
214
+ /** Control permission for data plane traffic coming from public networks while private endpoint is enabled. */
215
+ publicNetworkAccess?: PublicNetworkAccess;
216
+ }
217
+
218
+ /** A list of service description objects with a next link. */
219
+ export interface ServicesDescriptionListResult {
220
+ /** The link used to get the next page of service description objects. */
221
+ nextLink?: string;
222
+ /** A list of service description objects. */
223
+ value?: ServicesDescription[];
224
+ }
225
+
226
+ /** A list of service operations. It contains a list of operations and a URL link to get the next set of results. */
227
+ export interface OperationListResult {
228
+ /** The link used to get the next page of service description objects. */
229
+ nextLink?: string;
319
230
  /**
320
- * Object containing error details.
231
+ * A list of service operations supported by the Microsoft.HealthcareApis resource provider.
232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
233
  */
322
- error?: ErrorDetailsInternal;
234
+ readonly value?: Operation[];
323
235
  }
324
236
 
325
- /**
326
- * The object that represents the operation.
327
- */
237
+ /** Service REST API operation. */
238
+ export interface Operation {
239
+ /**
240
+ * Operation name: {provider}/{resource}/{read | write | action | delete}
241
+ * NOTE: This property will not be serialized. It can only be populated by the server.
242
+ */
243
+ readonly name?: string;
244
+ /**
245
+ * Default value is 'user,system'.
246
+ * NOTE: This property will not be serialized. It can only be populated by the server.
247
+ */
248
+ readonly origin?: string;
249
+ /** The information displayed about the operation. */
250
+ display?: OperationDisplay;
251
+ }
252
+
253
+ /** The object that represents the operation. */
328
254
  export interface OperationDisplay {
329
255
  /**
330
256
  * Service provider: Microsoft.HealthcareApis
331
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
257
+ * NOTE: This property will not be serialized. It can only be populated by the server.
332
258
  */
333
259
  readonly provider?: string;
334
260
  /**
335
261
  * Resource Type: Services
336
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
262
+ * NOTE: This property will not be serialized. It can only be populated by the server.
337
263
  */
338
264
  readonly resource?: string;
339
265
  /**
340
266
  * Name of the operation
341
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
268
  */
343
269
  readonly operation?: string;
344
270
  /**
345
271
  * Friendly description for the operation,
346
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
272
+ * NOTE: This property will not be serialized. It can only be populated by the server.
347
273
  */
348
274
  readonly description?: string;
349
275
  }
350
276
 
351
- /**
352
- * Service REST API operation.
353
- */
354
- export interface Operation {
355
- /**
356
- * Operation name: {provider}/{resource}/{read | write | action | delete}
357
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
358
- */
359
- readonly name?: string;
360
- /**
361
- * Default value is 'user,system'.
362
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
363
- */
364
- readonly origin?: string;
365
- /**
366
- * The information displayed about the operation.
367
- */
368
- display?: OperationDisplay;
369
- }
370
-
371
- /**
372
- * Input values.
373
- */
277
+ /** Input values. */
374
278
  export interface CheckNameAvailabilityParameters {
375
- /**
376
- * The name of the service instance to check.
377
- */
279
+ /** The name of the service instance to check. */
378
280
  name: string;
379
- /**
380
- * The fully qualified resource type which includes provider namespace.
381
- */
281
+ /** The fully qualified resource type which includes provider namespace. */
382
282
  type: string;
383
283
  }
384
284
 
385
- /**
386
- * The properties indicating whether a given service name is available.
387
- */
285
+ /** The properties indicating whether a given service name is available. */
388
286
  export interface ServicesNameAvailabilityInfo {
389
287
  /**
390
288
  * The value which indicates whether the provided name is available.
391
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
392
290
  */
393
291
  readonly nameAvailable?: boolean;
394
292
  /**
395
- * The reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists'
396
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
293
+ * The reason for unavailability.
294
+ * NOTE: This property will not be serialized. It can only be populated by the server.
397
295
  */
398
296
  readonly reason?: ServiceNameUnavailabilityReason;
399
- /**
400
- * The detailed reason message.
401
- */
297
+ /** The detailed reason message. */
402
298
  message?: string;
403
299
  }
404
300
 
405
- /**
406
- * The properties indicating the operation result of an operation on a service.
407
- */
301
+ /** The properties indicating the operation result of an operation on a service. */
408
302
  export interface OperationResultsDescription {
409
303
  /**
410
304
  * The ID of the operation returned.
411
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
305
+ * NOTE: This property will not be serialized. It can only be populated by the server.
412
306
  */
413
307
  readonly id?: string;
414
308
  /**
415
309
  * The name of the operation result.
416
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
310
+ * NOTE: This property will not be serialized. It can only be populated by the server.
417
311
  */
418
312
  readonly name?: string;
419
313
  /**
420
- * The status of the operation being performed. Possible values include: 'Canceled', 'Succeeded',
421
- * 'Failed', 'Requested', 'Running'
422
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
314
+ * The status of the operation being performed.
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
316
  */
424
317
  readonly status?: OperationResultStatus;
425
318
  /**
426
319
  * The time that the operation was started.
427
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
428
321
  */
429
322
  readonly startTime?: string;
430
- /**
431
- * Additional properties of the operation result.
432
- */
323
+ /** Additional properties of the operation result. */
433
324
  properties?: any;
434
325
  }
435
326
 
436
- /**
437
- * The resource model definition for a ARM proxy resource. It will have everything other than
438
- * required location and tags
439
- */
440
- export interface ProxyResource extends Resource {
327
+ /** List of private endpoint connection associated with the specified storage account */
328
+ export interface PrivateEndpointConnectionListResultDescription {
329
+ /** Array of private endpoint connections */
330
+ value?: PrivateEndpointConnectionDescription[];
441
331
  }
442
332
 
443
- /**
444
- * The resource model definition for a ARM tracked top level resource
445
- */
446
- export interface TrackedResource extends Resource {
447
- /**
448
- * Resource tags.
449
- */
450
- tags?: { [propertyName: string]: string };
451
- /**
452
- * The geo-location where the resource lives
453
- */
454
- location: string;
333
+ /** A list of private link resources */
334
+ export interface PrivateLinkResourceListResultDescription {
335
+ /** Array of private link resources */
336
+ value?: PrivateLinkResourceDescription[];
455
337
  }
456
338
 
457
- /**
458
- * The resource model definition for a Azure Resource Manager resource with an etag.
459
- */
460
- export interface AzureEntityResource extends Resource {
339
+ /** The Private Endpoint Connection resource. */
340
+ export type PrivateEndpointConnection = Resource & {
341
+ /** The resource of private end point. */
342
+ privateEndpoint?: PrivateEndpoint;
343
+ /** A collection of information about the state of the connection between service consumer and provider. */
344
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
461
345
  /**
462
- * Resource Etag.
463
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
346
+ * The provisioning state of the private endpoint connection resource.
347
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
348
  */
465
- readonly etag?: string;
466
- }
349
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
350
+ };
467
351
 
468
- /**
469
- * A private link resource
470
- */
471
- export interface PrivateLinkResource extends Resource {
352
+ /** A private link resource */
353
+ export type PrivateLinkResource = Resource & {
472
354
  /**
473
355
  * The private link resource group id.
474
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
356
+ * NOTE: This property will not be serialized. It can only be populated by the server.
475
357
  */
476
358
  readonly groupId?: string;
477
359
  /**
478
360
  * The private link resource required member names.
479
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
361
+ * NOTE: This property will not be serialized. It can only be populated by the server.
480
362
  */
481
363
  readonly requiredMembers?: string[];
482
- /**
483
- * The private link resource Private link DNS zone name.
484
- */
364
+ /** The private link resource Private link DNS zone name. */
485
365
  requiredZoneNames?: string[];
486
- }
366
+ };
487
367
 
488
- /**
489
- * A list of private link resources
490
- */
491
- export interface PrivateLinkResourceListResult {
368
+ /** The description of the service. */
369
+ export type ServicesDescription = ServicesResource & {
370
+ /** The common properties of a service. */
371
+ properties?: ServicesProperties;
492
372
  /**
493
- * Array of private link resources
373
+ * Metadata pertaining to creation and last modification of the resource.
374
+ * NOTE: This property will not be serialized. It can only be populated by the server.
494
375
  */
495
- value?: PrivateLinkResource[];
496
- }
497
-
498
- /**
499
- * An interface representing HealthcareApisManagementClientOptions.
500
- */
501
- export interface HealthcareApisManagementClientOptions extends AzureServiceClientOptions {
502
- baseUri?: string;
503
- }
376
+ readonly systemData?: SystemData;
377
+ };
504
378
 
505
- /**
506
- * @interface
507
- * A list of service description objects with a next link.
508
- * @extends Array<ServicesDescription>
509
- */
510
- export interface ServicesDescriptionListResult extends Array<ServicesDescription> {
379
+ /** The Private Endpoint Connection resource. */
380
+ export type PrivateEndpointConnectionDescription = PrivateEndpointConnection & {
511
381
  /**
512
- * The link used to get the next page of service description objects.
382
+ * System metadata for this resource.
383
+ * NOTE: This property will not be serialized. It can only be populated by the server.
513
384
  */
514
- nextLink?: string;
515
- }
385
+ readonly systemData?: SystemData;
386
+ };
516
387
 
517
- /**
518
- * @interface
519
- * A list of service operations. It contains a list of operations and a URL link to get the next
520
- * set of results.
521
- * @extends Array<Operation>
522
- */
523
- export interface OperationListResult extends Array<Operation> {
388
+ /** The Private Endpoint Connection resource. */
389
+ export type PrivateLinkResourceDescription = PrivateLinkResource & {
524
390
  /**
525
- * The link used to get the next page of service description objects.
391
+ * System metadata for this resource.
392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
393
  */
527
- nextLink?: string;
528
- }
394
+ readonly systemData?: SystemData;
395
+ };
529
396
 
530
- /**
531
- * @interface
532
- * List of private endpoint connection associated with the specified storage account
533
- * @extends Array<PrivateEndpointConnection>
534
- */
535
- export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
397
+ /** Known values of {@link ProvisioningState} that the service accepts. */
398
+ export enum KnownProvisioningState {
399
+ Deleting = "Deleting",
400
+ Succeeded = "Succeeded",
401
+ Creating = "Creating",
402
+ Accepted = "Accepted",
403
+ Verifying = "Verifying",
404
+ Updating = "Updating",
405
+ Failed = "Failed",
406
+ Canceled = "Canceled",
407
+ Deprovisioned = "Deprovisioned"
536
408
  }
537
409
 
538
410
  /**
539
- * Defines values for ProvisioningState.
540
- * Possible values include: 'Deleting', 'Succeeded', 'Creating', 'Accepted', 'Verifying',
541
- * 'Updating', 'Failed', 'Canceled', 'Deprovisioned'
542
- * @readonly
543
- * @enum {string}
544
- */
545
- export type ProvisioningState = 'Deleting' | 'Succeeded' | 'Creating' | 'Accepted' | 'Verifying' | 'Updating' | 'Failed' | 'Canceled' | 'Deprovisioned';
546
-
547
- /**
548
- * Defines values for PrivateEndpointServiceConnectionStatus.
549
- * Possible values include: 'Pending', 'Approved', 'Rejected'
550
- * @readonly
551
- * @enum {string}
552
- */
553
- export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected';
554
-
555
- /**
556
- * Defines values for PrivateEndpointConnectionProvisioningState.
557
- * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
558
- * @readonly
559
- * @enum {string}
560
- */
561
- export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
562
-
563
- /**
564
- * Defines values for PublicNetworkAccess.
565
- * Possible values include: 'Enabled', 'Disabled'
566
- * @readonly
567
- * @enum {string}
568
- */
569
- export type PublicNetworkAccess = 'Enabled' | 'Disabled';
570
-
571
- /**
572
- * Defines values for Kind.
573
- * Possible values include: 'fhir', 'fhir-Stu3', 'fhir-R4'
574
- * @readonly
575
- * @enum {string}
576
- */
577
- export type Kind = 'fhir' | 'fhir-Stu3' | 'fhir-R4';
578
-
579
- /**
580
- * Defines values for ManagedServiceIdentityType.
581
- * Possible values include: 'SystemAssigned', 'None'
582
- * @readonly
583
- * @enum {string}
584
- */
585
- export type ManagedServiceIdentityType = 'SystemAssigned' | 'None';
586
-
587
- /**
588
- * Defines values for ServiceNameUnavailabilityReason.
589
- * Possible values include: 'Invalid', 'AlreadyExists'
590
- * @readonly
591
- * @enum {string}
592
- */
593
- export type ServiceNameUnavailabilityReason = 'Invalid' | 'AlreadyExists';
594
-
595
- /**
596
- * Defines values for OperationResultStatus.
597
- * Possible values include: 'Canceled', 'Succeeded', 'Failed', 'Requested', 'Running'
598
- * @readonly
599
- * @enum {string}
600
- */
601
- export type OperationResultStatus = 'Canceled' | 'Succeeded' | 'Failed' | 'Requested' | 'Running';
411
+ * Defines values for ProvisioningState. \
412
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
413
+ * this enum contains the known values that the service supports.
414
+ * ### Known values supported by the service
415
+ * **Deleting** \
416
+ * **Succeeded** \
417
+ * **Creating** \
418
+ * **Accepted** \
419
+ * **Verifying** \
420
+ * **Updating** \
421
+ * **Failed** \
422
+ * **Canceled** \
423
+ * **Deprovisioned**
424
+ */
425
+ export type ProvisioningState = string;
426
+
427
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
428
+ export enum KnownPrivateEndpointServiceConnectionStatus {
429
+ Pending = "Pending",
430
+ Approved = "Approved",
431
+ Rejected = "Rejected"
432
+ }
602
433
 
603
434
  /**
604
- * Contains response data for the get operation.
435
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
436
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
437
+ * this enum contains the known values that the service supports.
438
+ * ### Known values supported by the service
439
+ * **Pending** \
440
+ * **Approved** \
441
+ * **Rejected**
605
442
  */
606
- export type ServicesGetResponse = ServicesDescription & {
607
- /**
608
- * The underlying HTTP response.
609
- */
610
- _response: msRest.HttpResponse & {
611
- /**
612
- * The response body as text (string format)
613
- */
614
- bodyAsText: string;
443
+ export type PrivateEndpointServiceConnectionStatus = string;
615
444
 
616
- /**
617
- * The response body as parsed JSON or XML
618
- */
619
- parsedBody: ServicesDescription;
620
- };
621
- };
445
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
446
+ export enum KnownPrivateEndpointConnectionProvisioningState {
447
+ Succeeded = "Succeeded",
448
+ Creating = "Creating",
449
+ Deleting = "Deleting",
450
+ Failed = "Failed"
451
+ }
622
452
 
623
453
  /**
624
- * Contains response data for the createOrUpdate operation.
454
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
455
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
456
+ * this enum contains the known values that the service supports.
457
+ * ### Known values supported by the service
458
+ * **Succeeded** \
459
+ * **Creating** \
460
+ * **Deleting** \
461
+ * **Failed**
625
462
  */
626
- export type ServicesCreateOrUpdateResponse = ServicesDescription & {
627
- /**
628
- * The underlying HTTP response.
629
- */
630
- _response: msRest.HttpResponse & {
631
- /**
632
- * The response body as text (string format)
633
- */
634
- bodyAsText: string;
463
+ export type PrivateEndpointConnectionProvisioningState = string;
635
464
 
636
- /**
637
- * The response body as parsed JSON or XML
638
- */
639
- parsedBody: ServicesDescription;
640
- };
641
- };
465
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
466
+ export enum KnownPublicNetworkAccess {
467
+ Enabled = "Enabled",
468
+ Disabled = "Disabled"
469
+ }
642
470
 
643
471
  /**
644
- * Contains response data for the update operation.
472
+ * Defines values for PublicNetworkAccess. \
473
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
474
+ * this enum contains the known values that the service supports.
475
+ * ### Known values supported by the service
476
+ * **Enabled** \
477
+ * **Disabled**
645
478
  */
646
- export type ServicesUpdateResponse = ServicesDescription & {
647
- /**
648
- * The underlying HTTP response.
649
- */
650
- _response: msRest.HttpResponse & {
651
- /**
652
- * The response body as text (string format)
653
- */
654
- bodyAsText: string;
479
+ export type PublicNetworkAccess = string;
655
480
 
656
- /**
657
- * The response body as parsed JSON or XML
658
- */
659
- parsedBody: ServicesDescription;
660
- };
661
- };
481
+ /** Known values of {@link CreatedByType} that the service accepts. */
482
+ export enum KnownCreatedByType {
483
+ User = "User",
484
+ Application = "Application",
485
+ ManagedIdentity = "ManagedIdentity",
486
+ Key = "Key"
487
+ }
662
488
 
663
489
  /**
664
- * Contains response data for the list operation.
490
+ * Defines values for CreatedByType. \
491
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
492
+ * this enum contains the known values that the service supports.
493
+ * ### Known values supported by the service
494
+ * **User** \
495
+ * **Application** \
496
+ * **ManagedIdentity** \
497
+ * **Key**
665
498
  */
666
- export type ServicesListResponse = ServicesDescriptionListResult & {
667
- /**
668
- * The underlying HTTP response.
669
- */
670
- _response: msRest.HttpResponse & {
671
- /**
672
- * The response body as text (string format)
673
- */
674
- bodyAsText: string;
499
+ export type CreatedByType = string;
675
500
 
676
- /**
677
- * The response body as parsed JSON or XML
678
- */
679
- parsedBody: ServicesDescriptionListResult;
680
- };
681
- };
501
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
502
+ export enum KnownManagedServiceIdentityType {
503
+ SystemAssigned = "SystemAssigned",
504
+ None = "None"
505
+ }
682
506
 
683
507
  /**
684
- * Contains response data for the listByResourceGroup operation.
508
+ * Defines values for ManagedServiceIdentityType. \
509
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
510
+ * this enum contains the known values that the service supports.
511
+ * ### Known values supported by the service
512
+ * **SystemAssigned** \
513
+ * **None**
685
514
  */
686
- export type ServicesListByResourceGroupResponse = ServicesDescriptionListResult & {
687
- /**
688
- * The underlying HTTP response.
689
- */
690
- _response: msRest.HttpResponse & {
691
- /**
692
- * The response body as text (string format)
693
- */
694
- bodyAsText: string;
515
+ export type ManagedServiceIdentityType = string;
695
516
 
696
- /**
697
- * The response body as parsed JSON or XML
698
- */
699
- parsedBody: ServicesDescriptionListResult;
700
- };
701
- };
517
+ /** Known values of {@link OperationResultStatus} that the service accepts. */
518
+ export enum KnownOperationResultStatus {
519
+ Canceled = "Canceled",
520
+ Succeeded = "Succeeded",
521
+ Failed = "Failed",
522
+ Requested = "Requested",
523
+ Running = "Running"
524
+ }
702
525
 
703
526
  /**
704
- * Contains response data for the checkNameAvailability operation.
705
- */
706
- export type ServicesCheckNameAvailabilityResponse = ServicesNameAvailabilityInfo & {
707
- /**
708
- * The underlying HTTP response.
709
- */
710
- _response: msRest.HttpResponse & {
711
- /**
712
- * The response body as text (string format)
713
- */
714
- bodyAsText: string;
527
+ * Defines values for OperationResultStatus. \
528
+ * {@link KnownOperationResultStatus} can be used interchangeably with OperationResultStatus,
529
+ * this enum contains the known values that the service supports.
530
+ * ### Known values supported by the service
531
+ * **Canceled** \
532
+ * **Succeeded** \
533
+ * **Failed** \
534
+ * **Requested** \
535
+ * **Running**
536
+ */
537
+ export type OperationResultStatus = string;
538
+ /** Defines values for Kind. */
539
+ export type Kind = "fhir" | "fhir-Stu3" | "fhir-R4";
540
+ /** Defines values for ServiceNameUnavailabilityReason. */
541
+ export type ServiceNameUnavailabilityReason = "Invalid" | "AlreadyExists";
542
+
543
+ /** Optional parameters. */
544
+ export interface ServicesGetOptionalParams
545
+ extends coreClient.OperationOptions {}
546
+
547
+ /** Contains response data for the get operation. */
548
+ export type ServicesGetResponse = ServicesDescription;
549
+
550
+ /** Optional parameters. */
551
+ export interface ServicesCreateOrUpdateOptionalParams
552
+ extends coreClient.OperationOptions {
553
+ /** Delay to wait until next poll, in milliseconds. */
554
+ updateIntervalInMs?: number;
555
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
556
+ resumeFrom?: string;
557
+ }
715
558
 
716
- /**
717
- * The response body as parsed JSON or XML
718
- */
719
- parsedBody: ServicesNameAvailabilityInfo;
720
- };
721
- };
559
+ /** Contains response data for the createOrUpdate operation. */
560
+ export type ServicesCreateOrUpdateResponse = ServicesDescription;
722
561
 
723
- /**
724
- * Contains response data for the beginCreateOrUpdate operation.
725
- */
726
- export type ServicesBeginCreateOrUpdateResponse = ServicesDescription & {
727
- /**
728
- * The underlying HTTP response.
729
- */
730
- _response: msRest.HttpResponse & {
731
- /**
732
- * The response body as text (string format)
733
- */
734
- bodyAsText: string;
562
+ /** Optional parameters. */
563
+ export interface ServicesUpdateOptionalParams
564
+ extends coreClient.OperationOptions {
565
+ /** Delay to wait until next poll, in milliseconds. */
566
+ updateIntervalInMs?: number;
567
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
568
+ resumeFrom?: string;
569
+ }
735
570
 
736
- /**
737
- * The response body as parsed JSON or XML
738
- */
739
- parsedBody: ServicesDescription;
740
- };
741
- };
571
+ /** Contains response data for the update operation. */
572
+ export type ServicesUpdateResponse = ServicesDescription;
742
573
 
743
- /**
744
- * Contains response data for the beginUpdate operation.
745
- */
746
- export type ServicesBeginUpdateResponse = ServicesDescription & {
747
- /**
748
- * The underlying HTTP response.
749
- */
750
- _response: msRest.HttpResponse & {
751
- /**
752
- * The response body as text (string format)
753
- */
754
- bodyAsText: string;
574
+ /** Optional parameters. */
575
+ export interface ServicesDeleteOptionalParams
576
+ extends coreClient.OperationOptions {
577
+ /** Delay to wait until next poll, in milliseconds. */
578
+ updateIntervalInMs?: number;
579
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
580
+ resumeFrom?: string;
581
+ }
755
582
 
756
- /**
757
- * The response body as parsed JSON or XML
758
- */
759
- parsedBody: ServicesDescription;
760
- };
761
- };
583
+ /** Optional parameters. */
584
+ export interface ServicesListOptionalParams
585
+ extends coreClient.OperationOptions {}
762
586
 
763
- /**
764
- * Contains response data for the listNext operation.
765
- */
766
- export type ServicesListNextResponse = ServicesDescriptionListResult & {
767
- /**
768
- * The underlying HTTP response.
769
- */
770
- _response: msRest.HttpResponse & {
771
- /**
772
- * The response body as text (string format)
773
- */
774
- bodyAsText: string;
587
+ /** Contains response data for the list operation. */
588
+ export type ServicesListResponse = ServicesDescriptionListResult;
775
589
 
776
- /**
777
- * The response body as parsed JSON or XML
778
- */
779
- parsedBody: ServicesDescriptionListResult;
780
- };
781
- };
590
+ /** Optional parameters. */
591
+ export interface ServicesListByResourceGroupOptionalParams
592
+ extends coreClient.OperationOptions {}
782
593
 
783
- /**
784
- * Contains response data for the listByResourceGroupNext operation.
785
- */
786
- export type ServicesListByResourceGroupNextResponse = ServicesDescriptionListResult & {
787
- /**
788
- * The underlying HTTP response.
789
- */
790
- _response: msRest.HttpResponse & {
791
- /**
792
- * The response body as text (string format)
793
- */
794
- bodyAsText: string;
594
+ /** Contains response data for the listByResourceGroup operation. */
595
+ export type ServicesListByResourceGroupResponse = ServicesDescriptionListResult;
795
596
 
796
- /**
797
- * The response body as parsed JSON or XML
798
- */
799
- parsedBody: ServicesDescriptionListResult;
800
- };
801
- };
597
+ /** Optional parameters. */
598
+ export interface ServicesCheckNameAvailabilityOptionalParams
599
+ extends coreClient.OperationOptions {}
802
600
 
803
- /**
804
- * Contains response data for the list operation.
805
- */
806
- export type OperationsListResponse = OperationListResult & {
807
- /**
808
- * The underlying HTTP response.
809
- */
810
- _response: msRest.HttpResponse & {
811
- /**
812
- * The response body as text (string format)
813
- */
814
- bodyAsText: string;
601
+ /** Contains response data for the checkNameAvailability operation. */
602
+ export type ServicesCheckNameAvailabilityResponse = ServicesNameAvailabilityInfo;
815
603
 
816
- /**
817
- * The response body as parsed JSON or XML
818
- */
819
- parsedBody: OperationListResult;
820
- };
821
- };
604
+ /** Optional parameters. */
605
+ export interface ServicesListNextOptionalParams
606
+ extends coreClient.OperationOptions {}
822
607
 
823
- /**
824
- * Contains response data for the listNext operation.
825
- */
826
- export type OperationsListNextResponse = OperationListResult & {
827
- /**
828
- * The underlying HTTP response.
829
- */
830
- _response: msRest.HttpResponse & {
831
- /**
832
- * The response body as text (string format)
833
- */
834
- bodyAsText: string;
608
+ /** Contains response data for the listNext operation. */
609
+ export type ServicesListNextResponse = ServicesDescriptionListResult;
835
610
 
836
- /**
837
- * The response body as parsed JSON or XML
838
- */
839
- parsedBody: OperationListResult;
840
- };
841
- };
611
+ /** Optional parameters. */
612
+ export interface ServicesListByResourceGroupNextOptionalParams
613
+ extends coreClient.OperationOptions {}
842
614
 
843
- /**
844
- * Contains response data for the get operation.
845
- */
846
- export type OperationResultsGetResponse = {
847
- /**
848
- * The parsed response body.
849
- */
850
- body: any;
615
+ /** Contains response data for the listByResourceGroupNext operation. */
616
+ export type ServicesListByResourceGroupNextResponse = ServicesDescriptionListResult;
851
617
 
852
- /**
853
- * The underlying HTTP response.
854
- */
855
- _response: msRest.HttpResponse & {
856
- /**
857
- * The response body as text (string format)
858
- */
859
- bodyAsText: string;
618
+ /** Optional parameters. */
619
+ export interface OperationsListOptionalParams
620
+ extends coreClient.OperationOptions {}
860
621
 
861
- /**
862
- * The response body as parsed JSON or XML
863
- */
864
- parsedBody: any;
865
- };
866
- };
622
+ /** Contains response data for the list operation. */
623
+ export type OperationsListResponse = OperationListResult;
867
624
 
868
- /**
869
- * Contains response data for the listByService operation.
870
- */
871
- export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResult & {
872
- /**
873
- * The underlying HTTP response.
874
- */
875
- _response: msRest.HttpResponse & {
876
- /**
877
- * The response body as text (string format)
878
- */
879
- bodyAsText: string;
625
+ /** Optional parameters. */
626
+ export interface OperationsListNextOptionalParams
627
+ extends coreClient.OperationOptions {}
880
628
 
881
- /**
882
- * The response body as parsed JSON or XML
883
- */
884
- parsedBody: PrivateEndpointConnectionListResult;
885
- };
886
- };
629
+ /** Contains response data for the listNext operation. */
630
+ export type OperationsListNextResponse = OperationListResult;
887
631
 
888
- /**
889
- * Contains response data for the get operation.
890
- */
891
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
892
- /**
893
- * The underlying HTTP response.
894
- */
895
- _response: msRest.HttpResponse & {
896
- /**
897
- * The response body as text (string format)
898
- */
899
- bodyAsText: string;
632
+ /** Optional parameters. */
633
+ export interface OperationResultsGetOptionalParams
634
+ extends coreClient.OperationOptions {}
900
635
 
901
- /**
902
- * The response body as parsed JSON or XML
903
- */
904
- parsedBody: PrivateEndpointConnection;
905
- };
906
- };
636
+ /** Contains response data for the get operation. */
637
+ export type OperationResultsGetResponse = OperationResultsDescription;
907
638
 
908
- /**
909
- * Contains response data for the createOrUpdate operation.
910
- */
911
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
912
- /**
913
- * The underlying HTTP response.
914
- */
915
- _response: msRest.HttpResponse & {
916
- /**
917
- * The response body as text (string format)
918
- */
919
- bodyAsText: string;
639
+ /** Optional parameters. */
640
+ export interface PrivateEndpointConnectionsListByServiceOptionalParams
641
+ extends coreClient.OperationOptions {}
920
642
 
921
- /**
922
- * The response body as parsed JSON or XML
923
- */
924
- parsedBody: PrivateEndpointConnection;
925
- };
926
- };
643
+ /** Contains response data for the listByService operation. */
644
+ export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResultDescription;
927
645
 
928
- /**
929
- * Contains response data for the beginCreateOrUpdate operation.
930
- */
931
- export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
932
- /**
933
- * The underlying HTTP response.
934
- */
935
- _response: msRest.HttpResponse & {
936
- /**
937
- * The response body as text (string format)
938
- */
939
- bodyAsText: string;
646
+ /** Optional parameters. */
647
+ export interface PrivateEndpointConnectionsGetOptionalParams
648
+ extends coreClient.OperationOptions {}
940
649
 
941
- /**
942
- * The response body as parsed JSON or XML
943
- */
944
- parsedBody: PrivateEndpointConnection;
945
- };
946
- };
650
+ /** Contains response data for the get operation. */
651
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionDescription;
947
652
 
948
- /**
949
- * Contains response data for the listByService operation.
950
- */
951
- export type PrivateLinkResourcesListByServiceResponse = PrivateLinkResourceListResult & {
952
- /**
953
- * The underlying HTTP response.
954
- */
955
- _response: msRest.HttpResponse & {
956
- /**
957
- * The response body as text (string format)
958
- */
959
- bodyAsText: string;
653
+ /** Optional parameters. */
654
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
655
+ extends coreClient.OperationOptions {
656
+ /** Delay to wait until next poll, in milliseconds. */
657
+ updateIntervalInMs?: number;
658
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
659
+ resumeFrom?: string;
660
+ }
960
661
 
961
- /**
962
- * The response body as parsed JSON or XML
963
- */
964
- parsedBody: PrivateLinkResourceListResult;
965
- };
966
- };
662
+ /** Contains response data for the createOrUpdate operation. */
663
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnectionDescription;
967
664
 
968
- /**
969
- * Contains response data for the get operation.
970
- */
971
- export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
972
- /**
973
- * The underlying HTTP response.
974
- */
975
- _response: msRest.HttpResponse & {
976
- /**
977
- * The response body as text (string format)
978
- */
979
- bodyAsText: string;
665
+ /** Optional parameters. */
666
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
667
+ extends coreClient.OperationOptions {
668
+ /** Delay to wait until next poll, in milliseconds. */
669
+ updateIntervalInMs?: number;
670
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
671
+ resumeFrom?: string;
672
+ }
980
673
 
981
- /**
982
- * The response body as parsed JSON or XML
983
- */
984
- parsedBody: PrivateLinkResource;
985
- };
986
- };
674
+ /** Optional parameters. */
675
+ export interface PrivateLinkResourcesListByServiceOptionalParams
676
+ extends coreClient.OperationOptions {}
677
+
678
+ /** Contains response data for the listByService operation. */
679
+ export type PrivateLinkResourcesListByServiceResponse = PrivateLinkResourceListResultDescription;
680
+
681
+ /** Optional parameters. */
682
+ export interface PrivateLinkResourcesGetOptionalParams
683
+ extends coreClient.OperationOptions {}
684
+
685
+ /** Contains response data for the get operation. */
686
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResourceDescription;
687
+
688
+ /** Optional parameters. */
689
+ export interface HealthcareApisManagementClientOptionalParams
690
+ extends coreClient.ServiceClientOptions {
691
+ /** server parameter */
692
+ $host?: string;
693
+ /** Api Version */
694
+ apiVersion?: string;
695
+ /** Overrides client endpoint. */
696
+ endpoint?: string;
697
+ }