@azure/arm-timeseriesinsights 2.1.0-alpha.20250212.1 → 2.1.0-alpha.20250213.1

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