@azure/arm-desktopvirtualization 1.0.0-beta.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/CHANGELOG.md +2 -14
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +2105 -1945
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/applicationGroupsCreateOrUpdateSample.js +12 -8
  9. package/dist-esm/samples-dev/applicationGroupsCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/applicationGroupsDeleteSample.js +12 -4
  11. package/dist-esm/samples-dev/applicationGroupsDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/applicationGroupsGetSample.js +12 -4
  13. package/dist-esm/samples-dev/applicationGroupsGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/applicationGroupsListByResourceGroupSample.js +19 -5
  15. package/dist-esm/samples-dev/applicationGroupsListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/applicationGroupsListBySubscriptionSample.js +11 -3
  17. package/dist-esm/samples-dev/applicationGroupsListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/applicationGroupsUpdateSample.js +12 -4
  19. package/dist-esm/samples-dev/applicationGroupsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +12 -4
  21. package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/applicationsDeleteSample.js +12 -4
  23. package/dist-esm/samples-dev/applicationsDeleteSample.js.map +1 -1
  24. package/dist-esm/samples-dev/applicationsGetSample.js +12 -4
  25. package/dist-esm/samples-dev/applicationsGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/applicationsListSample.js +21 -5
  27. package/dist-esm/samples-dev/applicationsListSample.js.map +1 -1
  28. package/dist-esm/samples-dev/applicationsUpdateSample.js +12 -4
  29. package/dist-esm/samples-dev/applicationsUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/desktopsGetSample.js +12 -4
  31. package/dist-esm/samples-dev/desktopsGetSample.js.map +1 -1
  32. package/dist-esm/samples-dev/desktopsListSample.js +21 -5
  33. package/dist-esm/samples-dev/desktopsListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/desktopsUpdateSample.js +12 -4
  35. package/dist-esm/samples-dev/desktopsUpdateSample.js.map +1 -1
  36. package/dist-esm/samples-dev/hostPoolsCreateOrUpdateSample.js +21 -9
  37. package/dist-esm/samples-dev/hostPoolsCreateOrUpdateSample.js.map +1 -1
  38. package/dist-esm/samples-dev/hostPoolsDeleteSample.js +12 -4
  39. package/dist-esm/samples-dev/hostPoolsDeleteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/hostPoolsGetSample.js +12 -4
  41. package/dist-esm/samples-dev/hostPoolsGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/hostPoolsListByResourceGroupSample.js +21 -5
  43. package/dist-esm/samples-dev/hostPoolsListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/hostPoolsListSample.js +20 -4
  45. package/dist-esm/samples-dev/hostPoolsListSample.js.map +1 -1
  46. package/dist-esm/samples-dev/hostPoolsRetrieveRegistrationTokenSample.js +12 -4
  47. package/dist-esm/samples-dev/hostPoolsRetrieveRegistrationTokenSample.js.map +1 -1
  48. package/dist-esm/samples-dev/hostPoolsUpdateSample.js +21 -5
  49. package/dist-esm/samples-dev/hostPoolsUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/msixImagesExpandSample.js +12 -4
  51. package/dist-esm/samples-dev/msixImagesExpandSample.js.map +1 -1
  52. package/dist-esm/samples-dev/msixPackagesCreateOrUpdateSample.js +14 -6
  53. package/dist-esm/samples-dev/msixPackagesCreateOrUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/msixPackagesDeleteSample.js +12 -4
  55. package/dist-esm/samples-dev/msixPackagesDeleteSample.js.map +1 -1
  56. package/dist-esm/samples-dev/msixPackagesGetSample.js +12 -4
  57. package/dist-esm/samples-dev/msixPackagesGetSample.js.map +1 -1
  58. package/dist-esm/samples-dev/msixPackagesListSample.js +21 -5
  59. package/dist-esm/samples-dev/msixPackagesListSample.js.map +1 -1
  60. package/dist-esm/samples-dev/msixPackagesUpdateSample.js +12 -4
  61. package/dist-esm/samples-dev/msixPackagesUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  63. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/scalingPlanPooledSchedulesCreateSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/scalingPlanPooledSchedulesCreateSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/scalingPlanPooledSchedulesCreateSample.js +58 -0
  67. package/dist-esm/samples-dev/scalingPlanPooledSchedulesCreateSample.js.map +1 -0
  68. package/dist-esm/samples-dev/scalingPlanPooledSchedulesDeleteSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/scalingPlanPooledSchedulesDeleteSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/scalingPlanPooledSchedulesDeleteSample.js +40 -0
  71. package/dist-esm/samples-dev/scalingPlanPooledSchedulesDeleteSample.js.map +1 -0
  72. package/dist-esm/samples-dev/scalingPlanPooledSchedulesGetSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/scalingPlanPooledSchedulesGetSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/scalingPlanPooledSchedulesGetSample.js +40 -0
  75. package/dist-esm/samples-dev/scalingPlanPooledSchedulesGetSample.js.map +1 -0
  76. package/dist-esm/samples-dev/scalingPlanPooledSchedulesListSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/scalingPlanPooledSchedulesListSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/{privateEndpointConnectionsListByWorkspaceSample.js → scalingPlanPooledSchedulesListSample.js} +26 -10
  79. package/dist-esm/samples-dev/scalingPlanPooledSchedulesListSample.js.map +1 -0
  80. package/dist-esm/samples-dev/scalingPlanPooledSchedulesUpdateSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/scalingPlanPooledSchedulesUpdateSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/scalingPlanPooledSchedulesUpdateSample.js +52 -0
  83. package/dist-esm/samples-dev/scalingPlanPooledSchedulesUpdateSample.js.map +1 -0
  84. package/dist-esm/samples-dev/scalingPlansCreateSample.js +12 -4
  85. package/dist-esm/samples-dev/scalingPlansCreateSample.js.map +1 -1
  86. package/dist-esm/samples-dev/scalingPlansDeleteSample.js +12 -4
  87. package/dist-esm/samples-dev/scalingPlansDeleteSample.js.map +1 -1
  88. package/dist-esm/samples-dev/scalingPlansGetSample.js +12 -4
  89. package/dist-esm/samples-dev/scalingPlansGetSample.js.map +1 -1
  90. package/dist-esm/samples-dev/scalingPlansListByHostPoolSample.js +21 -5
  91. package/dist-esm/samples-dev/scalingPlansListByHostPoolSample.js.map +1 -1
  92. package/dist-esm/samples-dev/scalingPlansListByResourceGroupSample.js +21 -5
  93. package/dist-esm/samples-dev/scalingPlansListByResourceGroupSample.js.map +1 -1
  94. package/dist-esm/samples-dev/scalingPlansListBySubscriptionSample.js +20 -4
  95. package/dist-esm/samples-dev/scalingPlansListBySubscriptionSample.js.map +1 -1
  96. package/dist-esm/samples-dev/scalingPlansUpdateSample.js +12 -4
  97. package/dist-esm/samples-dev/scalingPlansUpdateSample.js.map +1 -1
  98. package/dist-esm/samples-dev/sessionHostsDeleteSample.js +12 -4
  99. package/dist-esm/samples-dev/sessionHostsDeleteSample.js.map +1 -1
  100. package/dist-esm/samples-dev/sessionHostsGetSample.js +12 -4
  101. package/dist-esm/samples-dev/sessionHostsGetSample.js.map +1 -1
  102. package/dist-esm/samples-dev/sessionHostsListSample.js +21 -5
  103. package/dist-esm/samples-dev/sessionHostsListSample.js.map +1 -1
  104. package/dist-esm/samples-dev/sessionHostsUpdateSample.js +14 -5
  105. package/dist-esm/samples-dev/sessionHostsUpdateSample.js.map +1 -1
  106. package/dist-esm/samples-dev/startMenuItemsListSample.js +12 -4
  107. package/dist-esm/samples-dev/startMenuItemsListSample.js.map +1 -1
  108. package/dist-esm/samples-dev/userSessionsDeleteSample.js +12 -4
  109. package/dist-esm/samples-dev/userSessionsDeleteSample.js.map +1 -1
  110. package/dist-esm/samples-dev/userSessionsDisconnectSample.js +12 -4
  111. package/dist-esm/samples-dev/userSessionsDisconnectSample.js.map +1 -1
  112. package/dist-esm/samples-dev/userSessionsGetSample.js +12 -4
  113. package/dist-esm/samples-dev/userSessionsGetSample.js.map +1 -1
  114. package/dist-esm/samples-dev/userSessionsListByHostPoolSample.js +21 -5
  115. package/dist-esm/samples-dev/userSessionsListByHostPoolSample.js.map +1 -1
  116. package/dist-esm/samples-dev/userSessionsListSample.js +21 -5
  117. package/dist-esm/samples-dev/userSessionsListSample.js.map +1 -1
  118. package/dist-esm/samples-dev/userSessionsSendMessageSample.js +12 -4
  119. package/dist-esm/samples-dev/userSessionsSendMessageSample.js.map +1 -1
  120. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +12 -4
  121. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
  122. package/dist-esm/samples-dev/workspacesDeleteSample.js +12 -4
  123. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
  124. package/dist-esm/samples-dev/workspacesGetSample.js +12 -4
  125. package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
  126. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +21 -5
  127. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
  128. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +11 -3
  129. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
  130. package/dist-esm/samples-dev/workspacesUpdateSample.js +12 -5
  131. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  132. package/dist-esm/src/desktopVirtualizationAPIClient.d.ts +4 -3
  133. package/dist-esm/src/desktopVirtualizationAPIClient.d.ts.map +1 -1
  134. package/dist-esm/src/desktopVirtualizationAPIClient.js +52 -22
  135. package/dist-esm/src/desktopVirtualizationAPIClient.js.map +1 -1
  136. package/dist-esm/src/index.d.ts +1 -0
  137. package/dist-esm/src/index.d.ts.map +1 -1
  138. package/dist-esm/src/index.js +1 -0
  139. package/dist-esm/src/index.js.map +1 -1
  140. package/dist-esm/src/models/index.d.ts +363 -272
  141. package/dist-esm/src/models/index.d.ts.map +1 -1
  142. package/dist-esm/src/models/index.js +60 -37
  143. package/dist-esm/src/models/index.js.map +1 -1
  144. package/dist-esm/src/models/mappers.d.ts +7 -8
  145. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  146. package/dist-esm/src/models/mappers.js +439 -215
  147. package/dist-esm/src/models/mappers.js.map +1 -1
  148. package/dist-esm/src/models/parameters.d.ts +6 -2
  149. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  150. package/dist-esm/src/models/parameters.js +51 -16
  151. package/dist-esm/src/models/parameters.js.map +1 -1
  152. package/dist-esm/src/operations/applicationGroups.d.ts.map +1 -1
  153. package/dist-esm/src/operations/applicationGroups.js +44 -17
  154. package/dist-esm/src/operations/applicationGroups.js.map +1 -1
  155. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  156. package/dist-esm/src/operations/applications.js +25 -9
  157. package/dist-esm/src/operations/applications.js.map +1 -1
  158. package/dist-esm/src/operations/desktops.d.ts.map +1 -1
  159. package/dist-esm/src/operations/desktops.js +25 -9
  160. package/dist-esm/src/operations/desktops.js.map +1 -1
  161. package/dist-esm/src/operations/hostPools.d.ts.map +1 -1
  162. package/dist-esm/src/operations/hostPools.js +49 -18
  163. package/dist-esm/src/operations/hostPools.js.map +1 -1
  164. package/dist-esm/src/operations/index.d.ts +1 -2
  165. package/dist-esm/src/operations/index.d.ts.map +1 -1
  166. package/dist-esm/src/operations/index.js +1 -2
  167. package/dist-esm/src/operations/index.js.map +1 -1
  168. package/dist-esm/src/operations/msixImages.d.ts.map +1 -1
  169. package/dist-esm/src/operations/msixImages.js +19 -8
  170. package/dist-esm/src/operations/msixImages.js.map +1 -1
  171. package/dist-esm/src/operations/msixPackages.d.ts.map +1 -1
  172. package/dist-esm/src/operations/msixPackages.js +25 -9
  173. package/dist-esm/src/operations/msixPackages.js.map +1 -1
  174. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  175. package/dist-esm/src/operations/operations.js +19 -8
  176. package/dist-esm/src/operations/operations.js.map +1 -1
  177. package/dist-esm/src/operations/scalingPlanPooledSchedules.d.ts +71 -0
  178. package/dist-esm/src/operations/scalingPlanPooledSchedules.d.ts.map +1 -0
  179. package/dist-esm/src/operations/scalingPlanPooledSchedules.js +294 -0
  180. package/dist-esm/src/operations/scalingPlanPooledSchedules.js.map +1 -0
  181. package/dist-esm/src/operations/scalingPlans.d.ts.map +1 -1
  182. package/dist-esm/src/operations/scalingPlans.js +73 -27
  183. package/dist-esm/src/operations/scalingPlans.js.map +1 -1
  184. package/dist-esm/src/operations/sessionHosts.d.ts.map +1 -1
  185. package/dist-esm/src/operations/sessionHosts.js +25 -9
  186. package/dist-esm/src/operations/sessionHosts.js.map +1 -1
  187. package/dist-esm/src/operations/startMenuItems.d.ts.map +1 -1
  188. package/dist-esm/src/operations/startMenuItems.js +25 -9
  189. package/dist-esm/src/operations/startMenuItems.js.map +1 -1
  190. package/dist-esm/src/operations/userSessions.d.ts.map +1 -1
  191. package/dist-esm/src/operations/userSessions.js +50 -18
  192. package/dist-esm/src/operations/userSessions.js.map +1 -1
  193. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  194. package/dist-esm/src/operations/workspaces.js +43 -17
  195. package/dist-esm/src/operations/workspaces.js.map +1 -1
  196. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -2
  197. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  198. package/dist-esm/src/operationsInterfaces/index.js +1 -2
  199. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  200. package/dist-esm/src/operationsInterfaces/scalingPlanPooledSchedules.d.ts +46 -0
  201. package/dist-esm/src/operationsInterfaces/scalingPlanPooledSchedules.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/{privateEndpointConnections.js → scalingPlanPooledSchedules.js} +1 -1
  203. package/dist-esm/src/operationsInterfaces/scalingPlanPooledSchedules.js.map +1 -0
  204. package/dist-esm/src/pagingHelper.d.ts +13 -0
  205. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  206. package/dist-esm/src/pagingHelper.js +32 -0
  207. package/dist-esm/src/pagingHelper.js.map +1 -0
  208. package/dist-esm/test/sampleTest.js +11 -13
  209. package/dist-esm/test/sampleTest.js.map +1 -1
  210. package/package.json +20 -15
  211. package/review/arm-desktopvirtualization.api.md +309 -387
  212. package/src/desktopVirtualizationAPIClient.ts +67 -31
  213. package/src/index.ts +1 -0
  214. package/src/models/index.ts +416 -332
  215. package/src/models/mappers.ts +497 -249
  216. package/src/models/parameters.ts +59 -19
  217. package/src/operations/applicationGroups.ts +53 -20
  218. package/src/operations/applications.ts +33 -15
  219. package/src/operations/desktops.ts +33 -15
  220. package/src/operations/hostPools.ts +58 -21
  221. package/src/operations/index.ts +1 -2
  222. package/src/operations/msixImages.ts +27 -14
  223. package/src/operations/msixPackages.ts +33 -11
  224. package/src/operations/operations.ts +21 -9
  225. package/src/operations/scalingPlanPooledSchedules.ts +393 -0
  226. package/src/operations/scalingPlans.ts +89 -35
  227. package/src/operations/sessionHosts.ts +33 -11
  228. package/src/operations/startMenuItems.ts +32 -14
  229. package/src/operations/userSessions.ts +66 -30
  230. package/src/operations/workspaces.ts +52 -20
  231. package/src/operationsInterfaces/index.ts +1 -2
  232. package/src/operationsInterfaces/scalingPlanPooledSchedules.ts +90 -0
  233. package/src/pagingHelper.ts +39 -0
  234. package/types/arm-desktopvirtualization.d.ts +438 -406
  235. package/types/tsdoc-metadata.json +1 -1
  236. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.js +0 -32
  239. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.js.map +0 -1
  240. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.js +0 -32
  243. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.js.map +0 -1
  244. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.js +0 -32
  247. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.js.map +0 -1
  248. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.js +0 -32
  251. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.js.map +0 -1
  252. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.js +0 -45
  255. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.js.map +0 -1
  256. package/dist-esm/samples-dev/privateEndpointConnectionsListByWorkspaceSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/privateEndpointConnectionsListByWorkspaceSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/privateEndpointConnectionsListByWorkspaceSample.js.map +0 -1
  259. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.js +0 -39
  262. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.js.map +0 -1
  263. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.js +0 -39
  266. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.js.map +0 -1
  267. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.js +0 -45
  270. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.js.map +0 -1
  271. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.d.ts +0 -2
  272. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.d.ts.map +0 -1
  273. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.js +0 -45
  274. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.js.map +0 -1
  275. package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -118
  276. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  277. package/dist-esm/src/operations/privateEndpointConnections.js +0 -483
  278. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  279. package/dist-esm/src/operations/privateLinkResources.d.ts +0 -62
  280. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  281. package/dist-esm/src/operations/privateLinkResources.js +0 -249
  282. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  283. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -76
  284. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  285. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +0 -20
  287. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  288. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +0 -9
  289. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  290. package/src/operations/privateEndpointConnections.ts +0 -652
  291. package/src/operations/privateLinkResources.ts +0 -344
  292. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -140
  293. package/src/operationsInterfaces/privateLinkResources.ts +0 -41
@@ -2,8 +2,32 @@ import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
3
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
4
 
5
+ /** The session host configuration for updating agent, monitoring agent, and stack component. */
6
+ export declare interface AgentUpdatePatchProperties {
7
+ /** The type of maintenance for session host components. */
8
+ type?: SessionHostComponentUpdateType;
9
+ /** Whether to use localTime of the virtual machine. */
10
+ useSessionHostLocalTime?: boolean;
11
+ /** Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. */
12
+ maintenanceWindowTimeZone?: string;
13
+ /** List of maintenance windows. Maintenance windows are 2 hours long. */
14
+ maintenanceWindows?: MaintenanceWindowPatchProperties[];
15
+ }
16
+
17
+ /** The session host configuration for updating agent, monitoring agent, and stack component. */
18
+ export declare interface AgentUpdateProperties {
19
+ /** The type of maintenance for session host components. */
20
+ type?: SessionHostComponentUpdateType;
21
+ /** Whether to use localTime of the virtual machine. */
22
+ useSessionHostLocalTime?: boolean;
23
+ /** Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. */
24
+ maintenanceWindowTimeZone?: string;
25
+ /** List of maintenance windows. Maintenance windows are 2 hours long. */
26
+ maintenanceWindows?: MaintenanceWindowProperties[];
27
+ }
28
+
5
29
  /** Schema for Application properties. */
6
- export declare type Application = Resource & {
30
+ export declare interface Application extends Resource {
7
31
  /**
8
32
  * Metadata pertaining to creation and last modification of the resource.
9
33
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -46,10 +70,10 @@ export declare type Application = Resource & {
46
70
  * NOTE: This property will not be serialized. It can only be populated by the server.
47
71
  */
48
72
  readonly iconContent?: Uint8Array;
49
- };
73
+ }
50
74
 
51
75
  /** Represents a ApplicationGroup definition. */
52
- export declare type ApplicationGroup = ResourceModelWithAllowedPropertySet & {
76
+ export declare interface ApplicationGroup extends ResourceModelWithAllowedPropertySet {
53
77
  /**
54
78
  * Metadata pertaining to creation and last modification of the resource.
55
79
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -73,14 +97,12 @@ export declare type ApplicationGroup = ResourceModelWithAllowedPropertySet & {
73
97
  readonly workspaceArmPath?: string;
74
98
  /** Resource Type of ApplicationGroup. */
75
99
  applicationGroupType: ApplicationGroupType;
76
- /** The registration info of HostPool. */
77
- migrationRequest?: MigrationRequestProperties;
78
100
  /**
79
101
  * Is cloud pc resource.
80
102
  * NOTE: This property will not be serialized. It can only be populated by the server.
81
103
  */
82
104
  readonly cloudPcResource?: boolean;
83
- };
105
+ }
84
106
 
85
107
  /** List of ApplicationGroup definitions. */
86
108
  export declare interface ApplicationGroupList {
@@ -94,7 +116,7 @@ export declare interface ApplicationGroupList {
94
116
  }
95
117
 
96
118
  /** ApplicationGroup properties that can be patched. */
97
- export declare type ApplicationGroupPatch = Resource & {
119
+ export declare interface ApplicationGroupPatch extends Resource {
98
120
  /** tags to be updated */
99
121
  tags?: {
100
122
  [propertyName: string]: string;
@@ -103,7 +125,7 @@ export declare type ApplicationGroupPatch = Resource & {
103
125
  description?: string;
104
126
  /** Friendly name of ApplicationGroup. */
105
127
  friendlyName?: string;
106
- };
128
+ }
107
129
 
108
130
  /** Interface representing a ApplicationGroups. */
109
131
  export declare interface ApplicationGroups {
@@ -169,8 +191,6 @@ export declare type ApplicationGroupsGetResponse = ApplicationGroup;
169
191
 
170
192
  /** Optional parameters. */
171
193
  export declare interface ApplicationGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
172
- /** OData filter expression. Valid properties for filtering are applicationGroupType. */
173
- filter?: string;
174
194
  }
175
195
 
176
196
  /** Contains response data for the listByResourceGroupNext operation. */
@@ -178,6 +198,12 @@ export declare type ApplicationGroupsListByResourceGroupNextResponse = Applicati
178
198
 
179
199
  /** Optional parameters. */
180
200
  export declare interface ApplicationGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
201
+ /** Number of items per page. */
202
+ pageSize?: number;
203
+ /** Indicates whether the collection is descending. */
204
+ isDescending?: boolean;
205
+ /** Initial number of items to skip. */
206
+ initialSkip?: number;
181
207
  /** OData filter expression. Valid properties for filtering are applicationGroupType. */
182
208
  filter?: string;
183
209
  }
@@ -187,8 +213,6 @@ export declare type ApplicationGroupsListByResourceGroupResponse = ApplicationGr
187
213
 
188
214
  /** Optional parameters. */
189
215
  export declare interface ApplicationGroupsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
190
- /** OData filter expression. Valid properties for filtering are applicationGroupType. */
191
- filter?: string;
192
216
  }
193
217
 
194
218
  /** Contains response data for the listBySubscriptionNext operation. */
@@ -334,6 +358,12 @@ export declare type ApplicationsListNextResponse = ApplicationList;
334
358
 
335
359
  /** Optional parameters. */
336
360
  export declare interface ApplicationsListOptionalParams extends coreClient.OperationOptions {
361
+ /** Number of items per page. */
362
+ pageSize?: number;
363
+ /** Indicates whether the collection is descending. */
364
+ isDescending?: boolean;
365
+ /** Initial number of items to skip. */
366
+ initialSkip?: number;
337
367
  }
338
368
 
339
369
  /** Contains response data for the list operation. */
@@ -395,8 +425,11 @@ export declare type CommandLineSetting = string;
395
425
  */
396
426
  export declare type CreatedByType = string;
397
427
 
428
+ /** Defines values for DayOfWeek. */
429
+ export declare type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
430
+
398
431
  /** Schema for Desktop properties. */
399
- export declare type Desktop = Resource & {
432
+ export declare interface Desktop extends Resource {
400
433
  /**
401
434
  * Metadata pertaining to creation and last modification of the resource.
402
435
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -421,7 +454,7 @@ export declare type Desktop = Resource & {
421
454
  * NOTE: This property will not be serialized. It can only be populated by the server.
422
455
  */
423
456
  readonly iconContent?: Uint8Array;
424
- };
457
+ }
425
458
 
426
459
  /** List of Desktop definitions. */
427
460
  export declare interface DesktopList {
@@ -489,6 +522,12 @@ export declare type DesktopsListNextResponse = DesktopList;
489
522
 
490
523
  /** Optional parameters. */
491
524
  export declare interface DesktopsListOptionalParams extends coreClient.OperationOptions {
525
+ /** Number of items per page. */
526
+ pageSize?: number;
527
+ /** Indicates whether the collection is descending. */
528
+ isDescending?: boolean;
529
+ /** Initial number of items to skip. */
530
+ initialSkip?: number;
492
531
  }
493
532
 
494
533
  /** Contains response data for the list operation. */
@@ -514,9 +553,12 @@ export declare class DesktopVirtualizationAPIClient extends coreClient.ServiceCl
514
553
  * @param options The parameter options
515
554
  */
516
555
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DesktopVirtualizationAPIClientOptionalParams);
556
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
557
+ private addCustomApiVersionPolicy;
517
558
  operations: Operations;
518
559
  workspaces: Workspaces;
519
560
  scalingPlans: ScalingPlans;
561
+ scalingPlanPooledSchedules: ScalingPlanPooledSchedules;
520
562
  applicationGroups: ApplicationGroups;
521
563
  startMenuItems: StartMenuItems;
522
564
  applications: Applications;
@@ -526,8 +568,6 @@ export declare class DesktopVirtualizationAPIClient extends coreClient.ServiceCl
526
568
  sessionHosts: SessionHosts;
527
569
  msixPackages: MsixPackages;
528
570
  msixImages: MsixImages;
529
- privateEndpointConnections: PrivateEndpointConnections;
530
- privateLinkResources: PrivateLinkResources;
531
571
  }
532
572
 
533
573
  /** Optional parameters. */
@@ -541,7 +581,7 @@ export declare interface DesktopVirtualizationAPIClientOptionalParams extends co
541
581
  }
542
582
 
543
583
  /** Represents the definition of contents retrieved after expanding the MSIX Image. */
544
- export declare type ExpandMsixImage = Resource & {
584
+ export declare interface ExpandMsixImage extends Resource {
545
585
  /** Alias of MSIX Package. */
546
586
  packageAlias?: string;
547
587
  /** VHD/CIM image path on Network Share. */
@@ -568,7 +608,7 @@ export declare type ExpandMsixImage = Resource & {
568
608
  lastUpdated?: Date;
569
609
  /** List of package applications. */
570
610
  packageApplications?: MsixPackageApplications[];
571
- };
611
+ }
572
612
 
573
613
  /** List of MSIX package properties retrieved from MSIX Image expansion. */
574
614
  export declare interface ExpandMsixImageList {
@@ -581,6 +621,15 @@ export declare interface ExpandMsixImageList {
581
621
  readonly nextLink?: string;
582
622
  }
583
623
 
624
+ /**
625
+ * Given the last `.value` produced by the `byPage` iterator,
626
+ * returns a continuation token that can be used to begin paging from
627
+ * that point later.
628
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
629
+ * @returns The continuation token that can be passed into byPage() during future calls.
630
+ */
631
+ export declare function getContinuationToken(page: unknown): string | undefined;
632
+
584
633
  /**
585
634
  * Defines values for HealthCheckName. \
586
635
  * {@link KnownHealthCheckName} can be used interchangeably with HealthCheckName,
@@ -613,7 +662,7 @@ export declare type HealthCheckName = string;
613
662
  export declare type HealthCheckResult = string;
614
663
 
615
664
  /** Represents a HostPool definition. */
616
- export declare type HostPool = ResourceModelWithAllowedPropertySet & {
665
+ export declare interface HostPool extends ResourceModelWithAllowedPropertySet {
617
666
  /**
618
667
  * Metadata pertaining to creation and last modification of the resource.
619
668
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -663,16 +712,14 @@ export declare type HostPool = ResourceModelWithAllowedPropertySet & {
663
712
  preferredAppGroupType: PreferredAppGroupType;
664
713
  /** The flag to turn on/off StartVMOnConnect feature. */
665
714
  startVMOnConnect?: boolean;
666
- /** The registration info of HostPool. */
667
- migrationRequest?: MigrationRequestProperties;
668
715
  /**
669
716
  * Is cloud pc resource.
670
717
  * NOTE: This property will not be serialized. It can only be populated by the server.
671
718
  */
672
719
  readonly cloudPcResource?: boolean;
673
- /** Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints */
674
- publicNetworkAccess?: PublicNetworkAccess;
675
- };
720
+ /** The session host configuration for updating agent, monitoring agent, and stack component. */
721
+ agentUpdate?: AgentUpdateProperties;
722
+ }
676
723
 
677
724
  /** List of HostPool definitions. */
678
725
  export declare interface HostPoolList {
@@ -686,7 +733,7 @@ export declare interface HostPoolList {
686
733
  }
687
734
 
688
735
  /** HostPool properties that can be patched. */
689
- export declare type HostPoolPatch = Resource & {
736
+ export declare interface HostPoolPatch extends Resource {
690
737
  /** tags to be updated */
691
738
  tags?: {
692
739
  [propertyName: string]: string;
@@ -723,9 +770,9 @@ export declare type HostPoolPatch = Resource & {
723
770
  preferredAppGroupType?: PreferredAppGroupType;
724
771
  /** The flag to turn on/off StartVMOnConnect feature. */
725
772
  startVMOnConnect?: boolean;
726
- /** Enabled to allow this resource to be access from the public network */
727
- publicNetworkAccess?: PublicNetworkAccess;
728
- };
773
+ /** The session host configuration for updating agent, monitoring agent, and stack component. */
774
+ agentUpdate?: AgentUpdatePatchProperties;
775
+ }
729
776
 
730
777
  /** Interface representing a HostPools. */
731
778
  export declare interface HostPools {
@@ -807,6 +854,12 @@ export declare type HostPoolsListByResourceGroupNextResponse = HostPoolList;
807
854
 
808
855
  /** Optional parameters. */
809
856
  export declare interface HostPoolsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
857
+ /** Number of items per page. */
858
+ pageSize?: number;
859
+ /** Indicates whether the collection is descending. */
860
+ isDescending?: boolean;
861
+ /** Initial number of items to skip. */
862
+ initialSkip?: number;
810
863
  }
811
864
 
812
865
  /** Contains response data for the listByResourceGroup operation. */
@@ -821,6 +874,12 @@ export declare type HostPoolsListNextResponse = HostPoolList;
821
874
 
822
875
  /** Optional parameters. */
823
876
  export declare interface HostPoolsListOptionalParams extends coreClient.OperationOptions {
877
+ /** Number of items per page. */
878
+ pageSize?: number;
879
+ /** Indicates whether the collection is descending. */
880
+ isDescending?: boolean;
881
+ /** Initial number of items to skip. */
882
+ initialSkip?: number;
824
883
  }
825
884
 
826
885
  /** Contains response data for the list operation. */
@@ -871,28 +930,39 @@ export declare interface Identity {
871
930
 
872
931
  /** Known values of {@link ApplicationGroupType} that the service accepts. */
873
932
  export declare enum KnownApplicationGroupType {
933
+ /** RemoteApp */
874
934
  RemoteApp = "RemoteApp",
935
+ /** Desktop */
875
936
  Desktop = "Desktop"
876
937
  }
877
938
 
878
939
  /** Known values of {@link ApplicationType} that the service accepts. */
879
940
  export declare enum KnownApplicationType {
941
+ /** RemoteApp */
880
942
  RemoteApp = "RemoteApp",
943
+ /** Desktop */
881
944
  Desktop = "Desktop"
882
945
  }
883
946
 
884
947
  /** Known values of {@link CommandLineSetting} that the service accepts. */
885
948
  export declare enum KnownCommandLineSetting {
949
+ /** DoNotAllow */
886
950
  DoNotAllow = "DoNotAllow",
951
+ /** Allow */
887
952
  Allow = "Allow",
953
+ /** Require */
888
954
  Require = "Require"
889
955
  }
890
956
 
891
957
  /** Known values of {@link CreatedByType} that the service accepts. */
892
958
  export declare enum KnownCreatedByType {
959
+ /** User */
893
960
  User = "User",
961
+ /** Application */
894
962
  Application = "Application",
963
+ /** ManagedIdentity */
895
964
  ManagedIdentity = "ManagedIdentity",
965
+ /** Key */
896
966
  Key = "Key"
897
967
  }
898
968
 
@@ -918,7 +988,7 @@ export declare enum KnownHealthCheckName {
918
988
  SupportedEncryptionCheck = "SupportedEncryptionCheck",
919
989
  /** Verifies the metadata service is accessible and return compute properties. */
920
990
  MetaDataServiceCheck = "MetaDataServiceCheck",
921
- /** Verifies that the AppAttachService is healthy (there were no issues during package staging). The AppAttachService is used to enable the staging/registration (and eventual deregistration/destaging) of MSIX apps that have been set up by the tenant admin. This checks whether the component had any failures during package staging. Failures in staging will prevent some MSIX apps from working properly for the end user. If this check fails, it is non fatal and the machine still can service connections, main issue may be certain apps will not work for end-users. */
991
+ /** Verifies that the AppAttachService is healthy (there were no issues during package staging). The AppAttachService is used to enable the staging\/registration (and eventual deregistration\/destaging) of MSIX apps that have been set up by the tenant admin. This checks whether the component had any failures during package staging. Failures in staging will prevent some MSIX apps from working properly for the end user. If this check fails, it is non fatal and the machine still can service connections, main issue may be certain apps will not work for end-users. */
922
992
  AppAttachHealthCheck = "AppAttachHealthCheck"
923
993
  }
924
994
 
@@ -946,69 +1016,47 @@ export declare enum KnownHostPoolType {
946
1016
 
947
1017
  /** Known values of {@link LoadBalancerType} that the service accepts. */
948
1018
  export declare enum KnownLoadBalancerType {
1019
+ /** BreadthFirst */
949
1020
  BreadthFirst = "BreadthFirst",
1021
+ /** DepthFirst */
950
1022
  DepthFirst = "DepthFirst",
1023
+ /** Persistent */
951
1024
  Persistent = "Persistent"
952
1025
  }
953
1026
 
954
- /** Known values of {@link Operation} that the service accepts. */
955
- export declare enum KnownOperation {
956
- /** Start the migration. */
957
- Start = "Start",
958
- /** Revoke the migration. */
959
- Revoke = "Revoke",
960
- /** Complete the migration. */
961
- Complete = "Complete",
962
- /** Hide the hostpool. */
963
- Hide = "Hide",
964
- /** Unhide the hostpool. */
965
- Unhide = "Unhide"
966
- }
967
-
968
1027
  /** Known values of {@link PersonalDesktopAssignmentType} that the service accepts. */
969
1028
  export declare enum KnownPersonalDesktopAssignmentType {
1029
+ /** Automatic */
970
1030
  Automatic = "Automatic",
1031
+ /** Direct */
971
1032
  Direct = "Direct"
972
1033
  }
973
1034
 
974
1035
  /** Known values of {@link PreferredAppGroupType} that the service accepts. */
975
1036
  export declare enum KnownPreferredAppGroupType {
1037
+ /** None */
976
1038
  None = "None",
1039
+ /** Desktop */
977
1040
  Desktop = "Desktop",
1041
+ /** RailApplications */
978
1042
  RailApplications = "RailApplications"
979
1043
  }
980
1044
 
981
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
982
- export declare enum KnownPrivateEndpointConnectionProvisioningState {
983
- Succeeded = "Succeeded",
984
- Creating = "Creating",
985
- Deleting = "Deleting",
986
- Failed = "Failed"
987
- }
988
-
989
- /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
990
- export declare enum KnownPrivateEndpointServiceConnectionStatus {
991
- Pending = "Pending",
992
- Approved = "Approved",
993
- Rejected = "Rejected"
994
- }
995
-
996
- /** Known values of {@link PublicNetworkAccess} that the service accepts. */
997
- export declare enum KnownPublicNetworkAccess {
998
- Enabled = "Enabled",
999
- Disabled = "Disabled"
1000
- }
1001
-
1002
1045
  /** Known values of {@link RegistrationTokenOperation} that the service accepts. */
1003
1046
  export declare enum KnownRegistrationTokenOperation {
1047
+ /** Delete */
1004
1048
  Delete = "Delete",
1049
+ /** None */
1005
1050
  None = "None",
1051
+ /** Update */
1006
1052
  Update = "Update"
1007
1053
  }
1008
1054
 
1009
1055
  /** Known values of {@link RemoteApplicationType} that the service accepts. */
1010
1056
  export declare enum KnownRemoteApplicationType {
1057
+ /** InBuilt */
1011
1058
  InBuilt = "InBuilt",
1059
+ /** MsixApplication */
1012
1060
  MsixApplication = "MsixApplication"
1013
1061
  }
1014
1062
 
@@ -1020,36 +1068,63 @@ export declare enum KnownScalingHostPoolType {
1020
1068
 
1021
1069
  /** Known values of {@link ScalingScheduleDaysOfWeekItem} that the service accepts. */
1022
1070
  export declare enum KnownScalingScheduleDaysOfWeekItem {
1071
+ /** Sunday */
1023
1072
  Sunday = "Sunday",
1073
+ /** Monday */
1024
1074
  Monday = "Monday",
1075
+ /** Tuesday */
1025
1076
  Tuesday = "Tuesday",
1077
+ /** Wednesday */
1026
1078
  Wednesday = "Wednesday",
1079
+ /** Thursday */
1027
1080
  Thursday = "Thursday",
1081
+ /** Friday */
1028
1082
  Friday = "Friday",
1083
+ /** Saturday */
1029
1084
  Saturday = "Saturday"
1030
1085
  }
1031
1086
 
1087
+ /** Known values of {@link SessionHostComponentUpdateType} that the service accepts. */
1088
+ export declare enum KnownSessionHostComponentUpdateType {
1089
+ /** Agent and other agent side components are delivery schedule is controlled by WVD Infra. */
1090
+ Default = "Default",
1091
+ /** TenantAdmin have opted in for Scheduled Component Update feature. */
1092
+ Scheduled = "Scheduled"
1093
+ }
1094
+
1032
1095
  /** Known values of {@link SessionHostLoadBalancingAlgorithm} that the service accepts. */
1033
1096
  export declare enum KnownSessionHostLoadBalancingAlgorithm {
1097
+ /** BreadthFirst */
1034
1098
  BreadthFirst = "BreadthFirst",
1099
+ /** DepthFirst */
1035
1100
  DepthFirst = "DepthFirst"
1036
1101
  }
1037
1102
 
1038
1103
  /** Known values of {@link SessionState} that the service accepts. */
1039
1104
  export declare enum KnownSessionState {
1105
+ /** Unknown */
1040
1106
  Unknown = "Unknown",
1107
+ /** Active */
1041
1108
  Active = "Active",
1109
+ /** Disconnected */
1042
1110
  Disconnected = "Disconnected",
1111
+ /** Pending */
1043
1112
  Pending = "Pending",
1113
+ /** LogOff */
1044
1114
  LogOff = "LogOff",
1115
+ /** UserProfileDiskMounted */
1045
1116
  UserProfileDiskMounted = "UserProfileDiskMounted"
1046
1117
  }
1047
1118
 
1048
1119
  /** Known values of {@link SSOSecretType} that the service accepts. */
1049
1120
  export declare enum KnownSSOSecretType {
1121
+ /** SharedKey */
1050
1122
  SharedKey = "SharedKey",
1123
+ /** Certificate */
1051
1124
  Certificate = "Certificate",
1125
+ /** SharedKeyInKeyVault */
1052
1126
  SharedKeyInKeyVault = "SharedKeyInKeyVault",
1127
+ /** CertificateInKeyVault */
1053
1128
  CertificateInKeyVault = "CertificateInKeyVault"
1054
1129
  }
1055
1130
 
@@ -1063,7 +1138,7 @@ export declare enum KnownStatus {
1063
1138
  Shutdown = "Shutdown",
1064
1139
  /** The Session Host is unavailable because it is currently disconnected. */
1065
1140
  Disconnected = "Disconnected",
1066
- /** Session Host is unavailable because currently an upgrade of RDAgent/side-by-side stack is in progress. Note: this state will be removed once the upgrade completes and the host is able to accept connections. */
1141
+ /** Session Host is unavailable because currently an upgrade of RDAgent\/side-by-side stack is in progress. Note: this state will be removed once the upgrade completes and the host is able to accept connections. */
1067
1142
  Upgrading = "Upgrading",
1068
1143
  /** Session Host is unavailable because the critical component upgrade (agent, side-by-side stack, etc.) failed. */
1069
1144
  UpgradeFailed = "UpgradeFailed",
@@ -1083,16 +1158,23 @@ export declare enum KnownStatus {
1083
1158
 
1084
1159
  /** Known values of {@link StopHostsWhen} that the service accepts. */
1085
1160
  export declare enum KnownStopHostsWhen {
1161
+ /** ZeroSessions */
1086
1162
  ZeroSessions = "ZeroSessions",
1163
+ /** ZeroActiveSessions */
1087
1164
  ZeroActiveSessions = "ZeroActiveSessions"
1088
1165
  }
1089
1166
 
1090
1167
  /** Known values of {@link UpdateState} that the service accepts. */
1091
1168
  export declare enum KnownUpdateState {
1169
+ /** Initial */
1092
1170
  Initial = "Initial",
1171
+ /** Pending */
1093
1172
  Pending = "Pending",
1173
+ /** Started */
1094
1174
  Started = "Started",
1175
+ /** Succeeded */
1095
1176
  Succeeded = "Succeeded",
1177
+ /** Failed */
1096
1178
  Failed = "Failed"
1097
1179
  }
1098
1180
 
@@ -1117,12 +1199,20 @@ export declare interface LogSpecification {
1117
1199
  blobDuration?: string;
1118
1200
  }
1119
1201
 
1120
- /** Properties for arm migration. */
1121
- export declare interface MigrationRequestProperties {
1122
- /** The type of operation for migration. */
1123
- operation?: Operation;
1124
- /** The path to the legacy object to migrate. */
1125
- migrationPath?: string;
1202
+ /** Maintenance window starting hour and day of week. */
1203
+ export declare interface MaintenanceWindowPatchProperties {
1204
+ /** The update start hour of the day. (0 - 23) */
1205
+ hour?: number;
1206
+ /** Day of the week. */
1207
+ dayOfWeek?: DayOfWeek;
1208
+ }
1209
+
1210
+ /** Maintenance window starting hour and day of week. */
1211
+ export declare interface MaintenanceWindowProperties {
1212
+ /** The update start hour of the day. (0 - 23) */
1213
+ hour?: number;
1214
+ /** Day of the week. */
1215
+ dayOfWeek?: DayOfWeek;
1126
1216
  }
1127
1217
 
1128
1218
  /** Interface representing a MsixImages. */
@@ -1158,7 +1248,7 @@ export declare interface MsixImageURI {
1158
1248
  }
1159
1249
 
1160
1250
  /** Schema for MSIX Package properties. */
1161
- export declare type MsixPackage = Resource & {
1251
+ export declare interface MsixPackage extends Resource {
1162
1252
  /**
1163
1253
  * Metadata pertaining to creation and last modification of the resource.
1164
1254
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1186,7 +1276,7 @@ export declare type MsixPackage = Resource & {
1186
1276
  lastUpdated?: Date;
1187
1277
  /** List of package applications. */
1188
1278
  packageApplications?: MsixPackageApplications[];
1189
- };
1279
+ }
1190
1280
 
1191
1281
  /** Schema for MSIX Package Application properties. */
1192
1282
  export declare interface MsixPackageApplications {
@@ -1228,14 +1318,14 @@ export declare interface MsixPackageList {
1228
1318
  }
1229
1319
 
1230
1320
  /** MSIX Package properties that can be patched. */
1231
- export declare type MsixPackagePatch = Resource & {
1321
+ export declare interface MsixPackagePatch extends Resource {
1232
1322
  /** Set a version of the package to be active across hostpool. */
1233
1323
  isActive?: boolean;
1234
1324
  /** Set Registration mode. Regular or Delayed. */
1235
1325
  isRegularRegistration?: boolean;
1236
1326
  /** Display name for MSIX Package. */
1237
1327
  displayName?: string;
1238
- };
1328
+ }
1239
1329
 
1240
1330
  /** Interface representing a MsixPackages. */
1241
1331
  export declare interface MsixPackages {
@@ -1312,6 +1402,12 @@ export declare type MsixPackagesListNextResponse = MsixPackageList;
1312
1402
 
1313
1403
  /** Optional parameters. */
1314
1404
  export declare interface MsixPackagesListOptionalParams extends coreClient.OperationOptions {
1405
+ /** Number of items per page. */
1406
+ pageSize?: number;
1407
+ /** Indicates whether the collection is descending. */
1408
+ isDescending?: boolean;
1409
+ /** Initial number of items to skip. */
1410
+ initialSkip?: number;
1315
1411
  }
1316
1412
 
1317
1413
  /** Contains response data for the list operation. */
@@ -1326,19 +1422,6 @@ export declare interface MsixPackagesUpdateOptionalParams extends coreClient.Ope
1326
1422
  /** Contains response data for the update operation. */
1327
1423
  export declare type MsixPackagesUpdateResponse = MsixPackage;
1328
1424
 
1329
- /**
1330
- * Defines values for Operation. \
1331
- * {@link KnownOperation} can be used interchangeably with Operation,
1332
- * this enum contains the known values that the service supports.
1333
- * ### Known values supported by the service
1334
- * **Start**: Start the migration. \
1335
- * **Revoke**: Revoke the migration. \
1336
- * **Complete**: Complete the migration. \
1337
- * **Hide**: Hide the hostpool. \
1338
- * **Unhide**: Unhide the hostpool.
1339
- */
1340
- export declare type Operation = string;
1341
-
1342
1425
  /** Properties of the operation */
1343
1426
  export declare interface OperationProperties {
1344
1427
  /** Service specification payload */
@@ -1403,299 +1486,6 @@ export declare interface Plan {
1403
1486
  */
1404
1487
  export declare type PreferredAppGroupType = string;
1405
1488
 
1406
- /** The Private Endpoint resource. */
1407
- export declare interface PrivateEndpoint {
1408
- /**
1409
- * The ARM identifier for Private Endpoint
1410
- * NOTE: This property will not be serialized. It can only be populated by the server.
1411
- */
1412
- readonly id?: string;
1413
- }
1414
-
1415
- /** The Private Endpoint Connection resource. */
1416
- export declare type PrivateEndpointConnection = Resource & {
1417
- /** The resource of private end point. */
1418
- privateEndpoint?: PrivateEndpoint;
1419
- /** A collection of information about the state of the connection between service consumer and provider. */
1420
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1421
- /** The provisioning state of the private endpoint connection resource. */
1422
- provisioningState?: PrivateEndpointConnectionProvisioningState;
1423
- };
1424
-
1425
- /** List of private endpoint connection associated with the specified storage account */
1426
- export declare interface PrivateEndpointConnectionListResultWithSystemData {
1427
- /** Array of private endpoint connections */
1428
- value?: PrivateEndpointConnectionWithSystemData[];
1429
- /**
1430
- * Link to the next page of results.
1431
- * NOTE: This property will not be serialized. It can only be populated by the server.
1432
- */
1433
- readonly nextLink?: string;
1434
- }
1435
-
1436
- /**
1437
- * Defines values for PrivateEndpointConnectionProvisioningState. \
1438
- * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1439
- * this enum contains the known values that the service supports.
1440
- * ### Known values supported by the service
1441
- * **Succeeded** \
1442
- * **Creating** \
1443
- * **Deleting** \
1444
- * **Failed**
1445
- */
1446
- export declare type PrivateEndpointConnectionProvisioningState = string;
1447
-
1448
- /** Interface representing a PrivateEndpointConnections. */
1449
- export declare interface PrivateEndpointConnections {
1450
- /**
1451
- * List private endpoint connections associated with hostpool.
1452
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1453
- * @param hostPoolName The name of the host pool within the specified resource group
1454
- * @param options The options parameters.
1455
- */
1456
- listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateEndpointConnectionsListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionWithSystemData>;
1457
- /**
1458
- * List private endpoint connections.
1459
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1460
- * @param workspaceName The name of the workspace
1461
- * @param options The options parameters.
1462
- */
1463
- listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionWithSystemData>;
1464
- /**
1465
- * Get a private endpoint connection.
1466
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1467
- * @param hostPoolName The name of the host pool within the specified resource group
1468
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1469
- * Azure resource
1470
- * @param options The options parameters.
1471
- */
1472
- getByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetByHostPoolOptionalParams): Promise<PrivateEndpointConnectionsGetByHostPoolResponse>;
1473
- /**
1474
- * Remove a connection.
1475
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1476
- * @param hostPoolName The name of the host pool within the specified resource group
1477
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1478
- * Azure resource
1479
- * @param options The options parameters.
1480
- */
1481
- deleteByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteByHostPoolOptionalParams): Promise<void>;
1482
- /**
1483
- * Approve or reject a private endpoint connection.
1484
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1485
- * @param hostPoolName The name of the host pool within the specified resource group
1486
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1487
- * Azure resource
1488
- * @param connection Object containing the updated connection.
1489
- * @param options The options parameters.
1490
- */
1491
- updateByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, connection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateByHostPoolOptionalParams): Promise<PrivateEndpointConnectionsUpdateByHostPoolResponse>;
1492
- /**
1493
- * Get a private endpoint connection.
1494
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1495
- * @param workspaceName The name of the workspace
1496
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1497
- * Azure resource
1498
- * @param options The options parameters.
1499
- */
1500
- getByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetByWorkspaceOptionalParams): Promise<PrivateEndpointConnectionsGetByWorkspaceResponse>;
1501
- /**
1502
- * Remove a connection.
1503
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1504
- * @param workspaceName The name of the workspace
1505
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1506
- * Azure resource
1507
- * @param options The options parameters.
1508
- */
1509
- deleteByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams): Promise<void>;
1510
- /**
1511
- * Approve or reject a private endpoint connection.
1512
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1513
- * @param workspaceName The name of the workspace
1514
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1515
- * Azure resource
1516
- * @param connection Object containing the updated connection.
1517
- * @param options The options parameters.
1518
- */
1519
- updateByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, connection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams): Promise<PrivateEndpointConnectionsUpdateByWorkspaceResponse>;
1520
- }
1521
-
1522
- /** Optional parameters. */
1523
- export declare interface PrivateEndpointConnectionsDeleteByHostPoolOptionalParams extends coreClient.OperationOptions {
1524
- }
1525
-
1526
- /** Optional parameters. */
1527
- export declare interface PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams extends coreClient.OperationOptions {
1528
- }
1529
-
1530
- /** Optional parameters. */
1531
- export declare interface PrivateEndpointConnectionsGetByHostPoolOptionalParams extends coreClient.OperationOptions {
1532
- }
1533
-
1534
- /** Contains response data for the getByHostPool operation. */
1535
- export declare type PrivateEndpointConnectionsGetByHostPoolResponse = PrivateEndpointConnectionWithSystemData;
1536
-
1537
- /** Optional parameters. */
1538
- export declare interface PrivateEndpointConnectionsGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
1539
- }
1540
-
1541
- /** Contains response data for the getByWorkspace operation. */
1542
- export declare type PrivateEndpointConnectionsGetByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;
1543
-
1544
- /** Optional parameters. */
1545
- export declare interface PrivateEndpointConnectionsListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
1546
- }
1547
-
1548
- /** Contains response data for the listByHostPoolNext operation. */
1549
- export declare type PrivateEndpointConnectionsListByHostPoolNextResponse = PrivateEndpointConnectionListResultWithSystemData;
1550
-
1551
- /** Optional parameters. */
1552
- export declare interface PrivateEndpointConnectionsListByHostPoolOptionalParams extends coreClient.OperationOptions {
1553
- }
1554
-
1555
- /** Contains response data for the listByHostPool operation. */
1556
- export declare type PrivateEndpointConnectionsListByHostPoolResponse = PrivateEndpointConnectionListResultWithSystemData;
1557
-
1558
- /** Optional parameters. */
1559
- export declare interface PrivateEndpointConnectionsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
1560
- }
1561
-
1562
- /** Contains response data for the listByWorkspaceNext operation. */
1563
- export declare type PrivateEndpointConnectionsListByWorkspaceNextResponse = PrivateEndpointConnectionListResultWithSystemData;
1564
-
1565
- /** Optional parameters. */
1566
- export declare interface PrivateEndpointConnectionsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
1567
- }
1568
-
1569
- /** Contains response data for the listByWorkspace operation. */
1570
- export declare type PrivateEndpointConnectionsListByWorkspaceResponse = PrivateEndpointConnectionListResultWithSystemData;
1571
-
1572
- /** Optional parameters. */
1573
- export declare interface PrivateEndpointConnectionsUpdateByHostPoolOptionalParams extends coreClient.OperationOptions {
1574
- }
1575
-
1576
- /** Contains response data for the updateByHostPool operation. */
1577
- export declare type PrivateEndpointConnectionsUpdateByHostPoolResponse = PrivateEndpointConnectionWithSystemData;
1578
-
1579
- /** Optional parameters. */
1580
- export declare interface PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams extends coreClient.OperationOptions {
1581
- }
1582
-
1583
- /** Contains response data for the updateByWorkspace operation. */
1584
- export declare type PrivateEndpointConnectionsUpdateByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;
1585
-
1586
- /** The Private Endpoint Connection resource. */
1587
- export declare type PrivateEndpointConnectionWithSystemData = PrivateEndpointConnection & {
1588
- /**
1589
- * Metadata pertaining to creation and last modification of the resource.
1590
- * NOTE: This property will not be serialized. It can only be populated by the server.
1591
- */
1592
- readonly systemData?: SystemData;
1593
- };
1594
-
1595
- /**
1596
- * Defines values for PrivateEndpointServiceConnectionStatus. \
1597
- * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1598
- * this enum contains the known values that the service supports.
1599
- * ### Known values supported by the service
1600
- * **Pending** \
1601
- * **Approved** \
1602
- * **Rejected**
1603
- */
1604
- export declare type PrivateEndpointServiceConnectionStatus = string;
1605
-
1606
- /** A private link resource */
1607
- export declare type PrivateLinkResource = Resource & {
1608
- /**
1609
- * The private link resource group id.
1610
- * NOTE: This property will not be serialized. It can only be populated by the server.
1611
- */
1612
- readonly groupId?: string;
1613
- /**
1614
- * The private link resource required member names.
1615
- * NOTE: This property will not be serialized. It can only be populated by the server.
1616
- */
1617
- readonly requiredMembers?: string[];
1618
- /** The private link resource Private link DNS zone name. */
1619
- requiredZoneNames?: string[];
1620
- };
1621
-
1622
- /** A list of private link resources */
1623
- export declare interface PrivateLinkResourceListResult {
1624
- /** Array of private link resources */
1625
- value?: PrivateLinkResource[];
1626
- /**
1627
- * Link to the next page of results.
1628
- * NOTE: This property will not be serialized. It can only be populated by the server.
1629
- */
1630
- readonly nextLink?: string;
1631
- }
1632
-
1633
- /** Interface representing a PrivateLinkResources. */
1634
- export declare interface PrivateLinkResources {
1635
- /**
1636
- * List the private link resources available for this hostpool.
1637
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1638
- * @param hostPoolName The name of the host pool within the specified resource group
1639
- * @param options The options parameters.
1640
- */
1641
- listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateLinkResourcesListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1642
- /**
1643
- * List the private link resources available for this workspace.
1644
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1645
- * @param workspaceName The name of the workspace
1646
- * @param options The options parameters.
1647
- */
1648
- listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1649
- }
1650
-
1651
- /** Optional parameters. */
1652
- export declare interface PrivateLinkResourcesListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
1653
- }
1654
-
1655
- /** Contains response data for the listByHostPoolNext operation. */
1656
- export declare type PrivateLinkResourcesListByHostPoolNextResponse = PrivateLinkResourceListResult;
1657
-
1658
- /** Optional parameters. */
1659
- export declare interface PrivateLinkResourcesListByHostPoolOptionalParams extends coreClient.OperationOptions {
1660
- }
1661
-
1662
- /** Contains response data for the listByHostPool operation. */
1663
- export declare type PrivateLinkResourcesListByHostPoolResponse = PrivateLinkResourceListResult;
1664
-
1665
- /** Optional parameters. */
1666
- export declare interface PrivateLinkResourcesListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
1667
- }
1668
-
1669
- /** Contains response data for the listByWorkspaceNext operation. */
1670
- export declare type PrivateLinkResourcesListByWorkspaceNextResponse = PrivateLinkResourceListResult;
1671
-
1672
- /** Optional parameters. */
1673
- export declare interface PrivateLinkResourcesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
1674
- }
1675
-
1676
- /** Contains response data for the listByWorkspace operation. */
1677
- export declare type PrivateLinkResourcesListByWorkspaceResponse = PrivateLinkResourceListResult;
1678
-
1679
- /** A collection of information about the state of the connection between service consumer and provider. */
1680
- export declare interface PrivateLinkServiceConnectionState {
1681
- /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1682
- status?: PrivateEndpointServiceConnectionStatus;
1683
- /** The reason for approval/rejection of the connection. */
1684
- description?: string;
1685
- /** A message indicating if changes on the service provider require any updates on the consumer. */
1686
- actionsRequired?: string;
1687
- }
1688
-
1689
- /**
1690
- * Defines values for PublicNetworkAccess. \
1691
- * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1692
- * this enum contains the known values that the service supports.
1693
- * ### Known values supported by the service
1694
- * **Enabled** \
1695
- * **Disabled**
1696
- */
1697
- export declare type PublicNetworkAccess = string;
1698
-
1699
1489
  /** Represents a RegistrationInfo definition. */
1700
1490
  export declare interface RegistrationInfo {
1701
1491
  /** Expiration time of registration token. */
@@ -1791,11 +1581,14 @@ export declare interface ResourceModelWithAllowedPropertySet {
1791
1581
  plan?: ResourceModelWithAllowedPropertySetPlan;
1792
1582
  }
1793
1583
 
1794
- export declare type ResourceModelWithAllowedPropertySetIdentity = Identity & {};
1584
+ export declare interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
1585
+ }
1795
1586
 
1796
- export declare type ResourceModelWithAllowedPropertySetPlan = Plan & {};
1587
+ export declare interface ResourceModelWithAllowedPropertySetPlan extends Plan {
1588
+ }
1797
1589
 
1798
- export declare type ResourceModelWithAllowedPropertySetSku = Sku & {};
1590
+ export declare interface ResourceModelWithAllowedPropertySetSku extends Sku {
1591
+ }
1799
1592
 
1800
1593
  /** Supported operation of this resource provider. */
1801
1594
  export declare interface ResourceProviderOperation {
@@ -1850,7 +1643,7 @@ export declare interface ScalingHostPoolReference {
1850
1643
  export declare type ScalingHostPoolType = string;
1851
1644
 
1852
1645
  /** Represents a scaling plan definition. */
1853
- export declare type ScalingPlan = ResourceModelWithAllowedPropertySet & {
1646
+ export declare interface ScalingPlan extends ResourceModelWithAllowedPropertySet {
1854
1647
  /**
1855
1648
  * Metadata pertaining to creation and last modification of the resource.
1856
1649
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1866,16 +1659,16 @@ export declare type ScalingPlan = ResourceModelWithAllowedPropertySet & {
1866
1659
  /** User friendly name of scaling plan. */
1867
1660
  friendlyName?: string;
1868
1661
  /** Timezone of the scaling plan. */
1869
- timeZone?: string;
1662
+ timeZone: string;
1870
1663
  /** HostPool type for desktop. */
1871
1664
  hostPoolType?: ScalingHostPoolType;
1872
1665
  /** Exclusion tag for scaling plan. */
1873
1666
  exclusionTag?: string;
1874
- /** List of ScalingSchedule definitions. */
1667
+ /** List of ScalingPlanPooledSchedule definitions. */
1875
1668
  schedules?: ScalingSchedule[];
1876
1669
  /** List of ScalingHostPoolReference definitions. */
1877
1670
  hostPoolReferences?: ScalingHostPoolReference[];
1878
- };
1671
+ }
1879
1672
 
1880
1673
  /** List of scaling plan definitions. */
1881
1674
  export declare interface ScalingPlanList {
@@ -1908,6 +1701,189 @@ export declare interface ScalingPlanPatch {
1908
1701
  hostPoolReferences?: ScalingHostPoolReference[];
1909
1702
  }
1910
1703
 
1704
+ /** Represents a ScalingPlanPooledSchedule definition. */
1705
+ export declare interface ScalingPlanPooledSchedule extends Resource {
1706
+ /**
1707
+ * Metadata pertaining to creation and last modification of the resource.
1708
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1709
+ */
1710
+ readonly systemData?: SystemData;
1711
+ /** Set of days of the week on which this schedule is active. */
1712
+ daysOfWeek?: DayOfWeek[];
1713
+ /** Starting time for ramp up period. */
1714
+ rampUpStartTime?: Time;
1715
+ /** Load balancing algorithm for ramp up period. */
1716
+ rampUpLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1717
+ /** Minimum host percentage for ramp up period. */
1718
+ rampUpMinimumHostsPct?: number;
1719
+ /** Capacity threshold for ramp up period. */
1720
+ rampUpCapacityThresholdPct?: number;
1721
+ /** Starting time for peak period. */
1722
+ peakStartTime?: Time;
1723
+ /** Load balancing algorithm for peak period. */
1724
+ peakLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1725
+ /** Starting time for ramp down period. */
1726
+ rampDownStartTime?: Time;
1727
+ /** Load balancing algorithm for ramp down period. */
1728
+ rampDownLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1729
+ /** Minimum host percentage for ramp down period. */
1730
+ rampDownMinimumHostsPct?: number;
1731
+ /** Capacity threshold for ramp down period. */
1732
+ rampDownCapacityThresholdPct?: number;
1733
+ /** Should users be logged off forcefully from hosts. */
1734
+ rampDownForceLogoffUsers?: boolean;
1735
+ /** Specifies when to stop hosts during ramp down period. */
1736
+ rampDownStopHostsWhen?: StopHostsWhen;
1737
+ /** Number of minutes to wait to stop hosts during ramp down period. */
1738
+ rampDownWaitTimeMinutes?: number;
1739
+ /** Notification message for users during ramp down period. */
1740
+ rampDownNotificationMessage?: string;
1741
+ /** Starting time for off-peak period. */
1742
+ offPeakStartTime?: Time;
1743
+ /** Load balancing algorithm for off-peak period. */
1744
+ offPeakLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1745
+ }
1746
+
1747
+ /** List of ScalingPlanPooledSchedule definitions. */
1748
+ export declare interface ScalingPlanPooledScheduleList {
1749
+ /** List of ScalingPlanPooledSchedule definitions. */
1750
+ value?: ScalingPlanPooledSchedule[];
1751
+ /**
1752
+ * Link to the next page of results.
1753
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1754
+ */
1755
+ readonly nextLink?: string;
1756
+ }
1757
+
1758
+ /** ScalingPlanPooledSchedule properties that can be patched. */
1759
+ export declare interface ScalingPlanPooledSchedulePatch extends Resource {
1760
+ /** Set of days of the week on which this schedule is active. */
1761
+ daysOfWeek?: DayOfWeek[];
1762
+ /** Starting time for ramp up period. */
1763
+ rampUpStartTime?: Time;
1764
+ /** Load balancing algorithm for ramp up period. */
1765
+ rampUpLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1766
+ /** Minimum host percentage for ramp up period. */
1767
+ rampUpMinimumHostsPct?: number;
1768
+ /** Capacity threshold for ramp up period. */
1769
+ rampUpCapacityThresholdPct?: number;
1770
+ /** Starting time for peak period. */
1771
+ peakStartTime?: Time;
1772
+ /** Load balancing algorithm for peak period. */
1773
+ peakLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1774
+ /** Starting time for ramp down period. */
1775
+ rampDownStartTime?: Time;
1776
+ /** Load balancing algorithm for ramp down period. */
1777
+ rampDownLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1778
+ /** Minimum host percentage for ramp down period. */
1779
+ rampDownMinimumHostsPct?: number;
1780
+ /** Capacity threshold for ramp down period. */
1781
+ rampDownCapacityThresholdPct?: number;
1782
+ /** Should users be logged off forcefully from hosts. */
1783
+ rampDownForceLogoffUsers?: boolean;
1784
+ /** Specifies when to stop hosts during ramp down period. */
1785
+ rampDownStopHostsWhen?: StopHostsWhen;
1786
+ /** Number of minutes to wait to stop hosts during ramp down period. */
1787
+ rampDownWaitTimeMinutes?: number;
1788
+ /** Notification message for users during ramp down period. */
1789
+ rampDownNotificationMessage?: string;
1790
+ /** Starting time for off-peak period. */
1791
+ offPeakStartTime?: Time;
1792
+ /** Load balancing algorithm for off-peak period. */
1793
+ offPeakLoadBalancingAlgorithm?: SessionHostLoadBalancingAlgorithm;
1794
+ }
1795
+
1796
+ /** Interface representing a ScalingPlanPooledSchedules. */
1797
+ export declare interface ScalingPlanPooledSchedules {
1798
+ /**
1799
+ * List ScalingPlanPooledSchedules.
1800
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1801
+ * @param scalingPlanName The name of the scaling plan.
1802
+ * @param options The options parameters.
1803
+ */
1804
+ list(resourceGroupName: string, scalingPlanName: string, options?: ScalingPlanPooledSchedulesListOptionalParams): PagedAsyncIterableIterator<ScalingPlanPooledSchedule>;
1805
+ /**
1806
+ * Get a ScalingPlanPooledSchedule.
1807
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1808
+ * @param scalingPlanName The name of the scaling plan.
1809
+ * @param scalingPlanScheduleName The name of the ScalingPlanSchedule
1810
+ * @param options The options parameters.
1811
+ */
1812
+ get(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, options?: ScalingPlanPooledSchedulesGetOptionalParams): Promise<ScalingPlanPooledSchedulesGetResponse>;
1813
+ /**
1814
+ * Create or update a ScalingPlanPooledSchedule.
1815
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1816
+ * @param scalingPlanName The name of the scaling plan.
1817
+ * @param scalingPlanScheduleName The name of the ScalingPlanSchedule
1818
+ * @param scalingPlanSchedule Object containing ScalingPlanPooledSchedule definitions.
1819
+ * @param options The options parameters.
1820
+ */
1821
+ create(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, scalingPlanSchedule: ScalingPlanPooledSchedule, options?: ScalingPlanPooledSchedulesCreateOptionalParams): Promise<ScalingPlanPooledSchedulesCreateResponse>;
1822
+ /**
1823
+ * Remove a ScalingPlanPooledSchedule.
1824
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1825
+ * @param scalingPlanName The name of the scaling plan.
1826
+ * @param scalingPlanScheduleName The name of the ScalingPlanSchedule
1827
+ * @param options The options parameters.
1828
+ */
1829
+ delete(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, options?: ScalingPlanPooledSchedulesDeleteOptionalParams): Promise<void>;
1830
+ /**
1831
+ * Update a ScalingPlanPooledSchedule.
1832
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1833
+ * @param scalingPlanName The name of the scaling plan.
1834
+ * @param scalingPlanScheduleName The name of the ScalingPlanSchedule
1835
+ * @param options The options parameters.
1836
+ */
1837
+ update(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, options?: ScalingPlanPooledSchedulesUpdateOptionalParams): Promise<ScalingPlanPooledSchedulesUpdateResponse>;
1838
+ }
1839
+
1840
+ /** Optional parameters. */
1841
+ export declare interface ScalingPlanPooledSchedulesCreateOptionalParams extends coreClient.OperationOptions {
1842
+ }
1843
+
1844
+ /** Contains response data for the create operation. */
1845
+ export declare type ScalingPlanPooledSchedulesCreateResponse = ScalingPlanPooledSchedule;
1846
+
1847
+ /** Optional parameters. */
1848
+ export declare interface ScalingPlanPooledSchedulesDeleteOptionalParams extends coreClient.OperationOptions {
1849
+ }
1850
+
1851
+ /** Optional parameters. */
1852
+ export declare interface ScalingPlanPooledSchedulesGetOptionalParams extends coreClient.OperationOptions {
1853
+ }
1854
+
1855
+ /** Contains response data for the get operation. */
1856
+ export declare type ScalingPlanPooledSchedulesGetResponse = ScalingPlanPooledSchedule;
1857
+
1858
+ /** Optional parameters. */
1859
+ export declare interface ScalingPlanPooledSchedulesListNextOptionalParams extends coreClient.OperationOptions {
1860
+ }
1861
+
1862
+ /** Contains response data for the listNext operation. */
1863
+ export declare type ScalingPlanPooledSchedulesListNextResponse = ScalingPlanPooledScheduleList;
1864
+
1865
+ /** Optional parameters. */
1866
+ export declare interface ScalingPlanPooledSchedulesListOptionalParams extends coreClient.OperationOptions {
1867
+ /** Number of items per page. */
1868
+ pageSize?: number;
1869
+ /** Indicates whether the collection is descending. */
1870
+ isDescending?: boolean;
1871
+ /** Initial number of items to skip. */
1872
+ initialSkip?: number;
1873
+ }
1874
+
1875
+ /** Contains response data for the list operation. */
1876
+ export declare type ScalingPlanPooledSchedulesListResponse = ScalingPlanPooledScheduleList;
1877
+
1878
+ /** Optional parameters. */
1879
+ export declare interface ScalingPlanPooledSchedulesUpdateOptionalParams extends coreClient.OperationOptions {
1880
+ /** Object containing ScalingPlanPooledSchedule definitions. */
1881
+ scalingPlanSchedule?: ScalingPlanPooledSchedulePatch;
1882
+ }
1883
+
1884
+ /** Contains response data for the update operation. */
1885
+ export declare type ScalingPlanPooledSchedulesUpdateResponse = ScalingPlanPooledSchedule;
1886
+
1911
1887
  /** Interface representing a ScalingPlans. */
1912
1888
  export declare interface ScalingPlans {
1913
1889
  /**
@@ -1986,6 +1962,12 @@ export declare type ScalingPlansListByHostPoolNextResponse = ScalingPlanList;
1986
1962
 
1987
1963
  /** Optional parameters. */
1988
1964
  export declare interface ScalingPlansListByHostPoolOptionalParams extends coreClient.OperationOptions {
1965
+ /** Number of items per page. */
1966
+ pageSize?: number;
1967
+ /** Indicates whether the collection is descending. */
1968
+ isDescending?: boolean;
1969
+ /** Initial number of items to skip. */
1970
+ initialSkip?: number;
1989
1971
  }
1990
1972
 
1991
1973
  /** Contains response data for the listByHostPool operation. */
@@ -2000,6 +1982,12 @@ export declare type ScalingPlansListByResourceGroupNextResponse = ScalingPlanLis
2000
1982
 
2001
1983
  /** Optional parameters. */
2002
1984
  export declare interface ScalingPlansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1985
+ /** Number of items per page. */
1986
+ pageSize?: number;
1987
+ /** Indicates whether the collection is descending. */
1988
+ isDescending?: boolean;
1989
+ /** Initial number of items to skip. */
1990
+ initialSkip?: number;
2003
1991
  }
2004
1992
 
2005
1993
  /** Contains response data for the listByResourceGroup operation. */
@@ -2014,6 +2002,12 @@ export declare type ScalingPlansListBySubscriptionNextResponse = ScalingPlanList
2014
2002
 
2015
2003
  /** Optional parameters. */
2016
2004
  export declare interface ScalingPlansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2005
+ /** Number of items per page. */
2006
+ pageSize?: number;
2007
+ /** Indicates whether the collection is descending. */
2008
+ isDescending?: boolean;
2009
+ /** Initial number of items to skip. */
2010
+ initialSkip?: number;
2017
2011
  }
2018
2012
 
2019
2013
  /** Contains response data for the listBySubscription operation. */
@@ -2028,9 +2022,9 @@ export declare interface ScalingPlansUpdateOptionalParams extends coreClient.Ope
2028
2022
  /** Contains response data for the update operation. */
2029
2023
  export declare type ScalingPlansUpdateResponse = ScalingPlan;
2030
2024
 
2031
- /** Scaling plan schedule. */
2025
+ /** A ScalingPlanPooledSchedule. */
2032
2026
  export declare interface ScalingSchedule {
2033
- /** Name of the scaling schedule. */
2027
+ /** Name of the ScalingPlanPooledSchedule. */
2034
2028
  name?: string;
2035
2029
  /** Set of days of the week on which this schedule is active. */
2036
2030
  daysOfWeek?: ScalingScheduleDaysOfWeekItem[];
@@ -2098,7 +2092,7 @@ export declare interface ServiceSpecification {
2098
2092
  }
2099
2093
 
2100
2094
  /** Represents a SessionHost definition. */
2101
- export declare type SessionHost = Resource & {
2095
+ export declare interface SessionHost extends Resource {
2102
2096
  /**
2103
2097
  * Metadata pertaining to creation and last modification of the resource.
2104
2098
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2129,6 +2123,8 @@ export declare type SessionHost = Resource & {
2129
2123
  readonly resourceId?: string;
2130
2124
  /** User assigned to SessionHost. */
2131
2125
  assignedUser?: string;
2126
+ /** Friendly name of SessionHost */
2127
+ friendlyName?: string;
2132
2128
  /** Status for a SessionHost. */
2133
2129
  status?: Status;
2134
2130
  /**
@@ -2154,7 +2150,17 @@ export declare type SessionHost = Resource & {
2154
2150
  * NOTE: This property will not be serialized. It can only be populated by the server.
2155
2151
  */
2156
2152
  readonly sessionHostHealthCheckResults?: SessionHostHealthCheckReport[];
2157
- };
2153
+ }
2154
+
2155
+ /**
2156
+ * Defines values for SessionHostComponentUpdateType. \
2157
+ * {@link KnownSessionHostComponentUpdateType} can be used interchangeably with SessionHostComponentUpdateType,
2158
+ * this enum contains the known values that the service supports.
2159
+ * ### Known values supported by the service
2160
+ * **Default**: Agent and other agent side components are delivery schedule is controlled by WVD Infra. \
2161
+ * **Scheduled**: TenantAdmin have opted in for Scheduled Component Update feature.
2162
+ */
2163
+ export declare type SessionHostComponentUpdateType = string;
2158
2164
 
2159
2165
  /** Contains details on the failure. */
2160
2166
  export declare interface SessionHostHealthCheckFailureDetails {
@@ -2216,12 +2222,14 @@ export declare interface SessionHostList {
2216
2222
  export declare type SessionHostLoadBalancingAlgorithm = string;
2217
2223
 
2218
2224
  /** SessionHost properties that can be patched. */
2219
- export declare type SessionHostPatch = Resource & {
2225
+ export declare interface SessionHostPatch extends Resource {
2220
2226
  /** Allow a new session. */
2221
2227
  allowNewSession?: boolean;
2222
2228
  /** User assigned to SessionHost. */
2223
2229
  assignedUser?: string;
2224
- };
2230
+ /** Friendly name of SessionHost */
2231
+ friendlyName?: string;
2232
+ }
2225
2233
 
2226
2234
  /** Interface representing a SessionHosts. */
2227
2235
  export declare interface SessionHosts {
@@ -2280,6 +2288,12 @@ export declare type SessionHostsListNextResponse = SessionHostList;
2280
2288
 
2281
2289
  /** Optional parameters. */
2282
2290
  export declare interface SessionHostsListOptionalParams extends coreClient.OperationOptions {
2291
+ /** Number of items per page. */
2292
+ pageSize?: number;
2293
+ /** Indicates whether the collection is descending. */
2294
+ isDescending?: boolean;
2295
+ /** Initial number of items to skip. */
2296
+ initialSkip?: number;
2283
2297
  }
2284
2298
 
2285
2299
  /** Contains response data for the list operation. */
@@ -2340,7 +2354,7 @@ export declare type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
2340
2354
  export declare type SSOSecretType = string;
2341
2355
 
2342
2356
  /** Represents a StartMenuItem definition. */
2343
- export declare type StartMenuItem = Resource & {
2357
+ export declare interface StartMenuItem extends Resource {
2344
2358
  /** Alias of StartMenuItem. */
2345
2359
  appAlias?: string;
2346
2360
  /** Path to the file of StartMenuItem. */
@@ -2351,7 +2365,7 @@ export declare type StartMenuItem = Resource & {
2351
2365
  iconPath?: string;
2352
2366
  /** Index of the icon. */
2353
2367
  iconIndex?: number;
2354
- };
2368
+ }
2355
2369
 
2356
2370
  /** List of StartMenuItem definitions. */
2357
2371
  export declare interface StartMenuItemList {
@@ -2384,6 +2398,12 @@ export declare type StartMenuItemsListNextResponse = StartMenuItemList;
2384
2398
 
2385
2399
  /** Optional parameters. */
2386
2400
  export declare interface StartMenuItemsListOptionalParams extends coreClient.OperationOptions {
2401
+ /** Number of items per page. */
2402
+ pageSize?: number;
2403
+ /** Indicates whether the collection is descending. */
2404
+ isDescending?: boolean;
2405
+ /** Initial number of items to skip. */
2406
+ initialSkip?: number;
2387
2407
  }
2388
2408
 
2389
2409
  /** Contains response data for the list operation. */
@@ -2457,7 +2477,7 @@ export declare interface Time {
2457
2477
  export declare type UpdateState = string;
2458
2478
 
2459
2479
  /** Represents a UserSession definition. */
2460
- export declare type UserSession = Resource & {
2480
+ export declare interface UserSession extends Resource {
2461
2481
  /**
2462
2482
  * Metadata pertaining to creation and last modification of the resource.
2463
2483
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2478,7 +2498,7 @@ export declare type UserSession = Resource & {
2478
2498
  activeDirectoryUserName?: string;
2479
2499
  /** The timestamp of the user session create. */
2480
2500
  createTime?: Date;
2481
- };
2501
+ }
2482
2502
 
2483
2503
  /** List of UserSession definitions. */
2484
2504
  export declare interface UserSessionList {
@@ -2565,8 +2585,6 @@ export declare type UserSessionsGetResponse = UserSession;
2565
2585
 
2566
2586
  /** Optional parameters. */
2567
2587
  export declare interface UserSessionsListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
2568
- /** OData filter expression. Valid properties for filtering are userprincipalname and sessionstate. */
2569
- filter?: string;
2570
2588
  }
2571
2589
 
2572
2590
  /** Contains response data for the listByHostPoolNext operation. */
@@ -2574,6 +2592,12 @@ export declare type UserSessionsListByHostPoolNextResponse = UserSessionList;
2574
2592
 
2575
2593
  /** Optional parameters. */
2576
2594
  export declare interface UserSessionsListByHostPoolOptionalParams extends coreClient.OperationOptions {
2595
+ /** Number of items per page. */
2596
+ pageSize?: number;
2597
+ /** Indicates whether the collection is descending. */
2598
+ isDescending?: boolean;
2599
+ /** Initial number of items to skip. */
2600
+ initialSkip?: number;
2577
2601
  /** OData filter expression. Valid properties for filtering are userprincipalname and sessionstate. */
2578
2602
  filter?: string;
2579
2603
  }
@@ -2590,6 +2614,12 @@ export declare type UserSessionsListNextResponse = UserSessionList;
2590
2614
 
2591
2615
  /** Optional parameters. */
2592
2616
  export declare interface UserSessionsListOptionalParams extends coreClient.OperationOptions {
2617
+ /** Number of items per page. */
2618
+ pageSize?: number;
2619
+ /** Indicates whether the collection is descending. */
2620
+ isDescending?: boolean;
2621
+ /** Initial number of items to skip. */
2622
+ initialSkip?: number;
2593
2623
  }
2594
2624
 
2595
2625
  /** Contains response data for the list operation. */
@@ -2602,7 +2632,7 @@ export declare interface UserSessionsSendMessageOptionalParams extends coreClien
2602
2632
  }
2603
2633
 
2604
2634
  /** Represents a Workspace definition. */
2605
- export declare type Workspace = ResourceModelWithAllowedPropertySet & {
2635
+ export declare interface Workspace extends ResourceModelWithAllowedPropertySet {
2606
2636
  /**
2607
2637
  * Metadata pertaining to creation and last modification of the resource.
2608
2638
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2624,9 +2654,7 @@ export declare type Workspace = ResourceModelWithAllowedPropertySet & {
2624
2654
  * NOTE: This property will not be serialized. It can only be populated by the server.
2625
2655
  */
2626
2656
  readonly cloudPcResource?: boolean;
2627
- /** Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints */
2628
- publicNetworkAccess?: PublicNetworkAccess;
2629
- };
2657
+ }
2630
2658
 
2631
2659
  /** List of Workspace definitions. */
2632
2660
  export declare interface WorkspaceList {
@@ -2651,8 +2679,6 @@ export declare interface WorkspacePatch {
2651
2679
  friendlyName?: string;
2652
2680
  /** List of applicationGroup links. */
2653
2681
  applicationGroupReferences?: string[];
2654
- /** Enabled to allow this resource to be access from the public network */
2655
- publicNetworkAccess?: PublicNetworkAccess;
2656
2682
  }
2657
2683
 
2658
2684
  /** Interface representing a Workspaces. */
@@ -2726,6 +2752,12 @@ export declare type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
2726
2752
 
2727
2753
  /** Optional parameters. */
2728
2754
  export declare interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2755
+ /** Number of items per page. */
2756
+ pageSize?: number;
2757
+ /** Indicates whether the collection is descending. */
2758
+ isDescending?: boolean;
2759
+ /** Initial number of items to skip. */
2760
+ initialSkip?: number;
2729
2761
  }
2730
2762
 
2731
2763
  /** Contains response data for the listByResourceGroup operation. */