@azure/arm-msi 2.1.1-alpha.20250214.1 → 2.1.1-alpha.20250218.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 (362) hide show
  1. package/README.md +21 -14
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/managedServiceIdentityClient.d.ts +2 -2
  7. package/dist/browser/managedServiceIdentityClient.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/managedServiceIdentityClient.js +15 -18
  9. package/dist/browser/managedServiceIdentityClient.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/federatedIdentityCredentials.d.ts +3 -3
  15. package/dist/browser/operations/federatedIdentityCredentials.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/federatedIdentityCredentials.js +3 -3
  17. package/dist/browser/operations/federatedIdentityCredentials.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +5 -0
  19. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  20. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  21. package/dist/browser/operations/index.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  23. package/dist/browser/operations/operations.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  25. package/dist/browser/operations/operations.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/systemAssignedIdentities.d.ts +3 -3
  27. package/dist/browser/operations/systemAssignedIdentities.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/systemAssignedIdentities.js +2 -2
  29. package/dist/browser/operations/systemAssignedIdentities.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/userAssignedIdentities.d.ts +3 -3
  31. package/dist/browser/operations/userAssignedIdentities.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/userAssignedIdentities.js +3 -3
  33. package/dist/browser/operations/userAssignedIdentities.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/federatedIdentityCredentials.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
  37. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  39. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  40. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.d.ts +1 -1
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -1
  46. package/dist/browser/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/userAssignedIdentities.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/userAssignedIdentities.js.map +1 -0
  50. package/dist/browser/package.json +3 -0
  51. package/dist/browser/pagingHelper.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +5 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +19 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/managedServiceIdentityClient.d.ts +23 -0
  57. package/dist/commonjs/managedServiceIdentityClient.d.ts.map +1 -0
  58. package/dist/commonjs/managedServiceIdentityClient.js +105 -0
  59. package/dist/commonjs/managedServiceIdentityClient.js.map +1 -0
  60. package/dist/commonjs/models/index.d.ts +298 -0
  61. package/dist/commonjs/models/index.d.ts.map +1 -0
  62. package/dist/commonjs/models/index.js +23 -0
  63. package/dist/commonjs/models/index.js.map +1 -0
  64. package/dist/commonjs/models/mappers.d.ts +17 -0
  65. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  66. package/dist/commonjs/models/mappers.js +432 -0
  67. package/dist/commonjs/models/mappers.js.map +1 -0
  68. package/dist/commonjs/models/parameters.d.ts +18 -0
  69. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  70. package/dist/commonjs/models/parameters.js +168 -0
  71. package/dist/commonjs/models/parameters.js.map +1 -0
  72. package/dist/commonjs/operations/federatedIdentityCredentials.d.ts +66 -0
  73. package/dist/commonjs/operations/federatedIdentityCredentials.d.ts.map +1 -0
  74. package/dist/commonjs/operations/federatedIdentityCredentials.js +278 -0
  75. package/dist/commonjs/operations/federatedIdentityCredentials.js.map +1 -0
  76. package/dist/commonjs/operations/index.d.ts +5 -0
  77. package/dist/commonjs/operations/index.d.ts.map +1 -0
  78. package/dist/commonjs/operations/index.js +15 -0
  79. package/dist/commonjs/operations/index.js.map +1 -0
  80. package/dist/commonjs/operations/operations.d.ts +32 -0
  81. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  82. package/dist/commonjs/operations/operations.js +137 -0
  83. package/dist/commonjs/operations/operations.js.map +1 -0
  84. package/dist/commonjs/operations/systemAssignedIdentities.d.ts +20 -0
  85. package/dist/commonjs/operations/systemAssignedIdentities.d.ts.map +1 -0
  86. package/dist/commonjs/operations/systemAssignedIdentities.js +53 -0
  87. package/dist/commonjs/operations/systemAssignedIdentities.js.map +1 -0
  88. package/dist/commonjs/operations/userAssignedIdentities.d.ts +83 -0
  89. package/dist/commonjs/operations/userAssignedIdentities.d.ts.map +1 -0
  90. package/dist/commonjs/operations/userAssignedIdentities.js +388 -0
  91. package/dist/commonjs/operations/userAssignedIdentities.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
  93. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js +10 -0
  95. package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  97. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  99. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  103. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
  105. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js +10 -0
  107. package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
  109. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js +10 -0
  111. package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js.map +1 -0
  112. package/dist/commonjs/package.json +3 -0
  113. package/dist/commonjs/pagingHelper.d.ts +13 -0
  114. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  115. package/dist/commonjs/pagingHelper.js +36 -0
  116. package/dist/commonjs/pagingHelper.js.map +1 -0
  117. package/dist/esm/index.d.ts +5 -0
  118. package/dist/esm/index.d.ts.map +1 -0
  119. package/{src/index.ts → dist/esm/index.js} +5 -5
  120. package/dist/esm/index.js.map +1 -0
  121. package/dist/esm/managedServiceIdentityClient.d.ts +23 -0
  122. package/dist/esm/managedServiceIdentityClient.d.ts.map +1 -0
  123. package/dist/esm/managedServiceIdentityClient.js +100 -0
  124. package/dist/esm/managedServiceIdentityClient.js.map +1 -0
  125. package/dist/esm/models/index.d.ts +298 -0
  126. package/dist/esm/models/index.d.ts.map +1 -0
  127. package/dist/esm/models/index.js +20 -0
  128. package/dist/esm/models/index.js.map +1 -0
  129. package/dist/esm/models/mappers.d.ts +17 -0
  130. package/dist/esm/models/mappers.d.ts.map +1 -0
  131. package/dist/esm/models/mappers.js +429 -0
  132. package/dist/esm/models/mappers.js.map +1 -0
  133. package/dist/esm/models/parameters.d.ts +18 -0
  134. package/dist/esm/models/parameters.d.ts.map +1 -0
  135. package/dist/esm/models/parameters.js +165 -0
  136. package/dist/esm/models/parameters.js.map +1 -0
  137. package/dist/esm/operations/federatedIdentityCredentials.d.ts +66 -0
  138. package/dist/esm/operations/federatedIdentityCredentials.d.ts.map +1 -0
  139. package/dist/esm/operations/federatedIdentityCredentials.js +274 -0
  140. package/dist/esm/operations/federatedIdentityCredentials.js.map +1 -0
  141. package/dist/esm/operations/index.d.ts +5 -0
  142. package/dist/esm/operations/index.d.ts.map +1 -0
  143. package/dist/esm/operations/index.js +12 -0
  144. package/dist/esm/operations/index.js.map +1 -0
  145. package/dist/esm/operations/operations.d.ts +32 -0
  146. package/dist/esm/operations/operations.d.ts.map +1 -0
  147. package/dist/esm/operations/operations.js +133 -0
  148. package/dist/esm/operations/operations.js.map +1 -0
  149. package/dist/esm/operations/systemAssignedIdentities.d.ts +20 -0
  150. package/dist/esm/operations/systemAssignedIdentities.d.ts.map +1 -0
  151. package/dist/esm/operations/systemAssignedIdentities.js +48 -0
  152. package/dist/esm/operations/systemAssignedIdentities.js.map +1 -0
  153. package/dist/esm/operations/userAssignedIdentities.d.ts +83 -0
  154. package/dist/esm/operations/userAssignedIdentities.d.ts.map +1 -0
  155. package/dist/esm/operations/userAssignedIdentities.js +384 -0
  156. package/dist/esm/operations/userAssignedIdentities.js.map +1 -0
  157. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
  158. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
  159. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js +9 -0
  160. package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
  161. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  162. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  163. package/dist/esm/operationsInterfaces/index.js +12 -0
  164. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  165. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  166. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  167. package/dist/esm/operationsInterfaces/operations.js +9 -0
  168. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  169. package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
  170. package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
  171. package/dist/esm/operationsInterfaces/systemAssignedIdentities.js +9 -0
  172. package/dist/esm/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
  173. package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
  174. package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
  175. package/dist/esm/operationsInterfaces/userAssignedIdentities.js +9 -0
  176. package/dist/esm/operationsInterfaces/userAssignedIdentities.js.map +1 -0
  177. package/dist/esm/package.json +3 -0
  178. package/dist/esm/pagingHelper.d.ts +13 -0
  179. package/dist/esm/pagingHelper.d.ts.map +1 -0
  180. package/dist/esm/pagingHelper.js +32 -0
  181. package/dist/esm/pagingHelper.js.map +1 -0
  182. package/dist/react-native/index.d.ts +5 -0
  183. package/dist/react-native/index.d.ts.map +1 -0
  184. package/dist/react-native/index.js +13 -0
  185. package/dist/react-native/index.js.map +1 -0
  186. package/dist/react-native/managedServiceIdentityClient.d.ts +23 -0
  187. package/dist/react-native/managedServiceIdentityClient.d.ts.map +1 -0
  188. package/dist/react-native/managedServiceIdentityClient.js +100 -0
  189. package/dist/react-native/managedServiceIdentityClient.js.map +1 -0
  190. package/dist/react-native/models/index.d.ts +298 -0
  191. package/dist/react-native/models/index.d.ts.map +1 -0
  192. package/dist/react-native/models/index.js +20 -0
  193. package/dist/react-native/models/index.js.map +1 -0
  194. package/dist/react-native/models/mappers.d.ts +17 -0
  195. package/dist/react-native/models/mappers.d.ts.map +1 -0
  196. package/dist/react-native/models/mappers.js +429 -0
  197. package/dist/react-native/models/mappers.js.map +1 -0
  198. package/dist/react-native/models/parameters.d.ts +18 -0
  199. package/dist/react-native/models/parameters.d.ts.map +1 -0
  200. package/dist/react-native/models/parameters.js +165 -0
  201. package/dist/react-native/models/parameters.js.map +1 -0
  202. package/dist/react-native/operations/federatedIdentityCredentials.d.ts +66 -0
  203. package/dist/react-native/operations/federatedIdentityCredentials.d.ts.map +1 -0
  204. package/dist/react-native/operations/federatedIdentityCredentials.js +274 -0
  205. package/dist/react-native/operations/federatedIdentityCredentials.js.map +1 -0
  206. package/dist/react-native/operations/index.d.ts +5 -0
  207. package/dist/react-native/operations/index.d.ts.map +1 -0
  208. package/dist/react-native/operations/index.js +12 -0
  209. package/dist/react-native/operations/index.js.map +1 -0
  210. package/dist/react-native/operations/operations.d.ts +32 -0
  211. package/dist/react-native/operations/operations.d.ts.map +1 -0
  212. package/dist/react-native/operations/operations.js +133 -0
  213. package/dist/react-native/operations/operations.js.map +1 -0
  214. package/dist/react-native/operations/systemAssignedIdentities.d.ts +20 -0
  215. package/dist/react-native/operations/systemAssignedIdentities.d.ts.map +1 -0
  216. package/dist/react-native/operations/systemAssignedIdentities.js +48 -0
  217. package/dist/react-native/operations/systemAssignedIdentities.js.map +1 -0
  218. package/dist/react-native/operations/userAssignedIdentities.d.ts +83 -0
  219. package/dist/react-native/operations/userAssignedIdentities.d.ts.map +1 -0
  220. package/dist/react-native/operations/userAssignedIdentities.js +384 -0
  221. package/dist/react-native/operations/userAssignedIdentities.js.map +1 -0
  222. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
  223. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
  224. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js +9 -0
  225. package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
  226. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  227. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  228. package/dist/react-native/operationsInterfaces/index.js +12 -0
  229. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  230. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  231. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  232. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  233. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  234. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
  235. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
  236. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js +9 -0
  237. package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
  238. package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
  239. package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
  240. package/dist/react-native/operationsInterfaces/userAssignedIdentities.js +9 -0
  241. package/dist/react-native/operationsInterfaces/userAssignedIdentities.js.map +1 -0
  242. package/dist/react-native/package.json +3 -0
  243. package/dist/react-native/pagingHelper.d.ts +13 -0
  244. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  245. package/dist/react-native/pagingHelper.js +32 -0
  246. package/dist/react-native/pagingHelper.js.map +1 -0
  247. package/package.json +69 -40
  248. package/dist/index.js +0 -1615
  249. package/dist/index.js.map +0 -1
  250. package/dist/index.min.js +0 -1
  251. package/dist/index.min.js.map +0 -1
  252. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js +0 -35
  255. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js.map +0 -1
  256. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js +0 -37
  259. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js.map +0 -1
  260. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js +0 -37
  263. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js.map +0 -1
  264. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.js +0 -52
  267. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.js.map +0 -1
  268. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  269. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  270. package/dist-esm/samples-dev/operationsListSample.js +0 -50
  271. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  272. package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js +0 -35
  275. package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js.map +0 -1
  276. package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.d.ts +0 -2
  277. package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.d.ts.map +0 -1
  278. package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js +0 -33
  279. package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js.map +0 -1
  280. package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js +0 -36
  283. package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js.map +0 -1
  284. package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js +0 -36
  287. package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js.map +0 -1
  288. package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.d.ts +0 -2
  289. package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js +0 -51
  291. package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js.map +0 -1
  292. package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js +0 -50
  295. package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js.map +0 -1
  296. package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js +0 -33
  299. package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js.map +0 -1
  300. package/dist-esm/src/index.d.ts +0 -5
  301. package/dist-esm/src/index.js.map +0 -1
  302. package/dist-esm/src/managedServiceIdentityClient.d.ts.map +0 -1
  303. package/dist-esm/src/managedServiceIdentityClient.js.map +0 -1
  304. package/dist-esm/src/models/index.js.map +0 -1
  305. package/dist-esm/src/models/mappers.js.map +0 -1
  306. package/dist-esm/src/models/parameters.js.map +0 -1
  307. package/dist-esm/src/operations/federatedIdentityCredentials.d.ts.map +0 -1
  308. package/dist-esm/src/operations/federatedIdentityCredentials.js.map +0 -1
  309. package/dist-esm/src/operations/index.d.ts +0 -5
  310. package/dist-esm/src/operations/index.js.map +0 -1
  311. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  312. package/dist-esm/src/operations/operations.js.map +0 -1
  313. package/dist-esm/src/operations/systemAssignedIdentities.d.ts.map +0 -1
  314. package/dist-esm/src/operations/systemAssignedIdentities.js.map +0 -1
  315. package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +0 -1
  316. package/dist-esm/src/operations/userAssignedIdentities.js.map +0 -1
  317. package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
  318. package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
  319. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  320. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  321. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
  323. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
  324. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js.map +0 -1
  325. package/dist-esm/src/pagingHelper.js.map +0 -1
  326. package/dist-esm/test/sampleTest.d.ts +0 -2
  327. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  328. package/dist-esm/test/sampleTest.js +0 -42
  329. package/dist-esm/test/sampleTest.js.map +0 -1
  330. package/src/managedServiceIdentityClient.ts +0 -158
  331. package/src/models/index.ts +0 -348
  332. package/src/models/mappers.ts +0 -476
  333. package/src/models/parameters.ts +0 -190
  334. package/src/operations/federatedIdentityCredentials.ts +0 -355
  335. package/src/operations/index.ts +0 -12
  336. package/src/operations/operations.ts +0 -149
  337. package/src/operations/systemAssignedIdentities.ts +0 -65
  338. package/src/operations/userAssignedIdentities.ts +0 -477
  339. package/src/operationsInterfaces/federatedIdentityCredentials.ts +0 -78
  340. package/src/operationsInterfaces/index.ts +0 -12
  341. package/src/operationsInterfaces/operations.ts +0 -22
  342. package/src/operationsInterfaces/systemAssignedIdentities.ts +0 -26
  343. package/src/operationsInterfaces/userAssignedIdentities.ts +0 -91
  344. package/src/pagingHelper.ts +0 -39
  345. package/tsconfig.json +0 -33
  346. package/types/arm-msi.d.ts +0 -481
  347. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  348. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  349. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  350. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  351. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  352. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  353. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/operationsInterfaces/federatedIdentityCredentials.js +0 -0
  356. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  357. /package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.js +0 -0
  358. /package/{dist-esm/src → dist/browser}/operationsInterfaces/userAssignedIdentities.js +0 -0
  359. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  360. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  361. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  362. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
package/README.md CHANGED
@@ -48,20 +48,28 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica
48
48
 
49
49
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { ManagedServiceIdentityClient } = require("@azure/arm-msi");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { ManagedServiceIdentityClient } from "@azure/arm-msi";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
58
  const client = new ManagedServiceIdentityClient(new DefaultAzureCredential(), subscriptionId);
59
+ ```
60
+
61
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62
+
63
+ ```ts snippet:ReadmeSampleCreateClient_Browser
64
+ import { InteractiveBrowserCredential } from "@azure/identity";
65
+ import { ManagedServiceIdentityClient } from "@azure/arm-msi";
58
66
 
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new ManagedServiceIdentityClient(credential, subscriptionId);
67
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const client = new ManagedServiceIdentityClient(credential, subscriptionId);
65
73
  ```
66
74
 
67
75
  ### JavaScript Bundle
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
88
 
81
89
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
90
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
91
+ ```ts snippet:SetLogLevel
92
+ import { setLogLevel } from "@azure/logger";
93
+
85
94
  setLogLevel("info");
86
95
  ```
87
96
 
@@ -99,8 +108,6 @@ If you'd like to contribute to this library, please read the [contributing guide
99
108
 
100
109
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
110
 
102
-
103
-
104
111
  [azure_cli]: https://learn.microsoft.com/cli/azure
105
112
  [azure_sub]: https://azure.microsoft.com/free/
106
113
  [azure_sub]: https://azure.microsoft.com/free/
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { ManagedServiceIdentityClient } from "./managedServiceIdentityClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { ManagedServiceIdentityClient } from "./managedServiceIdentityClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { ManagedServiceIdentityClient } from "./managedServiceIdentityClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ManagedServiceIdentityClient } from \"./managedServiceIdentityClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { SystemAssignedIdentities, Operations, UserAssignedIdentities, FederatedIdentityCredentials } from "./operationsInterfaces";
4
- import { ManagedServiceIdentityClientOptionalParams } from "./models";
3
+ import { SystemAssignedIdentities, Operations, UserAssignedIdentities, FederatedIdentityCredentials } from "./operationsInterfaces/index.js";
4
+ import { ManagedServiceIdentityClientOptionalParams } from "./models/index.js";
5
5
  export declare class ManagedServiceIdentityClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managedServiceIdentityClient.d.ts","sourceRoot":"","sources":["../../src/managedServiceIdentityClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,0CAA0C,EAAE,MAAM,mBAAmB,CAAC;AAE/E,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAiFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,UAAU,EAAE,UAAU,CAAC;IACvB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D"}
@@ -5,10 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { SystemAssignedIdentitiesImpl, OperationsImpl, UserAssignedIdentitiesImpl, FederatedIdentityCredentialsImpl } from "./operations";
10
+ import { SystemAssignedIdentitiesImpl, OperationsImpl, UserAssignedIdentitiesImpl, FederatedIdentityCredentialsImpl } from "./operations/index.js";
12
11
  export class ManagedServiceIdentityClient extends coreClient.ServiceClient {
13
12
  /**
14
13
  * Initializes a new instance of the ManagedServiceIdentityClient class.
@@ -79,22 +78,20 @@ export class ManagedServiceIdentityClient extends coreClient.ServiceClient {
79
78
  }
80
79
  const apiVersionPolicy = {
81
80
  name: "CustomApiVersionPolicy",
82
- sendRequest(request, next) {
83
- return __awaiter(this, void 0, void 0, function* () {
84
- const param = request.url.split("?");
85
- if (param.length > 1) {
86
- const newParams = param[1].split("&").map((item) => {
87
- if (item.indexOf("api-version") > -1) {
88
- return "api-version=" + apiVersion;
89
- }
90
- else {
91
- return item;
92
- }
93
- });
94
- request.url = param[0] + "?" + newParams.join("&");
95
- }
96
- return next(request);
97
- });
81
+ async sendRequest(request, next) {
82
+ const param = request.url.split("?");
83
+ if (param.length > 1) {
84
+ const newParams = param[1].split("&").map((item) => {
85
+ if (item.indexOf("api-version") > -1) {
86
+ return "api-version=" + apiVersion;
87
+ }
88
+ else {
89
+ return item;
90
+ }
91
+ });
92
+ request.url = param[0] + "?" + newParams.join("&");
93
+ }
94
+ return next(request);
98
95
  }
99
96
  };
100
97
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managedServiceIdentityClient.js","sourceRoot":"","sources":["../../src/managedServiceIdentityClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,4BAA4B,EAC5B,cAAc,EACd,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM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OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAMF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SystemAssignedIdentitiesImpl,\n OperationsImpl,\n UserAssignedIdentitiesImpl,\n FederatedIdentityCredentialsImpl\n} from \"./operations/index.js\";\nimport {\n SystemAssignedIdentities,\n Operations,\n UserAssignedIdentities,\n FederatedIdentityCredentials\n} from \"./operationsInterfaces/index.js\";\nimport { ManagedServiceIdentityClientOptionalParams } from \"./models/index.js\";\n\nexport class ManagedServiceIdentityClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagedServiceIdentityClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Id of the Subscription to which the identity belongs.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ManagedServiceIdentityClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ManagedServiceIdentityClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-msi/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-31\";\n this.systemAssignedIdentities = new SystemAssignedIdentitiesImpl(this);\n this.operations = new OperationsImpl(this);\n this.userAssignedIdentities = new UserAssignedIdentitiesImpl(this);\n this.federatedIdentityCredentials = new FederatedIdentityCredentialsImpl(\n this\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n systemAssignedIdentities: SystemAssignedIdentities;\n operations: Operations;\n userAssignedIdentities: UserAssignedIdentities;\n federatedIdentityCredentials: FederatedIdentityCredentials;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAqMH,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\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\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\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\n/** A list of operations supported by Microsoft.ManagedIdentity Resource Provider. */\nexport interface OperationListResult {\n /** A list of operations supported by Microsoft.ManagedIdentity Resource Provider. */\n value?: Operation[];\n /** The url to get the next page of results, if any. */\n nextLink?: string;\n}\n\n/** Operation supported by the Microsoft.ManagedIdentity REST API. */\nexport interface Operation {\n /** The name of the REST Operation. This is of the format {provider}/{resource}/{operation}. */\n name?: string;\n /** The object that describes the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that describes the operation. */\nexport interface OperationDisplay {\n /** Friendly name of the resource provider. */\n provider?: string;\n /** The type of operation. For example: read, write, delete. */\n operation?: string;\n /** The resource type on which the operation is performed. */\n resource?: string;\n /** A description of the operation. */\n description?: string;\n}\n\n/** Values returned by the List operation. */\nexport interface UserAssignedIdentitiesListResult {\n /** The collection of userAssignedIdentities returned by the listing operation. */\n value?: Identity[];\n /** The url to get the next page of results, if any. */\n nextLink?: string;\n}\n\n/** Values returned by the List operation for federated identity credentials. */\nexport interface FederatedIdentityCredentialsListResult {\n /** The collection of federated identity credentials returned by the listing operation. */\n value?: FederatedIdentityCredential[];\n /** The url to get the next page of results, if any. */\n nextLink?: string;\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\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?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\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?: { [propertyName: string]: string };\n /**\n * The id of the tenant which the identity belongs to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The id of the service principal object associated with the created identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The id of the app associated with the identity. This is a random generated UUID by MSI.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly clientId?: string;\n}\n\n/** Describes a system assigned identity resource. */\nexport interface SystemAssignedIdentity extends ProxyResource {\n /** The geo-location where the resource lives */\n location: string;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /**\n * The id of the tenant which the identity belongs to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The id of the service principal object associated with the created identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The id of the app associated with the identity. This is a random generated UUID by MSI.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly clientId?: string;\n /**\n * The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly clientSecretUrl?: string;\n}\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}\n\n/** Describes an identity resource. */\nexport interface Identity extends TrackedResource {\n /**\n * The id of the tenant which the identity belongs to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The id of the service principal object associated with the created identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The id of the app associated with the identity. This is a random generated UUID by MSI.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly clientId?: string;\n}\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\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** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface SystemAssignedIdentitiesGetByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByScope operation. */\nexport type SystemAssignedIdentitiesGetByScopeResponse = SystemAssignedIdentity;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type UserAssignedIdentitiesListBySubscriptionResponse = UserAssignedIdentitiesListResult;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type UserAssignedIdentitiesListByResourceGroupResponse = UserAssignedIdentitiesListResult;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type UserAssignedIdentitiesCreateOrUpdateResponse = Identity;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type UserAssignedIdentitiesUpdateResponse = Identity;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type UserAssignedIdentitiesGetResponse = Identity;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type UserAssignedIdentitiesListBySubscriptionNextResponse = UserAssignedIdentitiesListResult;\n\n/** Optional parameters. */\nexport interface UserAssignedIdentitiesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type UserAssignedIdentitiesListByResourceGroupNextResponse = UserAssignedIdentitiesListResult;\n\n/** Optional parameters. */\nexport interface FederatedIdentityCredentialsListOptionalParams\n extends coreClient.OperationOptions {\n /** Number of records to return. */\n top?: number;\n /** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */\n skiptoken?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type FederatedIdentityCredentialsListResponse = FederatedIdentityCredentialsListResult;\n\n/** Optional parameters. */\nexport interface FederatedIdentityCredentialsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type FederatedIdentityCredentialsCreateOrUpdateResponse = FederatedIdentityCredential;\n\n/** Optional parameters. */\nexport interface FederatedIdentityCredentialsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type FederatedIdentityCredentialsGetResponse = FederatedIdentityCredential;\n\n/** Optional parameters. */\nexport interface FederatedIdentityCredentialsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface FederatedIdentityCredentialsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type FederatedIdentityCredentialsListNextResponse = FederatedIdentityCredentialsListResult;\n\n/** Optional parameters. */\nexport interface ManagedServiceIdentityClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,QAAQ,GAA+B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,UAAU;QACrB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cA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AAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAA+B;IACrE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,6BAA6B;QACxC,eAAe,kCACV,aAAa,CAAC,IAAI,CAAC,eAAe,KACrC,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,OAAO,EAAE;gBACP,cAAc,EAAE,oBAAoB;gBACpC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA+B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,UAAU;QACrB,eAAe,kCACV,eAAe,CAAC,IAAI,CAAC,eAAe,KACvC,QAAQ,EAAE;gBACR,cAAc,EAAE,qBAAqB;gBACrC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;iBACb;aACF,EACD,WAAW,EAAE;gBACX,cAAc,EAAE,wBAAwB;gBACxC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;iBACb;aACF,EACD,QAAQ,EAAE;gBACR,cAAc,EAAE,qBAAqB;gBACrC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;iBACb;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UserAssignedIdentitiesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UserAssignedIdentitiesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Identity\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FederatedIdentityCredentialsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FederatedIdentityCredentialsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"FederatedIdentityCredential\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const IdentityUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IdentityUpdate\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n tenantId: {\n serializedName: \"properties.tenantId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n principalId: {\n serializedName: \"properties.principalId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n clientId: {\n serializedName: \"properties.clientId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n }\n }\n }\n};\n\nexport const SystemAssignedIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemAssignedIdentity\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n tenantId: {\n serializedName: \"properties.tenantId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n principalId: {\n serializedName: \"properties.principalId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n clientId: {\n serializedName: \"properties.clientId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n clientSecretUrl: {\n serializedName: \"properties.clientSecretUrl\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FederatedIdentityCredential: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FederatedIdentityCredential\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n issuer: {\n serializedName: \"properties.issuer\",\n type: {\n name: \"String\"\n }\n },\n subject: {\n serializedName: \"properties.subject\",\n type: {\n name: \"String\"\n }\n },\n audiences: {\n serializedName: \"properties.audiences\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n tenantId: {\n serializedName: \"properties.tenantId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n principalId: {\n serializedName: \"properties.principalId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n },\n clientId: {\n serializedName: \"properties.clientId\",\n readOnly: true,\n type: {\n name: \"Uuid\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { Identity as IdentityMapper, IdentityUpdate as IdentityUpdateMapper, FederatedIdentityCredential as FederatedIdentityCredentialMapper } from "../models/mappers";
8
+ import { Identity as IdentityMapper, IdentityUpdate as IdentityUpdateMapper, FederatedIdentityCredential as FederatedIdentityCredentialMapper } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;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AE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAA4B;IAC1C,aAAa,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;IACjC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,gBAAgB,EAAE,CAAC;SACpB;QACD,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA4B;IAChD,aAAa,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;IACvC,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,iCAAiC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAA0B;IAC5E,aAAa,EAAE,yCAAyC;IACxD,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,sCAAsC,CAAC;SAC5D;QACD,cAAc,EAAE,yCAAyC;QACzD,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Identity as IdentityMapper,\n IdentityUpdate as IdentityUpdateMapper,\n FederatedIdentityCredential as FederatedIdentityCredentialMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-01-31\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: IdentityMapper\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: IdentityUpdateMapper\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n constraints: {\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const skiptoken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skiptoken\"],\n mapper: {\n serializedName: \"$skiptoken\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FederatedIdentityCredentialMapper\n};\n\nexport const federatedIdentityCredentialResourceName: OperationURLParameter = {\n parameterPath: \"federatedIdentityCredentialResourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{2,119}$\")\n },\n serializedName: \"federatedIdentityCredentialResourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { FederatedIdentityCredentials } from "../operationsInterfaces";
3
- import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient";
4
- import { FederatedIdentityCredential, FederatedIdentityCredentialsListOptionalParams, FederatedIdentityCredentialsCreateOrUpdateOptionalParams, FederatedIdentityCredentialsCreateOrUpdateResponse, FederatedIdentityCredentialsGetOptionalParams, FederatedIdentityCredentialsGetResponse, FederatedIdentityCredentialsDeleteOptionalParams } from "../models";
2
+ import { FederatedIdentityCredentials } from "../operationsInterfaces/index.js";
3
+ import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
4
+ import { FederatedIdentityCredential, FederatedIdentityCredentialsListOptionalParams, FederatedIdentityCredentialsCreateOrUpdateOptionalParams, FederatedIdentityCredentialsCreateOrUpdateResponse, FederatedIdentityCredentialsGetOptionalParams, FederatedIdentityCredentialsGetResponse, FederatedIdentityCredentialsDeleteOptionalParams } from "../models/index.js";
5
5
  /** Class containing FederatedIdentityCredentials operations. */
6
6
  export declare class FederatedIdentityCredentialsImpl implements FederatedIdentityCredentials {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"federatedIdentityCredentials.d.ts","sourceRoot":"","sources":["../../../src/operations/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAIhF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,2BAA2B,EAE3B,8CAA8C,EAE9C,wDAAwD,EACxD,kDAAkD,EAClD,6CAA6C,EAC7C,uCAAuC,EACvC,gDAAgD,EAEjD,MAAM,oBAAoB,CAAC;AAG5B,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,2BAA2B,CAAC;YAuB3C,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uCAAuC,EAAE,MAAM,EAC/C,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC;IAa9D;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uCAAuC,EAAE,MAAM,EAC/C,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAYnD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uCAAuC,EAAE,MAAM,EAC/C,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing FederatedIdentityCredentials operations. */
15
15
  export class FederatedIdentityCredentialsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"federatedIdentityCredentials.js","sourceRoot":"","sources":["../../../src/operations/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,gEAAgE;AAChE,MAAM,OAAO,gCAAgC;IAI3C;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC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AC,YAAY;QACvB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,uCAAuC;KACnD;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sCAAsC;SAC3D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { FederatedIdentityCredentials } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n FederatedIdentityCredential,\n FederatedIdentityCredentialsListNextOptionalParams,\n FederatedIdentityCredentialsListOptionalParams,\n FederatedIdentityCredentialsListResponse,\n FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateResponse,\n FederatedIdentityCredentialsGetOptionalParams,\n FederatedIdentityCredentialsGetResponse,\n FederatedIdentityCredentialsDeleteOptionalParams,\n FederatedIdentityCredentialsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing FederatedIdentityCredentials operations. */\nexport class FederatedIdentityCredentialsImpl\n implements FederatedIdentityCredentials {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class FederatedIdentityCredentials class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Lists all the federated identity credentials under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams\n ): PagedAsyncIterableIterator<FederatedIdentityCredential> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<FederatedIdentityCredential[]> {\n let result: FederatedIdentityCredentialsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams\n ): AsyncIterableIterator<FederatedIdentityCredential> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the federated identity credentials under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams\n ): Promise<FederatedIdentityCredentialsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec\n );\n }\n\n /**\n * Create or update a federated identity credential under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param parameters Parameters to create or update the federated identity credential.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n parameters: FederatedIdentityCredential,\n options?: FederatedIdentityCredentialsCreateOrUpdateOptionalParams\n ): Promise<FederatedIdentityCredentialsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n federatedIdentityCredentialResourceName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets the federated identity credential.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n options?: FederatedIdentityCredentialsGetOptionalParams\n ): Promise<FederatedIdentityCredentialsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n federatedIdentityCredentialResourceName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the federated identity credential.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n options?: FederatedIdentityCredentialsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n federatedIdentityCredentialResourceName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: FederatedIdentityCredentialsListNextOptionalParams\n ): Promise<FederatedIdentityCredentialsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredentialsListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.skiptoken\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredential\n },\n 201: {\n bodyMapper: Mappers.FederatedIdentityCredential\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.federatedIdentityCredentialResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredential\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.federatedIdentityCredentialResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.federatedIdentityCredentialResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredentialsListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./systemAssignedIdentities.js";
2
+ export * from "./operations.js";
3
+ export * from "./userAssignedIdentities.js";
4
+ export * from "./federatedIdentityCredentials.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC"}
@@ -5,8 +5,8 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./systemAssignedIdentities";
9
- export * from "./operations";
10
- export * from "./userAssignedIdentities";
11
- export * from "./federatedIdentityCredentials";
8
+ export * from "./systemAssignedIdentities.js";
9
+ export * from "./operations.js";
10
+ export * from "./userAssignedIdentities.js";
11
+ export * from "./federatedIdentityCredentials.js";
12
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./systemAssignedIdentities.js\";\nexport * from \"./operations.js\";\nexport * from \"./userAssignedIdentities.js\";\nexport * from \"./federatedIdentityCredentials.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient";
4
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing Operations operations. */
15
15
  export class OperationsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD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KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,iDAAiD;IACvD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ManagedIdentity/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { SystemAssignedIdentities } from "../operationsInterfaces";
2
- import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient";
3
- import { SystemAssignedIdentitiesGetByScopeOptionalParams, SystemAssignedIdentitiesGetByScopeResponse } from "../models";
1
+ import { SystemAssignedIdentities } from "../operationsInterfaces/index.js";
2
+ import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
3
+ import { SystemAssignedIdentitiesGetByScopeOptionalParams, SystemAssignedIdentitiesGetByScopeResponse } from "../models/index.js";
4
4
  /** Class containing SystemAssignedIdentities operations. */
5
5
  export declare class SystemAssignedIdentitiesImpl implements SystemAssignedIdentities {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"systemAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operations/systemAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAI5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,4DAA4D;AAC5D,qBAAa,4BAA6B,YAAW,wBAAwB;IAC3E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;CAMvD"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing SystemAssignedIdentities operations. */
12
12
  export class SystemAssignedIdentitiesImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"systemAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operations/systemAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,4DAA4D;AAC5D,MAAM,OAAO,4BAA4B;IAGvC;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,UAAU,CACR,KAAa,EACb,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,KAAK,EAAE,OAAO,EAAE,EAClB,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,iEAAiE;IACvE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IACnD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SystemAssignedIdentities } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n SystemAssignedIdentitiesGetByScopeOptionalParams,\n SystemAssignedIdentitiesGetByScopeResponse\n} from \"../models/index.js\";\n\n/** Class containing SystemAssignedIdentities operations. */\nexport class SystemAssignedIdentitiesImpl implements SystemAssignedIdentities {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class SystemAssignedIdentities class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Gets the systemAssignedIdentity available under the specified RP scope.\n * @param scope The resource provider scope of the resource. Parent resource being extended by Managed\n * Identities.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n options?: SystemAssignedIdentitiesGetByScopeOptionalParams\n ): Promise<SystemAssignedIdentitiesGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n getByScopeOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.ManagedIdentity/identities/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SystemAssignedIdentity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { UserAssignedIdentities } from "../operationsInterfaces";
3
- import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient";
4
- import { Identity, UserAssignedIdentitiesListBySubscriptionOptionalParams, UserAssignedIdentitiesListByResourceGroupOptionalParams, UserAssignedIdentitiesCreateOrUpdateOptionalParams, UserAssignedIdentitiesCreateOrUpdateResponse, IdentityUpdate, UserAssignedIdentitiesUpdateOptionalParams, UserAssignedIdentitiesUpdateResponse, UserAssignedIdentitiesGetOptionalParams, UserAssignedIdentitiesGetResponse, UserAssignedIdentitiesDeleteOptionalParams } from "../models";
2
+ import { UserAssignedIdentities } from "../operationsInterfaces/index.js";
3
+ import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
4
+ import { Identity, UserAssignedIdentitiesListBySubscriptionOptionalParams, UserAssignedIdentitiesListByResourceGroupOptionalParams, UserAssignedIdentitiesCreateOrUpdateOptionalParams, UserAssignedIdentitiesCreateOrUpdateResponse, IdentityUpdate, UserAssignedIdentitiesUpdateOptionalParams, UserAssignedIdentitiesUpdateResponse, UserAssignedIdentitiesGetOptionalParams, UserAssignedIdentitiesGetResponse, UserAssignedIdentitiesDeleteOptionalParams } from "../models/index.js";
5
5
  /** Class containing UserAssignedIdentities operations. */
6
6
  export declare class UserAssignedIdentitiesImpl implements UserAssignedIdentities {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operations/userAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,QAAQ,EAER,sDAAsD,EAGtD,uDAAuD,EAEvD,kDAAkD,EAClD,4CAA4C,EAC5C,cAAc,EACd,0CAA0C,EAC1C,oCAAoC,EACpC,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAG3C,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,QAAQ,CAAC;YAkBxB,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,QAAQ,CAAC;YAsBxB,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAOxD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing UserAssignedIdentities operations. */
15
15
  export class UserAssignedIdentitiesImpl {