@azure/arm-healthcareapis 1.1.1 → 2.0.0-alpha.20220208.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 +82 -23
  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,2100 +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
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmHealthcareapis = {}), global.msRestAzure, global.msRest));
12
- }(this, (function (exports, msRestAzure, msRest) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- var __assign = function() {
44
- __assign = Object.assign || function __assign(t) {
45
- for (var s, i = 1, n = arguments.length; i < n; i++) {
46
- s = arguments[i];
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
- }
49
- return t;
50
- };
51
- return __assign.apply(this, arguments);
52
- };
53
-
54
- /*
55
- * Copyright (c) Microsoft Corporation. All rights reserved.
56
- * Licensed under the MIT License. See License.txt in the project root for license information.
57
- *
58
- * Code generated by Microsoft (R) AutoRest Code Generator.
59
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
60
- */
61
-
62
- var index = /*#__PURE__*/Object.freeze({
63
- __proto__: null
64
- });
65
-
66
- /*
67
- * Copyright (c) Microsoft Corporation. All rights reserved.
68
- * Licensed under the MIT License. See License.txt in the project root for license information.
69
- *
70
- * Code generated by Microsoft (R) AutoRest Code Generator.
71
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
72
- */
73
- var CloudError = msRestAzure.CloudErrorMapper;
74
- var BaseResource = msRestAzure.BaseResourceMapper;
75
- var ServiceAccessPolicyEntry = {
76
- serializedName: "ServiceAccessPolicyEntry",
77
- type: {
78
- name: "Composite",
79
- className: "ServiceAccessPolicyEntry",
80
- modelProperties: {
81
- objectId: {
82
- required: true,
83
- serializedName: "objectId",
84
- constraints: {
85
- Pattern: /^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$/
86
- },
87
- type: {
88
- name: "String"
89
- }
90
- }
91
- }
92
- }
93
- };
94
- var ServiceCosmosDbConfigurationInfo = {
95
- serializedName: "ServiceCosmosDbConfigurationInfo",
96
- type: {
97
- name: "Composite",
98
- className: "ServiceCosmosDbConfigurationInfo",
99
- modelProperties: {
100
- offerThroughput: {
101
- serializedName: "offerThroughput",
102
- constraints: {
103
- InclusiveMaximum: 10000,
104
- InclusiveMinimum: 400
105
- },
106
- type: {
107
- name: "Number"
108
- }
109
- },
110
- keyVaultKeyUri: {
111
- serializedName: "keyVaultKeyUri",
112
- type: {
113
- name: "String"
114
- }
115
- }
116
- }
117
- }
118
- };
119
- var ServiceAuthenticationConfigurationInfo = {
120
- serializedName: "ServiceAuthenticationConfigurationInfo",
121
- type: {
122
- name: "Composite",
123
- className: "ServiceAuthenticationConfigurationInfo",
124
- modelProperties: {
125
- authority: {
126
- serializedName: "authority",
127
- type: {
128
- name: "String"
129
- }
130
- },
131
- audience: {
132
- serializedName: "audience",
133
- type: {
134
- name: "String"
135
- }
136
- },
137
- smartProxyEnabled: {
138
- serializedName: "smartProxyEnabled",
139
- type: {
140
- name: "Boolean"
141
- }
142
- }
143
- }
144
- }
145
- };
146
- var ServiceCorsConfigurationInfo = {
147
- serializedName: "ServiceCorsConfigurationInfo",
148
- type: {
149
- name: "Composite",
150
- className: "ServiceCorsConfigurationInfo",
151
- modelProperties: {
152
- origins: {
153
- serializedName: "origins",
154
- type: {
155
- name: "Sequence",
156
- element: {
157
- type: {
158
- name: "String"
159
- }
160
- }
161
- }
162
- },
163
- headers: {
164
- serializedName: "headers",
165
- type: {
166
- name: "Sequence",
167
- element: {
168
- type: {
169
- name: "String"
170
- }
171
- }
172
- }
173
- },
174
- methods: {
175
- serializedName: "methods",
176
- type: {
177
- name: "Sequence",
178
- element: {
179
- type: {
180
- name: "String"
181
- }
182
- }
183
- }
184
- },
185
- maxAge: {
186
- serializedName: "maxAge",
187
- constraints: {
188
- InclusiveMaximum: 99999,
189
- InclusiveMinimum: 0
190
- },
191
- type: {
192
- name: "Number"
193
- }
194
- },
195
- allowCredentials: {
196
- serializedName: "allowCredentials",
197
- type: {
198
- name: "Boolean"
199
- }
200
- }
201
- }
202
- }
203
- };
204
- var ServiceExportConfigurationInfo = {
205
- serializedName: "ServiceExportConfigurationInfo",
206
- type: {
207
- name: "Composite",
208
- className: "ServiceExportConfigurationInfo",
209
- modelProperties: {
210
- storageAccountName: {
211
- serializedName: "storageAccountName",
212
- type: {
213
- name: "String"
214
- }
215
- }
216
- }
217
- }
218
- };
219
- var PrivateEndpoint = {
220
- serializedName: "PrivateEndpoint",
221
- type: {
222
- name: "Composite",
223
- className: "PrivateEndpoint",
224
- modelProperties: {
225
- id: {
226
- readOnly: true,
227
- serializedName: "id",
228
- type: {
229
- name: "String"
230
- }
231
- }
232
- }
233
- }
234
- };
235
- var PrivateLinkServiceConnectionState = {
236
- serializedName: "PrivateLinkServiceConnectionState",
237
- type: {
238
- name: "Composite",
239
- className: "PrivateLinkServiceConnectionState",
240
- modelProperties: {
241
- status: {
242
- serializedName: "status",
243
- type: {
244
- name: "String"
245
- }
246
- },
247
- description: {
248
- serializedName: "description",
249
- type: {
250
- name: "String"
251
- }
252
- },
253
- actionsRequired: {
254
- serializedName: "actionsRequired",
255
- type: {
256
- name: "String"
257
- }
258
- }
259
- }
260
- }
261
- };
262
- var Resource = {
263
- serializedName: "Resource",
264
- type: {
265
- name: "Composite",
266
- className: "Resource",
267
- modelProperties: {
268
- id: {
269
- readOnly: true,
270
- serializedName: "id",
271
- type: {
272
- name: "String"
273
- }
274
- },
275
- name: {
276
- readOnly: true,
277
- serializedName: "name",
278
- type: {
279
- name: "String"
280
- }
281
- },
282
- type: {
283
- readOnly: true,
284
- serializedName: "type",
285
- type: {
286
- name: "String"
287
- }
288
- }
289
- }
290
- }
291
- };
292
- var PrivateEndpointConnection = {
293
- serializedName: "PrivateEndpointConnection",
294
- type: {
295
- name: "Composite",
296
- className: "PrivateEndpointConnection",
297
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { privateEndpoint: {
298
- serializedName: "properties.privateEndpoint",
299
- type: {
300
- name: "Composite",
301
- className: "PrivateEndpoint"
302
- }
303
- }, privateLinkServiceConnectionState: {
304
- required: true,
305
- serializedName: "properties.privateLinkServiceConnectionState",
306
- type: {
307
- name: "Composite",
308
- className: "PrivateLinkServiceConnectionState"
309
- }
310
- }, provisioningState: {
311
- serializedName: "properties.provisioningState",
312
- type: {
313
- name: "String"
314
- }
315
- } })
316
- }
317
- };
318
- var ServicesProperties = {
319
- serializedName: "ServicesProperties",
320
- type: {
321
- name: "Composite",
322
- className: "ServicesProperties",
323
- modelProperties: {
324
- provisioningState: {
325
- readOnly: true,
326
- serializedName: "provisioningState",
327
- type: {
328
- name: "String"
329
- }
330
- },
331
- accessPolicies: {
332
- serializedName: "accessPolicies",
333
- type: {
334
- name: "Sequence",
335
- element: {
336
- type: {
337
- name: "Composite",
338
- className: "ServiceAccessPolicyEntry"
339
- }
340
- }
341
- }
342
- },
343
- cosmosDbConfiguration: {
344
- serializedName: "cosmosDbConfiguration",
345
- type: {
346
- name: "Composite",
347
- className: "ServiceCosmosDbConfigurationInfo"
348
- }
349
- },
350
- authenticationConfiguration: {
351
- serializedName: "authenticationConfiguration",
352
- type: {
353
- name: "Composite",
354
- className: "ServiceAuthenticationConfigurationInfo"
355
- }
356
- },
357
- corsConfiguration: {
358
- serializedName: "corsConfiguration",
359
- type: {
360
- name: "Composite",
361
- className: "ServiceCorsConfigurationInfo"
362
- }
363
- },
364
- exportConfiguration: {
365
- serializedName: "exportConfiguration",
366
- type: {
367
- name: "Composite",
368
- className: "ServiceExportConfigurationInfo"
369
- }
370
- },
371
- privateEndpointConnections: {
372
- serializedName: "privateEndpointConnections",
373
- type: {
374
- name: "Sequence",
375
- element: {
376
- type: {
377
- name: "Composite",
378
- className: "PrivateEndpointConnection"
379
- }
380
- }
381
- }
382
- },
383
- publicNetworkAccess: {
384
- serializedName: "publicNetworkAccess",
385
- type: {
386
- name: "String"
387
- }
388
- }
389
- }
390
- }
391
- };
392
- var ServicesResource = {
393
- serializedName: "ServicesResource",
394
- type: {
395
- name: "Composite",
396
- className: "ServicesResource",
397
- modelProperties: {
398
- id: {
399
- readOnly: true,
400
- serializedName: "id",
401
- type: {
402
- name: "String"
403
- }
404
- },
405
- name: {
406
- readOnly: true,
407
- serializedName: "name",
408
- constraints: {
409
- Pattern: /^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$/
410
- },
411
- type: {
412
- name: "String"
413
- }
414
- },
415
- type: {
416
- readOnly: true,
417
- serializedName: "type",
418
- type: {
419
- name: "String"
420
- }
421
- },
422
- kind: {
423
- required: true,
424
- serializedName: "kind",
425
- type: {
426
- name: "Enum",
427
- allowedValues: [
428
- "fhir",
429
- "fhir-Stu3",
430
- "fhir-R4"
431
- ]
432
- }
433
- },
434
- location: {
435
- required: true,
436
- serializedName: "location",
437
- type: {
438
- name: "String"
439
- }
440
- },
441
- tags: {
442
- serializedName: "tags",
443
- type: {
444
- name: "Dictionary",
445
- value: {
446
- type: {
447
- name: "String"
448
- }
449
- }
450
- }
451
- },
452
- etag: {
453
- serializedName: "etag",
454
- type: {
455
- name: "String"
456
- }
457
- },
458
- identity: {
459
- serializedName: "identity",
460
- type: {
461
- name: "Composite",
462
- className: "ServicesResourceIdentity"
463
- }
464
- }
465
- }
466
- }
467
- };
468
- var ServicesDescription = {
469
- serializedName: "ServicesDescription",
470
- type: {
471
- name: "Composite",
472
- className: "ServicesDescription",
473
- modelProperties: __assign(__assign({}, ServicesResource.type.modelProperties), { properties: {
474
- serializedName: "properties",
475
- type: {
476
- name: "Composite",
477
- className: "ServicesProperties"
478
- }
479
- } })
480
- }
481
- };
482
- var ServicesPatchDescription = {
483
- serializedName: "ServicesPatchDescription",
484
- type: {
485
- name: "Composite",
486
- className: "ServicesPatchDescription",
487
- modelProperties: {
488
- tags: {
489
- serializedName: "tags",
490
- type: {
491
- name: "Dictionary",
492
- value: {
493
- type: {
494
- name: "String"
495
- }
496
- }
497
- }
498
- },
499
- publicNetworkAccess: {
500
- serializedName: "properties.publicNetworkAccess",
501
- type: {
502
- name: "String"
503
- }
504
- }
505
- }
506
- }
507
- };
508
- var ServicesResourceIdentity = {
509
- serializedName: "ServicesResource_identity",
510
- type: {
511
- name: "Composite",
512
- className: "ServicesResourceIdentity",
513
- modelProperties: {
514
- principalId: {
515
- readOnly: true,
516
- serializedName: "principalId",
517
- type: {
518
- name: "String"
519
- }
520
- },
521
- tenantId: {
522
- readOnly: true,
523
- serializedName: "tenantId",
524
- type: {
525
- name: "String"
526
- }
527
- },
528
- type: {
529
- serializedName: "type",
530
- type: {
531
- name: "String"
532
- }
533
- }
534
- }
535
- }
536
- };
537
- var ErrorDetailsInternal = {
538
- serializedName: "ErrorDetailsInternal",
539
- type: {
540
- name: "Composite",
541
- className: "ErrorDetailsInternal",
542
- modelProperties: {
543
- code: {
544
- readOnly: true,
545
- serializedName: "code",
546
- type: {
547
- name: "String"
548
- }
549
- },
550
- message: {
551
- readOnly: true,
552
- serializedName: "message",
553
- type: {
554
- name: "String"
555
- }
556
- },
557
- target: {
558
- readOnly: true,
559
- serializedName: "target",
560
- type: {
561
- name: "String"
562
- }
563
- }
564
- }
565
- }
566
- };
567
- var ErrorDetails = {
568
- serializedName: "ErrorDetails",
569
- type: {
570
- name: "Composite",
571
- className: "ErrorDetails",
572
- modelProperties: {
573
- error: {
574
- serializedName: "error",
575
- type: {
576
- name: "Composite",
577
- className: "ErrorDetailsInternal"
578
- }
579
- }
580
- }
581
- }
582
- };
583
- var OperationDisplay = {
584
- serializedName: "OperationDisplay",
585
- type: {
586
- name: "Composite",
587
- className: "OperationDisplay",
588
- modelProperties: {
589
- provider: {
590
- readOnly: true,
591
- serializedName: "provider",
592
- type: {
593
- name: "String"
594
- }
595
- },
596
- resource: {
597
- readOnly: true,
598
- serializedName: "resource",
599
- type: {
600
- name: "String"
601
- }
602
- },
603
- operation: {
604
- readOnly: true,
605
- serializedName: "operation",
606
- type: {
607
- name: "String"
608
- }
609
- },
610
- description: {
611
- readOnly: true,
612
- serializedName: "description",
613
- type: {
614
- name: "String"
615
- }
616
- }
617
- }
618
- }
619
- };
620
- var Operation = {
621
- serializedName: "Operation",
622
- type: {
623
- name: "Composite",
624
- className: "Operation",
625
- modelProperties: {
626
- name: {
627
- readOnly: true,
628
- serializedName: "name",
629
- type: {
630
- name: "String"
631
- }
632
- },
633
- origin: {
634
- readOnly: true,
635
- serializedName: "origin",
636
- type: {
637
- name: "String"
638
- }
639
- },
640
- display: {
641
- serializedName: "display",
642
- type: {
643
- name: "Composite",
644
- className: "OperationDisplay"
645
- }
646
- }
647
- }
648
- }
649
- };
650
- var CheckNameAvailabilityParameters = {
651
- serializedName: "CheckNameAvailabilityParameters",
652
- type: {
653
- name: "Composite",
654
- className: "CheckNameAvailabilityParameters",
655
- modelProperties: {
656
- name: {
657
- required: true,
658
- serializedName: "name",
659
- type: {
660
- name: "String"
661
- }
662
- },
663
- type: {
664
- required: true,
665
- serializedName: "type",
666
- type: {
667
- name: "String"
668
- }
669
- }
670
- }
671
- }
672
- };
673
- var ServicesNameAvailabilityInfo = {
674
- serializedName: "ServicesNameAvailabilityInfo",
675
- type: {
676
- name: "Composite",
677
- className: "ServicesNameAvailabilityInfo",
678
- modelProperties: {
679
- nameAvailable: {
680
- readOnly: true,
681
- serializedName: "nameAvailable",
682
- type: {
683
- name: "Boolean"
684
- }
685
- },
686
- reason: {
687
- readOnly: true,
688
- serializedName: "reason",
689
- type: {
690
- name: "Enum",
691
- allowedValues: [
692
- "Invalid",
693
- "AlreadyExists"
694
- ]
695
- }
696
- },
697
- message: {
698
- serializedName: "message",
699
- type: {
700
- name: "String"
701
- }
702
- }
703
- }
704
- }
705
- };
706
- var OperationResultsDescription = {
707
- serializedName: "OperationResultsDescription",
708
- type: {
709
- name: "Composite",
710
- className: "OperationResultsDescription",
711
- modelProperties: {
712
- id: {
713
- readOnly: true,
714
- serializedName: "id",
715
- type: {
716
- name: "String"
717
- }
718
- },
719
- name: {
720
- readOnly: true,
721
- serializedName: "name",
722
- type: {
723
- name: "String"
724
- }
725
- },
726
- status: {
727
- readOnly: true,
728
- serializedName: "status",
729
- type: {
730
- name: "String"
731
- }
732
- },
733
- startTime: {
734
- readOnly: true,
735
- serializedName: "startTime",
736
- type: {
737
- name: "String"
738
- }
739
- },
740
- properties: {
741
- serializedName: "properties",
742
- type: {
743
- name: "Object"
744
- }
745
- }
746
- }
747
- }
748
- };
749
- var ProxyResource = {
750
- serializedName: "ProxyResource",
751
- type: {
752
- name: "Composite",
753
- className: "ProxyResource",
754
- modelProperties: __assign({}, Resource.type.modelProperties)
755
- }
756
- };
757
- var TrackedResource = {
758
- serializedName: "TrackedResource",
759
- type: {
760
- name: "Composite",
761
- className: "TrackedResource",
762
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
763
- serializedName: "tags",
764
- type: {
765
- name: "Dictionary",
766
- value: {
767
- type: {
768
- name: "String"
769
- }
770
- }
771
- }
772
- }, location: {
773
- required: true,
774
- serializedName: "location",
775
- type: {
776
- name: "String"
777
- }
778
- } })
779
- }
780
- };
781
- var AzureEntityResource = {
782
- serializedName: "AzureEntityResource",
783
- type: {
784
- name: "Composite",
785
- className: "AzureEntityResource",
786
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
787
- readOnly: true,
788
- serializedName: "etag",
789
- type: {
790
- name: "String"
791
- }
792
- } })
793
- }
794
- };
795
- var PrivateLinkResource = {
796
- serializedName: "PrivateLinkResource",
797
- type: {
798
- name: "Composite",
799
- className: "PrivateLinkResource",
800
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { groupId: {
801
- readOnly: true,
802
- serializedName: "properties.groupId",
803
- type: {
804
- name: "String"
805
- }
806
- }, requiredMembers: {
807
- readOnly: true,
808
- serializedName: "properties.requiredMembers",
809
- type: {
810
- name: "Sequence",
811
- element: {
812
- type: {
813
- name: "String"
814
- }
815
- }
816
- }
817
- }, requiredZoneNames: {
818
- serializedName: "properties.requiredZoneNames",
819
- type: {
820
- name: "Sequence",
821
- element: {
822
- type: {
823
- name: "String"
824
- }
825
- }
826
- }
827
- } })
828
- }
829
- };
830
- var PrivateLinkResourceListResult = {
831
- serializedName: "PrivateLinkResourceListResult",
832
- type: {
833
- name: "Composite",
834
- className: "PrivateLinkResourceListResult",
835
- modelProperties: {
836
- value: {
837
- serializedName: "value",
838
- type: {
839
- name: "Sequence",
840
- element: {
841
- type: {
842
- name: "Composite",
843
- className: "PrivateLinkResource"
844
- }
845
- }
846
- }
847
- }
848
- }
849
- }
850
- };
851
- var ServicesDescriptionListResult = {
852
- serializedName: "ServicesDescriptionListResult",
853
- type: {
854
- name: "Composite",
855
- className: "ServicesDescriptionListResult",
856
- modelProperties: {
857
- nextLink: {
858
- serializedName: "nextLink",
859
- type: {
860
- name: "String"
861
- }
862
- },
863
- value: {
864
- serializedName: "",
865
- type: {
866
- name: "Sequence",
867
- element: {
868
- type: {
869
- name: "Composite",
870
- className: "ServicesDescription"
871
- }
872
- }
873
- }
874
- }
875
- }
876
- }
877
- };
878
- var OperationListResult = {
879
- serializedName: "OperationListResult",
880
- type: {
881
- name: "Composite",
882
- className: "OperationListResult",
883
- modelProperties: {
884
- nextLink: {
885
- serializedName: "nextLink",
886
- type: {
887
- name: "String"
888
- }
889
- },
890
- value: {
891
- readOnly: true,
892
- serializedName: "",
893
- type: {
894
- name: "Sequence",
895
- element: {
896
- type: {
897
- name: "Composite",
898
- className: "Operation"
899
- }
900
- }
901
- }
902
- }
903
- }
904
- }
905
- };
906
- var PrivateEndpointConnectionListResult = {
907
- serializedName: "PrivateEndpointConnectionListResult",
908
- type: {
909
- name: "Composite",
910
- className: "PrivateEndpointConnectionListResult",
911
- modelProperties: {
912
- value: {
913
- serializedName: "",
914
- type: {
915
- name: "Sequence",
916
- element: {
917
- type: {
918
- name: "Composite",
919
- className: "PrivateEndpointConnection"
920
- }
921
- }
922
- }
923
- }
924
- }
925
- }
926
- };
927
-
928
- var mappers = /*#__PURE__*/Object.freeze({
929
- __proto__: null,
930
- CloudError: CloudError,
931
- BaseResource: BaseResource,
932
- ServiceAccessPolicyEntry: ServiceAccessPolicyEntry,
933
- ServiceCosmosDbConfigurationInfo: ServiceCosmosDbConfigurationInfo,
934
- ServiceAuthenticationConfigurationInfo: ServiceAuthenticationConfigurationInfo,
935
- ServiceCorsConfigurationInfo: ServiceCorsConfigurationInfo,
936
- ServiceExportConfigurationInfo: ServiceExportConfigurationInfo,
937
- PrivateEndpoint: PrivateEndpoint,
938
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
939
- Resource: Resource,
940
- PrivateEndpointConnection: PrivateEndpointConnection,
941
- ServicesProperties: ServicesProperties,
942
- ServicesResource: ServicesResource,
943
- ServicesDescription: ServicesDescription,
944
- ServicesPatchDescription: ServicesPatchDescription,
945
- ServicesResourceIdentity: ServicesResourceIdentity,
946
- ErrorDetailsInternal: ErrorDetailsInternal,
947
- ErrorDetails: ErrorDetails,
948
- OperationDisplay: OperationDisplay,
949
- Operation: Operation,
950
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
951
- ServicesNameAvailabilityInfo: ServicesNameAvailabilityInfo,
952
- OperationResultsDescription: OperationResultsDescription,
953
- ProxyResource: ProxyResource,
954
- TrackedResource: TrackedResource,
955
- AzureEntityResource: AzureEntityResource,
956
- PrivateLinkResource: PrivateLinkResource,
957
- PrivateLinkResourceListResult: PrivateLinkResourceListResult,
958
- ServicesDescriptionListResult: ServicesDescriptionListResult,
959
- OperationListResult: OperationListResult,
960
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult
961
- });
962
-
963
- /*
964
- * Copyright (c) Microsoft Corporation. All rights reserved.
965
- * Licensed under the MIT License. See License.txt in the project root for license information.
966
- *
967
- * Code generated by Microsoft (R) AutoRest Code Generator.
968
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
969
- */
970
-
971
- var Mappers = /*#__PURE__*/Object.freeze({
972
- __proto__: null,
973
- AzureEntityResource: AzureEntityResource,
974
- BaseResource: BaseResource,
975
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
976
- ErrorDetails: ErrorDetails,
977
- ErrorDetailsInternal: ErrorDetailsInternal,
978
- PrivateEndpoint: PrivateEndpoint,
979
- PrivateEndpointConnection: PrivateEndpointConnection,
980
- PrivateLinkResource: PrivateLinkResource,
981
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
982
- ProxyResource: ProxyResource,
983
- Resource: Resource,
984
- ServiceAccessPolicyEntry: ServiceAccessPolicyEntry,
985
- ServiceAuthenticationConfigurationInfo: ServiceAuthenticationConfigurationInfo,
986
- ServiceCorsConfigurationInfo: ServiceCorsConfigurationInfo,
987
- ServiceCosmosDbConfigurationInfo: ServiceCosmosDbConfigurationInfo,
988
- ServiceExportConfigurationInfo: ServiceExportConfigurationInfo,
989
- ServicesDescription: ServicesDescription,
990
- ServicesDescriptionListResult: ServicesDescriptionListResult,
991
- ServicesNameAvailabilityInfo: ServicesNameAvailabilityInfo,
992
- ServicesPatchDescription: ServicesPatchDescription,
993
- ServicesProperties: ServicesProperties,
994
- ServicesResource: ServicesResource,
995
- ServicesResourceIdentity: ServicesResourceIdentity,
996
- TrackedResource: TrackedResource
997
- });
998
-
999
- /*
1000
- * Copyright (c) Microsoft Corporation. All rights reserved.
1001
- * Licensed under the MIT License. See License.txt in the project root for
1002
- * license information.
1003
- *
1004
- * Code generated by Microsoft (R) AutoRest Code Generator.
1005
- * Changes may cause incorrect behavior and will be lost if the code is
1006
- * regenerated.
1007
- */
1008
- var acceptLanguage = {
1009
- parameterPath: "acceptLanguage",
1010
- mapper: {
1011
- serializedName: "accept-language",
1012
- defaultValue: 'en-US',
1013
- type: {
1014
- name: "String"
1015
- }
1016
- }
1017
- };
1018
- var apiVersion = {
1019
- parameterPath: "apiVersion",
1020
- mapper: {
1021
- required: true,
1022
- serializedName: "api-version",
1023
- type: {
1024
- name: "String"
1025
- }
1026
- }
1027
- };
1028
- var groupName = {
1029
- parameterPath: "groupName",
1030
- mapper: {
1031
- required: true,
1032
- serializedName: "groupName",
1033
- type: {
1034
- name: "String"
1035
- }
1036
- }
1037
- };
1038
- var locationName = {
1039
- parameterPath: "locationName",
1040
- mapper: {
1041
- required: true,
1042
- serializedName: "locationName",
1043
- type: {
1044
- name: "String"
1045
- }
1046
- }
1047
- };
1048
- var nextPageLink = {
1049
- parameterPath: "nextPageLink",
1050
- mapper: {
1051
- required: true,
1052
- serializedName: "nextLink",
1053
- type: {
1054
- name: "String"
1055
- }
1056
- },
1057
- skipEncoding: true
1058
- };
1059
- var operationResultId = {
1060
- parameterPath: "operationResultId",
1061
- mapper: {
1062
- required: true,
1063
- serializedName: "operationResultId",
1064
- type: {
1065
- name: "String"
1066
- }
1067
- }
1068
- };
1069
- var privateEndpointConnectionName = {
1070
- parameterPath: "privateEndpointConnectionName",
1071
- mapper: {
1072
- required: true,
1073
- serializedName: "privateEndpointConnectionName",
1074
- type: {
1075
- name: "String"
1076
- }
1077
- }
1078
- };
1079
- var resourceGroupName = {
1080
- parameterPath: "resourceGroupName",
1081
- mapper: {
1082
- required: true,
1083
- serializedName: "resourceGroupName",
1084
- constraints: {
1085
- MaxLength: 90,
1086
- MinLength: 1,
1087
- Pattern: /^[-\w\._\(\)]+$/
1088
- },
1089
- type: {
1090
- name: "String"
1091
- }
1092
- }
1093
- };
1094
- var resourceName = {
1095
- parameterPath: "resourceName",
1096
- mapper: {
1097
- required: true,
1098
- serializedName: "resourceName",
1099
- constraints: {
1100
- MaxLength: 24,
1101
- MinLength: 3
1102
- },
1103
- type: {
1104
- name: "String"
1105
- }
1106
- }
1107
- };
1108
- var subscriptionId = {
1109
- parameterPath: "subscriptionId",
1110
- mapper: {
1111
- required: true,
1112
- serializedName: "subscriptionId",
1113
- type: {
1114
- name: "String"
1115
- }
1116
- }
1117
- };
1118
-
1119
- /*
1120
- * Copyright (c) Microsoft Corporation. All rights reserved.
1121
- * Licensed under the MIT License. See License.txt in the project root for
1122
- * license information.
1123
- *
1124
- * Code generated by Microsoft (R) AutoRest Code Generator.
1125
- * Changes may cause incorrect behavior and will be lost if the code is
1126
- * regenerated.
1127
- */
1128
- /** Class representing a Services. */
1129
- var Services = /** @class */ (function () {
1130
- /**
1131
- * Create a Services.
1132
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
1133
- */
1134
- function Services(client) {
1135
- this.client = client;
1136
- }
1137
- Services.prototype.get = function (resourceGroupName, resourceName, options, callback) {
1138
- return this.client.sendOperationRequest({
1139
- resourceGroupName: resourceGroupName,
1140
- resourceName: resourceName,
1141
- options: options
1142
- }, getOperationSpec, callback);
1143
- };
1144
- /**
1145
- * Create or update the metadata of a service instance.
1146
- * @param resourceGroupName The name of the resource group that contains the service instance.
1147
- * @param resourceName The name of the service instance.
1148
- * @param serviceDescription The service instance metadata.
1149
- * @param [options] The optional parameters
1150
- * @returns Promise<Models.ServicesCreateOrUpdateResponse>
1151
- */
1152
- Services.prototype.createOrUpdate = function (resourceGroupName, resourceName, serviceDescription, options) {
1153
- return this.beginCreateOrUpdate(resourceGroupName, resourceName, serviceDescription, options)
1154
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1155
- };
1156
- /**
1157
- * Update the metadata of a service instance.
1158
- * @param resourceGroupName The name of the resource group that contains the service instance.
1159
- * @param resourceName The name of the service instance.
1160
- * @param servicePatchDescription The service instance metadata and security metadata.
1161
- * @param [options] The optional parameters
1162
- * @returns Promise<Models.ServicesUpdateResponse>
1163
- */
1164
- Services.prototype.update = function (resourceGroupName, resourceName, servicePatchDescription, options) {
1165
- return this.beginUpdate(resourceGroupName, resourceName, servicePatchDescription, options)
1166
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1167
- };
1168
- /**
1169
- * Delete a service instance.
1170
- * @param resourceGroupName The name of the resource group that contains the service instance.
1171
- * @param resourceName The name of the service instance.
1172
- * @param [options] The optional parameters
1173
- * @returns Promise<msRest.RestResponse>
1174
- */
1175
- Services.prototype.deleteMethod = function (resourceGroupName, resourceName, options) {
1176
- return this.beginDeleteMethod(resourceGroupName, resourceName, options)
1177
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1178
- };
1179
- Services.prototype.list = function (options, callback) {
1180
- return this.client.sendOperationRequest({
1181
- options: options
1182
- }, listOperationSpec, callback);
1183
- };
1184
- Services.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1185
- return this.client.sendOperationRequest({
1186
- resourceGroupName: resourceGroupName,
1187
- options: options
1188
- }, listByResourceGroupOperationSpec, callback);
1189
- };
1190
- Services.prototype.checkNameAvailability = function (checkNameAvailabilityInputs, options, callback) {
1191
- return this.client.sendOperationRequest({
1192
- checkNameAvailabilityInputs: checkNameAvailabilityInputs,
1193
- options: options
1194
- }, checkNameAvailabilityOperationSpec, callback);
1195
- };
1196
- /**
1197
- * Create or update the metadata of a service instance.
1198
- * @param resourceGroupName The name of the resource group that contains the service instance.
1199
- * @param resourceName The name of the service instance.
1200
- * @param serviceDescription The service instance metadata.
1201
- * @param [options] The optional parameters
1202
- * @returns Promise<msRestAzure.LROPoller>
1203
- */
1204
- Services.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, serviceDescription, options) {
1205
- return this.client.sendLRORequest({
1206
- resourceGroupName: resourceGroupName,
1207
- resourceName: resourceName,
1208
- serviceDescription: serviceDescription,
1209
- options: options
1210
- }, beginCreateOrUpdateOperationSpec, options);
1211
- };
1212
- /**
1213
- * Update the metadata of a service instance.
1214
- * @param resourceGroupName The name of the resource group that contains the service instance.
1215
- * @param resourceName The name of the service instance.
1216
- * @param servicePatchDescription The service instance metadata and security metadata.
1217
- * @param [options] The optional parameters
1218
- * @returns Promise<msRestAzure.LROPoller>
1219
- */
1220
- Services.prototype.beginUpdate = function (resourceGroupName, resourceName, servicePatchDescription, options) {
1221
- return this.client.sendLRORequest({
1222
- resourceGroupName: resourceGroupName,
1223
- resourceName: resourceName,
1224
- servicePatchDescription: servicePatchDescription,
1225
- options: options
1226
- }, beginUpdateOperationSpec, options);
1227
- };
1228
- /**
1229
- * Delete a service instance.
1230
- * @param resourceGroupName The name of the resource group that contains the service instance.
1231
- * @param resourceName The name of the service instance.
1232
- * @param [options] The optional parameters
1233
- * @returns Promise<msRestAzure.LROPoller>
1234
- */
1235
- Services.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, options) {
1236
- return this.client.sendLRORequest({
1237
- resourceGroupName: resourceGroupName,
1238
- resourceName: resourceName,
1239
- options: options
1240
- }, beginDeleteMethodOperationSpec, options);
1241
- };
1242
- Services.prototype.listNext = function (nextPageLink, options, callback) {
1243
- return this.client.sendOperationRequest({
1244
- nextPageLink: nextPageLink,
1245
- options: options
1246
- }, listNextOperationSpec, callback);
1247
- };
1248
- Services.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1249
- return this.client.sendOperationRequest({
1250
- nextPageLink: nextPageLink,
1251
- options: options
1252
- }, listByResourceGroupNextOperationSpec, callback);
1253
- };
1254
- return Services;
1255
- }());
1256
- // Operation Specifications
1257
- var serializer = new msRest.Serializer(Mappers);
1258
- var getOperationSpec = {
1259
- httpMethod: "GET",
1260
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
1261
- urlParameters: [
1262
- subscriptionId,
1263
- resourceGroupName,
1264
- resourceName
1265
- ],
1266
- queryParameters: [
1267
- apiVersion
1268
- ],
1269
- headerParameters: [
1270
- acceptLanguage
1271
- ],
1272
- responses: {
1273
- 200: {
1274
- bodyMapper: ServicesDescription
1275
- },
1276
- default: {
1277
- bodyMapper: ErrorDetails
1278
- }
1279
- },
1280
- serializer: serializer
1281
- };
1282
- var listOperationSpec = {
1283
- httpMethod: "GET",
1284
- path: "subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services",
1285
- urlParameters: [
1286
- subscriptionId
1287
- ],
1288
- queryParameters: [
1289
- apiVersion
1290
- ],
1291
- headerParameters: [
1292
- acceptLanguage
1293
- ],
1294
- responses: {
1295
- 200: {
1296
- bodyMapper: ServicesDescriptionListResult
1297
- },
1298
- default: {
1299
- bodyMapper: ErrorDetails
1300
- }
1301
- },
1302
- serializer: serializer
1303
- };
1304
- var listByResourceGroupOperationSpec = {
1305
- httpMethod: "GET",
1306
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services",
1307
- urlParameters: [
1308
- subscriptionId,
1309
- resourceGroupName
1310
- ],
1311
- queryParameters: [
1312
- apiVersion
1313
- ],
1314
- headerParameters: [
1315
- acceptLanguage
1316
- ],
1317
- responses: {
1318
- 200: {
1319
- bodyMapper: ServicesDescriptionListResult
1320
- },
1321
- default: {
1322
- bodyMapper: ErrorDetails
1323
- }
1324
- },
1325
- serializer: serializer
1326
- };
1327
- var checkNameAvailabilityOperationSpec = {
1328
- httpMethod: "POST",
1329
- path: "subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability",
1330
- urlParameters: [
1331
- subscriptionId
1332
- ],
1333
- queryParameters: [
1334
- apiVersion
1335
- ],
1336
- headerParameters: [
1337
- acceptLanguage
1338
- ],
1339
- requestBody: {
1340
- parameterPath: "checkNameAvailabilityInputs",
1341
- mapper: __assign(__assign({}, CheckNameAvailabilityParameters), { required: true })
1342
- },
1343
- responses: {
1344
- 200: {
1345
- bodyMapper: ServicesNameAvailabilityInfo
1346
- },
1347
- default: {
1348
- bodyMapper: ErrorDetails
1349
- }
1350
- },
1351
- serializer: serializer
1352
- };
1353
- var beginCreateOrUpdateOperationSpec = {
1354
- httpMethod: "PUT",
1355
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
1356
- urlParameters: [
1357
- subscriptionId,
1358
- resourceGroupName,
1359
- resourceName
1360
- ],
1361
- queryParameters: [
1362
- apiVersion
1363
- ],
1364
- headerParameters: [
1365
- acceptLanguage
1366
- ],
1367
- requestBody: {
1368
- parameterPath: "serviceDescription",
1369
- mapper: __assign(__assign({}, ServicesDescription), { required: true })
1370
- },
1371
- responses: {
1372
- 200: {
1373
- bodyMapper: ServicesDescription
1374
- },
1375
- 201: {
1376
- bodyMapper: ServicesDescription
1377
- },
1378
- default: {
1379
- bodyMapper: ErrorDetails
1380
- }
1381
- },
1382
- serializer: serializer
1383
- };
1384
- var beginUpdateOperationSpec = {
1385
- httpMethod: "PATCH",
1386
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
1387
- urlParameters: [
1388
- subscriptionId,
1389
- resourceGroupName,
1390
- resourceName
1391
- ],
1392
- queryParameters: [
1393
- apiVersion
1394
- ],
1395
- headerParameters: [
1396
- acceptLanguage
1397
- ],
1398
- requestBody: {
1399
- parameterPath: "servicePatchDescription",
1400
- mapper: __assign(__assign({}, ServicesPatchDescription), { required: true })
1401
- },
1402
- responses: {
1403
- 200: {
1404
- bodyMapper: ServicesDescription
1405
- },
1406
- default: {
1407
- bodyMapper: ErrorDetails
1408
- }
1409
- },
1410
- serializer: serializer
1411
- };
1412
- var beginDeleteMethodOperationSpec = {
1413
- httpMethod: "DELETE",
1414
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
1415
- urlParameters: [
1416
- subscriptionId,
1417
- resourceGroupName,
1418
- resourceName
1419
- ],
1420
- queryParameters: [
1421
- apiVersion
1422
- ],
1423
- headerParameters: [
1424
- acceptLanguage
1425
- ],
1426
- responses: {
1427
- 202: {},
1428
- 204: {},
1429
- default: {
1430
- bodyMapper: ErrorDetails
1431
- }
1432
- },
1433
- serializer: serializer
1434
- };
1435
- var listNextOperationSpec = {
1436
- httpMethod: "GET",
1437
- baseUrl: "https://management.azure.com",
1438
- path: "{nextLink}",
1439
- urlParameters: [
1440
- nextPageLink
1441
- ],
1442
- headerParameters: [
1443
- acceptLanguage
1444
- ],
1445
- responses: {
1446
- 200: {
1447
- bodyMapper: ServicesDescriptionListResult
1448
- },
1449
- default: {
1450
- bodyMapper: ErrorDetails
1451
- }
1452
- },
1453
- serializer: serializer
1454
- };
1455
- var listByResourceGroupNextOperationSpec = {
1456
- httpMethod: "GET",
1457
- baseUrl: "https://management.azure.com",
1458
- path: "{nextLink}",
1459
- urlParameters: [
1460
- nextPageLink
1461
- ],
1462
- headerParameters: [
1463
- acceptLanguage
1464
- ],
1465
- responses: {
1466
- 200: {
1467
- bodyMapper: ServicesDescriptionListResult
1468
- },
1469
- default: {
1470
- bodyMapper: ErrorDetails
1471
- }
1472
- },
1473
- serializer: serializer
1474
- };
1475
-
1476
- /*
1477
- * Copyright (c) Microsoft Corporation. All rights reserved.
1478
- * Licensed under the MIT License. See License.txt in the project root for license information.
1479
- *
1480
- * Code generated by Microsoft (R) AutoRest Code Generator.
1481
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1482
- */
1483
-
1484
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1485
- __proto__: null,
1486
- ErrorDetails: ErrorDetails,
1487
- ErrorDetailsInternal: ErrorDetailsInternal,
1488
- Operation: Operation,
1489
- OperationDisplay: OperationDisplay,
1490
- OperationListResult: OperationListResult
1491
- });
1492
-
1493
- /*
1494
- * Copyright (c) Microsoft Corporation. All rights reserved.
1495
- * Licensed under the MIT License. See License.txt in the project root for
1496
- * license information.
1497
- *
1498
- * Code generated by Microsoft (R) AutoRest Code Generator.
1499
- * Changes may cause incorrect behavior and will be lost if the code is
1500
- * regenerated.
1501
- */
1502
- /** Class representing a Operations. */
1503
- var Operations = /** @class */ (function () {
1504
- /**
1505
- * Create a Operations.
1506
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
1507
- */
1508
- function Operations(client) {
1509
- this.client = client;
1510
- }
1511
- Operations.prototype.list = function (options, callback) {
1512
- return this.client.sendOperationRequest({
1513
- options: options
1514
- }, listOperationSpec$1, callback);
1515
- };
1516
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
1517
- return this.client.sendOperationRequest({
1518
- nextPageLink: nextPageLink,
1519
- options: options
1520
- }, listNextOperationSpec$1, callback);
1521
- };
1522
- return Operations;
1523
- }());
1524
- // Operation Specifications
1525
- var serializer$1 = new msRest.Serializer(Mappers$1);
1526
- var listOperationSpec$1 = {
1527
- httpMethod: "GET",
1528
- path: "providers/Microsoft.HealthcareApis/operations",
1529
- queryParameters: [
1530
- apiVersion
1531
- ],
1532
- headerParameters: [
1533
- acceptLanguage
1534
- ],
1535
- responses: {
1536
- 200: {
1537
- bodyMapper: OperationListResult
1538
- },
1539
- default: {
1540
- bodyMapper: ErrorDetails
1541
- }
1542
- },
1543
- serializer: serializer$1
1544
- };
1545
- var listNextOperationSpec$1 = {
1546
- httpMethod: "GET",
1547
- baseUrl: "https://management.azure.com",
1548
- path: "{nextLink}",
1549
- urlParameters: [
1550
- nextPageLink
1551
- ],
1552
- headerParameters: [
1553
- acceptLanguage
1554
- ],
1555
- responses: {
1556
- 200: {
1557
- bodyMapper: OperationListResult
1558
- },
1559
- default: {
1560
- bodyMapper: ErrorDetails
1561
- }
1562
- },
1563
- serializer: serializer$1
1564
- };
1565
-
1566
- /*
1567
- * Copyright (c) Microsoft Corporation. All rights reserved.
1568
- * Licensed under the MIT License. See License.txt in the project root for license information.
1569
- *
1570
- * Code generated by Microsoft (R) AutoRest Code Generator.
1571
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1572
- */
1573
-
1574
- var Mappers$2 = /*#__PURE__*/Object.freeze({
1575
- __proto__: null,
1576
- ErrorDetails: ErrorDetails,
1577
- ErrorDetailsInternal: ErrorDetailsInternal,
1578
- OperationResultsDescription: OperationResultsDescription
1579
- });
1580
-
1581
- /*
1582
- * Copyright (c) Microsoft Corporation. All rights reserved.
1583
- * Licensed under the MIT License. See License.txt in the project root for
1584
- * license information.
1585
- *
1586
- * Code generated by Microsoft (R) AutoRest Code Generator.
1587
- * Changes may cause incorrect behavior and will be lost if the code is
1588
- * regenerated.
1589
- */
1590
- /** Class representing a OperationResults. */
1591
- var OperationResults = /** @class */ (function () {
1592
- /**
1593
- * Create a OperationResults.
1594
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
1595
- */
1596
- function OperationResults(client) {
1597
- this.client = client;
1598
- }
1599
- OperationResults.prototype.get = function (locationName, operationResultId, options, callback) {
1600
- return this.client.sendOperationRequest({
1601
- locationName: locationName,
1602
- operationResultId: operationResultId,
1603
- options: options
1604
- }, getOperationSpec$1, callback);
1605
- };
1606
- return OperationResults;
1607
- }());
1608
- // Operation Specifications
1609
- var serializer$2 = new msRest.Serializer(Mappers$2);
1610
- var getOperationSpec$1 = {
1611
- httpMethod: "GET",
1612
- path: "subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}",
1613
- urlParameters: [
1614
- subscriptionId,
1615
- locationName,
1616
- operationResultId
1617
- ],
1618
- queryParameters: [
1619
- apiVersion
1620
- ],
1621
- headerParameters: [
1622
- acceptLanguage
1623
- ],
1624
- responses: {
1625
- 200: {
1626
- bodyMapper: OperationResultsDescription
1627
- },
1628
- 404: {
1629
- bodyMapper: ErrorDetails
1630
- },
1631
- default: {
1632
- bodyMapper: ErrorDetails
1633
- }
1634
- },
1635
- serializer: serializer$2
1636
- };
1637
-
1638
- /*
1639
- * Copyright (c) Microsoft Corporation. All rights reserved.
1640
- * Licensed under the MIT License. See License.txt in the project root for license information.
1641
- *
1642
- * Code generated by Microsoft (R) AutoRest Code Generator.
1643
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1644
- */
1645
-
1646
- var Mappers$3 = /*#__PURE__*/Object.freeze({
1647
- __proto__: null,
1648
- AzureEntityResource: AzureEntityResource,
1649
- BaseResource: BaseResource,
1650
- ErrorDetails: ErrorDetails,
1651
- ErrorDetailsInternal: ErrorDetailsInternal,
1652
- PrivateEndpoint: PrivateEndpoint,
1653
- PrivateEndpointConnection: PrivateEndpointConnection,
1654
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1655
- PrivateLinkResource: PrivateLinkResource,
1656
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1657
- ProxyResource: ProxyResource,
1658
- Resource: Resource,
1659
- ServiceAccessPolicyEntry: ServiceAccessPolicyEntry,
1660
- ServiceAuthenticationConfigurationInfo: ServiceAuthenticationConfigurationInfo,
1661
- ServiceCorsConfigurationInfo: ServiceCorsConfigurationInfo,
1662
- ServiceCosmosDbConfigurationInfo: ServiceCosmosDbConfigurationInfo,
1663
- ServiceExportConfigurationInfo: ServiceExportConfigurationInfo,
1664
- ServicesDescription: ServicesDescription,
1665
- ServicesProperties: ServicesProperties,
1666
- ServicesResource: ServicesResource,
1667
- ServicesResourceIdentity: ServicesResourceIdentity,
1668
- TrackedResource: TrackedResource
1669
- });
1670
-
1671
- /*
1672
- * Copyright (c) Microsoft Corporation. All rights reserved.
1673
- * Licensed under the MIT License. See License.txt in the project root for
1674
- * license information.
1675
- *
1676
- * Code generated by Microsoft (R) AutoRest Code Generator.
1677
- * Changes may cause incorrect behavior and will be lost if the code is
1678
- * regenerated.
1679
- */
1680
- /** Class representing a PrivateEndpointConnections. */
1681
- var PrivateEndpointConnections = /** @class */ (function () {
1682
- /**
1683
- * Create a PrivateEndpointConnections.
1684
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
1685
- */
1686
- function PrivateEndpointConnections(client) {
1687
- this.client = client;
1688
- }
1689
- PrivateEndpointConnections.prototype.listByService = function (resourceGroupName, resourceName, options, callback) {
1690
- return this.client.sendOperationRequest({
1691
- resourceGroupName: resourceGroupName,
1692
- resourceName: resourceName,
1693
- options: options
1694
- }, listByServiceOperationSpec, callback);
1695
- };
1696
- PrivateEndpointConnections.prototype.get = function (resourceGroupName, resourceName, privateEndpointConnectionName, options, callback) {
1697
- return this.client.sendOperationRequest({
1698
- resourceGroupName: resourceGroupName,
1699
- resourceName: resourceName,
1700
- privateEndpointConnectionName: privateEndpointConnectionName,
1701
- options: options
1702
- }, getOperationSpec$2, callback);
1703
- };
1704
- /**
1705
- * Update the state of the specified private endpoint connection associated with the service.
1706
- * @param resourceGroupName The name of the resource group that contains the service instance.
1707
- * @param resourceName The name of the service instance.
1708
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
1709
- * the Azure resource
1710
- * @param properties The private endpoint connection properties.
1711
- * @param [options] The optional parameters
1712
- * @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
1713
- */
1714
- PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, resourceName, privateEndpointConnectionName, properties, options) {
1715
- return this.beginCreateOrUpdate(resourceGroupName, resourceName, privateEndpointConnectionName, properties, options)
1716
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1717
- };
1718
- /**
1719
- * Deletes a private endpoint connection.
1720
- * @param resourceGroupName The name of the resource group that contains the service instance.
1721
- * @param resourceName The name of the service instance.
1722
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
1723
- * the Azure resource
1724
- * @param [options] The optional parameters
1725
- * @returns Promise<msRest.RestResponse>
1726
- */
1727
- PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, resourceName, privateEndpointConnectionName, options) {
1728
- return this.beginDeleteMethod(resourceGroupName, resourceName, privateEndpointConnectionName, options)
1729
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1730
- };
1731
- /**
1732
- * Update the state of the specified private endpoint connection associated with the service.
1733
- * @param resourceGroupName The name of the resource group that contains the service instance.
1734
- * @param resourceName The name of the service instance.
1735
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
1736
- * the Azure resource
1737
- * @param properties The private endpoint connection properties.
1738
- * @param [options] The optional parameters
1739
- * @returns Promise<msRestAzure.LROPoller>
1740
- */
1741
- PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, privateEndpointConnectionName, properties, options) {
1742
- return this.client.sendLRORequest({
1743
- resourceGroupName: resourceGroupName,
1744
- resourceName: resourceName,
1745
- privateEndpointConnectionName: privateEndpointConnectionName,
1746
- properties: properties,
1747
- options: options
1748
- }, beginCreateOrUpdateOperationSpec$1, options);
1749
- };
1750
- /**
1751
- * Deletes a private endpoint connection.
1752
- * @param resourceGroupName The name of the resource group that contains the service instance.
1753
- * @param resourceName The name of the service instance.
1754
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
1755
- * the Azure resource
1756
- * @param [options] The optional parameters
1757
- * @returns Promise<msRestAzure.LROPoller>
1758
- */
1759
- PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, privateEndpointConnectionName, options) {
1760
- return this.client.sendLRORequest({
1761
- resourceGroupName: resourceGroupName,
1762
- resourceName: resourceName,
1763
- privateEndpointConnectionName: privateEndpointConnectionName,
1764
- options: options
1765
- }, beginDeleteMethodOperationSpec$1, options);
1766
- };
1767
- return PrivateEndpointConnections;
1768
- }());
1769
- // Operation Specifications
1770
- var serializer$3 = new msRest.Serializer(Mappers$3);
1771
- var listByServiceOperationSpec = {
1772
- httpMethod: "GET",
1773
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections",
1774
- urlParameters: [
1775
- subscriptionId,
1776
- resourceGroupName,
1777
- resourceName
1778
- ],
1779
- queryParameters: [
1780
- apiVersion
1781
- ],
1782
- headerParameters: [
1783
- acceptLanguage
1784
- ],
1785
- responses: {
1786
- 200: {
1787
- bodyMapper: PrivateEndpointConnectionListResult
1788
- },
1789
- default: {
1790
- bodyMapper: ErrorDetails
1791
- }
1792
- },
1793
- serializer: serializer$3
1794
- };
1795
- var getOperationSpec$2 = {
1796
- httpMethod: "GET",
1797
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
1798
- urlParameters: [
1799
- subscriptionId,
1800
- resourceGroupName,
1801
- resourceName,
1802
- privateEndpointConnectionName
1803
- ],
1804
- queryParameters: [
1805
- apiVersion
1806
- ],
1807
- headerParameters: [
1808
- acceptLanguage
1809
- ],
1810
- responses: {
1811
- 200: {
1812
- bodyMapper: PrivateEndpointConnection
1813
- },
1814
- default: {
1815
- bodyMapper: ErrorDetails
1816
- }
1817
- },
1818
- serializer: serializer$3
1819
- };
1820
- var beginCreateOrUpdateOperationSpec$1 = {
1821
- httpMethod: "PUT",
1822
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
1823
- urlParameters: [
1824
- subscriptionId,
1825
- resourceGroupName,
1826
- resourceName,
1827
- privateEndpointConnectionName
1828
- ],
1829
- queryParameters: [
1830
- apiVersion
1831
- ],
1832
- headerParameters: [
1833
- acceptLanguage
1834
- ],
1835
- requestBody: {
1836
- parameterPath: "properties",
1837
- mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
1838
- },
1839
- responses: {
1840
- 200: {
1841
- bodyMapper: PrivateEndpointConnection
1842
- },
1843
- default: {
1844
- bodyMapper: ErrorDetails
1845
- }
1846
- },
1847
- serializer: serializer$3
1848
- };
1849
- var beginDeleteMethodOperationSpec$1 = {
1850
- httpMethod: "DELETE",
1851
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
1852
- urlParameters: [
1853
- subscriptionId,
1854
- resourceGroupName,
1855
- resourceName,
1856
- privateEndpointConnectionName
1857
- ],
1858
- queryParameters: [
1859
- apiVersion
1860
- ],
1861
- headerParameters: [
1862
- acceptLanguage
1863
- ],
1864
- responses: {
1865
- 200: {},
1866
- 202: {},
1867
- 204: {},
1868
- default: {
1869
- bodyMapper: ErrorDetails
1870
- }
1871
- },
1872
- serializer: serializer$3
1873
- };
1874
-
1875
- /*
1876
- * Copyright (c) Microsoft Corporation. All rights reserved.
1877
- * Licensed under the MIT License. See License.txt in the project root for license information.
1878
- *
1879
- * Code generated by Microsoft (R) AutoRest Code Generator.
1880
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1881
- */
1882
-
1883
- var Mappers$4 = /*#__PURE__*/Object.freeze({
1884
- __proto__: null,
1885
- AzureEntityResource: AzureEntityResource,
1886
- BaseResource: BaseResource,
1887
- ErrorDetails: ErrorDetails,
1888
- ErrorDetailsInternal: ErrorDetailsInternal,
1889
- PrivateEndpoint: PrivateEndpoint,
1890
- PrivateEndpointConnection: PrivateEndpointConnection,
1891
- PrivateLinkResource: PrivateLinkResource,
1892
- PrivateLinkResourceListResult: PrivateLinkResourceListResult,
1893
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1894
- ProxyResource: ProxyResource,
1895
- Resource: Resource,
1896
- ServiceAccessPolicyEntry: ServiceAccessPolicyEntry,
1897
- ServiceAuthenticationConfigurationInfo: ServiceAuthenticationConfigurationInfo,
1898
- ServiceCorsConfigurationInfo: ServiceCorsConfigurationInfo,
1899
- ServiceCosmosDbConfigurationInfo: ServiceCosmosDbConfigurationInfo,
1900
- ServiceExportConfigurationInfo: ServiceExportConfigurationInfo,
1901
- ServicesDescription: ServicesDescription,
1902
- ServicesProperties: ServicesProperties,
1903
- ServicesResource: ServicesResource,
1904
- ServicesResourceIdentity: ServicesResourceIdentity,
1905
- TrackedResource: TrackedResource
1906
- });
1907
-
1908
- /*
1909
- * Copyright (c) Microsoft Corporation. All rights reserved.
1910
- * Licensed under the MIT License. See License.txt in the project root for
1911
- * license information.
1912
- *
1913
- * Code generated by Microsoft (R) AutoRest Code Generator.
1914
- * Changes may cause incorrect behavior and will be lost if the code is
1915
- * regenerated.
1916
- */
1917
- /** Class representing a PrivateLinkResources. */
1918
- var PrivateLinkResources = /** @class */ (function () {
1919
- /**
1920
- * Create a PrivateLinkResources.
1921
- * @param {HealthcareApisManagementClientContext} client Reference to the service client.
1922
- */
1923
- function PrivateLinkResources(client) {
1924
- this.client = client;
1925
- }
1926
- PrivateLinkResources.prototype.listByService = function (resourceGroupName, resourceName, options, callback) {
1927
- return this.client.sendOperationRequest({
1928
- resourceGroupName: resourceGroupName,
1929
- resourceName: resourceName,
1930
- options: options
1931
- }, listByServiceOperationSpec$1, callback);
1932
- };
1933
- PrivateLinkResources.prototype.get = function (resourceGroupName, resourceName, groupName, options, callback) {
1934
- return this.client.sendOperationRequest({
1935
- resourceGroupName: resourceGroupName,
1936
- resourceName: resourceName,
1937
- groupName: groupName,
1938
- options: options
1939
- }, getOperationSpec$3, callback);
1940
- };
1941
- return PrivateLinkResources;
1942
- }());
1943
- // Operation Specifications
1944
- var serializer$4 = new msRest.Serializer(Mappers$4);
1945
- var listByServiceOperationSpec$1 = {
1946
- httpMethod: "GET",
1947
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateLinkResources",
1948
- urlParameters: [
1949
- subscriptionId,
1950
- resourceGroupName,
1951
- resourceName
1952
- ],
1953
- queryParameters: [
1954
- apiVersion
1955
- ],
1956
- headerParameters: [
1957
- acceptLanguage
1958
- ],
1959
- responses: {
1960
- 200: {
1961
- bodyMapper: PrivateLinkResourceListResult
1962
- },
1963
- default: {
1964
- bodyMapper: ErrorDetails
1965
- }
1966
- },
1967
- serializer: serializer$4
1968
- };
1969
- var getOperationSpec$3 = {
1970
- httpMethod: "GET",
1971
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateLinkResources/{groupName}",
1972
- urlParameters: [
1973
- subscriptionId,
1974
- resourceGroupName,
1975
- resourceName,
1976
- groupName
1977
- ],
1978
- queryParameters: [
1979
- apiVersion
1980
- ],
1981
- headerParameters: [
1982
- acceptLanguage
1983
- ],
1984
- responses: {
1985
- 200: {
1986
- bodyMapper: PrivateLinkResource
1987
- },
1988
- default: {
1989
- bodyMapper: ErrorDetails
1990
- }
1991
- },
1992
- serializer: serializer$4
1993
- };
1994
-
1995
- /*
1996
- * Copyright (c) Microsoft Corporation. All rights reserved.
1997
- * Licensed under the MIT License. See License.txt in the project root for
1998
- * license information.
1999
- *
2000
- * Code generated by Microsoft (R) AutoRest Code Generator.
2001
- * Changes may cause incorrect behavior and will be lost if the code is
2002
- * regenerated.
2003
- */
2004
- var packageName = "@azure/arm-healthcareapis";
2005
- var packageVersion = "1.1.1";
2006
- var HealthcareApisManagementClientContext = /** @class */ (function (_super) {
2007
- __extends(HealthcareApisManagementClientContext, _super);
2008
- /**
2009
- * Initializes a new instance of the HealthcareApisManagementClient class.
2010
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
2011
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
2012
- * more information about these credentials, see
2013
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
2014
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
2015
- * @azure/ms-rest-browserauth are also supported.
2016
- * @param subscriptionId The subscription identifier.
2017
- * @param [options] The parameter options
2018
- */
2019
- function HealthcareApisManagementClientContext(credentials, subscriptionId, options) {
2020
- var _this = this;
2021
- if (credentials == undefined) {
2022
- throw new Error('\'credentials\' cannot be null.');
2023
- }
2024
- if (subscriptionId == undefined) {
2025
- throw new Error('\'subscriptionId\' cannot be null.');
2026
- }
2027
- if (!options) {
2028
- options = {};
2029
- }
2030
- if (!options.userAgent) {
2031
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
2032
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
2033
- }
2034
- _this = _super.call(this, credentials, options) || this;
2035
- _this.apiVersion = '2020-03-30';
2036
- _this.acceptLanguage = 'en-US';
2037
- _this.longRunningOperationRetryTimeout = 30;
2038
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
2039
- _this.requestContentType = "application/json; charset=utf-8";
2040
- _this.credentials = credentials;
2041
- _this.subscriptionId = subscriptionId;
2042
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
2043
- _this.acceptLanguage = options.acceptLanguage;
2044
- }
2045
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
2046
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
2047
- }
2048
- return _this;
2049
- }
2050
- return HealthcareApisManagementClientContext;
2051
- }(msRestAzure.AzureServiceClient));
2052
-
2053
- /*
2054
- * Copyright (c) Microsoft Corporation. All rights reserved.
2055
- * Licensed under the MIT License. See License.txt in the project root for
2056
- * license information.
2057
- *
2058
- * Code generated by Microsoft (R) AutoRest Code Generator.
2059
- * Changes may cause incorrect behavior and will be lost if the code is
2060
- * regenerated.
2061
- */
2062
- var HealthcareApisManagementClient = /** @class */ (function (_super) {
2063
- __extends(HealthcareApisManagementClient, _super);
2064
- /**
2065
- * Initializes a new instance of the HealthcareApisManagementClient class.
2066
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
2067
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
2068
- * more information about these credentials, see
2069
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
2070
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
2071
- * @azure/ms-rest-browserauth are also supported.
2072
- * @param subscriptionId The subscription identifier.
2073
- * @param [options] The parameter options
2074
- */
2075
- function HealthcareApisManagementClient(credentials, subscriptionId, options) {
2076
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
2077
- _this.services = new Services(_this);
2078
- _this.operations = new Operations(_this);
2079
- _this.operationResults = new OperationResults(_this);
2080
- _this.privateEndpointConnections = new PrivateEndpointConnections(_this);
2081
- _this.privateLinkResources = new PrivateLinkResources(_this);
2082
- return _this;
2083
- }
2084
- return HealthcareApisManagementClient;
2085
- }(HealthcareApisManagementClientContext));
2086
-
2087
- exports.HealthcareApisManagementClient = HealthcareApisManagementClient;
2088
- exports.HealthcareApisManagementClientContext = HealthcareApisManagementClientContext;
2089
- exports.HealthcareApisManagementMappers = mappers;
2090
- exports.HealthcareApisManagementModels = index;
2091
- exports.OperationResults = OperationResults;
2092
- exports.Operations = Operations;
2093
- exports.PrivateEndpointConnections = PrivateEndpointConnections;
2094
- exports.PrivateLinkResources = PrivateLinkResources;
2095
- exports.Services = Services;
2096
-
2097
- Object.defineProperty(exports, '__esModule', { value: true });
2098
-
2099
- })));
2100
- //# sourceMappingURL=arm-healthcareapis.js.map