@azure/arm-msi 2.2.0 → 2.3.0-beta.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 (487) hide show
  1. package/README.md +10 -10
  2. package/dist/browser/api/federatedIdentityCredentials/index.d.ts +3 -0
  3. package/dist/browser/api/federatedIdentityCredentials/index.js +4 -0
  4. package/dist/browser/api/federatedIdentityCredentials/index.js.map +1 -0
  5. package/dist/browser/api/federatedIdentityCredentials/operations.d.ts +22 -0
  6. package/dist/browser/api/federatedIdentityCredentials/operations.js +126 -0
  7. package/dist/browser/api/federatedIdentityCredentials/operations.js.map +1 -0
  8. package/dist/browser/api/federatedIdentityCredentials/options.d.ts +18 -0
  9. package/dist/browser/api/federatedIdentityCredentials/options.js +4 -0
  10. package/dist/browser/api/federatedIdentityCredentials/options.js.map +1 -0
  11. package/dist/browser/api/index.d.ts +3 -0
  12. package/dist/browser/api/index.js +4 -0
  13. package/dist/browser/api/index.js.map +1 -0
  14. package/dist/browser/api/managedServiceIdentityContext.d.ts +22 -0
  15. package/dist/browser/api/managedServiceIdentityContext.js +26 -0
  16. package/dist/browser/api/managedServiceIdentityContext.js.map +1 -0
  17. package/dist/browser/api/operations/index.d.ts +3 -0
  18. package/dist/browser/api/operations/index.js +4 -0
  19. package/dist/browser/api/operations/index.js.map +1 -0
  20. package/dist/browser/api/operations/operations.d.ts +10 -0
  21. package/dist/browser/api/operations/operations.js +35 -0
  22. package/dist/browser/api/operations/operations.js.map +1 -0
  23. package/dist/browser/api/operations/options.d.ts +5 -0
  24. package/dist/browser/api/operations/options.js +4 -0
  25. package/dist/browser/api/operations/options.js.map +1 -0
  26. package/dist/browser/api/systemAssignedIdentities/index.d.ts +3 -0
  27. package/dist/browser/api/systemAssignedIdentities/index.js +4 -0
  28. package/dist/browser/api/systemAssignedIdentities/index.js.map +1 -0
  29. package/dist/browser/api/systemAssignedIdentities/operations.d.ts +9 -0
  30. package/dist/browser/api/systemAssignedIdentities/operations.js +32 -0
  31. package/dist/browser/api/systemAssignedIdentities/operations.js.map +1 -0
  32. package/dist/browser/api/systemAssignedIdentities/options.d.ts +5 -0
  33. package/dist/browser/api/systemAssignedIdentities/options.js +4 -0
  34. package/dist/browser/api/systemAssignedIdentities/options.js.map +1 -0
  35. package/dist/browser/api/userAssignedIdentities/index.d.ts +3 -0
  36. package/dist/browser/api/userAssignedIdentities/index.js +4 -0
  37. package/dist/browser/api/userAssignedIdentities/index.js.map +1 -0
  38. package/dist/browser/api/userAssignedIdentities/operations.d.ts +30 -0
  39. package/dist/browser/api/userAssignedIdentities/operations.js +179 -0
  40. package/dist/browser/api/userAssignedIdentities/operations.js.map +1 -0
  41. package/dist/browser/api/userAssignedIdentities/options.d.ts +20 -0
  42. package/dist/browser/api/userAssignedIdentities/options.js +4 -0
  43. package/dist/browser/api/userAssignedIdentities/options.js.map +1 -0
  44. package/dist/browser/classic/federatedIdentityCredentials/index.d.ts +17 -0
  45. package/dist/browser/classic/federatedIdentityCredentials/index.js +17 -0
  46. package/dist/browser/classic/federatedIdentityCredentials/index.js.map +1 -0
  47. package/dist/browser/classic/index.d.ts +5 -0
  48. package/dist/browser/classic/index.js +4 -0
  49. package/dist/browser/classic/index.js.map +1 -0
  50. package/dist/browser/classic/operations/index.d.ts +11 -0
  51. package/dist/browser/classic/operations/index.js +14 -0
  52. package/dist/browser/classic/operations/index.js.map +1 -0
  53. package/dist/browser/classic/systemAssignedIdentities/index.d.ts +10 -0
  54. package/dist/browser/classic/systemAssignedIdentities/index.js +14 -0
  55. package/dist/browser/classic/systemAssignedIdentities/index.js.map +1 -0
  56. package/dist/browser/classic/userAssignedIdentities/index.d.ts +21 -0
  57. package/dist/browser/classic/userAssignedIdentities/index.js +19 -0
  58. package/dist/browser/classic/userAssignedIdentities/index.js.map +1 -0
  59. package/dist/browser/index.d.ts +15 -3
  60. package/dist/browser/index.js +6 -11
  61. package/dist/browser/index.js.map +1 -1
  62. package/dist/browser/logger.d.ts +2 -0
  63. package/dist/browser/logger.js +5 -0
  64. package/dist/browser/logger.js.map +1 -0
  65. package/dist/browser/managedServiceIdentityClient.d.ts +22 -22
  66. package/dist/browser/managedServiceIdentityClient.js +32 -97
  67. package/dist/browser/managedServiceIdentityClient.js.map +1 -1
  68. package/dist/browser/models/index.d.ts +2 -317
  69. package/dist/browser/models/index.js +3 -27
  70. package/dist/browser/models/index.js.map +1 -1
  71. package/dist/browser/models/models.d.ts +310 -0
  72. package/dist/browser/models/models.js +401 -0
  73. package/dist/browser/models/models.js.map +1 -0
  74. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  75. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  76. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  77. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  78. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  79. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  80. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  81. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  82. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  83. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  84. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  85. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  86. package/dist/commonjs/api/federatedIdentityCredentials/index.d.ts +3 -0
  87. package/dist/commonjs/api/federatedIdentityCredentials/index.js +34 -0
  88. package/dist/commonjs/api/federatedIdentityCredentials/index.js.map +7 -0
  89. package/dist/commonjs/api/federatedIdentityCredentials/operations.d.ts +22 -0
  90. package/dist/commonjs/api/federatedIdentityCredentials/operations.js +209 -0
  91. package/dist/commonjs/api/federatedIdentityCredentials/operations.js.map +7 -0
  92. package/dist/commonjs/api/federatedIdentityCredentials/options.d.ts +18 -0
  93. package/dist/commonjs/api/federatedIdentityCredentials/options.js +16 -0
  94. package/dist/commonjs/api/federatedIdentityCredentials/options.js.map +7 -0
  95. package/dist/commonjs/api/index.d.ts +3 -0
  96. package/dist/commonjs/api/index.js +28 -0
  97. package/dist/commonjs/api/index.js.map +7 -0
  98. package/dist/commonjs/api/managedServiceIdentityContext.d.ts +22 -0
  99. package/dist/commonjs/api/managedServiceIdentityContext.js +47 -0
  100. package/dist/commonjs/api/managedServiceIdentityContext.js.map +7 -0
  101. package/dist/commonjs/api/operations/index.d.ts +3 -0
  102. package/dist/commonjs/api/operations/index.js +28 -0
  103. package/dist/commonjs/api/operations/index.js.map +7 -0
  104. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  105. package/dist/commonjs/api/operations/operations.js +72 -0
  106. package/dist/commonjs/api/operations/operations.js.map +7 -0
  107. package/dist/commonjs/api/operations/options.d.ts +5 -0
  108. package/dist/commonjs/api/operations/options.js +16 -0
  109. package/dist/commonjs/api/operations/options.js.map +7 -0
  110. package/dist/commonjs/api/systemAssignedIdentities/index.d.ts +3 -0
  111. package/dist/commonjs/api/systemAssignedIdentities/index.js +28 -0
  112. package/dist/commonjs/api/systemAssignedIdentities/index.js.map +7 -0
  113. package/dist/commonjs/api/systemAssignedIdentities/operations.d.ts +9 -0
  114. package/dist/commonjs/api/systemAssignedIdentities/operations.js +63 -0
  115. package/dist/commonjs/api/systemAssignedIdentities/operations.js.map +7 -0
  116. package/dist/commonjs/api/systemAssignedIdentities/options.d.ts +5 -0
  117. package/dist/commonjs/api/systemAssignedIdentities/options.js +16 -0
  118. package/dist/commonjs/api/systemAssignedIdentities/options.js.map +7 -0
  119. package/dist/commonjs/api/userAssignedIdentities/index.d.ts +3 -0
  120. package/dist/commonjs/api/userAssignedIdentities/index.js +38 -0
  121. package/dist/commonjs/api/userAssignedIdentities/index.js.map +7 -0
  122. package/dist/commonjs/api/userAssignedIdentities/operations.d.ts +30 -0
  123. package/dist/commonjs/api/userAssignedIdentities/operations.js +273 -0
  124. package/dist/commonjs/api/userAssignedIdentities/operations.js.map +7 -0
  125. package/dist/commonjs/api/userAssignedIdentities/options.d.ts +20 -0
  126. package/dist/commonjs/api/userAssignedIdentities/options.js +16 -0
  127. package/dist/commonjs/api/userAssignedIdentities/options.js.map +7 -0
  128. package/dist/commonjs/classic/federatedIdentityCredentials/index.d.ts +17 -0
  129. package/dist/commonjs/classic/federatedIdentityCredentials/index.js +60 -0
  130. package/dist/commonjs/classic/federatedIdentityCredentials/index.js.map +7 -0
  131. package/dist/commonjs/classic/index.d.ts +5 -0
  132. package/dist/commonjs/classic/index.js +16 -0
  133. package/dist/commonjs/classic/index.js.map +7 -0
  134. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  135. package/dist/commonjs/classic/operations/index.js +38 -0
  136. package/dist/commonjs/classic/operations/index.js.map +7 -0
  137. package/dist/commonjs/classic/systemAssignedIdentities/index.d.ts +10 -0
  138. package/dist/commonjs/classic/systemAssignedIdentities/index.js +38 -0
  139. package/dist/commonjs/classic/systemAssignedIdentities/index.js.map +7 -0
  140. package/dist/commonjs/classic/userAssignedIdentities/index.d.ts +21 -0
  141. package/dist/commonjs/classic/userAssignedIdentities/index.js +43 -0
  142. package/dist/commonjs/classic/userAssignedIdentities/index.js.map +7 -0
  143. package/dist/commonjs/index.d.ts +15 -3
  144. package/dist/commonjs/index.js +43 -19
  145. package/dist/commonjs/index.js.map +7 -1
  146. package/dist/commonjs/logger.d.ts +2 -0
  147. package/dist/commonjs/logger.js +29 -0
  148. package/dist/commonjs/logger.js.map +7 -0
  149. package/dist/commonjs/managedServiceIdentityClient.d.ts +22 -22
  150. package/dist/commonjs/managedServiceIdentityClient.js +64 -113
  151. package/dist/commonjs/managedServiceIdentityClient.js.map +7 -1
  152. package/dist/commonjs/models/index.d.ts +2 -317
  153. package/dist/commonjs/models/index.js +32 -31
  154. package/dist/commonjs/models/index.js.map +7 -1
  155. package/dist/commonjs/models/models.d.ts +310 -0
  156. package/dist/commonjs/models/models.js +442 -0
  157. package/dist/commonjs/models/models.js.map +7 -0
  158. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  159. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  160. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  161. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  162. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  163. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  164. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  165. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  166. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  167. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  168. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  169. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  170. package/dist/commonjs/tsdoc-metadata.json +1 -1
  171. package/dist/esm/api/federatedIdentityCredentials/index.d.ts +3 -0
  172. package/dist/esm/api/federatedIdentityCredentials/index.js +4 -0
  173. package/dist/esm/api/federatedIdentityCredentials/index.js.map +1 -0
  174. package/dist/esm/api/federatedIdentityCredentials/operations.d.ts +22 -0
  175. package/dist/esm/api/federatedIdentityCredentials/operations.js +126 -0
  176. package/dist/esm/api/federatedIdentityCredentials/operations.js.map +1 -0
  177. package/dist/esm/api/federatedIdentityCredentials/options.d.ts +18 -0
  178. package/dist/esm/api/federatedIdentityCredentials/options.js +4 -0
  179. package/dist/esm/api/federatedIdentityCredentials/options.js.map +1 -0
  180. package/dist/esm/api/index.d.ts +3 -0
  181. package/dist/esm/api/index.js +4 -0
  182. package/dist/esm/api/index.js.map +1 -0
  183. package/dist/esm/api/managedServiceIdentityContext.d.ts +22 -0
  184. package/dist/esm/api/managedServiceIdentityContext.js +26 -0
  185. package/dist/esm/api/managedServiceIdentityContext.js.map +1 -0
  186. package/dist/esm/api/operations/index.d.ts +3 -0
  187. package/dist/esm/api/operations/index.js +4 -0
  188. package/dist/esm/api/operations/index.js.map +1 -0
  189. package/dist/esm/api/operations/operations.d.ts +10 -0
  190. package/dist/esm/api/operations/operations.js +35 -0
  191. package/dist/esm/api/operations/operations.js.map +1 -0
  192. package/dist/esm/api/operations/options.d.ts +5 -0
  193. package/dist/esm/api/operations/options.js +4 -0
  194. package/dist/esm/api/operations/options.js.map +1 -0
  195. package/dist/esm/api/systemAssignedIdentities/index.d.ts +3 -0
  196. package/dist/esm/api/systemAssignedIdentities/index.js +4 -0
  197. package/dist/esm/api/systemAssignedIdentities/index.js.map +1 -0
  198. package/dist/esm/api/systemAssignedIdentities/operations.d.ts +9 -0
  199. package/dist/esm/api/systemAssignedIdentities/operations.js +32 -0
  200. package/dist/esm/api/systemAssignedIdentities/operations.js.map +1 -0
  201. package/dist/esm/api/systemAssignedIdentities/options.d.ts +5 -0
  202. package/dist/esm/api/systemAssignedIdentities/options.js +4 -0
  203. package/dist/esm/api/systemAssignedIdentities/options.js.map +1 -0
  204. package/dist/esm/api/userAssignedIdentities/index.d.ts +3 -0
  205. package/dist/esm/api/userAssignedIdentities/index.js +4 -0
  206. package/dist/esm/api/userAssignedIdentities/index.js.map +1 -0
  207. package/dist/esm/api/userAssignedIdentities/operations.d.ts +30 -0
  208. package/dist/esm/api/userAssignedIdentities/operations.js +179 -0
  209. package/dist/esm/api/userAssignedIdentities/operations.js.map +1 -0
  210. package/dist/esm/api/userAssignedIdentities/options.d.ts +20 -0
  211. package/dist/esm/api/userAssignedIdentities/options.js +4 -0
  212. package/dist/esm/api/userAssignedIdentities/options.js.map +1 -0
  213. package/dist/esm/classic/federatedIdentityCredentials/index.d.ts +17 -0
  214. package/dist/esm/classic/federatedIdentityCredentials/index.js +17 -0
  215. package/dist/esm/classic/federatedIdentityCredentials/index.js.map +1 -0
  216. package/dist/esm/classic/index.d.ts +5 -0
  217. package/dist/esm/classic/index.js +4 -0
  218. package/dist/esm/classic/index.js.map +1 -0
  219. package/dist/esm/classic/operations/index.d.ts +11 -0
  220. package/dist/esm/classic/operations/index.js +14 -0
  221. package/dist/esm/classic/operations/index.js.map +1 -0
  222. package/dist/esm/classic/systemAssignedIdentities/index.d.ts +10 -0
  223. package/dist/esm/classic/systemAssignedIdentities/index.js +14 -0
  224. package/dist/esm/classic/systemAssignedIdentities/index.js.map +1 -0
  225. package/dist/esm/classic/userAssignedIdentities/index.d.ts +21 -0
  226. package/dist/esm/classic/userAssignedIdentities/index.js +19 -0
  227. package/dist/esm/classic/userAssignedIdentities/index.js.map +1 -0
  228. package/dist/esm/index.d.ts +15 -3
  229. package/dist/esm/index.js +6 -11
  230. package/dist/esm/index.js.map +1 -1
  231. package/dist/esm/logger.d.ts +2 -0
  232. package/dist/esm/logger.js +5 -0
  233. package/dist/esm/logger.js.map +1 -0
  234. package/dist/esm/managedServiceIdentityClient.d.ts +22 -22
  235. package/dist/esm/managedServiceIdentityClient.js +32 -97
  236. package/dist/esm/managedServiceIdentityClient.js.map +1 -1
  237. package/dist/esm/models/index.d.ts +2 -317
  238. package/dist/esm/models/index.js +3 -27
  239. package/dist/esm/models/index.js.map +1 -1
  240. package/dist/esm/models/models.d.ts +310 -0
  241. package/dist/esm/models/models.js +401 -0
  242. package/dist/esm/models/models.js.map +1 -0
  243. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  244. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  245. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  246. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  247. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  248. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  249. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  250. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  251. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  252. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  253. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  254. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  255. package/package.json +176 -97
  256. package/CHANGELOG.md +0 -50
  257. package/dist/browser/index.d.ts.map +0 -1
  258. package/dist/browser/managedServiceIdentityClient.d.ts.map +0 -1
  259. package/dist/browser/models/index.d.ts.map +0 -1
  260. package/dist/browser/models/mappers.d.ts +0 -17
  261. package/dist/browser/models/mappers.d.ts.map +0 -1
  262. package/dist/browser/models/mappers.js +0 -472
  263. package/dist/browser/models/mappers.js.map +0 -1
  264. package/dist/browser/models/parameters.d.ts +0 -18
  265. package/dist/browser/models/parameters.d.ts.map +0 -1
  266. package/dist/browser/models/parameters.js +0 -165
  267. package/dist/browser/models/parameters.js.map +0 -1
  268. package/dist/browser/operations/federatedIdentityCredentials.d.ts +0 -66
  269. package/dist/browser/operations/federatedIdentityCredentials.d.ts.map +0 -1
  270. package/dist/browser/operations/federatedIdentityCredentials.js +0 -257
  271. package/dist/browser/operations/federatedIdentityCredentials.js.map +0 -1
  272. package/dist/browser/operations/index.d.ts +0 -5
  273. package/dist/browser/operations/index.d.ts.map +0 -1
  274. package/dist/browser/operations/index.js +0 -12
  275. package/dist/browser/operations/index.js.map +0 -1
  276. package/dist/browser/operations/operations.d.ts +0 -32
  277. package/dist/browser/operations/operations.d.ts.map +0 -1
  278. package/dist/browser/operations/operations.js +0 -116
  279. package/dist/browser/operations/operations.js.map +0 -1
  280. package/dist/browser/operations/systemAssignedIdentities.d.ts +0 -20
  281. package/dist/browser/operations/systemAssignedIdentities.d.ts.map +0 -1
  282. package/dist/browser/operations/systemAssignedIdentities.js +0 -49
  283. package/dist/browser/operations/systemAssignedIdentities.js.map +0 -1
  284. package/dist/browser/operations/userAssignedIdentities.d.ts +0 -83
  285. package/dist/browser/operations/userAssignedIdentities.d.ts.map +0 -1
  286. package/dist/browser/operations/userAssignedIdentities.js +0 -350
  287. package/dist/browser/operations/userAssignedIdentities.js.map +0 -1
  288. package/dist/browser/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
  289. package/dist/browser/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
  290. package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js +0 -9
  291. package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
  292. package/dist/browser/operationsInterfaces/index.d.ts +0 -5
  293. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  294. package/dist/browser/operationsInterfaces/index.js +0 -12
  295. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  296. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  297. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  298. package/dist/browser/operationsInterfaces/operations.js +0 -9
  299. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  300. package/dist/browser/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
  301. package/dist/browser/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
  302. package/dist/browser/operationsInterfaces/systemAssignedIdentities.js +0 -9
  303. package/dist/browser/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
  304. package/dist/browser/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
  305. package/dist/browser/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
  306. package/dist/browser/operationsInterfaces/userAssignedIdentities.js +0 -9
  307. package/dist/browser/operationsInterfaces/userAssignedIdentities.js.map +0 -1
  308. package/dist/browser/pagingHelper.d.ts +0 -13
  309. package/dist/browser/pagingHelper.d.ts.map +0 -1
  310. package/dist/browser/pagingHelper.js +0 -30
  311. package/dist/browser/pagingHelper.js.map +0 -1
  312. package/dist/commonjs/index.d.ts.map +0 -1
  313. package/dist/commonjs/managedServiceIdentityClient.d.ts.map +0 -1
  314. package/dist/commonjs/models/index.d.ts.map +0 -1
  315. package/dist/commonjs/models/mappers.d.ts +0 -17
  316. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  317. package/dist/commonjs/models/mappers.js +0 -475
  318. package/dist/commonjs/models/mappers.js.map +0 -1
  319. package/dist/commonjs/models/parameters.d.ts +0 -18
  320. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  321. package/dist/commonjs/models/parameters.js +0 -168
  322. package/dist/commonjs/models/parameters.js.map +0 -1
  323. package/dist/commonjs/operations/federatedIdentityCredentials.d.ts +0 -66
  324. package/dist/commonjs/operations/federatedIdentityCredentials.d.ts.map +0 -1
  325. package/dist/commonjs/operations/federatedIdentityCredentials.js +0 -262
  326. package/dist/commonjs/operations/federatedIdentityCredentials.js.map +0 -1
  327. package/dist/commonjs/operations/index.d.ts +0 -5
  328. package/dist/commonjs/operations/index.d.ts.map +0 -1
  329. package/dist/commonjs/operations/index.js +0 -15
  330. package/dist/commonjs/operations/index.js.map +0 -1
  331. package/dist/commonjs/operations/operations.d.ts +0 -32
  332. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  333. package/dist/commonjs/operations/operations.js +0 -121
  334. package/dist/commonjs/operations/operations.js.map +0 -1
  335. package/dist/commonjs/operations/systemAssignedIdentities.d.ts +0 -20
  336. package/dist/commonjs/operations/systemAssignedIdentities.d.ts.map +0 -1
  337. package/dist/commonjs/operations/systemAssignedIdentities.js +0 -54
  338. package/dist/commonjs/operations/systemAssignedIdentities.js.map +0 -1
  339. package/dist/commonjs/operations/userAssignedIdentities.d.ts +0 -83
  340. package/dist/commonjs/operations/userAssignedIdentities.d.ts.map +0 -1
  341. package/dist/commonjs/operations/userAssignedIdentities.js +0 -355
  342. package/dist/commonjs/operations/userAssignedIdentities.js.map +0 -1
  343. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
  344. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
  345. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js +0 -10
  346. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
  347. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -5
  348. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  349. package/dist/commonjs/operationsInterfaces/index.js +0 -15
  350. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  351. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  352. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  353. package/dist/commonjs/operationsInterfaces/operations.js +0 -10
  354. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  355. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
  356. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
  357. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js +0 -10
  358. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
  359. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
  360. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
  361. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js +0 -10
  362. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js.map +0 -1
  363. package/dist/commonjs/pagingHelper.d.ts +0 -13
  364. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  365. package/dist/commonjs/pagingHelper.js +0 -34
  366. package/dist/commonjs/pagingHelper.js.map +0 -1
  367. package/dist/esm/index.d.ts.map +0 -1
  368. package/dist/esm/managedServiceIdentityClient.d.ts.map +0 -1
  369. package/dist/esm/models/index.d.ts.map +0 -1
  370. package/dist/esm/models/mappers.d.ts +0 -17
  371. package/dist/esm/models/mappers.d.ts.map +0 -1
  372. package/dist/esm/models/mappers.js +0 -472
  373. package/dist/esm/models/mappers.js.map +0 -1
  374. package/dist/esm/models/parameters.d.ts +0 -18
  375. package/dist/esm/models/parameters.d.ts.map +0 -1
  376. package/dist/esm/models/parameters.js +0 -165
  377. package/dist/esm/models/parameters.js.map +0 -1
  378. package/dist/esm/operations/federatedIdentityCredentials.d.ts +0 -66
  379. package/dist/esm/operations/federatedIdentityCredentials.d.ts.map +0 -1
  380. package/dist/esm/operations/federatedIdentityCredentials.js +0 -257
  381. package/dist/esm/operations/federatedIdentityCredentials.js.map +0 -1
  382. package/dist/esm/operations/index.d.ts +0 -5
  383. package/dist/esm/operations/index.d.ts.map +0 -1
  384. package/dist/esm/operations/index.js +0 -12
  385. package/dist/esm/operations/index.js.map +0 -1
  386. package/dist/esm/operations/operations.d.ts +0 -32
  387. package/dist/esm/operations/operations.d.ts.map +0 -1
  388. package/dist/esm/operations/operations.js +0 -116
  389. package/dist/esm/operations/operations.js.map +0 -1
  390. package/dist/esm/operations/systemAssignedIdentities.d.ts +0 -20
  391. package/dist/esm/operations/systemAssignedIdentities.d.ts.map +0 -1
  392. package/dist/esm/operations/systemAssignedIdentities.js +0 -49
  393. package/dist/esm/operations/systemAssignedIdentities.js.map +0 -1
  394. package/dist/esm/operations/userAssignedIdentities.d.ts +0 -83
  395. package/dist/esm/operations/userAssignedIdentities.d.ts.map +0 -1
  396. package/dist/esm/operations/userAssignedIdentities.js +0 -350
  397. package/dist/esm/operations/userAssignedIdentities.js.map +0 -1
  398. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
  399. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
  400. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js +0 -9
  401. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
  402. package/dist/esm/operationsInterfaces/index.d.ts +0 -5
  403. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  404. package/dist/esm/operationsInterfaces/index.js +0 -12
  405. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  406. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  407. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  408. package/dist/esm/operationsInterfaces/operations.js +0 -9
  409. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  410. package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
  411. package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
  412. package/dist/esm/operationsInterfaces/systemAssignedIdentities.js +0 -9
  413. package/dist/esm/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
  414. package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
  415. package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
  416. package/dist/esm/operationsInterfaces/userAssignedIdentities.js +0 -9
  417. package/dist/esm/operationsInterfaces/userAssignedIdentities.js.map +0 -1
  418. package/dist/esm/pagingHelper.d.ts +0 -13
  419. package/dist/esm/pagingHelper.d.ts.map +0 -1
  420. package/dist/esm/pagingHelper.js +0 -30
  421. package/dist/esm/pagingHelper.js.map +0 -1
  422. package/dist/react-native/index.d.ts +0 -5
  423. package/dist/react-native/index.d.ts.map +0 -1
  424. package/dist/react-native/index.js +0 -13
  425. package/dist/react-native/index.js.map +0 -1
  426. package/dist/react-native/managedServiceIdentityClient.d.ts +0 -24
  427. package/dist/react-native/managedServiceIdentityClient.d.ts.map +0 -1
  428. package/dist/react-native/managedServiceIdentityClient.js +0 -110
  429. package/dist/react-native/managedServiceIdentityClient.js.map +0 -1
  430. package/dist/react-native/models/index.d.ts +0 -318
  431. package/dist/react-native/models/index.d.ts.map +0 -1
  432. package/dist/react-native/models/index.js +0 -28
  433. package/dist/react-native/models/index.js.map +0 -1
  434. package/dist/react-native/models/mappers.d.ts +0 -17
  435. package/dist/react-native/models/mappers.d.ts.map +0 -1
  436. package/dist/react-native/models/mappers.js +0 -472
  437. package/dist/react-native/models/mappers.js.map +0 -1
  438. package/dist/react-native/models/parameters.d.ts +0 -18
  439. package/dist/react-native/models/parameters.d.ts.map +0 -1
  440. package/dist/react-native/models/parameters.js +0 -165
  441. package/dist/react-native/models/parameters.js.map +0 -1
  442. package/dist/react-native/operations/federatedIdentityCredentials.d.ts +0 -66
  443. package/dist/react-native/operations/federatedIdentityCredentials.d.ts.map +0 -1
  444. package/dist/react-native/operations/federatedIdentityCredentials.js +0 -257
  445. package/dist/react-native/operations/federatedIdentityCredentials.js.map +0 -1
  446. package/dist/react-native/operations/index.d.ts +0 -5
  447. package/dist/react-native/operations/index.d.ts.map +0 -1
  448. package/dist/react-native/operations/index.js +0 -12
  449. package/dist/react-native/operations/index.js.map +0 -1
  450. package/dist/react-native/operations/operations.d.ts +0 -32
  451. package/dist/react-native/operations/operations.d.ts.map +0 -1
  452. package/dist/react-native/operations/operations.js +0 -116
  453. package/dist/react-native/operations/operations.js.map +0 -1
  454. package/dist/react-native/operations/systemAssignedIdentities.d.ts +0 -20
  455. package/dist/react-native/operations/systemAssignedIdentities.d.ts.map +0 -1
  456. package/dist/react-native/operations/systemAssignedIdentities.js +0 -49
  457. package/dist/react-native/operations/systemAssignedIdentities.js.map +0 -1
  458. package/dist/react-native/operations/userAssignedIdentities.d.ts +0 -83
  459. package/dist/react-native/operations/userAssignedIdentities.d.ts.map +0 -1
  460. package/dist/react-native/operations/userAssignedIdentities.js +0 -350
  461. package/dist/react-native/operations/userAssignedIdentities.js.map +0 -1
  462. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
  463. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
  464. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js +0 -9
  465. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
  466. package/dist/react-native/operationsInterfaces/index.d.ts +0 -5
  467. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  468. package/dist/react-native/operationsInterfaces/index.js +0 -12
  469. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  470. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  471. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  472. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  473. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  474. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
  475. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
  476. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js +0 -9
  477. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
  478. package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
  479. package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
  480. package/dist/react-native/operationsInterfaces/userAssignedIdentities.js +0 -9
  481. package/dist/react-native/operationsInterfaces/userAssignedIdentities.js.map +0 -1
  482. package/dist/react-native/package.json +0 -3
  483. package/dist/react-native/pagingHelper.d.ts +0 -13
  484. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  485. package/dist/react-native/pagingHelper.js +0 -30
  486. package/dist/react-native/pagingHelper.js.map +0 -1
  487. package/review/arm-msi-node.api.md +0 -313
@@ -0,0 +1,401 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js";
4
+ export function _operationListResultDeserializer(item) {
5
+ return {
6
+ value: operationArrayDeserializer(item["value"]),
7
+ nextLink: item["nextLink"],
8
+ };
9
+ }
10
+ export function operationArrayDeserializer(result) {
11
+ return result.map((item) => {
12
+ return operationDeserializer(item);
13
+ });
14
+ }
15
+ export function operationDeserializer(item) {
16
+ return {
17
+ name: item["name"],
18
+ display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
19
+ };
20
+ }
21
+ export function operationDisplayDeserializer(item) {
22
+ return {
23
+ provider: item["provider"],
24
+ operation: item["operation"],
25
+ resource: item["resource"],
26
+ description: item["description"],
27
+ };
28
+ }
29
+ export function cloudErrorDeserializer(item) {
30
+ return {
31
+ error: !item["error"] ? item["error"] : cloudErrorBodyDeserializer(item["error"]),
32
+ };
33
+ }
34
+ export function cloudErrorBodyDeserializer(item) {
35
+ return {
36
+ code: item["code"],
37
+ message: item["message"],
38
+ target: item["target"],
39
+ details: !item["details"] ? item["details"] : cloudErrorBodyArrayDeserializer(item["details"]),
40
+ };
41
+ }
42
+ export function cloudErrorBodyArrayDeserializer(result) {
43
+ return result.map((item) => {
44
+ return cloudErrorBodyDeserializer(item);
45
+ });
46
+ }
47
+ export function systemAssignedIdentityDeserializer(item) {
48
+ return {
49
+ id: item["id"],
50
+ name: item["name"],
51
+ type: item["type"],
52
+ systemData: !item["systemData"]
53
+ ? item["systemData"]
54
+ : systemDataDeserializer(item["systemData"]),
55
+ ...(!item["properties"]
56
+ ? item["properties"]
57
+ : _systemAssignedIdentityPropertiesDeserializer(item["properties"])),
58
+ location: item["location"],
59
+ tags: !item["tags"]
60
+ ? item["tags"]
61
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
62
+ };
63
+ }
64
+ export function systemAssignedIdentityPropertiesDeserializer(item) {
65
+ return {
66
+ tenantId: item["tenantId"],
67
+ principalId: item["principalId"],
68
+ clientId: item["clientId"],
69
+ clientSecretUrl: item["clientSecretUrl"],
70
+ };
71
+ }
72
+ export function extensionResourceDeserializer(item) {
73
+ return {
74
+ id: item["id"],
75
+ name: item["name"],
76
+ type: item["type"],
77
+ systemData: !item["systemData"]
78
+ ? item["systemData"]
79
+ : systemDataDeserializer(item["systemData"]),
80
+ };
81
+ }
82
+ export function resourceSerializer(_item) {
83
+ return {};
84
+ }
85
+ export function resourceDeserializer(item) {
86
+ return {
87
+ id: item["id"],
88
+ name: item["name"],
89
+ type: item["type"],
90
+ systemData: !item["systemData"]
91
+ ? item["systemData"]
92
+ : systemDataDeserializer(item["systemData"]),
93
+ };
94
+ }
95
+ export function systemDataDeserializer(item) {
96
+ return {
97
+ createdBy: item["createdBy"],
98
+ createdByType: item["createdByType"],
99
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
100
+ lastModifiedBy: item["lastModifiedBy"],
101
+ lastModifiedByType: item["lastModifiedByType"],
102
+ lastModifiedAt: !item["lastModifiedAt"]
103
+ ? item["lastModifiedAt"]
104
+ : new Date(item["lastModifiedAt"]),
105
+ };
106
+ }
107
+ /** The kind of entity that created the resource. */
108
+ export var KnownCreatedByType;
109
+ (function (KnownCreatedByType) {
110
+ /** The entity was created by a user. */
111
+ KnownCreatedByType["User"] = "User";
112
+ /** The entity was created by an application. */
113
+ KnownCreatedByType["Application"] = "Application";
114
+ /** The entity was created by a managed identity. */
115
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
116
+ /** The entity was created by a key. */
117
+ KnownCreatedByType["Key"] = "Key";
118
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
119
+ export function federatedIdentityCredentialSerializer(item) {
120
+ return {
121
+ properties: areAllPropsUndefined(item, [
122
+ "issuer",
123
+ "subject",
124
+ "audiences",
125
+ "claimsMatchingExpression",
126
+ ])
127
+ ? undefined
128
+ : _federatedIdentityCredentialPropertiesSerializer(item),
129
+ };
130
+ }
131
+ export function federatedIdentityCredentialDeserializer(item) {
132
+ return {
133
+ id: item["id"],
134
+ name: item["name"],
135
+ type: item["type"],
136
+ systemData: !item["systemData"]
137
+ ? item["systemData"]
138
+ : systemDataDeserializer(item["systemData"]),
139
+ ...(!item["properties"]
140
+ ? item["properties"]
141
+ : _federatedIdentityCredentialPropertiesDeserializer(item["properties"])),
142
+ };
143
+ }
144
+ export function federatedIdentityCredentialPropertiesSerializer(item) {
145
+ return {
146
+ issuer: item["issuer"],
147
+ subject: item["subject"],
148
+ audiences: item["audiences"].map((p) => {
149
+ return p;
150
+ }),
151
+ claimsMatchingExpression: !item["claimsMatchingExpression"]
152
+ ? item["claimsMatchingExpression"]
153
+ : claimsMatchingExpressionSerializer(item["claimsMatchingExpression"]),
154
+ };
155
+ }
156
+ export function federatedIdentityCredentialPropertiesDeserializer(item) {
157
+ return {
158
+ issuer: item["issuer"],
159
+ subject: item["subject"],
160
+ audiences: item["audiences"].map((p) => {
161
+ return p;
162
+ }),
163
+ claimsMatchingExpression: !item["claimsMatchingExpression"]
164
+ ? item["claimsMatchingExpression"]
165
+ : claimsMatchingExpressionDeserializer(item["claimsMatchingExpression"]),
166
+ };
167
+ }
168
+ export function claimsMatchingExpressionSerializer(item) {
169
+ return { value: item["value"], languageVersion: item["languageVersion"] };
170
+ }
171
+ export function claimsMatchingExpressionDeserializer(item) {
172
+ return {
173
+ value: item["value"],
174
+ languageVersion: item["languageVersion"],
175
+ };
176
+ }
177
+ export function proxyResourceSerializer(_item) {
178
+ return {};
179
+ }
180
+ export function proxyResourceDeserializer(item) {
181
+ return {
182
+ id: item["id"],
183
+ name: item["name"],
184
+ type: item["type"],
185
+ systemData: !item["systemData"]
186
+ ? item["systemData"]
187
+ : systemDataDeserializer(item["systemData"]),
188
+ };
189
+ }
190
+ export function _federatedIdentityCredentialsListResultDeserializer(item) {
191
+ return {
192
+ value: federatedIdentityCredentialArrayDeserializer(item["value"]),
193
+ nextLink: item["nextLink"],
194
+ };
195
+ }
196
+ export function federatedIdentityCredentialArraySerializer(result) {
197
+ return result.map((item) => {
198
+ return federatedIdentityCredentialSerializer(item);
199
+ });
200
+ }
201
+ export function federatedIdentityCredentialArrayDeserializer(result) {
202
+ return result.map((item) => {
203
+ return federatedIdentityCredentialDeserializer(item);
204
+ });
205
+ }
206
+ export function identitySerializer(item) {
207
+ return {
208
+ tags: item["tags"],
209
+ location: item["location"],
210
+ properties: areAllPropsUndefined(item, ["isolationScope", "assignmentRestrictions"])
211
+ ? undefined
212
+ : _identityPropertiesSerializer(item),
213
+ };
214
+ }
215
+ export function identityDeserializer(item) {
216
+ return {
217
+ tags: !item["tags"]
218
+ ? item["tags"]
219
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
220
+ location: item["location"],
221
+ id: item["id"],
222
+ name: item["name"],
223
+ type: item["type"],
224
+ systemData: !item["systemData"]
225
+ ? item["systemData"]
226
+ : systemDataDeserializer(item["systemData"]),
227
+ ...(!item["properties"]
228
+ ? item["properties"]
229
+ : _identityPropertiesDeserializer(item["properties"])),
230
+ };
231
+ }
232
+ export function userAssignedIdentityPropertiesSerializer(item) {
233
+ return {
234
+ isolationScope: item["isolationScope"],
235
+ assignmentRestrictions: !item["assignmentRestrictions"]
236
+ ? item["assignmentRestrictions"]
237
+ : assignmentRestrictionsSerializer(item["assignmentRestrictions"]),
238
+ };
239
+ }
240
+ export function userAssignedIdentityPropertiesDeserializer(item) {
241
+ return {
242
+ tenantId: item["tenantId"],
243
+ principalId: item["principalId"],
244
+ clientId: item["clientId"],
245
+ isolationScope: item["isolationScope"],
246
+ assignmentRestrictions: !item["assignmentRestrictions"]
247
+ ? item["assignmentRestrictions"]
248
+ : assignmentRestrictionsDeserializer(item["assignmentRestrictions"]),
249
+ };
250
+ }
251
+ /** Enum to configure regional restrictions on identity assignment, as necessary. */
252
+ export var KnownIsolationScope;
253
+ (function (KnownIsolationScope) {
254
+ /** None */
255
+ KnownIsolationScope["None"] = "None";
256
+ /** Regional */
257
+ KnownIsolationScope["Regional"] = "Regional";
258
+ })(KnownIsolationScope || (KnownIsolationScope = {}));
259
+ export function assignmentRestrictionsSerializer(item) {
260
+ return {
261
+ providers: !item["providers"]
262
+ ? item["providers"]
263
+ : item["providers"].map((p) => {
264
+ return p;
265
+ }),
266
+ };
267
+ }
268
+ export function assignmentRestrictionsDeserializer(item) {
269
+ return {
270
+ providers: !item["providers"]
271
+ ? item["providers"]
272
+ : item["providers"].map((p) => {
273
+ return p;
274
+ }),
275
+ };
276
+ }
277
+ export function trackedResourceSerializer(item) {
278
+ return { tags: item["tags"], location: item["location"] };
279
+ }
280
+ export function trackedResourceDeserializer(item) {
281
+ return {
282
+ id: item["id"],
283
+ name: item["name"],
284
+ type: item["type"],
285
+ systemData: !item["systemData"]
286
+ ? item["systemData"]
287
+ : systemDataDeserializer(item["systemData"]),
288
+ tags: !item["tags"]
289
+ ? item["tags"]
290
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
291
+ location: item["location"],
292
+ };
293
+ }
294
+ export function identityUpdateSerializer(item) {
295
+ return {
296
+ location: item["location"],
297
+ tags: item["tags"],
298
+ properties: areAllPropsUndefined(item, ["isolationScope", "assignmentRestrictions"])
299
+ ? undefined
300
+ : _identityUpdatePropertiesSerializer(item),
301
+ };
302
+ }
303
+ export function _userAssignedIdentitiesListResultDeserializer(item) {
304
+ return {
305
+ value: identityArrayDeserializer(item["value"]),
306
+ nextLink: item["nextLink"],
307
+ };
308
+ }
309
+ export function identityArraySerializer(result) {
310
+ return result.map((item) => {
311
+ return identitySerializer(item);
312
+ });
313
+ }
314
+ export function identityArrayDeserializer(result) {
315
+ return result.map((item) => {
316
+ return identityDeserializer(item);
317
+ });
318
+ }
319
+ /** The available API versions. */
320
+ export var KnownVersions;
321
+ (function (KnownVersions) {
322
+ /** The 2024-11-30 API version. */
323
+ KnownVersions["V20241130"] = "2024-11-30";
324
+ /** The 2025-05-31-preview API version. */
325
+ KnownVersions["V20250531Preview"] = "2025-05-31-preview";
326
+ })(KnownVersions || (KnownVersions = {}));
327
+ export function _systemAssignedIdentityPropertiesDeserializer(item) {
328
+ return {
329
+ tenantId: item["tenantId"],
330
+ principalId: item["principalId"],
331
+ clientId: item["clientId"],
332
+ clientSecretUrl: item["clientSecretUrl"],
333
+ };
334
+ }
335
+ export function _federatedIdentityCredentialPropertiesSerializer(item) {
336
+ return {
337
+ issuer: item["issuer"],
338
+ subject: item["subject"],
339
+ audiences: !item["audiences"]
340
+ ? item["audiences"]
341
+ : item["audiences"].map((p) => {
342
+ return p;
343
+ }),
344
+ claimsMatchingExpression: !item["claimsMatchingExpression"]
345
+ ? item["claimsMatchingExpression"]
346
+ : claimsMatchingExpressionSerializer(item["claimsMatchingExpression"]),
347
+ };
348
+ }
349
+ export function _federatedIdentityCredentialPropertiesDeserializer(item) {
350
+ return {
351
+ issuer: item["issuer"],
352
+ subject: item["subject"],
353
+ audiences: !item["audiences"]
354
+ ? item["audiences"]
355
+ : item["audiences"].map((p) => {
356
+ return p;
357
+ }),
358
+ claimsMatchingExpression: !item["claimsMatchingExpression"]
359
+ ? item["claimsMatchingExpression"]
360
+ : claimsMatchingExpressionDeserializer(item["claimsMatchingExpression"]),
361
+ };
362
+ }
363
+ export function _identityPropertiesSerializer(item) {
364
+ return {
365
+ isolationScope: item["isolationScope"],
366
+ assignmentRestrictions: !item["assignmentRestrictions"]
367
+ ? item["assignmentRestrictions"]
368
+ : assignmentRestrictionsSerializer(item["assignmentRestrictions"]),
369
+ };
370
+ }
371
+ export function _identityPropertiesDeserializer(item) {
372
+ return {
373
+ tenantId: item["tenantId"],
374
+ principalId: item["principalId"],
375
+ clientId: item["clientId"],
376
+ isolationScope: item["isolationScope"],
377
+ assignmentRestrictions: !item["assignmentRestrictions"]
378
+ ? item["assignmentRestrictions"]
379
+ : assignmentRestrictionsDeserializer(item["assignmentRestrictions"]),
380
+ };
381
+ }
382
+ export function _identityUpdatePropertiesSerializer(item) {
383
+ return {
384
+ isolationScope: item["isolationScope"],
385
+ assignmentRestrictions: !item["assignmentRestrictions"]
386
+ ? item["assignmentRestrictions"]
387
+ : assignmentRestrictionsSerializer(item["assignmentRestrictions"]),
388
+ };
389
+ }
390
+ export function _identityUpdatePropertiesDeserializer(item) {
391
+ return {
392
+ tenantId: item["tenantId"],
393
+ principalId: item["principalId"],
394
+ clientId: item["clientId"],
395
+ isolationScope: item["isolationScope"],
396
+ assignmentRestrictions: !item["assignmentRestrictions"]
397
+ ? item["assignmentRestrictions"]
398
+ : assignmentRestrictionsDeserializer(item["assignmentRestrictions"]),
399
+ };
400
+ }
401
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAgB/F,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,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AC;QACtC,sBAAsB,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC;YACrD,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC;YAChC,CAAC,CAAC,kCAAkC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;KACvE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAoB;IACtE,OAAO;QACL,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtC,sBAAsB,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC;YACrD,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC;YAChC,CAAC,CAAC,gCAAgC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,IAAS;IAC7D,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtC,sBAAsB,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC;YACrD,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC;YAChC,CAAC,CAAC,kCAAkC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;KACvE,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n name?: string;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n provider?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n operation?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n resource?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n operation: item[\"operation\"],\n resource: item[\"resource\"],\n description: item[\"description\"],\n };\n}\n\n/** An error response from the ManagedServiceIdentity service. */\nexport interface CloudError {\n /** A list of additional details about the error. */\n error?: CloudErrorBody;\n}\n\nexport function cloudErrorDeserializer(item: any): CloudError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : cloudErrorBodyDeserializer(item[\"error\"]),\n };\n}\n\n/** An error response from the ManagedServiceIdentity service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\nexport function cloudErrorBodyDeserializer(item: any): CloudErrorBody {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : cloudErrorBodyArrayDeserializer(item[\"details\"]),\n };\n}\n\nexport function cloudErrorBodyArrayDeserializer(result: Array<CloudErrorBody>): any[] {\n return result.map((item) => {\n return cloudErrorBodyDeserializer(item);\n });\n}\n\n/** Describes a system assigned identity resource. */\nexport interface SystemAssignedIdentity extends ExtensionResource {\n location: string;\n tags?: Record<string, string>;\n /** The id of the tenant which the identity belongs to. */\n readonly tenantId?: string;\n /** The id of the service principal object associated with the created identity. */\n readonly principalId?: string;\n /** The id of the app associated with the identity. This is a random generated UUID by MSI. */\n readonly clientId?: string;\n /** The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. */\n readonly clientSecretUrl?: string;\n}\n\nexport function systemAssignedIdentityDeserializer(item: any): SystemAssignedIdentity {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _systemAssignedIdentityPropertiesDeserializer(item[\"properties\"])),\n location: item[\"location\"],\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** The properties associated with the system assigned identity. */\nexport interface SystemAssignedIdentityProperties {\n /** The id of the tenant which the identity belongs to. */\n readonly tenantId?: string;\n /** The id of the service principal object associated with the created identity. */\n readonly principalId?: string;\n /** The id of the app associated with the identity. This is a random generated UUID by MSI. */\n readonly clientId?: string;\n /** The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. */\n readonly clientSecretUrl?: string;\n}\n\nexport function systemAssignedIdentityPropertiesDeserializer(\n item: any,\n): SystemAssignedIdentityProperties {\n return {\n tenantId: item[\"tenantId\"],\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n clientSecretUrl: item[\"clientSecretUrl\"],\n };\n}\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Describes a federated identity credential. */\nexport interface FederatedIdentityCredential extends ProxyResource {\n /** The URL of the issuer to be trusted. */\n issuer?: string;\n /** The identifier of the external identity. */\n subject?: string;\n /** The list of audiences that can appear in the issued token. */\n audiences?: string[];\n /** Object for defining the allowed identifiers of external identities. Either 'subject' or 'claimsMatchingExpression' must be defined, but not both. Introduced in 2025-01-31-preview. */\n claimsMatchingExpression?: ClaimsMatchingExpression;\n}\n\nexport function federatedIdentityCredentialSerializer(item: FederatedIdentityCredential): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"issuer\",\n \"subject\",\n \"audiences\",\n \"claimsMatchingExpression\",\n ])\n ? undefined\n : _federatedIdentityCredentialPropertiesSerializer(item),\n };\n}\n\nexport function federatedIdentityCredentialDeserializer(item: any): FederatedIdentityCredential {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _federatedIdentityCredentialPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The properties associated with a federated identity credential. */\nexport interface FederatedIdentityCredentialProperties {\n /** The URL of the issuer to be trusted. */\n issuer: string;\n /** The identifier of the external identity. */\n subject?: string;\n /** The list of audiences that can appear in the issued token. */\n audiences: string[];\n /** Object for defining the allowed identifiers of external identities. Either 'subject' or 'claimsMatchingExpression' must be defined, but not both. Introduced in 2025-01-31-preview. */\n claimsMatchingExpression?: ClaimsMatchingExpression;\n}\n\nexport function federatedIdentityCredentialPropertiesSerializer(\n item: FederatedIdentityCredentialProperties,\n): any {\n return {\n issuer: item[\"issuer\"],\n subject: item[\"subject\"],\n audiences: item[\"audiences\"].map((p: any) => {\n return p;\n }),\n claimsMatchingExpression: !item[\"claimsMatchingExpression\"]\n ? item[\"claimsMatchingExpression\"]\n : claimsMatchingExpressionSerializer(item[\"claimsMatchingExpression\"]),\n };\n}\n\nexport function federatedIdentityCredentialPropertiesDeserializer(\n item: any,\n): FederatedIdentityCredentialProperties {\n return {\n issuer: item[\"issuer\"],\n subject: item[\"subject\"],\n audiences: item[\"audiences\"].map((p: any) => {\n return p;\n }),\n claimsMatchingExpression: !item[\"claimsMatchingExpression\"]\n ? item[\"claimsMatchingExpression\"]\n : claimsMatchingExpressionDeserializer(item[\"claimsMatchingExpression\"]),\n };\n}\n\n/** Object for defining the allowed identifiers of external identities. Introduced in 2025-01-31-preview. */\nexport interface ClaimsMatchingExpression {\n /** Wildcard-based expression for matching incoming subject claims. */\n value: string;\n /** Specifies the version of the flexible fic language used in the expression. */\n languageVersion: number;\n}\n\nexport function claimsMatchingExpressionSerializer(item: ClaimsMatchingExpression): any {\n return { value: item[\"value\"], languageVersion: item[\"languageVersion\"] };\n}\n\nexport function claimsMatchingExpressionDeserializer(item: any): ClaimsMatchingExpression {\n return {\n value: item[\"value\"],\n languageVersion: item[\"languageVersion\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(_item: ProxyResource): any {\n return {};\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Values returned by the List operation for federated identity credentials. */\nexport interface _FederatedIdentityCredentialsListResult {\n /** The FederatedIdentityCredential items on this page */\n value: FederatedIdentityCredential[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _federatedIdentityCredentialsListResultDeserializer(\n item: any,\n): _FederatedIdentityCredentialsListResult {\n return {\n value: federatedIdentityCredentialArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function federatedIdentityCredentialArraySerializer(\n result: Array<FederatedIdentityCredential>,\n): any[] {\n return result.map((item) => {\n return federatedIdentityCredentialSerializer(item);\n });\n}\n\nexport function federatedIdentityCredentialArrayDeserializer(\n result: Array<FederatedIdentityCredential>,\n): any[] {\n return result.map((item) => {\n return federatedIdentityCredentialDeserializer(item);\n });\n}\n\n/** Describes an identity resource. */\nexport interface Identity extends TrackedResource {\n /** The id of the tenant which the identity belongs to. */\n readonly tenantId?: string;\n /** The id of the service principal object associated with the created identity. */\n readonly principalId?: string;\n /** The id of the app associated with the identity. This is a random generated UUID by MSI. */\n readonly clientId?: string;\n /** Enum to configure regional restrictions on identity assignment, as necessary. */\n isolationScope?: IsolationScope;\n /** Restrictions on which resource providers this identity can be assigned to. */\n assignmentRestrictions?: AssignmentRestrictions;\n}\n\nexport function identitySerializer(item: Identity): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: areAllPropsUndefined(item, [\"isolationScope\", \"assignmentRestrictions\"])\n ? undefined\n : _identityPropertiesSerializer(item),\n };\n}\n\nexport function identityDeserializer(item: any): Identity {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _identityPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The properties associated with the user assigned identity. */\nexport interface UserAssignedIdentityProperties {\n /** The id of the tenant which the identity belongs to. */\n readonly tenantId?: string;\n /** The id of the service principal object associated with the created identity. */\n readonly principalId?: string;\n /** The id of the app associated with the identity. This is a random generated UUID by MSI. */\n readonly clientId?: string;\n /** Enum to configure regional restrictions on identity assignment, as necessary. */\n isolationScope?: IsolationScope;\n /** Restrictions on which resource providers this identity can be assigned to. */\n assignmentRestrictions?: AssignmentRestrictions;\n}\n\nexport function userAssignedIdentityPropertiesSerializer(\n item: UserAssignedIdentityProperties,\n): any {\n return {\n isolationScope: item[\"isolationScope\"],\n assignmentRestrictions: !item[\"assignmentRestrictions\"]\n ? item[\"assignmentRestrictions\"]\n : assignmentRestrictionsSerializer(item[\"assignmentRestrictions\"]),\n };\n}\n\nexport function userAssignedIdentityPropertiesDeserializer(\n item: any,\n): UserAssignedIdentityProperties {\n return {\n tenantId: item[\"tenantId\"],\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n isolationScope: item[\"isolationScope\"],\n assignmentRestrictions: !item[\"assignmentRestrictions\"]\n ? item[\"assignmentRestrictions\"]\n : assignmentRestrictionsDeserializer(item[\"assignmentRestrictions\"]),\n };\n}\n\n/** Enum to configure regional restrictions on identity assignment, as necessary. */\nexport enum KnownIsolationScope {\n /** None */\n None = \"None\",\n /** Regional */\n Regional = \"Regional\",\n}\n\n/**\n * Enum to configure regional restrictions on identity assignment, as necessary. \\\n * {@link KnownIsolationScope} can be used interchangeably with IsolationScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None** \\\n * **Regional**\n */\nexport type IsolationScope = string;\n\n/** Configuration to restrict identity assignment to specific resource providers or resource types. */\nexport interface AssignmentRestrictions {\n /** List of resource providers or resource providers with resource types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'. */\n providers?: string[];\n}\n\nexport function assignmentRestrictionsSerializer(item: AssignmentRestrictions): any {\n return {\n providers: !item[\"providers\"]\n ? item[\"providers\"]\n : item[\"providers\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function assignmentRestrictionsDeserializer(item: any): AssignmentRestrictions {\n return {\n providers: !item[\"providers\"]\n ? item[\"providers\"]\n : item[\"providers\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** Describes an identity resource. */\nexport interface IdentityUpdate extends Resource {\n /** The geo-location where the resource lives */\n location?: string;\n /** Resource tags */\n tags?: Record<string, string>;\n /** The id of the tenant which the identity belongs to. */\n readonly tenantId?: string;\n /** The id of the service principal object associated with the created identity. */\n readonly principalId?: string;\n /** The id of the app associated with the identity. This is a random generated UUID by MSI. */\n readonly clientId?: string;\n /** Enum to configure regional restrictions on identity assignment, as necessary. */\n isolationScope?: IsolationScope;\n /** Restrictions on which resource providers this identity can be assigned to. */\n assignmentRestrictions?: AssignmentRestrictions;\n}\n\nexport function identityUpdateSerializer(item: IdentityUpdate): any {\n return {\n location: item[\"location\"],\n tags: item[\"tags\"],\n properties: areAllPropsUndefined(item, [\"isolationScope\", \"assignmentRestrictions\"])\n ? undefined\n : _identityUpdatePropertiesSerializer(item),\n };\n}\n\n/** Values returned by the List operation. */\nexport interface _UserAssignedIdentitiesListResult {\n /** The Identity items on this page */\n value: Identity[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _userAssignedIdentitiesListResultDeserializer(\n item: any,\n): _UserAssignedIdentitiesListResult {\n return {\n value: identityArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function identityArraySerializer(result: Array<Identity>): any[] {\n return result.map((item) => {\n return identitySerializer(item);\n });\n}\n\nexport function identityArrayDeserializer(result: Array<Identity>): any[] {\n return result.map((item) => {\n return identityDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2024-11-30 API version. */\n V20241130 = \"2024-11-30\",\n /** The 2025-05-31-preview API version. */\n V20250531Preview = \"2025-05-31-preview\",\n}\n\nexport function _systemAssignedIdentityPropertiesDeserializer(item: any) {\n return {\n tenantId: item[\"tenantId\"],\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n clientSecretUrl: item[\"clientSecretUrl\"],\n };\n}\n\nexport function _federatedIdentityCredentialPropertiesSerializer(\n item: FederatedIdentityCredential,\n): any {\n return {\n issuer: item[\"issuer\"],\n subject: item[\"subject\"],\n audiences: !item[\"audiences\"]\n ? item[\"audiences\"]\n : item[\"audiences\"].map((p: any) => {\n return p;\n }),\n claimsMatchingExpression: !item[\"claimsMatchingExpression\"]\n ? item[\"claimsMatchingExpression\"]\n : claimsMatchingExpressionSerializer(item[\"claimsMatchingExpression\"]),\n };\n}\n\nexport function _federatedIdentityCredentialPropertiesDeserializer(item: any) {\n return {\n issuer: item[\"issuer\"],\n subject: item[\"subject\"],\n audiences: !item[\"audiences\"]\n ? item[\"audiences\"]\n : item[\"audiences\"].map((p: any) => {\n return p;\n }),\n claimsMatchingExpression: !item[\"claimsMatchingExpression\"]\n ? item[\"claimsMatchingExpression\"]\n : claimsMatchingExpressionDeserializer(item[\"claimsMatchingExpression\"]),\n };\n}\n\nexport function _identityPropertiesSerializer(item: Identity): any {\n return {\n isolationScope: item[\"isolationScope\"],\n assignmentRestrictions: !item[\"assignmentRestrictions\"]\n ? item[\"assignmentRestrictions\"]\n : assignmentRestrictionsSerializer(item[\"assignmentRestrictions\"]),\n };\n}\n\nexport function _identityPropertiesDeserializer(item: any) {\n return {\n tenantId: item[\"tenantId\"],\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n isolationScope: item[\"isolationScope\"],\n assignmentRestrictions: !item[\"assignmentRestrictions\"]\n ? item[\"assignmentRestrictions\"]\n : assignmentRestrictionsDeserializer(item[\"assignmentRestrictions\"]),\n };\n}\n\nexport function _identityUpdatePropertiesSerializer(item: IdentityUpdate): any {\n return {\n isolationScope: item[\"isolationScope\"],\n assignmentRestrictions: !item[\"assignmentRestrictions\"]\n ? item[\"assignmentRestrictions\"]\n : assignmentRestrictionsSerializer(item[\"assignmentRestrictions\"]),\n };\n}\n\nexport function _identityUpdatePropertiesDeserializer(item: any) {\n return {\n tenantId: item[\"tenantId\"],\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n isolationScope: item[\"isolationScope\"],\n assignmentRestrictions: !item[\"assignmentRestrictions\"]\n ? item[\"assignmentRestrictions\"]\n : assignmentRestrictionsDeserializer(item[\"assignmentRestrictions\"]),\n };\n}\n"]}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum to describe Azure Cloud environments.
3
+ * @enum {string}
4
+ */
5
+ export declare enum AzureClouds {
6
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
7
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
8
+ /** Azure China cloud */
9
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
10
+ /** Azure US government cloud */
11
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
12
+ }
13
+ /** The supported values for cloud setting as a string literal type */
14
+ export type AzureSupportedClouds = `${AzureClouds}`;
15
+ /**
16
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
17
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
18
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
19
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
20
+ */
21
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
22
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,38 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /**
4
+ * An enum to describe Azure Cloud environments.
5
+ * @enum {string}
6
+ */
7
+ export var AzureClouds;
8
+ (function (AzureClouds) {
9
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
10
+ AzureClouds["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
11
+ /** Azure China cloud */
12
+ AzureClouds["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
13
+ /** Azure US government cloud */
14
+ AzureClouds["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
15
+ })(AzureClouds || (AzureClouds = {}));
16
+ /**
17
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
18
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
19
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
20
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
21
+ */
22
+ export function getArmEndpoint(cloudSetting) {
23
+ if (cloudSetting === undefined) {
24
+ return undefined;
25
+ }
26
+ const cloudEndpoints = {
27
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
28
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
29
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/",
30
+ };
31
+ if (cloudSetting in cloudEndpoints) {
32
+ return cloudEndpoints[cloudSetting];
33
+ }
34
+ else {
35
+ throw new Error(`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`);
36
+ }
37
+ }
38
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudSettingHelpers.js","sourceRoot":"","sources":["../../../src/static-helpers/cloudSettingHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;GAGG;AACH,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,qEAAqE;IACrE,wDAAyC,CAAA;IACzC,wBAAwB;IACxB,sDAAuC,CAAA;IACvC,gCAAgC;IAChC,0DAA2C,CAAA;AAC7C,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAKD;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,YAAmC;IAChE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,cAAc,GAA6C;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,mBAAmB,EAAE,uCAAuC;QAC5D,kBAAkB,EAAE,+BAA+B;KACpD,CAAC;IACF,IAAI,YAAY,IAAI,cAAc,EAAE,CAAC;QACnC,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CACb,0BAA0B,YAAY,6DAA6D,CACpG,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"]}
@@ -0,0 +1,74 @@
1
+ import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
+ /**
3
+ * Options for the byPage method
4
+ */
5
+ export interface PageSettings {
6
+ /**
7
+ * A reference to a specific page to start iterating from.
8
+ */
9
+ continuationToken?: string;
10
+ }
11
+ /**
12
+ * An interface that describes a page of results.
13
+ */
14
+ export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
15
+ /**
16
+ * The token that keeps track of where to continue the iterator
17
+ */
18
+ continuationToken?: string;
19
+ };
20
+ /**
21
+ * An interface that allows async iterable iteration both to completion and by page.
22
+ */
23
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
24
+ /**
25
+ * The next method, part of the iteration protocol
26
+ */
27
+ next(): Promise<IteratorResult<TElement>>;
28
+ /**
29
+ * The connection to the async iterator, part of the iteration protocol
30
+ */
31
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
32
+ /**
33
+ * Return an AsyncIterableIterator that works a page at a time
34
+ */
35
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
36
+ }
37
+ /**
38
+ * An interface that describes how to communicate with the service.
39
+ */
40
+ export interface PagedResult<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
41
+ /**
42
+ * Link to the first page of results.
43
+ */
44
+ firstPageLink?: string;
45
+ /**
46
+ * A method that returns a page of results.
47
+ */
48
+ getPage: (pageLink?: string) => Promise<{
49
+ page: TPage;
50
+ nextPageLink?: string;
51
+ } | undefined>;
52
+ /**
53
+ * a function to implement the `byPage` method on the paged async iterator.
54
+ */
55
+ byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
56
+ /**
57
+ * A function to extract elements from a page.
58
+ */
59
+ toElements?: (page: TPage) => TElement[];
60
+ }
61
+ /**
62
+ * Options for the paging helper
63
+ */
64
+ export interface BuildPagedAsyncIteratorOptions {
65
+ itemName?: string;
66
+ nextLinkName?: string;
67
+ nextLinkMethod?: "GET" | "POST";
68
+ apiVersion?: string;
69
+ }
70
+ /**
71
+ * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
72
+ */
73
+ export declare function buildPagedAsyncIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings, TResponse extends PathUncheckedResponse = PathUncheckedResponse>(client: Client, getInitialResponse: () => PromiseLike<TResponse>, processResponseBody: (result: TResponse) => PromiseLike<unknown>, expectedStatuses: string[], options?: BuildPagedAsyncIteratorOptions): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
74
+ //# sourceMappingURL=pagingHelpers.d.ts.map