@azure/arm-desktopvirtualization 1.0.0-beta.4 → 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 (272) hide show
  1. package/CHANGELOG.md +2 -40
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +1703 -1907
  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 +12 -4
  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 +2 -3
  133. package/dist-esm/src/desktopVirtualizationAPIClient.d.ts.map +1 -1
  134. package/dist-esm/src/desktopVirtualizationAPIClient.js +4 -5
  135. package/dist-esm/src/desktopVirtualizationAPIClient.js.map +1 -1
  136. package/dist-esm/src/models/index.d.ts +277 -248
  137. package/dist-esm/src/models/index.d.ts.map +1 -1
  138. package/dist-esm/src/models/index.js +10 -46
  139. package/dist-esm/src/models/index.js.map +1 -1
  140. package/dist-esm/src/models/mappers.d.ts +7 -8
  141. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  142. package/dist-esm/src/models/mappers.js +439 -215
  143. package/dist-esm/src/models/mappers.js.map +1 -1
  144. package/dist-esm/src/models/parameters.d.ts +6 -2
  145. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  146. package/dist-esm/src/models/parameters.js +51 -16
  147. package/dist-esm/src/models/parameters.js.map +1 -1
  148. package/dist-esm/src/operations/applicationGroups.js +7 -3
  149. package/dist-esm/src/operations/applicationGroups.js.map +1 -1
  150. package/dist-esm/src/operations/applications.js +6 -2
  151. package/dist-esm/src/operations/applications.js.map +1 -1
  152. package/dist-esm/src/operations/desktops.js +6 -2
  153. package/dist-esm/src/operations/desktops.js.map +1 -1
  154. package/dist-esm/src/operations/hostPools.js +12 -4
  155. package/dist-esm/src/operations/hostPools.js.map +1 -1
  156. package/dist-esm/src/operations/index.d.ts +1 -2
  157. package/dist-esm/src/operations/index.d.ts.map +1 -1
  158. package/dist-esm/src/operations/index.js +1 -2
  159. package/dist-esm/src/operations/index.js.map +1 -1
  160. package/dist-esm/src/operations/msixImages.js +0 -1
  161. package/dist-esm/src/operations/msixImages.js.map +1 -1
  162. package/dist-esm/src/operations/msixPackages.js +6 -2
  163. package/dist-esm/src/operations/msixPackages.js.map +1 -1
  164. package/dist-esm/src/operations/operations.js +0 -1
  165. package/dist-esm/src/operations/operations.js.map +1 -1
  166. package/dist-esm/src/operations/scalingPlanPooledSchedules.d.ts +71 -0
  167. package/dist-esm/src/operations/scalingPlanPooledSchedules.d.ts.map +1 -0
  168. package/dist-esm/src/operations/scalingPlanPooledSchedules.js +294 -0
  169. package/dist-esm/src/operations/scalingPlanPooledSchedules.js.map +1 -0
  170. package/dist-esm/src/operations/scalingPlans.js +18 -6
  171. package/dist-esm/src/operations/scalingPlans.js.map +1 -1
  172. package/dist-esm/src/operations/sessionHosts.js +6 -2
  173. package/dist-esm/src/operations/sessionHosts.js.map +1 -1
  174. package/dist-esm/src/operations/startMenuItems.js +6 -2
  175. package/dist-esm/src/operations/startMenuItems.js.map +1 -1
  176. package/dist-esm/src/operations/userSessions.js +13 -4
  177. package/dist-esm/src/operations/userSessions.js.map +1 -1
  178. package/dist-esm/src/operations/workspaces.js +6 -3
  179. package/dist-esm/src/operations/workspaces.js.map +1 -1
  180. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -2
  181. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  182. package/dist-esm/src/operationsInterfaces/index.js +1 -2
  183. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  184. package/dist-esm/src/operationsInterfaces/scalingPlanPooledSchedules.d.ts +46 -0
  185. package/dist-esm/src/operationsInterfaces/scalingPlanPooledSchedules.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/{privateEndpointConnections.js → scalingPlanPooledSchedules.js} +1 -1
  187. package/dist-esm/src/operationsInterfaces/scalingPlanPooledSchedules.js.map +1 -0
  188. package/dist-esm/src/pagingHelper.d.ts +4 -4
  189. package/dist-esm/src/pagingHelper.js +4 -4
  190. package/package.json +10 -9
  191. package/review/arm-desktopvirtualization.api.md +186 -211
  192. package/src/desktopVirtualizationAPIClient.ts +8 -12
  193. package/src/models/index.ts +333 -309
  194. package/src/models/mappers.ts +497 -249
  195. package/src/models/parameters.ts +59 -19
  196. package/src/operations/applicationGroups.ts +7 -3
  197. package/src/operations/applications.ts +6 -2
  198. package/src/operations/desktops.ts +6 -2
  199. package/src/operations/hostPools.ts +12 -4
  200. package/src/operations/index.ts +1 -2
  201. package/src/operations/msixImages.ts +0 -1
  202. package/src/operations/msixPackages.ts +6 -2
  203. package/src/operations/operations.ts +0 -1
  204. package/src/operations/scalingPlanPooledSchedules.ts +393 -0
  205. package/src/operations/scalingPlans.ts +18 -6
  206. package/src/operations/sessionHosts.ts +6 -2
  207. package/src/operations/startMenuItems.ts +6 -2
  208. package/src/operations/userSessions.ts +13 -4
  209. package/src/operations/workspaces.ts +6 -3
  210. package/src/operationsInterfaces/index.ts +1 -2
  211. package/src/operationsInterfaces/scalingPlanPooledSchedules.ts +90 -0
  212. package/src/pagingHelper.ts +4 -4
  213. package/types/arm-desktopvirtualization.d.ts +345 -386
  214. package/types/tsdoc-metadata.json +1 -1
  215. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.d.ts +0 -2
  216. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.js +0 -32
  218. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByHostPoolSample.js.map +0 -1
  219. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.d.ts +0 -2
  220. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.js +0 -32
  222. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteByWorkspaceSample.js.map +0 -1
  223. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.d.ts +0 -2
  224. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.js +0 -32
  226. package/dist-esm/samples-dev/privateEndpointConnectionsGetByHostPoolSample.js.map +0 -1
  227. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.d.ts +0 -2
  228. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.js +0 -32
  230. package/dist-esm/samples-dev/privateEndpointConnectionsGetByWorkspaceSample.js.map +0 -1
  231. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.d.ts +0 -2
  232. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.d.ts.map +0 -1
  233. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.js +0 -45
  234. package/dist-esm/samples-dev/privateEndpointConnectionsListByHostPoolSample.js.map +0 -1
  235. package/dist-esm/samples-dev/privateEndpointConnectionsListByWorkspaceSample.d.ts +0 -2
  236. package/dist-esm/samples-dev/privateEndpointConnectionsListByWorkspaceSample.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/privateEndpointConnectionsListByWorkspaceSample.js.map +0 -1
  238. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.js +0 -39
  241. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByHostPoolSample.js.map +0 -1
  242. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.js +0 -39
  245. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateByWorkspaceSample.js.map +0 -1
  246. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.js +0 -45
  249. package/dist-esm/samples-dev/privateLinkResourcesListByHostPoolSample.js.map +0 -1
  250. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.js +0 -45
  253. package/dist-esm/samples-dev/privateLinkResourcesListByWorkspaceSample.js.map +0 -1
  254. package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -118
  255. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  256. package/dist-esm/src/operations/privateEndpointConnections.js +0 -506
  257. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  258. package/dist-esm/src/operations/privateLinkResources.d.ts +0 -62
  259. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  260. package/dist-esm/src/operations/privateLinkResources.js +0 -272
  261. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  262. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -76
  263. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  264. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  265. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +0 -20
  266. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  267. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +0 -9
  268. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  269. package/src/operations/privateEndpointConnections.ts +0 -679
  270. package/src/operations/privateLinkResources.ts +0 -371
  271. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -140
  272. package/src/operationsInterfaces/privateLinkResources.ts +0 -41
@@ -1,506 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing PrivateEndpointConnections operations. */
15
- export class PrivateEndpointConnectionsImpl {
16
- /**
17
- * Initialize a new instance of the class PrivateEndpointConnections class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * List private endpoint connections associated with hostpool.
25
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
- * @param hostPoolName The name of the host pool within the specified resource group
27
- * @param options The options parameters.
28
- */
29
- listByHostPool(resourceGroupName, hostPoolName, options) {
30
- const iter = this.listByHostPoolPagingAll(resourceGroupName, hostPoolName, options);
31
- return {
32
- next() {
33
- return iter.next();
34
- },
35
- [Symbol.asyncIterator]() {
36
- return this;
37
- },
38
- byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
- throw new Error("maxPageSize is not supported by this operation.");
41
- }
42
- return this.listByHostPoolPagingPage(resourceGroupName, hostPoolName, options, settings);
43
- }
44
- };
45
- }
46
- listByHostPoolPagingPage(resourceGroupName, hostPoolName, options, settings) {
47
- return __asyncGenerator(this, arguments, function* listByHostPoolPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._listByHostPool(resourceGroupName, hostPoolName, options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listByHostPoolNext(resourceGroupName, hostPoolName, continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
65
- }
66
- listByHostPoolPagingAll(resourceGroupName, hostPoolName, options) {
67
- return __asyncGenerator(this, arguments, function* listByHostPoolPagingAll_1() {
68
- var e_1, _a;
69
- try {
70
- for (var _b = __asyncValues(this.listByHostPoolPagingPage(resourceGroupName, hostPoolName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
71
- const page = _c.value;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
83
- }
84
- /**
85
- * List private endpoint connections.
86
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
- * @param workspaceName The name of the workspace
88
- * @param options The options parameters.
89
- */
90
- listByWorkspace(resourceGroupName, workspaceName, options) {
91
- const iter = this.listByWorkspacePagingAll(resourceGroupName, workspaceName, options);
92
- return {
93
- next() {
94
- return iter.next();
95
- },
96
- [Symbol.asyncIterator]() {
97
- return this;
98
- },
99
- byPage: (settings) => {
100
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
101
- throw new Error("maxPageSize is not supported by this operation.");
102
- }
103
- return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
104
- }
105
- };
106
- }
107
- listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
108
- return __asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
109
- let result;
110
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
111
- if (!continuationToken) {
112
- result = yield __await(this._listByWorkspace(resourceGroupName, workspaceName, options));
113
- let page = result.value || [];
114
- continuationToken = result.nextLink;
115
- setContinuationToken(page, continuationToken);
116
- yield yield __await(page);
117
- }
118
- while (continuationToken) {
119
- result = yield __await(this._listByWorkspaceNext(resourceGroupName, workspaceName, continuationToken, options));
120
- continuationToken = result.nextLink;
121
- let page = result.value || [];
122
- setContinuationToken(page, continuationToken);
123
- yield yield __await(page);
124
- }
125
- });
126
- }
127
- listByWorkspacePagingAll(resourceGroupName, workspaceName, options) {
128
- return __asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
129
- var e_2, _a;
130
- try {
131
- for (var _b = __asyncValues(this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
132
- const page = _c.value;
133
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
134
- }
135
- }
136
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
137
- finally {
138
- try {
139
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
140
- }
141
- finally { if (e_2) throw e_2.error; }
142
- }
143
- });
144
- }
145
- /**
146
- * List private endpoint connections associated with hostpool.
147
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
- * @param hostPoolName The name of the host pool within the specified resource group
149
- * @param options The options parameters.
150
- */
151
- _listByHostPool(resourceGroupName, hostPoolName, options) {
152
- return this.client.sendOperationRequest({ resourceGroupName, hostPoolName, options }, listByHostPoolOperationSpec);
153
- }
154
- /**
155
- * Get a private endpoint connection.
156
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
157
- * @param hostPoolName The name of the host pool within the specified resource group
158
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
159
- * Azure resource
160
- * @param options The options parameters.
161
- */
162
- getByHostPool(resourceGroupName, hostPoolName, privateEndpointConnectionName, options) {
163
- return this.client.sendOperationRequest({
164
- resourceGroupName,
165
- hostPoolName,
166
- privateEndpointConnectionName,
167
- options
168
- }, getByHostPoolOperationSpec);
169
- }
170
- /**
171
- * Remove a connection.
172
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
173
- * @param hostPoolName The name of the host pool within the specified resource group
174
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
175
- * Azure resource
176
- * @param options The options parameters.
177
- */
178
- deleteByHostPool(resourceGroupName, hostPoolName, privateEndpointConnectionName, options) {
179
- return this.client.sendOperationRequest({
180
- resourceGroupName,
181
- hostPoolName,
182
- privateEndpointConnectionName,
183
- options
184
- }, deleteByHostPoolOperationSpec);
185
- }
186
- /**
187
- * Approve or reject a private endpoint connection.
188
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
189
- * @param hostPoolName The name of the host pool within the specified resource group
190
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
191
- * Azure resource
192
- * @param connection Object containing the updated connection.
193
- * @param options The options parameters.
194
- */
195
- updateByHostPool(resourceGroupName, hostPoolName, privateEndpointConnectionName, connection, options) {
196
- return this.client.sendOperationRequest({
197
- resourceGroupName,
198
- hostPoolName,
199
- privateEndpointConnectionName,
200
- connection,
201
- options
202
- }, updateByHostPoolOperationSpec);
203
- }
204
- /**
205
- * List private endpoint connections.
206
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
207
- * @param workspaceName The name of the workspace
208
- * @param options The options parameters.
209
- */
210
- _listByWorkspace(resourceGroupName, workspaceName, options) {
211
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listByWorkspaceOperationSpec);
212
- }
213
- /**
214
- * Get a private endpoint connection.
215
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
216
- * @param workspaceName The name of the workspace
217
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
218
- * Azure resource
219
- * @param options The options parameters.
220
- */
221
- getByWorkspace(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
222
- return this.client.sendOperationRequest({
223
- resourceGroupName,
224
- workspaceName,
225
- privateEndpointConnectionName,
226
- options
227
- }, getByWorkspaceOperationSpec);
228
- }
229
- /**
230
- * Remove a connection.
231
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
232
- * @param workspaceName The name of the workspace
233
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
234
- * Azure resource
235
- * @param options The options parameters.
236
- */
237
- deleteByWorkspace(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
238
- return this.client.sendOperationRequest({
239
- resourceGroupName,
240
- workspaceName,
241
- privateEndpointConnectionName,
242
- options
243
- }, deleteByWorkspaceOperationSpec);
244
- }
245
- /**
246
- * Approve or reject a private endpoint connection.
247
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
248
- * @param workspaceName The name of the workspace
249
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
250
- * Azure resource
251
- * @param connection Object containing the updated connection.
252
- * @param options The options parameters.
253
- */
254
- updateByWorkspace(resourceGroupName, workspaceName, privateEndpointConnectionName, connection, options) {
255
- return this.client.sendOperationRequest({
256
- resourceGroupName,
257
- workspaceName,
258
- privateEndpointConnectionName,
259
- connection,
260
- options
261
- }, updateByWorkspaceOperationSpec);
262
- }
263
- /**
264
- * ListByHostPoolNext
265
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
266
- * @param hostPoolName The name of the host pool within the specified resource group
267
- * @param nextLink The nextLink from the previous successful call to the ListByHostPool method.
268
- * @param options The options parameters.
269
- */
270
- _listByHostPoolNext(resourceGroupName, hostPoolName, nextLink, options) {
271
- return this.client.sendOperationRequest({ resourceGroupName, hostPoolName, nextLink, options }, listByHostPoolNextOperationSpec);
272
- }
273
- /**
274
- * ListByWorkspaceNext
275
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
276
- * @param workspaceName The name of the workspace
277
- * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
278
- * @param options The options parameters.
279
- */
280
- _listByWorkspaceNext(resourceGroupName, workspaceName, nextLink, options) {
281
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listByWorkspaceNextOperationSpec);
282
- }
283
- }
284
- // Operation Specifications
285
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
286
- const listByHostPoolOperationSpec = {
287
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections",
288
- httpMethod: "GET",
289
- responses: {
290
- 200: {
291
- bodyMapper: Mappers.PrivateEndpointConnectionListResultWithSystemData
292
- },
293
- default: {
294
- bodyMapper: Mappers.CloudError
295
- }
296
- },
297
- queryParameters: [Parameters.apiVersion],
298
- urlParameters: [
299
- Parameters.$host,
300
- Parameters.subscriptionId,
301
- Parameters.resourceGroupName,
302
- Parameters.hostPoolName
303
- ],
304
- headerParameters: [Parameters.accept],
305
- serializer
306
- };
307
- const getByHostPoolOperationSpec = {
308
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
309
- httpMethod: "GET",
310
- responses: {
311
- 200: {
312
- bodyMapper: Mappers.PrivateEndpointConnectionWithSystemData
313
- },
314
- default: {
315
- bodyMapper: Mappers.CloudError
316
- }
317
- },
318
- queryParameters: [Parameters.apiVersion],
319
- urlParameters: [
320
- Parameters.$host,
321
- Parameters.subscriptionId,
322
- Parameters.resourceGroupName,
323
- Parameters.hostPoolName,
324
- Parameters.privateEndpointConnectionName
325
- ],
326
- headerParameters: [Parameters.accept],
327
- serializer
328
- };
329
- const deleteByHostPoolOperationSpec = {
330
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
331
- httpMethod: "DELETE",
332
- responses: {
333
- 200: {},
334
- 204: {},
335
- default: {
336
- bodyMapper: Mappers.CloudError
337
- }
338
- },
339
- queryParameters: [Parameters.apiVersion],
340
- urlParameters: [
341
- Parameters.$host,
342
- Parameters.subscriptionId,
343
- Parameters.resourceGroupName,
344
- Parameters.hostPoolName,
345
- Parameters.privateEndpointConnectionName
346
- ],
347
- headerParameters: [Parameters.accept],
348
- serializer
349
- };
350
- const updateByHostPoolOperationSpec = {
351
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
352
- httpMethod: "PUT",
353
- responses: {
354
- 200: {
355
- bodyMapper: Mappers.PrivateEndpointConnectionWithSystemData
356
- },
357
- default: {
358
- bodyMapper: Mappers.CloudError
359
- }
360
- },
361
- requestBody: Parameters.connection,
362
- queryParameters: [Parameters.apiVersion],
363
- urlParameters: [
364
- Parameters.$host,
365
- Parameters.subscriptionId,
366
- Parameters.resourceGroupName,
367
- Parameters.hostPoolName,
368
- Parameters.privateEndpointConnectionName
369
- ],
370
- headerParameters: [Parameters.accept, Parameters.contentType],
371
- mediaType: "json",
372
- serializer
373
- };
374
- const listByWorkspaceOperationSpec = {
375
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections",
376
- httpMethod: "GET",
377
- responses: {
378
- 200: {
379
- bodyMapper: Mappers.PrivateEndpointConnectionListResultWithSystemData
380
- },
381
- default: {
382
- bodyMapper: Mappers.CloudError
383
- }
384
- },
385
- queryParameters: [Parameters.apiVersion],
386
- urlParameters: [
387
- Parameters.$host,
388
- Parameters.subscriptionId,
389
- Parameters.resourceGroupName,
390
- Parameters.workspaceName
391
- ],
392
- headerParameters: [Parameters.accept],
393
- serializer
394
- };
395
- const getByWorkspaceOperationSpec = {
396
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
397
- httpMethod: "GET",
398
- responses: {
399
- 200: {
400
- bodyMapper: Mappers.PrivateEndpointConnectionWithSystemData
401
- },
402
- default: {
403
- bodyMapper: Mappers.CloudError
404
- }
405
- },
406
- queryParameters: [Parameters.apiVersion],
407
- urlParameters: [
408
- Parameters.$host,
409
- Parameters.subscriptionId,
410
- Parameters.resourceGroupName,
411
- Parameters.workspaceName,
412
- Parameters.privateEndpointConnectionName
413
- ],
414
- headerParameters: [Parameters.accept],
415
- serializer
416
- };
417
- const deleteByWorkspaceOperationSpec = {
418
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
419
- httpMethod: "DELETE",
420
- responses: {
421
- 200: {},
422
- 204: {},
423
- default: {
424
- bodyMapper: Mappers.CloudError
425
- }
426
- },
427
- queryParameters: [Parameters.apiVersion],
428
- urlParameters: [
429
- Parameters.$host,
430
- Parameters.subscriptionId,
431
- Parameters.resourceGroupName,
432
- Parameters.workspaceName,
433
- Parameters.privateEndpointConnectionName
434
- ],
435
- headerParameters: [Parameters.accept],
436
- serializer
437
- };
438
- const updateByWorkspaceOperationSpec = {
439
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
440
- httpMethod: "PUT",
441
- responses: {
442
- 200: {
443
- bodyMapper: Mappers.PrivateEndpointConnectionWithSystemData
444
- },
445
- default: {
446
- bodyMapper: Mappers.CloudError
447
- }
448
- },
449
- requestBody: Parameters.connection,
450
- queryParameters: [Parameters.apiVersion],
451
- urlParameters: [
452
- Parameters.$host,
453
- Parameters.subscriptionId,
454
- Parameters.resourceGroupName,
455
- Parameters.workspaceName,
456
- Parameters.privateEndpointConnectionName
457
- ],
458
- headerParameters: [Parameters.accept, Parameters.contentType],
459
- mediaType: "json",
460
- serializer
461
- };
462
- const listByHostPoolNextOperationSpec = {
463
- path: "{nextLink}",
464
- httpMethod: "GET",
465
- responses: {
466
- 200: {
467
- bodyMapper: Mappers.PrivateEndpointConnectionListResultWithSystemData
468
- },
469
- default: {
470
- bodyMapper: Mappers.CloudError
471
- }
472
- },
473
- queryParameters: [Parameters.apiVersion],
474
- urlParameters: [
475
- Parameters.$host,
476
- Parameters.nextLink,
477
- Parameters.subscriptionId,
478
- Parameters.resourceGroupName,
479
- Parameters.hostPoolName
480
- ],
481
- headerParameters: [Parameters.accept],
482
- serializer
483
- };
484
- const listByWorkspaceNextOperationSpec = {
485
- path: "{nextLink}",
486
- httpMethod: "GET",
487
- responses: {
488
- 200: {
489
- bodyMapper: Mappers.PrivateEndpointConnectionListResultWithSystemData
490
- },
491
- default: {
492
- bodyMapper: Mappers.CloudError
493
- }
494
- },
495
- queryParameters: [Parameters.apiVersion],
496
- urlParameters: [
497
- Parameters.$host,
498
- Parameters.nextLink,
499
- Parameters.subscriptionId,
500
- Parameters.resourceGroupName,
501
- Parameters.workspaceName
502
- ],
503
- headerParameters: [Parameters.accept],
504
- serializer
505
- };
506
- //# sourceMappingURL=privateEndpointConnections.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAyBnD,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,cAAc,CACnB,iBAAyB,EACzB,YAAoB,EACpB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;g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,iDAAiD;SACtE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iDAAiD;SACtE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,62 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateLinkResources } from "../operationsInterfaces";
3
- import { DesktopVirtualizationAPIClient } from "../desktopVirtualizationAPIClient";
4
- import { PrivateLinkResource, PrivateLinkResourcesListByHostPoolOptionalParams, PrivateLinkResourcesListByWorkspaceOptionalParams } from "../models";
5
- /** Class containing PrivateLinkResources operations. */
6
- export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class PrivateLinkResources class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: DesktopVirtualizationAPIClient);
13
- /**
14
- * List the private link resources available for this hostpool.
15
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
- * @param hostPoolName The name of the host pool within the specified resource group
17
- * @param options The options parameters.
18
- */
19
- listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateLinkResourcesListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
20
- private listByHostPoolPagingPage;
21
- private listByHostPoolPagingAll;
22
- /**
23
- * List the private link resources available for this workspace.
24
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
- * @param workspaceName The name of the workspace
26
- * @param options The options parameters.
27
- */
28
- listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
29
- private listByWorkspacePagingPage;
30
- private listByWorkspacePagingAll;
31
- /**
32
- * List the private link resources available for this hostpool.
33
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
- * @param hostPoolName The name of the host pool within the specified resource group
35
- * @param options The options parameters.
36
- */
37
- private _listByHostPool;
38
- /**
39
- * List the private link resources available for this workspace.
40
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
- * @param workspaceName The name of the workspace
42
- * @param options The options parameters.
43
- */
44
- private _listByWorkspace;
45
- /**
46
- * ListByHostPoolNext
47
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
- * @param hostPoolName The name of the host pool within the specified resource group
49
- * @param nextLink The nextLink from the previous successful call to the ListByHostPool method.
50
- * @param options The options parameters.
51
- */
52
- private _listByHostPoolNext;
53
- /**
54
- * ListByWorkspaceNext
55
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
- * @param workspaceName The name of the workspace
57
- * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
58
- * @param options The options parameters.
59
- */
60
- private _listByWorkspaceNext;
61
- }
62
- //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,mBAAmB,EAEnB,gDAAgD,EAGhD,iDAAiD,EAIlD,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;OAKG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,mBAAmB,CAAC;YA2BnC,wBAAwB;YAiCxB,uBAAuB;IActC;;;;;OAKG;IACI,eAAe,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,0BAA0B,CAAC,mBAAmB,CAAC;YA2BnC,yBAAyB;YAiCzB,wBAAwB;IAcvC;;;;;OAKG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAWxB;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;IAY3B;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;CAW7B"}