@azure/arm-visualstudio 4.0.0-beta.1 → 4.0.0-beta.3

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 (388) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +31 -11
  4. package/dist/browser/index.d.ts +4 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +3 -3
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/index.d.ts +22 -22
  11. package/dist/browser/models/index.d.ts.map +1 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/mappers.js +17 -7
  14. package/dist/browser/models/mappers.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  16. package/dist/browser/models/parameters.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
  18. package/dist/browser/operations/accounts.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/accounts.js +3 -2
  20. package/dist/browser/operations/accounts.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/extensions.d.ts +3 -3
  22. package/dist/browser/operations/extensions.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/extensions.js +3 -2
  24. package/dist/browser/operations/extensions.js.map +1 -0
  25. package/dist/browser/operations/index.d.ts +5 -0
  26. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  27. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  28. package/dist/browser/operations/index.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  30. package/dist/browser/operations/operations.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
  32. package/dist/browser/operations/operations.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/projects.d.ts +3 -3
  34. package/dist/browser/operations/projects.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/projects.js +41 -38
  36. package/dist/browser/operations/projects.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
  38. package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
  39. package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
  43. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  45. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  46. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/projects.js.map +1 -0
  53. package/dist/browser/package.json +3 -0
  54. package/{dist-esm/src → dist/browser}/visualStudioResourceProviderClient.d.ts +4 -2
  55. package/dist/browser/visualStudioResourceProviderClient.d.ts.map +1 -0
  56. package/dist/browser/visualStudioResourceProviderClient.js +112 -0
  57. package/dist/browser/visualStudioResourceProviderClient.js.map +1 -0
  58. package/dist/commonjs/index.d.ts +4 -0
  59. package/dist/commonjs/index.d.ts.map +1 -0
  60. package/dist/commonjs/index.js +16 -0
  61. package/dist/commonjs/index.js.map +1 -0
  62. package/dist/commonjs/lroImpl.d.ts +16 -0
  63. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  64. package/dist/commonjs/lroImpl.js +37 -0
  65. package/dist/commonjs/lroImpl.js.map +1 -0
  66. package/dist/commonjs/models/index.d.ts +253 -0
  67. package/dist/commonjs/models/index.d.ts.map +1 -0
  68. package/dist/commonjs/models/index.js +10 -0
  69. package/dist/commonjs/models/index.js.map +1 -0
  70. package/dist/commonjs/models/mappers.d.ts +18 -0
  71. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  72. package/dist/commonjs/models/mappers.js +410 -0
  73. package/dist/commonjs/models/mappers.js.map +1 -0
  74. package/dist/commonjs/models/parameters.d.ts +21 -0
  75. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  76. package/dist/commonjs/models/parameters.js +174 -0
  77. package/dist/commonjs/models/parameters.js.map +1 -0
  78. package/dist/commonjs/operations/accounts.d.ts +57 -0
  79. package/dist/commonjs/operations/accounts.d.ts.map +1 -0
  80. package/dist/commonjs/operations/accounts.js +191 -0
  81. package/dist/commonjs/operations/accounts.js.map +1 -0
  82. package/dist/commonjs/operations/extensions.d.ts +54 -0
  83. package/dist/commonjs/operations/extensions.d.ts.map +1 -0
  84. package/dist/commonjs/operations/extensions.js +196 -0
  85. package/dist/commonjs/operations/extensions.js.map +1 -0
  86. package/dist/commonjs/operations/index.d.ts +5 -0
  87. package/dist/commonjs/operations/index.d.ts.map +1 -0
  88. package/dist/commonjs/operations/index.js +15 -0
  89. package/dist/commonjs/operations/index.js.map +1 -0
  90. package/dist/commonjs/operations/operations.d.ts +18 -0
  91. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  92. package/dist/commonjs/operations/operations.js +48 -0
  93. package/dist/commonjs/operations/operations.js.map +1 -0
  94. package/dist/commonjs/operations/projects.d.ts +77 -0
  95. package/dist/commonjs/operations/projects.d.ts.map +1 -0
  96. package/dist/commonjs/operations/projects.js +261 -0
  97. package/dist/commonjs/operations/projects.js.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/accounts.d.ts +49 -0
  99. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
  101. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/extensions.d.ts +46 -0
  103. package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
  105. package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  107. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  109. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  111. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  113. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/projects.d.ts +69 -0
  115. package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/projects.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -0
  118. package/dist/commonjs/package.json +3 -0
  119. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  120. package/dist/commonjs/visualStudioResourceProviderClient.d.ts +23 -0
  121. package/dist/commonjs/visualStudioResourceProviderClient.d.ts.map +1 -0
  122. package/dist/commonjs/visualStudioResourceProviderClient.js +117 -0
  123. package/dist/commonjs/visualStudioResourceProviderClient.js.map +1 -0
  124. package/dist/esm/index.d.ts +4 -0
  125. package/dist/esm/index.d.ts.map +1 -0
  126. package/{src/index.ts → dist/esm/index.js} +4 -4
  127. package/dist/esm/index.js.map +1 -0
  128. package/dist/esm/lroImpl.d.ts +16 -0
  129. package/dist/esm/lroImpl.d.ts.map +1 -0
  130. package/dist/esm/lroImpl.js +33 -0
  131. package/dist/esm/lroImpl.js.map +1 -0
  132. package/dist/esm/models/index.d.ts +253 -0
  133. package/dist/esm/models/index.d.ts.map +1 -0
  134. package/dist/esm/models/index.js +9 -0
  135. package/dist/esm/models/index.js.map +1 -0
  136. package/dist/esm/models/mappers.d.ts +18 -0
  137. package/dist/esm/models/mappers.d.ts.map +1 -0
  138. package/dist/esm/models/mappers.js +407 -0
  139. package/dist/esm/models/mappers.js.map +1 -0
  140. package/dist/esm/models/parameters.d.ts +21 -0
  141. package/dist/esm/models/parameters.d.ts.map +1 -0
  142. package/dist/esm/models/parameters.js +171 -0
  143. package/dist/esm/models/parameters.js.map +1 -0
  144. package/dist/esm/operations/accounts.d.ts +57 -0
  145. package/dist/esm/operations/accounts.d.ts.map +1 -0
  146. package/dist/esm/operations/accounts.js +186 -0
  147. package/dist/esm/operations/accounts.js.map +1 -0
  148. package/dist/esm/operations/extensions.d.ts +54 -0
  149. package/dist/esm/operations/extensions.d.ts.map +1 -0
  150. package/dist/esm/operations/extensions.js +191 -0
  151. package/dist/esm/operations/extensions.js.map +1 -0
  152. package/dist/esm/operations/index.d.ts +5 -0
  153. package/dist/esm/operations/index.d.ts.map +1 -0
  154. package/dist/esm/operations/index.js +12 -0
  155. package/dist/esm/operations/index.js.map +1 -0
  156. package/dist/esm/operations/operations.d.ts +18 -0
  157. package/dist/esm/operations/operations.d.ts.map +1 -0
  158. package/dist/esm/operations/operations.js +43 -0
  159. package/dist/esm/operations/operations.js.map +1 -0
  160. package/dist/esm/operations/projects.d.ts +77 -0
  161. package/dist/esm/operations/projects.d.ts.map +1 -0
  162. package/dist/esm/operations/projects.js +256 -0
  163. package/dist/esm/operations/projects.js.map +1 -0
  164. package/dist/esm/operationsInterfaces/accounts.d.ts +49 -0
  165. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
  166. package/dist/esm/operationsInterfaces/accounts.js +9 -0
  167. package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
  168. package/dist/esm/operationsInterfaces/extensions.d.ts +46 -0
  169. package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
  170. package/dist/esm/operationsInterfaces/extensions.js +9 -0
  171. package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
  172. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  173. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist/esm/operationsInterfaces/index.js +12 -0
  175. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  176. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  177. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  178. package/dist/esm/operationsInterfaces/operations.js +9 -0
  179. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  180. package/dist/esm/operationsInterfaces/projects.d.ts +69 -0
  181. package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -0
  182. package/dist/esm/operationsInterfaces/projects.js +9 -0
  183. package/dist/esm/operationsInterfaces/projects.js.map +1 -0
  184. package/dist/esm/package.json +3 -0
  185. package/dist/esm/visualStudioResourceProviderClient.d.ts +23 -0
  186. package/dist/esm/visualStudioResourceProviderClient.d.ts.map +1 -0
  187. package/dist/esm/visualStudioResourceProviderClient.js +112 -0
  188. package/dist/esm/visualStudioResourceProviderClient.js.map +1 -0
  189. package/dist/react-native/index.d.ts +4 -0
  190. package/dist/react-native/index.d.ts.map +1 -0
  191. package/dist/react-native/index.js +11 -0
  192. package/dist/react-native/index.js.map +1 -0
  193. package/dist/react-native/lroImpl.d.ts +16 -0
  194. package/dist/react-native/lroImpl.d.ts.map +1 -0
  195. package/dist/react-native/lroImpl.js +33 -0
  196. package/dist/react-native/lroImpl.js.map +1 -0
  197. package/dist/react-native/models/index.d.ts +253 -0
  198. package/dist/react-native/models/index.d.ts.map +1 -0
  199. package/dist/react-native/models/index.js +9 -0
  200. package/dist/react-native/models/index.js.map +1 -0
  201. package/dist/react-native/models/mappers.d.ts +18 -0
  202. package/dist/react-native/models/mappers.d.ts.map +1 -0
  203. package/dist/react-native/models/mappers.js +407 -0
  204. package/dist/react-native/models/mappers.js.map +1 -0
  205. package/dist/react-native/models/parameters.d.ts +21 -0
  206. package/dist/react-native/models/parameters.d.ts.map +1 -0
  207. package/dist/react-native/models/parameters.js +171 -0
  208. package/dist/react-native/models/parameters.js.map +1 -0
  209. package/dist/react-native/operations/accounts.d.ts +57 -0
  210. package/dist/react-native/operations/accounts.d.ts.map +1 -0
  211. package/dist/react-native/operations/accounts.js +186 -0
  212. package/dist/react-native/operations/accounts.js.map +1 -0
  213. package/dist/react-native/operations/extensions.d.ts +54 -0
  214. package/dist/react-native/operations/extensions.d.ts.map +1 -0
  215. package/dist/react-native/operations/extensions.js +191 -0
  216. package/dist/react-native/operations/extensions.js.map +1 -0
  217. package/dist/react-native/operations/index.d.ts +5 -0
  218. package/dist/react-native/operations/index.d.ts.map +1 -0
  219. package/dist/react-native/operations/index.js +12 -0
  220. package/dist/react-native/operations/index.js.map +1 -0
  221. package/dist/react-native/operations/operations.d.ts +18 -0
  222. package/dist/react-native/operations/operations.d.ts.map +1 -0
  223. package/dist/react-native/operations/operations.js +43 -0
  224. package/dist/react-native/operations/operations.js.map +1 -0
  225. package/dist/react-native/operations/projects.d.ts +77 -0
  226. package/dist/react-native/operations/projects.d.ts.map +1 -0
  227. package/dist/react-native/operations/projects.js +256 -0
  228. package/dist/react-native/operations/projects.js.map +1 -0
  229. package/dist/react-native/operationsInterfaces/accounts.d.ts +49 -0
  230. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
  231. package/dist/react-native/operationsInterfaces/accounts.js +9 -0
  232. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
  233. package/dist/react-native/operationsInterfaces/extensions.d.ts +46 -0
  234. package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
  235. package/dist/react-native/operationsInterfaces/extensions.js +9 -0
  236. package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
  237. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  238. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  239. package/dist/react-native/operationsInterfaces/index.js +12 -0
  240. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  241. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  242. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  243. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  244. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  245. package/dist/react-native/operationsInterfaces/projects.d.ts +69 -0
  246. package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -0
  247. package/dist/react-native/operationsInterfaces/projects.js +9 -0
  248. package/dist/react-native/operationsInterfaces/projects.js.map +1 -0
  249. package/dist/react-native/package.json +3 -0
  250. package/dist/react-native/visualStudioResourceProviderClient.d.ts +23 -0
  251. package/dist/react-native/visualStudioResourceProviderClient.d.ts.map +1 -0
  252. package/dist/react-native/visualStudioResourceProviderClient.js +112 -0
  253. package/dist/react-native/visualStudioResourceProviderClient.js.map +1 -0
  254. package/package.json +100 -75
  255. package/review/{arm-visualstudio.api.md → arm-visualstudio-node.api.md} +6 -6
  256. package/LICENSE.txt +0 -21
  257. package/dist/index.js +0 -1332
  258. package/dist/index.js.map +0 -1
  259. package/dist/index.min.js +0 -1
  260. package/dist/index.min.js.map +0 -1
  261. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts +0 -2
  262. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js +0 -33
  264. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js.map +0 -1
  265. package/dist-esm/samples-dev/createAProjectResource.d.ts +0 -2
  266. package/dist-esm/samples-dev/createAProjectResource.d.ts.map +0 -1
  267. package/dist-esm/samples-dev/createAProjectResource.js +0 -43
  268. package/dist-esm/samples-dev/createAProjectResource.js.map +0 -1
  269. package/dist-esm/samples-dev/createAnAccountResource.d.ts +0 -2
  270. package/dist-esm/samples-dev/createAnAccountResource.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/createAnAccountResource.js +0 -32
  272. package/dist-esm/samples-dev/createAnAccountResource.js.map +0 -1
  273. package/dist-esm/samples-dev/createAnExtensionResource.d.ts +0 -2
  274. package/dist-esm/samples-dev/createAnExtensionResource.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/createAnExtensionResource.js +0 -44
  276. package/dist-esm/samples-dev/createAnExtensionResource.js.map +0 -1
  277. package/dist-esm/samples-dev/deleteAnAccountResource.d.ts +0 -2
  278. package/dist-esm/samples-dev/deleteAnAccountResource.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/deleteAnAccountResource.js +0 -31
  280. package/dist-esm/samples-dev/deleteAnAccountResource.js.map +0 -1
  281. package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts +0 -2
  282. package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/deleteAnExtensionResource.js +0 -32
  284. package/dist-esm/samples-dev/deleteAnExtensionResource.js.map +0 -1
  285. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts +0 -2
  286. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js +0 -30
  288. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js.map +0 -1
  289. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts +0 -2
  290. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js +0 -31
  292. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js.map +0 -1
  293. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts +0 -2
  294. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js +0 -29
  296. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js.map +0 -1
  297. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts +0 -2
  298. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js +0 -31
  300. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js.map +0 -1
  301. package/dist-esm/samples-dev/getAProjectResource.d.ts +0 -2
  302. package/dist-esm/samples-dev/getAProjectResource.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/getAProjectResource.js +0 -32
  304. package/dist-esm/samples-dev/getAProjectResource.js.map +0 -1
  305. package/dist-esm/samples-dev/getAnAccountResource.d.ts +0 -2
  306. package/dist-esm/samples-dev/getAnAccountResource.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/getAnAccountResource.js +0 -31
  308. package/dist-esm/samples-dev/getAnAccountResource.js.map +0 -1
  309. package/dist-esm/samples-dev/getAnExtensionResource.d.ts +0 -2
  310. package/dist-esm/samples-dev/getAnExtensionResource.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/getAnExtensionResource.js +0 -32
  312. package/dist-esm/samples-dev/getAnExtensionResource.js.map +0 -1
  313. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts +0 -2
  314. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js +0 -36
  316. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js.map +0 -1
  317. package/dist-esm/samples-dev/updateAProjectResource.d.ts +0 -2
  318. package/dist-esm/samples-dev/updateAProjectResource.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/updateAProjectResource.js +0 -40
  320. package/dist-esm/samples-dev/updateAProjectResource.js.map +0 -1
  321. package/dist-esm/samples-dev/updateAnExtensionResource.d.ts +0 -2
  322. package/dist-esm/samples-dev/updateAnExtensionResource.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/updateAnExtensionResource.js +0 -44
  324. package/dist-esm/samples-dev/updateAnExtensionResource.js.map +0 -1
  325. package/dist-esm/src/index.d.ts +0 -4
  326. package/dist-esm/src/index.d.ts.map +0 -1
  327. package/dist-esm/src/index.js.map +0 -1
  328. package/dist-esm/src/lroImpl.js.map +0 -1
  329. package/dist-esm/src/models/index.d.ts.map +0 -1
  330. package/dist-esm/src/models/index.js.map +0 -1
  331. package/dist-esm/src/models/mappers.js.map +0 -1
  332. package/dist-esm/src/models/parameters.js.map +0 -1
  333. package/dist-esm/src/operations/accounts.d.ts.map +0 -1
  334. package/dist-esm/src/operations/accounts.js.map +0 -1
  335. package/dist-esm/src/operations/extensions.d.ts.map +0 -1
  336. package/dist-esm/src/operations/extensions.js.map +0 -1
  337. package/dist-esm/src/operations/index.d.ts +0 -5
  338. package/dist-esm/src/operations/index.js.map +0 -1
  339. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  340. package/dist-esm/src/operations/operations.js.map +0 -1
  341. package/dist-esm/src/operations/projects.d.ts.map +0 -1
  342. package/dist-esm/src/operations/projects.js.map +0 -1
  343. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
  344. package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
  346. package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
  347. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  348. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  349. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  350. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  351. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +0 -1
  352. package/dist-esm/src/operationsInterfaces/projects.js.map +0 -1
  353. package/dist-esm/src/visualStudioResourceProviderClient.d.ts.map +0 -1
  354. package/dist-esm/src/visualStudioResourceProviderClient.js +0 -54
  355. package/dist-esm/src/visualStudioResourceProviderClient.js.map +0 -1
  356. package/dist-esm/test/sampleTest.d.ts +0 -2
  357. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  358. package/dist-esm/test/sampleTest.js +0 -40
  359. package/dist-esm/test/sampleTest.js.map +0 -1
  360. package/rollup.config.js +0 -188
  361. package/src/lroImpl.ts +0 -34
  362. package/src/models/index.ts +0 -298
  363. package/src/models/mappers.ts +0 -424
  364. package/src/models/parameters.ts +0 -201
  365. package/src/operations/accounts.ts +0 -261
  366. package/src/operations/extensions.ts +0 -259
  367. package/src/operations/index.ts +0 -12
  368. package/src/operations/operations.ts +0 -55
  369. package/src/operations/projects.ts +0 -356
  370. package/src/operationsInterfaces/accounts.ts +0 -96
  371. package/src/operationsInterfaces/extensions.ts +0 -91
  372. package/src/operationsInterfaces/index.ts +0 -12
  373. package/src/operationsInterfaces/operations.ts +0 -21
  374. package/src/operationsInterfaces/projects.ts +0 -128
  375. package/src/visualStudioResourceProviderClient.ts +0 -91
  376. package/tsconfig.json +0 -20
  377. package/types/arm-visualstudio.d.ts +0 -493
  378. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  379. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  380. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  381. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  382. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  383. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  384. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  385. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
  386. /package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.js +0 -0
  387. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  388. /package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.js +0 -0
@@ -0,0 +1,69 @@
1
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { ProjectsListByResourceGroupOptionalParams, ProjectsListByResourceGroupResponse, ProjectResource, ProjectsCreateOptionalParams, ProjectsCreateResponse, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsUpdateOptionalParams, ProjectsUpdateResponse, ProjectsGetJobStatusOptionalParams, ProjectsGetJobStatusResponse } from "../models/index.js";
3
+ /** Interface representing a Projects. */
4
+ export interface Projects {
5
+ /**
6
+ * Gets all Visual Studio Team Services project resources created in the specified Team Services
7
+ * account.
8
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
9
+ * @param rootResourceName Name of the Team Services account.
10
+ * @param options The options parameters.
11
+ */
12
+ listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: ProjectsListByResourceGroupOptionalParams): Promise<ProjectsListByResourceGroupResponse>;
13
+ /**
14
+ * Creates a Team Services project in the collection with the specified name. 'VersionControlOption'
15
+ * and 'ProcessTemplateId' must be specified in the resource properties. Valid values for
16
+ * VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:
17
+ * 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,
18
+ * 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process
19
+ * templates).
20
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
21
+ * @param rootResourceName Name of the Team Services account.
22
+ * @param resourceName Name of the Team Services project.
23
+ * @param body The request data.
24
+ * @param options The options parameters.
25
+ */
26
+ beginCreate(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsCreateOptionalParams): Promise<PollerLike<PollOperationState<ProjectsCreateResponse>, ProjectsCreateResponse>>;
27
+ /**
28
+ * Creates a Team Services project in the collection with the specified name. 'VersionControlOption'
29
+ * and 'ProcessTemplateId' must be specified in the resource properties. Valid values for
30
+ * VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:
31
+ * 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,
32
+ * 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process
33
+ * templates).
34
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
35
+ * @param rootResourceName Name of the Team Services account.
36
+ * @param resourceName Name of the Team Services project.
37
+ * @param body The request data.
38
+ * @param options The options parameters.
39
+ */
40
+ beginCreateAndWait(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsCreateOptionalParams): Promise<ProjectsCreateResponse>;
41
+ /**
42
+ * Gets the details of a Team Services project resource.
43
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
44
+ * @param rootResourceName Name of the Team Services account.
45
+ * @param resourceName Name of the Team Services project.
46
+ * @param options The options parameters.
47
+ */
48
+ get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>;
49
+ /**
50
+ * Updates the tags of the specified Team Services project.
51
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
52
+ * @param rootResourceName Name of the Team Services account.
53
+ * @param resourceName Name of the Team Services project.
54
+ * @param body The request data.
55
+ * @param options The options parameters.
56
+ */
57
+ update(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>;
58
+ /**
59
+ * Gets the status of the project resource creation job.
60
+ * @param resourceGroupName Name of the resource group within the Azure subscription.
61
+ * @param rootResourceName Name of the Team Services account.
62
+ * @param resourceName Name of the Team Services project.
63
+ * @param subContainerName This parameter should be set to the resourceName.
64
+ * @param operation The operation type. The only supported value is 'put'.
65
+ * @param options The options parameters.
66
+ */
67
+ getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: ProjectsGetJobStatusOptionalParams): Promise<ProjectsGetJobStatusResponse>;
68
+ }
69
+ //# sourceMappingURL=projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,yCAAyC,EACzC,mCAAmC,EACnC,eAAe,EACf,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;;;;;;OAYG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,sBAAsB,CAAC,EAC1C,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;;;OAQG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=projects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n ProjectsListByResourceGroupOptionalParams,\n ProjectsListByResourceGroupResponse,\n ProjectResource,\n ProjectsCreateOptionalParams,\n ProjectsCreateResponse,\n ProjectsGetOptionalParams,\n ProjectsGetResponse,\n ProjectsUpdateOptionalParams,\n ProjectsUpdateResponse,\n ProjectsGetJobStatusOptionalParams,\n ProjectsGetJobStatusResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Projects. */\nexport interface Projects {\n /**\n * Gets all Visual Studio Team Services project resources created in the specified Team Services\n * account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n rootResourceName: string,\n options?: ProjectsListByResourceGroupOptionalParams\n ): Promise<ProjectsListByResourceGroupResponse>;\n /**\n * Creates a Team Services project in the collection with the specified name. 'VersionControlOption'\n * and 'ProcessTemplateId' must be specified in the resource properties. Valid values for\n * VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:\n * 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,\n * 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process\n * templates).\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param body The request data.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n body: ProjectResource,\n options?: ProjectsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ProjectsCreateResponse>,\n ProjectsCreateResponse\n >\n >;\n /**\n * Creates a Team Services project in the collection with the specified name. 'VersionControlOption'\n * and 'ProcessTemplateId' must be specified in the resource properties. Valid values for\n * VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:\n * 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,\n * 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process\n * templates).\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param body The request data.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n body: ProjectResource,\n options?: ProjectsCreateOptionalParams\n ): Promise<ProjectsCreateResponse>;\n /**\n * Gets the details of a Team Services project resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n options?: ProjectsGetOptionalParams\n ): Promise<ProjectsGetResponse>;\n /**\n * Updates the tags of the specified Team Services project.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param body The request data.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n body: ProjectResource,\n options?: ProjectsUpdateOptionalParams\n ): Promise<ProjectsUpdateResponse>;\n /**\n * Gets the status of the project resource creation job.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param subContainerName This parameter should be set to the resourceName.\n * @param operation The operation type. The only supported value is 'put'.\n * @param options The options parameters.\n */\n getJobStatus(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n subContainerName: string,\n operation: string,\n options?: ProjectsGetJobStatusOptionalParams\n ): Promise<ProjectsGetJobStatusResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,23 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, Accounts, Extensions, Projects } from "./operationsInterfaces/index.js";
4
+ import { VisualStudioResourceProviderClientOptionalParams } from "./models/index.js";
5
+ export declare class VisualStudioResourceProviderClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ subscriptionId: string;
8
+ apiVersion: string;
9
+ /**
10
+ * Initializes a new instance of the VisualStudioResourceProviderClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The Azure subscription identifier.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: VisualStudioResourceProviderClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ operations: Operations;
19
+ accounts: Accounts;
20
+ extensions: Extensions;
21
+ projects: Projects;
22
+ }
23
+ //# sourceMappingURL=visualStudioResourceProviderClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visualStudioResourceProviderClient.d.ts","sourceRoot":"","sources":["../../src/visualStudioResourceProviderClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,UAAU,EACV,QAAQ,EACT,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gDAAgD,EAAE,MAAM,mBAAmB,CAAC;AAErF,qBAAa,kCAAmC,SAAQ,UAAU,CAAC,aAAa;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gDAAgD;IA+E5D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
@@ -0,0 +1,112 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, AccountsImpl, ExtensionsImpl, ProjectsImpl } from "./operations/index.js";
11
+ export class VisualStudioResourceProviderClient extends coreClient.ServiceClient {
12
+ $host;
13
+ subscriptionId;
14
+ apiVersion;
15
+ /**
16
+ * Initializes a new instance of the VisualStudioResourceProviderClient class.
17
+ * @param credentials Subscription credentials which uniquely identify client subscription.
18
+ * @param subscriptionId The Azure subscription identifier.
19
+ * @param options The parameter options
20
+ */
21
+ constructor(credentials, subscriptionId, options) {
22
+ if (credentials === undefined) {
23
+ throw new Error("'credentials' cannot be null");
24
+ }
25
+ if (subscriptionId === undefined) {
26
+ throw new Error("'subscriptionId' cannot be null");
27
+ }
28
+ // Initializing default values for options
29
+ if (!options) {
30
+ options = {};
31
+ }
32
+ const defaults = {
33
+ requestContentType: "application/json; charset=utf-8",
34
+ credential: credentials
35
+ };
36
+ const packageDetails = `azsdk-js-arm-visualstudio/4.0.0-beta.3`;
37
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
+ : `${packageDetails}`;
40
+ const optionsWithDefaults = {
41
+ ...defaults,
42
+ ...options,
43
+ userAgentOptions: {
44
+ userAgentPrefix
45
+ },
46
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
47
+ };
48
+ super(optionsWithDefaults);
49
+ let bearerTokenAuthenticationPolicyFound = false;
50
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
51
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
52
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
53
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
54
+ }
55
+ if (!options ||
56
+ !options.pipeline ||
57
+ options.pipeline.getOrderedPolicies().length == 0 ||
58
+ !bearerTokenAuthenticationPolicyFound) {
59
+ this.pipeline.removePolicy({
60
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
61
+ });
62
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
63
+ credential: credentials,
64
+ scopes: optionsWithDefaults.credentialScopes ??
65
+ `${optionsWithDefaults.endpoint}/.default`,
66
+ challengeCallbacks: {
67
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
68
+ }
69
+ }));
70
+ }
71
+ // Parameter assignments
72
+ this.subscriptionId = subscriptionId;
73
+ // Assigning values to Constant parameters
74
+ this.$host = options.$host || "https://management.azure.com";
75
+ this.apiVersion = options.apiVersion || "2014-04-01-preview";
76
+ this.operations = new OperationsImpl(this);
77
+ this.accounts = new AccountsImpl(this);
78
+ this.extensions = new ExtensionsImpl(this);
79
+ this.projects = new ProjectsImpl(this);
80
+ this.addCustomApiVersionPolicy(options.apiVersion);
81
+ }
82
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
83
+ addCustomApiVersionPolicy(apiVersion) {
84
+ if (!apiVersion) {
85
+ return;
86
+ }
87
+ const apiVersionPolicy = {
88
+ name: "CustomApiVersionPolicy",
89
+ async sendRequest(request, next) {
90
+ const param = request.url.split("?");
91
+ if (param.length > 1) {
92
+ const newParams = param[1].split("&").map((item) => {
93
+ if (item.indexOf("api-version") > -1) {
94
+ return "api-version=" + apiVersion;
95
+ }
96
+ else {
97
+ return item;
98
+ }
99
+ });
100
+ request.url = param[0] + "?" + newParams.join("&");
101
+ }
102
+ return next(request);
103
+ }
104
+ };
105
+ this.pipeline.addPolicy(apiVersionPolicy);
106
+ }
107
+ operations;
108
+ accounts;
109
+ extensions;
110
+ projects;
111
+ }
112
+ //# sourceMappingURL=visualStudioResourceProviderClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visualStudioResourceProviderClient.js","sourceRoot":"","sources":["../../src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AW;IACnB,UAAU,CAAa;IACvB,QAAQ,CAAW;CACpB","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 OperationsImpl,\n AccountsImpl,\n ExtensionsImpl,\n ProjectsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Accounts,\n Extensions,\n Projects\n} from \"./operationsInterfaces/index.js\";\nimport { VisualStudioResourceProviderClientOptionalParams } from \"./models/index.js\";\n\nexport class VisualStudioResourceProviderClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the VisualStudioResourceProviderClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription identifier.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: VisualStudioResourceProviderClientOptionalParams\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: VisualStudioResourceProviderClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-visualstudio/4.0.0-beta.3`;\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 || \"2014-04-01-preview\";\n this.operations = new OperationsImpl(this);\n this.accounts = new AccountsImpl(this);\n this.extensions = new ExtensionsImpl(this);\n this.projects = new ProjectsImpl(this);\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 operations: Operations;\n accounts: Accounts;\n extensions: Extensions;\n projects: Projects;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./models/index.js";
2
+ export { VisualStudioResourceProviderClient } from "./visualStudioResourceProviderClient.js";
3
+ export * from "./operationsInterfaces/index.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./models/index.js";
9
+ export { VisualStudioResourceProviderClient } from "./visualStudioResourceProviderClient.js";
10
+ export * from "./operationsInterfaces/index.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,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\nexport * from \"./models/index.js\";\nexport { VisualStudioResourceProviderClient } from \"./visualStudioResourceProviderClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,16 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare class LroImpl<T> implements LongRunningOperation<T> {
3
+ private sendOperationFn;
4
+ private args;
5
+ private spec;
6
+ requestPath: string;
7
+ requestMethod: string;
8
+ constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
9
+ readonly requestBody?: unknown;
10
+ readonly path?: string;
11
+ readonly httpMethod: string;
12
+ } & Record<string, any>, requestPath?: string, requestMethod?: string);
13
+ sendInitialRequest(): Promise<LroResponse<T>>;
14
+ sendPollRequest(path: string): Promise<LroResponse<T>>;
15
+ }
16
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export class LroImpl {
9
+ sendOperationFn;
10
+ args;
11
+ spec;
12
+ requestPath;
13
+ requestMethod;
14
+ constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
15
+ this.sendOperationFn = sendOperationFn;
16
+ this.args = args;
17
+ this.spec = spec;
18
+ this.requestPath = requestPath;
19
+ this.requestMethod = requestMethod;
20
+ }
21
+ async sendInitialRequest() {
22
+ return this.sendOperationFn(this.args, this.spec);
23
+ }
24
+ async sendPollRequest(path) {
25
+ const { requestBody, ...restSpec } = this.spec;
26
+ return this.sendOperationFn(this.args, {
27
+ ...restSpec,
28
+ path,
29
+ httpMethod: "GET"
30
+ });
31
+ }
32
+ }
33
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
@@ -0,0 +1,253 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Container for a list of operations supported by a resource provider. */
3
+ export interface OperationListResult {
4
+ /** A list of operations supported by a resource provider. */
5
+ value?: Operation[];
6
+ }
7
+ /** Properties of an operation supported by the resource provider. */
8
+ export interface Operation {
9
+ /** The properties of the resource operation. */
10
+ display?: OperationProperties;
11
+ /** The name of the resource operation. */
12
+ name?: string;
13
+ }
14
+ /** Properties of an operation supported by the resource provider. */
15
+ export interface OperationProperties {
16
+ /** The description of the resource operation. */
17
+ description?: string;
18
+ /** The operation name. */
19
+ operation?: string;
20
+ /** The provider name. */
21
+ provider?: string;
22
+ /** The resource name. */
23
+ resource?: string;
24
+ }
25
+ /** The body of a POST request to check name availability. */
26
+ export interface CheckNameAvailabilityParameter {
27
+ /** The name of the resource to check availability for. */
28
+ resourceName?: string;
29
+ /** The type of resource to check availability for. */
30
+ resourceType?: string;
31
+ }
32
+ /** The response to a name availability request. */
33
+ export interface CheckNameAvailabilityResult {
34
+ /** The message describing the detailed reason. */
35
+ message?: string;
36
+ /** The value which indicates whether the provided name is available. */
37
+ nameAvailable?: boolean;
38
+ }
39
+ /** The response to an account resource list GET request. */
40
+ export interface AccountResourceListResult {
41
+ /** Array of resource details. */
42
+ value?: AccountResource[];
43
+ }
44
+ /** A generic Azure Resource Manager resource. */
45
+ export interface Resource {
46
+ /**
47
+ * Unique identifier of the resource.
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
49
+ */
50
+ readonly id?: string;
51
+ /** Resource location. */
52
+ location?: string;
53
+ /**
54
+ * Resource name.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly name?: string;
58
+ /** Resource tags. */
59
+ tags?: {
60
+ [propertyName: string]: string;
61
+ };
62
+ /**
63
+ * Resource type.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly type?: string;
67
+ }
68
+ /** The response to an extension resource list GET request. */
69
+ export interface ExtensionResourceListResult {
70
+ /** Array of extension resource details. */
71
+ value?: ExtensionResource[];
72
+ }
73
+ /** Plan data for an extension resource. */
74
+ export interface ExtensionResourcePlan {
75
+ /** Name of the plan. */
76
+ name?: string;
77
+ /** Product name. */
78
+ product?: string;
79
+ /** Optional: the promotion code associated with the plan. */
80
+ promotionCode?: string;
81
+ /** Name of the extension publisher. */
82
+ publisher?: string;
83
+ /** A string that uniquely identifies the plan version. */
84
+ version?: string;
85
+ }
86
+ /** The body of an extension resource PUT request. */
87
+ export interface ExtensionResourceRequest {
88
+ /** The Azure region of the Visual Studio account associated with this request (i.e 'southcentralus'.) */
89
+ location?: string;
90
+ /** Extended information about the plan being purchased for this extension resource. */
91
+ plan?: ExtensionResourcePlan;
92
+ /** A dictionary of extended properties. This property is currently unused. */
93
+ properties?: {
94
+ [propertyName: string]: string;
95
+ };
96
+ /** A dictionary of user-defined tags to be stored with the extension resource. */
97
+ tags?: {
98
+ [propertyName: string]: string;
99
+ };
100
+ }
101
+ /** The body of a PUT request to modify a Visual Studio account resource. */
102
+ export interface AccountResourceRequest {
103
+ /** The account name. */
104
+ accountName?: string;
105
+ /** The Azure instance location. */
106
+ location?: string;
107
+ /** The type of the operation. */
108
+ operationType?: AccountResourceRequestOperationType;
109
+ /** The custom properties of the resource. */
110
+ properties?: {
111
+ [propertyName: string]: string;
112
+ };
113
+ /** The custom tags of the resource. */
114
+ tags?: {
115
+ [propertyName: string]: string;
116
+ };
117
+ }
118
+ /** The body of a Patch request to add tags to a Visual Studio account resource. */
119
+ export interface AccountTagRequest {
120
+ /** The custom tags of the resource. */
121
+ tags?: {
122
+ [propertyName: string]: string;
123
+ };
124
+ }
125
+ /** The response to a request to list Team Services project resources in a resource group/account. */
126
+ export interface ProjectResourceListResult {
127
+ /** List of project resource details. */
128
+ value?: ProjectResource[];
129
+ }
130
+ /** The response to an account resource GET request. */
131
+ export interface AccountResource extends Resource {
132
+ /** Resource properties. */
133
+ properties?: {
134
+ [propertyName: string]: string;
135
+ };
136
+ }
137
+ /** The response to an extension resource GET request. */
138
+ export interface ExtensionResource extends Resource {
139
+ /** The extension plan that was purchased. */
140
+ plan?: ExtensionResourcePlan;
141
+ /** Resource properties. */
142
+ properties?: {
143
+ [propertyName: string]: string;
144
+ };
145
+ }
146
+ /** A Visual Studio Team Services project resource. */
147
+ export interface ProjectResource extends Resource {
148
+ /** Key/value pair of resource properties. */
149
+ properties?: {
150
+ [propertyName: string]: string;
151
+ };
152
+ }
153
+ /** Defines values for AccountResourceRequestOperationType. */
154
+ export type AccountResourceRequestOperationType = "unknown" | "create" | "update" | "link";
155
+ /** Optional parameters. */
156
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
157
+ }
158
+ /** Contains response data for the list operation. */
159
+ export type OperationsListResponse = OperationListResult;
160
+ /** Optional parameters. */
161
+ export interface AccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
162
+ }
163
+ /** Contains response data for the checkNameAvailability operation. */
164
+ export type AccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
165
+ /** Optional parameters. */
166
+ export interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
167
+ }
168
+ /** Contains response data for the listByResourceGroup operation. */
169
+ export type AccountsListByResourceGroupResponse = AccountResourceListResult;
170
+ /** Optional parameters. */
171
+ export interface AccountsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
172
+ }
173
+ /** Contains response data for the createOrUpdate operation. */
174
+ export type AccountsCreateOrUpdateResponse = AccountResource;
175
+ /** Optional parameters. */
176
+ export interface AccountsDeleteOptionalParams extends coreClient.OperationOptions {
177
+ }
178
+ /** Optional parameters. */
179
+ export interface AccountsGetOptionalParams extends coreClient.OperationOptions {
180
+ }
181
+ /** Contains response data for the get operation. */
182
+ export type AccountsGetResponse = AccountResource;
183
+ /** Optional parameters. */
184
+ export interface AccountsUpdateOptionalParams extends coreClient.OperationOptions {
185
+ }
186
+ /** Contains response data for the update operation. */
187
+ export type AccountsUpdateResponse = AccountResource;
188
+ /** Optional parameters. */
189
+ export interface ExtensionsListByAccountOptionalParams extends coreClient.OperationOptions {
190
+ }
191
+ /** Contains response data for the listByAccount operation. */
192
+ export type ExtensionsListByAccountResponse = ExtensionResourceListResult;
193
+ /** Optional parameters. */
194
+ export interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
195
+ }
196
+ /** Contains response data for the create operation. */
197
+ export type ExtensionsCreateResponse = ExtensionResource;
198
+ /** Optional parameters. */
199
+ export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
200
+ }
201
+ /** Optional parameters. */
202
+ export interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
203
+ }
204
+ /** Contains response data for the get operation. */
205
+ export type ExtensionsGetResponse = ExtensionResource;
206
+ /** Optional parameters. */
207
+ export interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
208
+ }
209
+ /** Contains response data for the update operation. */
210
+ export type ExtensionsUpdateResponse = ExtensionResource;
211
+ /** Optional parameters. */
212
+ export interface ProjectsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
213
+ }
214
+ /** Contains response data for the listByResourceGroup operation. */
215
+ export type ProjectsListByResourceGroupResponse = ProjectResourceListResult;
216
+ /** Optional parameters. */
217
+ export interface ProjectsCreateOptionalParams extends coreClient.OperationOptions {
218
+ /** This parameter is ignored and should be set to an empty string. */
219
+ validating?: string;
220
+ /** Delay to wait until next poll, in milliseconds. */
221
+ updateIntervalInMs?: number;
222
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
223
+ resumeFrom?: string;
224
+ }
225
+ /** Contains response data for the create operation. */
226
+ export type ProjectsCreateResponse = ProjectResource;
227
+ /** Optional parameters. */
228
+ export interface ProjectsGetOptionalParams extends coreClient.OperationOptions {
229
+ }
230
+ /** Contains response data for the get operation. */
231
+ export type ProjectsGetResponse = ProjectResource;
232
+ /** Optional parameters. */
233
+ export interface ProjectsUpdateOptionalParams extends coreClient.OperationOptions {
234
+ }
235
+ /** Contains response data for the update operation. */
236
+ export type ProjectsUpdateResponse = ProjectResource;
237
+ /** Optional parameters. */
238
+ export interface ProjectsGetJobStatusOptionalParams extends coreClient.OperationOptions {
239
+ /** The job identifier. */
240
+ jobId?: string;
241
+ }
242
+ /** Contains response data for the getJobStatus operation. */
243
+ export type ProjectsGetJobStatusResponse = ProjectResource;
244
+ /** Optional parameters. */
245
+ export interface VisualStudioResourceProviderClientOptionalParams extends coreClient.ServiceClientOptions {
246
+ /** server parameter */
247
+ $host?: string;
248
+ /** Api Version */
249
+ apiVersion?: string;
250
+ /** Overrides client endpoint. */
251
+ endpoint?: string;
252
+ }
253
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,2EAA2E;AAC3E,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,qEAAqE;AACrE,MAAM,WAAW,SAAS;IACxB,gDAAgD;IAChD,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qEAAqE;AACrE,MAAM,WAAW,mBAAmB;IAClC,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,6DAA6D;AAC7D,MAAM,WAAW,8BAA8B;IAC7C,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,mDAAmD;AACnD,MAAM,WAAW,2BAA2B;IAC1C,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC3B;AAED,iDAAiD;AACjD,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE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,MAAM,CAAC;CACnB"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=index.js.map