@azure/arm-visualstudio 4.0.0-alpha.20250117.1 → 4.0.0-alpha.20250121.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 (386) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +4 -0
  3. package/dist/browser/index.d.ts.map +1 -0
  4. package/{dist-esm/src → dist/browser}/index.js +3 -3
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js +25 -0
  7. package/dist/browser/lroImpl.js.map +1 -0
  8. package/dist/browser/models/index.js.map +1 -0
  9. package/dist/browser/models/mappers.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  11. package/dist/browser/models/parameters.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
  13. package/dist/browser/operations/accounts.d.ts.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/accounts.js +2 -2
  15. package/dist/browser/operations/accounts.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/extensions.d.ts +3 -3
  17. package/dist/browser/operations/extensions.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/extensions.js +2 -2
  19. package/dist/browser/operations/extensions.js.map +1 -0
  20. package/dist/browser/operations/index.d.ts +5 -0
  21. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  22. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  25. package/dist/browser/operations/operations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  27. package/dist/browser/operations/operations.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/projects.d.ts +3 -3
  29. package/dist/browser/operations/projects.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/projects.js +35 -40
  31. package/dist/browser/operations/projects.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
  33. package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
  34. package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.d.ts +1 -1
  36. package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
  37. package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
  38. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  40. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  41. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  43. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  44. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.d.ts +1 -1
  46. package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -0
  47. package/dist/browser/operationsInterfaces/projects.js.map +1 -0
  48. package/dist/browser/package.json +3 -0
  49. package/{dist-esm/src → dist/browser}/visualStudioResourceProviderClient.d.ts +2 -2
  50. package/dist/browser/visualStudioResourceProviderClient.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/visualStudioResourceProviderClient.js +15 -18
  52. package/dist/browser/visualStudioResourceProviderClient.js.map +1 -0
  53. package/dist/commonjs/index.d.ts +4 -0
  54. package/dist/commonjs/index.d.ts.map +1 -0
  55. package/dist/commonjs/index.js +16 -0
  56. package/dist/commonjs/index.js.map +1 -0
  57. package/dist/commonjs/lroImpl.d.ts +16 -0
  58. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  59. package/dist/commonjs/lroImpl.js +29 -0
  60. package/dist/commonjs/lroImpl.js.map +1 -0
  61. package/dist/commonjs/models/index.d.ts +253 -0
  62. package/dist/commonjs/models/index.d.ts.map +1 -0
  63. package/dist/commonjs/models/index.js +10 -0
  64. package/dist/commonjs/models/index.js.map +1 -0
  65. package/dist/commonjs/models/mappers.d.ts +18 -0
  66. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  67. package/dist/commonjs/models/mappers.js +400 -0
  68. package/dist/commonjs/models/mappers.js.map +1 -0
  69. package/dist/commonjs/models/parameters.d.ts +21 -0
  70. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  71. package/dist/commonjs/models/parameters.js +174 -0
  72. package/dist/commonjs/models/parameters.js.map +1 -0
  73. package/dist/commonjs/operations/accounts.d.ts +57 -0
  74. package/dist/commonjs/operations/accounts.d.ts.map +1 -0
  75. package/dist/commonjs/operations/accounts.js +190 -0
  76. package/dist/commonjs/operations/accounts.js.map +1 -0
  77. package/dist/commonjs/operations/extensions.d.ts +54 -0
  78. package/dist/commonjs/operations/extensions.d.ts.map +1 -0
  79. package/dist/commonjs/operations/extensions.js +195 -0
  80. package/dist/commonjs/operations/extensions.js.map +1 -0
  81. package/dist/commonjs/operations/index.d.ts +5 -0
  82. package/dist/commonjs/operations/index.d.ts.map +1 -0
  83. package/dist/commonjs/operations/index.js +15 -0
  84. package/dist/commonjs/operations/index.js.map +1 -0
  85. package/dist/commonjs/operations/operations.d.ts +18 -0
  86. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  87. package/dist/commonjs/operations/operations.js +47 -0
  88. package/dist/commonjs/operations/operations.js.map +1 -0
  89. package/dist/commonjs/operations/projects.d.ts +77 -0
  90. package/dist/commonjs/operations/projects.d.ts.map +1 -0
  91. package/dist/commonjs/operations/projects.js +255 -0
  92. package/dist/commonjs/operations/projects.js.map +1 -0
  93. package/dist/commonjs/operationsInterfaces/accounts.d.ts +49 -0
  94. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
  95. package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
  96. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
  97. package/dist/commonjs/operationsInterfaces/extensions.d.ts +46 -0
  98. package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
  100. package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  102. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  104. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  106. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  108. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/projects.d.ts +69 -0
  110. package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/projects.js +10 -0
  112. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -0
  113. package/dist/commonjs/package.json +3 -0
  114. package/dist/commonjs/visualStudioResourceProviderClient.d.ts +23 -0
  115. package/dist/commonjs/visualStudioResourceProviderClient.d.ts.map +1 -0
  116. package/dist/commonjs/visualStudioResourceProviderClient.js +105 -0
  117. package/dist/commonjs/visualStudioResourceProviderClient.js.map +1 -0
  118. package/dist/esm/index.d.ts +4 -0
  119. package/dist/esm/index.d.ts.map +1 -0
  120. package/{src/index.ts → dist/esm/index.js} +4 -4
  121. package/dist/esm/index.js.map +1 -0
  122. package/dist/esm/lroImpl.d.ts +16 -0
  123. package/dist/esm/lroImpl.d.ts.map +1 -0
  124. package/dist/esm/lroImpl.js +25 -0
  125. package/dist/esm/lroImpl.js.map +1 -0
  126. package/dist/esm/models/index.d.ts +253 -0
  127. package/dist/esm/models/index.d.ts.map +1 -0
  128. package/dist/esm/models/index.js +9 -0
  129. package/dist/esm/models/index.js.map +1 -0
  130. package/dist/esm/models/mappers.d.ts +18 -0
  131. package/dist/esm/models/mappers.d.ts.map +1 -0
  132. package/dist/esm/models/mappers.js +397 -0
  133. package/dist/esm/models/mappers.js.map +1 -0
  134. package/dist/esm/models/parameters.d.ts +21 -0
  135. package/dist/esm/models/parameters.d.ts.map +1 -0
  136. package/dist/esm/models/parameters.js +171 -0
  137. package/dist/esm/models/parameters.js.map +1 -0
  138. package/dist/esm/operations/accounts.d.ts +57 -0
  139. package/dist/esm/operations/accounts.d.ts.map +1 -0
  140. package/dist/esm/operations/accounts.js +185 -0
  141. package/dist/esm/operations/accounts.js.map +1 -0
  142. package/dist/esm/operations/extensions.d.ts +54 -0
  143. package/dist/esm/operations/extensions.d.ts.map +1 -0
  144. package/dist/esm/operations/extensions.js +190 -0
  145. package/dist/esm/operations/extensions.js.map +1 -0
  146. package/dist/esm/operations/index.d.ts +5 -0
  147. package/dist/esm/operations/index.d.ts.map +1 -0
  148. package/dist/esm/operations/index.js +12 -0
  149. package/dist/esm/operations/index.js.map +1 -0
  150. package/dist/esm/operations/operations.d.ts +18 -0
  151. package/dist/esm/operations/operations.d.ts.map +1 -0
  152. package/dist/esm/operations/operations.js +42 -0
  153. package/dist/esm/operations/operations.js.map +1 -0
  154. package/dist/esm/operations/projects.d.ts +77 -0
  155. package/dist/esm/operations/projects.d.ts.map +1 -0
  156. package/dist/esm/operations/projects.js +250 -0
  157. package/dist/esm/operations/projects.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/accounts.d.ts +49 -0
  159. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
  160. package/dist/esm/operationsInterfaces/accounts.js +9 -0
  161. package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
  162. package/dist/esm/operationsInterfaces/extensions.d.ts +46 -0
  163. package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
  164. package/dist/esm/operationsInterfaces/extensions.js +9 -0
  165. package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  167. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/index.js +12 -0
  169. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  170. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  171. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  172. package/dist/esm/operationsInterfaces/operations.js +9 -0
  173. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  174. package/dist/esm/operationsInterfaces/projects.d.ts +69 -0
  175. package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -0
  176. package/dist/esm/operationsInterfaces/projects.js +9 -0
  177. package/dist/esm/operationsInterfaces/projects.js.map +1 -0
  178. package/dist/esm/package.json +3 -0
  179. package/dist/esm/visualStudioResourceProviderClient.d.ts +23 -0
  180. package/dist/esm/visualStudioResourceProviderClient.d.ts.map +1 -0
  181. package/dist/esm/visualStudioResourceProviderClient.js +100 -0
  182. package/dist/esm/visualStudioResourceProviderClient.js.map +1 -0
  183. package/dist/react-native/index.d.ts +4 -0
  184. package/dist/react-native/index.d.ts.map +1 -0
  185. package/dist/react-native/index.js +11 -0
  186. package/dist/react-native/index.js.map +1 -0
  187. package/dist/react-native/lroImpl.d.ts +16 -0
  188. package/dist/react-native/lroImpl.d.ts.map +1 -0
  189. package/dist/react-native/lroImpl.js +25 -0
  190. package/dist/react-native/lroImpl.js.map +1 -0
  191. package/dist/react-native/models/index.d.ts +253 -0
  192. package/dist/react-native/models/index.d.ts.map +1 -0
  193. package/dist/react-native/models/index.js +9 -0
  194. package/dist/react-native/models/index.js.map +1 -0
  195. package/dist/react-native/models/mappers.d.ts +18 -0
  196. package/dist/react-native/models/mappers.d.ts.map +1 -0
  197. package/dist/react-native/models/mappers.js +397 -0
  198. package/dist/react-native/models/mappers.js.map +1 -0
  199. package/dist/react-native/models/parameters.d.ts +21 -0
  200. package/dist/react-native/models/parameters.d.ts.map +1 -0
  201. package/dist/react-native/models/parameters.js +171 -0
  202. package/dist/react-native/models/parameters.js.map +1 -0
  203. package/dist/react-native/operations/accounts.d.ts +57 -0
  204. package/dist/react-native/operations/accounts.d.ts.map +1 -0
  205. package/dist/react-native/operations/accounts.js +185 -0
  206. package/dist/react-native/operations/accounts.js.map +1 -0
  207. package/dist/react-native/operations/extensions.d.ts +54 -0
  208. package/dist/react-native/operations/extensions.d.ts.map +1 -0
  209. package/dist/react-native/operations/extensions.js +190 -0
  210. package/dist/react-native/operations/extensions.js.map +1 -0
  211. package/dist/react-native/operations/index.d.ts +5 -0
  212. package/dist/react-native/operations/index.d.ts.map +1 -0
  213. package/dist/react-native/operations/index.js +12 -0
  214. package/dist/react-native/operations/index.js.map +1 -0
  215. package/dist/react-native/operations/operations.d.ts +18 -0
  216. package/dist/react-native/operations/operations.d.ts.map +1 -0
  217. package/dist/react-native/operations/operations.js +42 -0
  218. package/dist/react-native/operations/operations.js.map +1 -0
  219. package/dist/react-native/operations/projects.d.ts +77 -0
  220. package/dist/react-native/operations/projects.d.ts.map +1 -0
  221. package/dist/react-native/operations/projects.js +250 -0
  222. package/dist/react-native/operations/projects.js.map +1 -0
  223. package/dist/react-native/operationsInterfaces/accounts.d.ts +49 -0
  224. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
  225. package/dist/react-native/operationsInterfaces/accounts.js +9 -0
  226. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
  227. package/dist/react-native/operationsInterfaces/extensions.d.ts +46 -0
  228. package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/extensions.js +9 -0
  230. package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
  231. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  232. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  233. package/dist/react-native/operationsInterfaces/index.js +12 -0
  234. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  235. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  236. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  237. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  238. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  239. package/dist/react-native/operationsInterfaces/projects.d.ts +69 -0
  240. package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -0
  241. package/dist/react-native/operationsInterfaces/projects.js +9 -0
  242. package/dist/react-native/operationsInterfaces/projects.js.map +1 -0
  243. package/dist/react-native/package.json +3 -0
  244. package/dist/react-native/visualStudioResourceProviderClient.d.ts +23 -0
  245. package/dist/react-native/visualStudioResourceProviderClient.d.ts.map +1 -0
  246. package/dist/react-native/visualStudioResourceProviderClient.js +100 -0
  247. package/dist/react-native/visualStudioResourceProviderClient.js.map +1 -0
  248. package/package.json +69 -40
  249. package/dist/index.js +0 -1402
  250. package/dist/index.js.map +0 -1
  251. package/dist/index.min.js +0 -1
  252. package/dist/index.min.js.map +0 -1
  253. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts +0 -2
  254. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js +0 -33
  256. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js.map +0 -1
  257. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
  258. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -38
  260. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
  261. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/accountsDeleteSample.js +0 -31
  264. package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
  265. package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
  266. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
  267. package/dist-esm/samples-dev/accountsGetSample.js +0 -31
  268. package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
  269. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
  270. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -30
  272. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
  273. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/accountsUpdateSample.js +0 -32
  276. package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
  277. package/dist-esm/samples-dev/extensionsCreateSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/extensionsCreateSample.js +0 -44
  280. package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
  281. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -32
  284. package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
  285. package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/extensionsGetSample.js +0 -32
  288. package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
  289. package/dist-esm/samples-dev/extensionsListByAccountSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/extensionsListByAccountSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/extensionsListByAccountSample.js +0 -31
  292. package/dist-esm/samples-dev/extensionsListByAccountSample.js.map +0 -1
  293. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/extensionsUpdateSample.js +0 -44
  296. package/dist-esm/samples-dev/extensionsUpdateSample.js.map +0 -1
  297. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/operationsListSample.js +0 -29
  300. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  301. package/dist-esm/samples-dev/projectsCreateSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/projectsCreateSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/projectsCreateSample.js +0 -43
  304. package/dist-esm/samples-dev/projectsCreateSample.js.map +0 -1
  305. package/dist-esm/samples-dev/projectsGetJobStatusSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/projectsGetJobStatusSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/projectsGetJobStatusSample.js +0 -36
  308. package/dist-esm/samples-dev/projectsGetJobStatusSample.js.map +0 -1
  309. package/dist-esm/samples-dev/projectsGetSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/projectsGetSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/projectsGetSample.js +0 -32
  312. package/dist-esm/samples-dev/projectsGetSample.js.map +0 -1
  313. package/dist-esm/samples-dev/projectsListByResourceGroupSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/projectsListByResourceGroupSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/projectsListByResourceGroupSample.js +0 -31
  316. package/dist-esm/samples-dev/projectsListByResourceGroupSample.js.map +0 -1
  317. package/dist-esm/samples-dev/projectsUpdateSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/projectsUpdateSample.js +0 -40
  320. package/dist-esm/samples-dev/projectsUpdateSample.js.map +0 -1
  321. package/dist-esm/src/index.d.ts +0 -4
  322. package/dist-esm/src/index.d.ts.map +0 -1
  323. package/dist-esm/src/index.js.map +0 -1
  324. package/dist-esm/src/lroImpl.js +0 -29
  325. package/dist-esm/src/lroImpl.js.map +0 -1
  326. package/dist-esm/src/models/index.js.map +0 -1
  327. package/dist-esm/src/models/mappers.js.map +0 -1
  328. package/dist-esm/src/models/parameters.js.map +0 -1
  329. package/dist-esm/src/operations/accounts.d.ts.map +0 -1
  330. package/dist-esm/src/operations/accounts.js.map +0 -1
  331. package/dist-esm/src/operations/extensions.d.ts.map +0 -1
  332. package/dist-esm/src/operations/extensions.js.map +0 -1
  333. package/dist-esm/src/operations/index.d.ts +0 -5
  334. package/dist-esm/src/operations/index.js.map +0 -1
  335. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  336. package/dist-esm/src/operations/operations.js.map +0 -1
  337. package/dist-esm/src/operations/projects.d.ts.map +0 -1
  338. package/dist-esm/src/operations/projects.js.map +0 -1
  339. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
  340. package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
  341. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
  342. package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
  343. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  344. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  346. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  347. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +0 -1
  348. package/dist-esm/src/operationsInterfaces/projects.js.map +0 -1
  349. package/dist-esm/src/visualStudioResourceProviderClient.d.ts.map +0 -1
  350. package/dist-esm/src/visualStudioResourceProviderClient.js.map +0 -1
  351. package/dist-esm/test/sampleTest.d.ts +0 -2
  352. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  353. package/dist-esm/test/sampleTest.js +0 -42
  354. package/dist-esm/test/sampleTest.js.map +0 -1
  355. package/src/lroImpl.ts +0 -34
  356. package/src/models/index.ts +0 -299
  357. package/src/models/mappers.ts +0 -424
  358. package/src/models/parameters.ts +0 -201
  359. package/src/operations/accounts.ts +0 -261
  360. package/src/operations/extensions.ts +0 -259
  361. package/src/operations/index.ts +0 -12
  362. package/src/operations/operations.ts +0 -55
  363. package/src/operations/projects.ts +0 -358
  364. package/src/operationsInterfaces/accounts.ts +0 -96
  365. package/src/operationsInterfaces/extensions.ts +0 -91
  366. package/src/operationsInterfaces/index.ts +0 -12
  367. package/src/operationsInterfaces/operations.ts +0 -21
  368. package/src/operationsInterfaces/projects.ts +0 -128
  369. package/src/visualStudioResourceProviderClient.ts +0 -156
  370. package/tsconfig.json +0 -33
  371. package/types/arm-visualstudio.d.ts +0 -495
  372. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  373. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  374. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  375. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  376. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  377. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  378. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  379. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  380. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  381. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  382. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
  383. /package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.js +0 -0
  384. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  385. /package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.js +0 -0
  386. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,57 @@
1
+ import { Accounts } from "../operationsInterfaces/index.js";
2
+ import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient.js";
3
+ import { CheckNameAvailabilityParameter, AccountsCheckNameAvailabilityOptionalParams, AccountsCheckNameAvailabilityResponse, AccountsListByResourceGroupOptionalParams, AccountsListByResourceGroupResponse, AccountResourceRequest, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountTagRequest, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models/index.js";
4
+ /** Class containing Accounts operations. */
5
+ export declare class AccountsImpl implements Accounts {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Accounts class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: VisualStudioResourceProviderClient);
12
+ /**
13
+ * Checks if the specified Visual Studio Team Services account name is available. Resource name can be
14
+ * either an account name or an account name and PUID.
15
+ * @param body Parameters describing the name to check availability for.
16
+ * @param options The options parameters.
17
+ */
18
+ checkNameAvailability(body: CheckNameAvailabilityParameter, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<AccountsCheckNameAvailabilityResponse>;
19
+ /**
20
+ * Gets all Visual Studio Team Services account resources under the resource group linked to the
21
+ * specified Azure subscription.
22
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
23
+ * @param options The options parameters.
24
+ */
25
+ listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): Promise<AccountsListByResourceGroupResponse>;
26
+ /**
27
+ * Creates or updates a Visual Studio Team Services account resource.
28
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
29
+ * @param resourceName Name of the resource.
30
+ * @param body The request data.
31
+ * @param options The options parameters.
32
+ */
33
+ createOrUpdate(resourceGroupName: string, resourceName: string, body: AccountResourceRequest, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountsCreateOrUpdateResponse>;
34
+ /**
35
+ * Deletes a Visual Studio Team Services account resource.
36
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
37
+ * @param resourceName Name of the resource.
38
+ * @param options The options parameters.
39
+ */
40
+ delete(resourceGroupName: string, resourceName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
41
+ /**
42
+ * Gets the Visual Studio Team Services account resource details.
43
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
44
+ * @param resourceName Name of the resource.
45
+ * @param options The options parameters.
46
+ */
47
+ get(resourceGroupName: string, resourceName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
48
+ /**
49
+ * Updates tags for Visual Studio Team Services account resource.
50
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
51
+ * @param resourceName Name of the resource.
52
+ * @param body The request data.
53
+ * @param options The options parameters.
54
+ */
55
+ update(resourceGroupName: string, resourceName: string, body: AccountTagRequest, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
56
+ }
57
+ //# sourceMappingURL=accounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EACL,8BAA8B,EAC9B,2CAA2C,EAC3C,qCAAqC,EACrC,yCAAyC,EACzC,mCAAmC,EACnC,sBAAsB,EACtB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;;;OAKG;IACH,qBAAqB,CACnB,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
@@ -0,0 +1,190 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AccountsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /** Class containing Accounts operations. */
16
+ class AccountsImpl {
17
+ /**
18
+ * Initialize a new instance of the class Accounts class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Checks if the specified Visual Studio Team Services account name is available. Resource name can be
26
+ * either an account name or an account name and PUID.
27
+ * @param body Parameters describing the name to check availability for.
28
+ * @param options The options parameters.
29
+ */
30
+ checkNameAvailability(body, options) {
31
+ return this.client.sendOperationRequest({ body, options }, checkNameAvailabilityOperationSpec);
32
+ }
33
+ /**
34
+ * Gets all Visual Studio Team Services account resources under the resource group linked to the
35
+ * specified Azure subscription.
36
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
37
+ * @param options The options parameters.
38
+ */
39
+ listByResourceGroup(resourceGroupName, options) {
40
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
41
+ }
42
+ /**
43
+ * Creates or updates a Visual Studio Team Services account resource.
44
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
45
+ * @param resourceName Name of the resource.
46
+ * @param body The request data.
47
+ * @param options The options parameters.
48
+ */
49
+ createOrUpdate(resourceGroupName, resourceName, body, options) {
50
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, body, options }, createOrUpdateOperationSpec);
51
+ }
52
+ /**
53
+ * Deletes a Visual Studio Team Services account resource.
54
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
55
+ * @param resourceName Name of the resource.
56
+ * @param options The options parameters.
57
+ */
58
+ delete(resourceGroupName, resourceName, options) {
59
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
60
+ }
61
+ /**
62
+ * Gets the Visual Studio Team Services account resource details.
63
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
64
+ * @param resourceName Name of the resource.
65
+ * @param options The options parameters.
66
+ */
67
+ get(resourceGroupName, resourceName, options) {
68
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
69
+ }
70
+ /**
71
+ * Updates tags for Visual Studio Team Services account resource.
72
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
73
+ * @param resourceName Name of the resource.
74
+ * @param body The request data.
75
+ * @param options The options parameters.
76
+ */
77
+ update(resourceGroupName, resourceName, body, options) {
78
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, body, options }, updateOperationSpec);
79
+ }
80
+ }
81
+ exports.AccountsImpl = AccountsImpl;
82
+ // Operation Specifications
83
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
84
+ const checkNameAvailabilityOperationSpec = {
85
+ path: "/subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability",
86
+ httpMethod: "POST",
87
+ responses: {
88
+ 200: {
89
+ bodyMapper: Mappers.CheckNameAvailabilityResult
90
+ }
91
+ },
92
+ requestBody: Parameters.body,
93
+ queryParameters: [Parameters.apiVersion],
94
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
95
+ headerParameters: [Parameters.accept, Parameters.contentType],
96
+ mediaType: "json",
97
+ serializer
98
+ };
99
+ const listByResourceGroupOperationSpec = {
100
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account",
101
+ httpMethod: "GET",
102
+ responses: {
103
+ 200: {
104
+ bodyMapper: Mappers.AccountResourceListResult
105
+ }
106
+ },
107
+ queryParameters: [Parameters.apiVersion],
108
+ urlParameters: [
109
+ Parameters.$host,
110
+ Parameters.subscriptionId,
111
+ Parameters.resourceGroupName
112
+ ],
113
+ headerParameters: [Parameters.accept],
114
+ serializer
115
+ };
116
+ const createOrUpdateOperationSpec = {
117
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
118
+ httpMethod: "PUT",
119
+ responses: {
120
+ 200: {
121
+ bodyMapper: Mappers.AccountResource
122
+ },
123
+ 404: {}
124
+ },
125
+ requestBody: Parameters.body1,
126
+ queryParameters: [Parameters.apiVersion],
127
+ urlParameters: [
128
+ Parameters.$host,
129
+ Parameters.subscriptionId,
130
+ Parameters.resourceGroupName,
131
+ Parameters.resourceName
132
+ ],
133
+ headerParameters: [Parameters.accept, Parameters.contentType],
134
+ mediaType: "json",
135
+ serializer
136
+ };
137
+ const deleteOperationSpec = {
138
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
139
+ httpMethod: "DELETE",
140
+ responses: { 200: {} },
141
+ queryParameters: [Parameters.apiVersion],
142
+ urlParameters: [
143
+ Parameters.$host,
144
+ Parameters.subscriptionId,
145
+ Parameters.resourceGroupName,
146
+ Parameters.resourceName
147
+ ],
148
+ serializer
149
+ };
150
+ const getOperationSpec = {
151
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
152
+ httpMethod: "GET",
153
+ responses: {
154
+ 200: {
155
+ bodyMapper: Mappers.AccountResource
156
+ },
157
+ 404: {}
158
+ },
159
+ queryParameters: [Parameters.apiVersion],
160
+ urlParameters: [
161
+ Parameters.$host,
162
+ Parameters.subscriptionId,
163
+ Parameters.resourceGroupName,
164
+ Parameters.resourceName
165
+ ],
166
+ headerParameters: [Parameters.accept],
167
+ serializer
168
+ };
169
+ const updateOperationSpec = {
170
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
171
+ httpMethod: "PATCH",
172
+ responses: {
173
+ 200: {
174
+ bodyMapper: Mappers.AccountResource
175
+ },
176
+ 404: {}
177
+ },
178
+ requestBody: Parameters.body2,
179
+ queryParameters: [Parameters.apiVersion],
180
+ urlParameters: [
181
+ Parameters.$host,
182
+ Parameters.subscriptionId,
183
+ Parameters.resourceGroupName,
184
+ Parameters.resourceName
185
+ ],
186
+ headerParameters: [Parameters.accept, Parameters.contentType],
187
+ mediaType: "json",
188
+ serializer
189
+ };
190
+ //# sourceMappingURL=accounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.js","source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,4HAA4H;IAC9H,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE,EAAE;KACR;IACD,WAAW,EAAE,UAAU,CAAC,KAAK;IAC7B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { Accounts } 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 { VisualStudioResourceProviderClient } from \"../visualStudioResourceProviderClient.js\";\nimport {\n CheckNameAvailabilityParameter,\n AccountsCheckNameAvailabilityOptionalParams,\n AccountsCheckNameAvailabilityResponse,\n AccountsListByResourceGroupOptionalParams,\n AccountsListByResourceGroupResponse,\n AccountResourceRequest,\n AccountsCreateOrUpdateOptionalParams,\n AccountsCreateOrUpdateResponse,\n AccountsDeleteOptionalParams,\n AccountsGetOptionalParams,\n AccountsGetResponse,\n AccountTagRequest,\n AccountsUpdateOptionalParams,\n AccountsUpdateResponse\n} from \"../models/index.js\";\n\n/** Class containing Accounts operations. */\nexport class AccountsImpl implements Accounts {\n private readonly client: VisualStudioResourceProviderClient;\n\n /**\n * Initialize a new instance of the class Accounts class.\n * @param client Reference to the service client\n */\n constructor(client: VisualStudioResourceProviderClient) {\n this.client = client;\n }\n\n /**\n * Checks if the specified Visual Studio Team Services account name is available. Resource name can be\n * either an account name or an account name and PUID.\n * @param body Parameters describing the name to check availability for.\n * @param options The options parameters.\n */\n checkNameAvailability(\n body: CheckNameAvailabilityParameter,\n options?: AccountsCheckNameAvailabilityOptionalParams\n ): Promise<AccountsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * Gets all Visual Studio Team Services account resources under the resource group linked to the\n * specified Azure subscription.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): Promise<AccountsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Creates or updates a Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param body The request data.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n body: AccountResourceRequest,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<AccountsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, body, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the Visual Studio Team Services account resource details.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: AccountsGetOptionalParams\n ): Promise<AccountsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates tags for Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param body The request data.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n body: AccountTagRequest,\n options?: AccountsUpdateOptionalParams\n ): Promise<AccountsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, body, options },\n updateOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResult\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResourceListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResource\n },\n 404: {}\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResource\n },\n 404: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResource\n },\n 404: {}\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -0,0 +1,54 @@
1
+ import { Extensions } from "../operationsInterfaces/index.js";
2
+ import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient.js";
3
+ import { ExtensionsListByAccountOptionalParams, ExtensionsListByAccountResponse, ExtensionResourceRequest, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsDeleteOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models/index.js";
4
+ /** Class containing Extensions operations. */
5
+ export declare class ExtensionsImpl implements Extensions {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Extensions class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: VisualStudioResourceProviderClient);
12
+ /**
13
+ * Gets the details of the extension resources created within the resource group.
14
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
15
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
16
+ * @param options The options parameters.
17
+ */
18
+ listByAccount(resourceGroupName: string, accountResourceName: string, options?: ExtensionsListByAccountOptionalParams): Promise<ExtensionsListByAccountResponse>;
19
+ /**
20
+ * Registers the extension with a Visual Studio Team Services account.
21
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
22
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
23
+ * @param extensionResourceName The name of the extension.
24
+ * @param body An object containing additional information related to the extension request.
25
+ * @param options The options parameters.
26
+ */
27
+ create(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsCreateOptionalParams): Promise<ExtensionsCreateResponse>;
28
+ /**
29
+ * Removes an extension resource registration for a Visual Studio Team Services account.
30
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
31
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
32
+ * @param extensionResourceName The name of the extension.
33
+ * @param options The options parameters.
34
+ */
35
+ delete(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
36
+ /**
37
+ * Gets the details of an extension associated with a Visual Studio Team Services account resource.
38
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
39
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
40
+ * @param extensionResourceName The name of the extension.
41
+ * @param options The options parameters.
42
+ */
43
+ get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
44
+ /**
45
+ * Updates an existing extension registration for the Visual Studio Team Services account.
46
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
47
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
48
+ * @param extensionResourceName The name of the extension.
49
+ * @param body An object containing additional information related to the extension request.
50
+ * @param options The options parameters.
51
+ */
52
+ update(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsUpdateOptionalParams): Promise<ExtensionsUpdateResponse>;
53
+ }
54
+ //# sourceMappingURL=extensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operations/extensions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EACL,qCAAqC,EACrC,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAapC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAYjC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAYrC"}
@@ -0,0 +1,195 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ExtensionsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /** Class containing Extensions operations. */
16
+ class ExtensionsImpl {
17
+ /**
18
+ * Initialize a new instance of the class Extensions class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Gets the details of the extension resources created within the resource group.
26
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
27
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
28
+ * @param options The options parameters.
29
+ */
30
+ listByAccount(resourceGroupName, accountResourceName, options) {
31
+ return this.client.sendOperationRequest({ resourceGroupName, accountResourceName, options }, listByAccountOperationSpec);
32
+ }
33
+ /**
34
+ * Registers the extension with a Visual Studio Team Services account.
35
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
36
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
37
+ * @param extensionResourceName The name of the extension.
38
+ * @param body An object containing additional information related to the extension request.
39
+ * @param options The options parameters.
40
+ */
41
+ create(resourceGroupName, accountResourceName, extensionResourceName, body, options) {
42
+ return this.client.sendOperationRequest({
43
+ resourceGroupName,
44
+ accountResourceName,
45
+ extensionResourceName,
46
+ body,
47
+ options
48
+ }, createOperationSpec);
49
+ }
50
+ /**
51
+ * Removes an extension resource registration for a Visual Studio Team Services account.
52
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
53
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
54
+ * @param extensionResourceName The name of the extension.
55
+ * @param options The options parameters.
56
+ */
57
+ delete(resourceGroupName, accountResourceName, extensionResourceName, options) {
58
+ return this.client.sendOperationRequest({
59
+ resourceGroupName,
60
+ accountResourceName,
61
+ extensionResourceName,
62
+ options
63
+ }, deleteOperationSpec);
64
+ }
65
+ /**
66
+ * Gets the details of an extension associated with a Visual Studio Team Services account resource.
67
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
68
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
69
+ * @param extensionResourceName The name of the extension.
70
+ * @param options The options parameters.
71
+ */
72
+ get(resourceGroupName, accountResourceName, extensionResourceName, options) {
73
+ return this.client.sendOperationRequest({
74
+ resourceGroupName,
75
+ accountResourceName,
76
+ extensionResourceName,
77
+ options
78
+ }, getOperationSpec);
79
+ }
80
+ /**
81
+ * Updates an existing extension registration for the Visual Studio Team Services account.
82
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
83
+ * @param accountResourceName The name of the Visual Studio Team Services account resource.
84
+ * @param extensionResourceName The name of the extension.
85
+ * @param body An object containing additional information related to the extension request.
86
+ * @param options The options parameters.
87
+ */
88
+ update(resourceGroupName, accountResourceName, extensionResourceName, body, options) {
89
+ return this.client.sendOperationRequest({
90
+ resourceGroupName,
91
+ accountResourceName,
92
+ extensionResourceName,
93
+ body,
94
+ options
95
+ }, updateOperationSpec);
96
+ }
97
+ }
98
+ exports.ExtensionsImpl = ExtensionsImpl;
99
+ // Operation Specifications
100
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
101
+ const listByAccountOperationSpec = {
102
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension",
103
+ httpMethod: "GET",
104
+ responses: {
105
+ 200: {
106
+ bodyMapper: Mappers.ExtensionResourceListResult
107
+ }
108
+ },
109
+ queryParameters: [Parameters.apiVersion],
110
+ urlParameters: [
111
+ Parameters.$host,
112
+ Parameters.subscriptionId,
113
+ Parameters.resourceGroupName,
114
+ Parameters.accountResourceName
115
+ ],
116
+ headerParameters: [Parameters.accept],
117
+ serializer
118
+ };
119
+ const createOperationSpec = {
120
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
121
+ httpMethod: "PUT",
122
+ responses: {
123
+ 200: {
124
+ bodyMapper: Mappers.ExtensionResource
125
+ }
126
+ },
127
+ requestBody: Parameters.body3,
128
+ queryParameters: [Parameters.apiVersion],
129
+ urlParameters: [
130
+ Parameters.$host,
131
+ Parameters.subscriptionId,
132
+ Parameters.resourceGroupName,
133
+ Parameters.accountResourceName,
134
+ Parameters.extensionResourceName
135
+ ],
136
+ headerParameters: [Parameters.accept, Parameters.contentType],
137
+ mediaType: "json",
138
+ serializer
139
+ };
140
+ const deleteOperationSpec = {
141
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
142
+ httpMethod: "DELETE",
143
+ responses: { 200: {} },
144
+ queryParameters: [Parameters.apiVersion],
145
+ urlParameters: [
146
+ Parameters.$host,
147
+ Parameters.subscriptionId,
148
+ Parameters.resourceGroupName,
149
+ Parameters.accountResourceName,
150
+ Parameters.extensionResourceName
151
+ ],
152
+ serializer
153
+ };
154
+ const getOperationSpec = {
155
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
156
+ httpMethod: "GET",
157
+ responses: {
158
+ 200: {
159
+ bodyMapper: Mappers.ExtensionResource
160
+ },
161
+ 404: {}
162
+ },
163
+ queryParameters: [Parameters.apiVersion],
164
+ urlParameters: [
165
+ Parameters.$host,
166
+ Parameters.subscriptionId,
167
+ Parameters.resourceGroupName,
168
+ Parameters.accountResourceName,
169
+ Parameters.extensionResourceName
170
+ ],
171
+ headerParameters: [Parameters.accept],
172
+ serializer
173
+ };
174
+ const updateOperationSpec = {
175
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
176
+ httpMethod: "PATCH",
177
+ responses: {
178
+ 200: {
179
+ bodyMapper: Mappers.ExtensionResource
180
+ }
181
+ },
182
+ requestBody: Parameters.body3,
183
+ queryParameters: [Parameters.apiVersion],
184
+ urlParameters: [
185
+ Parameters.$host,
186
+ Parameters.subscriptionId,
187
+ Parameters.resourceGroupName,
188
+ Parameters.accountResourceName,
189
+ Parameters.extensionResourceName
190
+ ],
191
+ headerParameters: [Parameters.accept, Parameters.contentType],
192
+ mediaType: "json",
193
+ serializer
194
+ };
195
+ //# sourceMappingURL=extensions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operations/extensions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,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AU;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 { Extensions } 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 { VisualStudioResourceProviderClient } from \"../visualStudioResourceProviderClient.js\";\nimport {\n ExtensionsListByAccountOptionalParams,\n ExtensionsListByAccountResponse,\n ExtensionResourceRequest,\n ExtensionsCreateOptionalParams,\n ExtensionsCreateResponse,\n ExtensionsDeleteOptionalParams,\n ExtensionsGetOptionalParams,\n ExtensionsGetResponse,\n ExtensionsUpdateOptionalParams,\n ExtensionsUpdateResponse\n} from \"../models/index.js\";\n\n/** Class containing Extensions operations. */\nexport class ExtensionsImpl implements Extensions {\n private readonly client: VisualStudioResourceProviderClient;\n\n /**\n * Initialize a new instance of the class Extensions class.\n * @param client Reference to the service client\n */\n constructor(client: VisualStudioResourceProviderClient) {\n this.client = client;\n }\n\n /**\n * Gets the details of the extension resources created within the resource group.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param options The options parameters.\n */\n listByAccount(\n resourceGroupName: string,\n accountResourceName: string,\n options?: ExtensionsListByAccountOptionalParams\n ): Promise<ExtensionsListByAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountResourceName, options },\n listByAccountOperationSpec\n );\n }\n\n /**\n * Registers the extension with a Visual Studio Team Services account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param body An object containing additional information related to the extension request.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n body: ExtensionResourceRequest,\n options?: ExtensionsCreateOptionalParams\n ): Promise<ExtensionsCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n body,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Removes an extension resource registration for a Visual Studio Team Services account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the details of an extension associated with a Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n options?: ExtensionsGetOptionalParams\n ): Promise<ExtensionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Updates an existing extension registration for the Visual Studio Team Services account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param body An object containing additional information related to the extension request.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n body: ExtensionResourceRequest,\n options?: ExtensionsUpdateOptionalParams\n ): Promise<ExtensionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n body,\n options\n },\n updateOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByAccountOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResourceListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResource\n }\n },\n requestBody: Parameters.body3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResource\n },\n 404: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResource\n }\n },\n requestBody: Parameters.body3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./operations.js";
2
+ export * from "./accounts.js";
3
+ export * from "./extensions.js";
4
+ export * from "./projects.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./operations.js"), exports);
12
+ tslib_1.__exportStar(require("./accounts.js"), exports);
13
+ tslib_1.__exportStar(require("./extensions.js"), exports);
14
+ tslib_1.__exportStar(require("./projects.js"), exports);
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,wDAA8B;AAC9B,0DAAgC;AAChC,wDAA8B","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 \"./operations.js\";\nexport * from \"./accounts.js\";\nexport * from \"./extensions.js\";\nexport * from \"./projects.js\";\n"]}
@@ -0,0 +1,18 @@
1
+ import { Operations } from "../operationsInterfaces/index.js";
2
+ import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient.js";
3
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
4
+ /** Class containing Operations operations. */
5
+ export declare class OperationsImpl implements Operations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Operations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: VisualStudioResourceProviderClient);
12
+ /**
13
+ * Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
17
+ }
18
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}