@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,442 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var models_exports = {};
19
+ __export(models_exports, {
20
+ KnownCreatedByType: () => KnownCreatedByType,
21
+ KnownIsolationScope: () => KnownIsolationScope,
22
+ KnownVersions: () => KnownVersions,
23
+ _federatedIdentityCredentialPropertiesDeserializer: () => _federatedIdentityCredentialPropertiesDeserializer,
24
+ _federatedIdentityCredentialPropertiesSerializer: () => _federatedIdentityCredentialPropertiesSerializer,
25
+ _federatedIdentityCredentialsListResultDeserializer: () => _federatedIdentityCredentialsListResultDeserializer,
26
+ _identityPropertiesDeserializer: () => _identityPropertiesDeserializer,
27
+ _identityPropertiesSerializer: () => _identityPropertiesSerializer,
28
+ _identityUpdatePropertiesDeserializer: () => _identityUpdatePropertiesDeserializer,
29
+ _identityUpdatePropertiesSerializer: () => _identityUpdatePropertiesSerializer,
30
+ _operationListResultDeserializer: () => _operationListResultDeserializer,
31
+ _systemAssignedIdentityPropertiesDeserializer: () => _systemAssignedIdentityPropertiesDeserializer,
32
+ _userAssignedIdentitiesListResultDeserializer: () => _userAssignedIdentitiesListResultDeserializer,
33
+ assignmentRestrictionsDeserializer: () => assignmentRestrictionsDeserializer,
34
+ assignmentRestrictionsSerializer: () => assignmentRestrictionsSerializer,
35
+ claimsMatchingExpressionDeserializer: () => claimsMatchingExpressionDeserializer,
36
+ claimsMatchingExpressionSerializer: () => claimsMatchingExpressionSerializer,
37
+ cloudErrorBodyArrayDeserializer: () => cloudErrorBodyArrayDeserializer,
38
+ cloudErrorBodyDeserializer: () => cloudErrorBodyDeserializer,
39
+ cloudErrorDeserializer: () => cloudErrorDeserializer,
40
+ extensionResourceDeserializer: () => extensionResourceDeserializer,
41
+ federatedIdentityCredentialArrayDeserializer: () => federatedIdentityCredentialArrayDeserializer,
42
+ federatedIdentityCredentialArraySerializer: () => federatedIdentityCredentialArraySerializer,
43
+ federatedIdentityCredentialDeserializer: () => federatedIdentityCredentialDeserializer,
44
+ federatedIdentityCredentialPropertiesDeserializer: () => federatedIdentityCredentialPropertiesDeserializer,
45
+ federatedIdentityCredentialPropertiesSerializer: () => federatedIdentityCredentialPropertiesSerializer,
46
+ federatedIdentityCredentialSerializer: () => federatedIdentityCredentialSerializer,
47
+ identityArrayDeserializer: () => identityArrayDeserializer,
48
+ identityArraySerializer: () => identityArraySerializer,
49
+ identityDeserializer: () => identityDeserializer,
50
+ identitySerializer: () => identitySerializer,
51
+ identityUpdateSerializer: () => identityUpdateSerializer,
52
+ operationArrayDeserializer: () => operationArrayDeserializer,
53
+ operationDeserializer: () => operationDeserializer,
54
+ operationDisplayDeserializer: () => operationDisplayDeserializer,
55
+ proxyResourceDeserializer: () => proxyResourceDeserializer,
56
+ proxyResourceSerializer: () => proxyResourceSerializer,
57
+ resourceDeserializer: () => resourceDeserializer,
58
+ resourceSerializer: () => resourceSerializer,
59
+ systemAssignedIdentityDeserializer: () => systemAssignedIdentityDeserializer,
60
+ systemAssignedIdentityPropertiesDeserializer: () => systemAssignedIdentityPropertiesDeserializer,
61
+ systemDataDeserializer: () => systemDataDeserializer,
62
+ trackedResourceDeserializer: () => trackedResourceDeserializer,
63
+ trackedResourceSerializer: () => trackedResourceSerializer,
64
+ userAssignedIdentityPropertiesDeserializer: () => userAssignedIdentityPropertiesDeserializer,
65
+ userAssignedIdentityPropertiesSerializer: () => userAssignedIdentityPropertiesSerializer
66
+ });
67
+ module.exports = __toCommonJS(models_exports);
68
+ var import_check_prop_undefined = require("../static-helpers/serialization/check-prop-undefined.js");
69
+ function _operationListResultDeserializer(item) {
70
+ return {
71
+ value: operationArrayDeserializer(item["value"]),
72
+ nextLink: item["nextLink"]
73
+ };
74
+ }
75
+ function operationArrayDeserializer(result) {
76
+ return result.map((item) => {
77
+ return operationDeserializer(item);
78
+ });
79
+ }
80
+ function operationDeserializer(item) {
81
+ return {
82
+ name: item["name"],
83
+ display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"])
84
+ };
85
+ }
86
+ function operationDisplayDeserializer(item) {
87
+ return {
88
+ provider: item["provider"],
89
+ operation: item["operation"],
90
+ resource: item["resource"],
91
+ description: item["description"]
92
+ };
93
+ }
94
+ function cloudErrorDeserializer(item) {
95
+ return {
96
+ error: !item["error"] ? item["error"] : cloudErrorBodyDeserializer(item["error"])
97
+ };
98
+ }
99
+ function cloudErrorBodyDeserializer(item) {
100
+ return {
101
+ code: item["code"],
102
+ message: item["message"],
103
+ target: item["target"],
104
+ details: !item["details"] ? item["details"] : cloudErrorBodyArrayDeserializer(item["details"])
105
+ };
106
+ }
107
+ function cloudErrorBodyArrayDeserializer(result) {
108
+ return result.map((item) => {
109
+ return cloudErrorBodyDeserializer(item);
110
+ });
111
+ }
112
+ function systemAssignedIdentityDeserializer(item) {
113
+ return {
114
+ id: item["id"],
115
+ name: item["name"],
116
+ type: item["type"],
117
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
118
+ ...!item["properties"] ? item["properties"] : _systemAssignedIdentityPropertiesDeserializer(item["properties"]),
119
+ location: item["location"],
120
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p]))
121
+ };
122
+ }
123
+ function systemAssignedIdentityPropertiesDeserializer(item) {
124
+ return {
125
+ tenantId: item["tenantId"],
126
+ principalId: item["principalId"],
127
+ clientId: item["clientId"],
128
+ clientSecretUrl: item["clientSecretUrl"]
129
+ };
130
+ }
131
+ function extensionResourceDeserializer(item) {
132
+ return {
133
+ id: item["id"],
134
+ name: item["name"],
135
+ type: item["type"],
136
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
137
+ };
138
+ }
139
+ function resourceSerializer(_item) {
140
+ return {};
141
+ }
142
+ function resourceDeserializer(item) {
143
+ return {
144
+ id: item["id"],
145
+ name: item["name"],
146
+ type: item["type"],
147
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
148
+ };
149
+ }
150
+ function systemDataDeserializer(item) {
151
+ return {
152
+ createdBy: item["createdBy"],
153
+ createdByType: item["createdByType"],
154
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
155
+ lastModifiedBy: item["lastModifiedBy"],
156
+ lastModifiedByType: item["lastModifiedByType"],
157
+ lastModifiedAt: !item["lastModifiedAt"] ? item["lastModifiedAt"] : new Date(item["lastModifiedAt"])
158
+ };
159
+ }
160
+ var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
161
+ KnownCreatedByType2["User"] = "User";
162
+ KnownCreatedByType2["Application"] = "Application";
163
+ KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
164
+ KnownCreatedByType2["Key"] = "Key";
165
+ return KnownCreatedByType2;
166
+ })(KnownCreatedByType || {});
167
+ function federatedIdentityCredentialSerializer(item) {
168
+ return {
169
+ properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, [
170
+ "issuer",
171
+ "subject",
172
+ "audiences",
173
+ "claimsMatchingExpression"
174
+ ]) ? void 0 : _federatedIdentityCredentialPropertiesSerializer(item)
175
+ };
176
+ }
177
+ function federatedIdentityCredentialDeserializer(item) {
178
+ return {
179
+ id: item["id"],
180
+ name: item["name"],
181
+ type: item["type"],
182
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
183
+ ...!item["properties"] ? item["properties"] : _federatedIdentityCredentialPropertiesDeserializer(item["properties"])
184
+ };
185
+ }
186
+ function federatedIdentityCredentialPropertiesSerializer(item) {
187
+ return {
188
+ issuer: item["issuer"],
189
+ subject: item["subject"],
190
+ audiences: item["audiences"].map((p) => {
191
+ return p;
192
+ }),
193
+ claimsMatchingExpression: !item["claimsMatchingExpression"] ? item["claimsMatchingExpression"] : claimsMatchingExpressionSerializer(item["claimsMatchingExpression"])
194
+ };
195
+ }
196
+ function federatedIdentityCredentialPropertiesDeserializer(item) {
197
+ return {
198
+ issuer: item["issuer"],
199
+ subject: item["subject"],
200
+ audiences: item["audiences"].map((p) => {
201
+ return p;
202
+ }),
203
+ claimsMatchingExpression: !item["claimsMatchingExpression"] ? item["claimsMatchingExpression"] : claimsMatchingExpressionDeserializer(item["claimsMatchingExpression"])
204
+ };
205
+ }
206
+ function claimsMatchingExpressionSerializer(item) {
207
+ return { value: item["value"], languageVersion: item["languageVersion"] };
208
+ }
209
+ function claimsMatchingExpressionDeserializer(item) {
210
+ return {
211
+ value: item["value"],
212
+ languageVersion: item["languageVersion"]
213
+ };
214
+ }
215
+ function proxyResourceSerializer(_item) {
216
+ return {};
217
+ }
218
+ function proxyResourceDeserializer(item) {
219
+ return {
220
+ id: item["id"],
221
+ name: item["name"],
222
+ type: item["type"],
223
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
224
+ };
225
+ }
226
+ function _federatedIdentityCredentialsListResultDeserializer(item) {
227
+ return {
228
+ value: federatedIdentityCredentialArrayDeserializer(item["value"]),
229
+ nextLink: item["nextLink"]
230
+ };
231
+ }
232
+ function federatedIdentityCredentialArraySerializer(result) {
233
+ return result.map((item) => {
234
+ return federatedIdentityCredentialSerializer(item);
235
+ });
236
+ }
237
+ function federatedIdentityCredentialArrayDeserializer(result) {
238
+ return result.map((item) => {
239
+ return federatedIdentityCredentialDeserializer(item);
240
+ });
241
+ }
242
+ function identitySerializer(item) {
243
+ return {
244
+ tags: item["tags"],
245
+ location: item["location"],
246
+ properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["isolationScope", "assignmentRestrictions"]) ? void 0 : _identityPropertiesSerializer(item)
247
+ };
248
+ }
249
+ function identityDeserializer(item) {
250
+ return {
251
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
252
+ location: item["location"],
253
+ id: item["id"],
254
+ name: item["name"],
255
+ type: item["type"],
256
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
257
+ ...!item["properties"] ? item["properties"] : _identityPropertiesDeserializer(item["properties"])
258
+ };
259
+ }
260
+ function userAssignedIdentityPropertiesSerializer(item) {
261
+ return {
262
+ isolationScope: item["isolationScope"],
263
+ assignmentRestrictions: !item["assignmentRestrictions"] ? item["assignmentRestrictions"] : assignmentRestrictionsSerializer(item["assignmentRestrictions"])
264
+ };
265
+ }
266
+ function userAssignedIdentityPropertiesDeserializer(item) {
267
+ return {
268
+ tenantId: item["tenantId"],
269
+ principalId: item["principalId"],
270
+ clientId: item["clientId"],
271
+ isolationScope: item["isolationScope"],
272
+ assignmentRestrictions: !item["assignmentRestrictions"] ? item["assignmentRestrictions"] : assignmentRestrictionsDeserializer(item["assignmentRestrictions"])
273
+ };
274
+ }
275
+ var KnownIsolationScope = /* @__PURE__ */ ((KnownIsolationScope2) => {
276
+ KnownIsolationScope2["None"] = "None";
277
+ KnownIsolationScope2["Regional"] = "Regional";
278
+ return KnownIsolationScope2;
279
+ })(KnownIsolationScope || {});
280
+ function assignmentRestrictionsSerializer(item) {
281
+ return {
282
+ providers: !item["providers"] ? item["providers"] : item["providers"].map((p) => {
283
+ return p;
284
+ })
285
+ };
286
+ }
287
+ function assignmentRestrictionsDeserializer(item) {
288
+ return {
289
+ providers: !item["providers"] ? item["providers"] : item["providers"].map((p) => {
290
+ return p;
291
+ })
292
+ };
293
+ }
294
+ function trackedResourceSerializer(item) {
295
+ return { tags: item["tags"], location: item["location"] };
296
+ }
297
+ function trackedResourceDeserializer(item) {
298
+ return {
299
+ id: item["id"],
300
+ name: item["name"],
301
+ type: item["type"],
302
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
303
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
304
+ location: item["location"]
305
+ };
306
+ }
307
+ function identityUpdateSerializer(item) {
308
+ return {
309
+ location: item["location"],
310
+ tags: item["tags"],
311
+ properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["isolationScope", "assignmentRestrictions"]) ? void 0 : _identityUpdatePropertiesSerializer(item)
312
+ };
313
+ }
314
+ function _userAssignedIdentitiesListResultDeserializer(item) {
315
+ return {
316
+ value: identityArrayDeserializer(item["value"]),
317
+ nextLink: item["nextLink"]
318
+ };
319
+ }
320
+ function identityArraySerializer(result) {
321
+ return result.map((item) => {
322
+ return identitySerializer(item);
323
+ });
324
+ }
325
+ function identityArrayDeserializer(result) {
326
+ return result.map((item) => {
327
+ return identityDeserializer(item);
328
+ });
329
+ }
330
+ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
331
+ KnownVersions2["V20241130"] = "2024-11-30";
332
+ KnownVersions2["V20250531Preview"] = "2025-05-31-preview";
333
+ return KnownVersions2;
334
+ })(KnownVersions || {});
335
+ function _systemAssignedIdentityPropertiesDeserializer(item) {
336
+ return {
337
+ tenantId: item["tenantId"],
338
+ principalId: item["principalId"],
339
+ clientId: item["clientId"],
340
+ clientSecretUrl: item["clientSecretUrl"]
341
+ };
342
+ }
343
+ function _federatedIdentityCredentialPropertiesSerializer(item) {
344
+ return {
345
+ issuer: item["issuer"],
346
+ subject: item["subject"],
347
+ audiences: !item["audiences"] ? item["audiences"] : item["audiences"].map((p) => {
348
+ return p;
349
+ }),
350
+ claimsMatchingExpression: !item["claimsMatchingExpression"] ? item["claimsMatchingExpression"] : claimsMatchingExpressionSerializer(item["claimsMatchingExpression"])
351
+ };
352
+ }
353
+ function _federatedIdentityCredentialPropertiesDeserializer(item) {
354
+ return {
355
+ issuer: item["issuer"],
356
+ subject: item["subject"],
357
+ audiences: !item["audiences"] ? item["audiences"] : item["audiences"].map((p) => {
358
+ return p;
359
+ }),
360
+ claimsMatchingExpression: !item["claimsMatchingExpression"] ? item["claimsMatchingExpression"] : claimsMatchingExpressionDeserializer(item["claimsMatchingExpression"])
361
+ };
362
+ }
363
+ function _identityPropertiesSerializer(item) {
364
+ return {
365
+ isolationScope: item["isolationScope"],
366
+ assignmentRestrictions: !item["assignmentRestrictions"] ? item["assignmentRestrictions"] : assignmentRestrictionsSerializer(item["assignmentRestrictions"])
367
+ };
368
+ }
369
+ function _identityPropertiesDeserializer(item) {
370
+ return {
371
+ tenantId: item["tenantId"],
372
+ principalId: item["principalId"],
373
+ clientId: item["clientId"],
374
+ isolationScope: item["isolationScope"],
375
+ assignmentRestrictions: !item["assignmentRestrictions"] ? item["assignmentRestrictions"] : assignmentRestrictionsDeserializer(item["assignmentRestrictions"])
376
+ };
377
+ }
378
+ function _identityUpdatePropertiesSerializer(item) {
379
+ return {
380
+ isolationScope: item["isolationScope"],
381
+ assignmentRestrictions: !item["assignmentRestrictions"] ? item["assignmentRestrictions"] : assignmentRestrictionsSerializer(item["assignmentRestrictions"])
382
+ };
383
+ }
384
+ function _identityUpdatePropertiesDeserializer(item) {
385
+ return {
386
+ tenantId: item["tenantId"],
387
+ principalId: item["principalId"],
388
+ clientId: item["clientId"],
389
+ isolationScope: item["isolationScope"],
390
+ assignmentRestrictions: !item["assignmentRestrictions"] ? item["assignmentRestrictions"] : assignmentRestrictionsDeserializer(item["assignmentRestrictions"])
391
+ };
392
+ }
393
+ // Annotate the CommonJS export names for ESM import in node:
394
+ 0 && (module.exports = {
395
+ KnownCreatedByType,
396
+ KnownIsolationScope,
397
+ KnownVersions,
398
+ _federatedIdentityCredentialPropertiesDeserializer,
399
+ _federatedIdentityCredentialPropertiesSerializer,
400
+ _federatedIdentityCredentialsListResultDeserializer,
401
+ _identityPropertiesDeserializer,
402
+ _identityPropertiesSerializer,
403
+ _identityUpdatePropertiesDeserializer,
404
+ _identityUpdatePropertiesSerializer,
405
+ _operationListResultDeserializer,
406
+ _systemAssignedIdentityPropertiesDeserializer,
407
+ _userAssignedIdentitiesListResultDeserializer,
408
+ assignmentRestrictionsDeserializer,
409
+ assignmentRestrictionsSerializer,
410
+ claimsMatchingExpressionDeserializer,
411
+ claimsMatchingExpressionSerializer,
412
+ cloudErrorBodyArrayDeserializer,
413
+ cloudErrorBodyDeserializer,
414
+ cloudErrorDeserializer,
415
+ extensionResourceDeserializer,
416
+ federatedIdentityCredentialArrayDeserializer,
417
+ federatedIdentityCredentialArraySerializer,
418
+ federatedIdentityCredentialDeserializer,
419
+ federatedIdentityCredentialPropertiesDeserializer,
420
+ federatedIdentityCredentialPropertiesSerializer,
421
+ federatedIdentityCredentialSerializer,
422
+ identityArrayDeserializer,
423
+ identityArraySerializer,
424
+ identityDeserializer,
425
+ identitySerializer,
426
+ identityUpdateSerializer,
427
+ operationArrayDeserializer,
428
+ operationDeserializer,
429
+ operationDisplayDeserializer,
430
+ proxyResourceDeserializer,
431
+ proxyResourceSerializer,
432
+ resourceDeserializer,
433
+ resourceSerializer,
434
+ systemAssignedIdentityDeserializer,
435
+ systemAssignedIdentityPropertiesDeserializer,
436
+ systemDataDeserializer,
437
+ trackedResourceDeserializer,
438
+ trackedResourceSerializer,
439
+ userAssignedIdentityPropertiesDeserializer,
440
+ userAssignedIdentityPropertiesSerializer
441
+ });
442
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/models/models.ts"],
4
+ "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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kCAAqC;AAgB9B,SAAS,iCAAiC,MAAiC;AAChF,SAAO;AAAA,IACL,OAAO,2BAA2B,KAAK,OAAO,CAAC;AAAA,IAC/C,UAAU,KAAK,UAAU;AAAA,EAC3B;AACF;AAEO,SAAS,2BAA2B,QAAiC;AAC1E,SAAO,OAAO,IAAI,CAAC,SAAS;AAC1B,WAAO,sBAAsB,IAAI;AAAA,EACnC,CAAC;AACH;AAUO,SAAS,sBAAsB,MAAsB;AAC1D,SAAO;AA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B,CAAC,KAAK,wBAAwB,IAClD,KAAK,wBAAwB,IAC7B,mCAAmC,KAAK,wBAAwB,CAAC;AAAA,EACvE;AACF;AAEO,SAAS,oCAAoC,MAA2B;AAC7E,SAAO;AAAA,IACL,gBAAgB,KAAK,gBAAgB;AAAA,IACrC,wBAAwB,CAAC,KAAK,wBAAwB,IAClD,KAAK,wBAAwB,IAC7B,iCAAiC,KAAK,wBAAwB,CAAC;AAAA,EACrE;AACF;AAEO,SAAS,sCAAsC,MAAW;AAC/D,SAAO;AAAA,IACL,UAAU,KAAK,UAAU;AAAA,IACzB,aAAa,KAAK,aAAa;AAAA,IAC/B,UAAU,KAAK,UAAU;AAAA,IACzB,gBAAgB,KAAK,gBAAgB;AAAA,IACrC,wBAAwB,CAAC,KAAK,wBAAwB,IAClD,KAAK,wBAAwB,IAC7B,mCAAmC,KAAK,wBAAwB,CAAC;AAAA,EACvE;AACF;",
6
+ "names": ["KnownCreatedByType", "KnownIsolationScope", "KnownVersions"]
7
+ }
@@ -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,52 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var cloudSettingHelpers_exports = {};
19
+ __export(cloudSettingHelpers_exports, {
20
+ AzureClouds: () => AzureClouds,
21
+ getArmEndpoint: () => getArmEndpoint
22
+ });
23
+ module.exports = __toCommonJS(cloudSettingHelpers_exports);
24
+ var AzureClouds = /* @__PURE__ */ ((AzureClouds2) => {
25
+ AzureClouds2["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
26
+ AzureClouds2["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
27
+ AzureClouds2["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
28
+ return AzureClouds2;
29
+ })(AzureClouds || {});
30
+ function getArmEndpoint(cloudSetting) {
31
+ if (cloudSetting === void 0) {
32
+ return void 0;
33
+ }
34
+ const cloudEndpoints = {
35
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
36
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
37
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/"
38
+ };
39
+ if (cloudSetting in cloudEndpoints) {
40
+ return cloudEndpoints[cloudSetting];
41
+ } else {
42
+ throw new Error(
43
+ `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`
44
+ );
45
+ }
46
+ }
47
+ // Annotate the CommonJS export names for ESM import in node:
48
+ 0 && (module.exports = {
49
+ AzureClouds,
50
+ getArmEndpoint
51
+ });
52
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/static-helpers/cloudSettingHelpers.ts"],
4
+ "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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOO,IAAK,cAAL,kBAAKA,iBAAL;AAEL,EAAAA,aAAA,wBAAqB;AAErB,EAAAA,aAAA,uBAAoB;AAEpB,EAAAA,aAAA,yBAAsB;AANZ,SAAAA;AAAA,GAAA;AAkBL,SAAS,eAAe,cAAyD;AACtF,MAAI,iBAAiB,QAAW;AAC9B,WAAO;AAAA,EACT;AACA,QAAM,iBAA2D;AAAA,IAC/D,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,EACtB;AACA,MAAI,gBAAgB,gBAAgB;AAClC,WAAO,eAAe,YAAY;AAAA,EACpC,OAAO;AACL,UAAM,IAAI;AAAA,MACR,0BAA0B,YAAY;AAAA,IACxC;AAAA,EACF;AACF;",
6
+ "names": ["AzureClouds"]
7
+ }