@distilled.cloud/azure 0.6.0 → 0.7.0

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 (576) hide show
  1. package/lib/services/advisor.d.ts +246 -0
  2. package/lib/services/advisor.d.ts.map +1 -1
  3. package/lib/services/advisor.js +367 -0
  4. package/lib/services/advisor.js.map +1 -1
  5. package/lib/services/apicenter.d.ts +26 -0
  6. package/lib/services/apicenter.d.ts.map +1 -1
  7. package/lib/services/apicenter.js +30 -0
  8. package/lib/services/apicenter.js.map +1 -1
  9. package/lib/services/apimanagement.d.ts +138 -0
  10. package/lib/services/apimanagement.d.ts.map +1 -1
  11. package/lib/services/apimanagement.js +177 -0
  12. package/lib/services/apimanagement.js.map +1 -1
  13. package/lib/services/app.d.ts +143 -0
  14. package/lib/services/app.d.ts.map +1 -1
  15. package/lib/services/app.js +216 -0
  16. package/lib/services/app.js.map +1 -1
  17. package/lib/services/appcomplianceautomation.d.ts +26 -0
  18. package/lib/services/appcomplianceautomation.d.ts.map +1 -1
  19. package/lib/services/appcomplianceautomation.js +33 -0
  20. package/lib/services/appcomplianceautomation.js.map +1 -1
  21. package/lib/services/applicationinsights.d.ts +203 -0
  22. package/lib/services/applicationinsights.d.ts.map +1 -1
  23. package/lib/services/applicationinsights.js +298 -0
  24. package/lib/services/applicationinsights.js.map +1 -1
  25. package/lib/services/attestation.d.ts +142 -0
  26. package/lib/services/attestation.d.ts.map +1 -1
  27. package/lib/services/attestation.js +202 -0
  28. package/lib/services/attestation.js.map +1 -1
  29. package/lib/services/automanage.d.ts +26 -0
  30. package/lib/services/automanage.d.ts.map +1 -1
  31. package/lib/services/automanage.js +30 -0
  32. package/lib/services/automanage.js.map +1 -1
  33. package/lib/services/automation.d.ts +161 -0
  34. package/lib/services/automation.d.ts.map +1 -1
  35. package/lib/services/automation.js +214 -0
  36. package/lib/services/automation.js.map +1 -1
  37. package/lib/services/awsconnector.d.ts +106 -0
  38. package/lib/services/awsconnector.d.ts.map +1 -1
  39. package/lib/services/awsconnector.js +128 -0
  40. package/lib/services/awsconnector.js.map +1 -1
  41. package/lib/services/azuredatatransfer.d.ts +26 -0
  42. package/lib/services/azuredatatransfer.d.ts.map +1 -1
  43. package/lib/services/azuredatatransfer.js +33 -0
  44. package/lib/services/azuredatatransfer.js.map +1 -1
  45. package/lib/services/azurefleet.d.ts +26 -0
  46. package/lib/services/azurefleet.d.ts.map +1 -1
  47. package/lib/services/azurefleet.js +30 -0
  48. package/lib/services/azurefleet.js.map +1 -1
  49. package/lib/services/azurelargeinstance.d.ts +194 -0
  50. package/lib/services/azurelargeinstance.d.ts.map +1 -1
  51. package/lib/services/azurelargeinstance.js +228 -0
  52. package/lib/services/azurelargeinstance.js.map +1 -1
  53. package/lib/services/azurestackhci.d.ts +26 -0
  54. package/lib/services/azurestackhci.d.ts.map +1 -1
  55. package/lib/services/azurestackhci.js +33 -0
  56. package/lib/services/azurestackhci.js.map +1 -1
  57. package/lib/services/batch.d.ts +21 -0
  58. package/lib/services/batch.d.ts.map +1 -1
  59. package/lib/services/batch.js +31 -0
  60. package/lib/services/batch.js.map +1 -1
  61. package/lib/services/billing.d.ts +203 -0
  62. package/lib/services/billing.d.ts.map +1 -1
  63. package/lib/services/billing.js +283 -0
  64. package/lib/services/billing.js.map +1 -1
  65. package/lib/services/billingbenefits.d.ts +261 -0
  66. package/lib/services/billingbenefits.d.ts.map +1 -1
  67. package/lib/services/billingbenefits.js +383 -0
  68. package/lib/services/billingbenefits.js.map +1 -1
  69. package/lib/services/carbon.d.ts +26 -0
  70. package/lib/services/carbon.d.ts.map +1 -1
  71. package/lib/services/carbon.js +30 -0
  72. package/lib/services/carbon.js.map +1 -1
  73. package/lib/services/cdn.d.ts +29 -0
  74. package/lib/services/cdn.d.ts.map +1 -1
  75. package/lib/services/cdn.js +48 -0
  76. package/lib/services/cdn.js.map +1 -1
  77. package/lib/services/chaos.d.ts +82 -0
  78. package/lib/services/chaos.d.ts.map +1 -1
  79. package/lib/services/chaos.js +96 -0
  80. package/lib/services/chaos.js.map +1 -1
  81. package/lib/services/codesigning.d.ts +26 -0
  82. package/lib/services/codesigning.d.ts.map +1 -1
  83. package/lib/services/codesigning.js +33 -0
  84. package/lib/services/codesigning.js.map +1 -1
  85. package/lib/services/cognitiveservices.d.ts +1761 -213
  86. package/lib/services/cognitiveservices.d.ts.map +1 -1
  87. package/lib/services/cognitiveservices.js +2350 -304
  88. package/lib/services/cognitiveservices.js.map +1 -1
  89. package/lib/services/communication.d.ts +28 -0
  90. package/lib/services/communication.d.ts.map +1 -1
  91. package/lib/services/communication.js +35 -0
  92. package/lib/services/communication.js.map +1 -1
  93. package/lib/services/communitytraining.d.ts +26 -0
  94. package/lib/services/communitytraining.d.ts.map +1 -1
  95. package/lib/services/communitytraining.js +30 -0
  96. package/lib/services/communitytraining.js.map +1 -1
  97. package/lib/services/compute.d.ts +454 -0
  98. package/lib/services/compute.d.ts.map +1 -1
  99. package/lib/services/compute.js +569 -0
  100. package/lib/services/compute.js.map +1 -1
  101. package/lib/services/computelimit.d.ts +26 -0
  102. package/lib/services/computelimit.d.ts.map +1 -1
  103. package/lib/services/computelimit.js +33 -0
  104. package/lib/services/computelimit.js.map +1 -1
  105. package/lib/services/computeschedule.d.ts +26 -0
  106. package/lib/services/computeschedule.d.ts.map +1 -1
  107. package/lib/services/computeschedule.js +33 -0
  108. package/lib/services/computeschedule.js.map +1 -1
  109. package/lib/services/consumption.d.ts +503 -0
  110. package/lib/services/consumption.d.ts.map +1 -1
  111. package/lib/services/consumption.js +752 -9
  112. package/lib/services/consumption.js.map +1 -1
  113. package/lib/services/containerregistry.d.ts +65 -0
  114. package/lib/services/containerregistry.d.ts.map +1 -1
  115. package/lib/services/containerregistry.js +95 -0
  116. package/lib/services/containerregistry.js.map +1 -1
  117. package/lib/services/contosowidgetmanager.d.ts +26 -0
  118. package/lib/services/contosowidgetmanager.d.ts.map +1 -1
  119. package/lib/services/contosowidgetmanager.js +30 -0
  120. package/lib/services/contosowidgetmanager.js.map +1 -1
  121. package/lib/services/cost-management.d.ts +136 -0
  122. package/lib/services/cost-management.d.ts.map +1 -1
  123. package/lib/services/cost-management.js +216 -0
  124. package/lib/services/cost-management.js.map +1 -1
  125. package/lib/services/dashboard.d.ts +26 -0
  126. package/lib/services/dashboard.d.ts.map +1 -1
  127. package/lib/services/dashboard.js +30 -0
  128. package/lib/services/dashboard.js.map +1 -1
  129. package/lib/services/databasewatcher.d.ts +26 -0
  130. package/lib/services/databasewatcher.d.ts.map +1 -1
  131. package/lib/services/databasewatcher.js +33 -0
  132. package/lib/services/databasewatcher.js.map +1 -1
  133. package/lib/services/datafactory.d.ts +180 -0
  134. package/lib/services/datafactory.d.ts.map +1 -1
  135. package/lib/services/datafactory.js +240 -0
  136. package/lib/services/datafactory.js.map +1 -1
  137. package/lib/services/datamigration.d.ts +534 -0
  138. package/lib/services/datamigration.d.ts.map +1 -1
  139. package/lib/services/datamigration.js +731 -0
  140. package/lib/services/datamigration.js.map +1 -1
  141. package/lib/services/dataprotection.d.ts +26 -0
  142. package/lib/services/dataprotection.d.ts.map +1 -1
  143. package/lib/services/dataprotection.js +36 -0
  144. package/lib/services/dataprotection.js.map +1 -1
  145. package/lib/services/desktopvirtualization.d.ts +2064 -163
  146. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  147. package/lib/services/desktopvirtualization.js +2659 -186
  148. package/lib/services/desktopvirtualization.js.map +1 -1
  149. package/lib/services/devcenter.d.ts +1148 -7
  150. package/lib/services/devcenter.d.ts.map +1 -1
  151. package/lib/services/devcenter.js +1647 -36
  152. package/lib/services/devcenter.js.map +1 -1
  153. package/lib/services/developerhub.d.ts +28 -0
  154. package/lib/services/developerhub.d.ts.map +1 -1
  155. package/lib/services/developerhub.js +32 -0
  156. package/lib/services/developerhub.js.map +1 -1
  157. package/lib/services/deviceregistry.d.ts +82 -0
  158. package/lib/services/deviceregistry.d.ts.map +1 -1
  159. package/lib/services/deviceregistry.js +98 -0
  160. package/lib/services/deviceregistry.js.map +1 -1
  161. package/lib/services/deviceupdate.d.ts +105 -0
  162. package/lib/services/deviceupdate.d.ts.map +1 -1
  163. package/lib/services/deviceupdate.js +152 -0
  164. package/lib/services/deviceupdate.js.map +1 -1
  165. package/lib/services/devopsinfrastructure.d.ts +26 -0
  166. package/lib/services/devopsinfrastructure.d.ts.map +1 -1
  167. package/lib/services/devopsinfrastructure.js +33 -0
  168. package/lib/services/devopsinfrastructure.js.map +1 -1
  169. package/lib/services/devtestlabs.d.ts +92 -0
  170. package/lib/services/devtestlabs.d.ts.map +1 -1
  171. package/lib/services/devtestlabs.js +121 -0
  172. package/lib/services/devtestlabs.js.map +1 -1
  173. package/lib/services/dnc.d.ts +26 -0
  174. package/lib/services/dnc.d.ts.map +1 -1
  175. package/lib/services/dnc.js +33 -0
  176. package/lib/services/dnc.js.map +1 -1
  177. package/lib/services/durabletask.d.ts +233 -0
  178. package/lib/services/durabletask.d.ts.map +1 -1
  179. package/lib/services/durabletask.js +318 -0
  180. package/lib/services/durabletask.js.map +1 -1
  181. package/lib/services/edge.d.ts +26 -0
  182. package/lib/services/edge.d.ts.map +1 -1
  183. package/lib/services/edge.js +30 -0
  184. package/lib/services/edge.js.map +1 -1
  185. package/lib/services/edgemarketplace.d.ts +26 -0
  186. package/lib/services/edgemarketplace.d.ts.map +1 -1
  187. package/lib/services/edgemarketplace.js +33 -0
  188. package/lib/services/edgemarketplace.js.map +1 -1
  189. package/lib/services/edgeorder.d.ts +26 -0
  190. package/lib/services/edgeorder.d.ts.map +1 -1
  191. package/lib/services/edgeorder.js +30 -0
  192. package/lib/services/edgeorder.js.map +1 -1
  193. package/lib/services/elasticsan.d.ts +59 -0
  194. package/lib/services/elasticsan.d.ts.map +1 -1
  195. package/lib/services/elasticsan.js +83 -0
  196. package/lib/services/elasticsan.js.map +1 -1
  197. package/lib/services/fabric.d.ts +26 -0
  198. package/lib/services/fabric.d.ts.map +1 -1
  199. package/lib/services/fabric.js +30 -0
  200. package/lib/services/fabric.js.map +1 -1
  201. package/lib/services/fist.d.ts +26 -0
  202. package/lib/services/fist.d.ts.map +1 -1
  203. package/lib/services/fist.js +33 -0
  204. package/lib/services/fist.js.map +1 -1
  205. package/lib/services/graphservicesprod.d.ts +26 -0
  206. package/lib/services/graphservicesprod.d.ts.map +1 -1
  207. package/lib/services/graphservicesprod.js +33 -0
  208. package/lib/services/graphservicesprod.js.map +1 -1
  209. package/lib/services/hardwaresecuritymodules.d.ts +333 -0
  210. package/lib/services/hardwaresecuritymodules.d.ts.map +1 -1
  211. package/lib/services/hardwaresecuritymodules.js +418 -0
  212. package/lib/services/hardwaresecuritymodules.js.map +1 -1
  213. package/lib/services/healthcareapis.d.ts +268 -0
  214. package/lib/services/healthcareapis.d.ts.map +1 -1
  215. package/lib/services/healthcareapis.js +377 -0
  216. package/lib/services/healthcareapis.js.map +1 -1
  217. package/lib/services/healthdataaiservices.d.ts +26 -0
  218. package/lib/services/healthdataaiservices.d.ts.map +1 -1
  219. package/lib/services/healthdataaiservices.js +33 -0
  220. package/lib/services/healthdataaiservices.js.map +1 -1
  221. package/lib/services/help.d.ts +22 -0
  222. package/lib/services/help.d.ts.map +1 -1
  223. package/lib/services/help.js +26 -0
  224. package/lib/services/help.js.map +1 -1
  225. package/lib/services/hybridaks.d.ts +26 -0
  226. package/lib/services/hybridaks.d.ts.map +1 -1
  227. package/lib/services/hybridaks.js +33 -0
  228. package/lib/services/hybridaks.js.map +1 -1
  229. package/lib/services/hybridcompute.d.ts +109 -0
  230. package/lib/services/hybridcompute.d.ts.map +1 -1
  231. package/lib/services/hybridcompute.js +146 -0
  232. package/lib/services/hybridcompute.js.map +1 -1
  233. package/lib/services/hybridconnectivity.d.ts +134 -0
  234. package/lib/services/hybridconnectivity.d.ts.map +1 -1
  235. package/lib/services/hybridconnectivity.js +161 -0
  236. package/lib/services/hybridconnectivity.js.map +1 -1
  237. package/lib/services/hybridnetwork.d.ts +26 -0
  238. package/lib/services/hybridnetwork.d.ts.map +1 -1
  239. package/lib/services/hybridnetwork.js +33 -0
  240. package/lib/services/hybridnetwork.js.map +1 -1
  241. package/lib/services/iotoperations.d.ts +26 -0
  242. package/lib/services/iotoperations.d.ts.map +1 -1
  243. package/lib/services/iotoperations.js +33 -0
  244. package/lib/services/iotoperations.js.map +1 -1
  245. package/lib/services/keyvault.d.ts +33 -0
  246. package/lib/services/keyvault.d.ts.map +1 -1
  247. package/lib/services/keyvault.js +37 -0
  248. package/lib/services/keyvault.js.map +1 -1
  249. package/lib/services/kubernetesconfiguration.d.ts +145 -0
  250. package/lib/services/kubernetesconfiguration.d.ts.map +1 -1
  251. package/lib/services/kubernetesconfiguration.js +173 -0
  252. package/lib/services/kubernetesconfiguration.js.map +1 -1
  253. package/lib/services/kubernetesruntime.d.ts +26 -0
  254. package/lib/services/kubernetesruntime.d.ts.map +1 -1
  255. package/lib/services/kubernetesruntime.js +33 -0
  256. package/lib/services/kubernetesruntime.js.map +1 -1
  257. package/lib/services/labservices.d.ts +60 -0
  258. package/lib/services/labservices.d.ts.map +1 -1
  259. package/lib/services/labservices.js +82 -0
  260. package/lib/services/labservices.js.map +1 -1
  261. package/lib/services/liftrweightsandbiases.d.ts +26 -0
  262. package/lib/services/liftrweightsandbiases.d.ts.map +1 -1
  263. package/lib/services/liftrweightsandbiases.js +33 -0
  264. package/lib/services/liftrweightsandbiases.js.map +1 -1
  265. package/lib/services/loadtestservice.d.ts +26 -0
  266. package/lib/services/loadtestservice.d.ts.map +1 -1
  267. package/lib/services/loadtestservice.js +33 -0
  268. package/lib/services/loadtestservice.js.map +1 -1
  269. package/lib/services/machinelearningservices.d.ts +71 -0
  270. package/lib/services/machinelearningservices.d.ts.map +1 -1
  271. package/lib/services/machinelearningservices.js +97 -0
  272. package/lib/services/machinelearningservices.js.map +1 -1
  273. package/lib/services/managednetworkfabric.d.ts +1156 -0
  274. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  275. package/lib/services/managednetworkfabric.js +1590 -57
  276. package/lib/services/managednetworkfabric.js.map +1 -1
  277. package/lib/services/management.d.ts +26 -0
  278. package/lib/services/management.d.ts.map +1 -1
  279. package/lib/services/management.js +30 -0
  280. package/lib/services/management.js.map +1 -1
  281. package/lib/services/manufacturingplatform.d.ts +26 -0
  282. package/lib/services/manufacturingplatform.d.ts.map +1 -1
  283. package/lib/services/manufacturingplatform.js +33 -0
  284. package/lib/services/manufacturingplatform.js.map +1 -1
  285. package/lib/services/marketplacecatalog.d.ts +26 -0
  286. package/lib/services/marketplacecatalog.d.ts.map +1 -1
  287. package/lib/services/marketplacecatalog.js +33 -0
  288. package/lib/services/marketplacecatalog.js.map +1 -1
  289. package/lib/services/migrate.d.ts +26 -0
  290. package/lib/services/migrate.d.ts.map +1 -1
  291. package/lib/services/migrate.js +30 -0
  292. package/lib/services/migrate.js.map +1 -1
  293. package/lib/services/mongocluster.d.ts +26 -0
  294. package/lib/services/mongocluster.d.ts.map +1 -1
  295. package/lib/services/mongocluster.js +30 -0
  296. package/lib/services/mongocluster.js.map +1 -1
  297. package/lib/services/monitor.d.ts +18 -240
  298. package/lib/services/monitor.d.ts.map +1 -1
  299. package/lib/services/monitor.js +19 -360
  300. package/lib/services/monitor.js.map +1 -1
  301. package/lib/services/mysql.d.ts +282 -0
  302. package/lib/services/mysql.d.ts.map +1 -1
  303. package/lib/services/mysql.js +369 -0
  304. package/lib/services/mysql.js.map +1 -1
  305. package/lib/services/network.d.ts +46 -0
  306. package/lib/services/network.d.ts.map +1 -1
  307. package/lib/services/network.js +56 -0
  308. package/lib/services/network.js.map +1 -1
  309. package/lib/services/networkcloud.d.ts +26 -0
  310. package/lib/services/networkcloud.d.ts.map +1 -1
  311. package/lib/services/networkcloud.js +33 -0
  312. package/lib/services/networkcloud.js.map +1 -1
  313. package/lib/services/operationalinsights.d.ts +57 -0
  314. package/lib/services/operationalinsights.d.ts.map +1 -1
  315. package/lib/services/operationalinsights.js +74 -0
  316. package/lib/services/operationalinsights.js.map +1 -1
  317. package/lib/services/orbital.d.ts +26 -0
  318. package/lib/services/orbital.d.ts.map +1 -1
  319. package/lib/services/orbital.js +30 -0
  320. package/lib/services/orbital.js.map +1 -1
  321. package/lib/services/peering.d.ts +153 -0
  322. package/lib/services/peering.d.ts.map +1 -1
  323. package/lib/services/peering.js +258 -0
  324. package/lib/services/peering.js.map +1 -1
  325. package/lib/services/playwrighttesting.d.ts +26 -0
  326. package/lib/services/playwrighttesting.d.ts.map +1 -1
  327. package/lib/services/playwrighttesting.js +33 -0
  328. package/lib/services/playwrighttesting.js.map +1 -1
  329. package/lib/services/portalservices.d.ts +26 -0
  330. package/lib/services/portalservices.d.ts.map +1 -1
  331. package/lib/services/portalservices.js +33 -0
  332. package/lib/services/portalservices.js.map +1 -1
  333. package/lib/services/postgresql.d.ts +98 -0
  334. package/lib/services/postgresql.d.ts.map +1 -1
  335. package/lib/services/postgresql.js +138 -0
  336. package/lib/services/postgresql.js.map +1 -1
  337. package/lib/services/postgresqlhsc.d.ts +157 -0
  338. package/lib/services/postgresqlhsc.d.ts.map +1 -1
  339. package/lib/services/postgresqlhsc.js +226 -0
  340. package/lib/services/postgresqlhsc.js.map +1 -1
  341. package/lib/services/powerbiprivatelinks.d.ts +55 -0
  342. package/lib/services/powerbiprivatelinks.d.ts.map +1 -1
  343. package/lib/services/powerbiprivatelinks.js +69 -0
  344. package/lib/services/powerbiprivatelinks.js.map +1 -1
  345. package/lib/services/recommendationsservice.d.ts +80 -0
  346. package/lib/services/recommendationsservice.d.ts.map +1 -1
  347. package/lib/services/recommendationsservice.js +96 -0
  348. package/lib/services/recommendationsservice.js.map +1 -1
  349. package/lib/services/recoveryservicesbackup.d.ts +803 -0
  350. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  351. package/lib/services/recoveryservicesbackup.js +1069 -41
  352. package/lib/services/recoveryservicesbackup.js.map +1 -1
  353. package/lib/services/recoveryservicesdatareplication.d.ts +26 -0
  354. package/lib/services/recoveryservicesdatareplication.d.ts.map +1 -1
  355. package/lib/services/recoveryservicesdatareplication.js +33 -0
  356. package/lib/services/recoveryservicesdatareplication.js.map +1 -1
  357. package/lib/services/recoveryservicessiterecovery.d.ts +94 -0
  358. package/lib/services/recoveryservicessiterecovery.d.ts.map +1 -1
  359. package/lib/services/recoveryservicessiterecovery.js +123 -0
  360. package/lib/services/recoveryservicessiterecovery.js.map +1 -1
  361. package/lib/services/redis.d.ts +251 -0
  362. package/lib/services/redis.d.ts.map +1 -1
  363. package/lib/services/redis.js +327 -0
  364. package/lib/services/redis.js.map +1 -1
  365. package/lib/services/redisenterprise.d.ts +140 -0
  366. package/lib/services/redisenterprise.d.ts.map +1 -1
  367. package/lib/services/redisenterprise.js +183 -0
  368. package/lib/services/redisenterprise.js.map +1 -1
  369. package/lib/services/relay.d.ts +26 -0
  370. package/lib/services/relay.d.ts.map +1 -1
  371. package/lib/services/relay.js +30 -0
  372. package/lib/services/relay.js.map +1 -1
  373. package/lib/services/resources.d.ts +6034 -232
  374. package/lib/services/resources.d.ts.map +1 -1
  375. package/lib/services/resources.js +8783 -878
  376. package/lib/services/resources.js.map +1 -1
  377. package/lib/services/scvmm.d.ts +26 -0
  378. package/lib/services/scvmm.d.ts.map +1 -1
  379. package/lib/services/scvmm.js +30 -0
  380. package/lib/services/scvmm.js.map +1 -1
  381. package/lib/services/search.d.ts +34 -0
  382. package/lib/services/search.d.ts.map +1 -1
  383. package/lib/services/search.js +54 -0
  384. package/lib/services/search.js.map +1 -1
  385. package/lib/services/security.d.ts +132 -0
  386. package/lib/services/security.d.ts.map +1 -1
  387. package/lib/services/security.js +181 -0
  388. package/lib/services/security.js.map +1 -1
  389. package/lib/services/securityinsights.d.ts +236 -0
  390. package/lib/services/securityinsights.d.ts.map +1 -1
  391. package/lib/services/securityinsights.js +402 -0
  392. package/lib/services/securityinsights.js.map +1 -1
  393. package/lib/services/servicelinker.d.ts +26 -0
  394. package/lib/services/servicelinker.d.ts.map +1 -1
  395. package/lib/services/servicelinker.js +33 -0
  396. package/lib/services/servicelinker.js.map +1 -1
  397. package/lib/services/servicenetworking.d.ts +26 -0
  398. package/lib/services/servicenetworking.d.ts.map +1 -1
  399. package/lib/services/servicenetworking.js +33 -0
  400. package/lib/services/servicenetworking.js.map +1 -1
  401. package/lib/services/solutions.d.ts +26 -0
  402. package/lib/services/solutions.d.ts.map +1 -1
  403. package/lib/services/solutions.js +30 -0
  404. package/lib/services/solutions.js.map +1 -1
  405. package/lib/services/sphere.d.ts +26 -0
  406. package/lib/services/sphere.d.ts.map +1 -1
  407. package/lib/services/sphere.js +33 -0
  408. package/lib/services/sphere.js.map +1 -1
  409. package/lib/services/standbypool.d.ts +26 -0
  410. package/lib/services/standbypool.d.ts.map +1 -1
  411. package/lib/services/standbypool.js +33 -0
  412. package/lib/services/standbypool.js.map +1 -1
  413. package/lib/services/storage.d.ts +69 -0
  414. package/lib/services/storage.d.ts.map +1 -1
  415. package/lib/services/storage.js +96 -0
  416. package/lib/services/storage.js.map +1 -1
  417. package/lib/services/storageactions.d.ts +26 -0
  418. package/lib/services/storageactions.d.ts.map +1 -1
  419. package/lib/services/storageactions.js +33 -0
  420. package/lib/services/storageactions.js.map +1 -1
  421. package/lib/services/storagediscovery.d.ts +26 -0
  422. package/lib/services/storagediscovery.d.ts.map +1 -1
  423. package/lib/services/storagediscovery.js +33 -0
  424. package/lib/services/storagediscovery.js.map +1 -1
  425. package/lib/services/storagemover.d.ts +26 -0
  426. package/lib/services/storagemover.d.ts.map +1 -1
  427. package/lib/services/storagemover.js +33 -0
  428. package/lib/services/storagemover.js.map +1 -1
  429. package/lib/services/storagesync.d.ts +142 -0
  430. package/lib/services/storagesync.d.ts.map +1 -1
  431. package/lib/services/storagesync.js +202 -0
  432. package/lib/services/storagesync.js.map +1 -1
  433. package/lib/services/support.d.ts +26 -0
  434. package/lib/services/support.d.ts.map +1 -1
  435. package/lib/services/support.js +30 -0
  436. package/lib/services/support.js.map +1 -1
  437. package/lib/services/synapse.d.ts +140 -0
  438. package/lib/services/synapse.d.ts.map +1 -1
  439. package/lib/services/synapse.js +190 -0
  440. package/lib/services/synapse.js.map +1 -1
  441. package/lib/services/vi.d.ts +163 -0
  442. package/lib/services/vi.d.ts.map +1 -1
  443. package/lib/services/vi.js +232 -0
  444. package/lib/services/vi.js.map +1 -1
  445. package/lib/services/vmware.d.ts +54 -0
  446. package/lib/services/vmware.d.ts.map +1 -1
  447. package/lib/services/vmware.js +68 -0
  448. package/lib/services/vmware.js.map +1 -1
  449. package/lib/services/voiceservices.d.ts +26 -0
  450. package/lib/services/voiceservices.d.ts.map +1 -1
  451. package/lib/services/voiceservices.js +33 -0
  452. package/lib/services/voiceservices.js.map +1 -1
  453. package/lib/services/widget.d.ts +26 -0
  454. package/lib/services/widget.d.ts.map +1 -1
  455. package/lib/services/widget.js +30 -0
  456. package/lib/services/widget.js.map +1 -1
  457. package/lib/services/workloads.d.ts +1081 -33
  458. package/lib/services/workloads.d.ts.map +1 -1
  459. package/lib/services/workloads.js +1249 -36
  460. package/lib/services/workloads.js.map +1 -1
  461. package/package.json +2 -2
  462. package/src/services/advisor.ts +501 -0
  463. package/src/services/apicenter.ts +44 -0
  464. package/src/services/apimanagement.ts +237 -0
  465. package/src/services/app.ts +290 -0
  466. package/src/services/appcomplianceautomation.ts +47 -0
  467. package/src/services/applicationinsights.ts +417 -0
  468. package/src/services/attestation.ts +270 -0
  469. package/src/services/automanage.ts +44 -0
  470. package/src/services/automation.ts +285 -0
  471. package/src/services/awsconnector.ts +174 -0
  472. package/src/services/azuredatatransfer.ts +47 -0
  473. package/src/services/azurefleet.ts +44 -0
  474. package/src/services/azurelargeinstance.ts +320 -0
  475. package/src/services/azurestackhci.ts +47 -0
  476. package/src/services/batch.ts +39 -0
  477. package/src/services/billing.ts +367 -0
  478. package/src/services/billingbenefits.ts +561 -0
  479. package/src/services/carbon.ts +44 -0
  480. package/src/services/cdn.ts +62 -0
  481. package/src/services/chaos.ts +136 -0
  482. package/src/services/codesigning.ts +47 -0
  483. package/src/services/cognitiveservices.ts +3177 -579
  484. package/src/services/communication.ts +49 -0
  485. package/src/services/communitytraining.ts +44 -0
  486. package/src/services/compute.ts +811 -0
  487. package/src/services/computelimit.ts +47 -0
  488. package/src/services/computeschedule.ts +47 -0
  489. package/src/services/consumption.ts +1020 -16
  490. package/src/services/containerregistry.ts +127 -0
  491. package/src/services/contosowidgetmanager.ts +44 -0
  492. package/src/services/cost-management.ts +296 -0
  493. package/src/services/dashboard.ts +44 -0
  494. package/src/services/databasewatcher.ts +47 -0
  495. package/src/services/datafactory.ts +324 -0
  496. package/src/services/datamigration.ts +1038 -9
  497. package/src/services/dataprotection.ts +52 -0
  498. package/src/services/desktopvirtualization.ts +3687 -350
  499. package/src/services/devcenter.ts +2956 -728
  500. package/src/services/developerhub.ts +46 -0
  501. package/src/services/deviceregistry.ts +134 -0
  502. package/src/services/deviceupdate.ts +220 -0
  503. package/src/services/devopsinfrastructure.ts +47 -0
  504. package/src/services/devtestlabs.ts +167 -0
  505. package/src/services/dnc.ts +47 -0
  506. package/src/services/durabletask.ts +432 -0
  507. package/src/services/edge.ts +44 -0
  508. package/src/services/edgemarketplace.ts +47 -0
  509. package/src/services/edgeorder.ts +44 -0
  510. package/src/services/elasticsan.ts +113 -0
  511. package/src/services/fabric.ts +44 -0
  512. package/src/services/fist.ts +47 -0
  513. package/src/services/graphservicesprod.ts +47 -0
  514. package/src/services/hardwaresecuritymodules.ts +611 -0
  515. package/src/services/healthcareapis.ts +539 -0
  516. package/src/services/healthdataaiservices.ts +47 -0
  517. package/src/services/help.ts +40 -0
  518. package/src/services/hybridaks.ts +47 -0
  519. package/src/services/hybridcompute.ts +205 -0
  520. package/src/services/hybridconnectivity.ts +223 -0
  521. package/src/services/hybridnetwork.ts +47 -0
  522. package/src/services/iotoperations.ts +47 -0
  523. package/src/services/keyvault.ts +51 -0
  524. package/src/services/kubernetesconfiguration.ts +245 -0
  525. package/src/services/kubernetesruntime.ts +47 -0
  526. package/src/services/labservices.ts +118 -0
  527. package/src/services/liftrweightsandbiases.ts +47 -0
  528. package/src/services/loadtestservice.ts +47 -0
  529. package/src/services/machinelearningservices.ts +131 -0
  530. package/src/services/managednetworkfabric.ts +2136 -44
  531. package/src/services/management.ts +44 -0
  532. package/src/services/manufacturingplatform.ts +47 -0
  533. package/src/services/marketplacecatalog.ts +47 -0
  534. package/src/services/migrate.ts +44 -0
  535. package/src/services/mongocluster.ts +44 -0
  536. package/src/services/monitor.ts +29 -468
  537. package/src/services/mysql.ts +501 -0
  538. package/src/services/network.ts +80 -0
  539. package/src/services/networkcloud.ts +47 -0
  540. package/src/services/operationalinsights.ts +98 -0
  541. package/src/services/orbital.ts +44 -0
  542. package/src/services/peering.ts +348 -0
  543. package/src/services/playwrighttesting.ts +47 -0
  544. package/src/services/portalservices.ts +47 -0
  545. package/src/services/postgresql.ts +184 -0
  546. package/src/services/postgresqlhsc.ts +314 -0
  547. package/src/services/powerbiprivatelinks.ts +107 -0
  548. package/src/services/recommendationsservice.ts +134 -0
  549. package/src/services/recoveryservicesbackup.ts +1413 -48
  550. package/src/services/recoveryservicesdatareplication.ts +47 -0
  551. package/src/services/recoveryservicessiterecovery.ts +167 -0
  552. package/src/services/redis.ts +443 -0
  553. package/src/services/redisenterprise.ts +251 -0
  554. package/src/services/relay.ts +44 -0
  555. package/src/services/resources.ts +13393 -1216
  556. package/src/services/scvmm.ts +44 -0
  557. package/src/services/search.ts +72 -0
  558. package/src/services/security.ts +251 -0
  559. package/src/services/securityinsights.ts +523 -0
  560. package/src/services/servicelinker.ts +47 -0
  561. package/src/services/servicenetworking.ts +47 -0
  562. package/src/services/solutions.ts +44 -0
  563. package/src/services/sphere.ts +47 -0
  564. package/src/services/standbypool.ts +47 -0
  565. package/src/services/storage.ts +128 -0
  566. package/src/services/storageactions.ts +47 -0
  567. package/src/services/storagediscovery.ts +47 -0
  568. package/src/services/storagemover.ts +47 -0
  569. package/src/services/storagesync.ts +274 -0
  570. package/src/services/support.ts +44 -0
  571. package/src/services/synapse.ts +268 -0
  572. package/src/services/vi.ts +320 -0
  573. package/src/services/vmware.ts +92 -0
  574. package/src/services/voiceservices.ts +47 -0
  575. package/src/services/widget.ts +44 -0
  576. package/src/services/workloads.ts +1836 -143
@@ -8,6 +8,58 @@ import * as Schema from "effect/Schema";
8
8
  import { API } from "../client.ts";
9
9
  import * as T from "../traits.ts";
10
10
 
11
+ // Input Schema
12
+ export const AttachedNetworksCreateOrUpdateInput =
13
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
+ subscriptionId: Schema.String.pipe(T.PathParam()),
15
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
16
+ "api-version": Schema.String,
17
+ }).pipe(
18
+ T.Http({
19
+ method: "PUT",
20
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}",
21
+ }),
22
+ );
23
+ export type AttachedNetworksCreateOrUpdateInput =
24
+ typeof AttachedNetworksCreateOrUpdateInput.Type;
25
+
26
+ // Output Schema
27
+ export const AttachedNetworksCreateOrUpdateOutput =
28
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
29
+ id: Schema.optional(Schema.String),
30
+ name: Schema.optional(Schema.String),
31
+ type: Schema.optional(Schema.String),
32
+ systemData: Schema.optional(
33
+ Schema.Struct({
34
+ createdBy: Schema.optional(Schema.String),
35
+ createdByType: Schema.optional(
36
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
37
+ ),
38
+ createdAt: Schema.optional(Schema.String),
39
+ lastModifiedBy: Schema.optional(Schema.String),
40
+ lastModifiedByType: Schema.optional(
41
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
42
+ ),
43
+ lastModifiedAt: Schema.optional(Schema.String),
44
+ }),
45
+ ),
46
+ });
47
+ export type AttachedNetworksCreateOrUpdateOutput =
48
+ typeof AttachedNetworksCreateOrUpdateOutput.Type;
49
+
50
+ // The operation
51
+ /**
52
+ * Creates or updates an attached NetworkConnection.
53
+ *
54
+ * @param api-version - The API version to use for this operation.
55
+ * @param subscriptionId - The ID of the target subscription.
56
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
57
+ */
58
+ export const AttachedNetworksCreateOrUpdate =
59
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
60
+ inputSchema: AttachedNetworksCreateOrUpdateInput,
61
+ outputSchema: AttachedNetworksCreateOrUpdateOutput,
62
+ }));
11
63
  // Input Schema
12
64
  export const AttachedNetworksDeleteInput =
13
65
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -44,6 +96,252 @@ export const AttachedNetworksDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
44
96
  }),
45
97
  );
46
98
  // Input Schema
99
+ export const AttachedNetworksGetByDevCenterInput =
100
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
101
+ subscriptionId: Schema.String.pipe(T.PathParam()),
102
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
103
+ "api-version": Schema.String,
104
+ }).pipe(
105
+ T.Http({
106
+ method: "GET",
107
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}",
108
+ }),
109
+ );
110
+ export type AttachedNetworksGetByDevCenterInput =
111
+ typeof AttachedNetworksGetByDevCenterInput.Type;
112
+
113
+ // Output Schema
114
+ export const AttachedNetworksGetByDevCenterOutput =
115
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
116
+ id: Schema.optional(Schema.String),
117
+ name: Schema.optional(Schema.String),
118
+ type: Schema.optional(Schema.String),
119
+ systemData: Schema.optional(
120
+ Schema.Struct({
121
+ createdBy: Schema.optional(Schema.String),
122
+ createdByType: Schema.optional(
123
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
124
+ ),
125
+ createdAt: Schema.optional(Schema.String),
126
+ lastModifiedBy: Schema.optional(Schema.String),
127
+ lastModifiedByType: Schema.optional(
128
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
129
+ ),
130
+ lastModifiedAt: Schema.optional(Schema.String),
131
+ }),
132
+ ),
133
+ });
134
+ export type AttachedNetworksGetByDevCenterOutput =
135
+ typeof AttachedNetworksGetByDevCenterOutput.Type;
136
+
137
+ // The operation
138
+ /**
139
+ * Gets an attached NetworkConnection.
140
+ *
141
+ * @param api-version - The API version to use for this operation.
142
+ * @param subscriptionId - The ID of the target subscription.
143
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
144
+ */
145
+ export const AttachedNetworksGetByDevCenter =
146
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
147
+ inputSchema: AttachedNetworksGetByDevCenterInput,
148
+ outputSchema: AttachedNetworksGetByDevCenterOutput,
149
+ }));
150
+ // Input Schema
151
+ export const AttachedNetworksGetByProjectInput =
152
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
153
+ subscriptionId: Schema.String.pipe(T.PathParam()),
154
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
155
+ "api-version": Schema.String,
156
+ }).pipe(
157
+ T.Http({
158
+ method: "GET",
159
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks/{attachedNetworkConnectionName}",
160
+ }),
161
+ );
162
+ export type AttachedNetworksGetByProjectInput =
163
+ typeof AttachedNetworksGetByProjectInput.Type;
164
+
165
+ // Output Schema
166
+ export const AttachedNetworksGetByProjectOutput =
167
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
168
+ id: Schema.optional(Schema.String),
169
+ name: Schema.optional(Schema.String),
170
+ type: Schema.optional(Schema.String),
171
+ systemData: Schema.optional(
172
+ Schema.Struct({
173
+ createdBy: Schema.optional(Schema.String),
174
+ createdByType: Schema.optional(
175
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
176
+ ),
177
+ createdAt: Schema.optional(Schema.String),
178
+ lastModifiedBy: Schema.optional(Schema.String),
179
+ lastModifiedByType: Schema.optional(
180
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
181
+ ),
182
+ lastModifiedAt: Schema.optional(Schema.String),
183
+ }),
184
+ ),
185
+ });
186
+ export type AttachedNetworksGetByProjectOutput =
187
+ typeof AttachedNetworksGetByProjectOutput.Type;
188
+
189
+ // The operation
190
+ /**
191
+ * Gets an attached NetworkConnection.
192
+ *
193
+ * @param api-version - The API version to use for this operation.
194
+ * @param subscriptionId - The ID of the target subscription.
195
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
196
+ */
197
+ export const AttachedNetworksGetByProject =
198
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
199
+ inputSchema: AttachedNetworksGetByProjectInput,
200
+ outputSchema: AttachedNetworksGetByProjectOutput,
201
+ }));
202
+ // Input Schema
203
+ export const AttachedNetworksListByDevCenterInput =
204
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
205
+ subscriptionId: Schema.String.pipe(T.PathParam()),
206
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
207
+ "api-version": Schema.String,
208
+ $top: Schema.optional(Schema.Number),
209
+ }).pipe(
210
+ T.Http({
211
+ method: "GET",
212
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks",
213
+ }),
214
+ );
215
+ export type AttachedNetworksListByDevCenterInput =
216
+ typeof AttachedNetworksListByDevCenterInput.Type;
217
+
218
+ // Output Schema
219
+ export const AttachedNetworksListByDevCenterOutput =
220
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
221
+ value: Schema.optional(
222
+ Schema.Array(
223
+ Schema.Struct({
224
+ id: Schema.optional(Schema.String),
225
+ name: Schema.optional(Schema.String),
226
+ type: Schema.optional(Schema.String),
227
+ systemData: Schema.optional(
228
+ Schema.Struct({
229
+ createdBy: Schema.optional(Schema.String),
230
+ createdByType: Schema.optional(
231
+ Schema.Literals([
232
+ "User",
233
+ "Application",
234
+ "ManagedIdentity",
235
+ "Key",
236
+ ]),
237
+ ),
238
+ createdAt: Schema.optional(Schema.String),
239
+ lastModifiedBy: Schema.optional(Schema.String),
240
+ lastModifiedByType: Schema.optional(
241
+ Schema.Literals([
242
+ "User",
243
+ "Application",
244
+ "ManagedIdentity",
245
+ "Key",
246
+ ]),
247
+ ),
248
+ lastModifiedAt: Schema.optional(Schema.String),
249
+ }),
250
+ ),
251
+ }),
252
+ ),
253
+ ),
254
+ nextLink: Schema.optional(Schema.String),
255
+ });
256
+ export type AttachedNetworksListByDevCenterOutput =
257
+ typeof AttachedNetworksListByDevCenterOutput.Type;
258
+
259
+ // The operation
260
+ /**
261
+ * Lists the attached NetworkConnections for a DevCenter.
262
+ *
263
+ * @param api-version - The API version to use for this operation.
264
+ * @param subscriptionId - The ID of the target subscription.
265
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
266
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
267
+ */
268
+ export const AttachedNetworksListByDevCenter =
269
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
270
+ inputSchema: AttachedNetworksListByDevCenterInput,
271
+ outputSchema: AttachedNetworksListByDevCenterOutput,
272
+ }));
273
+ // Input Schema
274
+ export const AttachedNetworksListByProjectInput =
275
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
276
+ subscriptionId: Schema.String.pipe(T.PathParam()),
277
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
278
+ "api-version": Schema.String,
279
+ $top: Schema.optional(Schema.Number),
280
+ }).pipe(
281
+ T.Http({
282
+ method: "GET",
283
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks",
284
+ }),
285
+ );
286
+ export type AttachedNetworksListByProjectInput =
287
+ typeof AttachedNetworksListByProjectInput.Type;
288
+
289
+ // Output Schema
290
+ export const AttachedNetworksListByProjectOutput =
291
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
292
+ value: Schema.optional(
293
+ Schema.Array(
294
+ Schema.Struct({
295
+ id: Schema.optional(Schema.String),
296
+ name: Schema.optional(Schema.String),
297
+ type: Schema.optional(Schema.String),
298
+ systemData: Schema.optional(
299
+ Schema.Struct({
300
+ createdBy: Schema.optional(Schema.String),
301
+ createdByType: Schema.optional(
302
+ Schema.Literals([
303
+ "User",
304
+ "Application",
305
+ "ManagedIdentity",
306
+ "Key",
307
+ ]),
308
+ ),
309
+ createdAt: Schema.optional(Schema.String),
310
+ lastModifiedBy: Schema.optional(Schema.String),
311
+ lastModifiedByType: Schema.optional(
312
+ Schema.Literals([
313
+ "User",
314
+ "Application",
315
+ "ManagedIdentity",
316
+ "Key",
317
+ ]),
318
+ ),
319
+ lastModifiedAt: Schema.optional(Schema.String),
320
+ }),
321
+ ),
322
+ }),
323
+ ),
324
+ ),
325
+ nextLink: Schema.optional(Schema.String),
326
+ });
327
+ export type AttachedNetworksListByProjectOutput =
328
+ typeof AttachedNetworksListByProjectOutput.Type;
329
+
330
+ // The operation
331
+ /**
332
+ * Lists the attached NetworkConnections for a Project.
333
+ *
334
+ * @param api-version - The API version to use for this operation.
335
+ * @param subscriptionId - The ID of the target subscription.
336
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
337
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
338
+ */
339
+ export const AttachedNetworksListByProject =
340
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
341
+ inputSchema: AttachedNetworksListByProjectInput,
342
+ outputSchema: AttachedNetworksListByProjectOutput,
343
+ }));
344
+ // Input Schema
47
345
  export const CatalogsConnectInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
48
346
  subscriptionId: Schema.String.pipe(T.PathParam()),
49
347
  resourceGroupName: Schema.String.pipe(T.PathParam()),
@@ -73,6 +371,59 @@ export const CatalogsConnect = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
73
371
  outputSchema: CatalogsConnectOutput,
74
372
  }));
75
373
  // Input Schema
374
+ export const CatalogsCreateOrUpdateInput =
375
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
376
+ subscriptionId: Schema.String.pipe(T.PathParam()),
377
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
378
+ "api-version": Schema.String,
379
+ }).pipe(
380
+ T.Http({
381
+ method: "PUT",
382
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
383
+ }),
384
+ );
385
+ export type CatalogsCreateOrUpdateInput =
386
+ typeof CatalogsCreateOrUpdateInput.Type;
387
+
388
+ // Output Schema
389
+ export const CatalogsCreateOrUpdateOutput =
390
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
391
+ id: Schema.optional(Schema.String),
392
+ name: Schema.optional(Schema.String),
393
+ type: Schema.optional(Schema.String),
394
+ systemData: Schema.optional(
395
+ Schema.Struct({
396
+ createdBy: Schema.optional(Schema.String),
397
+ createdByType: Schema.optional(
398
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
399
+ ),
400
+ createdAt: Schema.optional(Schema.String),
401
+ lastModifiedBy: Schema.optional(Schema.String),
402
+ lastModifiedByType: Schema.optional(
403
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
404
+ ),
405
+ lastModifiedAt: Schema.optional(Schema.String),
406
+ }),
407
+ ),
408
+ });
409
+ export type CatalogsCreateOrUpdateOutput =
410
+ typeof CatalogsCreateOrUpdateOutput.Type;
411
+
412
+ // The operation
413
+ /**
414
+ * Creates or updates a catalog.
415
+ *
416
+ * @param api-version - The API version to use for this operation.
417
+ * @param subscriptionId - The ID of the target subscription.
418
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
419
+ */
420
+ export const CatalogsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
421
+ () => ({
422
+ inputSchema: CatalogsCreateOrUpdateInput,
423
+ outputSchema: CatalogsCreateOrUpdateOutput,
424
+ }),
425
+ );
426
+ // Input Schema
76
427
  export const CatalogsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
77
428
  subscriptionId: Schema.String.pipe(T.PathParam()),
78
429
  resourceGroupName: Schema.String.pipe(T.PathParam()),
@@ -102,6 +453,53 @@ export const CatalogsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
102
453
  outputSchema: CatalogsDeleteOutput,
103
454
  }));
104
455
  // Input Schema
456
+ export const CatalogsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
457
+ subscriptionId: Schema.String.pipe(T.PathParam()),
458
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
459
+ "api-version": Schema.String,
460
+ }).pipe(
461
+ T.Http({
462
+ method: "GET",
463
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
464
+ }),
465
+ );
466
+ export type CatalogsGetInput = typeof CatalogsGetInput.Type;
467
+
468
+ // Output Schema
469
+ export const CatalogsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
470
+ id: Schema.optional(Schema.String),
471
+ name: Schema.optional(Schema.String),
472
+ type: Schema.optional(Schema.String),
473
+ systemData: Schema.optional(
474
+ Schema.Struct({
475
+ createdBy: Schema.optional(Schema.String),
476
+ createdByType: Schema.optional(
477
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
478
+ ),
479
+ createdAt: Schema.optional(Schema.String),
480
+ lastModifiedBy: Schema.optional(Schema.String),
481
+ lastModifiedByType: Schema.optional(
482
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
483
+ ),
484
+ lastModifiedAt: Schema.optional(Schema.String),
485
+ }),
486
+ ),
487
+ });
488
+ export type CatalogsGetOutput = typeof CatalogsGetOutput.Type;
489
+
490
+ // The operation
491
+ /**
492
+ * Gets a catalog
493
+ *
494
+ * @param api-version - The API version to use for this operation.
495
+ * @param subscriptionId - The ID of the target subscription.
496
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
497
+ */
498
+ export const CatalogsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
499
+ inputSchema: CatalogsGetInput,
500
+ outputSchema: CatalogsGetOutput,
501
+ }));
502
+ // Input Schema
105
503
  export const CatalogsGetSyncErrorDetailsInput =
106
504
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
107
505
  T.Http({
@@ -159,26 +557,98 @@ export const CatalogsGetSyncErrorDetails = /*@__PURE__*/ /*#__PURE__*/ API.make(
159
557
  }),
160
558
  );
161
559
  // Input Schema
162
- export const CatalogsSyncInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
163
- subscriptionId: Schema.String.pipe(T.PathParam()),
164
- resourceGroupName: Schema.String.pipe(T.PathParam()),
165
- "api-version": Schema.String,
166
- }).pipe(
167
- T.Http({
168
- method: "POST",
169
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/sync",
170
- }),
171
- );
172
- export type CatalogsSyncInput = typeof CatalogsSyncInput.Type;
560
+ export const CatalogsListByDevCenterInput =
561
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
562
+ subscriptionId: Schema.String.pipe(T.PathParam()),
563
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
564
+ "api-version": Schema.String,
565
+ $top: Schema.optional(Schema.Number),
566
+ }).pipe(
567
+ T.Http({
568
+ method: "GET",
569
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs",
570
+ }),
571
+ );
572
+ export type CatalogsListByDevCenterInput =
573
+ typeof CatalogsListByDevCenterInput.Type;
173
574
 
174
575
  // Output Schema
175
- export const CatalogsSyncOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
176
- export type CatalogsSyncOutput = typeof CatalogsSyncOutput.Type;
177
-
178
- // The operation
179
- /**
180
- * Syncs templates for a template source.
181
- *
576
+ export const CatalogsListByDevCenterOutput =
577
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
578
+ value: Schema.optional(
579
+ Schema.Array(
580
+ Schema.Struct({
581
+ id: Schema.optional(Schema.String),
582
+ name: Schema.optional(Schema.String),
583
+ type: Schema.optional(Schema.String),
584
+ systemData: Schema.optional(
585
+ Schema.Struct({
586
+ createdBy: Schema.optional(Schema.String),
587
+ createdByType: Schema.optional(
588
+ Schema.Literals([
589
+ "User",
590
+ "Application",
591
+ "ManagedIdentity",
592
+ "Key",
593
+ ]),
594
+ ),
595
+ createdAt: Schema.optional(Schema.String),
596
+ lastModifiedBy: Schema.optional(Schema.String),
597
+ lastModifiedByType: Schema.optional(
598
+ Schema.Literals([
599
+ "User",
600
+ "Application",
601
+ "ManagedIdentity",
602
+ "Key",
603
+ ]),
604
+ ),
605
+ lastModifiedAt: Schema.optional(Schema.String),
606
+ }),
607
+ ),
608
+ }),
609
+ ),
610
+ ),
611
+ nextLink: Schema.optional(Schema.String),
612
+ });
613
+ export type CatalogsListByDevCenterOutput =
614
+ typeof CatalogsListByDevCenterOutput.Type;
615
+
616
+ // The operation
617
+ /**
618
+ * Lists catalogs for a devcenter.
619
+ *
620
+ * @param api-version - The API version to use for this operation.
621
+ * @param subscriptionId - The ID of the target subscription.
622
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
623
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
624
+ */
625
+ export const CatalogsListByDevCenter = /*@__PURE__*/ /*#__PURE__*/ API.make(
626
+ () => ({
627
+ inputSchema: CatalogsListByDevCenterInput,
628
+ outputSchema: CatalogsListByDevCenterOutput,
629
+ }),
630
+ );
631
+ // Input Schema
632
+ export const CatalogsSyncInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
633
+ subscriptionId: Schema.String.pipe(T.PathParam()),
634
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
635
+ "api-version": Schema.String,
636
+ }).pipe(
637
+ T.Http({
638
+ method: "POST",
639
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/sync",
640
+ }),
641
+ );
642
+ export type CatalogsSyncInput = typeof CatalogsSyncInput.Type;
643
+
644
+ // Output Schema
645
+ export const CatalogsSyncOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
646
+ export type CatalogsSyncOutput = typeof CatalogsSyncOutput.Type;
647
+
648
+ // The operation
649
+ /**
650
+ * Syncs templates for a template source.
651
+ *
182
652
  * @param api-version - The API version to use for this operation.
183
653
  * @param subscriptionId - The ID of the target subscription.
184
654
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
@@ -188,6 +658,53 @@ export const CatalogsSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
188
658
  outputSchema: CatalogsSyncOutput,
189
659
  }));
190
660
  // Input Schema
661
+ export const CatalogsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
662
+ subscriptionId: Schema.String.pipe(T.PathParam()),
663
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
664
+ "api-version": Schema.String,
665
+ }).pipe(
666
+ T.Http({
667
+ method: "PATCH",
668
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
669
+ }),
670
+ );
671
+ export type CatalogsUpdateInput = typeof CatalogsUpdateInput.Type;
672
+
673
+ // Output Schema
674
+ export const CatalogsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
675
+ id: Schema.optional(Schema.String),
676
+ name: Schema.optional(Schema.String),
677
+ type: Schema.optional(Schema.String),
678
+ systemData: Schema.optional(
679
+ Schema.Struct({
680
+ createdBy: Schema.optional(Schema.String),
681
+ createdByType: Schema.optional(
682
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
683
+ ),
684
+ createdAt: Schema.optional(Schema.String),
685
+ lastModifiedBy: Schema.optional(Schema.String),
686
+ lastModifiedByType: Schema.optional(
687
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
688
+ ),
689
+ lastModifiedAt: Schema.optional(Schema.String),
690
+ }),
691
+ ),
692
+ });
693
+ export type CatalogsUpdateOutput = typeof CatalogsUpdateOutput.Type;
694
+
695
+ // The operation
696
+ /**
697
+ * Partially updates a catalog.
698
+ *
699
+ * @param api-version - The API version to use for this operation.
700
+ * @param subscriptionId - The ID of the target subscription.
701
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
702
+ */
703
+ export const CatalogsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
704
+ inputSchema: CatalogsUpdateInput,
705
+ outputSchema: CatalogsUpdateOutput,
706
+ }));
707
+ // Input Schema
191
708
  export const CheckNameAvailabilityExecuteInput =
192
709
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
193
710
  subscriptionId: Schema.String.pipe(T.PathParam()),
@@ -956,6 +1473,58 @@ export const EnvironmentDefinitionsListByProjectCatalog =
956
1473
  outputSchema: EnvironmentDefinitionsListByProjectCatalogOutput,
957
1474
  }));
958
1475
  // Input Schema
1476
+ export const EnvironmentTypesCreateOrUpdateInput =
1477
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1478
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1479
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1480
+ "api-version": Schema.String,
1481
+ }).pipe(
1482
+ T.Http({
1483
+ method: "PUT",
1484
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
1485
+ }),
1486
+ );
1487
+ export type EnvironmentTypesCreateOrUpdateInput =
1488
+ typeof EnvironmentTypesCreateOrUpdateInput.Type;
1489
+
1490
+ // Output Schema
1491
+ export const EnvironmentTypesCreateOrUpdateOutput =
1492
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1493
+ id: Schema.optional(Schema.String),
1494
+ name: Schema.optional(Schema.String),
1495
+ type: Schema.optional(Schema.String),
1496
+ systemData: Schema.optional(
1497
+ Schema.Struct({
1498
+ createdBy: Schema.optional(Schema.String),
1499
+ createdByType: Schema.optional(
1500
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1501
+ ),
1502
+ createdAt: Schema.optional(Schema.String),
1503
+ lastModifiedBy: Schema.optional(Schema.String),
1504
+ lastModifiedByType: Schema.optional(
1505
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1506
+ ),
1507
+ lastModifiedAt: Schema.optional(Schema.String),
1508
+ }),
1509
+ ),
1510
+ });
1511
+ export type EnvironmentTypesCreateOrUpdateOutput =
1512
+ typeof EnvironmentTypesCreateOrUpdateOutput.Type;
1513
+
1514
+ // The operation
1515
+ /**
1516
+ * Creates or updates an environment type.
1517
+ *
1518
+ * @param api-version - The API version to use for this operation.
1519
+ * @param subscriptionId - The ID of the target subscription.
1520
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1521
+ */
1522
+ export const EnvironmentTypesCreateOrUpdate =
1523
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1524
+ inputSchema: EnvironmentTypesCreateOrUpdateInput,
1525
+ outputSchema: EnvironmentTypesCreateOrUpdateOutput,
1526
+ }));
1527
+ // Input Schema
959
1528
  export const EnvironmentTypesDeleteInput =
960
1529
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
961
1530
  subscriptionId: Schema.String.pipe(T.PathParam()),
@@ -991,98 +1560,56 @@ export const EnvironmentTypesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
991
1560
  }),
992
1561
  );
993
1562
  // Input Schema
994
- export const GalleriesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
995
- subscriptionId: Schema.String.pipe(T.PathParam()),
996
- resourceGroupName: Schema.String.pipe(T.PathParam()),
997
- "api-version": Schema.String,
998
- }).pipe(
999
- T.Http({
1000
- method: "DELETE",
1001
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
1002
- }),
1003
- );
1004
- export type GalleriesDeleteInput = typeof GalleriesDeleteInput.Type;
1005
-
1006
- // Output Schema
1007
- export const GalleriesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1008
- export type GalleriesDeleteOutput = typeof GalleriesDeleteOutput.Type;
1009
-
1010
- // The operation
1011
- /**
1012
- * Deletes a gallery resource.
1013
- *
1014
- * @param api-version - The API version to use for this operation.
1015
- * @param subscriptionId - The ID of the target subscription.
1016
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1017
- */
1018
- export const GalleriesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1019
- inputSchema: GalleriesDeleteInput,
1020
- outputSchema: GalleriesDeleteOutput,
1021
- }));
1022
- // Input Schema
1023
- export const ImagesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1024
- subscriptionId: Schema.String.pipe(T.PathParam()),
1025
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1026
- "api-version": Schema.String,
1027
- }).pipe(
1028
- T.Http({
1029
- method: "GET",
1030
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}",
1031
- }),
1032
- );
1033
- export type ImagesGetInput = typeof ImagesGetInput.Type;
1034
-
1035
- // Output Schema
1036
- export const ImagesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1037
- export type ImagesGetOutput = typeof ImagesGetOutput.Type;
1038
-
1039
- // The operation
1040
- /**
1041
- * Gets a gallery image.
1042
- *
1043
- * @param api-version - The API version to use for this operation.
1044
- * @param subscriptionId - The ID of the target subscription.
1045
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1046
- */
1047
- export const ImagesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1048
- inputSchema: ImagesGetInput,
1049
- outputSchema: ImagesGetOutput,
1050
- }));
1051
- // Input Schema
1052
- export const ImagesGetByProjectInput =
1563
+ export const EnvironmentTypesGetInput =
1053
1564
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1054
1565
  subscriptionId: Schema.String.pipe(T.PathParam()),
1055
1566
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1056
- projectName: Schema.String.pipe(T.PathParam()),
1057
1567
  "api-version": Schema.String,
1058
1568
  }).pipe(
1059
1569
  T.Http({
1060
1570
  method: "GET",
1061
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}",
1571
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
1062
1572
  }),
1063
1573
  );
1064
- export type ImagesGetByProjectInput = typeof ImagesGetByProjectInput.Type;
1574
+ export type EnvironmentTypesGetInput = typeof EnvironmentTypesGetInput.Type;
1065
1575
 
1066
1576
  // Output Schema
1067
- export const ImagesGetByProjectOutput =
1068
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1069
- export type ImagesGetByProjectOutput = typeof ImagesGetByProjectOutput.Type;
1577
+ export const EnvironmentTypesGetOutput =
1578
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1579
+ id: Schema.optional(Schema.String),
1580
+ name: Schema.optional(Schema.String),
1581
+ type: Schema.optional(Schema.String),
1582
+ systemData: Schema.optional(
1583
+ Schema.Struct({
1584
+ createdBy: Schema.optional(Schema.String),
1585
+ createdByType: Schema.optional(
1586
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1587
+ ),
1588
+ createdAt: Schema.optional(Schema.String),
1589
+ lastModifiedBy: Schema.optional(Schema.String),
1590
+ lastModifiedByType: Schema.optional(
1591
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1592
+ ),
1593
+ lastModifiedAt: Schema.optional(Schema.String),
1594
+ }),
1595
+ ),
1596
+ });
1597
+ export type EnvironmentTypesGetOutput = typeof EnvironmentTypesGetOutput.Type;
1070
1598
 
1071
1599
  // The operation
1072
1600
  /**
1073
- * Gets an image.
1601
+ * Gets an environment type.
1074
1602
  *
1075
1603
  * @param api-version - The API version to use for this operation.
1076
1604
  * @param subscriptionId - The ID of the target subscription.
1077
1605
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1078
- * @param projectName - The name of the project.
1079
1606
  */
1080
- export const ImagesGetByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1081
- inputSchema: ImagesGetByProjectInput,
1082
- outputSchema: ImagesGetByProjectOutput,
1607
+ export const EnvironmentTypesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1608
+ inputSchema: EnvironmentTypesGetInput,
1609
+ outputSchema: EnvironmentTypesGetOutput,
1083
1610
  }));
1084
1611
  // Input Schema
1085
- export const ImagesListByDevCenterInput =
1612
+ export const EnvironmentTypesListByDevCenterInput =
1086
1613
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1087
1614
  subscriptionId: Schema.String.pipe(T.PathParam()),
1088
1615
  resourceGroupName: Schema.String.pipe(T.PathParam()),
@@ -1091,464 +1618,1660 @@ export const ImagesListByDevCenterInput =
1091
1618
  }).pipe(
1092
1619
  T.Http({
1093
1620
  method: "GET",
1094
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/images",
1621
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes",
1095
1622
  }),
1096
1623
  );
1097
- export type ImagesListByDevCenterInput = typeof ImagesListByDevCenterInput.Type;
1624
+ export type EnvironmentTypesListByDevCenterInput =
1625
+ typeof EnvironmentTypesListByDevCenterInput.Type;
1098
1626
 
1099
1627
  // Output Schema
1100
- export const ImagesListByDevCenterOutput =
1628
+ export const EnvironmentTypesListByDevCenterOutput =
1101
1629
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1102
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
1630
+ value: Schema.optional(
1631
+ Schema.Array(
1632
+ Schema.Struct({
1633
+ id: Schema.optional(Schema.String),
1634
+ name: Schema.optional(Schema.String),
1635
+ type: Schema.optional(Schema.String),
1636
+ systemData: Schema.optional(
1637
+ Schema.Struct({
1638
+ createdBy: Schema.optional(Schema.String),
1639
+ createdByType: Schema.optional(
1640
+ Schema.Literals([
1641
+ "User",
1642
+ "Application",
1643
+ "ManagedIdentity",
1644
+ "Key",
1645
+ ]),
1646
+ ),
1647
+ createdAt: Schema.optional(Schema.String),
1648
+ lastModifiedBy: Schema.optional(Schema.String),
1649
+ lastModifiedByType: Schema.optional(
1650
+ Schema.Literals([
1651
+ "User",
1652
+ "Application",
1653
+ "ManagedIdentity",
1654
+ "Key",
1655
+ ]),
1656
+ ),
1657
+ lastModifiedAt: Schema.optional(Schema.String),
1658
+ }),
1659
+ ),
1660
+ }),
1661
+ ),
1662
+ ),
1103
1663
  nextLink: Schema.optional(Schema.String),
1104
1664
  });
1105
- export type ImagesListByDevCenterOutput =
1106
- typeof ImagesListByDevCenterOutput.Type;
1665
+ export type EnvironmentTypesListByDevCenterOutput =
1666
+ typeof EnvironmentTypesListByDevCenterOutput.Type;
1107
1667
 
1108
1668
  // The operation
1109
1669
  /**
1110
- * Lists images for a devcenter.
1670
+ * Lists environment types for the devcenter.
1111
1671
  *
1112
1672
  * @param api-version - The API version to use for this operation.
1113
1673
  * @param subscriptionId - The ID of the target subscription.
1114
1674
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1115
1675
  * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
1116
1676
  */
1117
- export const ImagesListByDevCenter = /*@__PURE__*/ /*#__PURE__*/ API.make(
1118
- () => ({
1119
- inputSchema: ImagesListByDevCenterInput,
1120
- outputSchema: ImagesListByDevCenterOutput,
1121
- }),
1122
- );
1677
+ export const EnvironmentTypesListByDevCenter =
1678
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1679
+ inputSchema: EnvironmentTypesListByDevCenterInput,
1680
+ outputSchema: EnvironmentTypesListByDevCenterOutput,
1681
+ }));
1123
1682
  // Input Schema
1124
- export const ImagesListByGalleryInput =
1683
+ export const EnvironmentTypesUpdateInput =
1125
1684
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1126
1685
  subscriptionId: Schema.String.pipe(T.PathParam()),
1127
1686
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1128
1687
  "api-version": Schema.String,
1129
- $top: Schema.optional(Schema.Number),
1130
1688
  }).pipe(
1131
1689
  T.Http({
1132
- method: "GET",
1133
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images",
1690
+ method: "PATCH",
1691
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
1134
1692
  }),
1135
1693
  );
1136
- export type ImagesListByGalleryInput = typeof ImagesListByGalleryInput.Type;
1694
+ export type EnvironmentTypesUpdateInput =
1695
+ typeof EnvironmentTypesUpdateInput.Type;
1137
1696
 
1138
1697
  // Output Schema
1139
- export const ImagesListByGalleryOutput =
1698
+ export const EnvironmentTypesUpdateOutput =
1140
1699
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1141
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
1142
- nextLink: Schema.optional(Schema.String),
1700
+ id: Schema.optional(Schema.String),
1701
+ name: Schema.optional(Schema.String),
1702
+ type: Schema.optional(Schema.String),
1703
+ systemData: Schema.optional(
1704
+ Schema.Struct({
1705
+ createdBy: Schema.optional(Schema.String),
1706
+ createdByType: Schema.optional(
1707
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1708
+ ),
1709
+ createdAt: Schema.optional(Schema.String),
1710
+ lastModifiedBy: Schema.optional(Schema.String),
1711
+ lastModifiedByType: Schema.optional(
1712
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1713
+ ),
1714
+ lastModifiedAt: Schema.optional(Schema.String),
1715
+ }),
1716
+ ),
1143
1717
  });
1144
- export type ImagesListByGalleryOutput = typeof ImagesListByGalleryOutput.Type;
1718
+ export type EnvironmentTypesUpdateOutput =
1719
+ typeof EnvironmentTypesUpdateOutput.Type;
1145
1720
 
1146
1721
  // The operation
1147
1722
  /**
1148
- * Lists images for a gallery.
1723
+ * Partially updates an environment type.
1149
1724
  *
1150
1725
  * @param api-version - The API version to use for this operation.
1151
1726
  * @param subscriptionId - The ID of the target subscription.
1152
1727
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1153
- * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
1154
1728
  */
1155
- export const ImagesListByGallery = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1156
- inputSchema: ImagesListByGalleryInput,
1157
- outputSchema: ImagesListByGalleryOutput,
1158
- }));
1729
+ export const EnvironmentTypesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
1730
+ () => ({
1731
+ inputSchema: EnvironmentTypesUpdateInput,
1732
+ outputSchema: EnvironmentTypesUpdateOutput,
1733
+ }),
1734
+ );
1159
1735
  // Input Schema
1160
- export const ImagesListByProjectInput =
1736
+ export const GalleriesCreateOrUpdateInput =
1161
1737
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1162
1738
  subscriptionId: Schema.String.pipe(T.PathParam()),
1163
1739
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1164
- projectName: Schema.String.pipe(T.PathParam()),
1165
1740
  "api-version": Schema.String,
1166
1741
  }).pipe(
1167
1742
  T.Http({
1168
- method: "GET",
1169
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images",
1743
+ method: "PUT",
1744
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
1170
1745
  }),
1171
1746
  );
1172
- export type ImagesListByProjectInput = typeof ImagesListByProjectInput.Type;
1747
+ export type GalleriesCreateOrUpdateInput =
1748
+ typeof GalleriesCreateOrUpdateInput.Type;
1173
1749
 
1174
1750
  // Output Schema
1175
- export const ImagesListByProjectOutput =
1751
+ export const GalleriesCreateOrUpdateOutput =
1176
1752
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1177
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
1178
- nextLink: Schema.optional(Schema.String),
1753
+ id: Schema.optional(Schema.String),
1754
+ name: Schema.optional(Schema.String),
1755
+ type: Schema.optional(Schema.String),
1756
+ systemData: Schema.optional(
1757
+ Schema.Struct({
1758
+ createdBy: Schema.optional(Schema.String),
1759
+ createdByType: Schema.optional(
1760
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1761
+ ),
1762
+ createdAt: Schema.optional(Schema.String),
1763
+ lastModifiedBy: Schema.optional(Schema.String),
1764
+ lastModifiedByType: Schema.optional(
1765
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1766
+ ),
1767
+ lastModifiedAt: Schema.optional(Schema.String),
1768
+ }),
1769
+ ),
1179
1770
  });
1180
- export type ImagesListByProjectOutput = typeof ImagesListByProjectOutput.Type;
1771
+ export type GalleriesCreateOrUpdateOutput =
1772
+ typeof GalleriesCreateOrUpdateOutput.Type;
1181
1773
 
1182
1774
  // The operation
1183
1775
  /**
1184
- * Lists images for a project.
1776
+ * Creates or updates a gallery.
1185
1777
  *
1186
1778
  * @param api-version - The API version to use for this operation.
1187
1779
  * @param subscriptionId - The ID of the target subscription.
1188
1780
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1189
- * @param projectName - The name of the project.
1190
1781
  */
1191
- export const ImagesListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1192
- inputSchema: ImagesListByProjectInput,
1193
- outputSchema: ImagesListByProjectOutput,
1782
+ export const GalleriesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
1783
+ () => ({
1784
+ inputSchema: GalleriesCreateOrUpdateInput,
1785
+ outputSchema: GalleriesCreateOrUpdateOutput,
1786
+ }),
1787
+ );
1788
+ // Input Schema
1789
+ export const GalleriesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1790
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1791
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1792
+ "api-version": Schema.String,
1793
+ }).pipe(
1794
+ T.Http({
1795
+ method: "DELETE",
1796
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
1797
+ }),
1798
+ );
1799
+ export type GalleriesDeleteInput = typeof GalleriesDeleteInput.Type;
1800
+
1801
+ // Output Schema
1802
+ export const GalleriesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1803
+ export type GalleriesDeleteOutput = typeof GalleriesDeleteOutput.Type;
1804
+
1805
+ // The operation
1806
+ /**
1807
+ * Deletes a gallery resource.
1808
+ *
1809
+ * @param api-version - The API version to use for this operation.
1810
+ * @param subscriptionId - The ID of the target subscription.
1811
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1812
+ */
1813
+ export const GalleriesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1814
+ inputSchema: GalleriesDeleteInput,
1815
+ outputSchema: GalleriesDeleteOutput,
1194
1816
  }));
1195
1817
  // Input Schema
1196
- export const ImageVersionsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1818
+ export const GalleriesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1197
1819
  subscriptionId: Schema.String.pipe(T.PathParam()),
1198
1820
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1199
1821
  "api-version": Schema.String,
1200
1822
  }).pipe(
1201
1823
  T.Http({
1202
1824
  method: "GET",
1203
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions/{versionName}",
1825
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
1204
1826
  }),
1205
1827
  );
1206
- export type ImageVersionsGetInput = typeof ImageVersionsGetInput.Type;
1828
+ export type GalleriesGetInput = typeof GalleriesGetInput.Type;
1207
1829
 
1208
1830
  // Output Schema
1209
- export const ImageVersionsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1210
- {},
1211
- );
1212
- export type ImageVersionsGetOutput = typeof ImageVersionsGetOutput.Type;
1831
+ export const GalleriesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1832
+ id: Schema.optional(Schema.String),
1833
+ name: Schema.optional(Schema.String),
1834
+ type: Schema.optional(Schema.String),
1835
+ systemData: Schema.optional(
1836
+ Schema.Struct({
1837
+ createdBy: Schema.optional(Schema.String),
1838
+ createdByType: Schema.optional(
1839
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1840
+ ),
1841
+ createdAt: Schema.optional(Schema.String),
1842
+ lastModifiedBy: Schema.optional(Schema.String),
1843
+ lastModifiedByType: Schema.optional(
1844
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
1845
+ ),
1846
+ lastModifiedAt: Schema.optional(Schema.String),
1847
+ }),
1848
+ ),
1849
+ });
1850
+ export type GalleriesGetOutput = typeof GalleriesGetOutput.Type;
1213
1851
 
1214
1852
  // The operation
1215
1853
  /**
1216
- * Gets an image version.
1854
+ * Gets a gallery
1217
1855
  *
1218
1856
  * @param api-version - The API version to use for this operation.
1219
1857
  * @param subscriptionId - The ID of the target subscription.
1220
1858
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1221
1859
  */
1222
- export const ImageVersionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1223
- inputSchema: ImageVersionsGetInput,
1224
- outputSchema: ImageVersionsGetOutput,
1860
+ export const GalleriesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1861
+ inputSchema: GalleriesGetInput,
1862
+ outputSchema: GalleriesGetOutput,
1225
1863
  }));
1226
1864
  // Input Schema
1227
- export const ImageVersionsGetByProjectInput =
1865
+ export const GalleriesListByDevCenterInput =
1228
1866
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1229
1867
  subscriptionId: Schema.String.pipe(T.PathParam()),
1230
1868
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1231
- projectName: Schema.String.pipe(T.PathParam()),
1232
1869
  "api-version": Schema.String,
1870
+ $top: Schema.optional(Schema.Number),
1233
1871
  }).pipe(
1234
1872
  T.Http({
1235
1873
  method: "GET",
1236
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}/versions/{versionName}",
1874
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries",
1237
1875
  }),
1238
1876
  );
1239
- export type ImageVersionsGetByProjectInput =
1240
- typeof ImageVersionsGetByProjectInput.Type;
1877
+ export type GalleriesListByDevCenterInput =
1878
+ typeof GalleriesListByDevCenterInput.Type;
1241
1879
 
1242
1880
  // Output Schema
1243
- export const ImageVersionsGetByProjectOutput =
1244
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1245
- export type ImageVersionsGetByProjectOutput =
1246
- typeof ImageVersionsGetByProjectOutput.Type;
1881
+ export const GalleriesListByDevCenterOutput =
1882
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1883
+ value: Schema.optional(
1884
+ Schema.Array(
1885
+ Schema.Struct({
1886
+ id: Schema.optional(Schema.String),
1887
+ name: Schema.optional(Schema.String),
1888
+ type: Schema.optional(Schema.String),
1889
+ systemData: Schema.optional(
1890
+ Schema.Struct({
1891
+ createdBy: Schema.optional(Schema.String),
1892
+ createdByType: Schema.optional(
1893
+ Schema.Literals([
1894
+ "User",
1895
+ "Application",
1896
+ "ManagedIdentity",
1897
+ "Key",
1898
+ ]),
1899
+ ),
1900
+ createdAt: Schema.optional(Schema.String),
1901
+ lastModifiedBy: Schema.optional(Schema.String),
1902
+ lastModifiedByType: Schema.optional(
1903
+ Schema.Literals([
1904
+ "User",
1905
+ "Application",
1906
+ "ManagedIdentity",
1907
+ "Key",
1908
+ ]),
1909
+ ),
1910
+ lastModifiedAt: Schema.optional(Schema.String),
1911
+ }),
1912
+ ),
1913
+ }),
1914
+ ),
1915
+ ),
1916
+ nextLink: Schema.optional(Schema.String),
1917
+ });
1918
+ export type GalleriesListByDevCenterOutput =
1919
+ typeof GalleriesListByDevCenterOutput.Type;
1247
1920
 
1248
1921
  // The operation
1249
1922
  /**
1250
- * Gets an image version.
1923
+ * Lists galleries for a devcenter.
1251
1924
  *
1252
1925
  * @param api-version - The API version to use for this operation.
1253
1926
  * @param subscriptionId - The ID of the target subscription.
1254
1927
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1255
- * @param projectName - The name of the project.
1928
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
1256
1929
  */
1257
- export const ImageVersionsGetByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(
1930
+ export const GalleriesListByDevCenter = /*@__PURE__*/ /*#__PURE__*/ API.make(
1258
1931
  () => ({
1259
- inputSchema: ImageVersionsGetByProjectInput,
1260
- outputSchema: ImageVersionsGetByProjectOutput,
1932
+ inputSchema: GalleriesListByDevCenterInput,
1933
+ outputSchema: GalleriesListByDevCenterOutput,
1261
1934
  }),
1262
1935
  );
1263
1936
  // Input Schema
1264
- export const ImageVersionsListByImageInput =
1937
+ export const ImagesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1938
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1939
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1940
+ "api-version": Schema.String,
1941
+ }).pipe(
1942
+ T.Http({
1943
+ method: "GET",
1944
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}",
1945
+ }),
1946
+ );
1947
+ export type ImagesGetInput = typeof ImagesGetInput.Type;
1948
+
1949
+ // Output Schema
1950
+ export const ImagesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1951
+ export type ImagesGetOutput = typeof ImagesGetOutput.Type;
1952
+
1953
+ // The operation
1954
+ /**
1955
+ * Gets a gallery image.
1956
+ *
1957
+ * @param api-version - The API version to use for this operation.
1958
+ * @param subscriptionId - The ID of the target subscription.
1959
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1960
+ */
1961
+ export const ImagesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1962
+ inputSchema: ImagesGetInput,
1963
+ outputSchema: ImagesGetOutput,
1964
+ }));
1965
+ // Input Schema
1966
+ export const ImagesGetByProjectInput =
1265
1967
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1266
1968
  subscriptionId: Schema.String.pipe(T.PathParam()),
1267
1969
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1970
+ projectName: Schema.String.pipe(T.PathParam()),
1268
1971
  "api-version": Schema.String,
1269
1972
  }).pipe(
1270
1973
  T.Http({
1271
1974
  method: "GET",
1272
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions",
1975
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}",
1273
1976
  }),
1274
1977
  );
1275
- export type ImageVersionsListByImageInput =
1276
- typeof ImageVersionsListByImageInput.Type;
1978
+ export type ImagesGetByProjectInput = typeof ImagesGetByProjectInput.Type;
1277
1979
 
1278
1980
  // Output Schema
1279
- export const ImageVersionsListByImageOutput =
1280
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1281
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
1282
- nextLink: Schema.optional(Schema.String),
1283
- });
1284
- export type ImageVersionsListByImageOutput =
1285
- typeof ImageVersionsListByImageOutput.Type;
1981
+ export const ImagesGetByProjectOutput =
1982
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1983
+ export type ImagesGetByProjectOutput = typeof ImagesGetByProjectOutput.Type;
1286
1984
 
1287
1985
  // The operation
1288
1986
  /**
1289
- * Lists versions for an image.
1987
+ * Gets an image.
1290
1988
  *
1291
1989
  * @param api-version - The API version to use for this operation.
1292
1990
  * @param subscriptionId - The ID of the target subscription.
1293
1991
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1992
+ * @param projectName - The name of the project.
1294
1993
  */
1295
- export const ImageVersionsListByImage = /*@__PURE__*/ /*#__PURE__*/ API.make(
1296
- () => ({
1297
- inputSchema: ImageVersionsListByImageInput,
1298
- outputSchema: ImageVersionsListByImageOutput,
1299
- }),
1300
- );
1994
+ export const ImagesGetByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1995
+ inputSchema: ImagesGetByProjectInput,
1996
+ outputSchema: ImagesGetByProjectOutput,
1997
+ }));
1301
1998
  // Input Schema
1302
- export const ImageVersionsListByProjectInput =
1999
+ export const ImagesListByDevCenterInput =
1303
2000
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1304
2001
  subscriptionId: Schema.String.pipe(T.PathParam()),
1305
2002
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1306
- projectName: Schema.String.pipe(T.PathParam()),
1307
2003
  "api-version": Schema.String,
2004
+ $top: Schema.optional(Schema.Number),
1308
2005
  }).pipe(
1309
2006
  T.Http({
1310
2007
  method: "GET",
1311
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}/versions",
2008
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/images",
1312
2009
  }),
1313
2010
  );
1314
- export type ImageVersionsListByProjectInput =
1315
- typeof ImageVersionsListByProjectInput.Type;
2011
+ export type ImagesListByDevCenterInput = typeof ImagesListByDevCenterInput.Type;
1316
2012
 
1317
2013
  // Output Schema
1318
- export const ImageVersionsListByProjectOutput =
2014
+ export const ImagesListByDevCenterOutput =
1319
2015
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1320
2016
  value: Schema.optional(Schema.Array(Schema.Struct({}))),
1321
2017
  nextLink: Schema.optional(Schema.String),
1322
2018
  });
1323
- export type ImageVersionsListByProjectOutput =
1324
- typeof ImageVersionsListByProjectOutput.Type;
2019
+ export type ImagesListByDevCenterOutput =
2020
+ typeof ImagesListByDevCenterOutput.Type;
1325
2021
 
1326
2022
  // The operation
1327
2023
  /**
1328
- * Lists versions for an image.
2024
+ * Lists images for a devcenter.
1329
2025
  *
1330
2026
  * @param api-version - The API version to use for this operation.
1331
2027
  * @param subscriptionId - The ID of the target subscription.
1332
2028
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1333
- * @param projectName - The name of the project.
2029
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
1334
2030
  */
1335
- export const ImageVersionsListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(
2031
+ export const ImagesListByDevCenter = /*@__PURE__*/ /*#__PURE__*/ API.make(
1336
2032
  () => ({
1337
- inputSchema: ImageVersionsListByProjectInput,
1338
- outputSchema: ImageVersionsListByProjectOutput,
2033
+ inputSchema: ImagesListByDevCenterInput,
2034
+ outputSchema: ImagesListByDevCenterOutput,
1339
2035
  }),
1340
2036
  );
1341
2037
  // Input Schema
1342
- export const NetworkConnectionsCreateOrUpdateInput =
1343
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2038
+ export const ImagesListByGalleryInput =
2039
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2040
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2041
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2042
+ "api-version": Schema.String,
2043
+ $top: Schema.optional(Schema.Number),
2044
+ }).pipe(
1344
2045
  T.Http({
1345
- method: "PUT",
1346
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
2046
+ method: "GET",
2047
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images",
1347
2048
  }),
1348
2049
  );
1349
- export type NetworkConnectionsCreateOrUpdateInput =
1350
- typeof NetworkConnectionsCreateOrUpdateInput.Type;
2050
+ export type ImagesListByGalleryInput = typeof ImagesListByGalleryInput.Type;
1351
2051
 
1352
2052
  // Output Schema
1353
- export const NetworkConnectionsCreateOrUpdateOutput =
2053
+ export const ImagesListByGalleryOutput =
1354
2054
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1355
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1356
- location: Schema.String,
2055
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
2056
+ nextLink: Schema.optional(Schema.String),
1357
2057
  });
1358
- export type NetworkConnectionsCreateOrUpdateOutput =
1359
- typeof NetworkConnectionsCreateOrUpdateOutput.Type;
1360
-
1361
- // The operation
1362
- /**
1363
- * Creates or updates a Network Connections resource
1364
- */
1365
- export const NetworkConnectionsCreateOrUpdate =
1366
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1367
- inputSchema: NetworkConnectionsCreateOrUpdateInput,
1368
- outputSchema: NetworkConnectionsCreateOrUpdateOutput,
1369
- }));
1370
- // Input Schema
1371
- export const NetworkConnectionsDeleteInput =
1372
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1373
- T.Http({
1374
- method: "DELETE",
1375
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
1376
- }),
1377
- );
1378
- export type NetworkConnectionsDeleteInput =
1379
- typeof NetworkConnectionsDeleteInput.Type;
1380
-
1381
- // Output Schema
1382
- export const NetworkConnectionsDeleteOutput =
1383
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1384
- export type NetworkConnectionsDeleteOutput =
1385
- typeof NetworkConnectionsDeleteOutput.Type;
2058
+ export type ImagesListByGalleryOutput = typeof ImagesListByGalleryOutput.Type;
1386
2059
 
1387
2060
  // The operation
1388
2061
  /**
1389
- * Deletes a Network Connections resource
2062
+ * Lists images for a gallery.
2063
+ *
2064
+ * @param api-version - The API version to use for this operation.
2065
+ * @param subscriptionId - The ID of the target subscription.
2066
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2067
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
1390
2068
  */
1391
- export const NetworkConnectionsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
1392
- () => ({
1393
- inputSchema: NetworkConnectionsDeleteInput,
1394
- outputSchema: NetworkConnectionsDeleteOutput,
1395
- }),
1396
- );
2069
+ export const ImagesListByGallery = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2070
+ inputSchema: ImagesListByGalleryInput,
2071
+ outputSchema: ImagesListByGalleryOutput,
2072
+ }));
1397
2073
  // Input Schema
1398
- export const NetworkConnectionsGetInput =
1399
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2074
+ export const ImagesListByProjectInput =
2075
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2076
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2077
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2078
+ projectName: Schema.String.pipe(T.PathParam()),
2079
+ "api-version": Schema.String,
2080
+ }).pipe(
1400
2081
  T.Http({
1401
2082
  method: "GET",
1402
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
2083
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images",
1403
2084
  }),
1404
2085
  );
1405
- export type NetworkConnectionsGetInput = typeof NetworkConnectionsGetInput.Type;
2086
+ export type ImagesListByProjectInput = typeof ImagesListByProjectInput.Type;
1406
2087
 
1407
2088
  // Output Schema
1408
- export const NetworkConnectionsGetOutput =
2089
+ export const ImagesListByProjectOutput =
1409
2090
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1410
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1411
- location: Schema.String,
2091
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
2092
+ nextLink: Schema.optional(Schema.String),
1412
2093
  });
1413
- export type NetworkConnectionsGetOutput =
1414
- typeof NetworkConnectionsGetOutput.Type;
2094
+ export type ImagesListByProjectOutput = typeof ImagesListByProjectOutput.Type;
2095
+
2096
+ // The operation
2097
+ /**
2098
+ * Lists images for a project.
2099
+ *
2100
+ * @param api-version - The API version to use for this operation.
2101
+ * @param subscriptionId - The ID of the target subscription.
2102
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2103
+ * @param projectName - The name of the project.
2104
+ */
2105
+ export const ImagesListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2106
+ inputSchema: ImagesListByProjectInput,
2107
+ outputSchema: ImagesListByProjectOutput,
2108
+ }));
2109
+ // Input Schema
2110
+ export const ImageVersionsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2111
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2112
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2113
+ "api-version": Schema.String,
2114
+ }).pipe(
2115
+ T.Http({
2116
+ method: "GET",
2117
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions/{versionName}",
2118
+ }),
2119
+ );
2120
+ export type ImageVersionsGetInput = typeof ImageVersionsGetInput.Type;
2121
+
2122
+ // Output Schema
2123
+ export const ImageVersionsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2124
+ {},
2125
+ );
2126
+ export type ImageVersionsGetOutput = typeof ImageVersionsGetOutput.Type;
2127
+
2128
+ // The operation
2129
+ /**
2130
+ * Gets an image version.
2131
+ *
2132
+ * @param api-version - The API version to use for this operation.
2133
+ * @param subscriptionId - The ID of the target subscription.
2134
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2135
+ */
2136
+ export const ImageVersionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2137
+ inputSchema: ImageVersionsGetInput,
2138
+ outputSchema: ImageVersionsGetOutput,
2139
+ }));
2140
+ // Input Schema
2141
+ export const ImageVersionsGetByProjectInput =
2142
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2143
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2144
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2145
+ projectName: Schema.String.pipe(T.PathParam()),
2146
+ "api-version": Schema.String,
2147
+ }).pipe(
2148
+ T.Http({
2149
+ method: "GET",
2150
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}/versions/{versionName}",
2151
+ }),
2152
+ );
2153
+ export type ImageVersionsGetByProjectInput =
2154
+ typeof ImageVersionsGetByProjectInput.Type;
2155
+
2156
+ // Output Schema
2157
+ export const ImageVersionsGetByProjectOutput =
2158
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
2159
+ export type ImageVersionsGetByProjectOutput =
2160
+ typeof ImageVersionsGetByProjectOutput.Type;
2161
+
2162
+ // The operation
2163
+ /**
2164
+ * Gets an image version.
2165
+ *
2166
+ * @param api-version - The API version to use for this operation.
2167
+ * @param subscriptionId - The ID of the target subscription.
2168
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2169
+ * @param projectName - The name of the project.
2170
+ */
2171
+ export const ImageVersionsGetByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(
2172
+ () => ({
2173
+ inputSchema: ImageVersionsGetByProjectInput,
2174
+ outputSchema: ImageVersionsGetByProjectOutput,
2175
+ }),
2176
+ );
2177
+ // Input Schema
2178
+ export const ImageVersionsListByImageInput =
2179
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2180
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2181
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2182
+ "api-version": Schema.String,
2183
+ }).pipe(
2184
+ T.Http({
2185
+ method: "GET",
2186
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions",
2187
+ }),
2188
+ );
2189
+ export type ImageVersionsListByImageInput =
2190
+ typeof ImageVersionsListByImageInput.Type;
2191
+
2192
+ // Output Schema
2193
+ export const ImageVersionsListByImageOutput =
2194
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2195
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
2196
+ nextLink: Schema.optional(Schema.String),
2197
+ });
2198
+ export type ImageVersionsListByImageOutput =
2199
+ typeof ImageVersionsListByImageOutput.Type;
2200
+
2201
+ // The operation
2202
+ /**
2203
+ * Lists versions for an image.
2204
+ *
2205
+ * @param api-version - The API version to use for this operation.
2206
+ * @param subscriptionId - The ID of the target subscription.
2207
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2208
+ */
2209
+ export const ImageVersionsListByImage = /*@__PURE__*/ /*#__PURE__*/ API.make(
2210
+ () => ({
2211
+ inputSchema: ImageVersionsListByImageInput,
2212
+ outputSchema: ImageVersionsListByImageOutput,
2213
+ }),
2214
+ );
2215
+ // Input Schema
2216
+ export const ImageVersionsListByProjectInput =
2217
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2218
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2219
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2220
+ projectName: Schema.String.pipe(T.PathParam()),
2221
+ "api-version": Schema.String,
2222
+ }).pipe(
2223
+ T.Http({
2224
+ method: "GET",
2225
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}/versions",
2226
+ }),
2227
+ );
2228
+ export type ImageVersionsListByProjectInput =
2229
+ typeof ImageVersionsListByProjectInput.Type;
2230
+
2231
+ // Output Schema
2232
+ export const ImageVersionsListByProjectOutput =
2233
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2234
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
2235
+ nextLink: Schema.optional(Schema.String),
2236
+ });
2237
+ export type ImageVersionsListByProjectOutput =
2238
+ typeof ImageVersionsListByProjectOutput.Type;
2239
+
2240
+ // The operation
2241
+ /**
2242
+ * Lists versions for an image.
2243
+ *
2244
+ * @param api-version - The API version to use for this operation.
2245
+ * @param subscriptionId - The ID of the target subscription.
2246
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2247
+ * @param projectName - The name of the project.
2248
+ */
2249
+ export const ImageVersionsListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(
2250
+ () => ({
2251
+ inputSchema: ImageVersionsListByProjectInput,
2252
+ outputSchema: ImageVersionsListByProjectOutput,
2253
+ }),
2254
+ );
2255
+ // Input Schema
2256
+ export const NetworkConnectionsCreateOrUpdateInput =
2257
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2258
+ T.Http({
2259
+ method: "PUT",
2260
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
2261
+ }),
2262
+ );
2263
+ export type NetworkConnectionsCreateOrUpdateInput =
2264
+ typeof NetworkConnectionsCreateOrUpdateInput.Type;
2265
+
2266
+ // Output Schema
2267
+ export const NetworkConnectionsCreateOrUpdateOutput =
2268
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2269
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2270
+ location: Schema.String,
2271
+ });
2272
+ export type NetworkConnectionsCreateOrUpdateOutput =
2273
+ typeof NetworkConnectionsCreateOrUpdateOutput.Type;
2274
+
2275
+ // The operation
2276
+ /**
2277
+ * Creates or updates a Network Connections resource
2278
+ */
2279
+ export const NetworkConnectionsCreateOrUpdate =
2280
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2281
+ inputSchema: NetworkConnectionsCreateOrUpdateInput,
2282
+ outputSchema: NetworkConnectionsCreateOrUpdateOutput,
2283
+ }));
2284
+ // Input Schema
2285
+ export const NetworkConnectionsDeleteInput =
2286
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2287
+ T.Http({
2288
+ method: "DELETE",
2289
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
2290
+ }),
2291
+ );
2292
+ export type NetworkConnectionsDeleteInput =
2293
+ typeof NetworkConnectionsDeleteInput.Type;
2294
+
2295
+ // Output Schema
2296
+ export const NetworkConnectionsDeleteOutput =
2297
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2298
+ export type NetworkConnectionsDeleteOutput =
2299
+ typeof NetworkConnectionsDeleteOutput.Type;
2300
+
2301
+ // The operation
2302
+ /**
2303
+ * Deletes a Network Connections resource
2304
+ */
2305
+ export const NetworkConnectionsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
2306
+ () => ({
2307
+ inputSchema: NetworkConnectionsDeleteInput,
2308
+ outputSchema: NetworkConnectionsDeleteOutput,
2309
+ }),
2310
+ );
2311
+ // Input Schema
2312
+ export const NetworkConnectionsGetInput =
2313
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2314
+ T.Http({
2315
+ method: "GET",
2316
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
2317
+ }),
2318
+ );
2319
+ export type NetworkConnectionsGetInput = typeof NetworkConnectionsGetInput.Type;
2320
+
2321
+ // Output Schema
2322
+ export const NetworkConnectionsGetOutput =
2323
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2324
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2325
+ location: Schema.String,
2326
+ });
2327
+ export type NetworkConnectionsGetOutput =
2328
+ typeof NetworkConnectionsGetOutput.Type;
1415
2329
 
1416
2330
  // The operation
1417
2331
  /**
1418
2332
  * Gets a network connection resource
1419
2333
  */
1420
- export const NetworkConnectionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
2334
+ export const NetworkConnectionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
2335
+ () => ({
2336
+ inputSchema: NetworkConnectionsGetInput,
2337
+ outputSchema: NetworkConnectionsGetOutput,
2338
+ }),
2339
+ );
2340
+ // Input Schema
2341
+ export const NetworkConnectionsGetHealthDetailsInput =
2342
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2343
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2344
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2345
+ "api-version": Schema.String,
2346
+ }).pipe(
2347
+ T.Http({
2348
+ method: "GET",
2349
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/healthChecks/latest",
2350
+ }),
2351
+ );
2352
+ export type NetworkConnectionsGetHealthDetailsInput =
2353
+ typeof NetworkConnectionsGetHealthDetailsInput.Type;
2354
+
2355
+ // Output Schema
2356
+ export const NetworkConnectionsGetHealthDetailsOutput =
2357
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2358
+ id: Schema.optional(Schema.String),
2359
+ name: Schema.optional(Schema.String),
2360
+ type: Schema.optional(Schema.String),
2361
+ systemData: Schema.optional(
2362
+ Schema.Struct({
2363
+ createdBy: Schema.optional(Schema.String),
2364
+ createdByType: Schema.optional(
2365
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
2366
+ ),
2367
+ createdAt: Schema.optional(Schema.String),
2368
+ lastModifiedBy: Schema.optional(Schema.String),
2369
+ lastModifiedByType: Schema.optional(
2370
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
2371
+ ),
2372
+ lastModifiedAt: Schema.optional(Schema.String),
2373
+ }),
2374
+ ),
2375
+ });
2376
+ export type NetworkConnectionsGetHealthDetailsOutput =
2377
+ typeof NetworkConnectionsGetHealthDetailsOutput.Type;
2378
+
2379
+ // The operation
2380
+ /**
2381
+ * Gets health check status details.
2382
+ *
2383
+ * @param api-version - The API version to use for this operation.
2384
+ * @param subscriptionId - The ID of the target subscription.
2385
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2386
+ */
2387
+ export const NetworkConnectionsGetHealthDetails =
2388
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2389
+ inputSchema: NetworkConnectionsGetHealthDetailsInput,
2390
+ outputSchema: NetworkConnectionsGetHealthDetailsOutput,
2391
+ }));
2392
+ // Input Schema
2393
+ export const NetworkConnectionsListByResourceGroupInput =
2394
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2395
+ T.Http({
2396
+ method: "GET",
2397
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections",
2398
+ }),
2399
+ );
2400
+ export type NetworkConnectionsListByResourceGroupInput =
2401
+ typeof NetworkConnectionsListByResourceGroupInput.Type;
2402
+
2403
+ // Output Schema
2404
+ export const NetworkConnectionsListByResourceGroupOutput =
2405
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2406
+ value: Schema.optional(
2407
+ Schema.Array(
2408
+ Schema.Struct({
2409
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2410
+ location: Schema.String,
2411
+ }),
2412
+ ),
2413
+ ),
2414
+ nextLink: Schema.optional(Schema.String),
2415
+ });
2416
+ export type NetworkConnectionsListByResourceGroupOutput =
2417
+ typeof NetworkConnectionsListByResourceGroupOutput.Type;
2418
+
2419
+ // The operation
2420
+ /**
2421
+ * Lists network connections in a resource group
2422
+ */
2423
+ export const NetworkConnectionsListByResourceGroup =
2424
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2425
+ inputSchema: NetworkConnectionsListByResourceGroupInput,
2426
+ outputSchema: NetworkConnectionsListByResourceGroupOutput,
2427
+ }));
2428
+ // Input Schema
2429
+ export const NetworkConnectionsListBySubscriptionInput =
2430
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2431
+ T.Http({
2432
+ method: "GET",
2433
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/networkConnections",
2434
+ }),
2435
+ );
2436
+ export type NetworkConnectionsListBySubscriptionInput =
2437
+ typeof NetworkConnectionsListBySubscriptionInput.Type;
2438
+
2439
+ // Output Schema
2440
+ export const NetworkConnectionsListBySubscriptionOutput =
2441
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2442
+ value: Schema.optional(
2443
+ Schema.Array(
2444
+ Schema.Struct({
2445
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2446
+ location: Schema.String,
2447
+ }),
2448
+ ),
2449
+ ),
2450
+ nextLink: Schema.optional(Schema.String),
2451
+ });
2452
+ export type NetworkConnectionsListBySubscriptionOutput =
2453
+ typeof NetworkConnectionsListBySubscriptionOutput.Type;
2454
+
2455
+ // The operation
2456
+ /**
2457
+ * Lists network connections in a subscription
2458
+ */
2459
+ export const NetworkConnectionsListBySubscription =
2460
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2461
+ inputSchema: NetworkConnectionsListBySubscriptionInput,
2462
+ outputSchema: NetworkConnectionsListBySubscriptionOutput,
2463
+ }));
2464
+ // Input Schema
2465
+ export const NetworkConnectionsListHealthDetailsInput =
2466
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2467
+ T.Http({
2468
+ method: "GET",
2469
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/healthChecks",
2470
+ }),
2471
+ );
2472
+ export type NetworkConnectionsListHealthDetailsInput =
2473
+ typeof NetworkConnectionsListHealthDetailsInput.Type;
2474
+
2475
+ // Output Schema
2476
+ export const NetworkConnectionsListHealthDetailsOutput =
2477
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2478
+ value: Schema.optional(
2479
+ Schema.Array(
2480
+ Schema.Struct({
2481
+ id: Schema.optional(Schema.String),
2482
+ name: Schema.optional(Schema.String),
2483
+ type: Schema.optional(Schema.String),
2484
+ systemData: Schema.optional(
2485
+ Schema.Struct({
2486
+ createdBy: Schema.optional(Schema.String),
2487
+ createdByType: Schema.optional(
2488
+ Schema.Literals([
2489
+ "User",
2490
+ "Application",
2491
+ "ManagedIdentity",
2492
+ "Key",
2493
+ ]),
2494
+ ),
2495
+ createdAt: Schema.optional(Schema.String),
2496
+ lastModifiedBy: Schema.optional(Schema.String),
2497
+ lastModifiedByType: Schema.optional(
2498
+ Schema.Literals([
2499
+ "User",
2500
+ "Application",
2501
+ "ManagedIdentity",
2502
+ "Key",
2503
+ ]),
2504
+ ),
2505
+ lastModifiedAt: Schema.optional(Schema.String),
2506
+ }),
2507
+ ),
2508
+ }),
2509
+ ),
2510
+ ),
2511
+ nextLink: Schema.optional(Schema.String),
2512
+ });
2513
+ export type NetworkConnectionsListHealthDetailsOutput =
2514
+ typeof NetworkConnectionsListHealthDetailsOutput.Type;
2515
+
2516
+ // The operation
2517
+ /**
2518
+ * Lists health check status details
2519
+ */
2520
+ export const NetworkConnectionsListHealthDetails =
2521
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2522
+ inputSchema: NetworkConnectionsListHealthDetailsInput,
2523
+ outputSchema: NetworkConnectionsListHealthDetailsOutput,
2524
+ }));
2525
+ // Input Schema
2526
+ export const NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput =
2527
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2528
+ T.Http({
2529
+ method: "GET",
2530
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/outboundNetworkDependenciesEndpoints",
2531
+ }),
2532
+ );
2533
+ export type NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput =
2534
+ typeof NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput.Type;
2535
+
2536
+ // Output Schema
2537
+ export const NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput =
2538
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2539
+ value: Schema.optional(
2540
+ Schema.Array(
2541
+ Schema.Struct({
2542
+ category: Schema.optional(Schema.String),
2543
+ endpoints: Schema.optional(
2544
+ Schema.Array(
2545
+ Schema.Struct({
2546
+ domainName: Schema.optional(Schema.String),
2547
+ description: Schema.optional(Schema.String),
2548
+ endpointDetails: Schema.optional(
2549
+ Schema.Array(
2550
+ Schema.Struct({
2551
+ port: Schema.optional(Schema.Number),
2552
+ }),
2553
+ ),
2554
+ ),
2555
+ }),
2556
+ ),
2557
+ ),
2558
+ }),
2559
+ ),
2560
+ ),
2561
+ nextLink: Schema.optional(Schema.String),
2562
+ });
2563
+ export type NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput =
2564
+ typeof NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput.Type;
2565
+
2566
+ // The operation
2567
+ /**
2568
+ * Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs should be allowed for outbound access in order for the Dev Box service to function.
2569
+ */
2570
+ export const NetworkConnectionsListOutboundNetworkDependenciesEndpoints =
2571
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2572
+ inputSchema:
2573
+ NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput,
2574
+ outputSchema:
2575
+ NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput,
2576
+ }));
2577
+ // Input Schema
2578
+ export const NetworkConnectionsRunHealthChecksInput =
2579
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2580
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2581
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2582
+ "api-version": Schema.String,
2583
+ }).pipe(
2584
+ T.Http({
2585
+ method: "POST",
2586
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/runHealthChecks",
2587
+ }),
2588
+ );
2589
+ export type NetworkConnectionsRunHealthChecksInput =
2590
+ typeof NetworkConnectionsRunHealthChecksInput.Type;
2591
+
2592
+ // Output Schema
2593
+ export const NetworkConnectionsRunHealthChecksOutput =
2594
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2595
+ export type NetworkConnectionsRunHealthChecksOutput =
2596
+ typeof NetworkConnectionsRunHealthChecksOutput.Type;
2597
+
2598
+ // The operation
2599
+ /**
2600
+ * Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details
2601
+ *
2602
+ * @param api-version - The API version to use for this operation.
2603
+ * @param subscriptionId - The ID of the target subscription.
2604
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2605
+ */
2606
+ export const NetworkConnectionsRunHealthChecks =
2607
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2608
+ inputSchema: NetworkConnectionsRunHealthChecksInput,
2609
+ outputSchema: NetworkConnectionsRunHealthChecksOutput,
2610
+ }));
2611
+ // Input Schema
2612
+ export const NetworkConnectionsUpdateInput =
2613
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2614
+ T.Http({
2615
+ method: "PATCH",
2616
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
2617
+ }),
2618
+ );
2619
+ export type NetworkConnectionsUpdateInput =
2620
+ typeof NetworkConnectionsUpdateInput.Type;
2621
+
2622
+ // Output Schema
2623
+ export const NetworkConnectionsUpdateOutput =
2624
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2625
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2626
+ location: Schema.String,
2627
+ });
2628
+ export type NetworkConnectionsUpdateOutput =
2629
+ typeof NetworkConnectionsUpdateOutput.Type;
2630
+
2631
+ // The operation
2632
+ /**
2633
+ * Partially updates a Network Connection
2634
+ */
2635
+ export const NetworkConnectionsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
2636
+ () => ({
2637
+ inputSchema: NetworkConnectionsUpdateInput,
2638
+ outputSchema: NetworkConnectionsUpdateOutput,
2639
+ }),
2640
+ );
2641
+ // Input Schema
2642
+ export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2643
+ "api-version": Schema.String,
2644
+ }).pipe(
2645
+ T.Http({ method: "GET", path: "/providers/Microsoft.DevCenter/operations" }),
2646
+ );
2647
+ export type OperationsListInput = typeof OperationsListInput.Type;
2648
+
2649
+ // Output Schema
2650
+ export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2651
+ value: Schema.optional(
2652
+ Schema.Array(
2653
+ Schema.Struct({
2654
+ name: Schema.optional(Schema.String),
2655
+ isDataAction: Schema.optional(Schema.Boolean),
2656
+ display: Schema.optional(
2657
+ Schema.Struct({
2658
+ provider: Schema.optional(Schema.String),
2659
+ resource: Schema.optional(Schema.String),
2660
+ operation: Schema.optional(Schema.String),
2661
+ description: Schema.optional(Schema.String),
2662
+ }),
2663
+ ),
2664
+ origin: Schema.optional(
2665
+ Schema.Literals(["user", "system", "user,system"]),
2666
+ ),
2667
+ actionType: Schema.optional(Schema.Literals(["Internal"])),
2668
+ }),
2669
+ ),
2670
+ ),
2671
+ nextLink: Schema.optional(Schema.String),
2672
+ });
2673
+ export type OperationsListOutput = typeof OperationsListOutput.Type;
2674
+
2675
+ // The operation
2676
+ /**
2677
+ * Lists all of the available resource provider operations.
2678
+ *
2679
+ * @param api-version - The API version to use for this operation.
2680
+ */
2681
+ export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2682
+ inputSchema: OperationsListInput,
2683
+ outputSchema: OperationsListOutput,
2684
+ }));
2685
+ // Input Schema
2686
+ export const OperationStatusesGetInput =
2687
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2688
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2689
+ "api-version": Schema.String,
2690
+ }).pipe(
2691
+ T.Http({
2692
+ method: "GET",
2693
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/locations/{location}/operationStatuses/{operationId}",
2694
+ }),
2695
+ );
2696
+ export type OperationStatusesGetInput = typeof OperationStatusesGetInput.Type;
2697
+
2698
+ // Output Schema
2699
+ export const OperationStatusesGetOutput =
2700
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2701
+ id: Schema.optional(Schema.String),
2702
+ resourceId: Schema.optional(Schema.String),
2703
+ name: Schema.optional(Schema.String),
2704
+ status: Schema.String,
2705
+ percentComplete: Schema.optional(Schema.Number),
2706
+ startTime: Schema.optional(Schema.String),
2707
+ endTime: Schema.optional(Schema.String),
2708
+ operations: Schema.optional(
2709
+ Schema.Array(
2710
+ Schema.Struct({
2711
+ id: Schema.optional(Schema.String),
2712
+ resourceId: Schema.optional(Schema.String),
2713
+ name: Schema.optional(Schema.String),
2714
+ status: Schema.String,
2715
+ percentComplete: Schema.optional(Schema.Number),
2716
+ startTime: Schema.optional(Schema.String),
2717
+ endTime: Schema.optional(Schema.String),
2718
+ operations: Schema.optional(Schema.Array(Schema.Unknown)),
2719
+ error: Schema.optional(
2720
+ Schema.Struct({
2721
+ code: Schema.optional(Schema.String),
2722
+ message: Schema.optional(Schema.String),
2723
+ target: Schema.optional(Schema.String),
2724
+ details: Schema.optional(Schema.Array(Schema.Unknown)),
2725
+ additionalInfo: Schema.optional(
2726
+ Schema.Array(
2727
+ Schema.Struct({
2728
+ type: Schema.optional(Schema.String),
2729
+ info: Schema.optional(Schema.Unknown),
2730
+ }),
2731
+ ),
2732
+ ),
2733
+ }),
2734
+ ),
2735
+ }),
2736
+ ),
2737
+ ),
2738
+ error: Schema.optional(
2739
+ Schema.Struct({
2740
+ code: Schema.optional(Schema.String),
2741
+ message: Schema.optional(Schema.String),
2742
+ target: Schema.optional(Schema.String),
2743
+ details: Schema.optional(Schema.Array(Schema.Unknown)),
2744
+ additionalInfo: Schema.optional(
2745
+ Schema.Array(
2746
+ Schema.Struct({
2747
+ type: Schema.optional(Schema.String),
2748
+ info: Schema.optional(Schema.Unknown),
2749
+ }),
2750
+ ),
2751
+ ),
2752
+ }),
2753
+ ),
2754
+ });
2755
+ export type OperationStatusesGetOutput = typeof OperationStatusesGetOutput.Type;
2756
+
2757
+ // The operation
2758
+ /**
2759
+ * Get Operation Status
2760
+ *
2761
+ * Gets the current status of an async operation.
2762
+ *
2763
+ * @param api-version - The API version to use for this operation.
2764
+ * @param subscriptionId - The ID of the target subscription.
2765
+ */
2766
+ export const OperationStatusesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
2767
+ () => ({
2768
+ inputSchema: OperationStatusesGetInput,
2769
+ outputSchema: OperationStatusesGetOutput,
2770
+ }),
2771
+ );
2772
+ // Input Schema
2773
+ export const PoolsCreateOrUpdateInput =
2774
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2775
+ T.Http({
2776
+ method: "PUT",
2777
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
2778
+ }),
2779
+ );
2780
+ export type PoolsCreateOrUpdateInput = typeof PoolsCreateOrUpdateInput.Type;
2781
+
2782
+ // Output Schema
2783
+ export const PoolsCreateOrUpdateOutput =
2784
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2785
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2786
+ location: Schema.String,
2787
+ });
2788
+ export type PoolsCreateOrUpdateOutput = typeof PoolsCreateOrUpdateOutput.Type;
2789
+
2790
+ // The operation
2791
+ /**
2792
+ * Creates or updates a machine pool
2793
+ */
2794
+ export const PoolsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2795
+ inputSchema: PoolsCreateOrUpdateInput,
2796
+ outputSchema: PoolsCreateOrUpdateOutput,
2797
+ }));
2798
+ // Input Schema
2799
+ export const PoolsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2800
+ {},
2801
+ ).pipe(
2802
+ T.Http({
2803
+ method: "DELETE",
2804
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
2805
+ }),
2806
+ );
2807
+ export type PoolsDeleteInput = typeof PoolsDeleteInput.Type;
2808
+
2809
+ // Output Schema
2810
+ export const PoolsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2811
+ export type PoolsDeleteOutput = typeof PoolsDeleteOutput.Type;
2812
+
2813
+ // The operation
2814
+ /**
2815
+ * Deletes a machine pool
2816
+ */
2817
+ export const PoolsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2818
+ inputSchema: PoolsDeleteInput,
2819
+ outputSchema: PoolsDeleteOutput,
2820
+ }));
2821
+ // Input Schema
2822
+ export const PoolsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2823
+ T.Http({
2824
+ method: "GET",
2825
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
2826
+ }),
2827
+ );
2828
+ export type PoolsGetInput = typeof PoolsGetInput.Type;
2829
+
2830
+ // Output Schema
2831
+ export const PoolsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2832
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2833
+ location: Schema.String,
2834
+ });
2835
+ export type PoolsGetOutput = typeof PoolsGetOutput.Type;
2836
+
2837
+ // The operation
2838
+ /**
2839
+ * Gets a machine pool
2840
+ */
2841
+ export const PoolsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2842
+ inputSchema: PoolsGetInput,
2843
+ outputSchema: PoolsGetOutput,
2844
+ }));
2845
+ // Input Schema
2846
+ export const PoolsListByProjectInput =
2847
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2848
+ T.Http({
2849
+ method: "GET",
2850
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools",
2851
+ }),
2852
+ );
2853
+ export type PoolsListByProjectInput = typeof PoolsListByProjectInput.Type;
2854
+
2855
+ // Output Schema
2856
+ export const PoolsListByProjectOutput =
2857
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2858
+ value: Schema.optional(
2859
+ Schema.Array(
2860
+ Schema.Struct({
2861
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2862
+ location: Schema.String,
2863
+ }),
2864
+ ),
2865
+ ),
2866
+ nextLink: Schema.optional(Schema.String),
2867
+ });
2868
+ export type PoolsListByProjectOutput = typeof PoolsListByProjectOutput.Type;
2869
+
2870
+ // The operation
2871
+ /**
2872
+ * Lists pools for a project
2873
+ */
2874
+ export const PoolsListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2875
+ inputSchema: PoolsListByProjectInput,
2876
+ outputSchema: PoolsListByProjectOutput,
2877
+ }));
2878
+ // Input Schema
2879
+ export const PoolsRunHealthChecksInput =
2880
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2881
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2882
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2883
+ projectName: Schema.String.pipe(T.PathParam()),
2884
+ "api-version": Schema.String,
2885
+ }).pipe(
2886
+ T.Http({
2887
+ method: "POST",
2888
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/runHealthChecks",
2889
+ }),
2890
+ );
2891
+ export type PoolsRunHealthChecksInput = typeof PoolsRunHealthChecksInput.Type;
2892
+
2893
+ // Output Schema
2894
+ export const PoolsRunHealthChecksOutput =
2895
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2896
+ export type PoolsRunHealthChecksOutput = typeof PoolsRunHealthChecksOutput.Type;
2897
+
2898
+ // The operation
2899
+ /**
2900
+ * Triggers a refresh of the pool status.
2901
+ *
2902
+ * @param api-version - The API version to use for this operation.
2903
+ * @param subscriptionId - The ID of the target subscription.
2904
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2905
+ * @param projectName - The name of the project.
2906
+ */
2907
+ export const PoolsRunHealthChecks = /*@__PURE__*/ /*#__PURE__*/ API.make(
1421
2908
  () => ({
1422
- inputSchema: NetworkConnectionsGetInput,
1423
- outputSchema: NetworkConnectionsGetOutput,
2909
+ inputSchema: PoolsRunHealthChecksInput,
2910
+ outputSchema: PoolsRunHealthChecksOutput,
1424
2911
  }),
1425
2912
  );
1426
2913
  // Input Schema
1427
- export const NetworkConnectionsListByResourceGroupInput =
1428
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
2914
+ export const PoolsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2915
+ {},
2916
+ ).pipe(
2917
+ T.Http({
2918
+ method: "PATCH",
2919
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
2920
+ }),
2921
+ );
2922
+ export type PoolsUpdateInput = typeof PoolsUpdateInput.Type;
2923
+
2924
+ // Output Schema
2925
+ export const PoolsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2926
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2927
+ location: Schema.String,
2928
+ });
2929
+ export type PoolsUpdateOutput = typeof PoolsUpdateOutput.Type;
2930
+
2931
+ // The operation
2932
+ /**
2933
+ * Partially updates a machine pool
2934
+ */
2935
+ export const PoolsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2936
+ inputSchema: PoolsUpdateInput,
2937
+ outputSchema: PoolsUpdateOutput,
2938
+ }));
2939
+ // Input Schema
2940
+ export const ProjectAllowedEnvironmentTypesGetInput =
2941
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2942
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2943
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2944
+ "api-version": Schema.String,
2945
+ }).pipe(
1429
2946
  T.Http({
1430
2947
  method: "GET",
1431
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections",
2948
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes/{environmentTypeName}",
1432
2949
  }),
1433
2950
  );
1434
- export type NetworkConnectionsListByResourceGroupInput =
1435
- typeof NetworkConnectionsListByResourceGroupInput.Type;
2951
+ export type ProjectAllowedEnvironmentTypesGetInput =
2952
+ typeof ProjectAllowedEnvironmentTypesGetInput.Type;
1436
2953
 
1437
2954
  // Output Schema
1438
- export const NetworkConnectionsListByResourceGroupOutput =
2955
+ export const ProjectAllowedEnvironmentTypesGetOutput =
2956
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2957
+ id: Schema.optional(Schema.String),
2958
+ name: Schema.optional(Schema.String),
2959
+ type: Schema.optional(Schema.String),
2960
+ systemData: Schema.optional(
2961
+ Schema.Struct({
2962
+ createdBy: Schema.optional(Schema.String),
2963
+ createdByType: Schema.optional(
2964
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
2965
+ ),
2966
+ createdAt: Schema.optional(Schema.String),
2967
+ lastModifiedBy: Schema.optional(Schema.String),
2968
+ lastModifiedByType: Schema.optional(
2969
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
2970
+ ),
2971
+ lastModifiedAt: Schema.optional(Schema.String),
2972
+ }),
2973
+ ),
2974
+ });
2975
+ export type ProjectAllowedEnvironmentTypesGetOutput =
2976
+ typeof ProjectAllowedEnvironmentTypesGetOutput.Type;
2977
+
2978
+ // The operation
2979
+ /**
2980
+ * Gets an allowed environment type.
2981
+ *
2982
+ * @param api-version - The API version to use for this operation.
2983
+ * @param subscriptionId - The ID of the target subscription.
2984
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2985
+ */
2986
+ export const ProjectAllowedEnvironmentTypesGet =
2987
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2988
+ inputSchema: ProjectAllowedEnvironmentTypesGetInput,
2989
+ outputSchema: ProjectAllowedEnvironmentTypesGetOutput,
2990
+ }));
2991
+ // Input Schema
2992
+ export const ProjectAllowedEnvironmentTypesListInput =
2993
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2994
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2995
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2996
+ "api-version": Schema.String,
2997
+ $top: Schema.optional(Schema.Number),
2998
+ }).pipe(
2999
+ T.Http({
3000
+ method: "GET",
3001
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes",
3002
+ }),
3003
+ );
3004
+ export type ProjectAllowedEnvironmentTypesListInput =
3005
+ typeof ProjectAllowedEnvironmentTypesListInput.Type;
3006
+
3007
+ // Output Schema
3008
+ export const ProjectAllowedEnvironmentTypesListOutput =
1439
3009
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1440
3010
  value: Schema.optional(
1441
3011
  Schema.Array(
1442
3012
  Schema.Struct({
1443
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1444
- location: Schema.String,
3013
+ id: Schema.optional(Schema.String),
3014
+ name: Schema.optional(Schema.String),
3015
+ type: Schema.optional(Schema.String),
3016
+ systemData: Schema.optional(
3017
+ Schema.Struct({
3018
+ createdBy: Schema.optional(Schema.String),
3019
+ createdByType: Schema.optional(
3020
+ Schema.Literals([
3021
+ "User",
3022
+ "Application",
3023
+ "ManagedIdentity",
3024
+ "Key",
3025
+ ]),
3026
+ ),
3027
+ createdAt: Schema.optional(Schema.String),
3028
+ lastModifiedBy: Schema.optional(Schema.String),
3029
+ lastModifiedByType: Schema.optional(
3030
+ Schema.Literals([
3031
+ "User",
3032
+ "Application",
3033
+ "ManagedIdentity",
3034
+ "Key",
3035
+ ]),
3036
+ ),
3037
+ lastModifiedAt: Schema.optional(Schema.String),
3038
+ }),
3039
+ ),
1445
3040
  }),
1446
3041
  ),
1447
3042
  ),
1448
3043
  nextLink: Schema.optional(Schema.String),
1449
3044
  });
1450
- export type NetworkConnectionsListByResourceGroupOutput =
1451
- typeof NetworkConnectionsListByResourceGroupOutput.Type;
3045
+ export type ProjectAllowedEnvironmentTypesListOutput =
3046
+ typeof ProjectAllowedEnvironmentTypesListOutput.Type;
3047
+
3048
+ // The operation
3049
+ /**
3050
+ * Lists allowed environment types for a project.
3051
+ *
3052
+ * @param api-version - The API version to use for this operation.
3053
+ * @param subscriptionId - The ID of the target subscription.
3054
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3055
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
3056
+ */
3057
+ export const ProjectAllowedEnvironmentTypesList =
3058
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3059
+ inputSchema: ProjectAllowedEnvironmentTypesListInput,
3060
+ outputSchema: ProjectAllowedEnvironmentTypesListOutput,
3061
+ }));
3062
+ // Input Schema
3063
+ export const ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput =
3064
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3065
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3066
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3067
+ "api-version": Schema.String,
3068
+ }).pipe(
3069
+ T.Http({
3070
+ method: "POST",
3071
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{environmentDefinitionName}/getErrorDetails",
3072
+ }),
3073
+ );
3074
+ export type ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput =
3075
+ typeof ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput.Type;
3076
+
3077
+ // Output Schema
3078
+ export const ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput =
3079
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3080
+ errors: Schema.optional(
3081
+ Schema.Array(
3082
+ Schema.Struct({
3083
+ code: Schema.optional(Schema.String),
3084
+ message: Schema.optional(Schema.String),
3085
+ }),
3086
+ ),
3087
+ ),
3088
+ });
3089
+ export type ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput =
3090
+ typeof ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput.Type;
3091
+
3092
+ // The operation
3093
+ /**
3094
+ * Gets Environment Definition error details
3095
+ *
3096
+ * @param api-version - The API version to use for this operation.
3097
+ * @param subscriptionId - The ID of the target subscription.
3098
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3099
+ */
3100
+ export const ProjectCatalogEnvironmentDefinitionsGetErrorDetails =
3101
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3102
+ inputSchema: ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput,
3103
+ outputSchema: ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput,
3104
+ }));
3105
+ // Input Schema
3106
+ export const ProjectCatalogImageDefinitionBuildCancelInput =
3107
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3108
+ T.Http({
3109
+ method: "POST",
3110
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel",
3111
+ }),
3112
+ );
3113
+ export type ProjectCatalogImageDefinitionBuildCancelInput =
3114
+ typeof ProjectCatalogImageDefinitionBuildCancelInput.Type;
3115
+
3116
+ // Output Schema
3117
+ export const ProjectCatalogImageDefinitionBuildCancelOutput =
3118
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
3119
+ export type ProjectCatalogImageDefinitionBuildCancelOutput =
3120
+ typeof ProjectCatalogImageDefinitionBuildCancelOutput.Type;
3121
+
3122
+ // The operation
3123
+ /**
3124
+ * Cancels the specified build for an image definition.
3125
+ */
3126
+ export const ProjectCatalogImageDefinitionBuildCancel =
3127
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3128
+ inputSchema: ProjectCatalogImageDefinitionBuildCancelInput,
3129
+ outputSchema: ProjectCatalogImageDefinitionBuildCancelOutput,
3130
+ }));
3131
+ // Input Schema
3132
+ export const ProjectCatalogImageDefinitionBuildGetInput =
3133
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3134
+ T.Http({
3135
+ method: "GET",
3136
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}",
3137
+ }),
3138
+ );
3139
+ export type ProjectCatalogImageDefinitionBuildGetInput =
3140
+ typeof ProjectCatalogImageDefinitionBuildGetInput.Type;
3141
+
3142
+ // Output Schema
3143
+ export const ProjectCatalogImageDefinitionBuildGetOutput =
3144
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
3145
+ export type ProjectCatalogImageDefinitionBuildGetOutput =
3146
+ typeof ProjectCatalogImageDefinitionBuildGetOutput.Type;
3147
+
3148
+ // The operation
3149
+ /**
3150
+ * Gets a build for a specified image definition.
3151
+ */
3152
+ export const ProjectCatalogImageDefinitionBuildGet =
3153
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3154
+ inputSchema: ProjectCatalogImageDefinitionBuildGetInput,
3155
+ outputSchema: ProjectCatalogImageDefinitionBuildGetOutput,
3156
+ }));
3157
+ // Input Schema
3158
+ export const ProjectCatalogImageDefinitionBuildGetBuildDetailsInput =
3159
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3160
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3161
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3162
+ "api-version": Schema.String,
3163
+ }).pipe(
3164
+ T.Http({
3165
+ method: "POST",
3166
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/getBuildDetails",
3167
+ }),
3168
+ );
3169
+ export type ProjectCatalogImageDefinitionBuildGetBuildDetailsInput =
3170
+ typeof ProjectCatalogImageDefinitionBuildGetBuildDetailsInput.Type;
3171
+
3172
+ // Output Schema
3173
+ export const ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput =
3174
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
3175
+ export type ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput =
3176
+ typeof ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput.Type;
3177
+
3178
+ // The operation
3179
+ /**
3180
+ * Gets Build details
3181
+ *
3182
+ * @param api-version - The API version to use for this operation.
3183
+ * @param subscriptionId - The ID of the target subscription.
3184
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3185
+ */
3186
+ export const ProjectCatalogImageDefinitionBuildGetBuildDetails =
3187
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3188
+ inputSchema: ProjectCatalogImageDefinitionBuildGetBuildDetailsInput,
3189
+ outputSchema: ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput,
3190
+ }));
3191
+ // Input Schema
3192
+ export const ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput =
3193
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3194
+ T.Http({
3195
+ method: "GET",
3196
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds",
3197
+ }),
3198
+ );
3199
+ export type ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput =
3200
+ typeof ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput.Type;
3201
+
3202
+ // Output Schema
3203
+ export const ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput =
3204
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3205
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
3206
+ nextLink: Schema.optional(Schema.String),
3207
+ });
3208
+ export type ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput =
3209
+ typeof ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput.Type;
1452
3210
 
1453
3211
  // The operation
1454
3212
  /**
1455
- * Lists network connections in a resource group
3213
+ * Lists builds for a specified image definition.
1456
3214
  */
1457
- export const NetworkConnectionsListByResourceGroup =
3215
+ export const ProjectCatalogImageDefinitionBuildsListByImageDefinition =
1458
3216
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1459
- inputSchema: NetworkConnectionsListByResourceGroupInput,
1460
- outputSchema: NetworkConnectionsListByResourceGroupOutput,
3217
+ inputSchema: ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput,
3218
+ outputSchema:
3219
+ ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput,
1461
3220
  }));
1462
3221
  // Input Schema
1463
- export const NetworkConnectionsListBySubscriptionInput =
3222
+ export const ProjectCatalogImageDefinitionsBuildImageInput =
1464
3223
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1465
3224
  T.Http({
1466
- method: "GET",
1467
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/networkConnections",
3225
+ method: "POST",
3226
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/buildImage",
1468
3227
  }),
1469
3228
  );
1470
- export type NetworkConnectionsListBySubscriptionInput =
1471
- typeof NetworkConnectionsListBySubscriptionInput.Type;
3229
+ export type ProjectCatalogImageDefinitionsBuildImageInput =
3230
+ typeof ProjectCatalogImageDefinitionsBuildImageInput.Type;
1472
3231
 
1473
3232
  // Output Schema
1474
- export const NetworkConnectionsListBySubscriptionOutput =
1475
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1476
- value: Schema.optional(
1477
- Schema.Array(
1478
- Schema.Struct({
1479
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1480
- location: Schema.String,
1481
- }),
1482
- ),
1483
- ),
1484
- nextLink: Schema.optional(Schema.String),
1485
- });
1486
- export type NetworkConnectionsListBySubscriptionOutput =
1487
- typeof NetworkConnectionsListBySubscriptionOutput.Type;
3233
+ export const ProjectCatalogImageDefinitionsBuildImageOutput =
3234
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
3235
+ export type ProjectCatalogImageDefinitionsBuildImageOutput =
3236
+ typeof ProjectCatalogImageDefinitionsBuildImageOutput.Type;
1488
3237
 
1489
3238
  // The operation
1490
3239
  /**
1491
- * Lists network connections in a subscription
3240
+ * Builds an image for the specified Image Definition.
1492
3241
  */
1493
- export const NetworkConnectionsListBySubscription =
3242
+ export const ProjectCatalogImageDefinitionsBuildImage =
1494
3243
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1495
- inputSchema: NetworkConnectionsListBySubscriptionInput,
1496
- outputSchema: NetworkConnectionsListBySubscriptionOutput,
3244
+ inputSchema: ProjectCatalogImageDefinitionsBuildImageInput,
3245
+ outputSchema: ProjectCatalogImageDefinitionsBuildImageOutput,
1497
3246
  }));
1498
3247
  // Input Schema
1499
- export const NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput =
3248
+ export const ProjectCatalogImageDefinitionsGetByProjectCatalogInput =
1500
3249
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1501
3250
  T.Http({
1502
3251
  method: "GET",
1503
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/outboundNetworkDependenciesEndpoints",
3252
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}",
1504
3253
  }),
1505
3254
  );
1506
- export type NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput =
1507
- typeof NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput.Type;
3255
+ export type ProjectCatalogImageDefinitionsGetByProjectCatalogInput =
3256
+ typeof ProjectCatalogImageDefinitionsGetByProjectCatalogInput.Type;
1508
3257
 
1509
3258
  // Output Schema
1510
- export const NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput =
1511
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1512
- value: Schema.optional(
1513
- Schema.Array(
1514
- Schema.Struct({
1515
- category: Schema.optional(Schema.String),
1516
- endpoints: Schema.optional(
1517
- Schema.Array(
1518
- Schema.Struct({
1519
- domainName: Schema.optional(Schema.String),
1520
- description: Schema.optional(Schema.String),
1521
- endpointDetails: Schema.optional(
1522
- Schema.Array(
1523
- Schema.Struct({
1524
- port: Schema.optional(Schema.Number),
1525
- }),
1526
- ),
1527
- ),
1528
- }),
1529
- ),
1530
- ),
1531
- }),
1532
- ),
1533
- ),
1534
- nextLink: Schema.optional(Schema.String),
1535
- });
1536
- export type NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput =
1537
- typeof NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput.Type;
3259
+ export const ProjectCatalogImageDefinitionsGetByProjectCatalogOutput =
3260
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
3261
+ export type ProjectCatalogImageDefinitionsGetByProjectCatalogOutput =
3262
+ typeof ProjectCatalogImageDefinitionsGetByProjectCatalogOutput.Type;
1538
3263
 
1539
3264
  // The operation
1540
3265
  /**
1541
- * Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs should be allowed for outbound access in order for the Dev Box service to function.
3266
+ * Gets an Image Definition from the catalog
1542
3267
  */
1543
- export const NetworkConnectionsListOutboundNetworkDependenciesEndpoints =
3268
+ export const ProjectCatalogImageDefinitionsGetByProjectCatalog =
1544
3269
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1545
- inputSchema:
1546
- NetworkConnectionsListOutboundNetworkDependenciesEndpointsInput,
1547
- outputSchema:
1548
- NetworkConnectionsListOutboundNetworkDependenciesEndpointsOutput,
3270
+ inputSchema: ProjectCatalogImageDefinitionsGetByProjectCatalogInput,
3271
+ outputSchema: ProjectCatalogImageDefinitionsGetByProjectCatalogOutput,
1549
3272
  }));
1550
3273
  // Input Schema
1551
- export const NetworkConnectionsRunHealthChecksInput =
3274
+ export const ProjectCatalogImageDefinitionsGetErrorDetailsInput =
1552
3275
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1553
3276
  subscriptionId: Schema.String.pipe(T.PathParam()),
1554
3277
  resourceGroupName: Schema.String.pipe(T.PathParam()),
@@ -1556,230 +3279,241 @@ export const NetworkConnectionsRunHealthChecksInput =
1556
3279
  }).pipe(
1557
3280
  T.Http({
1558
3281
  method: "POST",
1559
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/runHealthChecks",
3282
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/getErrorDetails",
1560
3283
  }),
1561
3284
  );
1562
- export type NetworkConnectionsRunHealthChecksInput =
1563
- typeof NetworkConnectionsRunHealthChecksInput.Type;
3285
+ export type ProjectCatalogImageDefinitionsGetErrorDetailsInput =
3286
+ typeof ProjectCatalogImageDefinitionsGetErrorDetailsInput.Type;
1564
3287
 
1565
3288
  // Output Schema
1566
- export const NetworkConnectionsRunHealthChecksOutput =
1567
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1568
- export type NetworkConnectionsRunHealthChecksOutput =
1569
- typeof NetworkConnectionsRunHealthChecksOutput.Type;
3289
+ export const ProjectCatalogImageDefinitionsGetErrorDetailsOutput =
3290
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3291
+ errors: Schema.optional(
3292
+ Schema.Array(
3293
+ Schema.Struct({
3294
+ code: Schema.optional(Schema.String),
3295
+ message: Schema.optional(Schema.String),
3296
+ }),
3297
+ ),
3298
+ ),
3299
+ });
3300
+ export type ProjectCatalogImageDefinitionsGetErrorDetailsOutput =
3301
+ typeof ProjectCatalogImageDefinitionsGetErrorDetailsOutput.Type;
1570
3302
 
1571
3303
  // The operation
1572
3304
  /**
1573
- * Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details
3305
+ * Gets Image Definition error details
1574
3306
  *
1575
3307
  * @param api-version - The API version to use for this operation.
1576
3308
  * @param subscriptionId - The ID of the target subscription.
1577
3309
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1578
3310
  */
1579
- export const NetworkConnectionsRunHealthChecks =
3311
+ export const ProjectCatalogImageDefinitionsGetErrorDetails =
1580
3312
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1581
- inputSchema: NetworkConnectionsRunHealthChecksInput,
1582
- outputSchema: NetworkConnectionsRunHealthChecksOutput,
3313
+ inputSchema: ProjectCatalogImageDefinitionsGetErrorDetailsInput,
3314
+ outputSchema: ProjectCatalogImageDefinitionsGetErrorDetailsOutput,
1583
3315
  }));
1584
3316
  // Input Schema
1585
- export const NetworkConnectionsUpdateInput =
3317
+ export const ProjectCatalogImageDefinitionsListByProjectCatalogInput =
1586
3318
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1587
3319
  T.Http({
1588
- method: "PATCH",
1589
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}",
3320
+ method: "GET",
3321
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions",
1590
3322
  }),
1591
3323
  );
1592
- export type NetworkConnectionsUpdateInput =
1593
- typeof NetworkConnectionsUpdateInput.Type;
3324
+ export type ProjectCatalogImageDefinitionsListByProjectCatalogInput =
3325
+ typeof ProjectCatalogImageDefinitionsListByProjectCatalogInput.Type;
1594
3326
 
1595
3327
  // Output Schema
1596
- export const NetworkConnectionsUpdateOutput =
3328
+ export const ProjectCatalogImageDefinitionsListByProjectCatalogOutput =
1597
3329
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1598
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1599
- location: Schema.String,
3330
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
3331
+ nextLink: Schema.optional(Schema.String),
1600
3332
  });
1601
- export type NetworkConnectionsUpdateOutput =
1602
- typeof NetworkConnectionsUpdateOutput.Type;
3333
+ export type ProjectCatalogImageDefinitionsListByProjectCatalogOutput =
3334
+ typeof ProjectCatalogImageDefinitionsListByProjectCatalogOutput.Type;
1603
3335
 
1604
3336
  // The operation
1605
3337
  /**
1606
- * Partially updates a Network Connection
3338
+ * List Image Definitions in the catalog.
1607
3339
  */
1608
- export const NetworkConnectionsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
1609
- () => ({
1610
- inputSchema: NetworkConnectionsUpdateInput,
1611
- outputSchema: NetworkConnectionsUpdateOutput,
1612
- }),
1613
- );
3340
+ export const ProjectCatalogImageDefinitionsListByProjectCatalog =
3341
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3342
+ inputSchema: ProjectCatalogImageDefinitionsListByProjectCatalogInput,
3343
+ outputSchema: ProjectCatalogImageDefinitionsListByProjectCatalogOutput,
3344
+ }));
1614
3345
  // Input Schema
1615
- export const PoolsCreateOrUpdateInput =
1616
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3346
+ export const ProjectCatalogsConnectInput =
3347
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3348
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3349
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3350
+ "api-version": Schema.String,
3351
+ }).pipe(
1617
3352
  T.Http({
1618
- method: "PUT",
1619
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
3353
+ method: "POST",
3354
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/connect",
1620
3355
  }),
1621
3356
  );
1622
- export type PoolsCreateOrUpdateInput = typeof PoolsCreateOrUpdateInput.Type;
1623
-
1624
- // Output Schema
1625
- export const PoolsCreateOrUpdateOutput =
1626
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1627
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1628
- location: Schema.String,
1629
- });
1630
- export type PoolsCreateOrUpdateOutput = typeof PoolsCreateOrUpdateOutput.Type;
1631
-
1632
- // The operation
1633
- /**
1634
- * Creates or updates a machine pool
1635
- */
1636
- export const PoolsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1637
- inputSchema: PoolsCreateOrUpdateInput,
1638
- outputSchema: PoolsCreateOrUpdateOutput,
1639
- }));
1640
- // Input Schema
1641
- export const PoolsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1642
- {},
1643
- ).pipe(
1644
- T.Http({
1645
- method: "DELETE",
1646
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
1647
- }),
1648
- );
1649
- export type PoolsDeleteInput = typeof PoolsDeleteInput.Type;
3357
+ export type ProjectCatalogsConnectInput =
3358
+ typeof ProjectCatalogsConnectInput.Type;
1650
3359
 
1651
3360
  // Output Schema
1652
- export const PoolsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1653
- export type PoolsDeleteOutput = typeof PoolsDeleteOutput.Type;
3361
+ export const ProjectCatalogsConnectOutput =
3362
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
3363
+ export type ProjectCatalogsConnectOutput =
3364
+ typeof ProjectCatalogsConnectOutput.Type;
1654
3365
 
1655
3366
  // The operation
1656
3367
  /**
1657
- * Deletes a machine pool
3368
+ * Connects a project catalog to enable syncing.
3369
+ *
3370
+ * @param api-version - The API version to use for this operation.
3371
+ * @param subscriptionId - The ID of the target subscription.
3372
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1658
3373
  */
1659
- export const PoolsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1660
- inputSchema: PoolsDeleteInput,
1661
- outputSchema: PoolsDeleteOutput,
1662
- }));
1663
- // Input Schema
1664
- export const PoolsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1665
- T.Http({
1666
- method: "GET",
1667
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
3374
+ export const ProjectCatalogsConnect = /*@__PURE__*/ /*#__PURE__*/ API.make(
3375
+ () => ({
3376
+ inputSchema: ProjectCatalogsConnectInput,
3377
+ outputSchema: ProjectCatalogsConnectOutput,
1668
3378
  }),
1669
3379
  );
1670
- export type PoolsGetInput = typeof PoolsGetInput.Type;
1671
-
1672
- // Output Schema
1673
- export const PoolsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1674
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1675
- location: Schema.String,
1676
- });
1677
- export type PoolsGetOutput = typeof PoolsGetOutput.Type;
1678
-
1679
- // The operation
1680
- /**
1681
- * Gets a machine pool
1682
- */
1683
- export const PoolsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1684
- inputSchema: PoolsGetInput,
1685
- outputSchema: PoolsGetOutput,
1686
- }));
1687
3380
  // Input Schema
1688
- export const PoolsListByProjectInput =
1689
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3381
+ export const ProjectCatalogsCreateOrUpdateInput =
3382
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3383
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3384
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3385
+ "api-version": Schema.String,
3386
+ }).pipe(
1690
3387
  T.Http({
1691
- method: "GET",
1692
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools",
3388
+ method: "PUT",
3389
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}",
1693
3390
  }),
1694
3391
  );
1695
- export type PoolsListByProjectInput = typeof PoolsListByProjectInput.Type;
3392
+ export type ProjectCatalogsCreateOrUpdateInput =
3393
+ typeof ProjectCatalogsCreateOrUpdateInput.Type;
1696
3394
 
1697
3395
  // Output Schema
1698
- export const PoolsListByProjectOutput =
3396
+ export const ProjectCatalogsCreateOrUpdateOutput =
1699
3397
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1700
- value: Schema.optional(
1701
- Schema.Array(
1702
- Schema.Struct({
1703
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1704
- location: Schema.String,
1705
- }),
1706
- ),
3398
+ id: Schema.optional(Schema.String),
3399
+ name: Schema.optional(Schema.String),
3400
+ type: Schema.optional(Schema.String),
3401
+ systemData: Schema.optional(
3402
+ Schema.Struct({
3403
+ createdBy: Schema.optional(Schema.String),
3404
+ createdByType: Schema.optional(
3405
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3406
+ ),
3407
+ createdAt: Schema.optional(Schema.String),
3408
+ lastModifiedBy: Schema.optional(Schema.String),
3409
+ lastModifiedByType: Schema.optional(
3410
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3411
+ ),
3412
+ lastModifiedAt: Schema.optional(Schema.String),
3413
+ }),
1707
3414
  ),
1708
- nextLink: Schema.optional(Schema.String),
1709
3415
  });
1710
- export type PoolsListByProjectOutput = typeof PoolsListByProjectOutput.Type;
3416
+ export type ProjectCatalogsCreateOrUpdateOutput =
3417
+ typeof ProjectCatalogsCreateOrUpdateOutput.Type;
1711
3418
 
1712
3419
  // The operation
1713
3420
  /**
1714
- * Lists pools for a project
3421
+ * Creates or updates a project catalog.
3422
+ *
3423
+ * @param api-version - The API version to use for this operation.
3424
+ * @param subscriptionId - The ID of the target subscription.
3425
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1715
3426
  */
1716
- export const PoolsListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1717
- inputSchema: PoolsListByProjectInput,
1718
- outputSchema: PoolsListByProjectOutput,
1719
- }));
3427
+ export const ProjectCatalogsCreateOrUpdate =
3428
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3429
+ inputSchema: ProjectCatalogsCreateOrUpdateInput,
3430
+ outputSchema: ProjectCatalogsCreateOrUpdateOutput,
3431
+ }));
1720
3432
  // Input Schema
1721
- export const PoolsRunHealthChecksInput =
3433
+ export const ProjectCatalogsDeleteInput =
1722
3434
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1723
3435
  subscriptionId: Schema.String.pipe(T.PathParam()),
1724
3436
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1725
- projectName: Schema.String.pipe(T.PathParam()),
1726
3437
  "api-version": Schema.String,
1727
3438
  }).pipe(
1728
3439
  T.Http({
1729
- method: "POST",
1730
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/runHealthChecks",
3440
+ method: "DELETE",
3441
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}",
1731
3442
  }),
1732
3443
  );
1733
- export type PoolsRunHealthChecksInput = typeof PoolsRunHealthChecksInput.Type;
3444
+ export type ProjectCatalogsDeleteInput = typeof ProjectCatalogsDeleteInput.Type;
1734
3445
 
1735
3446
  // Output Schema
1736
- export const PoolsRunHealthChecksOutput =
3447
+ export const ProjectCatalogsDeleteOutput =
1737
3448
  /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1738
- export type PoolsRunHealthChecksOutput = typeof PoolsRunHealthChecksOutput.Type;
3449
+ export type ProjectCatalogsDeleteOutput =
3450
+ typeof ProjectCatalogsDeleteOutput.Type;
1739
3451
 
1740
3452
  // The operation
1741
3453
  /**
1742
- * Triggers a refresh of the pool status.
3454
+ * Deletes a project catalog resource.
1743
3455
  *
1744
3456
  * @param api-version - The API version to use for this operation.
1745
3457
  * @param subscriptionId - The ID of the target subscription.
1746
3458
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1747
- * @param projectName - The name of the project.
1748
3459
  */
1749
- export const PoolsRunHealthChecks = /*@__PURE__*/ /*#__PURE__*/ API.make(
3460
+ export const ProjectCatalogsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
1750
3461
  () => ({
1751
- inputSchema: PoolsRunHealthChecksInput,
1752
- outputSchema: PoolsRunHealthChecksOutput,
3462
+ inputSchema: ProjectCatalogsDeleteInput,
3463
+ outputSchema: ProjectCatalogsDeleteOutput,
1753
3464
  }),
1754
3465
  );
1755
3466
  // Input Schema
1756
- export const PoolsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1757
- {},
1758
- ).pipe(
1759
- T.Http({
1760
- method: "PATCH",
1761
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}",
1762
- }),
1763
- );
1764
- export type PoolsUpdateInput = typeof PoolsUpdateInput.Type;
3467
+ export const ProjectCatalogsGetInput =
3468
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3469
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3470
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3471
+ "api-version": Schema.String,
3472
+ }).pipe(
3473
+ T.Http({
3474
+ method: "GET",
3475
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}",
3476
+ }),
3477
+ );
3478
+ export type ProjectCatalogsGetInput = typeof ProjectCatalogsGetInput.Type;
1765
3479
 
1766
3480
  // Output Schema
1767
- export const PoolsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1768
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1769
- location: Schema.String,
1770
- });
1771
- export type PoolsUpdateOutput = typeof PoolsUpdateOutput.Type;
3481
+ export const ProjectCatalogsGetOutput =
3482
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3483
+ id: Schema.optional(Schema.String),
3484
+ name: Schema.optional(Schema.String),
3485
+ type: Schema.optional(Schema.String),
3486
+ systemData: Schema.optional(
3487
+ Schema.Struct({
3488
+ createdBy: Schema.optional(Schema.String),
3489
+ createdByType: Schema.optional(
3490
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3491
+ ),
3492
+ createdAt: Schema.optional(Schema.String),
3493
+ lastModifiedBy: Schema.optional(Schema.String),
3494
+ lastModifiedByType: Schema.optional(
3495
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3496
+ ),
3497
+ lastModifiedAt: Schema.optional(Schema.String),
3498
+ }),
3499
+ ),
3500
+ });
3501
+ export type ProjectCatalogsGetOutput = typeof ProjectCatalogsGetOutput.Type;
1772
3502
 
1773
3503
  // The operation
1774
3504
  /**
1775
- * Partially updates a machine pool
3505
+ * Gets an associated project catalog.
3506
+ *
3507
+ * @param api-version - The API version to use for this operation.
3508
+ * @param subscriptionId - The ID of the target subscription.
3509
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1776
3510
  */
1777
- export const PoolsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1778
- inputSchema: PoolsUpdateInput,
1779
- outputSchema: PoolsUpdateOutput,
3511
+ export const ProjectCatalogsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3512
+ inputSchema: ProjectCatalogsGetInput,
3513
+ outputSchema: ProjectCatalogsGetOutput,
1780
3514
  }));
1781
3515
  // Input Schema
1782
- export const ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput =
3516
+ export const ProjectCatalogsGetSyncErrorDetailsInput =
1783
3517
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1784
3518
  subscriptionId: Schema.String.pipe(T.PathParam()),
1785
3519
  resourceGroupName: Schema.String.pipe(T.PathParam()),
@@ -1787,510 +3521,730 @@ export const ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput =
1787
3521
  }).pipe(
1788
3522
  T.Http({
1789
3523
  method: "POST",
1790
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{environmentDefinitionName}/getErrorDetails",
3524
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/getSyncErrorDetails",
1791
3525
  }),
1792
3526
  );
1793
- export type ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput =
1794
- typeof ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput.Type;
3527
+ export type ProjectCatalogsGetSyncErrorDetailsInput =
3528
+ typeof ProjectCatalogsGetSyncErrorDetailsInput.Type;
1795
3529
 
1796
3530
  // Output Schema
1797
- export const ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput =
3531
+ export const ProjectCatalogsGetSyncErrorDetailsOutput =
1798
3532
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3533
+ operationError: Schema.optional(
3534
+ Schema.Struct({
3535
+ code: Schema.optional(Schema.String),
3536
+ message: Schema.optional(Schema.String),
3537
+ }),
3538
+ ),
3539
+ conflicts: Schema.optional(
3540
+ Schema.Array(
3541
+ Schema.Struct({
3542
+ path: Schema.optional(Schema.String),
3543
+ name: Schema.optional(Schema.String),
3544
+ }),
3545
+ ),
3546
+ ),
1799
3547
  errors: Schema.optional(
1800
3548
  Schema.Array(
1801
3549
  Schema.Struct({
1802
- code: Schema.optional(Schema.String),
1803
- message: Schema.optional(Schema.String),
3550
+ path: Schema.optional(Schema.String),
3551
+ errorDetails: Schema.optional(
3552
+ Schema.Array(
3553
+ Schema.Struct({
3554
+ code: Schema.optional(Schema.String),
3555
+ message: Schema.optional(Schema.String),
3556
+ }),
3557
+ ),
3558
+ ),
1804
3559
  }),
1805
3560
  ),
1806
3561
  ),
1807
3562
  });
1808
- export type ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput =
1809
- typeof ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput.Type;
3563
+ export type ProjectCatalogsGetSyncErrorDetailsOutput =
3564
+ typeof ProjectCatalogsGetSyncErrorDetailsOutput.Type;
1810
3565
 
1811
3566
  // The operation
1812
3567
  /**
1813
- * Gets Environment Definition error details
3568
+ * Gets project catalog synchronization error details
1814
3569
  *
1815
3570
  * @param api-version - The API version to use for this operation.
1816
3571
  * @param subscriptionId - The ID of the target subscription.
1817
3572
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1818
3573
  */
1819
- export const ProjectCatalogEnvironmentDefinitionsGetErrorDetails =
1820
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1821
- inputSchema: ProjectCatalogEnvironmentDefinitionsGetErrorDetailsInput,
1822
- outputSchema: ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOutput,
1823
- }));
1824
- // Input Schema
1825
- export const ProjectCatalogImageDefinitionBuildCancelInput =
1826
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1827
- T.Http({
1828
- method: "POST",
1829
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel",
1830
- }),
1831
- );
1832
- export type ProjectCatalogImageDefinitionBuildCancelInput =
1833
- typeof ProjectCatalogImageDefinitionBuildCancelInput.Type;
1834
-
1835
- // Output Schema
1836
- export const ProjectCatalogImageDefinitionBuildCancelOutput =
1837
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1838
- export type ProjectCatalogImageDefinitionBuildCancelOutput =
1839
- typeof ProjectCatalogImageDefinitionBuildCancelOutput.Type;
1840
-
1841
- // The operation
1842
- /**
1843
- * Cancels the specified build for an image definition.
1844
- */
1845
- export const ProjectCatalogImageDefinitionBuildCancel =
1846
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1847
- inputSchema: ProjectCatalogImageDefinitionBuildCancelInput,
1848
- outputSchema: ProjectCatalogImageDefinitionBuildCancelOutput,
1849
- }));
1850
- // Input Schema
1851
- export const ProjectCatalogImageDefinitionBuildGetInput =
1852
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
1853
- T.Http({
1854
- method: "GET",
1855
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}",
1856
- }),
1857
- );
1858
- export type ProjectCatalogImageDefinitionBuildGetInput =
1859
- typeof ProjectCatalogImageDefinitionBuildGetInput.Type;
1860
-
1861
- // Output Schema
1862
- export const ProjectCatalogImageDefinitionBuildGetOutput =
1863
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1864
- export type ProjectCatalogImageDefinitionBuildGetOutput =
1865
- typeof ProjectCatalogImageDefinitionBuildGetOutput.Type;
1866
-
1867
- // The operation
1868
- /**
1869
- * Gets a build for a specified image definition.
1870
- */
1871
- export const ProjectCatalogImageDefinitionBuildGet =
3574
+ export const ProjectCatalogsGetSyncErrorDetails =
1872
3575
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1873
- inputSchema: ProjectCatalogImageDefinitionBuildGetInput,
1874
- outputSchema: ProjectCatalogImageDefinitionBuildGetOutput,
3576
+ inputSchema: ProjectCatalogsGetSyncErrorDetailsInput,
3577
+ outputSchema: ProjectCatalogsGetSyncErrorDetailsOutput,
1875
3578
  }));
1876
3579
  // Input Schema
1877
- export const ProjectCatalogImageDefinitionBuildGetBuildDetailsInput =
3580
+ export const ProjectCatalogsListInput =
1878
3581
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1879
3582
  subscriptionId: Schema.String.pipe(T.PathParam()),
1880
3583
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1881
3584
  "api-version": Schema.String,
3585
+ $top: Schema.optional(Schema.Number),
1882
3586
  }).pipe(
1883
3587
  T.Http({
1884
- method: "POST",
1885
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/getBuildDetails",
3588
+ method: "GET",
3589
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs",
1886
3590
  }),
1887
3591
  );
1888
- export type ProjectCatalogImageDefinitionBuildGetBuildDetailsInput =
1889
- typeof ProjectCatalogImageDefinitionBuildGetBuildDetailsInput.Type;
3592
+ export type ProjectCatalogsListInput = typeof ProjectCatalogsListInput.Type;
1890
3593
 
1891
3594
  // Output Schema
1892
- export const ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput =
1893
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1894
- export type ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput =
1895
- typeof ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput.Type;
3595
+ export const ProjectCatalogsListOutput =
3596
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3597
+ value: Schema.optional(
3598
+ Schema.Array(
3599
+ Schema.Struct({
3600
+ id: Schema.optional(Schema.String),
3601
+ name: Schema.optional(Schema.String),
3602
+ type: Schema.optional(Schema.String),
3603
+ systemData: Schema.optional(
3604
+ Schema.Struct({
3605
+ createdBy: Schema.optional(Schema.String),
3606
+ createdByType: Schema.optional(
3607
+ Schema.Literals([
3608
+ "User",
3609
+ "Application",
3610
+ "ManagedIdentity",
3611
+ "Key",
3612
+ ]),
3613
+ ),
3614
+ createdAt: Schema.optional(Schema.String),
3615
+ lastModifiedBy: Schema.optional(Schema.String),
3616
+ lastModifiedByType: Schema.optional(
3617
+ Schema.Literals([
3618
+ "User",
3619
+ "Application",
3620
+ "ManagedIdentity",
3621
+ "Key",
3622
+ ]),
3623
+ ),
3624
+ lastModifiedAt: Schema.optional(Schema.String),
3625
+ }),
3626
+ ),
3627
+ }),
3628
+ ),
3629
+ ),
3630
+ nextLink: Schema.optional(Schema.String),
3631
+ });
3632
+ export type ProjectCatalogsListOutput = typeof ProjectCatalogsListOutput.Type;
1896
3633
 
1897
3634
  // The operation
1898
3635
  /**
1899
- * Gets Build details
3636
+ * Lists the catalogs associated with a project.
1900
3637
  *
1901
3638
  * @param api-version - The API version to use for this operation.
1902
3639
  * @param subscriptionId - The ID of the target subscription.
1903
3640
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3641
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
1904
3642
  */
1905
- export const ProjectCatalogImageDefinitionBuildGetBuildDetails =
1906
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1907
- inputSchema: ProjectCatalogImageDefinitionBuildGetBuildDetailsInput,
1908
- outputSchema: ProjectCatalogImageDefinitionBuildGetBuildDetailsOutput,
1909
- }));
3643
+ export const ProjectCatalogsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3644
+ inputSchema: ProjectCatalogsListInput,
3645
+ outputSchema: ProjectCatalogsListOutput,
3646
+ }));
1910
3647
  // Input Schema
1911
- export const ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput =
1912
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3648
+ export const ProjectCatalogsPatchInput =
3649
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3650
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3651
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3652
+ "api-version": Schema.String,
3653
+ }).pipe(
1913
3654
  T.Http({
1914
- method: "GET",
1915
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds",
3655
+ method: "PATCH",
3656
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}",
1916
3657
  }),
1917
3658
  );
1918
- export type ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput =
1919
- typeof ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput.Type;
3659
+ export type ProjectCatalogsPatchInput = typeof ProjectCatalogsPatchInput.Type;
1920
3660
 
1921
3661
  // Output Schema
1922
- export const ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput =
3662
+ export const ProjectCatalogsPatchOutput =
1923
3663
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1924
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
1925
- nextLink: Schema.optional(Schema.String),
3664
+ id: Schema.optional(Schema.String),
3665
+ name: Schema.optional(Schema.String),
3666
+ type: Schema.optional(Schema.String),
3667
+ systemData: Schema.optional(
3668
+ Schema.Struct({
3669
+ createdBy: Schema.optional(Schema.String),
3670
+ createdByType: Schema.optional(
3671
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3672
+ ),
3673
+ createdAt: Schema.optional(Schema.String),
3674
+ lastModifiedBy: Schema.optional(Schema.String),
3675
+ lastModifiedByType: Schema.optional(
3676
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3677
+ ),
3678
+ lastModifiedAt: Schema.optional(Schema.String),
3679
+ }),
3680
+ ),
1926
3681
  });
1927
- export type ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput =
1928
- typeof ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput.Type;
3682
+ export type ProjectCatalogsPatchOutput = typeof ProjectCatalogsPatchOutput.Type;
1929
3683
 
1930
3684
  // The operation
1931
3685
  /**
1932
- * Lists builds for a specified image definition.
3686
+ * Partially updates a project catalog.
3687
+ *
3688
+ * @param api-version - The API version to use for this operation.
3689
+ * @param subscriptionId - The ID of the target subscription.
3690
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1933
3691
  */
1934
- export const ProjectCatalogImageDefinitionBuildsListByImageDefinition =
1935
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1936
- inputSchema: ProjectCatalogImageDefinitionBuildsListByImageDefinitionInput,
1937
- outputSchema:
1938
- ProjectCatalogImageDefinitionBuildsListByImageDefinitionOutput,
1939
- }));
3692
+ export const ProjectCatalogsPatch = /*@__PURE__*/ /*#__PURE__*/ API.make(
3693
+ () => ({
3694
+ inputSchema: ProjectCatalogsPatchInput,
3695
+ outputSchema: ProjectCatalogsPatchOutput,
3696
+ }),
3697
+ );
1940
3698
  // Input Schema
1941
- export const ProjectCatalogImageDefinitionsBuildImageInput =
1942
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3699
+ export const ProjectCatalogsSyncInput =
3700
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3701
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3702
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3703
+ "api-version": Schema.String,
3704
+ }).pipe(
1943
3705
  T.Http({
1944
3706
  method: "POST",
1945
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/buildImage",
3707
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/sync",
1946
3708
  }),
1947
3709
  );
1948
- export type ProjectCatalogImageDefinitionsBuildImageInput =
1949
- typeof ProjectCatalogImageDefinitionsBuildImageInput.Type;
3710
+ export type ProjectCatalogsSyncInput = typeof ProjectCatalogsSyncInput.Type;
1950
3711
 
1951
3712
  // Output Schema
1952
- export const ProjectCatalogImageDefinitionsBuildImageOutput =
3713
+ export const ProjectCatalogsSyncOutput =
1953
3714
  /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1954
- export type ProjectCatalogImageDefinitionsBuildImageOutput =
1955
- typeof ProjectCatalogImageDefinitionsBuildImageOutput.Type;
3715
+ export type ProjectCatalogsSyncOutput = typeof ProjectCatalogsSyncOutput.Type;
1956
3716
 
1957
3717
  // The operation
1958
3718
  /**
1959
- * Builds an image for the specified Image Definition.
3719
+ * Syncs templates for a template source.
3720
+ *
3721
+ * @param api-version - The API version to use for this operation.
3722
+ * @param subscriptionId - The ID of the target subscription.
3723
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1960
3724
  */
1961
- export const ProjectCatalogImageDefinitionsBuildImage =
1962
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1963
- inputSchema: ProjectCatalogImageDefinitionsBuildImageInput,
1964
- outputSchema: ProjectCatalogImageDefinitionsBuildImageOutput,
1965
- }));
3725
+ export const ProjectCatalogsSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3726
+ inputSchema: ProjectCatalogsSyncInput,
3727
+ outputSchema: ProjectCatalogsSyncOutput,
3728
+ }));
1966
3729
  // Input Schema
1967
- export const ProjectCatalogImageDefinitionsGetByProjectCatalogInput =
1968
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3730
+ export const ProjectEnvironmentTypesCreateOrUpdateInput =
3731
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3732
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3733
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3734
+ "api-version": Schema.String,
3735
+ }).pipe(
1969
3736
  T.Http({
1970
- method: "GET",
1971
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}",
3737
+ method: "PUT",
3738
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
1972
3739
  }),
1973
3740
  );
1974
- export type ProjectCatalogImageDefinitionsGetByProjectCatalogInput =
1975
- typeof ProjectCatalogImageDefinitionsGetByProjectCatalogInput.Type;
3741
+ export type ProjectEnvironmentTypesCreateOrUpdateInput =
3742
+ typeof ProjectEnvironmentTypesCreateOrUpdateInput.Type;
1976
3743
 
1977
3744
  // Output Schema
1978
- export const ProjectCatalogImageDefinitionsGetByProjectCatalogOutput =
1979
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1980
- export type ProjectCatalogImageDefinitionsGetByProjectCatalogOutput =
1981
- typeof ProjectCatalogImageDefinitionsGetByProjectCatalogOutput.Type;
3745
+ export const ProjectEnvironmentTypesCreateOrUpdateOutput =
3746
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3747
+ id: Schema.optional(Schema.String),
3748
+ name: Schema.optional(Schema.String),
3749
+ type: Schema.optional(Schema.String),
3750
+ systemData: Schema.optional(
3751
+ Schema.Struct({
3752
+ createdBy: Schema.optional(Schema.String),
3753
+ createdByType: Schema.optional(
3754
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3755
+ ),
3756
+ createdAt: Schema.optional(Schema.String),
3757
+ lastModifiedBy: Schema.optional(Schema.String),
3758
+ lastModifiedByType: Schema.optional(
3759
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3760
+ ),
3761
+ lastModifiedAt: Schema.optional(Schema.String),
3762
+ }),
3763
+ ),
3764
+ });
3765
+ export type ProjectEnvironmentTypesCreateOrUpdateOutput =
3766
+ typeof ProjectEnvironmentTypesCreateOrUpdateOutput.Type;
1982
3767
 
1983
3768
  // The operation
1984
3769
  /**
1985
- * Gets an Image Definition from the catalog
3770
+ * Creates or updates a project environment type.
3771
+ *
3772
+ * @param api-version - The API version to use for this operation.
3773
+ * @param subscriptionId - The ID of the target subscription.
3774
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1986
3775
  */
1987
- export const ProjectCatalogImageDefinitionsGetByProjectCatalog =
3776
+ export const ProjectEnvironmentTypesCreateOrUpdate =
1988
3777
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1989
- inputSchema: ProjectCatalogImageDefinitionsGetByProjectCatalogInput,
1990
- outputSchema: ProjectCatalogImageDefinitionsGetByProjectCatalogOutput,
3778
+ inputSchema: ProjectEnvironmentTypesCreateOrUpdateInput,
3779
+ outputSchema: ProjectEnvironmentTypesCreateOrUpdateOutput,
1991
3780
  }));
1992
3781
  // Input Schema
1993
- export const ProjectCatalogImageDefinitionsGetErrorDetailsInput =
3782
+ export const ProjectEnvironmentTypesDeleteInput =
1994
3783
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1995
3784
  subscriptionId: Schema.String.pipe(T.PathParam()),
1996
3785
  resourceGroupName: Schema.String.pipe(T.PathParam()),
1997
3786
  "api-version": Schema.String,
1998
3787
  }).pipe(
1999
3788
  T.Http({
2000
- method: "POST",
2001
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/getErrorDetails",
3789
+ method: "DELETE",
3790
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
2002
3791
  }),
2003
3792
  );
2004
- export type ProjectCatalogImageDefinitionsGetErrorDetailsInput =
2005
- typeof ProjectCatalogImageDefinitionsGetErrorDetailsInput.Type;
3793
+ export type ProjectEnvironmentTypesDeleteInput =
3794
+ typeof ProjectEnvironmentTypesDeleteInput.Type;
2006
3795
 
2007
3796
  // Output Schema
2008
- export const ProjectCatalogImageDefinitionsGetErrorDetailsOutput =
2009
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2010
- errors: Schema.optional(
2011
- Schema.Array(
2012
- Schema.Struct({
2013
- code: Schema.optional(Schema.String),
2014
- message: Schema.optional(Schema.String),
2015
- }),
2016
- ),
2017
- ),
2018
- });
2019
- export type ProjectCatalogImageDefinitionsGetErrorDetailsOutput =
2020
- typeof ProjectCatalogImageDefinitionsGetErrorDetailsOutput.Type;
3797
+ export const ProjectEnvironmentTypesDeleteOutput =
3798
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
3799
+ export type ProjectEnvironmentTypesDeleteOutput =
3800
+ typeof ProjectEnvironmentTypesDeleteOutput.Type;
2021
3801
 
2022
3802
  // The operation
2023
3803
  /**
2024
- * Gets Image Definition error details
3804
+ * Deletes a project environment type.
2025
3805
  *
2026
3806
  * @param api-version - The API version to use for this operation.
2027
3807
  * @param subscriptionId - The ID of the target subscription.
2028
3808
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2029
3809
  */
2030
- export const ProjectCatalogImageDefinitionsGetErrorDetails =
3810
+ export const ProjectEnvironmentTypesDelete =
2031
3811
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2032
- inputSchema: ProjectCatalogImageDefinitionsGetErrorDetailsInput,
2033
- outputSchema: ProjectCatalogImageDefinitionsGetErrorDetailsOutput,
3812
+ inputSchema: ProjectEnvironmentTypesDeleteInput,
3813
+ outputSchema: ProjectEnvironmentTypesDeleteOutput,
2034
3814
  }));
2035
3815
  // Input Schema
2036
- export const ProjectCatalogImageDefinitionsListByProjectCatalogInput =
2037
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
3816
+ export const ProjectEnvironmentTypesGetInput =
3817
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3818
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3819
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3820
+ "api-version": Schema.String,
3821
+ }).pipe(
2038
3822
  T.Http({
2039
3823
  method: "GET",
2040
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions",
3824
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
2041
3825
  }),
2042
3826
  );
2043
- export type ProjectCatalogImageDefinitionsListByProjectCatalogInput =
2044
- typeof ProjectCatalogImageDefinitionsListByProjectCatalogInput.Type;
3827
+ export type ProjectEnvironmentTypesGetInput =
3828
+ typeof ProjectEnvironmentTypesGetInput.Type;
2045
3829
 
2046
3830
  // Output Schema
2047
- export const ProjectCatalogImageDefinitionsListByProjectCatalogOutput =
3831
+ export const ProjectEnvironmentTypesGetOutput =
2048
3832
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2049
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
2050
- nextLink: Schema.optional(Schema.String),
3833
+ id: Schema.optional(Schema.String),
3834
+ name: Schema.optional(Schema.String),
3835
+ type: Schema.optional(Schema.String),
3836
+ systemData: Schema.optional(
3837
+ Schema.Struct({
3838
+ createdBy: Schema.optional(Schema.String),
3839
+ createdByType: Schema.optional(
3840
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3841
+ ),
3842
+ createdAt: Schema.optional(Schema.String),
3843
+ lastModifiedBy: Schema.optional(Schema.String),
3844
+ lastModifiedByType: Schema.optional(
3845
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3846
+ ),
3847
+ lastModifiedAt: Schema.optional(Schema.String),
3848
+ }),
3849
+ ),
2051
3850
  });
2052
- export type ProjectCatalogImageDefinitionsListByProjectCatalogOutput =
2053
- typeof ProjectCatalogImageDefinitionsListByProjectCatalogOutput.Type;
3851
+ export type ProjectEnvironmentTypesGetOutput =
3852
+ typeof ProjectEnvironmentTypesGetOutput.Type;
2054
3853
 
2055
3854
  // The operation
2056
3855
  /**
2057
- * List Image Definitions in the catalog.
3856
+ * Gets a project environment type.
3857
+ *
3858
+ * @param api-version - The API version to use for this operation.
3859
+ * @param subscriptionId - The ID of the target subscription.
3860
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2058
3861
  */
2059
- export const ProjectCatalogImageDefinitionsListByProjectCatalog =
2060
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2061
- inputSchema: ProjectCatalogImageDefinitionsListByProjectCatalogInput,
2062
- outputSchema: ProjectCatalogImageDefinitionsListByProjectCatalogOutput,
2063
- }));
3862
+ export const ProjectEnvironmentTypesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
3863
+ () => ({
3864
+ inputSchema: ProjectEnvironmentTypesGetInput,
3865
+ outputSchema: ProjectEnvironmentTypesGetOutput,
3866
+ }),
3867
+ );
2064
3868
  // Input Schema
2065
- export const ProjectCatalogsConnectInput =
3869
+ export const ProjectEnvironmentTypesListInput =
2066
3870
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2067
3871
  subscriptionId: Schema.String.pipe(T.PathParam()),
2068
3872
  resourceGroupName: Schema.String.pipe(T.PathParam()),
2069
3873
  "api-version": Schema.String,
3874
+ $top: Schema.optional(Schema.Number),
2070
3875
  }).pipe(
2071
3876
  T.Http({
2072
- method: "POST",
2073
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/connect",
3877
+ method: "GET",
3878
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes",
2074
3879
  }),
2075
3880
  );
2076
- export type ProjectCatalogsConnectInput =
2077
- typeof ProjectCatalogsConnectInput.Type;
3881
+ export type ProjectEnvironmentTypesListInput =
3882
+ typeof ProjectEnvironmentTypesListInput.Type;
2078
3883
 
2079
3884
  // Output Schema
2080
- export const ProjectCatalogsConnectOutput =
2081
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2082
- export type ProjectCatalogsConnectOutput =
2083
- typeof ProjectCatalogsConnectOutput.Type;
3885
+ export const ProjectEnvironmentTypesListOutput =
3886
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3887
+ value: Schema.optional(
3888
+ Schema.Array(
3889
+ Schema.Struct({
3890
+ id: Schema.optional(Schema.String),
3891
+ name: Schema.optional(Schema.String),
3892
+ type: Schema.optional(Schema.String),
3893
+ systemData: Schema.optional(
3894
+ Schema.Struct({
3895
+ createdBy: Schema.optional(Schema.String),
3896
+ createdByType: Schema.optional(
3897
+ Schema.Literals([
3898
+ "User",
3899
+ "Application",
3900
+ "ManagedIdentity",
3901
+ "Key",
3902
+ ]),
3903
+ ),
3904
+ createdAt: Schema.optional(Schema.String),
3905
+ lastModifiedBy: Schema.optional(Schema.String),
3906
+ lastModifiedByType: Schema.optional(
3907
+ Schema.Literals([
3908
+ "User",
3909
+ "Application",
3910
+ "ManagedIdentity",
3911
+ "Key",
3912
+ ]),
3913
+ ),
3914
+ lastModifiedAt: Schema.optional(Schema.String),
3915
+ }),
3916
+ ),
3917
+ }),
3918
+ ),
3919
+ ),
3920
+ nextLink: Schema.optional(Schema.String),
3921
+ });
3922
+ export type ProjectEnvironmentTypesListOutput =
3923
+ typeof ProjectEnvironmentTypesListOutput.Type;
2084
3924
 
2085
3925
  // The operation
2086
3926
  /**
2087
- * Connects a project catalog to enable syncing.
3927
+ * Lists environment types for a project.
2088
3928
  *
2089
3929
  * @param api-version - The API version to use for this operation.
2090
3930
  * @param subscriptionId - The ID of the target subscription.
2091
3931
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3932
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
2092
3933
  */
2093
- export const ProjectCatalogsConnect = /*@__PURE__*/ /*#__PURE__*/ API.make(
3934
+ export const ProjectEnvironmentTypesList = /*@__PURE__*/ /*#__PURE__*/ API.make(
2094
3935
  () => ({
2095
- inputSchema: ProjectCatalogsConnectInput,
2096
- outputSchema: ProjectCatalogsConnectOutput,
3936
+ inputSchema: ProjectEnvironmentTypesListInput,
3937
+ outputSchema: ProjectEnvironmentTypesListOutput,
2097
3938
  }),
2098
3939
  );
2099
3940
  // Input Schema
2100
- export const ProjectCatalogsDeleteInput =
3941
+ export const ProjectEnvironmentTypesUpdateInput =
2101
3942
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2102
3943
  subscriptionId: Schema.String.pipe(T.PathParam()),
2103
3944
  resourceGroupName: Schema.String.pipe(T.PathParam()),
2104
3945
  "api-version": Schema.String,
2105
3946
  }).pipe(
2106
3947
  T.Http({
2107
- method: "DELETE",
2108
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}",
3948
+ method: "PATCH",
3949
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
2109
3950
  }),
2110
3951
  );
2111
- export type ProjectCatalogsDeleteInput = typeof ProjectCatalogsDeleteInput.Type;
3952
+ export type ProjectEnvironmentTypesUpdateInput =
3953
+ typeof ProjectEnvironmentTypesUpdateInput.Type;
2112
3954
 
2113
3955
  // Output Schema
2114
- export const ProjectCatalogsDeleteOutput =
2115
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2116
- export type ProjectCatalogsDeleteOutput =
2117
- typeof ProjectCatalogsDeleteOutput.Type;
3956
+ export const ProjectEnvironmentTypesUpdateOutput =
3957
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3958
+ id: Schema.optional(Schema.String),
3959
+ name: Schema.optional(Schema.String),
3960
+ type: Schema.optional(Schema.String),
3961
+ systemData: Schema.optional(
3962
+ Schema.Struct({
3963
+ createdBy: Schema.optional(Schema.String),
3964
+ createdByType: Schema.optional(
3965
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3966
+ ),
3967
+ createdAt: Schema.optional(Schema.String),
3968
+ lastModifiedBy: Schema.optional(Schema.String),
3969
+ lastModifiedByType: Schema.optional(
3970
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3971
+ ),
3972
+ lastModifiedAt: Schema.optional(Schema.String),
3973
+ }),
3974
+ ),
3975
+ });
3976
+ export type ProjectEnvironmentTypesUpdateOutput =
3977
+ typeof ProjectEnvironmentTypesUpdateOutput.Type;
2118
3978
 
2119
3979
  // The operation
2120
3980
  /**
2121
- * Deletes a project catalog resource.
3981
+ * Partially updates a project environment type.
2122
3982
  *
2123
3983
  * @param api-version - The API version to use for this operation.
2124
3984
  * @param subscriptionId - The ID of the target subscription.
2125
3985
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2126
3986
  */
2127
- export const ProjectCatalogsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
2128
- () => ({
2129
- inputSchema: ProjectCatalogsDeleteInput,
2130
- outputSchema: ProjectCatalogsDeleteOutput,
2131
- }),
2132
- );
3987
+ export const ProjectEnvironmentTypesUpdate =
3988
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3989
+ inputSchema: ProjectEnvironmentTypesUpdateInput,
3990
+ outputSchema: ProjectEnvironmentTypesUpdateOutput,
3991
+ }));
2133
3992
  // Input Schema
2134
- export const ProjectCatalogsGetSyncErrorDetailsInput =
3993
+ export const ProjectPoliciesCreateOrUpdateInput =
2135
3994
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2136
3995
  subscriptionId: Schema.String.pipe(T.PathParam()),
2137
3996
  resourceGroupName: Schema.String.pipe(T.PathParam()),
2138
3997
  "api-version": Schema.String,
2139
3998
  }).pipe(
2140
3999
  T.Http({
2141
- method: "POST",
2142
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/getSyncErrorDetails",
4000
+ method: "PUT",
4001
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies/{projectPolicyName}",
2143
4002
  }),
2144
4003
  );
2145
- export type ProjectCatalogsGetSyncErrorDetailsInput =
2146
- typeof ProjectCatalogsGetSyncErrorDetailsInput.Type;
4004
+ export type ProjectPoliciesCreateOrUpdateInput =
4005
+ typeof ProjectPoliciesCreateOrUpdateInput.Type;
2147
4006
 
2148
4007
  // Output Schema
2149
- export const ProjectCatalogsGetSyncErrorDetailsOutput =
4008
+ export const ProjectPoliciesCreateOrUpdateOutput =
2150
4009
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2151
- operationError: Schema.optional(
4010
+ id: Schema.optional(Schema.String),
4011
+ name: Schema.optional(Schema.String),
4012
+ type: Schema.optional(Schema.String),
4013
+ systemData: Schema.optional(
2152
4014
  Schema.Struct({
2153
- code: Schema.optional(Schema.String),
2154
- message: Schema.optional(Schema.String),
4015
+ createdBy: Schema.optional(Schema.String),
4016
+ createdByType: Schema.optional(
4017
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4018
+ ),
4019
+ createdAt: Schema.optional(Schema.String),
4020
+ lastModifiedBy: Schema.optional(Schema.String),
4021
+ lastModifiedByType: Schema.optional(
4022
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4023
+ ),
4024
+ lastModifiedAt: Schema.optional(Schema.String),
2155
4025
  }),
2156
4026
  ),
2157
- conflicts: Schema.optional(
2158
- Schema.Array(
2159
- Schema.Struct({
2160
- path: Schema.optional(Schema.String),
2161
- name: Schema.optional(Schema.String),
2162
- }),
2163
- ),
2164
- ),
2165
- errors: Schema.optional(
2166
- Schema.Array(
2167
- Schema.Struct({
2168
- path: Schema.optional(Schema.String),
2169
- errorDetails: Schema.optional(
2170
- Schema.Array(
2171
- Schema.Struct({
2172
- code: Schema.optional(Schema.String),
2173
- message: Schema.optional(Schema.String),
2174
- }),
2175
- ),
2176
- ),
2177
- }),
2178
- ),
2179
- ),
2180
4027
  });
2181
- export type ProjectCatalogsGetSyncErrorDetailsOutput =
2182
- typeof ProjectCatalogsGetSyncErrorDetailsOutput.Type;
4028
+ export type ProjectPoliciesCreateOrUpdateOutput =
4029
+ typeof ProjectPoliciesCreateOrUpdateOutput.Type;
4030
+
4031
+ // The operation
4032
+ /**
4033
+ * Creates or updates an project policy.
4034
+ *
4035
+ * @param api-version - The API version to use for this operation.
4036
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
4037
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
4038
+ */
4039
+ export const ProjectPoliciesCreateOrUpdate =
4040
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4041
+ inputSchema: ProjectPoliciesCreateOrUpdateInput,
4042
+ outputSchema: ProjectPoliciesCreateOrUpdateOutput,
4043
+ }));
4044
+ // Input Schema
4045
+ export const ProjectPoliciesDeleteInput =
4046
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4047
+ subscriptionId: Schema.String.pipe(T.PathParam()),
4048
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
4049
+ "api-version": Schema.String,
4050
+ }).pipe(
4051
+ T.Http({
4052
+ method: "DELETE",
4053
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies/{projectPolicyName}",
4054
+ }),
4055
+ );
4056
+ export type ProjectPoliciesDeleteInput = typeof ProjectPoliciesDeleteInput.Type;
4057
+
4058
+ // Output Schema
4059
+ export const ProjectPoliciesDeleteOutput =
4060
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
4061
+ export type ProjectPoliciesDeleteOutput =
4062
+ typeof ProjectPoliciesDeleteOutput.Type;
2183
4063
 
2184
4064
  // The operation
2185
4065
  /**
2186
- * Gets project catalog synchronization error details
4066
+ * Deletes an project policy.
2187
4067
  *
2188
4068
  * @param api-version - The API version to use for this operation.
2189
- * @param subscriptionId - The ID of the target subscription.
4069
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2190
4070
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2191
4071
  */
2192
- export const ProjectCatalogsGetSyncErrorDetails =
2193
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2194
- inputSchema: ProjectCatalogsGetSyncErrorDetailsInput,
2195
- outputSchema: ProjectCatalogsGetSyncErrorDetailsOutput,
2196
- }));
4072
+ export const ProjectPoliciesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
4073
+ () => ({
4074
+ inputSchema: ProjectPoliciesDeleteInput,
4075
+ outputSchema: ProjectPoliciesDeleteOutput,
4076
+ }),
4077
+ );
2197
4078
  // Input Schema
2198
- export const ProjectCatalogsSyncInput =
4079
+ export const ProjectPoliciesGetInput =
2199
4080
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2200
4081
  subscriptionId: Schema.String.pipe(T.PathParam()),
2201
4082
  resourceGroupName: Schema.String.pipe(T.PathParam()),
2202
4083
  "api-version": Schema.String,
2203
4084
  }).pipe(
2204
4085
  T.Http({
2205
- method: "POST",
2206
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/sync",
4086
+ method: "GET",
4087
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies/{projectPolicyName}",
2207
4088
  }),
2208
4089
  );
2209
- export type ProjectCatalogsSyncInput = typeof ProjectCatalogsSyncInput.Type;
4090
+ export type ProjectPoliciesGetInput = typeof ProjectPoliciesGetInput.Type;
2210
4091
 
2211
4092
  // Output Schema
2212
- export const ProjectCatalogsSyncOutput =
2213
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2214
- export type ProjectCatalogsSyncOutput = typeof ProjectCatalogsSyncOutput.Type;
4093
+ export const ProjectPoliciesGetOutput =
4094
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4095
+ id: Schema.optional(Schema.String),
4096
+ name: Schema.optional(Schema.String),
4097
+ type: Schema.optional(Schema.String),
4098
+ systemData: Schema.optional(
4099
+ Schema.Struct({
4100
+ createdBy: Schema.optional(Schema.String),
4101
+ createdByType: Schema.optional(
4102
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4103
+ ),
4104
+ createdAt: Schema.optional(Schema.String),
4105
+ lastModifiedBy: Schema.optional(Schema.String),
4106
+ lastModifiedByType: Schema.optional(
4107
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4108
+ ),
4109
+ lastModifiedAt: Schema.optional(Schema.String),
4110
+ }),
4111
+ ),
4112
+ });
4113
+ export type ProjectPoliciesGetOutput = typeof ProjectPoliciesGetOutput.Type;
2215
4114
 
2216
4115
  // The operation
2217
4116
  /**
2218
- * Syncs templates for a template source.
4117
+ * Gets a specific project policy.
2219
4118
  *
2220
4119
  * @param api-version - The API version to use for this operation.
2221
- * @param subscriptionId - The ID of the target subscription.
4120
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2222
4121
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2223
4122
  */
2224
- export const ProjectCatalogsSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2225
- inputSchema: ProjectCatalogsSyncInput,
2226
- outputSchema: ProjectCatalogsSyncOutput,
4123
+ export const ProjectPoliciesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4124
+ inputSchema: ProjectPoliciesGetInput,
4125
+ outputSchema: ProjectPoliciesGetOutput,
2227
4126
  }));
2228
4127
  // Input Schema
2229
- export const ProjectEnvironmentTypesDeleteInput =
4128
+ export const ProjectPoliciesListByDevCenterInput =
2230
4129
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2231
4130
  subscriptionId: Schema.String.pipe(T.PathParam()),
2232
4131
  resourceGroupName: Schema.String.pipe(T.PathParam()),
2233
4132
  "api-version": Schema.String,
4133
+ $top: Schema.optional(Schema.Number),
2234
4134
  }).pipe(
2235
4135
  T.Http({
2236
- method: "DELETE",
2237
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
4136
+ method: "GET",
4137
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies",
2238
4138
  }),
2239
4139
  );
2240
- export type ProjectEnvironmentTypesDeleteInput =
2241
- typeof ProjectEnvironmentTypesDeleteInput.Type;
4140
+ export type ProjectPoliciesListByDevCenterInput =
4141
+ typeof ProjectPoliciesListByDevCenterInput.Type;
2242
4142
 
2243
4143
  // Output Schema
2244
- export const ProjectEnvironmentTypesDeleteOutput =
2245
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2246
- export type ProjectEnvironmentTypesDeleteOutput =
2247
- typeof ProjectEnvironmentTypesDeleteOutput.Type;
4144
+ export const ProjectPoliciesListByDevCenterOutput =
4145
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4146
+ value: Schema.optional(
4147
+ Schema.Array(
4148
+ Schema.Struct({
4149
+ id: Schema.optional(Schema.String),
4150
+ name: Schema.optional(Schema.String),
4151
+ type: Schema.optional(Schema.String),
4152
+ systemData: Schema.optional(
4153
+ Schema.Struct({
4154
+ createdBy: Schema.optional(Schema.String),
4155
+ createdByType: Schema.optional(
4156
+ Schema.Literals([
4157
+ "User",
4158
+ "Application",
4159
+ "ManagedIdentity",
4160
+ "Key",
4161
+ ]),
4162
+ ),
4163
+ createdAt: Schema.optional(Schema.String),
4164
+ lastModifiedBy: Schema.optional(Schema.String),
4165
+ lastModifiedByType: Schema.optional(
4166
+ Schema.Literals([
4167
+ "User",
4168
+ "Application",
4169
+ "ManagedIdentity",
4170
+ "Key",
4171
+ ]),
4172
+ ),
4173
+ lastModifiedAt: Schema.optional(Schema.String),
4174
+ }),
4175
+ ),
4176
+ }),
4177
+ ),
4178
+ ),
4179
+ nextLink: Schema.optional(Schema.String),
4180
+ });
4181
+ export type ProjectPoliciesListByDevCenterOutput =
4182
+ typeof ProjectPoliciesListByDevCenterOutput.Type;
2248
4183
 
2249
4184
  // The operation
2250
4185
  /**
2251
- * Deletes a project environment type.
4186
+ * Lists all project policies in the dev center
2252
4187
  *
2253
4188
  * @param api-version - The API version to use for this operation.
2254
- * @param subscriptionId - The ID of the target subscription.
4189
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2255
4190
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
4191
+ * @param $top - The maximum number of resources to return from the operation. Example: '$top=10'.
2256
4192
  */
2257
- export const ProjectEnvironmentTypesDelete =
4193
+ export const ProjectPoliciesListByDevCenter =
2258
4194
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2259
- inputSchema: ProjectEnvironmentTypesDeleteInput,
2260
- outputSchema: ProjectEnvironmentTypesDeleteOutput,
4195
+ inputSchema: ProjectPoliciesListByDevCenterInput,
4196
+ outputSchema: ProjectPoliciesListByDevCenterOutput,
2261
4197
  }));
2262
4198
  // Input Schema
2263
- export const ProjectPoliciesDeleteInput =
4199
+ export const ProjectPoliciesUpdateInput =
2264
4200
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2265
4201
  subscriptionId: Schema.String.pipe(T.PathParam()),
2266
4202
  resourceGroupName: Schema.String.pipe(T.PathParam()),
2267
4203
  "api-version": Schema.String,
2268
4204
  }).pipe(
2269
4205
  T.Http({
2270
- method: "DELETE",
4206
+ method: "PATCH",
2271
4207
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies/{projectPolicyName}",
2272
4208
  }),
2273
4209
  );
2274
- export type ProjectPoliciesDeleteInput = typeof ProjectPoliciesDeleteInput.Type;
4210
+ export type ProjectPoliciesUpdateInput = typeof ProjectPoliciesUpdateInput.Type;
2275
4211
 
2276
4212
  // Output Schema
2277
- export const ProjectPoliciesDeleteOutput =
2278
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2279
- export type ProjectPoliciesDeleteOutput =
2280
- typeof ProjectPoliciesDeleteOutput.Type;
4213
+ export const ProjectPoliciesUpdateOutput =
4214
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4215
+ id: Schema.optional(Schema.String),
4216
+ name: Schema.optional(Schema.String),
4217
+ type: Schema.optional(Schema.String),
4218
+ systemData: Schema.optional(
4219
+ Schema.Struct({
4220
+ createdBy: Schema.optional(Schema.String),
4221
+ createdByType: Schema.optional(
4222
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4223
+ ),
4224
+ createdAt: Schema.optional(Schema.String),
4225
+ lastModifiedBy: Schema.optional(Schema.String),
4226
+ lastModifiedByType: Schema.optional(
4227
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4228
+ ),
4229
+ lastModifiedAt: Schema.optional(Schema.String),
4230
+ }),
4231
+ ),
4232
+ });
4233
+ export type ProjectPoliciesUpdateOutput =
4234
+ typeof ProjectPoliciesUpdateOutput.Type;
2281
4235
 
2282
4236
  // The operation
2283
4237
  /**
2284
- * Deletes an project policy.
4238
+ * Partially updates an project policy.
2285
4239
  *
2286
4240
  * @param api-version - The API version to use for this operation.
2287
4241
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2288
4242
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2289
4243
  */
2290
- export const ProjectPoliciesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
4244
+ export const ProjectPoliciesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
2291
4245
  () => ({
2292
- inputSchema: ProjectPoliciesDeleteInput,
2293
- outputSchema: ProjectPoliciesDeleteOutput,
4246
+ inputSchema: ProjectPoliciesUpdateInput,
4247
+ outputSchema: ProjectPoliciesUpdateOutput,
2294
4248
  }),
2295
4249
  );
2296
4250
  // Input Schema
@@ -2566,6 +4520,51 @@ export const ProjectsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2566
4520
  outputSchema: ProjectsUpdateOutput,
2567
4521
  }));
2568
4522
  // Input Schema
4523
+ export const SchedulesCreateOrUpdateInput =
4524
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
4525
+ T.Http({
4526
+ method: "PUT",
4527
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}",
4528
+ }),
4529
+ );
4530
+ export type SchedulesCreateOrUpdateInput =
4531
+ typeof SchedulesCreateOrUpdateInput.Type;
4532
+
4533
+ // Output Schema
4534
+ export const SchedulesCreateOrUpdateOutput =
4535
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4536
+ id: Schema.optional(Schema.String),
4537
+ name: Schema.optional(Schema.String),
4538
+ type: Schema.optional(Schema.String),
4539
+ systemData: Schema.optional(
4540
+ Schema.Struct({
4541
+ createdBy: Schema.optional(Schema.String),
4542
+ createdByType: Schema.optional(
4543
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4544
+ ),
4545
+ createdAt: Schema.optional(Schema.String),
4546
+ lastModifiedBy: Schema.optional(Schema.String),
4547
+ lastModifiedByType: Schema.optional(
4548
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4549
+ ),
4550
+ lastModifiedAt: Schema.optional(Schema.String),
4551
+ }),
4552
+ ),
4553
+ });
4554
+ export type SchedulesCreateOrUpdateOutput =
4555
+ typeof SchedulesCreateOrUpdateOutput.Type;
4556
+
4557
+ // The operation
4558
+ /**
4559
+ * Creates or updates a Schedule.
4560
+ */
4561
+ export const SchedulesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
4562
+ () => ({
4563
+ inputSchema: SchedulesCreateOrUpdateInput,
4564
+ outputSchema: SchedulesCreateOrUpdateOutput,
4565
+ }),
4566
+ );
4567
+ // Input Schema
2569
4568
  export const SchedulesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2570
4569
  {},
2571
4570
  ).pipe(
@@ -2589,6 +4588,235 @@ export const SchedulesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2589
4588
  outputSchema: SchedulesDeleteOutput,
2590
4589
  }));
2591
4590
  // Input Schema
4591
+ export const SchedulesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
4592
+ {},
4593
+ ).pipe(
4594
+ T.Http({
4595
+ method: "GET",
4596
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}",
4597
+ }),
4598
+ );
4599
+ export type SchedulesGetInput = typeof SchedulesGetInput.Type;
4600
+
4601
+ // Output Schema
4602
+ export const SchedulesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4603
+ id: Schema.optional(Schema.String),
4604
+ name: Schema.optional(Schema.String),
4605
+ type: Schema.optional(Schema.String),
4606
+ systemData: Schema.optional(
4607
+ Schema.Struct({
4608
+ createdBy: Schema.optional(Schema.String),
4609
+ createdByType: Schema.optional(
4610
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4611
+ ),
4612
+ createdAt: Schema.optional(Schema.String),
4613
+ lastModifiedBy: Schema.optional(Schema.String),
4614
+ lastModifiedByType: Schema.optional(
4615
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4616
+ ),
4617
+ lastModifiedAt: Schema.optional(Schema.String),
4618
+ }),
4619
+ ),
4620
+ });
4621
+ export type SchedulesGetOutput = typeof SchedulesGetOutput.Type;
4622
+
4623
+ // The operation
4624
+ /**
4625
+ * Gets a schedule resource.
4626
+ */
4627
+ export const SchedulesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4628
+ inputSchema: SchedulesGetInput,
4629
+ outputSchema: SchedulesGetOutput,
4630
+ }));
4631
+ // Input Schema
4632
+ export const SchedulesListByPoolInput =
4633
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
4634
+ T.Http({
4635
+ method: "GET",
4636
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules",
4637
+ }),
4638
+ );
4639
+ export type SchedulesListByPoolInput = typeof SchedulesListByPoolInput.Type;
4640
+
4641
+ // Output Schema
4642
+ export const SchedulesListByPoolOutput =
4643
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4644
+ value: Schema.optional(
4645
+ Schema.Array(
4646
+ Schema.Struct({
4647
+ id: Schema.optional(Schema.String),
4648
+ name: Schema.optional(Schema.String),
4649
+ type: Schema.optional(Schema.String),
4650
+ systemData: Schema.optional(
4651
+ Schema.Struct({
4652
+ createdBy: Schema.optional(Schema.String),
4653
+ createdByType: Schema.optional(
4654
+ Schema.Literals([
4655
+ "User",
4656
+ "Application",
4657
+ "ManagedIdentity",
4658
+ "Key",
4659
+ ]),
4660
+ ),
4661
+ createdAt: Schema.optional(Schema.String),
4662
+ lastModifiedBy: Schema.optional(Schema.String),
4663
+ lastModifiedByType: Schema.optional(
4664
+ Schema.Literals([
4665
+ "User",
4666
+ "Application",
4667
+ "ManagedIdentity",
4668
+ "Key",
4669
+ ]),
4670
+ ),
4671
+ lastModifiedAt: Schema.optional(Schema.String),
4672
+ }),
4673
+ ),
4674
+ }),
4675
+ ),
4676
+ ),
4677
+ nextLink: Schema.optional(Schema.String),
4678
+ });
4679
+ export type SchedulesListByPoolOutput = typeof SchedulesListByPoolOutput.Type;
4680
+
4681
+ // The operation
4682
+ /**
4683
+ * Lists schedules for a pool
4684
+ */
4685
+ export const SchedulesListByPool = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4686
+ inputSchema: SchedulesListByPoolInput,
4687
+ outputSchema: SchedulesListByPoolOutput,
4688
+ }));
4689
+ // Input Schema
4690
+ export const SchedulesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
4691
+ {},
4692
+ ).pipe(
4693
+ T.Http({
4694
+ method: "PATCH",
4695
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}",
4696
+ }),
4697
+ );
4698
+ export type SchedulesUpdateInput = typeof SchedulesUpdateInput.Type;
4699
+
4700
+ // Output Schema
4701
+ export const SchedulesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4702
+ id: Schema.optional(Schema.String),
4703
+ name: Schema.optional(Schema.String),
4704
+ type: Schema.optional(Schema.String),
4705
+ systemData: Schema.optional(
4706
+ Schema.Struct({
4707
+ createdBy: Schema.optional(Schema.String),
4708
+ createdByType: Schema.optional(
4709
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4710
+ ),
4711
+ createdAt: Schema.optional(Schema.String),
4712
+ lastModifiedBy: Schema.optional(Schema.String),
4713
+ lastModifiedByType: Schema.optional(
4714
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
4715
+ ),
4716
+ lastModifiedAt: Schema.optional(Schema.String),
4717
+ }),
4718
+ ),
4719
+ });
4720
+ export type SchedulesUpdateOutput = typeof SchedulesUpdateOutput.Type;
4721
+
4722
+ // The operation
4723
+ /**
4724
+ * Partially updates a Scheduled.
4725
+ */
4726
+ export const SchedulesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4727
+ inputSchema: SchedulesUpdateInput,
4728
+ outputSchema: SchedulesUpdateOutput,
4729
+ }));
4730
+ // Input Schema
4731
+ export const SkusListByProjectInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
4732
+ {
4733
+ subscriptionId: Schema.String.pipe(T.PathParam()),
4734
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
4735
+ "api-version": Schema.String,
4736
+ },
4737
+ ).pipe(
4738
+ T.Http({
4739
+ method: "POST",
4740
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/listSkus",
4741
+ }),
4742
+ );
4743
+ export type SkusListByProjectInput = typeof SkusListByProjectInput.Type;
4744
+
4745
+ // Output Schema
4746
+ export const SkusListByProjectOutput =
4747
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4748
+ value: Schema.optional(
4749
+ Schema.Array(
4750
+ Schema.Struct({
4751
+ name: Schema.String,
4752
+ tier: Schema.optional(
4753
+ Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
4754
+ ),
4755
+ size: Schema.optional(Schema.String),
4756
+ family: Schema.optional(Schema.String),
4757
+ capacity: Schema.optional(Schema.Number),
4758
+ }),
4759
+ ),
4760
+ ),
4761
+ nextLink: Schema.optional(Schema.String),
4762
+ });
4763
+ export type SkusListByProjectOutput = typeof SkusListByProjectOutput.Type;
4764
+
4765
+ // The operation
4766
+ /**
4767
+ * Lists SKUs available to the project
4768
+ *
4769
+ * @param api-version - The API version to use for this operation.
4770
+ * @param subscriptionId - The ID of the target subscription.
4771
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
4772
+ */
4773
+ export const SkusListByProject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4774
+ inputSchema: SkusListByProjectInput,
4775
+ outputSchema: SkusListByProjectOutput,
4776
+ }));
4777
+ // Input Schema
4778
+ export const SkusListBySubscriptionInput =
4779
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
4780
+ T.Http({
4781
+ method: "GET",
4782
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/skus",
4783
+ }),
4784
+ );
4785
+ export type SkusListBySubscriptionInput =
4786
+ typeof SkusListBySubscriptionInput.Type;
4787
+
4788
+ // Output Schema
4789
+ export const SkusListBySubscriptionOutput =
4790
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4791
+ value: Schema.optional(
4792
+ Schema.Array(
4793
+ Schema.Struct({
4794
+ name: Schema.String,
4795
+ tier: Schema.optional(
4796
+ Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
4797
+ ),
4798
+ size: Schema.optional(Schema.String),
4799
+ family: Schema.optional(Schema.String),
4800
+ capacity: Schema.optional(Schema.Number),
4801
+ }),
4802
+ ),
4803
+ ),
4804
+ nextLink: Schema.optional(Schema.String),
4805
+ });
4806
+ export type SkusListBySubscriptionOutput =
4807
+ typeof SkusListBySubscriptionOutput.Type;
4808
+
4809
+ // The operation
4810
+ /**
4811
+ * Lists the Microsoft.DevCenter SKUs available in a subscription
4812
+ */
4813
+ export const SkusListBySubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(
4814
+ () => ({
4815
+ inputSchema: SkusListBySubscriptionInput,
4816
+ outputSchema: SkusListBySubscriptionOutput,
4817
+ }),
4818
+ );
4819
+ // Input Schema
2592
4820
  export const UsagesListByLocationInput =
2593
4821
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2594
4822
  subscriptionId: Schema.String.pipe(T.PathParam()),