@distilled.cloud/azure 0.5.5 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -215,342 +215,511 @@ export const AppAttachPackageUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
215
215
  outputSchema: AppAttachPackageUpdateOutput,
216
216
  }));
217
217
  // Input Schema
218
- export const ApplicationGroupsDeleteInput =
218
+ export const ApplicationGroupsCreateOrUpdateInput =
219
219
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
220
220
  subscriptionId: Schema.String.pipe(T.PathParam()),
221
221
  resourceGroupName: Schema.String.pipe(T.PathParam()),
222
222
  "api-version": Schema.String,
223
223
  }).pipe(T.Http({
224
- method: "DELETE",
224
+ method: "PUT",
225
225
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
226
226
  }));
227
227
  // Output Schema
228
- export const ApplicationGroupsDeleteOutput =
229
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
228
+ export const ApplicationGroupsCreateOrUpdateOutput =
229
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
230
+ managedBy: Schema.optional(Schema.String),
231
+ kind: Schema.optional(Schema.String),
232
+ etag: Schema.optional(Schema.String),
233
+ identity: Schema.optional(Schema.Struct({
234
+ principalId: Schema.optional(Schema.String),
235
+ tenantId: Schema.optional(Schema.String),
236
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
237
+ })),
238
+ sku: Schema.optional(Schema.Struct({
239
+ name: Schema.String,
240
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
241
+ size: Schema.optional(Schema.String),
242
+ family: Schema.optional(Schema.String),
243
+ capacity: Schema.optional(Schema.Number),
244
+ })),
245
+ plan: Schema.optional(Schema.Struct({
246
+ name: Schema.String,
247
+ publisher: Schema.String,
248
+ product: Schema.String,
249
+ promotionCode: Schema.optional(Schema.String),
250
+ version: Schema.optional(Schema.String),
251
+ })),
252
+ });
230
253
  // The operation
231
254
  /**
232
- * Remove an applicationGroup.
255
+ * Create or update an applicationGroup.
233
256
  *
234
257
  * @param api-version - The API version to use for this operation.
235
258
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
236
259
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
237
260
  */
238
- export const ApplicationGroupsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
239
- inputSchema: ApplicationGroupsDeleteInput,
240
- outputSchema: ApplicationGroupsDeleteOutput,
261
+ export const ApplicationGroupsCreateOrUpdate =
262
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
263
+ inputSchema: ApplicationGroupsCreateOrUpdateInput,
264
+ outputSchema: ApplicationGroupsCreateOrUpdateOutput,
241
265
  }));
242
266
  // Input Schema
243
- export const ApplicationsDeleteInput =
267
+ export const ApplicationGroupsDeleteInput =
244
268
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
245
269
  subscriptionId: Schema.String.pipe(T.PathParam()),
246
270
  resourceGroupName: Schema.String.pipe(T.PathParam()),
247
271
  "api-version": Schema.String,
248
272
  }).pipe(T.Http({
249
273
  method: "DELETE",
250
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
274
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
251
275
  }));
252
276
  // Output Schema
253
- export const ApplicationsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
277
+ export const ApplicationGroupsDeleteOutput =
278
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
254
279
  // The operation
255
280
  /**
256
- * Remove an application.
281
+ * Remove an applicationGroup.
257
282
  *
258
283
  * @param api-version - The API version to use for this operation.
259
284
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
260
285
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
261
286
  */
262
- export const ApplicationsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
263
- inputSchema: ApplicationsDeleteInput,
264
- outputSchema: ApplicationsDeleteOutput,
287
+ export const ApplicationGroupsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
288
+ inputSchema: ApplicationGroupsDeleteInput,
289
+ outputSchema: ApplicationGroupsDeleteOutput,
265
290
  }));
266
291
  // Input Schema
267
- export const HostPoolsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
292
+ export const ApplicationGroupsGetInput =
293
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
268
294
  subscriptionId: Schema.String.pipe(T.PathParam()),
269
295
  resourceGroupName: Schema.String.pipe(T.PathParam()),
270
296
  "api-version": Schema.String,
271
- force: Schema.optional(Schema.Boolean),
272
297
  }).pipe(T.Http({
273
- method: "DELETE",
274
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
298
+ method: "GET",
299
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
275
300
  }));
276
301
  // Output Schema
277
- export const HostPoolsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
302
+ export const ApplicationGroupsGetOutput =
303
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
304
+ managedBy: Schema.optional(Schema.String),
305
+ kind: Schema.optional(Schema.String),
306
+ etag: Schema.optional(Schema.String),
307
+ identity: Schema.optional(Schema.Struct({
308
+ principalId: Schema.optional(Schema.String),
309
+ tenantId: Schema.optional(Schema.String),
310
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
311
+ })),
312
+ sku: Schema.optional(Schema.Struct({
313
+ name: Schema.String,
314
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
315
+ size: Schema.optional(Schema.String),
316
+ family: Schema.optional(Schema.String),
317
+ capacity: Schema.optional(Schema.Number),
318
+ })),
319
+ plan: Schema.optional(Schema.Struct({
320
+ name: Schema.String,
321
+ publisher: Schema.String,
322
+ product: Schema.String,
323
+ promotionCode: Schema.optional(Schema.String),
324
+ version: Schema.optional(Schema.String),
325
+ })),
326
+ });
278
327
  // The operation
279
328
  /**
280
- * Remove a host pool.
329
+ * Get an application group.
281
330
  *
282
331
  * @param api-version - The API version to use for this operation.
283
332
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
284
333
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
285
- * @param force - Force flag to delete sessionHost.
286
334
  */
287
- export const HostPoolsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
288
- inputSchema: HostPoolsDeleteInput,
289
- outputSchema: HostPoolsDeleteOutput,
335
+ export const ApplicationGroupsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
336
+ inputSchema: ApplicationGroupsGetInput,
337
+ outputSchema: ApplicationGroupsGetOutput,
290
338
  }));
291
339
  // Input Schema
292
- export const HostPoolsListRegistrationTokensInput =
340
+ export const ApplicationGroupsListByResourceGroupInput =
293
341
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
294
342
  subscriptionId: Schema.String.pipe(T.PathParam()),
295
343
  resourceGroupName: Schema.String.pipe(T.PathParam()),
296
344
  "api-version": Schema.String,
345
+ $filter: Schema.optional(Schema.String),
346
+ pageSize: Schema.optional(Schema.Number),
347
+ isDescending: Schema.optional(Schema.Boolean),
348
+ initialSkip: Schema.optional(Schema.Number),
297
349
  }).pipe(T.Http({
298
- method: "POST",
299
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/listRegistrationTokens",
350
+ method: "GET",
351
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups",
300
352
  }));
301
353
  // Output Schema
302
- export const HostPoolsListRegistrationTokensOutput =
354
+ export const ApplicationGroupsListByResourceGroupOutput =
303
355
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
304
356
  value: Schema.optional(Schema.Array(Schema.Struct({
305
- expirationTime: Schema.optional(Schema.NullOr(Schema.String)),
306
- token: Schema.optional(Schema.String),
357
+ managedBy: Schema.optional(Schema.String),
358
+ kind: Schema.optional(Schema.String),
359
+ etag: Schema.optional(Schema.String),
360
+ identity: Schema.optional(Schema.Struct({
361
+ principalId: Schema.optional(Schema.String),
362
+ tenantId: Schema.optional(Schema.String),
363
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
364
+ })),
365
+ sku: Schema.optional(Schema.Struct({
366
+ name: Schema.String,
367
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
368
+ size: Schema.optional(Schema.String),
369
+ family: Schema.optional(Schema.String),
370
+ capacity: Schema.optional(Schema.Number),
371
+ })),
372
+ plan: Schema.optional(Schema.Struct({
373
+ name: Schema.String,
374
+ publisher: Schema.String,
375
+ product: Schema.String,
376
+ promotionCode: Schema.optional(Schema.String),
377
+ version: Schema.optional(Schema.String),
378
+ })),
307
379
  }))),
308
380
  nextLink: Schema.optional(Schema.String),
309
381
  });
310
382
  // The operation
311
383
  /**
312
- * Operation to list the RegistrationTokens associated with the HostPool
384
+ * List applicationGroups.
313
385
  *
314
386
  * @param api-version - The API version to use for this operation.
315
387
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
316
388
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
389
+ * @param $filter - OData filter expression. Valid properties for filtering are applicationGroupType.
390
+ * @param pageSize - Number of items per page.
391
+ * @param isDescending - Indicates whether the collection is descending.
392
+ * @param initialSkip - Initial number of items to skip.
317
393
  */
318
- export const HostPoolsListRegistrationTokens =
394
+ export const ApplicationGroupsListByResourceGroup =
319
395
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
320
- inputSchema: HostPoolsListRegistrationTokensInput,
321
- outputSchema: HostPoolsListRegistrationTokensOutput,
396
+ inputSchema: ApplicationGroupsListByResourceGroupInput,
397
+ outputSchema: ApplicationGroupsListByResourceGroupOutput,
322
398
  }));
323
399
  // Input Schema
324
- export const HostPoolsRetrieveRegistrationTokenInput =
400
+ export const ApplicationGroupsListBySubscriptionInput =
325
401
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
326
402
  subscriptionId: Schema.String.pipe(T.PathParam()),
327
- resourceGroupName: Schema.String.pipe(T.PathParam()),
328
403
  "api-version": Schema.String,
404
+ $filter: Schema.optional(Schema.String),
329
405
  }).pipe(T.Http({
330
- method: "POST",
331
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken",
406
+ method: "GET",
407
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups",
332
408
  }));
333
409
  // Output Schema
334
- export const HostPoolsRetrieveRegistrationTokenOutput =
410
+ export const ApplicationGroupsListBySubscriptionOutput =
335
411
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
336
- expirationTime: Schema.optional(Schema.NullOr(Schema.String)),
337
- token: Schema.optional(Schema.String),
338
- registrationTokenOperation: Schema.optional(Schema.Literals(["Delete", "None", "Update"])),
412
+ value: Schema.optional(Schema.Array(Schema.Struct({
413
+ managedBy: Schema.optional(Schema.String),
414
+ kind: Schema.optional(Schema.String),
415
+ etag: Schema.optional(Schema.String),
416
+ identity: Schema.optional(Schema.Struct({
417
+ principalId: Schema.optional(Schema.String),
418
+ tenantId: Schema.optional(Schema.String),
419
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
420
+ })),
421
+ sku: Schema.optional(Schema.Struct({
422
+ name: Schema.String,
423
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
424
+ size: Schema.optional(Schema.String),
425
+ family: Schema.optional(Schema.String),
426
+ capacity: Schema.optional(Schema.Number),
427
+ })),
428
+ plan: Schema.optional(Schema.Struct({
429
+ name: Schema.String,
430
+ publisher: Schema.String,
431
+ product: Schema.String,
432
+ promotionCode: Schema.optional(Schema.String),
433
+ version: Schema.optional(Schema.String),
434
+ })),
435
+ }))),
436
+ nextLink: Schema.optional(Schema.String),
339
437
  });
340
438
  // The operation
341
439
  /**
342
- * Registration token of the host pool.
440
+ * List applicationGroups in subscription.
343
441
  *
344
442
  * @param api-version - The API version to use for this operation.
345
443
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
346
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
444
+ * @param $filter - OData filter expression. Valid properties for filtering are applicationGroupType.
347
445
  */
348
- export const HostPoolsRetrieveRegistrationToken =
446
+ export const ApplicationGroupsListBySubscription =
349
447
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
350
- inputSchema: HostPoolsRetrieveRegistrationTokenInput,
351
- outputSchema: HostPoolsRetrieveRegistrationTokenOutput,
448
+ inputSchema: ApplicationGroupsListBySubscriptionInput,
449
+ outputSchema: ApplicationGroupsListBySubscriptionOutput,
352
450
  }));
353
451
  // Input Schema
354
- export const MSIXPackagesDeleteInput =
452
+ export const ApplicationGroupsUpdateInput =
355
453
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
356
454
  subscriptionId: Schema.String.pipe(T.PathParam()),
357
455
  resourceGroupName: Schema.String.pipe(T.PathParam()),
358
456
  "api-version": Schema.String,
359
457
  }).pipe(T.Http({
360
- method: "DELETE",
361
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
458
+ method: "PATCH",
459
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
362
460
  }));
363
461
  // Output Schema
364
- export const MSIXPackagesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
462
+ export const ApplicationGroupsUpdateOutput =
463
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
464
+ managedBy: Schema.optional(Schema.String),
465
+ kind: Schema.optional(Schema.String),
466
+ etag: Schema.optional(Schema.String),
467
+ identity: Schema.optional(Schema.Struct({
468
+ principalId: Schema.optional(Schema.String),
469
+ tenantId: Schema.optional(Schema.String),
470
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
471
+ })),
472
+ sku: Schema.optional(Schema.Struct({
473
+ name: Schema.String,
474
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
475
+ size: Schema.optional(Schema.String),
476
+ family: Schema.optional(Schema.String),
477
+ capacity: Schema.optional(Schema.Number),
478
+ })),
479
+ plan: Schema.optional(Schema.Struct({
480
+ name: Schema.String,
481
+ publisher: Schema.String,
482
+ product: Schema.String,
483
+ promotionCode: Schema.optional(Schema.String),
484
+ version: Schema.optional(Schema.String),
485
+ })),
486
+ });
365
487
  // The operation
366
488
  /**
367
- * Remove an MSIX Package.
489
+ * Update an applicationGroup.
368
490
  *
369
491
  * @param api-version - The API version to use for this operation.
370
492
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
371
493
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
372
494
  */
373
- export const MSIXPackagesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
374
- inputSchema: MSIXPackagesDeleteInput,
375
- outputSchema: MSIXPackagesDeleteOutput,
495
+ export const ApplicationGroupsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
496
+ inputSchema: ApplicationGroupsUpdateInput,
497
+ outputSchema: ApplicationGroupsUpdateOutput,
376
498
  }));
377
499
  // Input Schema
378
- export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
500
+ export const ApplicationsCreateOrUpdateInput =
501
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
502
+ subscriptionId: Schema.String.pipe(T.PathParam()),
503
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
379
504
  "api-version": Schema.String,
380
505
  }).pipe(T.Http({
381
- method: "GET",
382
- path: "/providers/Microsoft.DesktopVirtualization/operations",
506
+ method: "PUT",
507
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
383
508
  }));
384
509
  // Output Schema
385
- export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
386
- value: Schema.optional(Schema.Array(Schema.Struct({
387
- name: Schema.optional(Schema.String),
388
- display: Schema.optional(Schema.Struct({
389
- provider: Schema.optional(Schema.String),
390
- resource: Schema.optional(Schema.String),
391
- operation: Schema.optional(Schema.String),
392
- description: Schema.optional(Schema.String),
393
- })),
394
- isDataAction: Schema.optional(Schema.Boolean),
395
- properties: Schema.optional(Schema.Struct({
396
- serviceSpecification: Schema.optional(Schema.Struct({
397
- logSpecifications: Schema.optional(Schema.Array(Schema.Struct({
398
- name: Schema.optional(Schema.String),
399
- displayName: Schema.optional(Schema.String),
400
- blobDuration: Schema.optional(Schema.String),
401
- }))),
402
- })),
403
- })),
404
- }))),
405
- nextLink: Schema.optional(Schema.String),
510
+ export const ApplicationsCreateOrUpdateOutput =
511
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
512
+ id: Schema.optional(Schema.String),
513
+ name: Schema.optional(Schema.String),
514
+ type: Schema.optional(Schema.String),
515
+ systemData: Schema.optional(Schema.Struct({
516
+ createdBy: Schema.optional(Schema.String),
517
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
518
+ createdAt: Schema.optional(Schema.String),
519
+ lastModifiedBy: Schema.optional(Schema.String),
520
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
521
+ lastModifiedAt: Schema.optional(Schema.String),
522
+ })),
406
523
  });
407
524
  // The operation
408
525
  /**
409
- * List all of the available operations the Desktop Virtualization resource provider supports.
526
+ * Create or update an application.
410
527
  *
411
528
  * @param api-version - The API version to use for this operation.
529
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
530
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
412
531
  */
413
- export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
414
- inputSchema: OperationsListInput,
415
- outputSchema: OperationsListOutput,
532
+ export const ApplicationsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
533
+ inputSchema: ApplicationsCreateOrUpdateInput,
534
+ outputSchema: ApplicationsCreateOrUpdateOutput,
416
535
  }));
417
536
  // Input Schema
418
- export const PrivateEndpointConnectionsDeleteByHostPoolInput =
537
+ export const ApplicationsDeleteInput =
419
538
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
420
539
  subscriptionId: Schema.String.pipe(T.PathParam()),
421
540
  resourceGroupName: Schema.String.pipe(T.PathParam()),
422
- privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
423
541
  "api-version": Schema.String,
424
542
  }).pipe(T.Http({
425
543
  method: "DELETE",
426
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
544
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
427
545
  }));
428
546
  // Output Schema
429
- export const PrivateEndpointConnectionsDeleteByHostPoolOutput =
430
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
547
+ export const ApplicationsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
431
548
  // The operation
432
549
  /**
433
- * Remove a connection.
550
+ * Remove an application.
434
551
  *
435
552
  * @param api-version - The API version to use for this operation.
436
553
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
437
554
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
438
- * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
439
555
  */
440
- export const PrivateEndpointConnectionsDeleteByHostPool =
441
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
442
- inputSchema: PrivateEndpointConnectionsDeleteByHostPoolInput,
443
- outputSchema: PrivateEndpointConnectionsDeleteByHostPoolOutput,
556
+ export const ApplicationsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
557
+ inputSchema: ApplicationsDeleteInput,
558
+ outputSchema: ApplicationsDeleteOutput,
444
559
  }));
445
560
  // Input Schema
446
- export const PrivateEndpointConnectionsDeleteByWorkspaceInput =
447
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
561
+ export const ApplicationsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
448
562
  subscriptionId: Schema.String.pipe(T.PathParam()),
449
563
  resourceGroupName: Schema.String.pipe(T.PathParam()),
450
- privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
451
564
  "api-version": Schema.String,
452
565
  }).pipe(T.Http({
453
- method: "DELETE",
454
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
566
+ method: "GET",
567
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
455
568
  }));
456
569
  // Output Schema
457
- export const PrivateEndpointConnectionsDeleteByWorkspaceOutput =
458
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
570
+ export const ApplicationsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
571
+ id: Schema.optional(Schema.String),
572
+ name: Schema.optional(Schema.String),
573
+ type: Schema.optional(Schema.String),
574
+ systemData: Schema.optional(Schema.Struct({
575
+ createdBy: Schema.optional(Schema.String),
576
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
577
+ createdAt: Schema.optional(Schema.String),
578
+ lastModifiedBy: Schema.optional(Schema.String),
579
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
580
+ lastModifiedAt: Schema.optional(Schema.String),
581
+ })),
582
+ });
459
583
  // The operation
460
584
  /**
461
- * Remove a connection.
585
+ * Get an application.
462
586
  *
463
587
  * @param api-version - The API version to use for this operation.
464
588
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
465
589
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
466
- * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
467
590
  */
468
- export const PrivateEndpointConnectionsDeleteByWorkspace =
469
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
470
- inputSchema: PrivateEndpointConnectionsDeleteByWorkspaceInput,
471
- outputSchema: PrivateEndpointConnectionsDeleteByWorkspaceOutput,
591
+ export const ApplicationsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
592
+ inputSchema: ApplicationsGetInput,
593
+ outputSchema: ApplicationsGetOutput,
472
594
  }));
473
595
  // Input Schema
474
- export const ScalingPlanPersonalSchedulesCreateInput =
475
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
596
+ export const ApplicationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
476
597
  subscriptionId: Schema.String.pipe(T.PathParam()),
477
598
  resourceGroupName: Schema.String.pipe(T.PathParam()),
478
599
  "api-version": Schema.String,
600
+ pageSize: Schema.optional(Schema.Number),
601
+ isDescending: Schema.optional(Schema.Boolean),
602
+ initialSkip: Schema.optional(Schema.Number),
479
603
  }).pipe(T.Http({
480
- method: "PUT",
481
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
604
+ method: "GET",
605
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications",
482
606
  }));
483
607
  // Output Schema
484
- export const ScalingPlanPersonalSchedulesCreateOutput =
485
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
608
+ export const ApplicationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
609
+ value: Schema.optional(Schema.Array(Schema.Struct({
610
+ id: Schema.optional(Schema.String),
611
+ name: Schema.optional(Schema.String),
612
+ type: Schema.optional(Schema.String),
613
+ systemData: Schema.optional(Schema.Struct({
614
+ createdBy: Schema.optional(Schema.String),
615
+ createdByType: Schema.optional(Schema.Literals([
616
+ "User",
617
+ "Application",
618
+ "ManagedIdentity",
619
+ "Key",
620
+ ])),
621
+ createdAt: Schema.optional(Schema.String),
622
+ lastModifiedBy: Schema.optional(Schema.String),
623
+ lastModifiedByType: Schema.optional(Schema.Literals([
624
+ "User",
625
+ "Application",
626
+ "ManagedIdentity",
627
+ "Key",
628
+ ])),
629
+ lastModifiedAt: Schema.optional(Schema.String),
630
+ })),
631
+ }))),
632
+ nextLink: Schema.optional(Schema.String),
633
+ });
486
634
  // The operation
487
635
  /**
488
- * Create or update a ScalingPlanPersonalSchedule.
636
+ * List applications.
489
637
  *
490
638
  * @param api-version - The API version to use for this operation.
491
639
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
492
640
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
641
+ * @param pageSize - Number of items per page.
642
+ * @param isDescending - Indicates whether the collection is descending.
643
+ * @param initialSkip - Initial number of items to skip.
493
644
  */
494
- export const ScalingPlanPersonalSchedulesCreate =
495
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
496
- inputSchema: ScalingPlanPersonalSchedulesCreateInput,
497
- outputSchema: ScalingPlanPersonalSchedulesCreateOutput,
645
+ export const ApplicationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
646
+ inputSchema: ApplicationsListInput,
647
+ outputSchema: ApplicationsListOutput,
498
648
  }));
499
649
  // Input Schema
500
- export const ScalingPlanPersonalSchedulesDeleteInput =
650
+ export const ApplicationsUpdateInput =
501
651
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
502
652
  subscriptionId: Schema.String.pipe(T.PathParam()),
503
653
  resourceGroupName: Schema.String.pipe(T.PathParam()),
504
654
  "api-version": Schema.String,
505
655
  }).pipe(T.Http({
506
- method: "DELETE",
507
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
656
+ method: "PATCH",
657
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
508
658
  }));
509
659
  // Output Schema
510
- export const ScalingPlanPersonalSchedulesDeleteOutput =
511
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
660
+ export const ApplicationsUpdateOutput =
661
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
662
+ id: Schema.optional(Schema.String),
663
+ name: Schema.optional(Schema.String),
664
+ type: Schema.optional(Schema.String),
665
+ systemData: Schema.optional(Schema.Struct({
666
+ createdBy: Schema.optional(Schema.String),
667
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
668
+ createdAt: Schema.optional(Schema.String),
669
+ lastModifiedBy: Schema.optional(Schema.String),
670
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
671
+ lastModifiedAt: Schema.optional(Schema.String),
672
+ })),
673
+ });
512
674
  // The operation
513
675
  /**
514
- * Remove a ScalingPlanPersonalSchedule.
676
+ * Update an application.
515
677
  *
516
678
  * @param api-version - The API version to use for this operation.
517
679
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
518
680
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
519
681
  */
520
- export const ScalingPlanPersonalSchedulesDelete =
521
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
522
- inputSchema: ScalingPlanPersonalSchedulesDeleteInput,
523
- outputSchema: ScalingPlanPersonalSchedulesDeleteOutput,
682
+ export const ApplicationsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
683
+ inputSchema: ApplicationsUpdateInput,
684
+ outputSchema: ApplicationsUpdateOutput,
524
685
  }));
525
686
  // Input Schema
526
- export const ScalingPlanPersonalSchedulesGetInput =
527
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
687
+ export const DesktopsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
528
688
  subscriptionId: Schema.String.pipe(T.PathParam()),
529
689
  resourceGroupName: Schema.String.pipe(T.PathParam()),
530
690
  "api-version": Schema.String,
531
691
  }).pipe(T.Http({
532
692
  method: "GET",
533
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
693
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}",
534
694
  }));
535
695
  // Output Schema
536
- export const ScalingPlanPersonalSchedulesGetOutput =
537
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
696
+ export const DesktopsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
697
+ id: Schema.optional(Schema.String),
698
+ name: Schema.optional(Schema.String),
699
+ type: Schema.optional(Schema.String),
700
+ systemData: Schema.optional(Schema.Struct({
701
+ createdBy: Schema.optional(Schema.String),
702
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
703
+ createdAt: Schema.optional(Schema.String),
704
+ lastModifiedBy: Schema.optional(Schema.String),
705
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
706
+ lastModifiedAt: Schema.optional(Schema.String),
707
+ })),
708
+ });
538
709
  // The operation
539
710
  /**
540
- * Get a ScalingPlanPersonalSchedule.
711
+ * Get a desktop.
541
712
  *
542
713
  * @param api-version - The API version to use for this operation.
543
714
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
544
715
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
545
716
  */
546
- export const ScalingPlanPersonalSchedulesGet =
547
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
548
- inputSchema: ScalingPlanPersonalSchedulesGetInput,
549
- outputSchema: ScalingPlanPersonalSchedulesGetOutput,
717
+ export const DesktopsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
718
+ inputSchema: DesktopsGetInput,
719
+ outputSchema: DesktopsGetOutput,
550
720
  }));
551
721
  // Input Schema
552
- export const ScalingPlanPersonalSchedulesListInput =
553
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
722
+ export const DesktopsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
554
723
  subscriptionId: Schema.String.pipe(T.PathParam()),
555
724
  resourceGroupName: Schema.String.pipe(T.PathParam()),
556
725
  "api-version": Schema.String,
@@ -559,17 +728,38 @@ export const ScalingPlanPersonalSchedulesListInput =
559
728
  initialSkip: Schema.optional(Schema.Number),
560
729
  }).pipe(T.Http({
561
730
  method: "GET",
562
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules",
731
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops",
563
732
  }));
564
733
  // Output Schema
565
- export const ScalingPlanPersonalSchedulesListOutput =
566
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
567
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
734
+ export const DesktopsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
735
+ value: Schema.optional(Schema.Array(Schema.Struct({
736
+ id: Schema.optional(Schema.String),
737
+ name: Schema.optional(Schema.String),
738
+ type: Schema.optional(Schema.String),
739
+ systemData: Schema.optional(Schema.Struct({
740
+ createdBy: Schema.optional(Schema.String),
741
+ createdByType: Schema.optional(Schema.Literals([
742
+ "User",
743
+ "Application",
744
+ "ManagedIdentity",
745
+ "Key",
746
+ ])),
747
+ createdAt: Schema.optional(Schema.String),
748
+ lastModifiedBy: Schema.optional(Schema.String),
749
+ lastModifiedByType: Schema.optional(Schema.Literals([
750
+ "User",
751
+ "Application",
752
+ "ManagedIdentity",
753
+ "Key",
754
+ ])),
755
+ lastModifiedAt: Schema.optional(Schema.String),
756
+ })),
757
+ }))),
568
758
  nextLink: Schema.optional(Schema.String),
569
759
  });
570
760
  // The operation
571
761
  /**
572
- * List ScalingPlanPersonalSchedules.
762
+ * List desktops.
573
763
  *
574
764
  * @param api-version - The API version to use for this operation.
575
765
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
@@ -578,112 +768,2000 @@ export const ScalingPlanPersonalSchedulesListOutput =
578
768
  * @param isDescending - Indicates whether the collection is descending.
579
769
  * @param initialSkip - Initial number of items to skip.
580
770
  */
581
- export const ScalingPlanPersonalSchedulesList =
582
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
583
- inputSchema: ScalingPlanPersonalSchedulesListInput,
584
- outputSchema: ScalingPlanPersonalSchedulesListOutput,
771
+ export const DesktopsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
772
+ inputSchema: DesktopsListInput,
773
+ outputSchema: DesktopsListOutput,
585
774
  }));
586
775
  // Input Schema
587
- export const ScalingPlanPersonalSchedulesUpdateInput =
588
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
776
+ export const DesktopsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
589
777
  subscriptionId: Schema.String.pipe(T.PathParam()),
590
778
  resourceGroupName: Schema.String.pipe(T.PathParam()),
591
779
  "api-version": Schema.String,
592
780
  }).pipe(T.Http({
593
781
  method: "PATCH",
594
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
782
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}",
595
783
  }));
596
784
  // Output Schema
597
- export const ScalingPlanPersonalSchedulesUpdateOutput =
598
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
785
+ export const DesktopsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
786
+ id: Schema.optional(Schema.String),
787
+ name: Schema.optional(Schema.String),
788
+ type: Schema.optional(Schema.String),
789
+ systemData: Schema.optional(Schema.Struct({
790
+ createdBy: Schema.optional(Schema.String),
791
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
792
+ createdAt: Schema.optional(Schema.String),
793
+ lastModifiedBy: Schema.optional(Schema.String),
794
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
795
+ lastModifiedAt: Schema.optional(Schema.String),
796
+ })),
797
+ });
599
798
  // The operation
600
799
  /**
601
- * Update a ScalingPlanPersonalSchedule.
800
+ * Update a desktop.
602
801
  *
603
802
  * @param api-version - The API version to use for this operation.
604
803
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
605
804
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
606
805
  */
607
- export const ScalingPlanPersonalSchedulesUpdate =
608
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
609
- inputSchema: ScalingPlanPersonalSchedulesUpdateInput,
610
- outputSchema: ScalingPlanPersonalSchedulesUpdateOutput,
806
+ export const DesktopsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
807
+ inputSchema: DesktopsUpdateInput,
808
+ outputSchema: DesktopsUpdateOutput,
611
809
  }));
612
810
  // Input Schema
613
- export const ScalingPlanPooledSchedulesDeleteInput =
811
+ export const HostPoolsCreateOrUpdateInput =
614
812
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
615
813
  subscriptionId: Schema.String.pipe(T.PathParam()),
616
814
  resourceGroupName: Schema.String.pipe(T.PathParam()),
617
815
  "api-version": Schema.String,
618
816
  }).pipe(T.Http({
619
- method: "DELETE",
620
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
817
+ method: "PUT",
818
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
621
819
  }));
622
820
  // Output Schema
623
- export const ScalingPlanPooledSchedulesDeleteOutput =
624
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
821
+ export const HostPoolsCreateOrUpdateOutput =
822
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
823
+ managedBy: Schema.optional(Schema.String),
824
+ kind: Schema.optional(Schema.String),
825
+ etag: Schema.optional(Schema.String),
826
+ identity: Schema.optional(Schema.Struct({
827
+ principalId: Schema.optional(Schema.String),
828
+ tenantId: Schema.optional(Schema.String),
829
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
830
+ })),
831
+ sku: Schema.optional(Schema.Struct({
832
+ name: Schema.String,
833
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
834
+ size: Schema.optional(Schema.String),
835
+ family: Schema.optional(Schema.String),
836
+ capacity: Schema.optional(Schema.Number),
837
+ })),
838
+ plan: Schema.optional(Schema.Struct({
839
+ name: Schema.String,
840
+ publisher: Schema.String,
841
+ product: Schema.String,
842
+ promotionCode: Schema.optional(Schema.String),
843
+ version: Schema.optional(Schema.String),
844
+ })),
845
+ });
625
846
  // The operation
626
847
  /**
627
- * Remove a ScalingPlanPooledSchedule.
848
+ * Create or update a host pool.
628
849
  *
629
850
  * @param api-version - The API version to use for this operation.
630
851
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
631
852
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
632
853
  */
633
- export const ScalingPlanPooledSchedulesDelete =
634
- /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
635
- inputSchema: ScalingPlanPooledSchedulesDeleteInput,
636
- outputSchema: ScalingPlanPooledSchedulesDeleteOutput,
854
+ export const HostPoolsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
855
+ inputSchema: HostPoolsCreateOrUpdateInput,
856
+ outputSchema: HostPoolsCreateOrUpdateOutput,
637
857
  }));
638
858
  // Input Schema
639
- export const ScalingPlansDeleteInput =
859
+ export const HostPoolsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
860
+ subscriptionId: Schema.String.pipe(T.PathParam()),
861
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
862
+ "api-version": Schema.String,
863
+ force: Schema.optional(Schema.Boolean),
864
+ }).pipe(T.Http({
865
+ method: "DELETE",
866
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
867
+ }));
868
+ // Output Schema
869
+ export const HostPoolsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
870
+ // The operation
871
+ /**
872
+ * Remove a host pool.
873
+ *
874
+ * @param api-version - The API version to use for this operation.
875
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
876
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
877
+ * @param force - Force flag to delete sessionHost.
878
+ */
879
+ export const HostPoolsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
880
+ inputSchema: HostPoolsDeleteInput,
881
+ outputSchema: HostPoolsDeleteOutput,
882
+ }));
883
+ // Input Schema
884
+ export const HostPoolsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
885
+ subscriptionId: Schema.String.pipe(T.PathParam()),
886
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
887
+ "api-version": Schema.String,
888
+ }).pipe(T.Http({
889
+ method: "GET",
890
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
891
+ }));
892
+ // Output Schema
893
+ export const HostPoolsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
894
+ managedBy: Schema.optional(Schema.String),
895
+ kind: Schema.optional(Schema.String),
896
+ etag: Schema.optional(Schema.String),
897
+ identity: Schema.optional(Schema.Struct({
898
+ principalId: Schema.optional(Schema.String),
899
+ tenantId: Schema.optional(Schema.String),
900
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
901
+ })),
902
+ sku: Schema.optional(Schema.Struct({
903
+ name: Schema.String,
904
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
905
+ size: Schema.optional(Schema.String),
906
+ family: Schema.optional(Schema.String),
907
+ capacity: Schema.optional(Schema.Number),
908
+ })),
909
+ plan: Schema.optional(Schema.Struct({
910
+ name: Schema.String,
911
+ publisher: Schema.String,
912
+ product: Schema.String,
913
+ promotionCode: Schema.optional(Schema.String),
914
+ version: Schema.optional(Schema.String),
915
+ })),
916
+ });
917
+ // The operation
918
+ /**
919
+ * Get a host pool.
920
+ *
921
+ * @param api-version - The API version to use for this operation.
922
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
923
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
924
+ */
925
+ export const HostPoolsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
926
+ inputSchema: HostPoolsGetInput,
927
+ outputSchema: HostPoolsGetOutput,
928
+ }));
929
+ // Input Schema
930
+ export const HostPoolsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
931
+ subscriptionId: Schema.String.pipe(T.PathParam()),
932
+ "api-version": Schema.String,
933
+ pageSize: Schema.optional(Schema.Number),
934
+ isDescending: Schema.optional(Schema.Boolean),
935
+ initialSkip: Schema.optional(Schema.Number),
936
+ }).pipe(T.Http({
937
+ method: "GET",
938
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools",
939
+ }));
940
+ // Output Schema
941
+ export const HostPoolsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
942
+ value: Schema.optional(Schema.Array(Schema.Struct({
943
+ managedBy: Schema.optional(Schema.String),
944
+ kind: Schema.optional(Schema.String),
945
+ etag: Schema.optional(Schema.String),
946
+ identity: Schema.optional(Schema.Struct({
947
+ principalId: Schema.optional(Schema.String),
948
+ tenantId: Schema.optional(Schema.String),
949
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
950
+ })),
951
+ sku: Schema.optional(Schema.Struct({
952
+ name: Schema.String,
953
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
954
+ size: Schema.optional(Schema.String),
955
+ family: Schema.optional(Schema.String),
956
+ capacity: Schema.optional(Schema.Number),
957
+ })),
958
+ plan: Schema.optional(Schema.Struct({
959
+ name: Schema.String,
960
+ publisher: Schema.String,
961
+ product: Schema.String,
962
+ promotionCode: Schema.optional(Schema.String),
963
+ version: Schema.optional(Schema.String),
964
+ })),
965
+ }))),
966
+ nextLink: Schema.optional(Schema.String),
967
+ });
968
+ // The operation
969
+ /**
970
+ * List hostPools in subscription.
971
+ *
972
+ * @param api-version - The API version to use for this operation.
973
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
974
+ * @param pageSize - Number of items per page.
975
+ * @param isDescending - Indicates whether the collection is descending.
976
+ * @param initialSkip - Initial number of items to skip.
977
+ */
978
+ export const HostPoolsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
979
+ inputSchema: HostPoolsListInput,
980
+ outputSchema: HostPoolsListOutput,
981
+ }));
982
+ // Input Schema
983
+ export const HostPoolsListByResourceGroupInput =
984
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
985
+ subscriptionId: Schema.String.pipe(T.PathParam()),
986
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
987
+ "api-version": Schema.String,
988
+ pageSize: Schema.optional(Schema.Number),
989
+ isDescending: Schema.optional(Schema.Boolean),
990
+ initialSkip: Schema.optional(Schema.Number),
991
+ }).pipe(T.Http({
992
+ method: "GET",
993
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools",
994
+ }));
995
+ // Output Schema
996
+ export const HostPoolsListByResourceGroupOutput =
997
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
998
+ value: Schema.optional(Schema.Array(Schema.Struct({
999
+ managedBy: Schema.optional(Schema.String),
1000
+ kind: Schema.optional(Schema.String),
1001
+ etag: Schema.optional(Schema.String),
1002
+ identity: Schema.optional(Schema.Struct({
1003
+ principalId: Schema.optional(Schema.String),
1004
+ tenantId: Schema.optional(Schema.String),
1005
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
1006
+ })),
1007
+ sku: Schema.optional(Schema.Struct({
1008
+ name: Schema.String,
1009
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
1010
+ size: Schema.optional(Schema.String),
1011
+ family: Schema.optional(Schema.String),
1012
+ capacity: Schema.optional(Schema.Number),
1013
+ })),
1014
+ plan: Schema.optional(Schema.Struct({
1015
+ name: Schema.String,
1016
+ publisher: Schema.String,
1017
+ product: Schema.String,
1018
+ promotionCode: Schema.optional(Schema.String),
1019
+ version: Schema.optional(Schema.String),
1020
+ })),
1021
+ }))),
1022
+ nextLink: Schema.optional(Schema.String),
1023
+ });
1024
+ // The operation
1025
+ /**
1026
+ * List hostPools.
1027
+ *
1028
+ * @param api-version - The API version to use for this operation.
1029
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1030
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1031
+ * @param pageSize - Number of items per page.
1032
+ * @param isDescending - Indicates whether the collection is descending.
1033
+ * @param initialSkip - Initial number of items to skip.
1034
+ */
1035
+ export const HostPoolsListByResourceGroup =
1036
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1037
+ inputSchema: HostPoolsListByResourceGroupInput,
1038
+ outputSchema: HostPoolsListByResourceGroupOutput,
1039
+ }));
1040
+ // Input Schema
1041
+ export const HostPoolsListRegistrationTokensInput =
1042
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1043
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1044
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1045
+ "api-version": Schema.String,
1046
+ }).pipe(T.Http({
1047
+ method: "POST",
1048
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/listRegistrationTokens",
1049
+ }));
1050
+ // Output Schema
1051
+ export const HostPoolsListRegistrationTokensOutput =
1052
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1053
+ value: Schema.optional(Schema.Array(Schema.Struct({
1054
+ expirationTime: Schema.optional(Schema.NullOr(Schema.String)),
1055
+ token: Schema.optional(Schema.String),
1056
+ }))),
1057
+ nextLink: Schema.optional(Schema.String),
1058
+ });
1059
+ // The operation
1060
+ /**
1061
+ * Operation to list the RegistrationTokens associated with the HostPool
1062
+ *
1063
+ * @param api-version - The API version to use for this operation.
1064
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1065
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1066
+ */
1067
+ export const HostPoolsListRegistrationTokens =
1068
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1069
+ inputSchema: HostPoolsListRegistrationTokensInput,
1070
+ outputSchema: HostPoolsListRegistrationTokensOutput,
1071
+ }));
1072
+ // Input Schema
1073
+ export const HostPoolsRetrieveRegistrationTokenInput =
1074
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1075
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1076
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1077
+ "api-version": Schema.String,
1078
+ }).pipe(T.Http({
1079
+ method: "POST",
1080
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken",
1081
+ }));
1082
+ // Output Schema
1083
+ export const HostPoolsRetrieveRegistrationTokenOutput =
1084
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1085
+ expirationTime: Schema.optional(Schema.NullOr(Schema.String)),
1086
+ token: Schema.optional(Schema.String),
1087
+ registrationTokenOperation: Schema.optional(Schema.Literals(["Delete", "None", "Update"])),
1088
+ });
1089
+ // The operation
1090
+ /**
1091
+ * Registration token of the host pool.
1092
+ *
1093
+ * @param api-version - The API version to use for this operation.
1094
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1095
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1096
+ */
1097
+ export const HostPoolsRetrieveRegistrationToken =
1098
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1099
+ inputSchema: HostPoolsRetrieveRegistrationTokenInput,
1100
+ outputSchema: HostPoolsRetrieveRegistrationTokenOutput,
1101
+ }));
1102
+ // Input Schema
1103
+ export const HostPoolsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1104
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1105
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1106
+ "api-version": Schema.String,
1107
+ }).pipe(T.Http({
1108
+ method: "PATCH",
1109
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
1110
+ }));
1111
+ // Output Schema
1112
+ export const HostPoolsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1113
+ managedBy: Schema.optional(Schema.String),
1114
+ kind: Schema.optional(Schema.String),
1115
+ etag: Schema.optional(Schema.String),
1116
+ identity: Schema.optional(Schema.Struct({
1117
+ principalId: Schema.optional(Schema.String),
1118
+ tenantId: Schema.optional(Schema.String),
1119
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
1120
+ })),
1121
+ sku: Schema.optional(Schema.Struct({
1122
+ name: Schema.String,
1123
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
1124
+ size: Schema.optional(Schema.String),
1125
+ family: Schema.optional(Schema.String),
1126
+ capacity: Schema.optional(Schema.Number),
1127
+ })),
1128
+ plan: Schema.optional(Schema.Struct({
1129
+ name: Schema.String,
1130
+ publisher: Schema.String,
1131
+ product: Schema.String,
1132
+ promotionCode: Schema.optional(Schema.String),
1133
+ version: Schema.optional(Schema.String),
1134
+ })),
1135
+ });
1136
+ // The operation
1137
+ /**
1138
+ * Update a host pool.
1139
+ *
1140
+ * @param api-version - The API version to use for this operation.
1141
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1142
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1143
+ */
1144
+ export const HostPoolsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1145
+ inputSchema: HostPoolsUpdateInput,
1146
+ outputSchema: HostPoolsUpdateOutput,
1147
+ }));
1148
+ // Input Schema
1149
+ export const MsixImagesExpandInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1150
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1151
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1152
+ "api-version": Schema.String,
1153
+ }).pipe(T.Http({
1154
+ method: "POST",
1155
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/expandMsixImage",
1156
+ }));
1157
+ // Output Schema
1158
+ export const MsixImagesExpandOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1159
+ value: Schema.optional(Schema.Array(Schema.Struct({
1160
+ id: Schema.optional(Schema.String),
1161
+ name: Schema.optional(Schema.String),
1162
+ type: Schema.optional(Schema.String),
1163
+ systemData: Schema.optional(Schema.Struct({
1164
+ createdBy: Schema.optional(Schema.String),
1165
+ createdByType: Schema.optional(Schema.Literals([
1166
+ "User",
1167
+ "Application",
1168
+ "ManagedIdentity",
1169
+ "Key",
1170
+ ])),
1171
+ createdAt: Schema.optional(Schema.String),
1172
+ lastModifiedBy: Schema.optional(Schema.String),
1173
+ lastModifiedByType: Schema.optional(Schema.Literals([
1174
+ "User",
1175
+ "Application",
1176
+ "ManagedIdentity",
1177
+ "Key",
1178
+ ])),
1179
+ lastModifiedAt: Schema.optional(Schema.String),
1180
+ })),
1181
+ }))),
1182
+ nextLink: Schema.optional(Schema.String),
1183
+ });
1184
+ // The operation
1185
+ /**
1186
+ * Expands and Lists MSIX packages in an Image, given the Image Path.
1187
+ *
1188
+ * @param api-version - The API version to use for this operation.
1189
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1190
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1191
+ */
1192
+ export const MsixImagesExpand = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1193
+ inputSchema: MsixImagesExpandInput,
1194
+ outputSchema: MsixImagesExpandOutput,
1195
+ }));
1196
+ // Input Schema
1197
+ export const MSIXPackagesCreateOrUpdateInput =
1198
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1199
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1200
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1201
+ "api-version": Schema.String,
1202
+ }).pipe(T.Http({
1203
+ method: "PUT",
1204
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
1205
+ }));
1206
+ // Output Schema
1207
+ export const MSIXPackagesCreateOrUpdateOutput =
1208
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1209
+ id: Schema.optional(Schema.String),
1210
+ name: Schema.optional(Schema.String),
1211
+ type: Schema.optional(Schema.String),
1212
+ systemData: Schema.optional(Schema.Struct({
1213
+ createdBy: Schema.optional(Schema.String),
1214
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
1215
+ createdAt: Schema.optional(Schema.String),
1216
+ lastModifiedBy: Schema.optional(Schema.String),
1217
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
1218
+ lastModifiedAt: Schema.optional(Schema.String),
1219
+ })),
1220
+ });
1221
+ // The operation
1222
+ /**
1223
+ * Create or update a MSIX package.
1224
+ *
1225
+ * @param api-version - The API version to use for this operation.
1226
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1227
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1228
+ */
1229
+ export const MSIXPackagesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1230
+ inputSchema: MSIXPackagesCreateOrUpdateInput,
1231
+ outputSchema: MSIXPackagesCreateOrUpdateOutput,
1232
+ }));
1233
+ // Input Schema
1234
+ export const MSIXPackagesDeleteInput =
1235
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1236
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1237
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1238
+ "api-version": Schema.String,
1239
+ }).pipe(T.Http({
1240
+ method: "DELETE",
1241
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
1242
+ }));
1243
+ // Output Schema
1244
+ export const MSIXPackagesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1245
+ // The operation
1246
+ /**
1247
+ * Remove an MSIX Package.
1248
+ *
1249
+ * @param api-version - The API version to use for this operation.
1250
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1251
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1252
+ */
1253
+ export const MSIXPackagesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1254
+ inputSchema: MSIXPackagesDeleteInput,
1255
+ outputSchema: MSIXPackagesDeleteOutput,
1256
+ }));
1257
+ // Input Schema
1258
+ export const MSIXPackagesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1259
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1260
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1261
+ "api-version": Schema.String,
1262
+ }).pipe(T.Http({
1263
+ method: "GET",
1264
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
1265
+ }));
1266
+ // Output Schema
1267
+ export const MSIXPackagesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1268
+ id: Schema.optional(Schema.String),
1269
+ name: Schema.optional(Schema.String),
1270
+ type: Schema.optional(Schema.String),
1271
+ systemData: Schema.optional(Schema.Struct({
1272
+ createdBy: Schema.optional(Schema.String),
1273
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
1274
+ createdAt: Schema.optional(Schema.String),
1275
+ lastModifiedBy: Schema.optional(Schema.String),
1276
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
1277
+ lastModifiedAt: Schema.optional(Schema.String),
1278
+ })),
1279
+ });
1280
+ // The operation
1281
+ /**
1282
+ * Get a msixpackage.
1283
+ *
1284
+ * @param api-version - The API version to use for this operation.
1285
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1286
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1287
+ */
1288
+ export const MSIXPackagesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1289
+ inputSchema: MSIXPackagesGetInput,
1290
+ outputSchema: MSIXPackagesGetOutput,
1291
+ }));
1292
+ // Input Schema
1293
+ export const MSIXPackagesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1294
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1295
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1296
+ "api-version": Schema.String,
1297
+ pageSize: Schema.optional(Schema.Number),
1298
+ isDescending: Schema.optional(Schema.Boolean),
1299
+ initialSkip: Schema.optional(Schema.Number),
1300
+ }).pipe(T.Http({
1301
+ method: "GET",
1302
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages",
1303
+ }));
1304
+ // Output Schema
1305
+ export const MSIXPackagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1306
+ value: Schema.optional(Schema.Array(Schema.Struct({
1307
+ id: Schema.optional(Schema.String),
1308
+ name: Schema.optional(Schema.String),
1309
+ type: Schema.optional(Schema.String),
1310
+ systemData: Schema.optional(Schema.Struct({
1311
+ createdBy: Schema.optional(Schema.String),
1312
+ createdByType: Schema.optional(Schema.Literals([
1313
+ "User",
1314
+ "Application",
1315
+ "ManagedIdentity",
1316
+ "Key",
1317
+ ])),
1318
+ createdAt: Schema.optional(Schema.String),
1319
+ lastModifiedBy: Schema.optional(Schema.String),
1320
+ lastModifiedByType: Schema.optional(Schema.Literals([
1321
+ "User",
1322
+ "Application",
1323
+ "ManagedIdentity",
1324
+ "Key",
1325
+ ])),
1326
+ lastModifiedAt: Schema.optional(Schema.String),
1327
+ })),
1328
+ }))),
1329
+ nextLink: Schema.optional(Schema.String),
1330
+ });
1331
+ // The operation
1332
+ /**
1333
+ * List MSIX packages in hostpool.
1334
+ *
1335
+ * @param api-version - The API version to use for this operation.
1336
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1337
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1338
+ * @param pageSize - Number of items per page.
1339
+ * @param isDescending - Indicates whether the collection is descending.
1340
+ * @param initialSkip - Initial number of items to skip.
1341
+ */
1342
+ export const MSIXPackagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1343
+ inputSchema: MSIXPackagesListInput,
1344
+ outputSchema: MSIXPackagesListOutput,
1345
+ }));
1346
+ // Input Schema
1347
+ export const MSIXPackagesUpdateInput =
1348
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1349
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1350
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1351
+ "api-version": Schema.String,
1352
+ }).pipe(T.Http({
1353
+ method: "PATCH",
1354
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
1355
+ }));
1356
+ // Output Schema
1357
+ export const MSIXPackagesUpdateOutput =
1358
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1359
+ id: Schema.optional(Schema.String),
1360
+ name: Schema.optional(Schema.String),
1361
+ type: Schema.optional(Schema.String),
1362
+ systemData: Schema.optional(Schema.Struct({
1363
+ createdBy: Schema.optional(Schema.String),
1364
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
1365
+ createdAt: Schema.optional(Schema.String),
1366
+ lastModifiedBy: Schema.optional(Schema.String),
1367
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
1368
+ lastModifiedAt: Schema.optional(Schema.String),
1369
+ })),
1370
+ });
1371
+ // The operation
1372
+ /**
1373
+ * Update an MSIX Package.
1374
+ *
1375
+ * @param api-version - The API version to use for this operation.
1376
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1377
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1378
+ */
1379
+ export const MSIXPackagesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1380
+ inputSchema: MSIXPackagesUpdateInput,
1381
+ outputSchema: MSIXPackagesUpdateOutput,
1382
+ }));
1383
+ // Input Schema
1384
+ export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1385
+ "api-version": Schema.String,
1386
+ }).pipe(T.Http({
1387
+ method: "GET",
1388
+ path: "/providers/Microsoft.DesktopVirtualization/operations",
1389
+ }));
1390
+ // Output Schema
1391
+ export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1392
+ value: Schema.optional(Schema.Array(Schema.Struct({
1393
+ name: Schema.optional(Schema.String),
1394
+ display: Schema.optional(Schema.Struct({
1395
+ provider: Schema.optional(Schema.String),
1396
+ resource: Schema.optional(Schema.String),
1397
+ operation: Schema.optional(Schema.String),
1398
+ description: Schema.optional(Schema.String),
1399
+ })),
1400
+ isDataAction: Schema.optional(Schema.Boolean),
1401
+ properties: Schema.optional(Schema.Struct({
1402
+ serviceSpecification: Schema.optional(Schema.Struct({
1403
+ logSpecifications: Schema.optional(Schema.Array(Schema.Struct({
1404
+ name: Schema.optional(Schema.String),
1405
+ displayName: Schema.optional(Schema.String),
1406
+ blobDuration: Schema.optional(Schema.String),
1407
+ }))),
1408
+ })),
1409
+ })),
1410
+ }))),
1411
+ nextLink: Schema.optional(Schema.String),
1412
+ });
1413
+ // The operation
1414
+ /**
1415
+ * List all of the available operations the Desktop Virtualization resource provider supports.
1416
+ *
1417
+ * @param api-version - The API version to use for this operation.
1418
+ */
1419
+ export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1420
+ inputSchema: OperationsListInput,
1421
+ outputSchema: OperationsListOutput,
1422
+ }));
1423
+ // Input Schema
1424
+ export const PrivateEndpointConnectionsDeleteByHostPoolInput =
1425
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1426
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1427
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1428
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
1429
+ "api-version": Schema.String,
1430
+ }).pipe(T.Http({
1431
+ method: "DELETE",
1432
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
1433
+ }));
1434
+ // Output Schema
1435
+ export const PrivateEndpointConnectionsDeleteByHostPoolOutput =
1436
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1437
+ // The operation
1438
+ /**
1439
+ * Remove a connection.
1440
+ *
1441
+ * @param api-version - The API version to use for this operation.
1442
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1443
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1444
+ * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
1445
+ */
1446
+ export const PrivateEndpointConnectionsDeleteByHostPool =
1447
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1448
+ inputSchema: PrivateEndpointConnectionsDeleteByHostPoolInput,
1449
+ outputSchema: PrivateEndpointConnectionsDeleteByHostPoolOutput,
1450
+ }));
1451
+ // Input Schema
1452
+ export const PrivateEndpointConnectionsDeleteByWorkspaceInput =
1453
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1454
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1455
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1456
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
1457
+ "api-version": Schema.String,
1458
+ }).pipe(T.Http({
1459
+ method: "DELETE",
1460
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
1461
+ }));
1462
+ // Output Schema
1463
+ export const PrivateEndpointConnectionsDeleteByWorkspaceOutput =
1464
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1465
+ // The operation
1466
+ /**
1467
+ * Remove a connection.
1468
+ *
1469
+ * @param api-version - The API version to use for this operation.
1470
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1471
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1472
+ * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
1473
+ */
1474
+ export const PrivateEndpointConnectionsDeleteByWorkspace =
1475
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1476
+ inputSchema: PrivateEndpointConnectionsDeleteByWorkspaceInput,
1477
+ outputSchema: PrivateEndpointConnectionsDeleteByWorkspaceOutput,
1478
+ }));
1479
+ // Input Schema
1480
+ export const PrivateEndpointConnectionsGetByHostPoolInput =
1481
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1482
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1483
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1484
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
1485
+ "api-version": Schema.String,
1486
+ }).pipe(T.Http({
1487
+ method: "GET",
1488
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
1489
+ }));
1490
+ // Output Schema
1491
+ export const PrivateEndpointConnectionsGetByHostPoolOutput =
1492
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1493
+ properties: Schema.optional(Schema.Struct({
1494
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1495
+ privateEndpoint: Schema.optional(Schema.Struct({
1496
+ id: Schema.optional(Schema.String),
1497
+ })),
1498
+ privateLinkServiceConnectionState: Schema.Struct({
1499
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1500
+ description: Schema.optional(Schema.String),
1501
+ actionsRequired: Schema.optional(Schema.String),
1502
+ }),
1503
+ provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"])),
1504
+ })),
1505
+ });
1506
+ // The operation
1507
+ /**
1508
+ * Get a private endpoint connection.
1509
+ *
1510
+ * @param api-version - The API version to use for this operation.
1511
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1512
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1513
+ * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
1514
+ */
1515
+ export const PrivateEndpointConnectionsGetByHostPool =
1516
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1517
+ inputSchema: PrivateEndpointConnectionsGetByHostPoolInput,
1518
+ outputSchema: PrivateEndpointConnectionsGetByHostPoolOutput,
1519
+ }));
1520
+ // Input Schema
1521
+ export const PrivateEndpointConnectionsGetByWorkspaceInput =
1522
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1523
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1524
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1525
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
1526
+ "api-version": Schema.String,
1527
+ }).pipe(T.Http({
1528
+ method: "GET",
1529
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
1530
+ }));
1531
+ // Output Schema
1532
+ export const PrivateEndpointConnectionsGetByWorkspaceOutput =
1533
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1534
+ properties: Schema.optional(Schema.Struct({
1535
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1536
+ privateEndpoint: Schema.optional(Schema.Struct({
1537
+ id: Schema.optional(Schema.String),
1538
+ })),
1539
+ privateLinkServiceConnectionState: Schema.Struct({
1540
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1541
+ description: Schema.optional(Schema.String),
1542
+ actionsRequired: Schema.optional(Schema.String),
1543
+ }),
1544
+ provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"])),
1545
+ })),
1546
+ });
1547
+ // The operation
1548
+ /**
1549
+ * Get a private endpoint connection.
1550
+ *
1551
+ * @param api-version - The API version to use for this operation.
1552
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1553
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1554
+ * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
1555
+ */
1556
+ export const PrivateEndpointConnectionsGetByWorkspace =
1557
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1558
+ inputSchema: PrivateEndpointConnectionsGetByWorkspaceInput,
1559
+ outputSchema: PrivateEndpointConnectionsGetByWorkspaceOutput,
1560
+ }));
1561
+ // Input Schema
1562
+ export const PrivateEndpointConnectionsListByHostPoolInput =
1563
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1564
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1565
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1566
+ "api-version": Schema.String,
1567
+ pageSize: Schema.optional(Schema.Number),
1568
+ isDescending: Schema.optional(Schema.Boolean),
1569
+ initialSkip: Schema.optional(Schema.Number),
1570
+ }).pipe(T.Http({
1571
+ method: "GET",
1572
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections",
1573
+ }));
1574
+ // Output Schema
1575
+ export const PrivateEndpointConnectionsListByHostPoolOutput =
1576
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1577
+ value: Schema.optional(Schema.Array(Schema.Struct({
1578
+ properties: Schema.optional(Schema.Struct({
1579
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1580
+ privateEndpoint: Schema.optional(Schema.Struct({
1581
+ id: Schema.optional(Schema.String),
1582
+ })),
1583
+ privateLinkServiceConnectionState: Schema.Struct({
1584
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1585
+ description: Schema.optional(Schema.String),
1586
+ actionsRequired: Schema.optional(Schema.String),
1587
+ }),
1588
+ provisioningState: Schema.optional(Schema.Literals([
1589
+ "Succeeded",
1590
+ "Creating",
1591
+ "Deleting",
1592
+ "Failed",
1593
+ ])),
1594
+ })),
1595
+ }))),
1596
+ nextLink: Schema.optional(Schema.String),
1597
+ });
1598
+ // The operation
1599
+ /**
1600
+ * List private endpoint connections associated with hostpool.
1601
+ *
1602
+ * @param api-version - The API version to use for this operation.
1603
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1604
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1605
+ * @param pageSize - Number of items per page.
1606
+ * @param isDescending - Indicates whether the collection is descending.
1607
+ * @param initialSkip - Initial number of items to skip.
1608
+ */
1609
+ export const PrivateEndpointConnectionsListByHostPool =
1610
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1611
+ inputSchema: PrivateEndpointConnectionsListByHostPoolInput,
1612
+ outputSchema: PrivateEndpointConnectionsListByHostPoolOutput,
1613
+ }));
1614
+ // Input Schema
1615
+ export const PrivateEndpointConnectionsListByWorkspaceInput =
1616
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1617
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1618
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1619
+ "api-version": Schema.String,
1620
+ }).pipe(T.Http({
1621
+ method: "GET",
1622
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections",
1623
+ }));
1624
+ // Output Schema
1625
+ export const PrivateEndpointConnectionsListByWorkspaceOutput =
1626
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1627
+ value: Schema.optional(Schema.Array(Schema.Struct({
1628
+ properties: Schema.optional(Schema.Struct({
1629
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1630
+ privateEndpoint: Schema.optional(Schema.Struct({
1631
+ id: Schema.optional(Schema.String),
1632
+ })),
1633
+ privateLinkServiceConnectionState: Schema.Struct({
1634
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1635
+ description: Schema.optional(Schema.String),
1636
+ actionsRequired: Schema.optional(Schema.String),
1637
+ }),
1638
+ provisioningState: Schema.optional(Schema.Literals([
1639
+ "Succeeded",
1640
+ "Creating",
1641
+ "Deleting",
1642
+ "Failed",
1643
+ ])),
1644
+ })),
1645
+ }))),
1646
+ nextLink: Schema.optional(Schema.String),
1647
+ });
1648
+ // The operation
1649
+ /**
1650
+ * List private endpoint connections.
1651
+ *
1652
+ * @param api-version - The API version to use for this operation.
1653
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1654
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1655
+ */
1656
+ export const PrivateEndpointConnectionsListByWorkspace =
1657
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1658
+ inputSchema: PrivateEndpointConnectionsListByWorkspaceInput,
1659
+ outputSchema: PrivateEndpointConnectionsListByWorkspaceOutput,
1660
+ }));
1661
+ // Input Schema
1662
+ export const PrivateEndpointConnectionsUpdateByHostPoolInput =
1663
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1664
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1665
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1666
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
1667
+ "api-version": Schema.String,
1668
+ properties: Schema.optional(Schema.Struct({
1669
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1670
+ privateEndpoint: Schema.optional(Schema.Struct({
1671
+ id: Schema.optional(Schema.String),
1672
+ })),
1673
+ privateLinkServiceConnectionState: Schema.Struct({
1674
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1675
+ description: Schema.optional(Schema.String),
1676
+ actionsRequired: Schema.optional(Schema.String),
1677
+ }),
1678
+ provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"])),
1679
+ })),
1680
+ }).pipe(T.Http({
1681
+ method: "PUT",
1682
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
1683
+ }));
1684
+ // Output Schema
1685
+ export const PrivateEndpointConnectionsUpdateByHostPoolOutput =
1686
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1687
+ properties: Schema.optional(Schema.Struct({
1688
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1689
+ privateEndpoint: Schema.optional(Schema.Struct({
1690
+ id: Schema.optional(Schema.String),
1691
+ })),
1692
+ privateLinkServiceConnectionState: Schema.Struct({
1693
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1694
+ description: Schema.optional(Schema.String),
1695
+ actionsRequired: Schema.optional(Schema.String),
1696
+ }),
1697
+ provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"])),
1698
+ })),
1699
+ });
1700
+ // The operation
1701
+ /**
1702
+ * Approve or reject a private endpoint connection.
1703
+ *
1704
+ * @param api-version - The API version to use for this operation.
1705
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1706
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1707
+ * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
1708
+ * @param properties - Resource properties.
1709
+ */
1710
+ export const PrivateEndpointConnectionsUpdateByHostPool =
1711
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1712
+ inputSchema: PrivateEndpointConnectionsUpdateByHostPoolInput,
1713
+ outputSchema: PrivateEndpointConnectionsUpdateByHostPoolOutput,
1714
+ }));
1715
+ // Input Schema
1716
+ export const PrivateEndpointConnectionsUpdateByWorkspaceInput =
1717
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1718
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1719
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1720
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
1721
+ "api-version": Schema.String,
1722
+ properties: Schema.optional(Schema.Struct({
1723
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1724
+ privateEndpoint: Schema.optional(Schema.Struct({
1725
+ id: Schema.optional(Schema.String),
1726
+ })),
1727
+ privateLinkServiceConnectionState: Schema.Struct({
1728
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1729
+ description: Schema.optional(Schema.String),
1730
+ actionsRequired: Schema.optional(Schema.String),
1731
+ }),
1732
+ provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"])),
1733
+ })),
1734
+ }).pipe(T.Http({
1735
+ method: "PUT",
1736
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
1737
+ }));
1738
+ // Output Schema
1739
+ export const PrivateEndpointConnectionsUpdateByWorkspaceOutput =
1740
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1741
+ properties: Schema.optional(Schema.Struct({
1742
+ groupIds: Schema.optional(Schema.Array(Schema.String)),
1743
+ privateEndpoint: Schema.optional(Schema.Struct({
1744
+ id: Schema.optional(Schema.String),
1745
+ })),
1746
+ privateLinkServiceConnectionState: Schema.Struct({
1747
+ status: Schema.optional(Schema.Literals(["Pending", "Approved", "Rejected"])),
1748
+ description: Schema.optional(Schema.String),
1749
+ actionsRequired: Schema.optional(Schema.String),
1750
+ }),
1751
+ provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"])),
1752
+ })),
1753
+ });
1754
+ // The operation
1755
+ /**
1756
+ * Approve or reject a private endpoint connection.
1757
+ *
1758
+ * @param api-version - The API version to use for this operation.
1759
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1760
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1761
+ * @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
1762
+ * @param properties - Resource properties.
1763
+ */
1764
+ export const PrivateEndpointConnectionsUpdateByWorkspace =
1765
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1766
+ inputSchema: PrivateEndpointConnectionsUpdateByWorkspaceInput,
1767
+ outputSchema: PrivateEndpointConnectionsUpdateByWorkspaceOutput,
1768
+ }));
1769
+ // Input Schema
1770
+ export const PrivateLinkResourcesListByHostPoolInput =
1771
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1772
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1773
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1774
+ "api-version": Schema.String,
1775
+ pageSize: Schema.optional(Schema.Number),
1776
+ isDescending: Schema.optional(Schema.Boolean),
1777
+ initialSkip: Schema.optional(Schema.Number),
1778
+ }).pipe(T.Http({
1779
+ method: "GET",
1780
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateLinkResources",
1781
+ }));
1782
+ // Output Schema
1783
+ export const PrivateLinkResourcesListByHostPoolOutput =
1784
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1785
+ value: Schema.optional(Schema.Array(Schema.Struct({
1786
+ id: Schema.optional(Schema.String),
1787
+ name: Schema.optional(Schema.String),
1788
+ type: Schema.optional(Schema.String),
1789
+ systemData: Schema.optional(Schema.Struct({
1790
+ createdBy: Schema.optional(Schema.String),
1791
+ createdByType: Schema.optional(Schema.Literals([
1792
+ "User",
1793
+ "Application",
1794
+ "ManagedIdentity",
1795
+ "Key",
1796
+ ])),
1797
+ createdAt: Schema.optional(Schema.String),
1798
+ lastModifiedBy: Schema.optional(Schema.String),
1799
+ lastModifiedByType: Schema.optional(Schema.Literals([
1800
+ "User",
1801
+ "Application",
1802
+ "ManagedIdentity",
1803
+ "Key",
1804
+ ])),
1805
+ lastModifiedAt: Schema.optional(Schema.String),
1806
+ })),
1807
+ }))),
1808
+ nextLink: Schema.optional(Schema.String),
1809
+ });
1810
+ // The operation
1811
+ /**
1812
+ * List the private link resources available for this hostpool.
1813
+ *
1814
+ * @param api-version - The API version to use for this operation.
1815
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1816
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1817
+ * @param pageSize - Number of items per page.
1818
+ * @param isDescending - Indicates whether the collection is descending.
1819
+ * @param initialSkip - Initial number of items to skip.
1820
+ */
1821
+ export const PrivateLinkResourcesListByHostPool =
1822
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1823
+ inputSchema: PrivateLinkResourcesListByHostPoolInput,
1824
+ outputSchema: PrivateLinkResourcesListByHostPoolOutput,
1825
+ }));
1826
+ // Input Schema
1827
+ export const PrivateLinkResourcesListByWorkspaceInput =
1828
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1829
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1830
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1831
+ "api-version": Schema.String,
1832
+ pageSize: Schema.optional(Schema.Number),
1833
+ isDescending: Schema.optional(Schema.Boolean),
1834
+ initialSkip: Schema.optional(Schema.Number),
1835
+ }).pipe(T.Http({
1836
+ method: "GET",
1837
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateLinkResources",
1838
+ }));
1839
+ // Output Schema
1840
+ export const PrivateLinkResourcesListByWorkspaceOutput =
1841
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1842
+ value: Schema.optional(Schema.Array(Schema.Struct({
1843
+ id: Schema.optional(Schema.String),
1844
+ name: Schema.optional(Schema.String),
1845
+ type: Schema.optional(Schema.String),
1846
+ systemData: Schema.optional(Schema.Struct({
1847
+ createdBy: Schema.optional(Schema.String),
1848
+ createdByType: Schema.optional(Schema.Literals([
1849
+ "User",
1850
+ "Application",
1851
+ "ManagedIdentity",
1852
+ "Key",
1853
+ ])),
1854
+ createdAt: Schema.optional(Schema.String),
1855
+ lastModifiedBy: Schema.optional(Schema.String),
1856
+ lastModifiedByType: Schema.optional(Schema.Literals([
1857
+ "User",
1858
+ "Application",
1859
+ "ManagedIdentity",
1860
+ "Key",
1861
+ ])),
1862
+ lastModifiedAt: Schema.optional(Schema.String),
1863
+ })),
1864
+ }))),
1865
+ nextLink: Schema.optional(Schema.String),
1866
+ });
1867
+ // The operation
1868
+ /**
1869
+ * List the private link resources available for this workspace.
1870
+ *
1871
+ * @param api-version - The API version to use for this operation.
1872
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1873
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1874
+ * @param pageSize - Number of items per page.
1875
+ * @param isDescending - Indicates whether the collection is descending.
1876
+ * @param initialSkip - Initial number of items to skip.
1877
+ */
1878
+ export const PrivateLinkResourcesListByWorkspace =
1879
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1880
+ inputSchema: PrivateLinkResourcesListByWorkspaceInput,
1881
+ outputSchema: PrivateLinkResourcesListByWorkspaceOutput,
1882
+ }));
1883
+ // Input Schema
1884
+ export const ScalingPlanPersonalSchedulesCreateInput =
1885
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1886
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1887
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1888
+ "api-version": Schema.String,
1889
+ }).pipe(T.Http({
1890
+ method: "PUT",
1891
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
1892
+ }));
1893
+ // Output Schema
1894
+ export const ScalingPlanPersonalSchedulesCreateOutput =
1895
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1896
+ // The operation
1897
+ /**
1898
+ * Create or update a ScalingPlanPersonalSchedule.
1899
+ *
1900
+ * @param api-version - The API version to use for this operation.
1901
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1902
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1903
+ */
1904
+ export const ScalingPlanPersonalSchedulesCreate =
1905
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1906
+ inputSchema: ScalingPlanPersonalSchedulesCreateInput,
1907
+ outputSchema: ScalingPlanPersonalSchedulesCreateOutput,
1908
+ }));
1909
+ // Input Schema
1910
+ export const ScalingPlanPersonalSchedulesDeleteInput =
1911
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1912
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1913
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1914
+ "api-version": Schema.String,
1915
+ }).pipe(T.Http({
1916
+ method: "DELETE",
1917
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
1918
+ }));
1919
+ // Output Schema
1920
+ export const ScalingPlanPersonalSchedulesDeleteOutput =
1921
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
1922
+ // The operation
1923
+ /**
1924
+ * Remove a ScalingPlanPersonalSchedule.
1925
+ *
1926
+ * @param api-version - The API version to use for this operation.
1927
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1928
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1929
+ */
1930
+ export const ScalingPlanPersonalSchedulesDelete =
1931
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1932
+ inputSchema: ScalingPlanPersonalSchedulesDeleteInput,
1933
+ outputSchema: ScalingPlanPersonalSchedulesDeleteOutput,
1934
+ }));
1935
+ // Input Schema
1936
+ export const ScalingPlanPersonalSchedulesGetInput =
1937
+ /*@__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(T.Http({
1942
+ method: "GET",
1943
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
1944
+ }));
1945
+ // Output Schema
1946
+ export const ScalingPlanPersonalSchedulesGetOutput =
1947
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
1948
+ // The operation
1949
+ /**
1950
+ * Get a ScalingPlanPersonalSchedule.
1951
+ *
1952
+ * @param api-version - The API version to use for this operation.
1953
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1954
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1955
+ */
1956
+ export const ScalingPlanPersonalSchedulesGet =
1957
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1958
+ inputSchema: ScalingPlanPersonalSchedulesGetInput,
1959
+ outputSchema: ScalingPlanPersonalSchedulesGetOutput,
1960
+ }));
1961
+ // Input Schema
1962
+ export const ScalingPlanPersonalSchedulesListInput =
1963
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1964
+ subscriptionId: Schema.String.pipe(T.PathParam()),
1965
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1966
+ "api-version": Schema.String,
1967
+ pageSize: Schema.optional(Schema.Number),
1968
+ isDescending: Schema.optional(Schema.Boolean),
1969
+ initialSkip: Schema.optional(Schema.Number),
1970
+ }).pipe(T.Http({
1971
+ method: "GET",
1972
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules",
1973
+ }));
1974
+ // Output Schema
1975
+ export const ScalingPlanPersonalSchedulesListOutput =
1976
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1977
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
1978
+ nextLink: Schema.optional(Schema.String),
1979
+ });
1980
+ // The operation
1981
+ /**
1982
+ * List ScalingPlanPersonalSchedules.
1983
+ *
1984
+ * @param api-version - The API version to use for this operation.
1985
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1986
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1987
+ * @param pageSize - Number of items per page.
1988
+ * @param isDescending - Indicates whether the collection is descending.
1989
+ * @param initialSkip - Initial number of items to skip.
1990
+ */
1991
+ export const ScalingPlanPersonalSchedulesList =
1992
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1993
+ inputSchema: ScalingPlanPersonalSchedulesListInput,
1994
+ outputSchema: ScalingPlanPersonalSchedulesListOutput,
1995
+ }));
1996
+ // Input Schema
1997
+ export const ScalingPlanPersonalSchedulesUpdateInput =
1998
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1999
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2000
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2001
+ "api-version": Schema.String,
2002
+ }).pipe(T.Http({
2003
+ method: "PATCH",
2004
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
2005
+ }));
2006
+ // Output Schema
2007
+ export const ScalingPlanPersonalSchedulesUpdateOutput =
2008
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
2009
+ // The operation
2010
+ /**
2011
+ * Update a ScalingPlanPersonalSchedule.
2012
+ *
2013
+ * @param api-version - The API version to use for this operation.
2014
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2015
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2016
+ */
2017
+ export const ScalingPlanPersonalSchedulesUpdate =
2018
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2019
+ inputSchema: ScalingPlanPersonalSchedulesUpdateInput,
2020
+ outputSchema: ScalingPlanPersonalSchedulesUpdateOutput,
2021
+ }));
2022
+ // Input Schema
2023
+ export const ScalingPlanPooledSchedulesCreateInput =
2024
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2025
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2026
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2027
+ "api-version": Schema.String,
2028
+ }).pipe(T.Http({
2029
+ method: "PUT",
2030
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
2031
+ }));
2032
+ // Output Schema
2033
+ export const ScalingPlanPooledSchedulesCreateOutput =
2034
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2035
+ id: Schema.optional(Schema.String),
2036
+ name: Schema.optional(Schema.String),
2037
+ type: Schema.optional(Schema.String),
2038
+ systemData: Schema.optional(Schema.Struct({
2039
+ createdBy: Schema.optional(Schema.String),
2040
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2041
+ createdAt: Schema.optional(Schema.String),
2042
+ lastModifiedBy: Schema.optional(Schema.String),
2043
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2044
+ lastModifiedAt: Schema.optional(Schema.String),
2045
+ })),
2046
+ });
2047
+ // The operation
2048
+ /**
2049
+ * Create or update a ScalingPlanPooledSchedule.
2050
+ *
2051
+ * @param api-version - The API version to use for this operation.
2052
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2053
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2054
+ */
2055
+ export const ScalingPlanPooledSchedulesCreate =
2056
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2057
+ inputSchema: ScalingPlanPooledSchedulesCreateInput,
2058
+ outputSchema: ScalingPlanPooledSchedulesCreateOutput,
2059
+ }));
2060
+ // Input Schema
2061
+ export const ScalingPlanPooledSchedulesDeleteInput =
2062
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2063
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2064
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2065
+ "api-version": Schema.String,
2066
+ }).pipe(T.Http({
2067
+ method: "DELETE",
2068
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
2069
+ }));
2070
+ // Output Schema
2071
+ export const ScalingPlanPooledSchedulesDeleteOutput =
2072
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2073
+ // The operation
2074
+ /**
2075
+ * Remove a ScalingPlanPooledSchedule.
2076
+ *
2077
+ * @param api-version - The API version to use for this operation.
2078
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2079
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2080
+ */
2081
+ export const ScalingPlanPooledSchedulesDelete =
2082
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2083
+ inputSchema: ScalingPlanPooledSchedulesDeleteInput,
2084
+ outputSchema: ScalingPlanPooledSchedulesDeleteOutput,
2085
+ }));
2086
+ // Input Schema
2087
+ export const ScalingPlanPooledSchedulesGetInput =
2088
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2089
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2090
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2091
+ "api-version": Schema.String,
2092
+ }).pipe(T.Http({
2093
+ method: "GET",
2094
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
2095
+ }));
2096
+ // Output Schema
2097
+ export const ScalingPlanPooledSchedulesGetOutput =
2098
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2099
+ id: Schema.optional(Schema.String),
2100
+ name: Schema.optional(Schema.String),
2101
+ type: Schema.optional(Schema.String),
2102
+ systemData: Schema.optional(Schema.Struct({
2103
+ createdBy: Schema.optional(Schema.String),
2104
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2105
+ createdAt: Schema.optional(Schema.String),
2106
+ lastModifiedBy: Schema.optional(Schema.String),
2107
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2108
+ lastModifiedAt: Schema.optional(Schema.String),
2109
+ })),
2110
+ });
2111
+ // The operation
2112
+ /**
2113
+ * Get a ScalingPlanPooledSchedule.
2114
+ *
2115
+ * @param api-version - The API version to use for this operation.
2116
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2117
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2118
+ */
2119
+ export const ScalingPlanPooledSchedulesGet =
2120
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2121
+ inputSchema: ScalingPlanPooledSchedulesGetInput,
2122
+ outputSchema: ScalingPlanPooledSchedulesGetOutput,
2123
+ }));
2124
+ // Input Schema
2125
+ export const ScalingPlanPooledSchedulesListInput =
2126
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2127
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2128
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2129
+ "api-version": Schema.String,
2130
+ pageSize: Schema.optional(Schema.Number),
2131
+ isDescending: Schema.optional(Schema.Boolean),
2132
+ initialSkip: Schema.optional(Schema.Number),
2133
+ }).pipe(T.Http({
2134
+ method: "GET",
2135
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules",
2136
+ }));
2137
+ // Output Schema
2138
+ export const ScalingPlanPooledSchedulesListOutput =
2139
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2140
+ value: Schema.optional(Schema.Array(Schema.Struct({
2141
+ id: Schema.optional(Schema.String),
2142
+ name: Schema.optional(Schema.String),
2143
+ type: Schema.optional(Schema.String),
2144
+ systemData: Schema.optional(Schema.Struct({
2145
+ createdBy: Schema.optional(Schema.String),
2146
+ createdByType: Schema.optional(Schema.Literals([
2147
+ "User",
2148
+ "Application",
2149
+ "ManagedIdentity",
2150
+ "Key",
2151
+ ])),
2152
+ createdAt: Schema.optional(Schema.String),
2153
+ lastModifiedBy: Schema.optional(Schema.String),
2154
+ lastModifiedByType: Schema.optional(Schema.Literals([
2155
+ "User",
2156
+ "Application",
2157
+ "ManagedIdentity",
2158
+ "Key",
2159
+ ])),
2160
+ lastModifiedAt: Schema.optional(Schema.String),
2161
+ })),
2162
+ }))),
2163
+ nextLink: Schema.optional(Schema.String),
2164
+ });
2165
+ // The operation
2166
+ /**
2167
+ * List ScalingPlanPooledSchedules.
2168
+ *
2169
+ * @param api-version - The API version to use for this operation.
2170
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2171
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2172
+ * @param pageSize - Number of items per page.
2173
+ * @param isDescending - Indicates whether the collection is descending.
2174
+ * @param initialSkip - Initial number of items to skip.
2175
+ */
2176
+ export const ScalingPlanPooledSchedulesList =
2177
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2178
+ inputSchema: ScalingPlanPooledSchedulesListInput,
2179
+ outputSchema: ScalingPlanPooledSchedulesListOutput,
2180
+ }));
2181
+ // Input Schema
2182
+ export const ScalingPlanPooledSchedulesUpdateInput =
2183
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2184
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2185
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2186
+ "api-version": Schema.String,
2187
+ }).pipe(T.Http({
2188
+ method: "PATCH",
2189
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
2190
+ }));
2191
+ // Output Schema
2192
+ export const ScalingPlanPooledSchedulesUpdateOutput =
2193
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2194
+ id: Schema.optional(Schema.String),
2195
+ name: Schema.optional(Schema.String),
2196
+ type: Schema.optional(Schema.String),
2197
+ systemData: Schema.optional(Schema.Struct({
2198
+ createdBy: Schema.optional(Schema.String),
2199
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2200
+ createdAt: Schema.optional(Schema.String),
2201
+ lastModifiedBy: Schema.optional(Schema.String),
2202
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2203
+ lastModifiedAt: Schema.optional(Schema.String),
2204
+ })),
2205
+ });
2206
+ // The operation
2207
+ /**
2208
+ * Update a ScalingPlanPooledSchedule.
2209
+ *
2210
+ * @param api-version - The API version to use for this operation.
2211
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2212
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2213
+ */
2214
+ export const ScalingPlanPooledSchedulesUpdate =
2215
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2216
+ inputSchema: ScalingPlanPooledSchedulesUpdateInput,
2217
+ outputSchema: ScalingPlanPooledSchedulesUpdateOutput,
2218
+ }));
2219
+ // Input Schema
2220
+ export const ScalingPlansCreateInput =
2221
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2222
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2223
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2224
+ "api-version": Schema.String,
2225
+ }).pipe(T.Http({
2226
+ method: "PUT",
2227
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
2228
+ }));
2229
+ // Output Schema
2230
+ export const ScalingPlansCreateOutput =
2231
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2232
+ managedBy: Schema.optional(Schema.String),
2233
+ kind: Schema.optional(Schema.String),
2234
+ etag: Schema.optional(Schema.String),
2235
+ identity: Schema.optional(Schema.Struct({
2236
+ principalId: Schema.optional(Schema.String),
2237
+ tenantId: Schema.optional(Schema.String),
2238
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
2239
+ })),
2240
+ sku: Schema.optional(Schema.Struct({
2241
+ name: Schema.String,
2242
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
2243
+ size: Schema.optional(Schema.String),
2244
+ family: Schema.optional(Schema.String),
2245
+ capacity: Schema.optional(Schema.Number),
2246
+ })),
2247
+ plan: Schema.optional(Schema.Struct({
2248
+ name: Schema.String,
2249
+ publisher: Schema.String,
2250
+ product: Schema.String,
2251
+ promotionCode: Schema.optional(Schema.String),
2252
+ version: Schema.optional(Schema.String),
2253
+ })),
2254
+ });
2255
+ // The operation
2256
+ /**
2257
+ * Create or update a scaling plan.
2258
+ *
2259
+ * @param api-version - The API version to use for this operation.
2260
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2261
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2262
+ */
2263
+ export const ScalingPlansCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2264
+ inputSchema: ScalingPlansCreateInput,
2265
+ outputSchema: ScalingPlansCreateOutput,
2266
+ }));
2267
+ // Input Schema
2268
+ export const ScalingPlansDeleteInput =
2269
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2270
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2271
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2272
+ "api-version": Schema.String,
2273
+ }).pipe(T.Http({
2274
+ method: "DELETE",
2275
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
2276
+ }));
2277
+ // Output Schema
2278
+ export const ScalingPlansDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2279
+ // The operation
2280
+ /**
2281
+ * Remove a scaling plan.
2282
+ *
2283
+ * @param api-version - The API version to use for this operation.
2284
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2285
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2286
+ */
2287
+ export const ScalingPlansDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2288
+ inputSchema: ScalingPlansDeleteInput,
2289
+ outputSchema: ScalingPlansDeleteOutput,
2290
+ }));
2291
+ // Input Schema
2292
+ export const ScalingPlansGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2293
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2294
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2295
+ "api-version": Schema.String,
2296
+ }).pipe(T.Http({
2297
+ method: "GET",
2298
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
2299
+ }));
2300
+ // Output Schema
2301
+ export const ScalingPlansGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2302
+ managedBy: Schema.optional(Schema.String),
2303
+ kind: Schema.optional(Schema.String),
2304
+ etag: Schema.optional(Schema.String),
2305
+ identity: Schema.optional(Schema.Struct({
2306
+ principalId: Schema.optional(Schema.String),
2307
+ tenantId: Schema.optional(Schema.String),
2308
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
2309
+ })),
2310
+ sku: Schema.optional(Schema.Struct({
2311
+ name: Schema.String,
2312
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
2313
+ size: Schema.optional(Schema.String),
2314
+ family: Schema.optional(Schema.String),
2315
+ capacity: Schema.optional(Schema.Number),
2316
+ })),
2317
+ plan: Schema.optional(Schema.Struct({
2318
+ name: Schema.String,
2319
+ publisher: Schema.String,
2320
+ product: Schema.String,
2321
+ promotionCode: Schema.optional(Schema.String),
2322
+ version: Schema.optional(Schema.String),
2323
+ })),
2324
+ });
2325
+ // The operation
2326
+ /**
2327
+ * Get a scaling plan.
2328
+ *
2329
+ * @param api-version - The API version to use for this operation.
2330
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2331
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2332
+ */
2333
+ export const ScalingPlansGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2334
+ inputSchema: ScalingPlansGetInput,
2335
+ outputSchema: ScalingPlansGetOutput,
2336
+ }));
2337
+ // Input Schema
2338
+ export const ScalingPlansListByHostPoolInput =
2339
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2340
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2341
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2342
+ "api-version": Schema.String,
2343
+ pageSize: Schema.optional(Schema.Number),
2344
+ isDescending: Schema.optional(Schema.Boolean),
2345
+ initialSkip: Schema.optional(Schema.Number),
2346
+ }).pipe(T.Http({
2347
+ method: "GET",
2348
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/scalingPlans",
2349
+ }));
2350
+ // Output Schema
2351
+ export const ScalingPlansListByHostPoolOutput =
2352
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2353
+ value: Schema.optional(Schema.Array(Schema.Struct({
2354
+ managedBy: Schema.optional(Schema.String),
2355
+ kind: Schema.optional(Schema.String),
2356
+ etag: Schema.optional(Schema.String),
2357
+ identity: Schema.optional(Schema.Struct({
2358
+ principalId: Schema.optional(Schema.String),
2359
+ tenantId: Schema.optional(Schema.String),
2360
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
2361
+ })),
2362
+ sku: Schema.optional(Schema.Struct({
2363
+ name: Schema.String,
2364
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
2365
+ size: Schema.optional(Schema.String),
2366
+ family: Schema.optional(Schema.String),
2367
+ capacity: Schema.optional(Schema.Number),
2368
+ })),
2369
+ plan: Schema.optional(Schema.Struct({
2370
+ name: Schema.String,
2371
+ publisher: Schema.String,
2372
+ product: Schema.String,
2373
+ promotionCode: Schema.optional(Schema.String),
2374
+ version: Schema.optional(Schema.String),
2375
+ })),
2376
+ }))),
2377
+ nextLink: Schema.optional(Schema.String),
2378
+ });
2379
+ // The operation
2380
+ /**
2381
+ * List scaling plan associated with hostpool.
2382
+ *
2383
+ * @param api-version - The API version to use for this operation.
2384
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2385
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2386
+ * @param pageSize - Number of items per page.
2387
+ * @param isDescending - Indicates whether the collection is descending.
2388
+ * @param initialSkip - Initial number of items to skip.
2389
+ */
2390
+ export const ScalingPlansListByHostPool = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2391
+ inputSchema: ScalingPlansListByHostPoolInput,
2392
+ outputSchema: ScalingPlansListByHostPoolOutput,
2393
+ }));
2394
+ // Input Schema
2395
+ export const ScalingPlansListByResourceGroupInput =
2396
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2397
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2398
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2399
+ "api-version": Schema.String,
2400
+ pageSize: Schema.optional(Schema.Number),
2401
+ isDescending: Schema.optional(Schema.Boolean),
2402
+ initialSkip: Schema.optional(Schema.Number),
2403
+ }).pipe(T.Http({
2404
+ method: "GET",
2405
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans",
2406
+ }));
2407
+ // Output Schema
2408
+ export const ScalingPlansListByResourceGroupOutput =
2409
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2410
+ value: Schema.optional(Schema.Array(Schema.Struct({
2411
+ managedBy: Schema.optional(Schema.String),
2412
+ kind: Schema.optional(Schema.String),
2413
+ etag: Schema.optional(Schema.String),
2414
+ identity: Schema.optional(Schema.Struct({
2415
+ principalId: Schema.optional(Schema.String),
2416
+ tenantId: Schema.optional(Schema.String),
2417
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
2418
+ })),
2419
+ sku: Schema.optional(Schema.Struct({
2420
+ name: Schema.String,
2421
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
2422
+ size: Schema.optional(Schema.String),
2423
+ family: Schema.optional(Schema.String),
2424
+ capacity: Schema.optional(Schema.Number),
2425
+ })),
2426
+ plan: Schema.optional(Schema.Struct({
2427
+ name: Schema.String,
2428
+ publisher: Schema.String,
2429
+ product: Schema.String,
2430
+ promotionCode: Schema.optional(Schema.String),
2431
+ version: Schema.optional(Schema.String),
2432
+ })),
2433
+ }))),
2434
+ nextLink: Schema.optional(Schema.String),
2435
+ });
2436
+ // The operation
2437
+ /**
2438
+ * List scaling plans.
2439
+ *
2440
+ * @param api-version - The API version to use for this operation.
2441
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2442
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2443
+ * @param pageSize - Number of items per page.
2444
+ * @param isDescending - Indicates whether the collection is descending.
2445
+ * @param initialSkip - Initial number of items to skip.
2446
+ */
2447
+ export const ScalingPlansListByResourceGroup =
2448
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2449
+ inputSchema: ScalingPlansListByResourceGroupInput,
2450
+ outputSchema: ScalingPlansListByResourceGroupOutput,
2451
+ }));
2452
+ // Input Schema
2453
+ export const ScalingPlansListBySubscriptionInput =
2454
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2455
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2456
+ "api-version": Schema.String,
2457
+ pageSize: Schema.optional(Schema.Number),
2458
+ isDescending: Schema.optional(Schema.Boolean),
2459
+ initialSkip: Schema.optional(Schema.Number),
2460
+ }).pipe(T.Http({
2461
+ method: "GET",
2462
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/scalingPlans",
2463
+ }));
2464
+ // Output Schema
2465
+ export const ScalingPlansListBySubscriptionOutput =
2466
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2467
+ value: Schema.optional(Schema.Array(Schema.Struct({
2468
+ managedBy: Schema.optional(Schema.String),
2469
+ kind: Schema.optional(Schema.String),
2470
+ etag: Schema.optional(Schema.String),
2471
+ identity: Schema.optional(Schema.Struct({
2472
+ principalId: Schema.optional(Schema.String),
2473
+ tenantId: Schema.optional(Schema.String),
2474
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
2475
+ })),
2476
+ sku: Schema.optional(Schema.Struct({
2477
+ name: Schema.String,
2478
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
2479
+ size: Schema.optional(Schema.String),
2480
+ family: Schema.optional(Schema.String),
2481
+ capacity: Schema.optional(Schema.Number),
2482
+ })),
2483
+ plan: Schema.optional(Schema.Struct({
2484
+ name: Schema.String,
2485
+ publisher: Schema.String,
2486
+ product: Schema.String,
2487
+ promotionCode: Schema.optional(Schema.String),
2488
+ version: Schema.optional(Schema.String),
2489
+ })),
2490
+ }))),
2491
+ nextLink: Schema.optional(Schema.String),
2492
+ });
2493
+ // The operation
2494
+ /**
2495
+ * List scaling plans in subscription.
2496
+ *
2497
+ * @param api-version - The API version to use for this operation.
2498
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2499
+ * @param pageSize - Number of items per page.
2500
+ * @param isDescending - Indicates whether the collection is descending.
2501
+ * @param initialSkip - Initial number of items to skip.
2502
+ */
2503
+ export const ScalingPlansListBySubscription =
2504
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2505
+ inputSchema: ScalingPlansListBySubscriptionInput,
2506
+ outputSchema: ScalingPlansListBySubscriptionOutput,
2507
+ }));
2508
+ // Input Schema
2509
+ export const ScalingPlansUpdateInput =
2510
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2511
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2512
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2513
+ "api-version": Schema.String,
2514
+ }).pipe(T.Http({
2515
+ method: "PATCH",
2516
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
2517
+ }));
2518
+ // Output Schema
2519
+ export const ScalingPlansUpdateOutput =
640
2520
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2521
+ managedBy: Schema.optional(Schema.String),
2522
+ kind: Schema.optional(Schema.String),
2523
+ etag: Schema.optional(Schema.String),
2524
+ identity: Schema.optional(Schema.Struct({
2525
+ principalId: Schema.optional(Schema.String),
2526
+ tenantId: Schema.optional(Schema.String),
2527
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
2528
+ })),
2529
+ sku: Schema.optional(Schema.Struct({
2530
+ name: Schema.String,
2531
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
2532
+ size: Schema.optional(Schema.String),
2533
+ family: Schema.optional(Schema.String),
2534
+ capacity: Schema.optional(Schema.Number),
2535
+ })),
2536
+ plan: Schema.optional(Schema.Struct({
2537
+ name: Schema.String,
2538
+ publisher: Schema.String,
2539
+ product: Schema.String,
2540
+ promotionCode: Schema.optional(Schema.String),
2541
+ version: Schema.optional(Schema.String),
2542
+ })),
2543
+ });
2544
+ // The operation
2545
+ /**
2546
+ * Update a scaling plan.
2547
+ *
2548
+ * @param api-version - The API version to use for this operation.
2549
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2550
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2551
+ */
2552
+ export const ScalingPlansUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2553
+ inputSchema: ScalingPlansUpdateInput,
2554
+ outputSchema: ScalingPlansUpdateOutput,
2555
+ }));
2556
+ // Input Schema
2557
+ export const SessionHostsDeleteInput =
2558
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2559
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2560
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2561
+ "api-version": Schema.String,
2562
+ force: Schema.optional(Schema.Boolean),
2563
+ }).pipe(T.Http({
2564
+ method: "DELETE",
2565
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}",
2566
+ }));
2567
+ // Output Schema
2568
+ export const SessionHostsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2569
+ // The operation
2570
+ /**
2571
+ * Remove a SessionHost.
2572
+ *
2573
+ * @param api-version - The API version to use for this operation.
2574
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2575
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2576
+ * @param force - Force flag to force sessionHost deletion even when userSession exists.
2577
+ */
2578
+ export const SessionHostsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2579
+ inputSchema: SessionHostsDeleteInput,
2580
+ outputSchema: SessionHostsDeleteOutput,
2581
+ }));
2582
+ // Input Schema
2583
+ export const SessionHostsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2584
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2585
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2586
+ "api-version": Schema.String,
2587
+ }).pipe(T.Http({
2588
+ method: "GET",
2589
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}",
2590
+ }));
2591
+ // Output Schema
2592
+ export const SessionHostsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2593
+ id: Schema.optional(Schema.String),
2594
+ name: Schema.optional(Schema.String),
2595
+ type: Schema.optional(Schema.String),
2596
+ systemData: Schema.optional(Schema.Struct({
2597
+ createdBy: Schema.optional(Schema.String),
2598
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2599
+ createdAt: Schema.optional(Schema.String),
2600
+ lastModifiedBy: Schema.optional(Schema.String),
2601
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2602
+ lastModifiedAt: Schema.optional(Schema.String),
2603
+ })),
2604
+ });
2605
+ // The operation
2606
+ /**
2607
+ * Get a session host.
2608
+ *
2609
+ * @param api-version - The API version to use for this operation.
2610
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2611
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2612
+ */
2613
+ export const SessionHostsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2614
+ inputSchema: SessionHostsGetInput,
2615
+ outputSchema: SessionHostsGetOutput,
2616
+ }));
2617
+ // Input Schema
2618
+ export const SessionHostsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
641
2619
  subscriptionId: Schema.String.pipe(T.PathParam()),
642
2620
  resourceGroupName: Schema.String.pipe(T.PathParam()),
643
2621
  "api-version": Schema.String,
2622
+ pageSize: Schema.optional(Schema.Number),
2623
+ isDescending: Schema.optional(Schema.Boolean),
2624
+ initialSkip: Schema.optional(Schema.Number),
644
2625
  }).pipe(T.Http({
645
- method: "DELETE",
646
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
2626
+ method: "GET",
2627
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts",
647
2628
  }));
648
2629
  // Output Schema
649
- export const ScalingPlansDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2630
+ export const SessionHostsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2631
+ value: Schema.optional(Schema.Array(Schema.Struct({
2632
+ id: Schema.optional(Schema.String),
2633
+ name: Schema.optional(Schema.String),
2634
+ type: Schema.optional(Schema.String),
2635
+ systemData: Schema.optional(Schema.Struct({
2636
+ createdBy: Schema.optional(Schema.String),
2637
+ createdByType: Schema.optional(Schema.Literals([
2638
+ "User",
2639
+ "Application",
2640
+ "ManagedIdentity",
2641
+ "Key",
2642
+ ])),
2643
+ createdAt: Schema.optional(Schema.String),
2644
+ lastModifiedBy: Schema.optional(Schema.String),
2645
+ lastModifiedByType: Schema.optional(Schema.Literals([
2646
+ "User",
2647
+ "Application",
2648
+ "ManagedIdentity",
2649
+ "Key",
2650
+ ])),
2651
+ lastModifiedAt: Schema.optional(Schema.String),
2652
+ })),
2653
+ }))),
2654
+ nextLink: Schema.optional(Schema.String),
2655
+ });
650
2656
  // The operation
651
2657
  /**
652
- * Remove a scaling plan.
2658
+ * List sessionHosts.
653
2659
  *
654
2660
  * @param api-version - The API version to use for this operation.
655
2661
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
656
2662
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2663
+ * @param pageSize - Number of items per page.
2664
+ * @param isDescending - Indicates whether the collection is descending.
2665
+ * @param initialSkip - Initial number of items to skip.
657
2666
  */
658
- export const ScalingPlansDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
659
- inputSchema: ScalingPlansDeleteInput,
660
- outputSchema: ScalingPlansDeleteOutput,
2667
+ export const SessionHostsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2668
+ inputSchema: SessionHostsListInput,
2669
+ outputSchema: SessionHostsListOutput,
661
2670
  }));
662
2671
  // Input Schema
663
- export const SessionHostsDeleteInput =
2672
+ export const SessionHostsUpdateInput =
664
2673
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
665
2674
  subscriptionId: Schema.String.pipe(T.PathParam()),
666
2675
  resourceGroupName: Schema.String.pipe(T.PathParam()),
667
2676
  "api-version": Schema.String,
668
2677
  force: Schema.optional(Schema.Boolean),
669
2678
  }).pipe(T.Http({
670
- method: "DELETE",
2679
+ method: "PATCH",
671
2680
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}",
672
2681
  }));
673
2682
  // Output Schema
674
- export const SessionHostsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
2683
+ export const SessionHostsUpdateOutput =
2684
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2685
+ id: Schema.optional(Schema.String),
2686
+ name: Schema.optional(Schema.String),
2687
+ type: Schema.optional(Schema.String),
2688
+ systemData: Schema.optional(Schema.Struct({
2689
+ createdBy: Schema.optional(Schema.String),
2690
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2691
+ createdAt: Schema.optional(Schema.String),
2692
+ lastModifiedBy: Schema.optional(Schema.String),
2693
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2694
+ lastModifiedAt: Schema.optional(Schema.String),
2695
+ })),
2696
+ });
675
2697
  // The operation
676
2698
  /**
677
- * Remove a SessionHost.
2699
+ * Update a session host.
678
2700
  *
679
2701
  * @param api-version - The API version to use for this operation.
680
2702
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
681
2703
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
682
- * @param force - Force flag to force sessionHost deletion even when userSession exists.
2704
+ * @param force - Force flag to update assign, unassign or reassign personal desktop.
683
2705
  */
684
- export const SessionHostsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
685
- inputSchema: SessionHostsDeleteInput,
686
- outputSchema: SessionHostsDeleteOutput,
2706
+ export const SessionHostsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2707
+ inputSchema: SessionHostsUpdateInput,
2708
+ outputSchema: SessionHostsUpdateOutput,
2709
+ }));
2710
+ // Input Schema
2711
+ export const StartMenuItemsListInput =
2712
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2713
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2714
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2715
+ "api-version": Schema.String,
2716
+ pageSize: Schema.optional(Schema.Number),
2717
+ isDescending: Schema.optional(Schema.Boolean),
2718
+ initialSkip: Schema.optional(Schema.Number),
2719
+ }).pipe(T.Http({
2720
+ method: "GET",
2721
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems",
2722
+ }));
2723
+ // Output Schema
2724
+ export const StartMenuItemsListOutput =
2725
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2726
+ value: Schema.optional(Schema.Array(Schema.Struct({
2727
+ id: Schema.optional(Schema.String),
2728
+ name: Schema.optional(Schema.String),
2729
+ type: Schema.optional(Schema.String),
2730
+ systemData: Schema.optional(Schema.Struct({
2731
+ createdBy: Schema.optional(Schema.String),
2732
+ createdByType: Schema.optional(Schema.Literals([
2733
+ "User",
2734
+ "Application",
2735
+ "ManagedIdentity",
2736
+ "Key",
2737
+ ])),
2738
+ createdAt: Schema.optional(Schema.String),
2739
+ lastModifiedBy: Schema.optional(Schema.String),
2740
+ lastModifiedByType: Schema.optional(Schema.Literals([
2741
+ "User",
2742
+ "Application",
2743
+ "ManagedIdentity",
2744
+ "Key",
2745
+ ])),
2746
+ lastModifiedAt: Schema.optional(Schema.String),
2747
+ })),
2748
+ }))),
2749
+ nextLink: Schema.optional(Schema.String),
2750
+ });
2751
+ // The operation
2752
+ /**
2753
+ * List start menu items in the given application group.
2754
+ *
2755
+ * @param api-version - The API version to use for this operation.
2756
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2757
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2758
+ * @param pageSize - Number of items per page.
2759
+ * @param isDescending - Indicates whether the collection is descending.
2760
+ * @param initialSkip - Initial number of items to skip.
2761
+ */
2762
+ export const StartMenuItemsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2763
+ inputSchema: StartMenuItemsListInput,
2764
+ outputSchema: StartMenuItemsListOutput,
687
2765
  }));
688
2766
  // Input Schema
689
2767
  export const UserSessionsDeleteInput =
@@ -737,6 +2815,153 @@ export const UserSessionsDisconnect = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
737
2815
  outputSchema: UserSessionsDisconnectOutput,
738
2816
  }));
739
2817
  // Input Schema
2818
+ export const UserSessionsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2819
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2820
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2821
+ "api-version": Schema.String,
2822
+ }).pipe(T.Http({
2823
+ method: "GET",
2824
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}",
2825
+ }));
2826
+ // Output Schema
2827
+ export const UserSessionsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2828
+ id: Schema.optional(Schema.String),
2829
+ name: Schema.optional(Schema.String),
2830
+ type: Schema.optional(Schema.String),
2831
+ systemData: Schema.optional(Schema.Struct({
2832
+ createdBy: Schema.optional(Schema.String),
2833
+ createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2834
+ createdAt: Schema.optional(Schema.String),
2835
+ lastModifiedBy: Schema.optional(Schema.String),
2836
+ lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
2837
+ lastModifiedAt: Schema.optional(Schema.String),
2838
+ })),
2839
+ });
2840
+ // The operation
2841
+ /**
2842
+ * Get a userSession.
2843
+ *
2844
+ * @param api-version - The API version to use for this operation.
2845
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2846
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2847
+ */
2848
+ export const UserSessionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2849
+ inputSchema: UserSessionsGetInput,
2850
+ outputSchema: UserSessionsGetOutput,
2851
+ }));
2852
+ // Input Schema
2853
+ export const UserSessionsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2854
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2855
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2856
+ "api-version": Schema.String,
2857
+ pageSize: Schema.optional(Schema.Number),
2858
+ isDescending: Schema.optional(Schema.Boolean),
2859
+ initialSkip: Schema.optional(Schema.Number),
2860
+ }).pipe(T.Http({
2861
+ method: "GET",
2862
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions",
2863
+ }));
2864
+ // Output Schema
2865
+ export const UserSessionsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2866
+ value: Schema.optional(Schema.Array(Schema.Struct({
2867
+ id: Schema.optional(Schema.String),
2868
+ name: Schema.optional(Schema.String),
2869
+ type: Schema.optional(Schema.String),
2870
+ systemData: Schema.optional(Schema.Struct({
2871
+ createdBy: Schema.optional(Schema.String),
2872
+ createdByType: Schema.optional(Schema.Literals([
2873
+ "User",
2874
+ "Application",
2875
+ "ManagedIdentity",
2876
+ "Key",
2877
+ ])),
2878
+ createdAt: Schema.optional(Schema.String),
2879
+ lastModifiedBy: Schema.optional(Schema.String),
2880
+ lastModifiedByType: Schema.optional(Schema.Literals([
2881
+ "User",
2882
+ "Application",
2883
+ "ManagedIdentity",
2884
+ "Key",
2885
+ ])),
2886
+ lastModifiedAt: Schema.optional(Schema.String),
2887
+ })),
2888
+ }))),
2889
+ nextLink: Schema.optional(Schema.String),
2890
+ });
2891
+ // The operation
2892
+ /**
2893
+ * List userSessions.
2894
+ *
2895
+ * @param api-version - The API version to use for this operation.
2896
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2897
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2898
+ * @param pageSize - Number of items per page.
2899
+ * @param isDescending - Indicates whether the collection is descending.
2900
+ * @param initialSkip - Initial number of items to skip.
2901
+ */
2902
+ export const UserSessionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2903
+ inputSchema: UserSessionsListInput,
2904
+ outputSchema: UserSessionsListOutput,
2905
+ }));
2906
+ // Input Schema
2907
+ export const UserSessionsListByHostPoolInput =
2908
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2909
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2910
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2911
+ "api-version": Schema.String,
2912
+ $filter: Schema.optional(Schema.String),
2913
+ pageSize: Schema.optional(Schema.Number),
2914
+ isDescending: Schema.optional(Schema.Boolean),
2915
+ initialSkip: Schema.optional(Schema.Number),
2916
+ }).pipe(T.Http({
2917
+ method: "GET",
2918
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions",
2919
+ }));
2920
+ // Output Schema
2921
+ export const UserSessionsListByHostPoolOutput =
2922
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2923
+ value: Schema.optional(Schema.Array(Schema.Struct({
2924
+ id: Schema.optional(Schema.String),
2925
+ name: Schema.optional(Schema.String),
2926
+ type: Schema.optional(Schema.String),
2927
+ systemData: Schema.optional(Schema.Struct({
2928
+ createdBy: Schema.optional(Schema.String),
2929
+ createdByType: Schema.optional(Schema.Literals([
2930
+ "User",
2931
+ "Application",
2932
+ "ManagedIdentity",
2933
+ "Key",
2934
+ ])),
2935
+ createdAt: Schema.optional(Schema.String),
2936
+ lastModifiedBy: Schema.optional(Schema.String),
2937
+ lastModifiedByType: Schema.optional(Schema.Literals([
2938
+ "User",
2939
+ "Application",
2940
+ "ManagedIdentity",
2941
+ "Key",
2942
+ ])),
2943
+ lastModifiedAt: Schema.optional(Schema.String),
2944
+ })),
2945
+ }))),
2946
+ nextLink: Schema.optional(Schema.String),
2947
+ });
2948
+ // The operation
2949
+ /**
2950
+ * List userSessions.
2951
+ *
2952
+ * @param api-version - The API version to use for this operation.
2953
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
2954
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2955
+ * @param $filter - OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
2956
+ * @param pageSize - Number of items per page.
2957
+ * @param isDescending - Indicates whether the collection is descending.
2958
+ * @param initialSkip - Initial number of items to skip.
2959
+ */
2960
+ export const UserSessionsListByHostPool = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2961
+ inputSchema: UserSessionsListByHostPoolInput,
2962
+ outputSchema: UserSessionsListByHostPoolOutput,
2963
+ }));
2964
+ // Input Schema
740
2965
  export const UserSessionsSendMessageInput =
741
2966
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
742
2967
  subscriptionId: Schema.String.pipe(T.PathParam()),
@@ -762,6 +2987,54 @@ export const UserSessionsSendMessage = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
762
2987
  outputSchema: UserSessionsSendMessageOutput,
763
2988
  }));
764
2989
  // Input Schema
2990
+ export const WorkspacesCreateOrUpdateInput =
2991
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2992
+ subscriptionId: Schema.String.pipe(T.PathParam()),
2993
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2994
+ "api-version": Schema.String,
2995
+ }).pipe(T.Http({
2996
+ method: "PUT",
2997
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
2998
+ }));
2999
+ // Output Schema
3000
+ export const WorkspacesCreateOrUpdateOutput =
3001
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3002
+ managedBy: Schema.optional(Schema.String),
3003
+ kind: Schema.optional(Schema.String),
3004
+ etag: Schema.optional(Schema.String),
3005
+ identity: Schema.optional(Schema.Struct({
3006
+ principalId: Schema.optional(Schema.String),
3007
+ tenantId: Schema.optional(Schema.String),
3008
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
3009
+ })),
3010
+ sku: Schema.optional(Schema.Struct({
3011
+ name: Schema.String,
3012
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
3013
+ size: Schema.optional(Schema.String),
3014
+ family: Schema.optional(Schema.String),
3015
+ capacity: Schema.optional(Schema.Number),
3016
+ })),
3017
+ plan: Schema.optional(Schema.Struct({
3018
+ name: Schema.String,
3019
+ publisher: Schema.String,
3020
+ product: Schema.String,
3021
+ promotionCode: Schema.optional(Schema.String),
3022
+ version: Schema.optional(Schema.String),
3023
+ })),
3024
+ });
3025
+ // The operation
3026
+ /**
3027
+ * Create or update a workspace.
3028
+ *
3029
+ * @param api-version - The API version to use for this operation.
3030
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
3031
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3032
+ */
3033
+ export const WorkspacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3034
+ inputSchema: WorkspacesCreateOrUpdateInput,
3035
+ outputSchema: WorkspacesCreateOrUpdateOutput,
3036
+ }));
3037
+ // Input Schema
765
3038
  export const WorkspacesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
766
3039
  subscriptionId: Schema.String.pipe(T.PathParam()),
767
3040
  resourceGroupName: Schema.String.pipe(T.PathParam()),
@@ -784,4 +3057,204 @@ export const WorkspacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
784
3057
  inputSchema: WorkspacesDeleteInput,
785
3058
  outputSchema: WorkspacesDeleteOutput,
786
3059
  }));
3060
+ // Input Schema
3061
+ export const WorkspacesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3062
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3063
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3064
+ "api-version": Schema.String,
3065
+ }).pipe(T.Http({
3066
+ method: "GET",
3067
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
3068
+ }));
3069
+ // Output Schema
3070
+ export const WorkspacesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3071
+ managedBy: Schema.optional(Schema.String),
3072
+ kind: Schema.optional(Schema.String),
3073
+ etag: Schema.optional(Schema.String),
3074
+ identity: Schema.optional(Schema.Struct({
3075
+ principalId: Schema.optional(Schema.String),
3076
+ tenantId: Schema.optional(Schema.String),
3077
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
3078
+ })),
3079
+ sku: Schema.optional(Schema.Struct({
3080
+ name: Schema.String,
3081
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
3082
+ size: Schema.optional(Schema.String),
3083
+ family: Schema.optional(Schema.String),
3084
+ capacity: Schema.optional(Schema.Number),
3085
+ })),
3086
+ plan: Schema.optional(Schema.Struct({
3087
+ name: Schema.String,
3088
+ publisher: Schema.String,
3089
+ product: Schema.String,
3090
+ promotionCode: Schema.optional(Schema.String),
3091
+ version: Schema.optional(Schema.String),
3092
+ })),
3093
+ });
3094
+ // The operation
3095
+ /**
3096
+ * Get a workspace.
3097
+ *
3098
+ * @param api-version - The API version to use for this operation.
3099
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
3100
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3101
+ */
3102
+ export const WorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3103
+ inputSchema: WorkspacesGetInput,
3104
+ outputSchema: WorkspacesGetOutput,
3105
+ }));
3106
+ // Input Schema
3107
+ export const WorkspacesListByResourceGroupInput =
3108
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3109
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3110
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3111
+ "api-version": Schema.String,
3112
+ pageSize: Schema.optional(Schema.Number),
3113
+ isDescending: Schema.optional(Schema.Boolean),
3114
+ initialSkip: Schema.optional(Schema.Number),
3115
+ }).pipe(T.Http({
3116
+ method: "GET",
3117
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces",
3118
+ }));
3119
+ // Output Schema
3120
+ export const WorkspacesListByResourceGroupOutput =
3121
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3122
+ value: Schema.optional(Schema.Array(Schema.Struct({
3123
+ managedBy: Schema.optional(Schema.String),
3124
+ kind: Schema.optional(Schema.String),
3125
+ etag: Schema.optional(Schema.String),
3126
+ identity: Schema.optional(Schema.Struct({
3127
+ principalId: Schema.optional(Schema.String),
3128
+ tenantId: Schema.optional(Schema.String),
3129
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
3130
+ })),
3131
+ sku: Schema.optional(Schema.Struct({
3132
+ name: Schema.String,
3133
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
3134
+ size: Schema.optional(Schema.String),
3135
+ family: Schema.optional(Schema.String),
3136
+ capacity: Schema.optional(Schema.Number),
3137
+ })),
3138
+ plan: Schema.optional(Schema.Struct({
3139
+ name: Schema.String,
3140
+ publisher: Schema.String,
3141
+ product: Schema.String,
3142
+ promotionCode: Schema.optional(Schema.String),
3143
+ version: Schema.optional(Schema.String),
3144
+ })),
3145
+ }))),
3146
+ nextLink: Schema.optional(Schema.String),
3147
+ });
3148
+ // The operation
3149
+ /**
3150
+ * List workspaces.
3151
+ *
3152
+ * @param api-version - The API version to use for this operation.
3153
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
3154
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3155
+ * @param pageSize - Number of items per page.
3156
+ * @param isDescending - Indicates whether the collection is descending.
3157
+ * @param initialSkip - Initial number of items to skip.
3158
+ */
3159
+ export const WorkspacesListByResourceGroup =
3160
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3161
+ inputSchema: WorkspacesListByResourceGroupInput,
3162
+ outputSchema: WorkspacesListByResourceGroupOutput,
3163
+ }));
3164
+ // Input Schema
3165
+ export const WorkspacesListBySubscriptionInput =
3166
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3167
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3168
+ "api-version": Schema.String,
3169
+ }).pipe(T.Http({
3170
+ method: "GET",
3171
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces",
3172
+ }));
3173
+ // Output Schema
3174
+ export const WorkspacesListBySubscriptionOutput =
3175
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3176
+ value: Schema.optional(Schema.Array(Schema.Struct({
3177
+ managedBy: Schema.optional(Schema.String),
3178
+ kind: Schema.optional(Schema.String),
3179
+ etag: Schema.optional(Schema.String),
3180
+ identity: Schema.optional(Schema.Struct({
3181
+ principalId: Schema.optional(Schema.String),
3182
+ tenantId: Schema.optional(Schema.String),
3183
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
3184
+ })),
3185
+ sku: Schema.optional(Schema.Struct({
3186
+ name: Schema.String,
3187
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
3188
+ size: Schema.optional(Schema.String),
3189
+ family: Schema.optional(Schema.String),
3190
+ capacity: Schema.optional(Schema.Number),
3191
+ })),
3192
+ plan: Schema.optional(Schema.Struct({
3193
+ name: Schema.String,
3194
+ publisher: Schema.String,
3195
+ product: Schema.String,
3196
+ promotionCode: Schema.optional(Schema.String),
3197
+ version: Schema.optional(Schema.String),
3198
+ })),
3199
+ }))),
3200
+ nextLink: Schema.optional(Schema.String),
3201
+ });
3202
+ // The operation
3203
+ /**
3204
+ * List workspaces in subscription.
3205
+ *
3206
+ * @param api-version - The API version to use for this operation.
3207
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
3208
+ */
3209
+ export const WorkspacesListBySubscription =
3210
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3211
+ inputSchema: WorkspacesListBySubscriptionInput,
3212
+ outputSchema: WorkspacesListBySubscriptionOutput,
3213
+ }));
3214
+ // Input Schema
3215
+ export const WorkspacesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3216
+ subscriptionId: Schema.String.pipe(T.PathParam()),
3217
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
3218
+ "api-version": Schema.String,
3219
+ }).pipe(T.Http({
3220
+ method: "PATCH",
3221
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
3222
+ }));
3223
+ // Output Schema
3224
+ export const WorkspacesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3225
+ managedBy: Schema.optional(Schema.String),
3226
+ kind: Schema.optional(Schema.String),
3227
+ etag: Schema.optional(Schema.String),
3228
+ identity: Schema.optional(Schema.Struct({
3229
+ principalId: Schema.optional(Schema.String),
3230
+ tenantId: Schema.optional(Schema.String),
3231
+ type: Schema.optional(Schema.Literals(["SystemAssigned"])),
3232
+ })),
3233
+ sku: Schema.optional(Schema.Struct({
3234
+ name: Schema.String,
3235
+ tier: Schema.optional(Schema.Literals(["Free", "Basic", "Standard", "Premium"])),
3236
+ size: Schema.optional(Schema.String),
3237
+ family: Schema.optional(Schema.String),
3238
+ capacity: Schema.optional(Schema.Number),
3239
+ })),
3240
+ plan: Schema.optional(Schema.Struct({
3241
+ name: Schema.String,
3242
+ publisher: Schema.String,
3243
+ product: Schema.String,
3244
+ promotionCode: Schema.optional(Schema.String),
3245
+ version: Schema.optional(Schema.String),
3246
+ })),
3247
+ });
3248
+ // The operation
3249
+ /**
3250
+ * Update a workspace.
3251
+ *
3252
+ * @param api-version - The API version to use for this operation.
3253
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
3254
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3255
+ */
3256
+ export const WorkspacesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3257
+ inputSchema: WorkspacesUpdateInput,
3258
+ outputSchema: WorkspacesUpdateOutput,
3259
+ }));
787
3260
  //# sourceMappingURL=desktopvirtualization.js.map