@azure/arm-timeseriesinsights 2.1.0-beta.2 → 2.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (564) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/index.d.ts +47 -47
  11. package/dist/browser/models/index.d.ts.map +1 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/mappers.js +366 -164
  14. package/dist/browser/models/mappers.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  16. package/dist/browser/models/parameters.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/accessPolicies.d.ts +3 -3
  18. package/dist/browser/operations/accessPolicies.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/accessPolicies.js +3 -2
  20. package/dist/browser/operations/accessPolicies.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/environments.d.ts +3 -3
  22. package/dist/browser/operations/environments.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/environments.js +83 -81
  24. package/dist/browser/operations/environments.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/eventSources.d.ts +3 -3
  26. package/dist/browser/operations/eventSources.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/eventSources.js +3 -2
  28. package/dist/browser/operations/eventSources.js.map +1 -0
  29. package/dist/browser/operations/index.d.ts +8 -0
  30. package/dist/browser/operations/index.d.ts.map +1 -0
  31. package/dist/browser/operations/index.js +15 -0
  32. package/dist/browser/operations/index.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  34. package/dist/browser/operations/operations.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -41
  36. package/dist/browser/operations/operations.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  38. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -2
  40. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  42. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +12 -27
  44. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/referenceDataSets.d.ts +3 -3
  46. package/dist/browser/operations/referenceDataSets.d.ts.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/referenceDataSets.js +3 -2
  48. package/dist/browser/operations/referenceDataSets.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.d.ts +1 -1
  50. package/dist/browser/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/accessPolicies.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.d.ts +1 -1
  53. package/dist/browser/operationsInterfaces/environments.d.ts.map +1 -0
  54. package/dist/browser/operationsInterfaces/environments.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.d.ts +1 -1
  56. package/dist/browser/operationsInterfaces/eventSources.d.ts.map +1 -0
  57. package/dist/browser/operationsInterfaces/eventSources.js.map +1 -0
  58. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  59. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/index.js +15 -0
  61. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  66. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  69. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  70. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  71. package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.d.ts +1 -1
  72. package/dist/browser/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  73. package/dist/browser/operationsInterfaces/referenceDataSets.js.map +1 -0
  74. package/dist/browser/package.json +3 -0
  75. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  76. package/dist/browser/pagingHelper.js.map +1 -0
  77. package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.d.ts +2 -2
  78. package/dist/browser/timeSeriesInsightsClient.d.ts.map +1 -0
  79. package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.js +36 -24
  80. package/dist/browser/timeSeriesInsightsClient.js.map +1 -0
  81. package/dist/commonjs/index.d.ts +5 -0
  82. package/dist/commonjs/index.d.ts.map +1 -0
  83. package/dist/commonjs/index.js +19 -0
  84. package/dist/commonjs/index.js.map +1 -0
  85. package/dist/commonjs/lroImpl.d.ts +16 -0
  86. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  87. package/dist/commonjs/lroImpl.js +37 -0
  88. package/dist/commonjs/lroImpl.js.map +1 -0
  89. package/{types/arm-timeseriesinsights.d.ts → dist/commonjs/models/index.d.ts} +1320 -1830
  90. package/dist/commonjs/models/index.d.ts.map +1 -0
  91. package/dist/commonjs/models/index.js +183 -0
  92. package/dist/commonjs/models/index.js.map +1 -0
  93. package/dist/commonjs/models/mappers.d.ts +100 -0
  94. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  95. package/dist/commonjs/models/mappers.js +2372 -0
  96. package/dist/commonjs/models/mappers.js.map +1 -0
  97. package/dist/commonjs/models/parameters.d.ts +28 -0
  98. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  99. package/dist/commonjs/models/parameters.js +242 -0
  100. package/dist/commonjs/models/parameters.js.map +1 -0
  101. package/dist/commonjs/operations/accessPolicies.d.ts +65 -0
  102. package/dist/commonjs/operations/accessPolicies.d.ts.map +1 -0
  103. package/dist/commonjs/operations/accessPolicies.js +218 -0
  104. package/dist/commonjs/operations/accessPolicies.js.map +1 -0
  105. package/dist/commonjs/operations/environments.d.ts +78 -0
  106. package/dist/commonjs/operations/environments.d.ts.map +1 -0
  107. package/dist/commonjs/operations/environments.js +325 -0
  108. package/dist/commonjs/operations/environments.js.map +1 -0
  109. package/dist/commonjs/operations/eventSources.d.ts +66 -0
  110. package/dist/commonjs/operations/eventSources.d.ts.map +1 -0
  111. package/dist/commonjs/operations/eventSources.js +219 -0
  112. package/dist/commonjs/operations/eventSources.js.map +1 -0
  113. package/dist/commonjs/operations/index.d.ts +8 -0
  114. package/dist/commonjs/operations/index.d.ts.map +1 -0
  115. package/dist/commonjs/operations/index.js +18 -0
  116. package/dist/commonjs/operations/index.js.map +1 -0
  117. package/dist/commonjs/operations/operations.d.ts +32 -0
  118. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  119. package/dist/commonjs/operations/operations.js +121 -0
  120. package/dist/commonjs/operations/operations.js.map +1 -0
  121. package/dist/commonjs/operations/privateEndpointConnections.d.ts +52 -0
  122. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  123. package/dist/commonjs/operations/privateEndpointConnections.js +183 -0
  124. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  125. package/dist/commonjs/operations/privateLinkResources.d.ts +32 -0
  126. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  127. package/dist/commonjs/operations/privateLinkResources.js +95 -0
  128. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  129. package/dist/commonjs/operations/referenceDataSets.d.ts +66 -0
  130. package/dist/commonjs/operations/referenceDataSets.d.ts.map +1 -0
  131. package/dist/commonjs/operations/referenceDataSets.js +219 -0
  132. package/dist/commonjs/operations/referenceDataSets.js.map +1 -0
  133. package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts +57 -0
  134. package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  135. package/dist/commonjs/operationsInterfaces/accessPolicies.js +10 -0
  136. package/dist/commonjs/operationsInterfaces/accessPolicies.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/environments.d.ts +70 -0
  138. package/dist/commonjs/operationsInterfaces/environments.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/environments.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/environments.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/eventSources.d.ts +58 -0
  142. package/dist/commonjs/operationsInterfaces/eventSources.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/eventSources.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/eventSources.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  146. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  148. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  150. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  154. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +14 -0
  158. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts +58 -0
  162. package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/referenceDataSets.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/referenceDataSets.js.map +1 -0
  165. package/dist/commonjs/package.json +3 -0
  166. package/dist/commonjs/pagingHelper.d.ts +13 -0
  167. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  168. package/dist/commonjs/pagingHelper.js +34 -0
  169. package/dist/commonjs/pagingHelper.js.map +1 -0
  170. package/dist/commonjs/timeSeriesInsightsClient.d.ts +26 -0
  171. package/dist/commonjs/timeSeriesInsightsClient.d.ts.map +1 -0
  172. package/dist/commonjs/timeSeriesInsightsClient.js +123 -0
  173. package/dist/commonjs/timeSeriesInsightsClient.js.map +1 -0
  174. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  175. package/dist/esm/index.d.ts +5 -0
  176. package/dist/esm/index.d.ts.map +1 -0
  177. package/{src/index.ts → dist/esm/index.js} +5 -5
  178. package/dist/esm/index.js.map +1 -0
  179. package/dist/esm/lroImpl.d.ts +16 -0
  180. package/dist/esm/lroImpl.d.ts.map +1 -0
  181. package/dist/esm/lroImpl.js +33 -0
  182. package/dist/esm/lroImpl.js.map +1 -0
  183. package/dist/esm/models/index.d.ts +1320 -0
  184. package/dist/esm/models/index.d.ts.map +1 -0
  185. package/dist/esm/models/index.js +180 -0
  186. package/dist/esm/models/index.js.map +1 -0
  187. package/dist/esm/models/mappers.d.ts +100 -0
  188. package/dist/esm/models/mappers.d.ts.map +1 -0
  189. package/dist/esm/models/mappers.js +2368 -0
  190. package/dist/esm/models/mappers.js.map +1 -0
  191. package/dist/esm/models/parameters.d.ts +28 -0
  192. package/dist/esm/models/parameters.d.ts.map +1 -0
  193. package/dist/esm/models/parameters.js +239 -0
  194. package/dist/esm/models/parameters.js.map +1 -0
  195. package/dist/esm/operations/accessPolicies.d.ts +65 -0
  196. package/dist/esm/operations/accessPolicies.d.ts.map +1 -0
  197. package/dist/esm/operations/accessPolicies.js +213 -0
  198. package/dist/esm/operations/accessPolicies.js.map +1 -0
  199. package/dist/esm/operations/environments.d.ts +78 -0
  200. package/dist/esm/operations/environments.d.ts.map +1 -0
  201. package/dist/esm/operations/environments.js +320 -0
  202. package/dist/esm/operations/environments.js.map +1 -0
  203. package/dist/esm/operations/eventSources.d.ts +66 -0
  204. package/dist/esm/operations/eventSources.d.ts.map +1 -0
  205. package/dist/esm/operations/eventSources.js +214 -0
  206. package/dist/esm/operations/eventSources.js.map +1 -0
  207. package/dist/esm/operations/index.d.ts +8 -0
  208. package/dist/esm/operations/index.d.ts.map +1 -0
  209. package/dist/esm/operations/index.js +15 -0
  210. package/dist/esm/operations/index.js.map +1 -0
  211. package/dist/esm/operations/operations.d.ts +32 -0
  212. package/dist/esm/operations/operations.d.ts.map +1 -0
  213. package/dist/esm/operations/operations.js +116 -0
  214. package/dist/esm/operations/operations.js.map +1 -0
  215. package/dist/esm/operations/privateEndpointConnections.d.ts +52 -0
  216. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  217. package/dist/esm/operations/privateEndpointConnections.js +178 -0
  218. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  219. package/dist/esm/operations/privateLinkResources.d.ts +32 -0
  220. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  221. package/dist/esm/operations/privateLinkResources.js +90 -0
  222. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  223. package/dist/esm/operations/referenceDataSets.d.ts +66 -0
  224. package/dist/esm/operations/referenceDataSets.d.ts.map +1 -0
  225. package/dist/esm/operations/referenceDataSets.js +214 -0
  226. package/dist/esm/operations/referenceDataSets.js.map +1 -0
  227. package/dist/esm/operationsInterfaces/accessPolicies.d.ts +57 -0
  228. package/dist/esm/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  229. package/dist/esm/operationsInterfaces/accessPolicies.js +9 -0
  230. package/dist/esm/operationsInterfaces/accessPolicies.js.map +1 -0
  231. package/dist/esm/operationsInterfaces/environments.d.ts +70 -0
  232. package/dist/esm/operationsInterfaces/environments.d.ts.map +1 -0
  233. package/dist/esm/operationsInterfaces/environments.js +9 -0
  234. package/dist/esm/operationsInterfaces/environments.js.map +1 -0
  235. package/dist/esm/operationsInterfaces/eventSources.d.ts +58 -0
  236. package/dist/esm/operationsInterfaces/eventSources.d.ts.map +1 -0
  237. package/dist/esm/operationsInterfaces/eventSources.js +9 -0
  238. package/dist/esm/operationsInterfaces/eventSources.js.map +1 -0
  239. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  240. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  241. package/dist/esm/operationsInterfaces/index.js +15 -0
  242. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  243. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  244. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  245. package/dist/esm/operationsInterfaces/operations.js +9 -0
  246. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  247. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  248. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  249. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  250. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  251. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +14 -0
  252. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  253. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  254. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  255. package/dist/esm/operationsInterfaces/referenceDataSets.d.ts +58 -0
  256. package/dist/esm/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  257. package/dist/esm/operationsInterfaces/referenceDataSets.js +9 -0
  258. package/dist/esm/operationsInterfaces/referenceDataSets.js.map +1 -0
  259. package/dist/esm/package.json +3 -0
  260. package/dist/esm/pagingHelper.d.ts +13 -0
  261. package/dist/esm/pagingHelper.d.ts.map +1 -0
  262. package/dist/esm/pagingHelper.js +30 -0
  263. package/dist/esm/pagingHelper.js.map +1 -0
  264. package/dist/esm/timeSeriesInsightsClient.d.ts +26 -0
  265. package/dist/esm/timeSeriesInsightsClient.d.ts.map +1 -0
  266. package/dist/esm/timeSeriesInsightsClient.js +118 -0
  267. package/dist/esm/timeSeriesInsightsClient.js.map +1 -0
  268. package/dist/react-native/index.d.ts +5 -0
  269. package/dist/react-native/index.d.ts.map +1 -0
  270. package/dist/react-native/index.js +13 -0
  271. package/dist/react-native/index.js.map +1 -0
  272. package/dist/react-native/lroImpl.d.ts +16 -0
  273. package/dist/react-native/lroImpl.d.ts.map +1 -0
  274. package/dist/react-native/lroImpl.js +33 -0
  275. package/dist/react-native/lroImpl.js.map +1 -0
  276. package/dist/react-native/models/index.d.ts +1320 -0
  277. package/dist/react-native/models/index.d.ts.map +1 -0
  278. package/dist/react-native/models/index.js +180 -0
  279. package/dist/react-native/models/index.js.map +1 -0
  280. package/dist/react-native/models/mappers.d.ts +100 -0
  281. package/dist/react-native/models/mappers.d.ts.map +1 -0
  282. package/dist/react-native/models/mappers.js +2368 -0
  283. package/dist/react-native/models/mappers.js.map +1 -0
  284. package/dist/react-native/models/parameters.d.ts +28 -0
  285. package/dist/react-native/models/parameters.d.ts.map +1 -0
  286. package/dist/react-native/models/parameters.js +239 -0
  287. package/dist/react-native/models/parameters.js.map +1 -0
  288. package/dist/react-native/operations/accessPolicies.d.ts +65 -0
  289. package/dist/react-native/operations/accessPolicies.d.ts.map +1 -0
  290. package/dist/react-native/operations/accessPolicies.js +213 -0
  291. package/dist/react-native/operations/accessPolicies.js.map +1 -0
  292. package/dist/react-native/operations/environments.d.ts +78 -0
  293. package/dist/react-native/operations/environments.d.ts.map +1 -0
  294. package/dist/react-native/operations/environments.js +320 -0
  295. package/dist/react-native/operations/environments.js.map +1 -0
  296. package/dist/react-native/operations/eventSources.d.ts +66 -0
  297. package/dist/react-native/operations/eventSources.d.ts.map +1 -0
  298. package/dist/react-native/operations/eventSources.js +214 -0
  299. package/dist/react-native/operations/eventSources.js.map +1 -0
  300. package/dist/react-native/operations/index.d.ts +8 -0
  301. package/dist/react-native/operations/index.d.ts.map +1 -0
  302. package/dist/react-native/operations/index.js +15 -0
  303. package/dist/react-native/operations/index.js.map +1 -0
  304. package/dist/react-native/operations/operations.d.ts +32 -0
  305. package/dist/react-native/operations/operations.d.ts.map +1 -0
  306. package/dist/react-native/operations/operations.js +116 -0
  307. package/dist/react-native/operations/operations.js.map +1 -0
  308. package/dist/react-native/operations/privateEndpointConnections.d.ts +52 -0
  309. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  310. package/dist/react-native/operations/privateEndpointConnections.js +178 -0
  311. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  312. package/dist/react-native/operations/privateLinkResources.d.ts +32 -0
  313. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  314. package/dist/react-native/operations/privateLinkResources.js +90 -0
  315. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  316. package/dist/react-native/operations/referenceDataSets.d.ts +66 -0
  317. package/dist/react-native/operations/referenceDataSets.d.ts.map +1 -0
  318. package/dist/react-native/operations/referenceDataSets.js +214 -0
  319. package/dist/react-native/operations/referenceDataSets.js.map +1 -0
  320. package/dist/react-native/operationsInterfaces/accessPolicies.d.ts +57 -0
  321. package/dist/react-native/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  322. package/dist/react-native/operationsInterfaces/accessPolicies.js +9 -0
  323. package/dist/react-native/operationsInterfaces/accessPolicies.js.map +1 -0
  324. package/dist/react-native/operationsInterfaces/environments.d.ts +70 -0
  325. package/dist/react-native/operationsInterfaces/environments.d.ts.map +1 -0
  326. package/dist/react-native/operationsInterfaces/environments.js +9 -0
  327. package/dist/react-native/operationsInterfaces/environments.js.map +1 -0
  328. package/dist/react-native/operationsInterfaces/eventSources.d.ts +58 -0
  329. package/dist/react-native/operationsInterfaces/eventSources.d.ts.map +1 -0
  330. package/dist/react-native/operationsInterfaces/eventSources.js +9 -0
  331. package/dist/react-native/operationsInterfaces/eventSources.js.map +1 -0
  332. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  333. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  334. package/dist/react-native/operationsInterfaces/index.js +15 -0
  335. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  336. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  337. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  338. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  339. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  340. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  341. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  342. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  343. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  344. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +14 -0
  345. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  346. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  347. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  348. package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts +58 -0
  349. package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  350. package/dist/react-native/operationsInterfaces/referenceDataSets.js +9 -0
  351. package/dist/react-native/operationsInterfaces/referenceDataSets.js.map +1 -0
  352. package/dist/react-native/package.json +3 -0
  353. package/dist/react-native/pagingHelper.d.ts +13 -0
  354. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  355. package/dist/react-native/pagingHelper.js +30 -0
  356. package/dist/react-native/pagingHelper.js.map +1 -0
  357. package/dist/react-native/timeSeriesInsightsClient.d.ts +26 -0
  358. package/dist/react-native/timeSeriesInsightsClient.d.ts.map +1 -0
  359. package/dist/react-native/timeSeriesInsightsClient.js +118 -0
  360. package/dist/react-native/timeSeriesInsightsClient.js.map +1 -0
  361. package/package.json +84 -73
  362. package/dist/index.js +0 -4204
  363. package/dist/index.js.map +0 -1
  364. package/dist/index.min.js +0 -1
  365. package/dist/index.min.js.map +0 -1
  366. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts +0 -2
  367. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +0 -1
  368. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +0 -44
  369. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +0 -1
  370. package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +0 -2
  371. package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +0 -1
  372. package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +0 -39
  373. package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +0 -1
  374. package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +0 -2
  375. package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +0 -1
  376. package/dist-esm/samples-dev/accessPoliciesGetSample.js +0 -39
  377. package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +0 -1
  378. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +0 -2
  379. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +0 -38
  381. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +0 -1
  382. package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +0 -2
  383. package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +0 -42
  385. package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +0 -1
  386. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +0 -45
  389. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +0 -1
  390. package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/environmentsDeleteSample.js +0 -38
  393. package/dist-esm/samples-dev/environmentsDeleteSample.js.map +0 -1
  394. package/dist-esm/samples-dev/environmentsGetSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/environmentsGetSample.js +0 -38
  397. package/dist-esm/samples-dev/environmentsGetSample.js.map +0 -1
  398. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +0 -37
  401. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +0 -1
  402. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +0 -36
  405. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +0 -1
  406. package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/environmentsUpdateSample.js +0 -42
  409. package/dist-esm/samples-dev/environmentsUpdateSample.js.map +0 -1
  410. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +0 -87
  413. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +0 -1
  414. package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/eventSourcesDeleteSample.js +0 -39
  417. package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +0 -1
  418. package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/eventSourcesGetSample.js +0 -39
  421. package/dist-esm/samples-dev/eventSourcesGetSample.js.map +0 -1
  422. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +0 -38
  425. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +0 -1
  426. package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/eventSourcesUpdateSample.js +0 -43
  429. package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +0 -1
  430. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/operationsListSample.js +0 -51
  433. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  434. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -45
  437. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
  438. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -39
  441. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  442. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -39
  445. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  446. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +0 -38
  449. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +0 -1
  450. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -52
  453. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
  454. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +0 -46
  457. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +0 -1
  458. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +0 -39
  461. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +0 -1
  462. package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/referenceDataSetsGetSample.js +0 -39
  465. package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +0 -1
  466. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +0 -38
  469. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +0 -1
  470. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +0 -2
  471. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +0 -1
  472. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +0 -42
  473. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +0 -1
  474. package/dist-esm/src/index.d.ts +0 -6
  475. package/dist-esm/src/index.d.ts.map +0 -1
  476. package/dist-esm/src/index.js.map +0 -1
  477. package/dist-esm/src/lroImpl.js.map +0 -1
  478. package/dist-esm/src/models/index.d.ts.map +0 -1
  479. package/dist-esm/src/models/index.js.map +0 -1
  480. package/dist-esm/src/models/mappers.js.map +0 -1
  481. package/dist-esm/src/models/parameters.js.map +0 -1
  482. package/dist-esm/src/operations/accessPolicies.d.ts.map +0 -1
  483. package/dist-esm/src/operations/accessPolicies.js.map +0 -1
  484. package/dist-esm/src/operations/environments.d.ts.map +0 -1
  485. package/dist-esm/src/operations/environments.js.map +0 -1
  486. package/dist-esm/src/operations/eventSources.d.ts.map +0 -1
  487. package/dist-esm/src/operations/eventSources.js.map +0 -1
  488. package/dist-esm/src/operations/index.d.ts +0 -8
  489. package/dist-esm/src/operations/index.d.ts.map +0 -1
  490. package/dist-esm/src/operations/index.js +0 -15
  491. package/dist-esm/src/operations/index.js.map +0 -1
  492. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  493. package/dist-esm/src/operations/operations.js.map +0 -1
  494. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  495. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  496. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  497. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  498. package/dist-esm/src/operations/referenceDataSets.d.ts.map +0 -1
  499. package/dist-esm/src/operations/referenceDataSets.js.map +0 -1
  500. package/dist-esm/src/operationsInterfaces/accessPolicies.d.ts.map +0 -1
  501. package/dist-esm/src/operationsInterfaces/accessPolicies.js.map +0 -1
  502. package/dist-esm/src/operationsInterfaces/environments.d.ts.map +0 -1
  503. package/dist-esm/src/operationsInterfaces/environments.js.map +0 -1
  504. package/dist-esm/src/operationsInterfaces/eventSources.d.ts.map +0 -1
  505. package/dist-esm/src/operationsInterfaces/eventSources.js.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  507. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  509. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  511. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  512. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  513. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  514. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  515. package/dist-esm/src/operationsInterfaces/referenceDataSets.d.ts.map +0 -1
  516. package/dist-esm/src/operationsInterfaces/referenceDataSets.js.map +0 -1
  517. package/dist-esm/src/pagingHelper.js.map +0 -1
  518. package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +0 -1
  519. package/dist-esm/src/timeSeriesInsightsClient.js.map +0 -1
  520. package/dist-esm/test/sampleTest.d.ts +0 -2
  521. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  522. package/dist-esm/test/sampleTest.js +0 -38
  523. package/dist-esm/test/sampleTest.js.map +0 -1
  524. package/rollup.config.js +0 -122
  525. package/src/lroImpl.ts +0 -34
  526. package/src/models/index.ts +0 -1527
  527. package/src/models/mappers.ts +0 -2456
  528. package/src/models/parameters.ts +0 -280
  529. package/src/operations/accessPolicies.ts +0 -282
  530. package/src/operations/environments.ts +0 -451
  531. package/src/operations/eventSources.ts +0 -283
  532. package/src/operations/index.ts +0 -15
  533. package/src/operations/operations.ts +0 -149
  534. package/src/operations/privateEndpointConnections.ts +0 -234
  535. package/src/operations/privateLinkResources.ts +0 -143
  536. package/src/operations/referenceDataSets.ts +0 -283
  537. package/src/operationsInterfaces/accessPolicies.ts +0 -103
  538. package/src/operationsInterfaces/environments.ts +0 -135
  539. package/src/operationsInterfaces/eventSources.ts +0 -104
  540. package/src/operationsInterfaces/index.ts +0 -15
  541. package/src/operationsInterfaces/operations.ts +0 -22
  542. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -81
  543. package/src/operationsInterfaces/privateLinkResources.ts +0 -30
  544. package/src/operationsInterfaces/referenceDataSets.ts +0 -104
  545. package/src/pagingHelper.ts +0 -39
  546. package/src/timeSeriesInsightsClient.ts +0 -168
  547. package/tsconfig.json +0 -33
  548. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  549. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  550. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  551. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  552. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  553. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  554. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  555. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.js +0 -0
  556. /package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.js +0 -0
  557. /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.js +0 -0
  558. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  559. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  560. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  561. /package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.js +0 -0
  562. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  563. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  564. /package/review/{arm-timeseriesinsights.api.md → arm-timeseriesinsights-node.api.md} +0 -0
package/dist/index.js DELETED
@@ -1,4204 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var tslib = require('tslib');
6
- var coreClient = require('@azure/core-client');
7
- var coreRestPipeline = require('@azure/core-rest-pipeline');
8
- var coreLro = require('@azure/core-lro');
9
-
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
12
- var n = Object.create(null);
13
- if (e) {
14
- Object.keys(e).forEach(function (k) {
15
- if (k !== 'default') {
16
- var d = Object.getOwnPropertyDescriptor(e, k);
17
- Object.defineProperty(n, k, d.get ? d : {
18
- enumerable: true,
19
- get: function () { return e[k]; }
20
- });
21
- }
22
- });
23
- }
24
- n["default"] = e;
25
- return Object.freeze(n);
26
- }
27
-
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
30
-
31
- /*
32
- * Copyright (c) Microsoft Corporation.
33
- * Licensed under the MIT License.
34
- *
35
- * Code generated by Microsoft (R) AutoRest Code Generator.
36
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
37
- */
38
- const pageMap = new WeakMap();
39
- /**
40
- * Given the last `.value` produced by the `byPage` iterator,
41
- * returns a continuation token that can be used to begin paging from
42
- * that point later.
43
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
44
- * @returns The continuation token that can be passed into byPage() during future calls.
45
- */
46
- function getContinuationToken(page) {
47
- var _a;
48
- if (typeof page !== "object" || page === null) {
49
- return undefined;
50
- }
51
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
52
- }
53
- function setContinuationToken(page, continuationToken) {
54
- var _a;
55
- if (typeof page !== "object" || page === null || !continuationToken) {
56
- return;
57
- }
58
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
59
- pageInfo.continuationToken = continuationToken;
60
- pageMap.set(page, pageInfo);
61
- }
62
-
63
- /*
64
- * Copyright (c) Microsoft Corporation.
65
- * Licensed under the MIT License.
66
- *
67
- * Code generated by Microsoft (R) AutoRest Code Generator.
68
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
69
- */
70
- /** Known values of {@link EnvironmentKind} that the service accepts. */
71
- exports.KnownEnvironmentKind = void 0;
72
- (function (KnownEnvironmentKind) {
73
- /** Gen1 */
74
- KnownEnvironmentKind["Gen1"] = "Gen1";
75
- /** Gen2 */
76
- KnownEnvironmentKind["Gen2"] = "Gen2";
77
- })(exports.KnownEnvironmentKind || (exports.KnownEnvironmentKind = {}));
78
- /** Known values of {@link SkuName} that the service accepts. */
79
- exports.KnownSkuName = void 0;
80
- (function (KnownSkuName) {
81
- /** S1 */
82
- KnownSkuName["S1"] = "S1";
83
- /** S2 */
84
- KnownSkuName["S2"] = "S2";
85
- /** P1 */
86
- KnownSkuName["P1"] = "P1";
87
- /** L1 */
88
- KnownSkuName["L1"] = "L1";
89
- })(exports.KnownSkuName || (exports.KnownSkuName = {}));
90
- /** Known values of {@link EnvironmentResourceKind} that the service accepts. */
91
- exports.KnownEnvironmentResourceKind = void 0;
92
- (function (KnownEnvironmentResourceKind) {
93
- /** Gen1 */
94
- KnownEnvironmentResourceKind["Gen1"] = "Gen1";
95
- /** Gen2 */
96
- KnownEnvironmentResourceKind["Gen2"] = "Gen2";
97
- })(exports.KnownEnvironmentResourceKind || (exports.KnownEnvironmentResourceKind = {}));
98
- /** Known values of {@link EventSourceKind} that the service accepts. */
99
- exports.KnownEventSourceKind = void 0;
100
- (function (KnownEventSourceKind) {
101
- /** MicrosoftEventHub */
102
- KnownEventSourceKind["MicrosoftEventHub"] = "Microsoft.EventHub";
103
- /** MicrosoftIoTHub */
104
- KnownEventSourceKind["MicrosoftIoTHub"] = "Microsoft.IoTHub";
105
- })(exports.KnownEventSourceKind || (exports.KnownEventSourceKind = {}));
106
- /** Known values of {@link LocalTimestampFormat} that the service accepts. */
107
- exports.KnownLocalTimestampFormat = void 0;
108
- (function (KnownLocalTimestampFormat) {
109
- /** Embedded */
110
- KnownLocalTimestampFormat["Embedded"] = "Embedded";
111
- })(exports.KnownLocalTimestampFormat || (exports.KnownLocalTimestampFormat = {}));
112
- /** Known values of {@link EventSourceResourceKind} that the service accepts. */
113
- exports.KnownEventSourceResourceKind = void 0;
114
- (function (KnownEventSourceResourceKind) {
115
- /** MicrosoftEventHub */
116
- KnownEventSourceResourceKind["MicrosoftEventHub"] = "Microsoft.EventHub";
117
- /** MicrosoftIoTHub */
118
- KnownEventSourceResourceKind["MicrosoftIoTHub"] = "Microsoft.IoTHub";
119
- })(exports.KnownEventSourceResourceKind || (exports.KnownEventSourceResourceKind = {}));
120
- /** Known values of {@link ReferenceDataKeyPropertyType} that the service accepts. */
121
- exports.KnownReferenceDataKeyPropertyType = void 0;
122
- (function (KnownReferenceDataKeyPropertyType) {
123
- /** String */
124
- KnownReferenceDataKeyPropertyType["String"] = "String";
125
- /** Double */
126
- KnownReferenceDataKeyPropertyType["Double"] = "Double";
127
- /** Bool */
128
- KnownReferenceDataKeyPropertyType["Bool"] = "Bool";
129
- /** DateTime */
130
- KnownReferenceDataKeyPropertyType["DateTime"] = "DateTime";
131
- })(exports.KnownReferenceDataKeyPropertyType || (exports.KnownReferenceDataKeyPropertyType = {}));
132
- /** Known values of {@link DataStringComparisonBehavior} that the service accepts. */
133
- exports.KnownDataStringComparisonBehavior = void 0;
134
- (function (KnownDataStringComparisonBehavior) {
135
- /** Ordinal */
136
- KnownDataStringComparisonBehavior["Ordinal"] = "Ordinal";
137
- /** OrdinalIgnoreCase */
138
- KnownDataStringComparisonBehavior["OrdinalIgnoreCase"] = "OrdinalIgnoreCase";
139
- })(exports.KnownDataStringComparisonBehavior || (exports.KnownDataStringComparisonBehavior = {}));
140
- /** Known values of {@link ProvisioningState} that the service accepts. */
141
- exports.KnownProvisioningState = void 0;
142
- (function (KnownProvisioningState) {
143
- /** Accepted */
144
- KnownProvisioningState["Accepted"] = "Accepted";
145
- /** Creating */
146
- KnownProvisioningState["Creating"] = "Creating";
147
- /** Updating */
148
- KnownProvisioningState["Updating"] = "Updating";
149
- /** Succeeded */
150
- KnownProvisioningState["Succeeded"] = "Succeeded";
151
- /** Failed */
152
- KnownProvisioningState["Failed"] = "Failed";
153
- /** Deleting */
154
- KnownProvisioningState["Deleting"] = "Deleting";
155
- })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
156
- /** Known values of {@link AccessPolicyRole} that the service accepts. */
157
- exports.KnownAccessPolicyRole = void 0;
158
- (function (KnownAccessPolicyRole) {
159
- /** Reader */
160
- KnownAccessPolicyRole["Reader"] = "Reader";
161
- /** Contributor */
162
- KnownAccessPolicyRole["Contributor"] = "Contributor";
163
- })(exports.KnownAccessPolicyRole || (exports.KnownAccessPolicyRole = {}));
164
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
165
- exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
166
- (function (KnownPrivateEndpointConnectionProvisioningState) {
167
- /** Succeeded */
168
- KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
169
- /** Creating */
170
- KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
171
- /** Deleting */
172
- KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
173
- /** Failed */
174
- KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
175
- })(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
176
- /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
177
- exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
178
- (function (KnownPrivateEndpointServiceConnectionStatus) {
179
- /** Pending */
180
- KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
181
- /** Approved */
182
- KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
183
- /** Rejected */
184
- KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
185
- })(exports.KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = {}));
186
- /** Known values of {@link StorageLimitExceededBehavior} that the service accepts. */
187
- exports.KnownStorageLimitExceededBehavior = void 0;
188
- (function (KnownStorageLimitExceededBehavior) {
189
- /** PurgeOldData */
190
- KnownStorageLimitExceededBehavior["PurgeOldData"] = "PurgeOldData";
191
- /** PauseIngress */
192
- KnownStorageLimitExceededBehavior["PauseIngress"] = "PauseIngress";
193
- })(exports.KnownStorageLimitExceededBehavior || (exports.KnownStorageLimitExceededBehavior = {}));
194
- /** Known values of {@link PropertyType} that the service accepts. */
195
- exports.KnownPropertyType = void 0;
196
- (function (KnownPropertyType) {
197
- /** String */
198
- KnownPropertyType["String"] = "String";
199
- })(exports.KnownPropertyType || (exports.KnownPropertyType = {}));
200
- /** Known values of {@link PublicNetworkAccess} that the service accepts. */
201
- exports.KnownPublicNetworkAccess = void 0;
202
- (function (KnownPublicNetworkAccess) {
203
- /** Enabled */
204
- KnownPublicNetworkAccess["Enabled"] = "enabled";
205
- /** Disabled */
206
- KnownPublicNetworkAccess["Disabled"] = "disabled";
207
- })(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
208
- /** Known values of {@link IngressState} that the service accepts. */
209
- exports.KnownIngressState = void 0;
210
- (function (KnownIngressState) {
211
- /** Disabled */
212
- KnownIngressState["Disabled"] = "Disabled";
213
- /** Ready */
214
- KnownIngressState["Ready"] = "Ready";
215
- /** Running */
216
- KnownIngressState["Running"] = "Running";
217
- /** Paused */
218
- KnownIngressState["Paused"] = "Paused";
219
- /** Unknown */
220
- KnownIngressState["Unknown"] = "Unknown";
221
- })(exports.KnownIngressState || (exports.KnownIngressState = {}));
222
- /** Known values of {@link WarmStoragePropertiesState} that the service accepts. */
223
- exports.KnownWarmStoragePropertiesState = void 0;
224
- (function (KnownWarmStoragePropertiesState) {
225
- /** Ok */
226
- KnownWarmStoragePropertiesState["Ok"] = "Ok";
227
- /** Error */
228
- KnownWarmStoragePropertiesState["Error"] = "Error";
229
- /** Unknown */
230
- KnownWarmStoragePropertiesState["Unknown"] = "Unknown";
231
- })(exports.KnownWarmStoragePropertiesState || (exports.KnownWarmStoragePropertiesState = {}));
232
- /** Known values of {@link IngressStartAtType} that the service accepts. */
233
- exports.KnownIngressStartAtType = void 0;
234
- (function (KnownIngressStartAtType) {
235
- /** EarliestAvailable */
236
- KnownIngressStartAtType["EarliestAvailable"] = "EarliestAvailable";
237
- /** EventSourceCreationTime */
238
- KnownIngressStartAtType["EventSourceCreationTime"] = "EventSourceCreationTime";
239
- /** CustomEnqueuedTime */
240
- KnownIngressStartAtType["CustomEnqueuedTime"] = "CustomEnqueuedTime";
241
- })(exports.KnownIngressStartAtType || (exports.KnownIngressStartAtType = {}));
242
-
243
- /*
244
- * Copyright (c) Microsoft Corporation.
245
- * Licensed under the MIT License.
246
- *
247
- * Code generated by Microsoft (R) AutoRest Code Generator.
248
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
249
- */
250
- const OperationListResult = {
251
- type: {
252
- name: "Composite",
253
- className: "OperationListResult",
254
- modelProperties: {
255
- value: {
256
- serializedName: "value",
257
- readOnly: true,
258
- type: {
259
- name: "Sequence",
260
- element: {
261
- type: {
262
- name: "Composite",
263
- className: "Operation"
264
- }
265
- }
266
- }
267
- },
268
- nextLink: {
269
- serializedName: "nextLink",
270
- readOnly: true,
271
- type: {
272
- name: "String"
273
- }
274
- }
275
- }
276
- }
277
- };
278
- const Operation = {
279
- type: {
280
- name: "Composite",
281
- className: "Operation",
282
- modelProperties: {
283
- name: {
284
- serializedName: "name",
285
- readOnly: true,
286
- type: {
287
- name: "String"
288
- }
289
- },
290
- display: {
291
- serializedName: "display",
292
- type: {
293
- name: "Composite",
294
- className: "OperationDisplay"
295
- }
296
- },
297
- origin: {
298
- serializedName: "origin",
299
- type: {
300
- name: "String"
301
- }
302
- },
303
- serviceSpecification: {
304
- serializedName: "properties.serviceSpecification",
305
- type: {
306
- name: "Composite",
307
- className: "ServiceSpecification"
308
- }
309
- }
310
- }
311
- }
312
- };
313
- const OperationDisplay = {
314
- type: {
315
- name: "Composite",
316
- className: "OperationDisplay",
317
- modelProperties: {
318
- provider: {
319
- serializedName: "provider",
320
- readOnly: true,
321
- type: {
322
- name: "String"
323
- }
324
- },
325
- resource: {
326
- serializedName: "resource",
327
- readOnly: true,
328
- type: {
329
- name: "String"
330
- }
331
- },
332
- operation: {
333
- serializedName: "operation",
334
- readOnly: true,
335
- type: {
336
- name: "String"
337
- }
338
- },
339
- description: {
340
- serializedName: "description",
341
- readOnly: true,
342
- type: {
343
- name: "String"
344
- }
345
- }
346
- }
347
- }
348
- };
349
- const ServiceSpecification = {
350
- type: {
351
- name: "Composite",
352
- className: "ServiceSpecification",
353
- modelProperties: {
354
- metricSpecifications: {
355
- serializedName: "metricSpecifications",
356
- type: {
357
- name: "Sequence",
358
- element: {
359
- type: {
360
- name: "Composite",
361
- className: "MetricSpecification"
362
- }
363
- }
364
- }
365
- },
366
- logSpecifications: {
367
- serializedName: "logSpecifications",
368
- type: {
369
- name: "Sequence",
370
- element: {
371
- type: {
372
- name: "Composite",
373
- className: "LogSpecification"
374
- }
375
- }
376
- }
377
- }
378
- }
379
- }
380
- };
381
- const MetricSpecification = {
382
- type: {
383
- name: "Composite",
384
- className: "MetricSpecification",
385
- modelProperties: {
386
- name: {
387
- serializedName: "name",
388
- type: {
389
- name: "String"
390
- }
391
- },
392
- displayName: {
393
- serializedName: "displayName",
394
- type: {
395
- name: "String"
396
- }
397
- },
398
- displayDescription: {
399
- serializedName: "displayDescription",
400
- type: {
401
- name: "String"
402
- }
403
- },
404
- unit: {
405
- serializedName: "unit",
406
- type: {
407
- name: "String"
408
- }
409
- },
410
- dimensions: {
411
- serializedName: "dimensions",
412
- type: {
413
- name: "Sequence",
414
- element: {
415
- type: {
416
- name: "Composite",
417
- className: "Dimension"
418
- }
419
- }
420
- }
421
- },
422
- aggregationType: {
423
- serializedName: "aggregationType",
424
- type: {
425
- name: "String"
426
- }
427
- },
428
- availabilities: {
429
- serializedName: "availabilities",
430
- type: {
431
- name: "Sequence",
432
- element: {
433
- type: {
434
- name: "Composite",
435
- className: "MetricAvailability"
436
- }
437
- }
438
- }
439
- },
440
- category: {
441
- serializedName: "category",
442
- type: {
443
- name: "String"
444
- }
445
- },
446
- resourceIdDimensionNameOverride: {
447
- serializedName: "resourceIdDimensionNameOverride",
448
- type: {
449
- name: "String"
450
- }
451
- }
452
- }
453
- }
454
- };
455
- const Dimension = {
456
- type: {
457
- name: "Composite",
458
- className: "Dimension",
459
- modelProperties: {
460
- name: {
461
- serializedName: "name",
462
- type: {
463
- name: "String"
464
- }
465
- },
466
- displayName: {
467
- serializedName: "displayName",
468
- type: {
469
- name: "String"
470
- }
471
- }
472
- }
473
- }
474
- };
475
- const MetricAvailability = {
476
- type: {
477
- name: "Composite",
478
- className: "MetricAvailability",
479
- modelProperties: {
480
- timeGrain: {
481
- serializedName: "timeGrain",
482
- type: {
483
- name: "String"
484
- }
485
- },
486
- blobDuration: {
487
- serializedName: "blobDuration",
488
- type: {
489
- name: "String"
490
- }
491
- }
492
- }
493
- }
494
- };
495
- const LogSpecification = {
496
- type: {
497
- name: "Composite",
498
- className: "LogSpecification",
499
- modelProperties: {
500
- name: {
501
- serializedName: "name",
502
- type: {
503
- name: "String"
504
- }
505
- },
506
- displayName: {
507
- serializedName: "displayName",
508
- type: {
509
- name: "String"
510
- }
511
- }
512
- }
513
- }
514
- };
515
- const CloudError = {
516
- type: {
517
- name: "Composite",
518
- className: "CloudError",
519
- modelProperties: {
520
- error: {
521
- serializedName: "error",
522
- type: {
523
- name: "Composite",
524
- className: "CloudErrorBody"
525
- }
526
- }
527
- }
528
- }
529
- };
530
- const CloudErrorBody = {
531
- type: {
532
- name: "Composite",
533
- className: "CloudErrorBody",
534
- modelProperties: {
535
- code: {
536
- serializedName: "code",
537
- type: {
538
- name: "String"
539
- }
540
- },
541
- message: {
542
- serializedName: "message",
543
- type: {
544
- name: "String"
545
- }
546
- },
547
- target: {
548
- serializedName: "target",
549
- type: {
550
- name: "String"
551
- }
552
- },
553
- details: {
554
- serializedName: "details",
555
- type: {
556
- name: "Sequence",
557
- element: {
558
- type: {
559
- name: "Composite",
560
- className: "CloudErrorBody"
561
- }
562
- }
563
- }
564
- }
565
- }
566
- }
567
- };
568
- const Sku = {
569
- type: {
570
- name: "Composite",
571
- className: "Sku",
572
- modelProperties: {
573
- name: {
574
- serializedName: "name",
575
- required: true,
576
- type: {
577
- name: "String"
578
- }
579
- },
580
- capacity: {
581
- constraints: {
582
- InclusiveMaximum: 10,
583
- InclusiveMinimum: 1
584
- },
585
- serializedName: "capacity",
586
- required: true,
587
- type: {
588
- name: "Number"
589
- }
590
- }
591
- }
592
- }
593
- };
594
- const CreateOrUpdateTrackedResourceProperties = {
595
- type: {
596
- name: "Composite",
597
- className: "CreateOrUpdateTrackedResourceProperties",
598
- modelProperties: {
599
- location: {
600
- serializedName: "location",
601
- required: true,
602
- type: {
603
- name: "String"
604
- }
605
- },
606
- tags: {
607
- serializedName: "tags",
608
- type: {
609
- name: "Dictionary",
610
- value: { type: { name: "String" } }
611
- }
612
- }
613
- }
614
- }
615
- };
616
- const Resource = {
617
- type: {
618
- name: "Composite",
619
- className: "Resource",
620
- modelProperties: {
621
- id: {
622
- serializedName: "id",
623
- readOnly: true,
624
- type: {
625
- name: "String"
626
- }
627
- },
628
- name: {
629
- serializedName: "name",
630
- readOnly: true,
631
- type: {
632
- name: "String"
633
- }
634
- },
635
- type: {
636
- serializedName: "type",
637
- readOnly: true,
638
- type: {
639
- name: "String"
640
- }
641
- }
642
- }
643
- }
644
- };
645
- const EnvironmentUpdateParameters = {
646
- type: {
647
- name: "Composite",
648
- className: "EnvironmentUpdateParameters",
649
- uberParent: "EnvironmentUpdateParameters",
650
- polymorphicDiscriminator: {
651
- serializedName: "kind",
652
- clientName: "kind"
653
- },
654
- modelProperties: {
655
- kind: {
656
- serializedName: "kind",
657
- required: true,
658
- type: {
659
- name: "String"
660
- }
661
- },
662
- tags: {
663
- serializedName: "tags",
664
- type: {
665
- name: "Dictionary",
666
- value: { type: { name: "String" } }
667
- }
668
- }
669
- }
670
- }
671
- };
672
- const EnvironmentListResponse = {
673
- type: {
674
- name: "Composite",
675
- className: "EnvironmentListResponse",
676
- modelProperties: {
677
- value: {
678
- serializedName: "value",
679
- type: {
680
- name: "Sequence",
681
- element: {
682
- type: {
683
- name: "Composite",
684
- className: "EnvironmentResource"
685
- }
686
- }
687
- }
688
- }
689
- }
690
- }
691
- };
692
- const LocalTimestamp = {
693
- type: {
694
- name: "Composite",
695
- className: "LocalTimestamp",
696
- modelProperties: {
697
- format: {
698
- serializedName: "format",
699
- type: {
700
- name: "String"
701
- }
702
- },
703
- timeZoneOffset: {
704
- serializedName: "timeZoneOffset",
705
- type: {
706
- name: "Composite",
707
- className: "LocalTimestampTimeZoneOffset"
708
- }
709
- }
710
- }
711
- }
712
- };
713
- const LocalTimestampTimeZoneOffset = {
714
- type: {
715
- name: "Composite",
716
- className: "LocalTimestampTimeZoneOffset",
717
- modelProperties: {
718
- propertyName: {
719
- serializedName: "propertyName",
720
- type: {
721
- name: "String"
722
- }
723
- }
724
- }
725
- }
726
- };
727
- const EventSourceUpdateParameters = {
728
- type: {
729
- name: "Composite",
730
- className: "EventSourceUpdateParameters",
731
- uberParent: "EventSourceUpdateParameters",
732
- polymorphicDiscriminator: {
733
- serializedName: "kind",
734
- clientName: "kind"
735
- },
736
- modelProperties: {
737
- kind: {
738
- serializedName: "kind",
739
- required: true,
740
- type: {
741
- name: "String"
742
- }
743
- },
744
- tags: {
745
- serializedName: "tags",
746
- type: {
747
- name: "Dictionary",
748
- value: { type: { name: "String" } }
749
- }
750
- }
751
- }
752
- }
753
- };
754
- const EventSourceListResponse = {
755
- type: {
756
- name: "Composite",
757
- className: "EventSourceListResponse",
758
- modelProperties: {
759
- value: {
760
- serializedName: "value",
761
- type: {
762
- name: "Sequence",
763
- element: {
764
- type: {
765
- name: "Composite",
766
- className: "EventSourceResource"
767
- }
768
- }
769
- }
770
- }
771
- }
772
- }
773
- };
774
- const ReferenceDataSetCreationProperties = {
775
- type: {
776
- name: "Composite",
777
- className: "ReferenceDataSetCreationProperties",
778
- modelProperties: {
779
- keyProperties: {
780
- serializedName: "keyProperties",
781
- required: true,
782
- type: {
783
- name: "Sequence",
784
- element: {
785
- type: {
786
- name: "Composite",
787
- className: "ReferenceDataSetKeyProperty"
788
- }
789
- }
790
- }
791
- },
792
- dataStringComparisonBehavior: {
793
- serializedName: "dataStringComparisonBehavior",
794
- type: {
795
- name: "String"
796
- }
797
- }
798
- }
799
- }
800
- };
801
- const ReferenceDataSetKeyProperty = {
802
- type: {
803
- name: "Composite",
804
- className: "ReferenceDataSetKeyProperty",
805
- modelProperties: {
806
- name: {
807
- serializedName: "name",
808
- type: {
809
- name: "String"
810
- }
811
- },
812
- type: {
813
- serializedName: "type",
814
- type: {
815
- name: "String"
816
- }
817
- }
818
- }
819
- }
820
- };
821
- const ResourceProperties = {
822
- type: {
823
- name: "Composite",
824
- className: "ResourceProperties",
825
- modelProperties: {
826
- provisioningState: {
827
- serializedName: "provisioningState",
828
- readOnly: true,
829
- type: {
830
- name: "String"
831
- }
832
- },
833
- creationTime: {
834
- serializedName: "creationTime",
835
- readOnly: true,
836
- type: {
837
- name: "DateTime"
838
- }
839
- }
840
- }
841
- }
842
- };
843
- const ReferenceDataSetUpdateParameters = {
844
- type: {
845
- name: "Composite",
846
- className: "ReferenceDataSetUpdateParameters",
847
- modelProperties: {
848
- tags: {
849
- serializedName: "tags",
850
- type: {
851
- name: "Dictionary",
852
- value: { type: { name: "String" } }
853
- }
854
- }
855
- }
856
- }
857
- };
858
- const ReferenceDataSetListResponse = {
859
- type: {
860
- name: "Composite",
861
- className: "ReferenceDataSetListResponse",
862
- modelProperties: {
863
- value: {
864
- serializedName: "value",
865
- type: {
866
- name: "Sequence",
867
- element: {
868
- type: {
869
- name: "Composite",
870
- className: "ReferenceDataSetResource"
871
- }
872
- }
873
- }
874
- }
875
- }
876
- }
877
- };
878
- const AccessPolicyCreateOrUpdateParameters = {
879
- type: {
880
- name: "Composite",
881
- className: "AccessPolicyCreateOrUpdateParameters",
882
- modelProperties: {
883
- principalObjectId: {
884
- serializedName: "properties.principalObjectId",
885
- type: {
886
- name: "String"
887
- }
888
- },
889
- description: {
890
- serializedName: "properties.description",
891
- type: {
892
- name: "String"
893
- }
894
- },
895
- roles: {
896
- serializedName: "properties.roles",
897
- type: {
898
- name: "Sequence",
899
- element: {
900
- type: {
901
- name: "String"
902
- }
903
- }
904
- }
905
- }
906
- }
907
- }
908
- };
909
- const AccessPolicyUpdateParameters = {
910
- type: {
911
- name: "Composite",
912
- className: "AccessPolicyUpdateParameters",
913
- modelProperties: {
914
- description: {
915
- serializedName: "properties.description",
916
- type: {
917
- name: "String"
918
- }
919
- },
920
- roles: {
921
- serializedName: "properties.roles",
922
- type: {
923
- name: "Sequence",
924
- element: {
925
- type: {
926
- name: "String"
927
- }
928
- }
929
- }
930
- }
931
- }
932
- }
933
- };
934
- const AccessPolicyListResponse = {
935
- type: {
936
- name: "Composite",
937
- className: "AccessPolicyListResponse",
938
- modelProperties: {
939
- value: {
940
- serializedName: "value",
941
- type: {
942
- name: "Sequence",
943
- element: {
944
- type: {
945
- name: "Composite",
946
- className: "AccessPolicyResource"
947
- }
948
- }
949
- }
950
- }
951
- }
952
- }
953
- };
954
- const PrivateEndpoint = {
955
- type: {
956
- name: "Composite",
957
- className: "PrivateEndpoint",
958
- modelProperties: {
959
- id: {
960
- serializedName: "id",
961
- readOnly: true,
962
- type: {
963
- name: "String"
964
- }
965
- }
966
- }
967
- }
968
- };
969
- const PrivateLinkServiceConnectionState = {
970
- type: {
971
- name: "Composite",
972
- className: "PrivateLinkServiceConnectionState",
973
- modelProperties: {
974
- status: {
975
- serializedName: "status",
976
- type: {
977
- name: "String"
978
- }
979
- },
980
- description: {
981
- serializedName: "description",
982
- type: {
983
- name: "String"
984
- }
985
- },
986
- actionsRequired: {
987
- serializedName: "actionsRequired",
988
- type: {
989
- name: "String"
990
- }
991
- }
992
- }
993
- }
994
- };
995
- const PrivateEndpointConnectionListResult = {
996
- type: {
997
- name: "Composite",
998
- className: "PrivateEndpointConnectionListResult",
999
- modelProperties: {
1000
- value: {
1001
- serializedName: "value",
1002
- type: {
1003
- name: "Sequence",
1004
- element: {
1005
- type: {
1006
- name: "Composite",
1007
- className: "PrivateEndpointConnection"
1008
- }
1009
- }
1010
- }
1011
- }
1012
- }
1013
- }
1014
- };
1015
- const PrivateLinkResourceListResult = {
1016
- type: {
1017
- name: "Composite",
1018
- className: "PrivateLinkResourceListResult",
1019
- modelProperties: {
1020
- value: {
1021
- serializedName: "value",
1022
- type: {
1023
- name: "Sequence",
1024
- element: {
1025
- type: {
1026
- name: "Composite",
1027
- className: "PrivateLinkResource"
1028
- }
1029
- }
1030
- }
1031
- }
1032
- }
1033
- }
1034
- };
1035
- const WarmStoreConfigurationProperties = {
1036
- type: {
1037
- name: "Composite",
1038
- className: "WarmStoreConfigurationProperties",
1039
- modelProperties: {
1040
- dataRetention: {
1041
- serializedName: "dataRetention",
1042
- required: true,
1043
- type: {
1044
- name: "TimeSpan"
1045
- }
1046
- }
1047
- }
1048
- }
1049
- };
1050
- const Gen2StorageConfigurationInput = {
1051
- type: {
1052
- name: "Composite",
1053
- className: "Gen2StorageConfigurationInput",
1054
- modelProperties: {
1055
- accountName: {
1056
- serializedName: "accountName",
1057
- required: true,
1058
- type: {
1059
- name: "String"
1060
- }
1061
- },
1062
- managementKey: {
1063
- serializedName: "managementKey",
1064
- required: true,
1065
- type: {
1066
- name: "String"
1067
- }
1068
- }
1069
- }
1070
- }
1071
- };
1072
- const Gen2StorageConfigurationOutput = {
1073
- type: {
1074
- name: "Composite",
1075
- className: "Gen2StorageConfigurationOutput",
1076
- modelProperties: {
1077
- accountName: {
1078
- serializedName: "accountName",
1079
- required: true,
1080
- type: {
1081
- name: "String"
1082
- }
1083
- }
1084
- }
1085
- }
1086
- };
1087
- const Gen2StorageConfigurationMutableProperties = {
1088
- type: {
1089
- name: "Composite",
1090
- className: "Gen2StorageConfigurationMutableProperties",
1091
- modelProperties: {
1092
- managementKey: {
1093
- serializedName: "managementKey",
1094
- required: true,
1095
- type: {
1096
- name: "String"
1097
- }
1098
- }
1099
- }
1100
- }
1101
- };
1102
- const Gen1EnvironmentCreationProperties = {
1103
- type: {
1104
- name: "Composite",
1105
- className: "Gen1EnvironmentCreationProperties",
1106
- modelProperties: {
1107
- dataRetentionTime: {
1108
- serializedName: "dataRetentionTime",
1109
- required: true,
1110
- type: {
1111
- name: "TimeSpan"
1112
- }
1113
- },
1114
- storageLimitExceededBehavior: {
1115
- serializedName: "storageLimitExceededBehavior",
1116
- type: {
1117
- name: "String"
1118
- }
1119
- },
1120
- partitionKeyProperties: {
1121
- serializedName: "partitionKeyProperties",
1122
- type: {
1123
- name: "Sequence",
1124
- element: {
1125
- type: {
1126
- name: "Composite",
1127
- className: "TimeSeriesIdProperty"
1128
- }
1129
- }
1130
- }
1131
- }
1132
- }
1133
- }
1134
- };
1135
- const TimeSeriesIdProperty = {
1136
- type: {
1137
- name: "Composite",
1138
- className: "TimeSeriesIdProperty",
1139
- modelProperties: {
1140
- name: {
1141
- serializedName: "name",
1142
- type: {
1143
- name: "String"
1144
- }
1145
- },
1146
- type: {
1147
- serializedName: "type",
1148
- type: {
1149
- name: "String"
1150
- }
1151
- }
1152
- }
1153
- }
1154
- };
1155
- const EnvironmentStatus = {
1156
- type: {
1157
- name: "Composite",
1158
- className: "EnvironmentStatus",
1159
- modelProperties: {
1160
- ingress: {
1161
- serializedName: "ingress",
1162
- type: {
1163
- name: "Composite",
1164
- className: "IngressEnvironmentStatus"
1165
- }
1166
- },
1167
- warmStorage: {
1168
- serializedName: "warmStorage",
1169
- type: {
1170
- name: "Composite",
1171
- className: "WarmStorageEnvironmentStatus"
1172
- }
1173
- }
1174
- }
1175
- }
1176
- };
1177
- const IngressEnvironmentStatus = {
1178
- type: {
1179
- name: "Composite",
1180
- className: "IngressEnvironmentStatus",
1181
- modelProperties: {
1182
- state: {
1183
- serializedName: "state",
1184
- type: {
1185
- name: "String"
1186
- }
1187
- },
1188
- stateDetails: {
1189
- serializedName: "stateDetails",
1190
- type: {
1191
- name: "Composite",
1192
- className: "EnvironmentStateDetails"
1193
- }
1194
- }
1195
- }
1196
- }
1197
- };
1198
- const EnvironmentStateDetails = {
1199
- type: {
1200
- name: "Composite",
1201
- className: "EnvironmentStateDetails",
1202
- modelProperties: {
1203
- code: {
1204
- serializedName: "code",
1205
- type: {
1206
- name: "String"
1207
- }
1208
- },
1209
- message: {
1210
- serializedName: "message",
1211
- type: {
1212
- name: "String"
1213
- }
1214
- }
1215
- }
1216
- }
1217
- };
1218
- const WarmStorageEnvironmentStatus = {
1219
- type: {
1220
- name: "Composite",
1221
- className: "WarmStorageEnvironmentStatus",
1222
- modelProperties: {
1223
- state: {
1224
- serializedName: "propertiesUsage.state",
1225
- type: {
1226
- name: "String"
1227
- }
1228
- },
1229
- currentCount: {
1230
- constraints: {
1231
- InclusiveMaximum: 10,
1232
- InclusiveMinimum: 1
1233
- },
1234
- serializedName: "propertiesUsage.stateDetails.currentCount",
1235
- type: {
1236
- name: "Number"
1237
- }
1238
- },
1239
- maxCount: {
1240
- constraints: {
1241
- InclusiveMaximum: 10,
1242
- InclusiveMinimum: 1
1243
- },
1244
- serializedName: "propertiesUsage.stateDetails.maxCount",
1245
- type: {
1246
- name: "Number"
1247
- }
1248
- }
1249
- }
1250
- }
1251
- };
1252
- const EventSourceMutableProperties = {
1253
- type: {
1254
- name: "Composite",
1255
- className: "EventSourceMutableProperties",
1256
- modelProperties: {
1257
- timestampPropertyName: {
1258
- serializedName: "timestampPropertyName",
1259
- type: {
1260
- name: "String"
1261
- }
1262
- }
1263
- }
1264
- }
1265
- };
1266
- const EnvironmentCreateOrUpdateParameters = {
1267
- serializedName: "EnvironmentCreateOrUpdateParameters",
1268
- type: {
1269
- name: "Composite",
1270
- className: "EnvironmentCreateOrUpdateParameters",
1271
- uberParent: "CreateOrUpdateTrackedResourceProperties",
1272
- polymorphicDiscriminator: {
1273
- serializedName: "kind",
1274
- clientName: "kind"
1275
- },
1276
- modelProperties: Object.assign(Object.assign({}, CreateOrUpdateTrackedResourceProperties.type.modelProperties), { kind: {
1277
- serializedName: "kind",
1278
- required: true,
1279
- type: {
1280
- name: "String"
1281
- }
1282
- }, sku: {
1283
- serializedName: "sku",
1284
- type: {
1285
- name: "Composite",
1286
- className: "Sku"
1287
- }
1288
- } })
1289
- }
1290
- };
1291
- const EventSourceCreateOrUpdateParameters = {
1292
- serializedName: "EventSourceCreateOrUpdateParameters",
1293
- type: {
1294
- name: "Composite",
1295
- className: "EventSourceCreateOrUpdateParameters",
1296
- uberParent: "CreateOrUpdateTrackedResourceProperties",
1297
- polymorphicDiscriminator: {
1298
- serializedName: "kind",
1299
- clientName: "kind"
1300
- },
1301
- modelProperties: Object.assign(Object.assign({}, CreateOrUpdateTrackedResourceProperties.type.modelProperties), { kind: {
1302
- serializedName: "kind",
1303
- required: true,
1304
- type: {
1305
- name: "String"
1306
- }
1307
- }, localTimestamp: {
1308
- serializedName: "localTimestamp",
1309
- type: {
1310
- name: "Composite",
1311
- className: "LocalTimestamp"
1312
- }
1313
- } })
1314
- }
1315
- };
1316
- const ReferenceDataSetCreateOrUpdateParameters = {
1317
- type: {
1318
- name: "Composite",
1319
- className: "ReferenceDataSetCreateOrUpdateParameters",
1320
- modelProperties: Object.assign(Object.assign({}, CreateOrUpdateTrackedResourceProperties.type.modelProperties), { keyProperties: {
1321
- serializedName: "properties.keyProperties",
1322
- required: true,
1323
- type: {
1324
- name: "Sequence",
1325
- element: {
1326
- type: {
1327
- name: "Composite",
1328
- className: "ReferenceDataSetKeyProperty"
1329
- }
1330
- }
1331
- }
1332
- }, dataStringComparisonBehavior: {
1333
- serializedName: "properties.dataStringComparisonBehavior",
1334
- type: {
1335
- name: "String"
1336
- }
1337
- } })
1338
- }
1339
- };
1340
- const TrackedResource = {
1341
- type: {
1342
- name: "Composite",
1343
- className: "TrackedResource",
1344
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { location: {
1345
- serializedName: "location",
1346
- required: true,
1347
- type: {
1348
- name: "String"
1349
- }
1350
- }, tags: {
1351
- serializedName: "tags",
1352
- type: {
1353
- name: "Dictionary",
1354
- value: { type: { name: "String" } }
1355
- }
1356
- } })
1357
- }
1358
- };
1359
- const AccessPolicyResource = {
1360
- type: {
1361
- name: "Composite",
1362
- className: "AccessPolicyResource",
1363
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { principalObjectId: {
1364
- serializedName: "properties.principalObjectId",
1365
- type: {
1366
- name: "String"
1367
- }
1368
- }, description: {
1369
- serializedName: "properties.description",
1370
- type: {
1371
- name: "String"
1372
- }
1373
- }, roles: {
1374
- serializedName: "properties.roles",
1375
- type: {
1376
- name: "Sequence",
1377
- element: {
1378
- type: {
1379
- name: "String"
1380
- }
1381
- }
1382
- }
1383
- } })
1384
- }
1385
- };
1386
- const PrivateEndpointConnection = {
1387
- type: {
1388
- name: "Composite",
1389
- className: "PrivateEndpointConnection",
1390
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { provisioningState: {
1391
- serializedName: "properties.provisioningState",
1392
- readOnly: true,
1393
- type: {
1394
- name: "String"
1395
- }
1396
- }, privateEndpoint: {
1397
- serializedName: "properties.privateEndpoint",
1398
- type: {
1399
- name: "Composite",
1400
- className: "PrivateEndpoint"
1401
- }
1402
- }, groupIds: {
1403
- serializedName: "properties.groupIds",
1404
- type: {
1405
- name: "Sequence",
1406
- element: {
1407
- type: {
1408
- name: "String"
1409
- }
1410
- }
1411
- }
1412
- }, privateLinkServiceConnectionState: {
1413
- serializedName: "properties.privateLinkServiceConnectionState",
1414
- type: {
1415
- name: "Composite",
1416
- className: "PrivateLinkServiceConnectionState"
1417
- }
1418
- } })
1419
- }
1420
- };
1421
- const PrivateLinkResource = {
1422
- type: {
1423
- name: "Composite",
1424
- className: "PrivateLinkResource",
1425
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { groupId: {
1426
- serializedName: "properties.groupId",
1427
- readOnly: true,
1428
- type: {
1429
- name: "String"
1430
- }
1431
- }, requiredMembers: {
1432
- serializedName: "properties.requiredMembers",
1433
- readOnly: true,
1434
- type: {
1435
- name: "Sequence",
1436
- element: {
1437
- type: {
1438
- name: "String"
1439
- }
1440
- }
1441
- }
1442
- }, requiredZoneNames: {
1443
- serializedName: "properties.requiredZoneNames",
1444
- type: {
1445
- name: "Sequence",
1446
- element: {
1447
- type: {
1448
- name: "String"
1449
- }
1450
- }
1451
- }
1452
- } })
1453
- }
1454
- };
1455
- const Gen1EnvironmentUpdateParameters = {
1456
- serializedName: "Gen1",
1457
- type: {
1458
- name: "Composite",
1459
- className: "Gen1EnvironmentUpdateParameters",
1460
- uberParent: "EnvironmentUpdateParameters",
1461
- polymorphicDiscriminator: EnvironmentUpdateParameters.type.polymorphicDiscriminator,
1462
- modelProperties: Object.assign(Object.assign({}, EnvironmentUpdateParameters.type.modelProperties), { sku: {
1463
- serializedName: "sku",
1464
- type: {
1465
- name: "Composite",
1466
- className: "Sku"
1467
- }
1468
- }, dataRetentionTime: {
1469
- serializedName: "properties.dataRetentionTime",
1470
- type: {
1471
- name: "TimeSpan"
1472
- }
1473
- }, storageLimitExceededBehavior: {
1474
- serializedName: "properties.storageLimitExceededBehavior",
1475
- type: {
1476
- name: "String"
1477
- }
1478
- } })
1479
- }
1480
- };
1481
- const Gen2EnvironmentUpdateParameters = {
1482
- serializedName: "Gen2",
1483
- type: {
1484
- name: "Composite",
1485
- className: "Gen2EnvironmentUpdateParameters",
1486
- uberParent: "EnvironmentUpdateParameters",
1487
- polymorphicDiscriminator: EnvironmentUpdateParameters.type.polymorphicDiscriminator,
1488
- modelProperties: Object.assign(Object.assign({}, EnvironmentUpdateParameters.type.modelProperties), { storageConfiguration: {
1489
- serializedName: "properties.storageConfiguration",
1490
- type: {
1491
- name: "Composite",
1492
- className: "Gen2StorageConfigurationMutableProperties"
1493
- }
1494
- }, warmStoreConfiguration: {
1495
- serializedName: "properties.warmStoreConfiguration",
1496
- type: {
1497
- name: "Composite",
1498
- className: "WarmStoreConfigurationProperties"
1499
- }
1500
- } })
1501
- }
1502
- };
1503
- const EventHubEventSourceUpdateParameters = {
1504
- serializedName: "Microsoft.EventHub",
1505
- type: {
1506
- name: "Composite",
1507
- className: "EventHubEventSourceUpdateParameters",
1508
- uberParent: "EventSourceUpdateParameters",
1509
- polymorphicDiscriminator: EventSourceUpdateParameters.type.polymorphicDiscriminator,
1510
- modelProperties: Object.assign(Object.assign({}, EventSourceUpdateParameters.type.modelProperties), { timestampPropertyName: {
1511
- serializedName: "properties.timestampPropertyName",
1512
- type: {
1513
- name: "String"
1514
- }
1515
- }, sharedAccessKey: {
1516
- serializedName: "properties.sharedAccessKey",
1517
- type: {
1518
- name: "String"
1519
- }
1520
- } })
1521
- }
1522
- };
1523
- const IoTHubEventSourceUpdateParameters = {
1524
- serializedName: "Microsoft.IoTHub",
1525
- type: {
1526
- name: "Composite",
1527
- className: "IoTHubEventSourceUpdateParameters",
1528
- uberParent: "EventSourceUpdateParameters",
1529
- polymorphicDiscriminator: EventSourceUpdateParameters.type.polymorphicDiscriminator,
1530
- modelProperties: Object.assign(Object.assign({}, EventSourceUpdateParameters.type.modelProperties), { timestampPropertyName: {
1531
- serializedName: "properties.timestampPropertyName",
1532
- type: {
1533
- name: "String"
1534
- }
1535
- }, sharedAccessKey: {
1536
- serializedName: "properties.sharedAccessKey",
1537
- type: {
1538
- name: "String"
1539
- }
1540
- } })
1541
- }
1542
- };
1543
- const ReferenceDataSetResourceProperties = {
1544
- type: {
1545
- name: "Composite",
1546
- className: "ReferenceDataSetResourceProperties",
1547
- modelProperties: Object.assign(Object.assign({}, ReferenceDataSetCreationProperties.type.modelProperties), ResourceProperties.type.modelProperties)
1548
- }
1549
- };
1550
- const EnvironmentResourceProperties = {
1551
- type: {
1552
- name: "Composite",
1553
- className: "EnvironmentResourceProperties",
1554
- modelProperties: Object.assign(Object.assign({}, ResourceProperties.type.modelProperties), { dataAccessId: {
1555
- serializedName: "dataAccessId",
1556
- readOnly: true,
1557
- type: {
1558
- name: "Uuid"
1559
- }
1560
- }, dataAccessFqdn: {
1561
- serializedName: "dataAccessFqdn",
1562
- readOnly: true,
1563
- type: {
1564
- name: "String"
1565
- }
1566
- }, status: {
1567
- serializedName: "status",
1568
- type: {
1569
- name: "Composite",
1570
- className: "EnvironmentStatus"
1571
- }
1572
- } })
1573
- }
1574
- };
1575
- const EventSourceCommonProperties = {
1576
- type: {
1577
- name: "Composite",
1578
- className: "EventSourceCommonProperties",
1579
- modelProperties: Object.assign(Object.assign({}, ResourceProperties.type.modelProperties), { timestampPropertyName: {
1580
- serializedName: "timestampPropertyName",
1581
- type: {
1582
- name: "String"
1583
- }
1584
- }, localTimestamp: {
1585
- serializedName: "localTimestamp",
1586
- type: {
1587
- name: "Composite",
1588
- className: "LocalTimestamp"
1589
- }
1590
- }, type: {
1591
- serializedName: "ingressStartAt.type",
1592
- type: {
1593
- name: "String"
1594
- }
1595
- }, time: {
1596
- serializedName: "ingressStartAt.time",
1597
- type: {
1598
- name: "String"
1599
- }
1600
- } })
1601
- }
1602
- };
1603
- const Gen1EnvironmentResourceProperties = {
1604
- type: {
1605
- name: "Composite",
1606
- className: "Gen1EnvironmentResourceProperties",
1607
- modelProperties: Object.assign(Object.assign({}, Gen1EnvironmentCreationProperties.type.modelProperties), EnvironmentResourceProperties.type.modelProperties)
1608
- }
1609
- };
1610
- const EventHubEventSourceMutableProperties = {
1611
- type: {
1612
- name: "Composite",
1613
- className: "EventHubEventSourceMutableProperties",
1614
- modelProperties: Object.assign(Object.assign({}, EventSourceMutableProperties.type.modelProperties), { sharedAccessKey: {
1615
- serializedName: "sharedAccessKey",
1616
- type: {
1617
- name: "String"
1618
- }
1619
- } })
1620
- }
1621
- };
1622
- const IoTHubEventSourceMutableProperties = {
1623
- type: {
1624
- name: "Composite",
1625
- className: "IoTHubEventSourceMutableProperties",
1626
- modelProperties: Object.assign(Object.assign({}, EventSourceMutableProperties.type.modelProperties), { sharedAccessKey: {
1627
- serializedName: "sharedAccessKey",
1628
- type: {
1629
- name: "String"
1630
- }
1631
- } })
1632
- }
1633
- };
1634
- const Gen1EnvironmentCreateOrUpdateParameters = {
1635
- serializedName: "Gen1",
1636
- type: {
1637
- name: "Composite",
1638
- className: "Gen1EnvironmentCreateOrUpdateParameters",
1639
- uberParent: "EnvironmentCreateOrUpdateParameters",
1640
- polymorphicDiscriminator: EnvironmentCreateOrUpdateParameters.type.polymorphicDiscriminator,
1641
- modelProperties: Object.assign(Object.assign({}, EnvironmentCreateOrUpdateParameters.type.modelProperties), { dataRetentionTime: {
1642
- serializedName: "properties.dataRetentionTime",
1643
- required: true,
1644
- type: {
1645
- name: "TimeSpan"
1646
- }
1647
- }, storageLimitExceededBehavior: {
1648
- serializedName: "properties.storageLimitExceededBehavior",
1649
- type: {
1650
- name: "String"
1651
- }
1652
- }, partitionKeyProperties: {
1653
- serializedName: "properties.partitionKeyProperties",
1654
- type: {
1655
- name: "Sequence",
1656
- element: {
1657
- type: {
1658
- name: "Composite",
1659
- className: "TimeSeriesIdProperty"
1660
- }
1661
- }
1662
- }
1663
- } })
1664
- }
1665
- };
1666
- const Gen2EnvironmentCreateOrUpdateParameters = {
1667
- serializedName: "Gen2",
1668
- type: {
1669
- name: "Composite",
1670
- className: "Gen2EnvironmentCreateOrUpdateParameters",
1671
- uberParent: "EnvironmentCreateOrUpdateParameters",
1672
- polymorphicDiscriminator: EnvironmentCreateOrUpdateParameters.type.polymorphicDiscriminator,
1673
- modelProperties: Object.assign(Object.assign({}, EnvironmentCreateOrUpdateParameters.type.modelProperties), { timeSeriesIdProperties: {
1674
- serializedName: "properties.timeSeriesIdProperties",
1675
- required: true,
1676
- type: {
1677
- name: "Sequence",
1678
- element: {
1679
- type: {
1680
- name: "Composite",
1681
- className: "TimeSeriesIdProperty"
1682
- }
1683
- }
1684
- }
1685
- }, storageConfiguration: {
1686
- serializedName: "properties.storageConfiguration",
1687
- type: {
1688
- name: "Composite",
1689
- className: "Gen2StorageConfigurationInput"
1690
- }
1691
- }, warmStoreConfiguration: {
1692
- serializedName: "properties.warmStoreConfiguration",
1693
- type: {
1694
- name: "Composite",
1695
- className: "WarmStoreConfigurationProperties"
1696
- }
1697
- }, publicNetworkAccess: {
1698
- serializedName: "properties.publicNetworkAccess",
1699
- type: {
1700
- name: "String"
1701
- }
1702
- }, privateEndpointConnections: {
1703
- serializedName: "properties.privateEndpointConnections",
1704
- readOnly: true,
1705
- type: {
1706
- name: "Sequence",
1707
- element: {
1708
- type: {
1709
- name: "Composite",
1710
- className: "PrivateEndpointConnection"
1711
- }
1712
- }
1713
- }
1714
- } })
1715
- }
1716
- };
1717
- const EventHubEventSourceCreateOrUpdateParameters = {
1718
- serializedName: "Microsoft.EventHub",
1719
- type: {
1720
- name: "Composite",
1721
- className: "EventHubEventSourceCreateOrUpdateParameters",
1722
- uberParent: "EventSourceCreateOrUpdateParameters",
1723
- polymorphicDiscriminator: EventSourceCreateOrUpdateParameters.type.polymorphicDiscriminator,
1724
- modelProperties: Object.assign(Object.assign({}, EventSourceCreateOrUpdateParameters.type.modelProperties), { provisioningState: {
1725
- serializedName: "properties.provisioningState",
1726
- readOnly: true,
1727
- type: {
1728
- name: "String"
1729
- }
1730
- }, creationTime: {
1731
- serializedName: "properties.creationTime",
1732
- readOnly: true,
1733
- type: {
1734
- name: "DateTime"
1735
- }
1736
- }, timestampPropertyName: {
1737
- serializedName: "properties.timestampPropertyName",
1738
- type: {
1739
- name: "String"
1740
- }
1741
- }, localTimestampPropertiesLocalTimestamp: {
1742
- serializedName: "properties.localTimestamp",
1743
- type: {
1744
- name: "Composite",
1745
- className: "LocalTimestamp"
1746
- }
1747
- }, type: {
1748
- serializedName: "properties.ingressStartAt.type",
1749
- type: {
1750
- name: "String"
1751
- }
1752
- }, time: {
1753
- serializedName: "properties.ingressStartAt.time",
1754
- type: {
1755
- name: "String"
1756
- }
1757
- }, eventSourceResourceId: {
1758
- serializedName: "properties.eventSourceResourceId",
1759
- required: true,
1760
- type: {
1761
- name: "String"
1762
- }
1763
- }, serviceBusNamespace: {
1764
- serializedName: "properties.serviceBusNamespace",
1765
- required: true,
1766
- type: {
1767
- name: "String"
1768
- }
1769
- }, eventHubName: {
1770
- serializedName: "properties.eventHubName",
1771
- required: true,
1772
- type: {
1773
- name: "String"
1774
- }
1775
- }, consumerGroupName: {
1776
- serializedName: "properties.consumerGroupName",
1777
- required: true,
1778
- type: {
1779
- name: "String"
1780
- }
1781
- }, keyName: {
1782
- serializedName: "properties.keyName",
1783
- required: true,
1784
- type: {
1785
- name: "String"
1786
- }
1787
- }, sharedAccessKey: {
1788
- serializedName: "properties.sharedAccessKey",
1789
- required: true,
1790
- type: {
1791
- name: "String"
1792
- }
1793
- } })
1794
- }
1795
- };
1796
- const IoTHubEventSourceCreateOrUpdateParameters = {
1797
- serializedName: "Microsoft.IoTHub",
1798
- type: {
1799
- name: "Composite",
1800
- className: "IoTHubEventSourceCreateOrUpdateParameters",
1801
- uberParent: "EventSourceCreateOrUpdateParameters",
1802
- polymorphicDiscriminator: EventSourceCreateOrUpdateParameters.type.polymorphicDiscriminator,
1803
- modelProperties: Object.assign(Object.assign({}, EventSourceCreateOrUpdateParameters.type.modelProperties), { provisioningState: {
1804
- serializedName: "properties.provisioningState",
1805
- readOnly: true,
1806
- type: {
1807
- name: "String"
1808
- }
1809
- }, creationTime: {
1810
- serializedName: "properties.creationTime",
1811
- readOnly: true,
1812
- type: {
1813
- name: "DateTime"
1814
- }
1815
- }, timestampPropertyName: {
1816
- serializedName: "properties.timestampPropertyName",
1817
- type: {
1818
- name: "String"
1819
- }
1820
- }, localTimestampPropertiesLocalTimestamp: {
1821
- serializedName: "properties.localTimestamp",
1822
- type: {
1823
- name: "Composite",
1824
- className: "LocalTimestamp"
1825
- }
1826
- }, type: {
1827
- serializedName: "properties.ingressStartAt.type",
1828
- type: {
1829
- name: "String"
1830
- }
1831
- }, time: {
1832
- serializedName: "properties.ingressStartAt.time",
1833
- type: {
1834
- name: "String"
1835
- }
1836
- }, eventSourceResourceId: {
1837
- serializedName: "properties.eventSourceResourceId",
1838
- required: true,
1839
- type: {
1840
- name: "String"
1841
- }
1842
- }, iotHubName: {
1843
- serializedName: "properties.iotHubName",
1844
- required: true,
1845
- type: {
1846
- name: "String"
1847
- }
1848
- }, consumerGroupName: {
1849
- serializedName: "properties.consumerGroupName",
1850
- required: true,
1851
- type: {
1852
- name: "String"
1853
- }
1854
- }, keyName: {
1855
- serializedName: "properties.keyName",
1856
- required: true,
1857
- type: {
1858
- name: "String"
1859
- }
1860
- }, sharedAccessKey: {
1861
- serializedName: "properties.sharedAccessKey",
1862
- required: true,
1863
- type: {
1864
- name: "String"
1865
- }
1866
- } })
1867
- }
1868
- };
1869
- const EnvironmentResource = {
1870
- serializedName: "EnvironmentResource",
1871
- type: {
1872
- name: "Composite",
1873
- className: "EnvironmentResource",
1874
- uberParent: "TrackedResource",
1875
- polymorphicDiscriminator: {
1876
- serializedName: "kind",
1877
- clientName: "kind"
1878
- },
1879
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { sku: {
1880
- serializedName: "sku",
1881
- type: {
1882
- name: "Composite",
1883
- className: "Sku"
1884
- }
1885
- }, kind: {
1886
- serializedName: "kind",
1887
- required: true,
1888
- type: {
1889
- name: "String"
1890
- }
1891
- } })
1892
- }
1893
- };
1894
- const EventSourceResource = {
1895
- serializedName: "EventSourceResource",
1896
- type: {
1897
- name: "Composite",
1898
- className: "EventSourceResource",
1899
- uberParent: "TrackedResource",
1900
- polymorphicDiscriminator: {
1901
- serializedName: "kind",
1902
- clientName: "kind"
1903
- },
1904
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { kind: {
1905
- serializedName: "kind",
1906
- required: true,
1907
- type: {
1908
- name: "String"
1909
- }
1910
- } })
1911
- }
1912
- };
1913
- const ReferenceDataSetResource = {
1914
- type: {
1915
- name: "Composite",
1916
- className: "ReferenceDataSetResource",
1917
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { keyProperties: {
1918
- serializedName: "properties.keyProperties",
1919
- type: {
1920
- name: "Sequence",
1921
- element: {
1922
- type: {
1923
- name: "Composite",
1924
- className: "ReferenceDataSetKeyProperty"
1925
- }
1926
- }
1927
- }
1928
- }, dataStringComparisonBehavior: {
1929
- serializedName: "properties.dataStringComparisonBehavior",
1930
- type: {
1931
- name: "String"
1932
- }
1933
- }, provisioningState: {
1934
- serializedName: "properties.provisioningState",
1935
- readOnly: true,
1936
- type: {
1937
- name: "String"
1938
- }
1939
- }, creationTime: {
1940
- serializedName: "properties.creationTime",
1941
- readOnly: true,
1942
- type: {
1943
- name: "DateTime"
1944
- }
1945
- } })
1946
- }
1947
- };
1948
- const Gen2EnvironmentResourceProperties = {
1949
- type: {
1950
- name: "Composite",
1951
- className: "Gen2EnvironmentResourceProperties",
1952
- modelProperties: Object.assign(Object.assign({}, EnvironmentResourceProperties.type.modelProperties), { timeSeriesIdProperties: {
1953
- serializedName: "timeSeriesIdProperties",
1954
- required: true,
1955
- type: {
1956
- name: "Sequence",
1957
- element: {
1958
- type: {
1959
- name: "Composite",
1960
- className: "TimeSeriesIdProperty"
1961
- }
1962
- }
1963
- }
1964
- }, storageConfiguration: {
1965
- serializedName: "storageConfiguration",
1966
- type: {
1967
- name: "Composite",
1968
- className: "Gen2StorageConfigurationOutput"
1969
- }
1970
- }, warmStoreConfiguration: {
1971
- serializedName: "warmStoreConfiguration",
1972
- type: {
1973
- name: "Composite",
1974
- className: "WarmStoreConfigurationProperties"
1975
- }
1976
- }, publicNetworkAccess: {
1977
- serializedName: "publicNetworkAccess",
1978
- type: {
1979
- name: "String"
1980
- }
1981
- }, privateEndpointConnections: {
1982
- serializedName: "privateEndpointConnections",
1983
- readOnly: true,
1984
- type: {
1985
- name: "Sequence",
1986
- element: {
1987
- type: {
1988
- name: "Composite",
1989
- className: "PrivateEndpointConnection"
1990
- }
1991
- }
1992
- }
1993
- } })
1994
- }
1995
- };
1996
- const AzureEventSourceProperties = {
1997
- type: {
1998
- name: "Composite",
1999
- className: "AzureEventSourceProperties",
2000
- modelProperties: Object.assign(Object.assign({}, EventSourceCommonProperties.type.modelProperties), { eventSourceResourceId: {
2001
- serializedName: "eventSourceResourceId",
2002
- required: true,
2003
- type: {
2004
- name: "String"
2005
- }
2006
- } })
2007
- }
2008
- };
2009
- const Gen1EnvironmentResource = {
2010
- serializedName: "Gen1",
2011
- type: {
2012
- name: "Composite",
2013
- className: "Gen1EnvironmentResource",
2014
- uberParent: "EnvironmentResource",
2015
- polymorphicDiscriminator: EnvironmentResource.type.polymorphicDiscriminator,
2016
- modelProperties: Object.assign(Object.assign({}, EnvironmentResource.type.modelProperties), { dataRetentionTime: {
2017
- serializedName: "properties.dataRetentionTime",
2018
- required: true,
2019
- type: {
2020
- name: "TimeSpan"
2021
- }
2022
- }, storageLimitExceededBehavior: {
2023
- serializedName: "properties.storageLimitExceededBehavior",
2024
- type: {
2025
- name: "String"
2026
- }
2027
- }, partitionKeyProperties: {
2028
- serializedName: "properties.partitionKeyProperties",
2029
- type: {
2030
- name: "Sequence",
2031
- element: {
2032
- type: {
2033
- name: "Composite",
2034
- className: "TimeSeriesIdProperty"
2035
- }
2036
- }
2037
- }
2038
- }, provisioningState: {
2039
- serializedName: "properties.provisioningState",
2040
- readOnly: true,
2041
- type: {
2042
- name: "String"
2043
- }
2044
- }, creationTime: {
2045
- serializedName: "properties.creationTime",
2046
- readOnly: true,
2047
- type: {
2048
- name: "DateTime"
2049
- }
2050
- }, dataAccessId: {
2051
- serializedName: "properties.dataAccessId",
2052
- readOnly: true,
2053
- type: {
2054
- name: "Uuid"
2055
- }
2056
- }, dataAccessFqdn: {
2057
- serializedName: "properties.dataAccessFqdn",
2058
- readOnly: true,
2059
- type: {
2060
- name: "String"
2061
- }
2062
- }, status: {
2063
- serializedName: "properties.status",
2064
- type: {
2065
- name: "Composite",
2066
- className: "EnvironmentStatus"
2067
- }
2068
- } })
2069
- }
2070
- };
2071
- const Gen2EnvironmentResource = {
2072
- serializedName: "Gen2",
2073
- type: {
2074
- name: "Composite",
2075
- className: "Gen2EnvironmentResource",
2076
- uberParent: "EnvironmentResource",
2077
- polymorphicDiscriminator: EnvironmentResource.type.polymorphicDiscriminator,
2078
- modelProperties: Object.assign(Object.assign({}, EnvironmentResource.type.modelProperties), { provisioningState: {
2079
- serializedName: "properties.provisioningState",
2080
- readOnly: true,
2081
- type: {
2082
- name: "String"
2083
- }
2084
- }, creationTime: {
2085
- serializedName: "properties.creationTime",
2086
- readOnly: true,
2087
- type: {
2088
- name: "DateTime"
2089
- }
2090
- }, dataAccessId: {
2091
- serializedName: "properties.dataAccessId",
2092
- readOnly: true,
2093
- type: {
2094
- name: "Uuid"
2095
- }
2096
- }, dataAccessFqdn: {
2097
- serializedName: "properties.dataAccessFqdn",
2098
- readOnly: true,
2099
- type: {
2100
- name: "String"
2101
- }
2102
- }, status: {
2103
- serializedName: "properties.status",
2104
- type: {
2105
- name: "Composite",
2106
- className: "EnvironmentStatus"
2107
- }
2108
- }, timeSeriesIdProperties: {
2109
- serializedName: "properties.timeSeriesIdProperties",
2110
- required: true,
2111
- type: {
2112
- name: "Sequence",
2113
- element: {
2114
- type: {
2115
- name: "Composite",
2116
- className: "TimeSeriesIdProperty"
2117
- }
2118
- }
2119
- }
2120
- }, storageConfiguration: {
2121
- serializedName: "properties.storageConfiguration",
2122
- type: {
2123
- name: "Composite",
2124
- className: "Gen2StorageConfigurationOutput"
2125
- }
2126
- }, warmStoreConfiguration: {
2127
- serializedName: "properties.warmStoreConfiguration",
2128
- type: {
2129
- name: "Composite",
2130
- className: "WarmStoreConfigurationProperties"
2131
- }
2132
- }, publicNetworkAccess: {
2133
- serializedName: "properties.publicNetworkAccess",
2134
- type: {
2135
- name: "String"
2136
- }
2137
- }, privateEndpointConnections: {
2138
- serializedName: "properties.privateEndpointConnections",
2139
- readOnly: true,
2140
- type: {
2141
- name: "Sequence",
2142
- element: {
2143
- type: {
2144
- name: "Composite",
2145
- className: "PrivateEndpointConnection"
2146
- }
2147
- }
2148
- }
2149
- } })
2150
- }
2151
- };
2152
- const EventHubEventSourceResource = {
2153
- serializedName: "Microsoft.EventHub",
2154
- type: {
2155
- name: "Composite",
2156
- className: "EventHubEventSourceResource",
2157
- uberParent: "EventSourceResource",
2158
- polymorphicDiscriminator: EventSourceResource.type.polymorphicDiscriminator,
2159
- modelProperties: Object.assign(Object.assign({}, EventSourceResource.type.modelProperties), { provisioningState: {
2160
- serializedName: "properties.provisioningState",
2161
- readOnly: true,
2162
- type: {
2163
- name: "String"
2164
- }
2165
- }, creationTime: {
2166
- serializedName: "properties.creationTime",
2167
- readOnly: true,
2168
- type: {
2169
- name: "DateTime"
2170
- }
2171
- }, timestampPropertyName: {
2172
- serializedName: "properties.timestampPropertyName",
2173
- type: {
2174
- name: "String"
2175
- }
2176
- }, localTimestamp: {
2177
- serializedName: "properties.localTimestamp",
2178
- type: {
2179
- name: "Composite",
2180
- className: "LocalTimestamp"
2181
- }
2182
- }, typePropertiesIngressStartAtType: {
2183
- serializedName: "properties.ingressStartAt.type",
2184
- type: {
2185
- name: "String"
2186
- }
2187
- }, time: {
2188
- serializedName: "properties.ingressStartAt.time",
2189
- type: {
2190
- name: "String"
2191
- }
2192
- }, eventSourceResourceId: {
2193
- serializedName: "properties.eventSourceResourceId",
2194
- required: true,
2195
- type: {
2196
- name: "String"
2197
- }
2198
- }, serviceBusNamespace: {
2199
- serializedName: "properties.serviceBusNamespace",
2200
- required: true,
2201
- type: {
2202
- name: "String"
2203
- }
2204
- }, eventHubName: {
2205
- serializedName: "properties.eventHubName",
2206
- required: true,
2207
- type: {
2208
- name: "String"
2209
- }
2210
- }, consumerGroupName: {
2211
- serializedName: "properties.consumerGroupName",
2212
- required: true,
2213
- type: {
2214
- name: "String"
2215
- }
2216
- }, keyName: {
2217
- serializedName: "properties.keyName",
2218
- required: true,
2219
- type: {
2220
- name: "String"
2221
- }
2222
- } })
2223
- }
2224
- };
2225
- const IoTHubEventSourceResource = {
2226
- serializedName: "Microsoft.IoTHub",
2227
- type: {
2228
- name: "Composite",
2229
- className: "IoTHubEventSourceResource",
2230
- uberParent: "EventSourceResource",
2231
- polymorphicDiscriminator: EventSourceResource.type.polymorphicDiscriminator,
2232
- modelProperties: Object.assign(Object.assign({}, EventSourceResource.type.modelProperties), { provisioningState: {
2233
- serializedName: "properties.provisioningState",
2234
- readOnly: true,
2235
- type: {
2236
- name: "String"
2237
- }
2238
- }, creationTime: {
2239
- serializedName: "properties.creationTime",
2240
- readOnly: true,
2241
- type: {
2242
- name: "DateTime"
2243
- }
2244
- }, timestampPropertyName: {
2245
- serializedName: "properties.timestampPropertyName",
2246
- type: {
2247
- name: "String"
2248
- }
2249
- }, localTimestamp: {
2250
- serializedName: "properties.localTimestamp",
2251
- type: {
2252
- name: "Composite",
2253
- className: "LocalTimestamp"
2254
- }
2255
- }, typePropertiesIngressStartAtType: {
2256
- serializedName: "properties.ingressStartAt.type",
2257
- type: {
2258
- name: "String"
2259
- }
2260
- }, time: {
2261
- serializedName: "properties.ingressStartAt.time",
2262
- type: {
2263
- name: "String"
2264
- }
2265
- }, eventSourceResourceId: {
2266
- serializedName: "properties.eventSourceResourceId",
2267
- required: true,
2268
- type: {
2269
- name: "String"
2270
- }
2271
- }, iotHubName: {
2272
- serializedName: "properties.iotHubName",
2273
- required: true,
2274
- type: {
2275
- name: "String"
2276
- }
2277
- }, consumerGroupName: {
2278
- serializedName: "properties.consumerGroupName",
2279
- required: true,
2280
- type: {
2281
- name: "String"
2282
- }
2283
- }, keyName: {
2284
- serializedName: "properties.keyName",
2285
- required: true,
2286
- type: {
2287
- name: "String"
2288
- }
2289
- } })
2290
- }
2291
- };
2292
- const EventHubEventSourceCommonProperties = {
2293
- type: {
2294
- name: "Composite",
2295
- className: "EventHubEventSourceCommonProperties",
2296
- modelProperties: Object.assign(Object.assign({}, AzureEventSourceProperties.type.modelProperties), { serviceBusNamespace: {
2297
- serializedName: "serviceBusNamespace",
2298
- required: true,
2299
- type: {
2300
- name: "String"
2301
- }
2302
- }, eventHubName: {
2303
- serializedName: "eventHubName",
2304
- required: true,
2305
- type: {
2306
- name: "String"
2307
- }
2308
- }, consumerGroupName: {
2309
- serializedName: "consumerGroupName",
2310
- required: true,
2311
- type: {
2312
- name: "String"
2313
- }
2314
- }, keyName: {
2315
- serializedName: "keyName",
2316
- required: true,
2317
- type: {
2318
- name: "String"
2319
- }
2320
- } })
2321
- }
2322
- };
2323
- const IoTHubEventSourceCommonProperties = {
2324
- type: {
2325
- name: "Composite",
2326
- className: "IoTHubEventSourceCommonProperties",
2327
- modelProperties: Object.assign(Object.assign({}, AzureEventSourceProperties.type.modelProperties), { iotHubName: {
2328
- serializedName: "iotHubName",
2329
- required: true,
2330
- type: {
2331
- name: "String"
2332
- }
2333
- }, consumerGroupName: {
2334
- serializedName: "consumerGroupName",
2335
- required: true,
2336
- type: {
2337
- name: "String"
2338
- }
2339
- }, keyName: {
2340
- serializedName: "keyName",
2341
- required: true,
2342
- type: {
2343
- name: "String"
2344
- }
2345
- } })
2346
- }
2347
- };
2348
- const EventHubEventSourceCreationProperties = {
2349
- type: {
2350
- name: "Composite",
2351
- className: "EventHubEventSourceCreationProperties",
2352
- modelProperties: Object.assign(Object.assign({}, EventHubEventSourceCommonProperties.type.modelProperties), { sharedAccessKey: {
2353
- serializedName: "sharedAccessKey",
2354
- required: true,
2355
- type: {
2356
- name: "String"
2357
- }
2358
- } })
2359
- }
2360
- };
2361
- const EventHubEventSourceResourceProperties = {
2362
- type: {
2363
- name: "Composite",
2364
- className: "EventHubEventSourceResourceProperties",
2365
- modelProperties: Object.assign({}, EventHubEventSourceCommonProperties.type.modelProperties)
2366
- }
2367
- };
2368
- const IoTHubEventSourceCreationProperties = {
2369
- type: {
2370
- name: "Composite",
2371
- className: "IoTHubEventSourceCreationProperties",
2372
- modelProperties: Object.assign(Object.assign({}, IoTHubEventSourceCommonProperties.type.modelProperties), { sharedAccessKey: {
2373
- serializedName: "sharedAccessKey",
2374
- required: true,
2375
- type: {
2376
- name: "String"
2377
- }
2378
- } })
2379
- }
2380
- };
2381
- const IoTHubEventSourceResourceProperties = {
2382
- type: {
2383
- name: "Composite",
2384
- className: "IoTHubEventSourceResourceProperties",
2385
- modelProperties: Object.assign({}, IoTHubEventSourceCommonProperties.type.modelProperties)
2386
- }
2387
- };
2388
- let discriminators = {
2389
- EnvironmentUpdateParameters: EnvironmentUpdateParameters,
2390
- EventSourceUpdateParameters: EventSourceUpdateParameters,
2391
- "CreateOrUpdateTrackedResourceProperties.EnvironmentCreateOrUpdateParameters": EnvironmentCreateOrUpdateParameters,
2392
- "CreateOrUpdateTrackedResourceProperties.EventSourceCreateOrUpdateParameters": EventSourceCreateOrUpdateParameters,
2393
- "EnvironmentUpdateParameters.Gen1": Gen1EnvironmentUpdateParameters,
2394
- "EnvironmentUpdateParameters.Gen2": Gen2EnvironmentUpdateParameters,
2395
- "EventSourceUpdateParameters.Microsoft.EventHub": EventHubEventSourceUpdateParameters,
2396
- "EventSourceUpdateParameters.Microsoft.IoTHub": IoTHubEventSourceUpdateParameters,
2397
- "EnvironmentCreateOrUpdateParameters.Gen1": Gen1EnvironmentCreateOrUpdateParameters,
2398
- "EnvironmentCreateOrUpdateParameters.Gen2": Gen2EnvironmentCreateOrUpdateParameters,
2399
- "EventSourceCreateOrUpdateParameters.Microsoft.EventHub": EventHubEventSourceCreateOrUpdateParameters,
2400
- "EventSourceCreateOrUpdateParameters.Microsoft.IoTHub": IoTHubEventSourceCreateOrUpdateParameters,
2401
- "TrackedResource.EnvironmentResource": EnvironmentResource,
2402
- "TrackedResource.EventSourceResource": EventSourceResource,
2403
- "EnvironmentResource.Gen1": Gen1EnvironmentResource,
2404
- "EnvironmentResource.Gen2": Gen2EnvironmentResource,
2405
- "EventSourceResource.Microsoft.EventHub": EventHubEventSourceResource,
2406
- "EventSourceResource.Microsoft.IoTHub": IoTHubEventSourceResource
2407
- };
2408
-
2409
- var Mappers = /*#__PURE__*/Object.freeze({
2410
- __proto__: null,
2411
- OperationListResult: OperationListResult,
2412
- Operation: Operation,
2413
- OperationDisplay: OperationDisplay,
2414
- ServiceSpecification: ServiceSpecification,
2415
- MetricSpecification: MetricSpecification,
2416
- Dimension: Dimension,
2417
- MetricAvailability: MetricAvailability,
2418
- LogSpecification: LogSpecification,
2419
- CloudError: CloudError,
2420
- CloudErrorBody: CloudErrorBody,
2421
- Sku: Sku,
2422
- CreateOrUpdateTrackedResourceProperties: CreateOrUpdateTrackedResourceProperties,
2423
- Resource: Resource,
2424
- EnvironmentUpdateParameters: EnvironmentUpdateParameters,
2425
- EnvironmentListResponse: EnvironmentListResponse,
2426
- LocalTimestamp: LocalTimestamp,
2427
- LocalTimestampTimeZoneOffset: LocalTimestampTimeZoneOffset,
2428
- EventSourceUpdateParameters: EventSourceUpdateParameters,
2429
- EventSourceListResponse: EventSourceListResponse,
2430
- ReferenceDataSetCreationProperties: ReferenceDataSetCreationProperties,
2431
- ReferenceDataSetKeyProperty: ReferenceDataSetKeyProperty,
2432
- ResourceProperties: ResourceProperties,
2433
- ReferenceDataSetUpdateParameters: ReferenceDataSetUpdateParameters,
2434
- ReferenceDataSetListResponse: ReferenceDataSetListResponse,
2435
- AccessPolicyCreateOrUpdateParameters: AccessPolicyCreateOrUpdateParameters,
2436
- AccessPolicyUpdateParameters: AccessPolicyUpdateParameters,
2437
- AccessPolicyListResponse: AccessPolicyListResponse,
2438
- PrivateEndpoint: PrivateEndpoint,
2439
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2440
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
2441
- PrivateLinkResourceListResult: PrivateLinkResourceListResult,
2442
- WarmStoreConfigurationProperties: WarmStoreConfigurationProperties,
2443
- Gen2StorageConfigurationInput: Gen2StorageConfigurationInput,
2444
- Gen2StorageConfigurationOutput: Gen2StorageConfigurationOutput,
2445
- Gen2StorageConfigurationMutableProperties: Gen2StorageConfigurationMutableProperties,
2446
- Gen1EnvironmentCreationProperties: Gen1EnvironmentCreationProperties,
2447
- TimeSeriesIdProperty: TimeSeriesIdProperty,
2448
- EnvironmentStatus: EnvironmentStatus,
2449
- IngressEnvironmentStatus: IngressEnvironmentStatus,
2450
- EnvironmentStateDetails: EnvironmentStateDetails,
2451
- WarmStorageEnvironmentStatus: WarmStorageEnvironmentStatus,
2452
- EventSourceMutableProperties: EventSourceMutableProperties,
2453
- EnvironmentCreateOrUpdateParameters: EnvironmentCreateOrUpdateParameters,
2454
- EventSourceCreateOrUpdateParameters: EventSourceCreateOrUpdateParameters,
2455
- ReferenceDataSetCreateOrUpdateParameters: ReferenceDataSetCreateOrUpdateParameters,
2456
- TrackedResource: TrackedResource,
2457
- AccessPolicyResource: AccessPolicyResource,
2458
- PrivateEndpointConnection: PrivateEndpointConnection,
2459
- PrivateLinkResource: PrivateLinkResource,
2460
- Gen1EnvironmentUpdateParameters: Gen1EnvironmentUpdateParameters,
2461
- Gen2EnvironmentUpdateParameters: Gen2EnvironmentUpdateParameters,
2462
- EventHubEventSourceUpdateParameters: EventHubEventSourceUpdateParameters,
2463
- IoTHubEventSourceUpdateParameters: IoTHubEventSourceUpdateParameters,
2464
- ReferenceDataSetResourceProperties: ReferenceDataSetResourceProperties,
2465
- EnvironmentResourceProperties: EnvironmentResourceProperties,
2466
- EventSourceCommonProperties: EventSourceCommonProperties,
2467
- Gen1EnvironmentResourceProperties: Gen1EnvironmentResourceProperties,
2468
- EventHubEventSourceMutableProperties: EventHubEventSourceMutableProperties,
2469
- IoTHubEventSourceMutableProperties: IoTHubEventSourceMutableProperties,
2470
- Gen1EnvironmentCreateOrUpdateParameters: Gen1EnvironmentCreateOrUpdateParameters,
2471
- Gen2EnvironmentCreateOrUpdateParameters: Gen2EnvironmentCreateOrUpdateParameters,
2472
- EventHubEventSourceCreateOrUpdateParameters: EventHubEventSourceCreateOrUpdateParameters,
2473
- IoTHubEventSourceCreateOrUpdateParameters: IoTHubEventSourceCreateOrUpdateParameters,
2474
- EnvironmentResource: EnvironmentResource,
2475
- EventSourceResource: EventSourceResource,
2476
- ReferenceDataSetResource: ReferenceDataSetResource,
2477
- Gen2EnvironmentResourceProperties: Gen2EnvironmentResourceProperties,
2478
- AzureEventSourceProperties: AzureEventSourceProperties,
2479
- Gen1EnvironmentResource: Gen1EnvironmentResource,
2480
- Gen2EnvironmentResource: Gen2EnvironmentResource,
2481
- EventHubEventSourceResource: EventHubEventSourceResource,
2482
- IoTHubEventSourceResource: IoTHubEventSourceResource,
2483
- EventHubEventSourceCommonProperties: EventHubEventSourceCommonProperties,
2484
- IoTHubEventSourceCommonProperties: IoTHubEventSourceCommonProperties,
2485
- EventHubEventSourceCreationProperties: EventHubEventSourceCreationProperties,
2486
- EventHubEventSourceResourceProperties: EventHubEventSourceResourceProperties,
2487
- IoTHubEventSourceCreationProperties: IoTHubEventSourceCreationProperties,
2488
- IoTHubEventSourceResourceProperties: IoTHubEventSourceResourceProperties,
2489
- discriminators: discriminators
2490
- });
2491
-
2492
- /*
2493
- * Copyright (c) Microsoft Corporation.
2494
- * Licensed under the MIT License.
2495
- *
2496
- * Code generated by Microsoft (R) AutoRest Code Generator.
2497
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2498
- */
2499
- const accept = {
2500
- parameterPath: "accept",
2501
- mapper: {
2502
- defaultValue: "application/json",
2503
- isConstant: true,
2504
- serializedName: "Accept",
2505
- type: {
2506
- name: "String"
2507
- }
2508
- }
2509
- };
2510
- const $host = {
2511
- parameterPath: "$host",
2512
- mapper: {
2513
- serializedName: "$host",
2514
- required: true,
2515
- type: {
2516
- name: "String"
2517
- }
2518
- },
2519
- skipEncoding: true
2520
- };
2521
- const apiVersion = {
2522
- parameterPath: "apiVersion",
2523
- mapper: {
2524
- defaultValue: "2021-03-31-preview",
2525
- isConstant: true,
2526
- serializedName: "api-version",
2527
- type: {
2528
- name: "String"
2529
- }
2530
- }
2531
- };
2532
- const nextLink = {
2533
- parameterPath: "nextLink",
2534
- mapper: {
2535
- serializedName: "nextLink",
2536
- required: true,
2537
- type: {
2538
- name: "String"
2539
- }
2540
- },
2541
- skipEncoding: true
2542
- };
2543
- const contentType = {
2544
- parameterPath: ["options", "contentType"],
2545
- mapper: {
2546
- defaultValue: "application/json",
2547
- isConstant: true,
2548
- serializedName: "Content-Type",
2549
- type: {
2550
- name: "String"
2551
- }
2552
- }
2553
- };
2554
- const parameters = {
2555
- parameterPath: "parameters",
2556
- mapper: EnvironmentCreateOrUpdateParameters
2557
- };
2558
- const subscriptionId = {
2559
- parameterPath: "subscriptionId",
2560
- mapper: {
2561
- serializedName: "subscriptionId",
2562
- required: true,
2563
- type: {
2564
- name: "String"
2565
- }
2566
- }
2567
- };
2568
- const resourceGroupName = {
2569
- parameterPath: "resourceGroupName",
2570
- mapper: {
2571
- serializedName: "resourceGroupName",
2572
- required: true,
2573
- type: {
2574
- name: "String"
2575
- }
2576
- }
2577
- };
2578
- const environmentName = {
2579
- parameterPath: "environmentName",
2580
- mapper: {
2581
- constraints: {
2582
- Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
2583
- MaxLength: 90,
2584
- MinLength: 1
2585
- },
2586
- serializedName: "environmentName",
2587
- required: true,
2588
- type: {
2589
- name: "String"
2590
- }
2591
- }
2592
- };
2593
- const environmentName1 = {
2594
- parameterPath: "environmentName",
2595
- mapper: {
2596
- serializedName: "environmentName",
2597
- required: true,
2598
- type: {
2599
- name: "String"
2600
- }
2601
- }
2602
- };
2603
- const expand = {
2604
- parameterPath: ["options", "expand"],
2605
- mapper: {
2606
- serializedName: "$expand",
2607
- type: {
2608
- name: "String"
2609
- }
2610
- }
2611
- };
2612
- const environmentUpdateParameters = {
2613
- parameterPath: "environmentUpdateParameters",
2614
- mapper: EnvironmentUpdateParameters
2615
- };
2616
- const parameters1 = {
2617
- parameterPath: "parameters",
2618
- mapper: EventSourceCreateOrUpdateParameters
2619
- };
2620
- const eventSourceName = {
2621
- parameterPath: "eventSourceName",
2622
- mapper: {
2623
- constraints: {
2624
- Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
2625
- MaxLength: 90,
2626
- MinLength: 1
2627
- },
2628
- serializedName: "eventSourceName",
2629
- required: true,
2630
- type: {
2631
- name: "String"
2632
- }
2633
- }
2634
- };
2635
- const eventSourceName1 = {
2636
- parameterPath: "eventSourceName",
2637
- mapper: {
2638
- serializedName: "eventSourceName",
2639
- required: true,
2640
- type: {
2641
- name: "String"
2642
- }
2643
- }
2644
- };
2645
- const eventSourceUpdateParameters = {
2646
- parameterPath: "eventSourceUpdateParameters",
2647
- mapper: EventSourceUpdateParameters
2648
- };
2649
- const parameters2 = {
2650
- parameterPath: "parameters",
2651
- mapper: ReferenceDataSetCreateOrUpdateParameters
2652
- };
2653
- const referenceDataSetName = {
2654
- parameterPath: "referenceDataSetName",
2655
- mapper: {
2656
- constraints: {
2657
- Pattern: new RegExp("^[A-Za-z0-9]"),
2658
- MaxLength: 63,
2659
- MinLength: 3
2660
- },
2661
- serializedName: "referenceDataSetName",
2662
- required: true,
2663
- type: {
2664
- name: "String"
2665
- }
2666
- }
2667
- };
2668
- const referenceDataSetName1 = {
2669
- parameterPath: "referenceDataSetName",
2670
- mapper: {
2671
- serializedName: "referenceDataSetName",
2672
- required: true,
2673
- type: {
2674
- name: "String"
2675
- }
2676
- }
2677
- };
2678
- const referenceDataSetUpdateParameters = {
2679
- parameterPath: "referenceDataSetUpdateParameters",
2680
- mapper: ReferenceDataSetUpdateParameters
2681
- };
2682
- const parameters3 = {
2683
- parameterPath: "parameters",
2684
- mapper: AccessPolicyCreateOrUpdateParameters
2685
- };
2686
- const accessPolicyName = {
2687
- parameterPath: "accessPolicyName",
2688
- mapper: {
2689
- constraints: {
2690
- Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
2691
- MaxLength: 90,
2692
- MinLength: 1
2693
- },
2694
- serializedName: "accessPolicyName",
2695
- required: true,
2696
- type: {
2697
- name: "String"
2698
- }
2699
- }
2700
- };
2701
- const accessPolicyName1 = {
2702
- parameterPath: "accessPolicyName",
2703
- mapper: {
2704
- serializedName: "accessPolicyName",
2705
- required: true,
2706
- type: {
2707
- name: "String"
2708
- }
2709
- }
2710
- };
2711
- const accessPolicyUpdateParameters = {
2712
- parameterPath: "accessPolicyUpdateParameters",
2713
- mapper: AccessPolicyUpdateParameters
2714
- };
2715
- const privateEndpointConnection = {
2716
- parameterPath: "privateEndpointConnection",
2717
- mapper: PrivateEndpointConnection
2718
- };
2719
- const privateEndpointConnectionName = {
2720
- parameterPath: "privateEndpointConnectionName",
2721
- mapper: {
2722
- serializedName: "privateEndpointConnectionName",
2723
- required: true,
2724
- type: {
2725
- name: "String"
2726
- }
2727
- }
2728
- };
2729
-
2730
- /*
2731
- * Copyright (c) Microsoft Corporation.
2732
- * Licensed under the MIT License.
2733
- *
2734
- * Code generated by Microsoft (R) AutoRest Code Generator.
2735
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2736
- */
2737
- /// <reference lib="esnext.asynciterable" />
2738
- /** Class containing Operations operations. */
2739
- class OperationsImpl {
2740
- /**
2741
- * Initialize a new instance of the class Operations class.
2742
- * @param client Reference to the service client
2743
- */
2744
- constructor(client) {
2745
- this.client = client;
2746
- }
2747
- /**
2748
- * Lists all of the available Time Series Insights related operations.
2749
- * @param options The options parameters.
2750
- */
2751
- list(options) {
2752
- const iter = this.listPagingAll(options);
2753
- return {
2754
- next() {
2755
- return iter.next();
2756
- },
2757
- [Symbol.asyncIterator]() {
2758
- return this;
2759
- },
2760
- byPage: (settings) => {
2761
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2762
- throw new Error("maxPageSize is not supported by this operation.");
2763
- }
2764
- return this.listPagingPage(options, settings);
2765
- }
2766
- };
2767
- }
2768
- listPagingPage(options, settings) {
2769
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
2770
- let result;
2771
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2772
- if (!continuationToken) {
2773
- result = yield tslib.__await(this._list(options));
2774
- let page = result.value || [];
2775
- continuationToken = result.nextLink;
2776
- setContinuationToken(page, continuationToken);
2777
- yield yield tslib.__await(page);
2778
- }
2779
- while (continuationToken) {
2780
- result = yield tslib.__await(this._listNext(continuationToken, options));
2781
- continuationToken = result.nextLink;
2782
- let page = result.value || [];
2783
- setContinuationToken(page, continuationToken);
2784
- yield yield tslib.__await(page);
2785
- }
2786
- });
2787
- }
2788
- listPagingAll(options) {
2789
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2790
- var e_1, _a;
2791
- try {
2792
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2793
- const page = _c.value;
2794
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2795
- }
2796
- }
2797
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2798
- finally {
2799
- try {
2800
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2801
- }
2802
- finally { if (e_1) throw e_1.error; }
2803
- }
2804
- });
2805
- }
2806
- /**
2807
- * Lists all of the available Time Series Insights related operations.
2808
- * @param options The options parameters.
2809
- */
2810
- _list(options) {
2811
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2812
- }
2813
- /**
2814
- * ListNext
2815
- * @param nextLink The nextLink from the previous successful call to the List method.
2816
- * @param options The options parameters.
2817
- */
2818
- _listNext(nextLink, options) {
2819
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
2820
- }
2821
- }
2822
- // Operation Specifications
2823
- const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2824
- const listOperationSpec = {
2825
- path: "/providers/Microsoft.TimeSeriesInsights/operations",
2826
- httpMethod: "GET",
2827
- responses: {
2828
- 200: {
2829
- bodyMapper: OperationListResult
2830
- },
2831
- default: {
2832
- bodyMapper: CloudError
2833
- }
2834
- },
2835
- queryParameters: [apiVersion],
2836
- urlParameters: [$host],
2837
- headerParameters: [accept],
2838
- serializer: serializer$6
2839
- };
2840
- const listNextOperationSpec = {
2841
- path: "{nextLink}",
2842
- httpMethod: "GET",
2843
- responses: {
2844
- 200: {
2845
- bodyMapper: OperationListResult
2846
- },
2847
- default: {
2848
- bodyMapper: CloudError
2849
- }
2850
- },
2851
- urlParameters: [$host, nextLink],
2852
- headerParameters: [accept],
2853
- serializer: serializer$6
2854
- };
2855
-
2856
- /*
2857
- * Copyright (c) Microsoft Corporation.
2858
- * Licensed under the MIT License.
2859
- *
2860
- * Code generated by Microsoft (R) AutoRest Code Generator.
2861
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2862
- */
2863
- class LroImpl {
2864
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
2865
- this.sendOperationFn = sendOperationFn;
2866
- this.args = args;
2867
- this.spec = spec;
2868
- this.requestPath = requestPath;
2869
- this.requestMethod = requestMethod;
2870
- }
2871
- sendInitialRequest() {
2872
- return tslib.__awaiter(this, void 0, void 0, function* () {
2873
- return this.sendOperationFn(this.args, this.spec);
2874
- });
2875
- }
2876
- sendPollRequest(path) {
2877
- return tslib.__awaiter(this, void 0, void 0, function* () {
2878
- const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
2879
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
2880
- });
2881
- }
2882
- }
2883
-
2884
- /*
2885
- * Copyright (c) Microsoft Corporation.
2886
- * Licensed under the MIT License.
2887
- *
2888
- * Code generated by Microsoft (R) AutoRest Code Generator.
2889
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2890
- */
2891
- /** Class containing Environments operations. */
2892
- class EnvironmentsImpl {
2893
- /**
2894
- * Initialize a new instance of the class Environments class.
2895
- * @param client Reference to the service client
2896
- */
2897
- constructor(client) {
2898
- this.client = client;
2899
- }
2900
- /**
2901
- * Create or update an environment in the specified subscription and resource group.
2902
- * @param resourceGroupName Name of an Azure Resource group.
2903
- * @param environmentName Name of the environment
2904
- * @param parameters Parameters for creating an environment resource.
2905
- * @param options The options parameters.
2906
- */
2907
- beginCreateOrUpdate(resourceGroupName, environmentName, parameters, options) {
2908
- return tslib.__awaiter(this, void 0, void 0, function* () {
2909
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2910
- return this.client.sendOperationRequest(args, spec);
2911
- });
2912
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2913
- var _a;
2914
- let currentRawResponse = undefined;
2915
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2916
- const callback = (rawResponse, flatResponse) => {
2917
- currentRawResponse = rawResponse;
2918
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2919
- };
2920
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2921
- const flatResponse = yield directSendOperation(updatedArgs, spec);
2922
- return {
2923
- flatResponse,
2924
- rawResponse: {
2925
- statusCode: currentRawResponse.status,
2926
- body: currentRawResponse.parsedBody,
2927
- headers: currentRawResponse.headers.toJSON()
2928
- }
2929
- };
2930
- });
2931
- const lro = new LroImpl(sendOperation, { resourceGroupName, environmentName, parameters, options }, createOrUpdateOperationSpec$4);
2932
- const poller = new coreLro.LroEngine(lro, {
2933
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2934
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
2935
- });
2936
- yield poller.poll();
2937
- return poller;
2938
- });
2939
- }
2940
- /**
2941
- * Create or update an environment in the specified subscription and resource group.
2942
- * @param resourceGroupName Name of an Azure Resource group.
2943
- * @param environmentName Name of the environment
2944
- * @param parameters Parameters for creating an environment resource.
2945
- * @param options The options parameters.
2946
- */
2947
- beginCreateOrUpdateAndWait(resourceGroupName, environmentName, parameters, options) {
2948
- return tslib.__awaiter(this, void 0, void 0, function* () {
2949
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, environmentName, parameters, options);
2950
- return poller.pollUntilDone();
2951
- });
2952
- }
2953
- /**
2954
- * Gets the environment with the specified name in the specified subscription and resource group.
2955
- * @param resourceGroupName Name of an Azure Resource group.
2956
- * @param environmentName The name of the Time Series Insights environment associated with the
2957
- * specified resource group.
2958
- * @param options The options parameters.
2959
- */
2960
- get(resourceGroupName, environmentName, options) {
2961
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, getOperationSpec$4);
2962
- }
2963
- /**
2964
- * Updates the environment with the specified name in the specified subscription and resource group.
2965
- * @param resourceGroupName Name of an Azure Resource group.
2966
- * @param environmentName The name of the Time Series Insights environment associated with the
2967
- * specified resource group.
2968
- * @param environmentUpdateParameters Request object that contains the updated information for the
2969
- * environment.
2970
- * @param options The options parameters.
2971
- */
2972
- beginUpdate(resourceGroupName, environmentName, environmentUpdateParameters, options) {
2973
- return tslib.__awaiter(this, void 0, void 0, function* () {
2974
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2975
- return this.client.sendOperationRequest(args, spec);
2976
- });
2977
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2978
- var _a;
2979
- let currentRawResponse = undefined;
2980
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2981
- const callback = (rawResponse, flatResponse) => {
2982
- currentRawResponse = rawResponse;
2983
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2984
- };
2985
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2986
- const flatResponse = yield directSendOperation(updatedArgs, spec);
2987
- return {
2988
- flatResponse,
2989
- rawResponse: {
2990
- statusCode: currentRawResponse.status,
2991
- body: currentRawResponse.parsedBody,
2992
- headers: currentRawResponse.headers.toJSON()
2993
- }
2994
- };
2995
- });
2996
- const lro = new LroImpl(sendOperation, {
2997
- resourceGroupName,
2998
- environmentName,
2999
- environmentUpdateParameters,
3000
- options
3001
- }, updateOperationSpec$3);
3002
- const poller = new coreLro.LroEngine(lro, {
3003
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3004
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
3005
- });
3006
- yield poller.poll();
3007
- return poller;
3008
- });
3009
- }
3010
- /**
3011
- * Updates the environment with the specified name in the specified subscription and resource group.
3012
- * @param resourceGroupName Name of an Azure Resource group.
3013
- * @param environmentName The name of the Time Series Insights environment associated with the
3014
- * specified resource group.
3015
- * @param environmentUpdateParameters Request object that contains the updated information for the
3016
- * environment.
3017
- * @param options The options parameters.
3018
- */
3019
- beginUpdateAndWait(resourceGroupName, environmentName, environmentUpdateParameters, options) {
3020
- return tslib.__awaiter(this, void 0, void 0, function* () {
3021
- const poller = yield this.beginUpdate(resourceGroupName, environmentName, environmentUpdateParameters, options);
3022
- return poller.pollUntilDone();
3023
- });
3024
- }
3025
- /**
3026
- * Deletes the environment with the specified name in the specified subscription and resource group.
3027
- * @param resourceGroupName Name of an Azure Resource group.
3028
- * @param environmentName The name of the Time Series Insights environment associated with the
3029
- * specified resource group.
3030
- * @param options The options parameters.
3031
- */
3032
- delete(resourceGroupName, environmentName, options) {
3033
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, deleteOperationSpec$4);
3034
- }
3035
- /**
3036
- * Lists all the available environments associated with the subscription and within the specified
3037
- * resource group.
3038
- * @param resourceGroupName Name of an Azure Resource group.
3039
- * @param options The options parameters.
3040
- */
3041
- listByResourceGroup(resourceGroupName, options) {
3042
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
3043
- }
3044
- /**
3045
- * Lists all the available environments within a subscription, irrespective of the resource groups.
3046
- * @param options The options parameters.
3047
- */
3048
- listBySubscription(options) {
3049
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
3050
- }
3051
- }
3052
- // Operation Specifications
3053
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3054
- const createOrUpdateOperationSpec$4 = {
3055
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
3056
- httpMethod: "PUT",
3057
- responses: {
3058
- 200: {
3059
- bodyMapper: EnvironmentResource
3060
- },
3061
- 201: {
3062
- bodyMapper: EnvironmentResource
3063
- },
3064
- 202: {
3065
- bodyMapper: EnvironmentResource
3066
- },
3067
- 204: {
3068
- bodyMapper: EnvironmentResource
3069
- },
3070
- default: {
3071
- bodyMapper: CloudError
3072
- }
3073
- },
3074
- requestBody: parameters,
3075
- queryParameters: [apiVersion],
3076
- urlParameters: [
3077
- $host,
3078
- subscriptionId,
3079
- resourceGroupName,
3080
- environmentName
3081
- ],
3082
- headerParameters: [accept, contentType],
3083
- mediaType: "json",
3084
- serializer: serializer$5
3085
- };
3086
- const getOperationSpec$4 = {
3087
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
3088
- httpMethod: "GET",
3089
- responses: {
3090
- 200: {
3091
- bodyMapper: EnvironmentResource
3092
- },
3093
- default: {
3094
- bodyMapper: CloudError
3095
- }
3096
- },
3097
- queryParameters: [apiVersion, expand],
3098
- urlParameters: [
3099
- $host,
3100
- subscriptionId,
3101
- resourceGroupName,
3102
- environmentName1
3103
- ],
3104
- headerParameters: [accept],
3105
- serializer: serializer$5
3106
- };
3107
- const updateOperationSpec$3 = {
3108
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
3109
- httpMethod: "PATCH",
3110
- responses: {
3111
- 200: {
3112
- bodyMapper: EnvironmentResource
3113
- },
3114
- 201: {
3115
- bodyMapper: EnvironmentResource
3116
- },
3117
- 202: {
3118
- bodyMapper: EnvironmentResource
3119
- },
3120
- 204: {
3121
- bodyMapper: EnvironmentResource
3122
- },
3123
- default: {
3124
- bodyMapper: CloudError
3125
- }
3126
- },
3127
- requestBody: environmentUpdateParameters,
3128
- queryParameters: [apiVersion],
3129
- urlParameters: [
3130
- $host,
3131
- subscriptionId,
3132
- resourceGroupName,
3133
- environmentName1
3134
- ],
3135
- headerParameters: [accept, contentType],
3136
- mediaType: "json",
3137
- serializer: serializer$5
3138
- };
3139
- const deleteOperationSpec$4 = {
3140
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
3141
- httpMethod: "DELETE",
3142
- responses: {
3143
- 200: {},
3144
- 204: {},
3145
- default: {
3146
- bodyMapper: CloudError
3147
- }
3148
- },
3149
- queryParameters: [apiVersion],
3150
- urlParameters: [
3151
- $host,
3152
- subscriptionId,
3153
- resourceGroupName,
3154
- environmentName1
3155
- ],
3156
- headerParameters: [accept],
3157
- serializer: serializer$5
3158
- };
3159
- const listByResourceGroupOperationSpec = {
3160
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments",
3161
- httpMethod: "GET",
3162
- responses: {
3163
- 200: {
3164
- bodyMapper: EnvironmentListResponse
3165
- },
3166
- default: {
3167
- bodyMapper: CloudError
3168
- }
3169
- },
3170
- queryParameters: [apiVersion],
3171
- urlParameters: [
3172
- $host,
3173
- subscriptionId,
3174
- resourceGroupName
3175
- ],
3176
- headerParameters: [accept],
3177
- serializer: serializer$5
3178
- };
3179
- const listBySubscriptionOperationSpec = {
3180
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments",
3181
- httpMethod: "GET",
3182
- responses: {
3183
- 200: {
3184
- bodyMapper: EnvironmentListResponse
3185
- },
3186
- default: {
3187
- bodyMapper: CloudError
3188
- }
3189
- },
3190
- queryParameters: [apiVersion],
3191
- urlParameters: [$host, subscriptionId],
3192
- headerParameters: [accept],
3193
- serializer: serializer$5
3194
- };
3195
-
3196
- /*
3197
- * Copyright (c) Microsoft Corporation.
3198
- * Licensed under the MIT License.
3199
- *
3200
- * Code generated by Microsoft (R) AutoRest Code Generator.
3201
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3202
- */
3203
- /** Class containing EventSources operations. */
3204
- class EventSourcesImpl {
3205
- /**
3206
- * Initialize a new instance of the class EventSources class.
3207
- * @param client Reference to the service client
3208
- */
3209
- constructor(client) {
3210
- this.client = client;
3211
- }
3212
- /**
3213
- * Create or update an event source under the specified environment.
3214
- * @param resourceGroupName Name of an Azure Resource group.
3215
- * @param environmentName The name of the Time Series Insights environment associated with the
3216
- * specified resource group.
3217
- * @param eventSourceName Name of the event source.
3218
- * @param parameters Parameters for creating an event source resource.
3219
- * @param options The options parameters.
3220
- */
3221
- createOrUpdate(resourceGroupName, environmentName, eventSourceName, parameters, options) {
3222
- return this.client.sendOperationRequest({
3223
- resourceGroupName,
3224
- environmentName,
3225
- eventSourceName,
3226
- parameters,
3227
- options
3228
- }, createOrUpdateOperationSpec$3);
3229
- }
3230
- /**
3231
- * Gets the event source with the specified name in the specified environment.
3232
- * @param resourceGroupName Name of an Azure Resource group.
3233
- * @param environmentName The name of the Time Series Insights environment associated with the
3234
- * specified resource group.
3235
- * @param eventSourceName The name of the Time Series Insights event source associated with the
3236
- * specified environment.
3237
- * @param options The options parameters.
3238
- */
3239
- get(resourceGroupName, environmentName, eventSourceName, options) {
3240
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, eventSourceName, options }, getOperationSpec$3);
3241
- }
3242
- /**
3243
- * Updates the event source with the specified name in the specified subscription, resource group, and
3244
- * environment.
3245
- * @param resourceGroupName Name of an Azure Resource group.
3246
- * @param environmentName The name of the Time Series Insights environment associated with the
3247
- * specified resource group.
3248
- * @param eventSourceName The name of the Time Series Insights event source associated with the
3249
- * specified environment.
3250
- * @param eventSourceUpdateParameters Request object that contains the updated information for the
3251
- * event source.
3252
- * @param options The options parameters.
3253
- */
3254
- update(resourceGroupName, environmentName, eventSourceName, eventSourceUpdateParameters, options) {
3255
- return this.client.sendOperationRequest({
3256
- resourceGroupName,
3257
- environmentName,
3258
- eventSourceName,
3259
- eventSourceUpdateParameters,
3260
- options
3261
- }, updateOperationSpec$2);
3262
- }
3263
- /**
3264
- * Deletes the event source with the specified name in the specified subscription, resource group, and
3265
- * environment
3266
- * @param resourceGroupName Name of an Azure Resource group.
3267
- * @param environmentName The name of the Time Series Insights environment associated with the
3268
- * specified resource group.
3269
- * @param eventSourceName The name of the Time Series Insights event source associated with the
3270
- * specified environment.
3271
- * @param options The options parameters.
3272
- */
3273
- delete(resourceGroupName, environmentName, eventSourceName, options) {
3274
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, eventSourceName, options }, deleteOperationSpec$3);
3275
- }
3276
- /**
3277
- * Lists all the available event sources associated with the subscription and within the specified
3278
- * resource group and environment.
3279
- * @param resourceGroupName Name of an Azure Resource group.
3280
- * @param environmentName The name of the Time Series Insights environment associated with the
3281
- * specified resource group.
3282
- * @param options The options parameters.
3283
- */
3284
- listByEnvironment(resourceGroupName, environmentName, options) {
3285
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listByEnvironmentOperationSpec$3);
3286
- }
3287
- }
3288
- // Operation Specifications
3289
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3290
- const createOrUpdateOperationSpec$3 = {
3291
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
3292
- httpMethod: "PUT",
3293
- responses: {
3294
- 200: {
3295
- bodyMapper: EventSourceResource
3296
- },
3297
- 201: {
3298
- bodyMapper: EventSourceResource
3299
- },
3300
- default: {
3301
- bodyMapper: CloudError
3302
- }
3303
- },
3304
- requestBody: parameters1,
3305
- queryParameters: [apiVersion],
3306
- urlParameters: [
3307
- $host,
3308
- subscriptionId,
3309
- resourceGroupName,
3310
- environmentName1,
3311
- eventSourceName
3312
- ],
3313
- headerParameters: [accept, contentType],
3314
- mediaType: "json",
3315
- serializer: serializer$4
3316
- };
3317
- const getOperationSpec$3 = {
3318
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
3319
- httpMethod: "GET",
3320
- responses: {
3321
- 200: {
3322
- bodyMapper: EventSourceResource
3323
- },
3324
- default: {
3325
- bodyMapper: CloudError
3326
- }
3327
- },
3328
- queryParameters: [apiVersion],
3329
- urlParameters: [
3330
- $host,
3331
- subscriptionId,
3332
- resourceGroupName,
3333
- environmentName1,
3334
- eventSourceName1
3335
- ],
3336
- headerParameters: [accept],
3337
- serializer: serializer$4
3338
- };
3339
- const updateOperationSpec$2 = {
3340
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
3341
- httpMethod: "PATCH",
3342
- responses: {
3343
- 200: {
3344
- bodyMapper: EventSourceResource
3345
- },
3346
- default: {
3347
- bodyMapper: CloudError
3348
- }
3349
- },
3350
- requestBody: eventSourceUpdateParameters,
3351
- queryParameters: [apiVersion],
3352
- urlParameters: [
3353
- $host,
3354
- subscriptionId,
3355
- resourceGroupName,
3356
- environmentName1,
3357
- eventSourceName1
3358
- ],
3359
- headerParameters: [accept, contentType],
3360
- mediaType: "json",
3361
- serializer: serializer$4
3362
- };
3363
- const deleteOperationSpec$3 = {
3364
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
3365
- httpMethod: "DELETE",
3366
- responses: {
3367
- 200: {},
3368
- 204: {},
3369
- default: {
3370
- bodyMapper: CloudError
3371
- }
3372
- },
3373
- queryParameters: [apiVersion],
3374
- urlParameters: [
3375
- $host,
3376
- subscriptionId,
3377
- resourceGroupName,
3378
- environmentName1,
3379
- eventSourceName1
3380
- ],
3381
- headerParameters: [accept],
3382
- serializer: serializer$4
3383
- };
3384
- const listByEnvironmentOperationSpec$3 = {
3385
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources",
3386
- httpMethod: "GET",
3387
- responses: {
3388
- 200: {
3389
- bodyMapper: EventSourceListResponse
3390
- },
3391
- default: {
3392
- bodyMapper: CloudError
3393
- }
3394
- },
3395
- queryParameters: [apiVersion],
3396
- urlParameters: [
3397
- $host,
3398
- subscriptionId,
3399
- resourceGroupName,
3400
- environmentName1
3401
- ],
3402
- headerParameters: [accept],
3403
- serializer: serializer$4
3404
- };
3405
-
3406
- /*
3407
- * Copyright (c) Microsoft Corporation.
3408
- * Licensed under the MIT License.
3409
- *
3410
- * Code generated by Microsoft (R) AutoRest Code Generator.
3411
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3412
- */
3413
- /** Class containing ReferenceDataSets operations. */
3414
- class ReferenceDataSetsImpl {
3415
- /**
3416
- * Initialize a new instance of the class ReferenceDataSets class.
3417
- * @param client Reference to the service client
3418
- */
3419
- constructor(client) {
3420
- this.client = client;
3421
- }
3422
- /**
3423
- * Create or update a reference data set in the specified environment.
3424
- * @param resourceGroupName Name of an Azure Resource group.
3425
- * @param environmentName The name of the Time Series Insights environment associated with the
3426
- * specified resource group.
3427
- * @param referenceDataSetName Name of the reference data set.
3428
- * @param parameters Parameters for creating a reference data set.
3429
- * @param options The options parameters.
3430
- */
3431
- createOrUpdate(resourceGroupName, environmentName, referenceDataSetName, parameters, options) {
3432
- return this.client.sendOperationRequest({
3433
- resourceGroupName,
3434
- environmentName,
3435
- referenceDataSetName,
3436
- parameters,
3437
- options
3438
- }, createOrUpdateOperationSpec$2);
3439
- }
3440
- /**
3441
- * Gets the reference data set with the specified name in the specified environment.
3442
- * @param resourceGroupName Name of an Azure Resource group.
3443
- * @param environmentName The name of the Time Series Insights environment associated with the
3444
- * specified resource group.
3445
- * @param referenceDataSetName The name of the Time Series Insights reference data set associated with
3446
- * the specified environment.
3447
- * @param options The options parameters.
3448
- */
3449
- get(resourceGroupName, environmentName, referenceDataSetName, options) {
3450
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, referenceDataSetName, options }, getOperationSpec$2);
3451
- }
3452
- /**
3453
- * Updates the reference data set with the specified name in the specified subscription, resource
3454
- * group, and environment.
3455
- * @param resourceGroupName Name of an Azure Resource group.
3456
- * @param environmentName The name of the Time Series Insights environment associated with the
3457
- * specified resource group.
3458
- * @param referenceDataSetName The name of the Time Series Insights reference data set associated with
3459
- * the specified environment.
3460
- * @param referenceDataSetUpdateParameters Request object that contains the updated information for the
3461
- * reference data set.
3462
- * @param options The options parameters.
3463
- */
3464
- update(resourceGroupName, environmentName, referenceDataSetName, referenceDataSetUpdateParameters, options) {
3465
- return this.client.sendOperationRequest({
3466
- resourceGroupName,
3467
- environmentName,
3468
- referenceDataSetName,
3469
- referenceDataSetUpdateParameters,
3470
- options
3471
- }, updateOperationSpec$1);
3472
- }
3473
- /**
3474
- * Deletes the reference data set with the specified name in the specified subscription, resource
3475
- * group, and environment
3476
- * @param resourceGroupName Name of an Azure Resource group.
3477
- * @param environmentName The name of the Time Series Insights environment associated with the
3478
- * specified resource group.
3479
- * @param referenceDataSetName The name of the Time Series Insights reference data set associated with
3480
- * the specified environment.
3481
- * @param options The options parameters.
3482
- */
3483
- delete(resourceGroupName, environmentName, referenceDataSetName, options) {
3484
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, referenceDataSetName, options }, deleteOperationSpec$2);
3485
- }
3486
- /**
3487
- * Lists all the available reference data sets associated with the subscription and within the
3488
- * specified resource group and environment.
3489
- * @param resourceGroupName Name of an Azure Resource group.
3490
- * @param environmentName The name of the Time Series Insights environment associated with the
3491
- * specified resource group.
3492
- * @param options The options parameters.
3493
- */
3494
- listByEnvironment(resourceGroupName, environmentName, options) {
3495
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listByEnvironmentOperationSpec$2);
3496
- }
3497
- }
3498
- // Operation Specifications
3499
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3500
- const createOrUpdateOperationSpec$2 = {
3501
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}",
3502
- httpMethod: "PUT",
3503
- responses: {
3504
- 200: {
3505
- bodyMapper: ReferenceDataSetResource
3506
- },
3507
- 201: {
3508
- bodyMapper: ReferenceDataSetResource
3509
- },
3510
- default: {
3511
- bodyMapper: CloudError
3512
- }
3513
- },
3514
- requestBody: parameters2,
3515
- queryParameters: [apiVersion],
3516
- urlParameters: [
3517
- $host,
3518
- subscriptionId,
3519
- resourceGroupName,
3520
- environmentName1,
3521
- referenceDataSetName
3522
- ],
3523
- headerParameters: [accept, contentType],
3524
- mediaType: "json",
3525
- serializer: serializer$3
3526
- };
3527
- const getOperationSpec$2 = {
3528
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}",
3529
- httpMethod: "GET",
3530
- responses: {
3531
- 200: {
3532
- bodyMapper: ReferenceDataSetResource
3533
- },
3534
- default: {
3535
- bodyMapper: CloudError
3536
- }
3537
- },
3538
- queryParameters: [apiVersion],
3539
- urlParameters: [
3540
- $host,
3541
- subscriptionId,
3542
- resourceGroupName,
3543
- environmentName1,
3544
- referenceDataSetName1
3545
- ],
3546
- headerParameters: [accept],
3547
- serializer: serializer$3
3548
- };
3549
- const updateOperationSpec$1 = {
3550
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}",
3551
- httpMethod: "PATCH",
3552
- responses: {
3553
- 200: {
3554
- bodyMapper: ReferenceDataSetResource
3555
- },
3556
- default: {
3557
- bodyMapper: CloudError
3558
- }
3559
- },
3560
- requestBody: referenceDataSetUpdateParameters,
3561
- queryParameters: [apiVersion],
3562
- urlParameters: [
3563
- $host,
3564
- subscriptionId,
3565
- resourceGroupName,
3566
- environmentName1,
3567
- referenceDataSetName1
3568
- ],
3569
- headerParameters: [accept, contentType],
3570
- mediaType: "json",
3571
- serializer: serializer$3
3572
- };
3573
- const deleteOperationSpec$2 = {
3574
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}",
3575
- httpMethod: "DELETE",
3576
- responses: {
3577
- 200: {},
3578
- 204: {},
3579
- default: {
3580
- bodyMapper: CloudError
3581
- }
3582
- },
3583
- queryParameters: [apiVersion],
3584
- urlParameters: [
3585
- $host,
3586
- subscriptionId,
3587
- resourceGroupName,
3588
- environmentName1,
3589
- referenceDataSetName1
3590
- ],
3591
- headerParameters: [accept],
3592
- serializer: serializer$3
3593
- };
3594
- const listByEnvironmentOperationSpec$2 = {
3595
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets",
3596
- httpMethod: "GET",
3597
- responses: {
3598
- 200: {
3599
- bodyMapper: ReferenceDataSetListResponse
3600
- },
3601
- default: {
3602
- bodyMapper: CloudError
3603
- }
3604
- },
3605
- queryParameters: [apiVersion],
3606
- urlParameters: [
3607
- $host,
3608
- subscriptionId,
3609
- resourceGroupName,
3610
- environmentName1
3611
- ],
3612
- headerParameters: [accept],
3613
- serializer: serializer$3
3614
- };
3615
-
3616
- /*
3617
- * Copyright (c) Microsoft Corporation.
3618
- * Licensed under the MIT License.
3619
- *
3620
- * Code generated by Microsoft (R) AutoRest Code Generator.
3621
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3622
- */
3623
- /** Class containing AccessPolicies operations. */
3624
- class AccessPoliciesImpl {
3625
- /**
3626
- * Initialize a new instance of the class AccessPolicies class.
3627
- * @param client Reference to the service client
3628
- */
3629
- constructor(client) {
3630
- this.client = client;
3631
- }
3632
- /**
3633
- * Create or update an access policy in the specified environment.
3634
- * @param resourceGroupName Name of an Azure Resource group.
3635
- * @param environmentName The name of the Time Series Insights environment associated with the
3636
- * specified resource group.
3637
- * @param accessPolicyName Name of the access policy.
3638
- * @param parameters Parameters for creating an access policy.
3639
- * @param options The options parameters.
3640
- */
3641
- createOrUpdate(resourceGroupName, environmentName, accessPolicyName, parameters, options) {
3642
- return this.client.sendOperationRequest({
3643
- resourceGroupName,
3644
- environmentName,
3645
- accessPolicyName,
3646
- parameters,
3647
- options
3648
- }, createOrUpdateOperationSpec$1);
3649
- }
3650
- /**
3651
- * Gets the access policy with the specified name in the specified environment.
3652
- * @param resourceGroupName Name of an Azure Resource group.
3653
- * @param environmentName The name of the Time Series Insights environment associated with the
3654
- * specified resource group.
3655
- * @param accessPolicyName The name of the Time Series Insights access policy associated with the
3656
- * specified environment.
3657
- * @param options The options parameters.
3658
- */
3659
- get(resourceGroupName, environmentName, accessPolicyName, options) {
3660
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, accessPolicyName, options }, getOperationSpec$1);
3661
- }
3662
- /**
3663
- * Updates the access policy with the specified name in the specified subscription, resource group, and
3664
- * environment.
3665
- * @param resourceGroupName Name of an Azure Resource group.
3666
- * @param environmentName The name of the Time Series Insights environment associated with the
3667
- * specified resource group.
3668
- * @param accessPolicyName The name of the Time Series Insights access policy associated with the
3669
- * specified environment.
3670
- * @param accessPolicyUpdateParameters Request object that contains the updated information for the
3671
- * access policy.
3672
- * @param options The options parameters.
3673
- */
3674
- update(resourceGroupName, environmentName, accessPolicyName, accessPolicyUpdateParameters, options) {
3675
- return this.client.sendOperationRequest({
3676
- resourceGroupName,
3677
- environmentName,
3678
- accessPolicyName,
3679
- accessPolicyUpdateParameters,
3680
- options
3681
- }, updateOperationSpec);
3682
- }
3683
- /**
3684
- * Deletes the access policy with the specified name in the specified subscription, resource group, and
3685
- * environment
3686
- * @param resourceGroupName Name of an Azure Resource group.
3687
- * @param environmentName The name of the Time Series Insights environment associated with the
3688
- * specified resource group.
3689
- * @param accessPolicyName The name of the Time Series Insights access policy associated with the
3690
- * specified environment.
3691
- * @param options The options parameters.
3692
- */
3693
- delete(resourceGroupName, environmentName, accessPolicyName, options) {
3694
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, accessPolicyName, options }, deleteOperationSpec$1);
3695
- }
3696
- /**
3697
- * Lists all the available access policies associated with the environment.
3698
- * @param resourceGroupName Name of an Azure Resource group.
3699
- * @param environmentName The name of the Time Series Insights environment associated with the
3700
- * specified resource group.
3701
- * @param options The options parameters.
3702
- */
3703
- listByEnvironment(resourceGroupName, environmentName, options) {
3704
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listByEnvironmentOperationSpec$1);
3705
- }
3706
- }
3707
- // Operation Specifications
3708
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3709
- const createOrUpdateOperationSpec$1 = {
3710
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
3711
- httpMethod: "PUT",
3712
- responses: {
3713
- 200: {
3714
- bodyMapper: AccessPolicyResource
3715
- },
3716
- 201: {
3717
- bodyMapper: AccessPolicyResource
3718
- },
3719
- default: {
3720
- bodyMapper: CloudError
3721
- }
3722
- },
3723
- requestBody: parameters3,
3724
- queryParameters: [apiVersion],
3725
- urlParameters: [
3726
- $host,
3727
- subscriptionId,
3728
- resourceGroupName,
3729
- environmentName1,
3730
- accessPolicyName
3731
- ],
3732
- headerParameters: [accept, contentType],
3733
- mediaType: "json",
3734
- serializer: serializer$2
3735
- };
3736
- const getOperationSpec$1 = {
3737
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
3738
- httpMethod: "GET",
3739
- responses: {
3740
- 200: {
3741
- bodyMapper: AccessPolicyResource
3742
- },
3743
- default: {
3744
- bodyMapper: CloudError
3745
- }
3746
- },
3747
- queryParameters: [apiVersion],
3748
- urlParameters: [
3749
- $host,
3750
- subscriptionId,
3751
- resourceGroupName,
3752
- environmentName1,
3753
- accessPolicyName1
3754
- ],
3755
- headerParameters: [accept],
3756
- serializer: serializer$2
3757
- };
3758
- const updateOperationSpec = {
3759
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
3760
- httpMethod: "PATCH",
3761
- responses: {
3762
- 200: {
3763
- bodyMapper: AccessPolicyResource
3764
- },
3765
- default: {
3766
- bodyMapper: CloudError
3767
- }
3768
- },
3769
- requestBody: accessPolicyUpdateParameters,
3770
- queryParameters: [apiVersion],
3771
- urlParameters: [
3772
- $host,
3773
- subscriptionId,
3774
- resourceGroupName,
3775
- environmentName1,
3776
- accessPolicyName1
3777
- ],
3778
- headerParameters: [accept, contentType],
3779
- mediaType: "json",
3780
- serializer: serializer$2
3781
- };
3782
- const deleteOperationSpec$1 = {
3783
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
3784
- httpMethod: "DELETE",
3785
- responses: {
3786
- 200: {},
3787
- 204: {},
3788
- default: {
3789
- bodyMapper: CloudError
3790
- }
3791
- },
3792
- queryParameters: [apiVersion],
3793
- urlParameters: [
3794
- $host,
3795
- subscriptionId,
3796
- resourceGroupName,
3797
- environmentName1,
3798
- accessPolicyName1
3799
- ],
3800
- headerParameters: [accept],
3801
- serializer: serializer$2
3802
- };
3803
- const listByEnvironmentOperationSpec$1 = {
3804
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies",
3805
- httpMethod: "GET",
3806
- responses: {
3807
- 200: {
3808
- bodyMapper: AccessPolicyListResponse
3809
- },
3810
- default: {
3811
- bodyMapper: CloudError
3812
- }
3813
- },
3814
- queryParameters: [apiVersion],
3815
- urlParameters: [
3816
- $host,
3817
- subscriptionId,
3818
- resourceGroupName,
3819
- environmentName1
3820
- ],
3821
- headerParameters: [accept],
3822
- serializer: serializer$2
3823
- };
3824
-
3825
- /*
3826
- * Copyright (c) Microsoft Corporation.
3827
- * Licensed under the MIT License.
3828
- *
3829
- * Code generated by Microsoft (R) AutoRest Code Generator.
3830
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3831
- */
3832
- /** Class containing PrivateEndpointConnections operations. */
3833
- class PrivateEndpointConnectionsImpl {
3834
- /**
3835
- * Initialize a new instance of the class PrivateEndpointConnections class.
3836
- * @param client Reference to the service client
3837
- */
3838
- constructor(client) {
3839
- this.client = client;
3840
- }
3841
- /**
3842
- * Updates a Private Endpoint connection of the environment in the given resource group.
3843
- * @param resourceGroupName Name of an Azure Resource group.
3844
- * @param environmentName The name of the Time Series Insights environment associated with the
3845
- * specified resource group.
3846
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
3847
- * Azure resource
3848
- * @param privateEndpointConnection The definition of the private endpoint connection to update.
3849
- * @param options The options parameters.
3850
- */
3851
- createOrUpdate(resourceGroupName, environmentName, privateEndpointConnectionName, privateEndpointConnection, options) {
3852
- return this.client.sendOperationRequest({
3853
- resourceGroupName,
3854
- environmentName,
3855
- privateEndpointConnectionName,
3856
- privateEndpointConnection,
3857
- options
3858
- }, createOrUpdateOperationSpec);
3859
- }
3860
- /**
3861
- * Gets the details of the private endpoint connection of the environment in the given resource group.
3862
- * @param resourceGroupName Name of an Azure Resource group.
3863
- * @param environmentName The name of the Time Series Insights environment associated with the
3864
- * specified resource group.
3865
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
3866
- * Azure resource
3867
- * @param options The options parameters.
3868
- */
3869
- get(resourceGroupName, environmentName, privateEndpointConnectionName, options) {
3870
- return this.client.sendOperationRequest({
3871
- resourceGroupName,
3872
- environmentName,
3873
- privateEndpointConnectionName,
3874
- options
3875
- }, getOperationSpec);
3876
- }
3877
- /**
3878
- * Disconnects the private endpoint connection and deletes it from the environment.
3879
- * @param resourceGroupName Name of an Azure Resource group.
3880
- * @param environmentName The name of the Time Series Insights environment associated with the
3881
- * specified resource group.
3882
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
3883
- * Azure resource
3884
- * @param options The options parameters.
3885
- */
3886
- delete(resourceGroupName, environmentName, privateEndpointConnectionName, options) {
3887
- return this.client.sendOperationRequest({
3888
- resourceGroupName,
3889
- environmentName,
3890
- privateEndpointConnectionName,
3891
- options
3892
- }, deleteOperationSpec);
3893
- }
3894
- /**
3895
- * Gets a list of all private endpoint connections in the given environment.
3896
- * @param resourceGroupName Name of an Azure Resource group.
3897
- * @param environmentName The name of the Time Series Insights environment associated with the
3898
- * specified resource group.
3899
- * @param options The options parameters.
3900
- */
3901
- listByEnvironment(resourceGroupName, environmentName, options) {
3902
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listByEnvironmentOperationSpec);
3903
- }
3904
- }
3905
- // Operation Specifications
3906
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3907
- const createOrUpdateOperationSpec = {
3908
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}",
3909
- httpMethod: "PUT",
3910
- responses: {
3911
- 200: {
3912
- bodyMapper: PrivateEndpointConnection
3913
- },
3914
- default: {
3915
- bodyMapper: CloudError
3916
- }
3917
- },
3918
- requestBody: privateEndpointConnection,
3919
- queryParameters: [apiVersion],
3920
- urlParameters: [
3921
- $host,
3922
- subscriptionId,
3923
- resourceGroupName,
3924
- environmentName1,
3925
- privateEndpointConnectionName
3926
- ],
3927
- headerParameters: [accept, contentType],
3928
- mediaType: "json",
3929
- serializer: serializer$1
3930
- };
3931
- const getOperationSpec = {
3932
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}",
3933
- httpMethod: "GET",
3934
- responses: {
3935
- 200: {
3936
- bodyMapper: PrivateEndpointConnection
3937
- },
3938
- default: {
3939
- bodyMapper: CloudError
3940
- }
3941
- },
3942
- queryParameters: [apiVersion],
3943
- urlParameters: [
3944
- $host,
3945
- subscriptionId,
3946
- resourceGroupName,
3947
- environmentName1,
3948
- privateEndpointConnectionName
3949
- ],
3950
- headerParameters: [accept],
3951
- serializer: serializer$1
3952
- };
3953
- const deleteOperationSpec = {
3954
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}",
3955
- httpMethod: "DELETE",
3956
- responses: {
3957
- 200: {},
3958
- 204: {},
3959
- 404: {
3960
- isError: true
3961
- },
3962
- default: {
3963
- bodyMapper: CloudError
3964
- }
3965
- },
3966
- queryParameters: [apiVersion],
3967
- urlParameters: [
3968
- $host,
3969
- subscriptionId,
3970
- resourceGroupName,
3971
- environmentName1,
3972
- privateEndpointConnectionName
3973
- ],
3974
- headerParameters: [accept],
3975
- serializer: serializer$1
3976
- };
3977
- const listByEnvironmentOperationSpec = {
3978
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections",
3979
- httpMethod: "GET",
3980
- responses: {
3981
- 200: {
3982
- bodyMapper: PrivateEndpointConnectionListResult
3983
- },
3984
- default: {
3985
- bodyMapper: CloudError
3986
- }
3987
- },
3988
- queryParameters: [apiVersion],
3989
- urlParameters: [
3990
- $host,
3991
- subscriptionId,
3992
- resourceGroupName,
3993
- environmentName1
3994
- ],
3995
- headerParameters: [accept],
3996
- serializer: serializer$1
3997
- };
3998
-
3999
- /*
4000
- * Copyright (c) Microsoft Corporation.
4001
- * Licensed under the MIT License.
4002
- *
4003
- * Code generated by Microsoft (R) AutoRest Code Generator.
4004
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4005
- */
4006
- /// <reference lib="esnext.asynciterable" />
4007
- /** Class containing PrivateLinkResources operations. */
4008
- class PrivateLinkResourcesImpl {
4009
- /**
4010
- * Initialize a new instance of the class PrivateLinkResources class.
4011
- * @param client Reference to the service client
4012
- */
4013
- constructor(client) {
4014
- this.client = client;
4015
- }
4016
- /**
4017
- * Gets a list of all supported private link resource types for the given environment.
4018
- * @param resourceGroupName Name of an Azure Resource group.
4019
- * @param environmentName The name of the Time Series Insights environment associated with the
4020
- * specified resource group.
4021
- * @param options The options parameters.
4022
- */
4023
- listSupported(resourceGroupName, environmentName, options) {
4024
- const iter = this.listSupportedPagingAll(resourceGroupName, environmentName, options);
4025
- return {
4026
- next() {
4027
- return iter.next();
4028
- },
4029
- [Symbol.asyncIterator]() {
4030
- return this;
4031
- },
4032
- byPage: (settings) => {
4033
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
4034
- throw new Error("maxPageSize is not supported by this operation.");
4035
- }
4036
- return this.listSupportedPagingPage(resourceGroupName, environmentName, options, settings);
4037
- }
4038
- };
4039
- }
4040
- listSupportedPagingPage(resourceGroupName, environmentName, options, _settings) {
4041
- return tslib.__asyncGenerator(this, arguments, function* listSupportedPagingPage_1() {
4042
- let result;
4043
- result = yield tslib.__await(this._listSupported(resourceGroupName, environmentName, options));
4044
- yield yield tslib.__await(result.value || []);
4045
- });
4046
- }
4047
- listSupportedPagingAll(resourceGroupName, environmentName, options) {
4048
- return tslib.__asyncGenerator(this, arguments, function* listSupportedPagingAll_1() {
4049
- var e_1, _a;
4050
- try {
4051
- for (var _b = tslib.__asyncValues(this.listSupportedPagingPage(resourceGroupName, environmentName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4052
- const page = _c.value;
4053
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4054
- }
4055
- }
4056
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
4057
- finally {
4058
- try {
4059
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4060
- }
4061
- finally { if (e_1) throw e_1.error; }
4062
- }
4063
- });
4064
- }
4065
- /**
4066
- * Gets a list of all supported private link resource types for the given environment.
4067
- * @param resourceGroupName Name of an Azure Resource group.
4068
- * @param environmentName The name of the Time Series Insights environment associated with the
4069
- * specified resource group.
4070
- * @param options The options parameters.
4071
- */
4072
- _listSupported(resourceGroupName, environmentName, options) {
4073
- return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listSupportedOperationSpec);
4074
- }
4075
- }
4076
- // Operation Specifications
4077
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4078
- const listSupportedOperationSpec = {
4079
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateLinkResources",
4080
- httpMethod: "GET",
4081
- responses: {
4082
- 200: {
4083
- bodyMapper: PrivateLinkResourceListResult
4084
- },
4085
- default: {
4086
- bodyMapper: CloudError
4087
- }
4088
- },
4089
- queryParameters: [apiVersion],
4090
- urlParameters: [
4091
- $host,
4092
- subscriptionId,
4093
- resourceGroupName,
4094
- environmentName1
4095
- ],
4096
- headerParameters: [accept],
4097
- serializer
4098
- };
4099
-
4100
- /*
4101
- * Copyright (c) Microsoft Corporation.
4102
- * Licensed under the MIT License.
4103
- *
4104
- * Code generated by Microsoft (R) AutoRest Code Generator.
4105
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4106
- */
4107
- class TimeSeriesInsightsClient extends coreClient__namespace.ServiceClient {
4108
- /**
4109
- * Initializes a new instance of the TimeSeriesInsightsClient class.
4110
- * @param credentials Subscription credentials which uniquely identify client subscription.
4111
- * @param subscriptionId Azure Subscription ID.
4112
- * @param options The parameter options
4113
- */
4114
- constructor(credentials, subscriptionId, options) {
4115
- var _a, _b, _c;
4116
- if (credentials === undefined) {
4117
- throw new Error("'credentials' cannot be null");
4118
- }
4119
- if (subscriptionId === undefined) {
4120
- throw new Error("'subscriptionId' cannot be null");
4121
- }
4122
- // Initializing default values for options
4123
- if (!options) {
4124
- options = {};
4125
- }
4126
- const defaults = {
4127
- requestContentType: "application/json; charset=utf-8",
4128
- credential: credentials
4129
- };
4130
- const packageDetails = `azsdk-js-arm-timeseriesinsights/2.1.0-beta.2`;
4131
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4132
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4133
- : `${packageDetails}`;
4134
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
4135
- userAgentPrefix
4136
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
4137
- super(optionsWithDefaults);
4138
- let bearerTokenAuthenticationPolicyFound = false;
4139
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
4140
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
4141
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
4142
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
4143
- }
4144
- if (!options ||
4145
- !options.pipeline ||
4146
- options.pipeline.getOrderedPolicies().length == 0 ||
4147
- !bearerTokenAuthenticationPolicyFound) {
4148
- this.pipeline.removePolicy({
4149
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
4150
- });
4151
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
4152
- credential: credentials,
4153
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
4154
- challengeCallbacks: {
4155
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
4156
- }
4157
- }));
4158
- }
4159
- // Parameter assignments
4160
- this.subscriptionId = subscriptionId;
4161
- // Assigning values to Constant parameters
4162
- this.$host = options.$host || "https://management.azure.com";
4163
- this.apiVersion = options.apiVersion || "2021-03-31-preview";
4164
- this.operations = new OperationsImpl(this);
4165
- this.environments = new EnvironmentsImpl(this);
4166
- this.eventSources = new EventSourcesImpl(this);
4167
- this.referenceDataSets = new ReferenceDataSetsImpl(this);
4168
- this.accessPolicies = new AccessPoliciesImpl(this);
4169
- this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
4170
- this.privateLinkResources = new PrivateLinkResourcesImpl(this);
4171
- this.addCustomApiVersionPolicy(options.apiVersion);
4172
- }
4173
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
4174
- addCustomApiVersionPolicy(apiVersion) {
4175
- if (!apiVersion) {
4176
- return;
4177
- }
4178
- const apiVersionPolicy = {
4179
- name: "CustomApiVersionPolicy",
4180
- sendRequest(request, next) {
4181
- return tslib.__awaiter(this, void 0, void 0, function* () {
4182
- const param = request.url.split("?");
4183
- if (param.length > 1) {
4184
- const newParams = param[1].split("&").map((item) => {
4185
- if (item.indexOf("api-version") > -1) {
4186
- return "api-version=" + apiVersion;
4187
- }
4188
- else {
4189
- return item;
4190
- }
4191
- });
4192
- request.url = param[0] + "?" + newParams.join("&");
4193
- }
4194
- return next(request);
4195
- });
4196
- }
4197
- };
4198
- this.pipeline.addPolicy(apiVersionPolicy);
4199
- }
4200
- }
4201
-
4202
- exports.TimeSeriesInsightsClient = TimeSeriesInsightsClient;
4203
- exports.getContinuationToken = getContinuationToken;
4204
- //# sourceMappingURL=index.js.map